Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e20d54948958fbae002d4522b61cee1c213d8f02 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-ssh693870916408225171.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-ssh7244596215716096749.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-ssh13236498059649206537.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 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-ssh9686215438746694718.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-ssh3057173258390337908.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-10949’ Running on prd-ubuntu20.04-docker-8c-8g-10951 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 e20d54948958fbae002d4522b61cee1c213d8f02 (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 e20d54948958fbae002d4522b61cee1c213d8f02 # timeout=10 Commit message: "Merge pull request #169 from bnevis-i/add-spiffe" > git rev-list --no-walk 868c3d37fa7208ff5e10080602f68a64287cb162 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:34:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:34:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:34:08 ========================================================= 08:34:08 EdgeX Global Pipelines Version Info 08:34:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:34:09 ------------------- 08:34:09 stable info: 08:34:09 ------------------- 08:34:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:34:09 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 08:34:09 Message: update stable to v1.0.221 08:34:10 ------------------- 08:34:10 experimental info: 08:34:10 ------------------- 08:34:10 Commited By: **** collab-it+edgex@linuxfoundation.org 08:34:10 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 08:34:10 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e20d54948958fbae002d4522b61cee1c213d8f02 [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e20d549 [Pipeline] echo 08:34:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:34:10 provisioning config files... 08:34:10 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6158788145635677027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:34:11 ---> docker-login.sh 08:34:11 nexus3.edgexfoundry.org:10001 08:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:11 Configure a credential helper to remove this warning. See 08:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:11 08:34:11 Login Succeeded 08:34:11 nexus3.edgexfoundry.org:10002 08:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:11 Configure a credential helper to remove this warning. See 08:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:11 08:34:11 Login Succeeded 08:34:11 nexus3.edgexfoundry.org:10003 08:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:11 Configure a credential helper to remove this warning. See 08:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:11 08:34:11 Login Succeeded 08:34:11 nexus3.edgexfoundry.org:10004 08:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:11 Configure a credential helper to remove this warning. See 08:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:11 08:34:11 Login Succeeded 08:34:11 docker.io 08:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:12 Configure a credential helper to remove this warning. See 08:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:12 08:34:12 Login Succeeded 08:34:12 ---> docker-login.sh ends [Pipeline] } 08:34:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:34:12 + git rev-list -1 --merges e20d54948958fbae002d4522b61cee1c213d8f02~1..e20d54948958fbae002d4522b61cee1c213d8f02 [Pipeline] echo 08:34:12 -----------> git rev-list -1 --merges e20d54948958fbae002d4522b61cee1c213d8f02~1..e20d54948958fbae002d4522b61cee1c213d8f02 e20d54948958fbae002d4522b61cee1c213d8f02 08:34:12 e20d54948958fbae002d4522b61cee1c213d8f02 [false] [Pipeline] sh 08:34:12 + git log --format=format:%s -1 e20d54948958fbae002d4522b61cee1c213d8f02 [Pipeline] echo 08:34:12 ========================================================= 08:34:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:34:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:34:13 + git log --format=format:%s -1 e20d54948958fbae002d4522b61cee1c213d8f02 [Pipeline] echo 08:34:13 [semverPrep] GIT_COMMIT: e20d54948958fbae002d4522b61cee1c213d8f02, Commit Message: Merge pull request #169 from bnevis-i/add-spiffe [Pipeline] echo 08:34:13 [semverPrep] This is not a build commit. [Pipeline] sh 08:34:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:34:13 + grep -v github /etc/ssh/ssh_known_hosts 08:34:13 + [ -e /tmp/ssh_known_hosts ] 08:34:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:34:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:34:13 + sudo tee -a /etc/ssh/ssh_known_hosts 08:34:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 08:34:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:34:13 08:34:13 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:34:14 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:34:14 latest: Pulling from edgex-devops/git-semver 08:34:14 a0d0a0d46f8b: Pulling fs layer 08:34:14 3e5f54012d9b: Pulling fs layer 08:34:14 4c7163046ea9: Pulling fs layer 08:34:14 0c2d73faf560: Pulling fs layer 08:34:14 0c2d73faf560: Waiting 08:34:14 3e5f54012d9b: Verifying Checksum 08:34:14 3e5f54012d9b: Download complete 08:34:14 a0d0a0d46f8b: Download complete 08:34:14 4c7163046ea9: Verifying Checksum 08:34:14 4c7163046ea9: Download complete 08:34:14 0c2d73faf560: Verifying Checksum 08:34:14 0c2d73faf560: Download complete 08:34:14 a0d0a0d46f8b: Pull complete 08:34:14 3e5f54012d9b: Pull complete 08:34:14 4c7163046ea9: Pull complete 08:34:15 0c2d73faf560: Pull complete 08:34:15 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 08:34:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:34:15 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:34:15 prd-ubuntu20.04-docker-8c-8g-10951 does not seem to be running inside a container 08:34:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:34:15 $ docker top 49498d85fd15cbedc2c460c3e0ab9e143fe67de9dcf1d4fdb0043040e4e0e675 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:34:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:34:15 [ssh-agent] Looking for ssh-agent implementation... 08:34:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:34:16 $ docker exec 49498d85fd15cbedc2c460c3e0ab9e143fe67de9dcf1d4fdb0043040e4e0e675 ssh-agent 08:34:16 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPeGonp/agent.13 08:34:16 SSH_AGENT_PID=20 08:34:16 Running ssh-add (command line suppressed) 08:34:16 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3452337118276097906.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3452337118276097906.key) 08:34:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:34:16 + git tag --points-at HEAD [Pipeline] } 08:34:16 $ docker exec --env ******** --env ******** 49498d85fd15cbedc2c460c3e0ab9e143fe67de9dcf1d4fdb0043040e4e0e675 ssh-agent -k 08:34:16 unset SSH_AUTH_SOCK; 08:34:16 unset SSH_AGENT_PID; 08:34:16 echo Agent pid 20 killed; 08:34:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:34:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:34:16 [ssh-agent] Looking for ssh-agent implementation... 08:34:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:34:16 $ docker exec 49498d85fd15cbedc2c460c3e0ab9e143fe67de9dcf1d4fdb0043040e4e0e675 ssh-agent 08:34:17 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlpjIjl/agent.53 08:34:17 SSH_AGENT_PID=59 08:34:17 Running ssh-add (command line suppressed) 08:34:17 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1545645460303547335.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1545645460303547335.key) 08:34:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:34:17 + git semver init 08:34:17 # -> Open(): unable to determine branch for HEAD 08:34:17 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 08:34:17 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 08:34:17 # $SEMVER_REMOTE_NAME = origin 08:34:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:34:17 # $SEMVER_USER_NAME = edgex-jenkins 08:34:17 # $SEMVER_BRANCH = main 08:34:17 # $SEMVER_TEMP = /tmp/semver-321765151 08:34:17 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 08:34:18 # '/tmp/semver-321765151' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' 08:34:18 # -> Force: false 08:34:18 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 08:34:18 $ docker exec --env ******** --env ******** 49498d85fd15cbedc2c460c3e0ab9e143fe67de9dcf1d4fdb0043040e4e0e675 ssh-agent -k 08:34:18 unset SSH_AUTH_SOCK; 08:34:18 unset SSH_AGENT_PID; 08:34:18 echo Agent pid 59 killed; 08:34:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:34:19 + git semver [Pipeline] } 08:34:19 $ docker stop --time=1 49498d85fd15cbedc2c460c3e0ab9e143fe67de9dcf1d4fdb0043040e4e0e675 08:34:20 $ docker rm -f 49498d85fd15cbedc2c460c3e0ab9e143fe67de9dcf1d4fdb0043040e4e0e675 [Pipeline] // withDockerContainer [Pipeline] sh 08:34:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:34:21 Stashed 1 file(s) [Pipeline] echo 08:34:21 [edgeXSemver]: initialized semver on version 2.2.0-dev.8 [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 08:34:21 provisioning config files... 08:34:21 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4704752306631227032tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:34:21 ---> docker-login.sh 08:34:21 nexus3.edgexfoundry.org:10001 08:34:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:21 Configure a credential helper to remove this warning. See 08:34:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:21 08:34:21 Login Succeeded 08:34:21 nexus3.edgexfoundry.org:10002 08:34:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:22 Configure a credential helper to remove this warning. See 08:34:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:22 08:34:22 Login Succeeded 08:34:22 nexus3.edgexfoundry.org:10003 08:34:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:22 Configure a credential helper to remove this warning. See 08:34:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:22 08:34:22 Login Succeeded 08:34:22 nexus3.edgexfoundry.org:10004 08:34:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:22 Configure a credential helper to remove this warning. See 08:34:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:22 08:34:22 Login Succeeded 08:34:22 docker.io 08:34:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:22 Configure a credential helper to remove this warning. See 08:34:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:22 08:34:22 Login Succeeded 08:34:22 ---> docker-login.sh ends [Pipeline] } 08:34:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:34:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:34:22 ========================================================= 08:34:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 08:34:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:34:22 + 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 . 08:34:22 Sending build context to Docker daemon 10.55MB 08:34:22 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 08:34:22 Step 2/12 : FROM ${BASE} AS builder 08:34:22 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 08:34:22 59bf1c3509f3: Pulling fs layer 08:34:22 666ba61612fd: Pulling fs layer 08:34:22 8ed8ca486205: Pulling fs layer 08:34:22 4fe6c5a15a65: Pulling fs layer 08:34:22 22a0e8bec74d: Pulling fs layer 08:34:22 640e595b4fbd: Pulling fs layer 08:34:22 763cafe07f6e: Pulling fs layer 08:34:22 0c0b528cf693: Pulling fs layer 08:34:22 10935f4eaf8b: Pulling fs layer 08:34:22 4fe6c5a15a65: Waiting 08:34:22 22a0e8bec74d: Waiting 08:34:22 640e595b4fbd: Waiting 08:34:22 10935f4eaf8b: Waiting 08:34:22 8ed8ca486205: Verifying Checksum 08:34:22 8ed8ca486205: Download complete 08:34:22 666ba61612fd: Download complete 08:34:22 22a0e8bec74d: Download complete 08:34:22 640e595b4fbd: Download complete 08:34:22 59bf1c3509f3: Download complete 08:34:23 763cafe07f6e: Verifying Checksum 08:34:23 763cafe07f6e: Download complete 08:34:23 0c0b528cf693: Verifying Checksum 08:34:23 0c0b528cf693: Download complete 08:34:23 59bf1c3509f3: Pull complete 08:34:23 666ba61612fd: Pull complete 08:34:23 8ed8ca486205: Pull complete 08:34:23 10935f4eaf8b: Verifying Checksum 08:34:23 10935f4eaf8b: Download complete 08:34:24 4fe6c5a15a65: Verifying Checksum 08:34:24 4fe6c5a15a65: Download complete 08:34:27 4fe6c5a15a65: Pull complete 08:34:27 22a0e8bec74d: Pull complete 08:34:27 640e595b4fbd: Pull complete 08:34:27 763cafe07f6e: Pull complete 08:34:27 0c0b528cf693: Pull complete 08:34:30 10935f4eaf8b: Pull complete 08:34:30 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 08:34:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 08:34:30 ---> 99d49a6021b9 08:34:30 Step 3/12 : ARG MAKE='make build' 08:34:31 ---> Running in 56369eeb46d7 08:34:31 Removing intermediate container 56369eeb46d7 08:34:31 ---> 1b87926dce91 08:34:31 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:34:31 ---> Running in 96791f2c6887 08:34:31 Removing intermediate container 96791f2c6887 08:34:31 ---> a87c4f65e332 08:34:31 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 08:34:31 ---> Running in b297cf2fad92 08:34:31 Removing intermediate container b297cf2fad92 08:34:31 ---> 1318b8961969 08:34:31 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:34:31 ---> Running in 2977467493ba 08:34:32 Removing intermediate container 2977467493ba 08:34:32 ---> 982245a326ec 08:34:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:34:32 ---> Running in a11b2cdfc426 08:34:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:34:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:34:33 (1/4) Installing openssh-keygen (8.8_p1-r1) 08:34:33 (2/4) Installing libedit (20210910.3.1-r0) 08:34:33 (3/4) Installing openssh-client-common (8.8_p1-r1) 08:34:33 (4/4) Installing openssh-client-default (8.8_p1-r1) 08:34:33 Executing busybox-1.34.1-r3.trigger 08:34:33 OK: 224 MiB in 56 packages 08:34:34 Removing intermediate container a11b2cdfc426 08:34:34 ---> aab8cca9ed0c 08:34:34 Step 8/12 : WORKDIR /device-rest-go 08:34:34 ---> Running in 10314bcf85e6 08:34:34 Removing intermediate container 10314bcf85e6 08:34:34 ---> d66e57e9a0fe 08:34:34 Step 9/12 : COPY go.mod vendor* ./ 08:34:34 ---> 094f8f87a530 08:34:34 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:34:34 ---> Running in 4e573ce01b15 08:34:36 Still waiting to schedule task 08:34:36 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10950’ 08:34:49 Removing intermediate container 4e573ce01b15 08:34:49 ---> 09db221cca3a 08:34:49 Step 11/12 : COPY . . 08:34:49 ---> 26d2d9864c41 08:34:49 Step 12/12 : RUN $MAKE 08:34:49 ---> Running in 8dacd27606ce 08:34:49 noop 08:34:49 Removing intermediate container 8dacd27606ce 08:34:49 ---> 3ad088608e7e 08:34:49 Successfully built 3ad088608e7e 08:34:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:34:49 + docker inspect -f . ci-base-image-x86_64 08:34:49 . [Pipeline] withDockerContainer 08:34:49 prd-ubuntu20.04-docker-8c-8g-10951 does not seem to be running inside a container 08:34:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:34:50 $ docker top 0c8d48f021478e08f965692da5e2f1f7e7f402790d260d4a460a1c5a7133086d -eo pid,comm [Pipeline] { [Pipeline] sh 08:34:50 + go version 08:34:50 go version go1.17.6 linux/amd64 [Pipeline] } 08:34:50 $ docker stop --time=1 0c8d48f021478e08f965692da5e2f1f7e7f402790d260d4a460a1c5a7133086d 08:34:51 $ docker rm -f 0c8d48f021478e08f965692da5e2f1f7e7f402790d260d4a460a1c5a7133086d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:34:52 + docker inspect -f . ci-base-image-x86_64 08:34:52 . [Pipeline] withDockerContainer 08:34:52 prd-ubuntu20.04-docker-8c-8g-10951 does not seem to be running inside a container 08:34:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:34:52 $ docker top 8e2f2367065a86aef8888df3492b2828e838d8f74d0db2982d65798d09e84b6b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:34:53 + make test 08:34:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:34:53 ? github.com/edgexfoundry/device-rest-go [no test files] 08:35:03 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 08:35:03 ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 55.2% of statements 08:35:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:35:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:35:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:35:13 ./bin/test-attribution-txt.sh [Pipeline] echo 08:35:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:35:13 $ docker stop --time=1 8e2f2367065a86aef8888df3492b2828e838d8f74d0db2982d65798d09e84b6b 08:35:14 $ docker rm -f 8e2f2367065a86aef8888df3492b2828e838d8f74d0db2982d65798d09e84b6b [Pipeline] // withDockerContainer [Pipeline] sh 08:35:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:35:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:35:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:35:16 + ls -al . 08:35:16 total 172 08:35:16 drwxrwxr-x 9 jenkins jenkins 4096 Apr 6 08:35 . 08:35:16 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 08:34 .. 08:35:16 -rw-rw-r-- 1 jenkins jenkins 151 Apr 6 08:34 .dockerignore 08:35:16 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 08:34 .git 08:35:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 08:34 .github 08:35:16 -rw-rw-r-- 1 jenkins jenkins 329 Apr 6 08:34 .gitignore 08:35:16 -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 08:34 .golangci.yml 08:35:16 drwx------ 3 jenkins jenkins 4096 Apr 6 08:34 .semver 08:35:16 -rw-rw-r-- 1 jenkins jenkins 8330 Apr 6 08:34 Attribution.txt 08:35:16 -rw-rw-r-- 1 jenkins jenkins 7459 Apr 6 08:34 CHANGELOG.md 08:35:16 -rw-rw-r-- 1 jenkins jenkins 1672 Apr 6 08:34 Dockerfile 08:35:16 -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 08:34 GOVERNANCE.md 08:35:16 -rw-rw-r-- 1 jenkins jenkins 680 Apr 6 08:34 Jenkinsfile 08:35:16 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 08:34 LICENSE 08:35:16 -rw-rw-r-- 1 jenkins jenkins 1578 Apr 6 08:34 Makefile 08:35:16 -rw-rw-r-- 1 jenkins jenkins 620 Apr 6 08:34 OWNERS.md 08:35:16 -rw-rw-r-- 1 jenkins jenkins 8246 Apr 6 08:34 README.md 08:35:16 -rw-rw-r-- 1 jenkins jenkins 11 Apr 6 08:34 VERSION 08:35:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 08:34 bin 08:35:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 08:34 cmd 08:35:16 -rw-r--r-- 1 jenkins jenkins 9355 Apr 6 08:35 coverage.out 08:35:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 08:34 driver 08:35:16 -rw-rw-r-- 1 jenkins jenkins 3240 Apr 6 08:34 go.mod 08:35:16 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 6 08:34 go.sum 08:35:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 08:34 snap 08:35:16 -rw-rw-r-- 1 jenkins jenkins 713 Apr 6 08:34 version.go [Pipeline] isUnix [Pipeline] sh 08:35:16 + 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=e20d54948958fbae002d4522b61cee1c213d8f02 --label arch=amd64 --label version=2.2.0-dev.8 . 08:35:16 Sending build context to Docker daemon 10.56MB 08:35:16 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 08:35:16 Step 2/25 : FROM ${BASE} AS builder 08:35:16 ---> 3ad088608e7e 08:35:16 Step 3/25 : ARG MAKE='make build' 08:35:16 ---> Running in e719e33f5552 08:35:16 Removing intermediate container e719e33f5552 08:35:16 ---> 21637b37c991 08:35:16 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:35:16 ---> Running in ef51212a2a1e 08:35:16 Removing intermediate container ef51212a2a1e 08:35:16 ---> d474b17ca23a 08:35:16 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 08:35:16 ---> Running in 78d762b0ad67 08:35:16 Removing intermediate container 78d762b0ad67 08:35:16 ---> 5c09a0a69e37 08:35:16 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:35:16 ---> Running in 8c87b00b0a6b 08:35:17 Removing intermediate container 8c87b00b0a6b 08:35:17 ---> 8cf51f7c5ffc 08:35:17 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:35:17 ---> Running in 35a7dc7c6aad 08:35:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:35:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:35:18 OK: 224 MiB in 56 packages 08:35:19 Removing intermediate container 35a7dc7c6aad 08:35:19 ---> 4ecee3a829e7 08:35:19 Step 8/25 : WORKDIR /device-rest-go 08:35:19 ---> Running in b64d0bdb3499 08:35:19 Removing intermediate container b64d0bdb3499 08:35:19 ---> 8f9cc67ba326 08:35:19 Step 9/25 : COPY go.mod vendor* ./ 08:35:19 ---> c2f22735d361 08:35:19 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:35:19 ---> Running in 469c3cbdda07 08:35:20 Removing intermediate container 469c3cbdda07 08:35:20 ---> 05bf987c8aea 08:35:20 Step 11/25 : COPY . . 08:35:20 ---> e2f2de934372 08:35:20 Step 12/25 : RUN $MAKE 08:35:20 ---> Running in f32a97b8260e 08:35:20 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.8" -o cmd/device-rest ./cmd 08:35:32 Removing intermediate container f32a97b8260e 08:35:32 ---> 8077692ada55 08:35:32 Step 13/25 : FROM alpine:3.14 08:35:32 3.14: Pulling from library/alpine 08:35:32 8663204ce13b: Pulling fs layer 08:35:32 8663204ce13b: Verifying Checksum 08:35:32 8663204ce13b: Download complete 08:35:32 8663204ce13b: Pull complete 08:35:32 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 08:35:32 Status: Downloaded newer image for alpine:3.14 08:35:32 ---> e04c818066af 08:35:32 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 08:35:32 ---> Running in 2ffcb5ff7931 08:35:32 Removing intermediate container 2ffcb5ff7931 08:35:32 ---> bd1cf61eff1d 08:35:32 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 08:35:32 ---> Running in 49650057befa 08:35:32 Removing intermediate container 49650057befa 08:35:32 ---> b8f898cec6b5 08:35:32 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 08:35:32 ---> Running in 2f9dad2ed677 08:35:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 08:35:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 08:35:33 (1/6) Installing dumb-init (1.2.5-r1) 08:35:33 (2/6) Installing libgcc (10.3.1_git20210424-r2) 08:35:33 (3/6) Installing libsodium (1.0.18-r0) 08:35:33 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 08:35:33 (5/6) Installing libzmq (4.3.4-r0) 08:35:33 (6/6) Installing zeromq (4.3.4-r0) 08:35:33 Executing busybox-1.33.1-r7.trigger 08:35:33 OK: 8 MiB in 20 packages 08:35:33 Removing intermediate container 2f9dad2ed677 08:35:33 ---> 453a10f64d36 08:35:33 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 08:35:34 ---> c8ace2d7a4f6 08:35:34 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 08:35:34 ---> 89746014561d 08:35:34 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 08:35:34 ---> ba42febcd78b 08:35:34 Step 20/25 : EXPOSE 59986 08:35:34 ---> Running in 8d3aabe80bfc 08:35:34 Removing intermediate container 8d3aabe80bfc 08:35:34 ---> 9821805a025d 08:35:34 Step 21/25 : ENTRYPOINT ["/device-rest"] 08:35:34 ---> Running in 71a121f04602 08:35:34 Removing intermediate container 71a121f04602 08:35:34 ---> 490c17d29c5d 08:35:34 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 08:35:34 ---> Running in 7234cb91648c 08:35:34 Removing intermediate container 7234cb91648c 08:35:34 ---> 73bb26ac0c4f 08:35:34 Step 23/25 : LABEL arch=amd64 08:35:35 ---> Running in 7ca0558c321a 08:35:35 Removing intermediate container 7ca0558c321a 08:35:35 ---> c5e23844cff9 08:35:35 Step 24/25 : LABEL git_sha=e20d54948958fbae002d4522b61cee1c213d8f02 08:35:35 ---> Running in 3509e7e2eb98 08:35:35 Removing intermediate container 3509e7e2eb98 08:35:35 ---> e0efc8b50751 08:35:35 Step 25/25 : LABEL version=2.2.0-dev.8 08:35:35 ---> Running in 4de88a129dc7 08:35:35 Removing intermediate container 4de88a129dc7 08:35:35 ---> 0eb4502e1ade 08:35:35 [Warning] One or more build-args [ARCH] were not consumed 08:35:35 Successfully built 0eb4502e1ade 08:35:35 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:35:35 provisioning config files... 08:35:35 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config375322678067351221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:35:35 ---> docker-login.sh 08:35:35 nexus3.edgexfoundry.org:10001 08:35:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:35:35 Configure a credential helper to remove this warning. See 08:35:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:35:35 08:35:35 Login Succeeded 08:35:35 nexus3.edgexfoundry.org:10002 08:35:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:35:35 Configure a credential helper to remove this warning. See 08:35:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:35:35 08:35:35 Login Succeeded 08:35:35 nexus3.edgexfoundry.org:10003 08:35:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:35:35 Configure a credential helper to remove this warning. See 08:35:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:35:35 08:35:35 Login Succeeded 08:35:35 nexus3.edgexfoundry.org:10004 08:35:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:35:36 Configure a credential helper to remove this warning. See 08:35:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:35:36 08:35:36 Login Succeeded 08:35:36 docker.io 08:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:35:36 Configure a credential helper to remove this warning. See 08:35:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:35:36 08:35:36 Login Succeeded 08:35:36 ---> docker-login.sh ends [Pipeline] } 08:35:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:35:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:35:36 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 08:35:36 e20d54948958fbae002d4522b61cee1c213d8f02 08:35:36 latest 08:35:36 2.2.0-dev.8 08:35:36 e20d54948958fbae002d4522b61cee1c213d8f02-2.2.0-dev.8 08:35:36 main 08:35:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:35:36 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:e20d54948958fbae002d4522b61cee1c213d8f02 [Pipeline] isUnix [Pipeline] sh 08:35:37 + docker push nexus3.edgexfoundry.org:10004/device-rest:e20d54948958fbae002d4522b61cee1c213d8f02 08:35:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:35:37 826ff7ef2185: Preparing 08:35:37 f3a20dc9740c: Preparing 08:35:37 7207440735b8: Preparing 08:35:37 391ffe34aaa3: Preparing 08:35:37 b541d28bf3b4: Preparing 08:35:37 b541d28bf3b4: Layer already exists 08:35:37 826ff7ef2185: Pushed 08:35:37 f3a20dc9740c: Pushed 08:35:37 391ffe34aaa3: Pushed 08:35:39 7207440735b8: Pushed 08:35:39 e20d54948958fbae002d4522b61cee1c213d8f02: digest: sha256:dd8bc5819d15590cb0742acb7eb94d2ba6d95f51745358dded04fddfa0b9fb0c size: 1367 [Pipeline] isUnix [Pipeline] sh 08:35:40 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 08:35:40 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 08:35:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:35:40 826ff7ef2185: Preparing 08:35:40 f3a20dc9740c: Preparing 08:35:40 7207440735b8: Preparing 08:35:40 391ffe34aaa3: Preparing 08:35:40 b541d28bf3b4: Preparing 08:35:40 391ffe34aaa3: Layer already exists 08:35:40 b541d28bf3b4: Layer already exists 08:35:40 f3a20dc9740c: Layer already exists 08:35:40 7207440735b8: Layer already exists 08:35:40 826ff7ef2185: Layer already exists 08:35:40 latest: digest: sha256:dd8bc5819d15590cb0742acb7eb94d2ba6d95f51745358dded04fddfa0b9fb0c size: 1367 [Pipeline] isUnix [Pipeline] sh 08:35:40 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh 08:35:41 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.8 08:35:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:35:41 826ff7ef2185: Preparing 08:35:41 f3a20dc9740c: Preparing 08:35:41 7207440735b8: Preparing 08:35:41 391ffe34aaa3: Preparing 08:35:41 b541d28bf3b4: Preparing 08:35:41 391ffe34aaa3: Layer already exists 08:35:41 f3a20dc9740c: Layer already exists 08:35:41 826ff7ef2185: Layer already exists 08:35:41 7207440735b8: Layer already exists 08:35:41 b541d28bf3b4: Layer already exists 08:35:41 2.2.0-dev.8: digest: sha256:dd8bc5819d15590cb0742acb7eb94d2ba6d95f51745358dded04fddfa0b9fb0c size: 1367 [Pipeline] isUnix [Pipeline] sh 08:35:41 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:e20d54948958fbae002d4522b61cee1c213d8f02-2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh 08:35:41 + docker push nexus3.edgexfoundry.org:10004/device-rest:e20d54948958fbae002d4522b61cee1c213d8f02-2.2.0-dev.8 08:35:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:35:41 826ff7ef2185: Preparing 08:35:41 f3a20dc9740c: Preparing 08:35:41 7207440735b8: Preparing 08:35:41 391ffe34aaa3: Preparing 08:35:41 b541d28bf3b4: Preparing 08:35:41 391ffe34aaa3: Layer already exists 08:35:41 b541d28bf3b4: Layer already exists 08:35:41 7207440735b8: Layer already exists 08:35:41 826ff7ef2185: Layer already exists 08:35:41 f3a20dc9740c: Layer already exists 08:35:41 e20d54948958fbae002d4522b61cee1c213d8f02-2.2.0-dev.8: digest: sha256:dd8bc5819d15590cb0742acb7eb94d2ba6d95f51745358dded04fddfa0b9fb0c size: 1367 [Pipeline] isUnix [Pipeline] sh 08:35:42 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh 08:35:42 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 08:35:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:35:42 826ff7ef2185: Preparing 08:35:42 f3a20dc9740c: Preparing 08:35:42 7207440735b8: Preparing 08:35:42 391ffe34aaa3: Preparing 08:35:42 b541d28bf3b4: Preparing 08:35:42 f3a20dc9740c: Layer already exists 08:35:42 b541d28bf3b4: Layer already exists 08:35:42 7207440735b8: Layer already exists 08:35:42 826ff7ef2185: Layer already exists 08:35:42 391ffe34aaa3: Layer already exists 08:35:42 main: digest: sha256:dd8bc5819d15590cb0742acb7eb94d2ba6d95f51745358dded04fddfa0b9fb0c size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:35:42 ===================================================== [Pipeline] echo 08:35:42 taggedImages: 08:35:42 - nexus3.edgexfoundry.org:10004/device-rest:e20d54948958fbae002d4522b61cee1c213d8f02 08:35:42 - nexus3.edgexfoundry.org:10004/device-rest:latest 08:35:42 - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.8 08:35:42 - nexus3.edgexfoundry.org:10004/device-rest:e20d54948958fbae002d4522b61cee1c213d8f02-2.2.0-dev.8 08:35:42 - 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 08:35:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:35:42 08:35:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 08:35:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:35:43 latest: Pulling from edgex-lftools-log-publisher 08:35:43 5eb5b503b376: Pulling fs layer 08:35:43 5c69ac0246d0: Pulling fs layer 08:35:43 ec43610c2a17: Pulling fs layer 08:35:43 3a2ae6a8a46f: Pulling fs layer 08:35:43 33b1e0a273af: Pulling fs layer 08:35:43 5d3b04190fa2: Pulling fs layer 08:35:43 2f39f015ded8: Pulling fs layer 08:35:43 2f39f015ded8: Waiting 08:35:43 3a2ae6a8a46f: Waiting 08:35:43 33b1e0a273af: Waiting 08:35:43 5d3b04190fa2: Waiting 08:35:43 5c69ac0246d0: Download complete 08:35:43 3a2ae6a8a46f: Verifying Checksum 08:35:43 3a2ae6a8a46f: Download complete 08:35:43 33b1e0a273af: Verifying Checksum 08:35:43 33b1e0a273af: Download complete 08:35:43 ec43610c2a17: Verifying Checksum 08:35:43 ec43610c2a17: Download complete 08:35:43 5d3b04190fa2: Verifying Checksum 08:35:43 5d3b04190fa2: Download complete 08:35:43 5eb5b503b376: Verifying Checksum 08:35:43 5eb5b503b376: Download complete 08:35:43 2f39f015ded8: Verifying Checksum 08:35:43 2f39f015ded8: Download complete 08:35:44 5eb5b503b376: Pull complete 08:35:44 5c69ac0246d0: Pull complete 08:35:45 ec43610c2a17: Pull complete 08:35:45 3a2ae6a8a46f: Pull complete 08:35:45 33b1e0a273af: Pull complete 08:35:45 5d3b04190fa2: Pull complete 08:35:49 2f39f015ded8: Pull complete 08:35:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:35:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:35:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 08:35:49 prd-ubuntu20.04-docker-8c-8g-10951 does not seem to be running inside a container 08:35:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:35:51 $ docker top f41a70b08209d498c19c69851d9f0377d1f44620fc5d3e69db2ab21cdf3441f6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:35:51 ---> job-cost.sh 08:35:51 lf-activate-venv: SKIPPING 08:35:51 INFO: No Stack... 08:35:52 INFO: Retrieving Pricing Info for: v3-standard-8 08:35:52 INFO: Archiving Costs [Pipeline] sh 08:35:52 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 08:35:52 + cut -d, -f6 [Pipeline] lock 08:35:52 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-29-stack-cost] 08:35:52 Resource [jenkins-edgexfoundry-device-rest-go-main-29-stack-cost] did not exist. Created. 08:35:52 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:35:53 + echo total: 0.2199999988079071 [Pipeline] stash 08:35:53 Stashed 1 file(s) [Pipeline] } 08:35:53 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-29-stack-cost] [Pipeline] // lock [Pipeline] } 08:35:53 $ docker stop --time=1 f41a70b08209d498c19c69851d9f0377d1f44620fc5d3e69db2ab21cdf3441f6 08:35:54 $ docker rm -f f41a70b08209d498c19c69851d9f0377d1f44620fc5d3e69db2ab21cdf3441f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:36:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10953 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 08:36:59 Running in /w/workspace/device-rest-go/29 [Pipeline] { [Pipeline] checkout 08:37:00 The recommended git tool is: git 08:37:08 using credential edgex-jenkins-ssh 08:37:08 Cloning the remote Git repository 08:37:08 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 08:37:08 > git init /w/workspace/device-rest-go/29 # timeout=10 08:37:08 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 08:37:08 > git --version # timeout=10 08:37:08 > git --version # 'git version 2.25.1' 08:37:08 using GIT_SSH to set credentials SSH Credentials for GitHub 08:37:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:37:11 Avoid second fetch 08:37:11 Checking out Revision e20d54948958fbae002d4522b61cee1c213d8f02 (main) 08:37:11 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 08:37:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:37:11 > git config core.sparsecheckout # timeout=10 08:37:11 > git checkout -f e20d54948958fbae002d4522b61cee1c213d8f02 # timeout=10 08:37:15 Commit message: "Merge pull request #169 from bnevis-i/add-spiffe" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:37:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:37:16 % Total % Received % Xferd Average Speed Time Time Time Current 08:37:16 Dload Upload Total Spent Left Speed 08:37:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 196k 0 --:--:-- --:--:-- --:--:-- 196k [Pipeline] sh 08:37:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:37:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 08:37:17 sudo tee /etc/docker/daemon.new 08:37:17 { 08:37:17 "registry-mirrors": [ 08:37:17 "https://nexus3.edgexfoundry.org:10001" 08:37:17 ], 08:37:17 "bip": "10.250.0.254/24", 08:37:17 "hosts": [ 08:37:17 "tcp://0.0.0.0:5555", 08:37:17 "unix:///var/run/docker.sock" 08:37:17 ], 08:37:17 "mtu": 1458, 08:37:17 "selinux-enabled": true, 08:37:17 "seccomp-profile": "/etc/docker/seccomp.json" 08:37:17 } [Pipeline] sh 08:37:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:37:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:37:36 provisioning config files... 08:37:36 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/29@tmp/config8808043607258862910tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:37:36 ---> docker-login.sh 08:37:36 nexus3.edgexfoundry.org:10001 08:37:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:37:37 Configure a credential helper to remove this warning. See 08:37:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:37:37 08:37:37 Login Succeeded 08:37:37 nexus3.edgexfoundry.org:10002 08:37:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:37:38 Configure a credential helper to remove this warning. See 08:37:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:37:38 08:37:38 Login Succeeded 08:37:38 nexus3.edgexfoundry.org:10003 08:37:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:37:39 Configure a credential helper to remove this warning. See 08:37:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:37:39 08:37:39 Login Succeeded 08:37:39 nexus3.edgexfoundry.org:10004 08:37:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:37:39 Configure a credential helper to remove this warning. See 08:37:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:37:39 08:37:39 Login Succeeded 08:37:39 docker.io 08:37:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:37:40 Configure a credential helper to remove this warning. See 08:37:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:37:40 08:37:40 Login Succeeded 08:37:40 ---> docker-login.sh ends [Pipeline] } 08:37:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:37:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:37:41 ========================================================= 08:37:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 08:37:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:37:41 + 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 . 08:37:41 Sending build context to Docker daemon 127.5kB 08:37:41 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 08:37:41 Step 2/12 : FROM ${BASE} AS builder 08:37:41 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:37:41 9b3977197b4f: Pulling fs layer 08:37:41 1a89e8eeedd5: Pulling fs layer 08:37:41 94645a83ff95: Pulling fs layer 08:37:41 3f3a8bcf1eab: Pulling fs layer 08:37:41 0c92f367c5e7: Pulling fs layer 08:37:41 f7c0051592d6: Pulling fs layer 08:37:41 a227ed2f7395: Pulling fs layer 08:37:41 7b1c46037f91: Pulling fs layer 08:37:41 f7c0051592d6: Waiting 08:37:41 3f3a8bcf1eab: Waiting 08:37:41 0c92f367c5e7: Waiting 08:37:41 a227ed2f7395: Waiting 08:37:41 7b1c46037f91: Waiting 08:37:41 94645a83ff95: Download complete 08:37:41 1a89e8eeedd5: Verifying Checksum 08:37:41 1a89e8eeedd5: Download complete 08:37:41 0c92f367c5e7: Verifying Checksum 08:37:41 0c92f367c5e7: Download complete 08:37:41 f7c0051592d6: Verifying Checksum 08:37:41 f7c0051592d6: Download complete 08:37:41 9b3977197b4f: Verifying Checksum 08:37:41 9b3977197b4f: Download complete 08:37:42 a227ed2f7395: Download complete 08:37:42 9b3977197b4f: Pull complete 08:37:43 1a89e8eeedd5: Pull complete 08:37:43 94645a83ff95: Pull complete 08:37:43 7b1c46037f91: Verifying Checksum 08:37:43 7b1c46037f91: Download complete 08:37:44 3f3a8bcf1eab: Verifying Checksum 08:37:44 3f3a8bcf1eab: Download complete 08:37:56 3f3a8bcf1eab: Pull complete 08:37:56 0c92f367c5e7: Pull complete 08:37:57 f7c0051592d6: Pull complete 08:37:57 a227ed2f7395: Pull complete 08:38:04 7b1c46037f91: Pull complete 08:38:04 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 08:38:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:38:04 ---> f79e39bc4007 08:38:04 Step 3/12 : ARG MAKE='make build' 08:38:04 ---> Running in 689ca4f35d24 08:38:05 Removing intermediate container 689ca4f35d24 08:38:05 ---> f9c839e396e3 08:38:05 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:38:05 ---> Running in 8239419ec19b 08:38:05 Removing intermediate container 8239419ec19b 08:38:05 ---> be947341a138 08:38:05 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 08:38:05 ---> Running in ca6874c24a48 08:38:06 Removing intermediate container ca6874c24a48 08:38:06 ---> eaa39bd359b5 08:38:06 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:38:06 ---> Running in ea8e5d922242 08:38:08 Removing intermediate container ea8e5d922242 08:38:08 ---> 95f07ad89197 08:38:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:38:08 ---> Running in cac5f6857230 08:38:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:38:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:38:11 (1/4) Installing openssh-keygen (8.8_p1-r1) 08:38:11 (2/4) Installing libedit (20210910.3.1-r0) 08:38:11 (3/4) Installing openssh-client-common (8.8_p1-r1) 08:38:11 (4/4) Installing openssh-client-default (8.8_p1-r1) 08:38:11 Executing busybox-1.34.1-r3.trigger 08:38:11 OK: 224 MiB in 56 packages 08:38:13 Removing intermediate container cac5f6857230 08:38:13 ---> 96dba69296d9 08:38:13 Step 8/12 : WORKDIR /device-rest-go 08:38:13 ---> Running in d9b91ea28362 08:38:13 Removing intermediate container d9b91ea28362 08:38:13 ---> f496c8b7dbd0 08:38:13 Step 9/12 : COPY go.mod vendor* ./ 08:38:14 ---> e86380f3b39d 08:38:14 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:38:14 ---> Running in 6981c20e98b0 08:39:11 Removing intermediate container 6981c20e98b0 08:39:11 ---> 5a0c4a5eeb5d 08:39:11 Step 11/12 : COPY . . 08:39:11 ---> 1bab093eaea0 08:39:11 Step 12/12 : RUN $MAKE 08:39:11 ---> Running in b1bb201158bd 08:39:11 noop 08:39:11 Removing intermediate container b1bb201158bd 08:39:11 ---> f396558d0224 08:39:11 Successfully built f396558d0224 08:39:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:39:11 + docker inspect -f . ci-base-image-arm64 08:39:11 . [Pipeline] withDockerContainer 08:39:11 prd-ubuntu20.04-docker-arm64-4c-16g-10953 does not seem to be running inside a container 08:39:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/29 -v /w/workspace/device-rest-go/29:/w/workspace/device-rest-go/29:rw,z -v /w/workspace/device-rest-go/29@tmp:/w/workspace/device-rest-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:39:12 $ docker top 3a980f1f447dc7ed6c457a7c7380baac664763050ae0f9ea3a522c5c15314a8b -eo pid,comm [Pipeline] { [Pipeline] sh 08:39:13 + go version 08:39:13 go version go1.17.6 linux/arm64 [Pipeline] } 08:39:13 $ docker stop --time=1 3a980f1f447dc7ed6c457a7c7380baac664763050ae0f9ea3a522c5c15314a8b 08:39:15 $ docker rm -f 3a980f1f447dc7ed6c457a7c7380baac664763050ae0f9ea3a522c5c15314a8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:39:16 + docker inspect -f . ci-base-image-arm64 08:39:16 . [Pipeline] withDockerContainer 08:39:16 prd-ubuntu20.04-docker-arm64-4c-16g-10953 does not seem to be running inside a container 08:39:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/29 -v /w/workspace/device-rest-go/29:/w/workspace/device-rest-go/29:rw,z -v /w/workspace/device-rest-go/29@tmp:/w/workspace/device-rest-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:39:17 $ docker top a4044d64363049e267c11b73193137d0992b5977abfcdeecabcd46a980d1ad91 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:39:18 + make test 08:39:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:39:20 ? github.com/edgexfoundry/device-rest-go [no test files] 08:40:42 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 08:40:42 ok github.com/edgexfoundry/device-rest-go/driver 0.071s coverage: 55.2% of statements 08:40:42 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:40:42 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:41:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:41:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:41:09 ./bin/test-attribution-txt.sh [Pipeline] echo 08:41:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:41:11 $ docker stop --time=1 a4044d64363049e267c11b73193137d0992b5977abfcdeecabcd46a980d1ad91 08:41:13 $ docker rm -f a4044d64363049e267c11b73193137d0992b5977abfcdeecabcd46a980d1ad91 [Pipeline] // withDockerContainer [Pipeline] sh 08:41:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:41:14 Warning: overwriting stash ‘coverage-report’ 08:41:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:41:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:41:15 + ls -al . 08:41:15 total 168 08:41:15 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 08:41 . 08:41:15 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 08:37 .. 08:41:15 -rw-rw-r-- 1 jenkins jenkins 151 Apr 6 08:37 .dockerignore 08:41:15 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 08:37 .git 08:41:15 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 08:37 .github 08:41:15 -rw-rw-r-- 1 jenkins jenkins 329 Apr 6 08:37 .gitignore 08:41:15 -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 08:37 .golangci.yml 08:41:15 -rw-rw-r-- 1 jenkins jenkins 8330 Apr 6 08:37 Attribution.txt 08:41:15 -rw-rw-r-- 1 jenkins jenkins 7459 Apr 6 08:37 CHANGELOG.md 08:41:15 -rw-rw-r-- 1 jenkins jenkins 1672 Apr 6 08:37 Dockerfile 08:41:15 -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 08:37 GOVERNANCE.md 08:41:15 -rw-rw-r-- 1 jenkins jenkins 680 Apr 6 08:37 Jenkinsfile 08:41:15 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 08:37 LICENSE 08:41:15 -rw-rw-r-- 1 jenkins jenkins 1578 Apr 6 08:37 Makefile 08:41:15 -rw-rw-r-- 1 jenkins jenkins 620 Apr 6 08:37 OWNERS.md 08:41:15 -rw-rw-r-- 1 jenkins jenkins 8246 Apr 6 08:37 README.md 08:41:15 -rw-rw-r-- 1 jenkins jenkins 11 Apr 6 08:34 VERSION 08:41:15 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 08:37 bin 08:41:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 08:37 cmd 08:41:15 -rw-r--r-- 1 jenkins jenkins 9355 Apr 6 08:40 coverage.out 08:41:15 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 08:37 driver 08:41:15 -rw-rw-r-- 1 jenkins jenkins 3240 Apr 6 08:37 go.mod 08:41:15 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 6 08:37 go.sum 08:41:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 08:37 snap 08:41:15 -rw-rw-r-- 1 jenkins jenkins 713 Apr 6 08:37 version.go [Pipeline] isUnix [Pipeline] sh 08:41:16 + 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=e20d54948958fbae002d4522b61cee1c213d8f02 --label arch=arm64 --label version=2.2.0-dev.8 . 08:41:16 Sending build context to Docker daemon 137.7kB 08:41:16 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 08:41:16 Step 2/25 : FROM ${BASE} AS builder 08:41:16 ---> f396558d0224 08:41:16 Step 3/25 : ARG MAKE='make build' 08:41:16 ---> Running in 67e06703e35d 08:41:17 Removing intermediate container 67e06703e35d 08:41:17 ---> 44c87a21bf91 08:41:17 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:41:17 ---> Running in f5a18ba20272 08:41:17 Removing intermediate container f5a18ba20272 08:41:17 ---> 2643cc8c7efe 08:41:17 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 08:41:17 ---> Running in 61636838489e 08:41:17 Removing intermediate container 61636838489e 08:41:17 ---> 47cf2298621e 08:41:17 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:41:17 ---> Running in 3d761d8175f7 08:41:19 Removing intermediate container 3d761d8175f7 08:41:19 ---> 718b68abccfd 08:41:19 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:41:19 ---> Running in 430212cbeb96 08:41:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:41:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:41:22 OK: 224 MiB in 56 packages 08:41:23 Removing intermediate container 430212cbeb96 08:41:23 ---> 3ed6c3502b4e 08:41:23 Step 8/25 : WORKDIR /device-rest-go 08:41:23 ---> Running in b1bbcf0b4077 08:41:23 Removing intermediate container b1bbcf0b4077 08:41:23 ---> 039a27cb9b1a 08:41:23 Step 9/25 : COPY go.mod vendor* ./ 08:41:24 ---> f0ef45e33684 08:41:24 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:41:24 ---> Running in 9bca97c08f1b 08:41:26 Removing intermediate container 9bca97c08f1b 08:41:26 ---> 5b834f77ccf1 08:41:26 Step 11/25 : COPY . . 08:41:26 ---> bddad1bced77 08:41:26 Step 12/25 : RUN $MAKE 08:41:26 ---> Running in 8dab0153d74b 08:41:27 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.8" -o cmd/device-rest ./cmd 08:42:49 Removing intermediate container 8dab0153d74b 08:42:49 ---> c4d2cc1ce65e 08:42:49 Step 13/25 : FROM alpine:3.14 08:42:49 3.14: Pulling from library/alpine 08:42:49 455c02918c45: Pulling fs layer 08:42:49 455c02918c45: Verifying Checksum 08:42:49 455c02918c45: Download complete 08:42:49 455c02918c45: Pull complete 08:42:49 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 08:42:49 Status: Downloaded newer image for alpine:3.14 08:42:49 ---> ac73e934f311 08:42:49 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 08:42:49 ---> Running in 424138a3aa3c 08:42:49 Removing intermediate container 424138a3aa3c 08:42:49 ---> 12cdb44d08dc 08:42:49 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 08:42:49 ---> Running in 96768cc3e819 08:42:49 Removing intermediate container 96768cc3e819 08:42:49 ---> 129fbe6fff45 08:42:49 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 08:42:49 ---> Running in d3c935ed0467 08:42:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 08:42:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 08:42:49 (1/6) Installing dumb-init (1.2.5-r1) 08:42:49 (2/6) Installing libgcc (10.3.1_git20210424-r2) 08:42:49 (3/6) Installing libsodium (1.0.18-r0) 08:42:49 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 08:42:49 (5/6) Installing libzmq (4.3.4-r0) 08:42:49 (6/6) Installing zeromq (4.3.4-r0) 08:42:49 Executing busybox-1.33.1-r7.trigger 08:42:49 OK: 8 MiB in 20 packages 08:42:49 Removing intermediate container d3c935ed0467 08:42:49 ---> 8bca259110c1 08:42:49 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 08:42:49 ---> 3c9cbeafedb9 08:42:49 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 08:42:49 ---> 238b101c12e1 08:42:49 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 08:42:50 ---> 8d3faaf0c157 08:42:50 Step 20/25 : EXPOSE 59986 08:42:50 ---> Running in d27eaafcbecb 08:42:50 Removing intermediate container d27eaafcbecb 08:42:50 ---> b6dfa01dee2b 08:42:50 Step 21/25 : ENTRYPOINT ["/device-rest"] 08:42:50 ---> Running in aa2e46012884 08:42:51 Removing intermediate container aa2e46012884 08:42:51 ---> ed44e71130c8 08:42:51 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 08:42:51 ---> Running in 51f0fbfc7afe 08:42:51 Removing intermediate container 51f0fbfc7afe 08:42:51 ---> 6d206729b0a9 08:42:51 Step 23/25 : LABEL arch=arm64 08:42:51 ---> Running in af1489dd08a5 08:42:51 Removing intermediate container af1489dd08a5 08:42:51 ---> 935704467cfc 08:42:51 Step 24/25 : LABEL git_sha=e20d54948958fbae002d4522b61cee1c213d8f02 08:42:51 ---> Running in 0401508db18d 08:42:52 Removing intermediate container 0401508db18d 08:42:52 ---> c0fed04c8d35 08:42:52 Step 25/25 : LABEL version=2.2.0-dev.8 08:42:52 ---> Running in fd668bda9402 08:42:52 Removing intermediate container fd668bda9402 08:42:52 ---> 4ab6f13befb8 08:42:52 [Warning] One or more build-args [ARCH] were not consumed 08:42:52 Successfully built 4ab6f13befb8 08:42:52 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 08:42:52 provisioning config files... 08:42:52 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/29@tmp/config4310102670045864789tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:42:53 ---> docker-login.sh 08:42:53 nexus3.edgexfoundry.org:10001 08:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:42:53 Configure a credential helper to remove this warning. See 08:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:42:53 08:42:53 Login Succeeded 08:42:53 nexus3.edgexfoundry.org:10002 08:42:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:42:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:42:54 Configure a credential helper to remove this warning. See 08:42:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:42:54 08:42:54 Login Succeeded 08:42:54 nexus3.edgexfoundry.org:10003 08:42:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:42:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:42:54 Configure a credential helper to remove this warning. See 08:42:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:42:54 08:42:54 Login Succeeded 08:42:54 nexus3.edgexfoundry.org:10004 08:42:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:42:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:42:55 Configure a credential helper to remove this warning. See 08:42:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:42:55 08:42:55 Login Succeeded 08:42:55 docker.io 08:42:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:42:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:42:56 Configure a credential helper to remove this warning. See 08:42:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:42:56 08:42:56 Login Succeeded 08:42:56 ---> docker-login.sh ends [Pipeline] } 08:42:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:42:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:42:56 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 08:42:56 e20d54948958fbae002d4522b61cee1c213d8f02 08:42:56 latest 08:42:56 2.2.0-dev.8 08:42:56 e20d54948958fbae002d4522b61cee1c213d8f02-2.2.0-dev.8 08:42:56 main 08:42:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:42:56 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:e20d54948958fbae002d4522b61cee1c213d8f02 [Pipeline] isUnix [Pipeline] sh 08:42:57 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:e20d54948958fbae002d4522b61cee1c213d8f02 08:42:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 08:42:57 e954a2817dfd: Preparing 08:42:57 f151668562a9: Preparing 08:42:57 a35da44265c2: Preparing 08:42:57 346f0ca82880: Preparing 08:42:57 f73e7dbfee58: Preparing 08:42:57 f73e7dbfee58: Layer already exists 08:42:57 e954a2817dfd: Pushed 08:42:57 f151668562a9: Pushed 08:42:57 346f0ca82880: Pushed 08:43:03 a35da44265c2: Pushed 08:43:03 e20d54948958fbae002d4522b61cee1c213d8f02: digest: sha256:84253f0e921676fb1bd7f36e5fbd4309d937a5e3cd32a571f381fb25d60a44fd size: 1365 [Pipeline] isUnix [Pipeline] sh 08:43:03 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:43:04 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 08:43:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 08:43:04 e954a2817dfd: Preparing 08:43:04 f151668562a9: Preparing 08:43:04 a35da44265c2: Preparing 08:43:04 346f0ca82880: Preparing 08:43:04 f73e7dbfee58: Preparing 08:43:04 f73e7dbfee58: Layer already exists 08:43:04 346f0ca82880: Layer already exists 08:43:04 e954a2817dfd: Layer already exists 08:43:04 f151668562a9: Layer already exists 08:43:04 a35da44265c2: Layer already exists 08:43:04 latest: digest: sha256:84253f0e921676fb1bd7f36e5fbd4309d937a5e3cd32a571f381fb25d60a44fd size: 1365 [Pipeline] isUnix [Pipeline] sh 08:43:04 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh 08:43:05 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.8 08:43:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 08:43:05 e954a2817dfd: Preparing 08:43:05 f151668562a9: Preparing 08:43:05 a35da44265c2: Preparing 08:43:05 346f0ca82880: Preparing 08:43:05 f73e7dbfee58: Preparing 08:43:05 346f0ca82880: Layer already exists 08:43:05 f73e7dbfee58: Layer already exists 08:43:05 f151668562a9: Layer already exists 08:43:05 e954a2817dfd: Layer already exists 08:43:05 a35da44265c2: Layer already exists 08:43:05 2.2.0-dev.8: digest: sha256:84253f0e921676fb1bd7f36e5fbd4309d937a5e3cd32a571f381fb25d60a44fd size: 1365 [Pipeline] isUnix [Pipeline] sh 08:43:05 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:e20d54948958fbae002d4522b61cee1c213d8f02-2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh 08:43:05 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:e20d54948958fbae002d4522b61cee1c213d8f02-2.2.0-dev.8 08:43:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 08:43:05 e954a2817dfd: Preparing 08:43:05 f151668562a9: Preparing 08:43:05 a35da44265c2: Preparing 08:43:05 346f0ca82880: Preparing 08:43:05 f73e7dbfee58: Preparing 08:43:05 a35da44265c2: Layer already exists 08:43:05 346f0ca82880: Layer already exists 08:43:05 e954a2817dfd: Layer already exists 08:43:05 f73e7dbfee58: Layer already exists 08:43:05 f151668562a9: Layer already exists 08:43:06 e20d54948958fbae002d4522b61cee1c213d8f02-2.2.0-dev.8: digest: sha256:84253f0e921676fb1bd7f36e5fbd4309d937a5e3cd32a571f381fb25d60a44fd size: 1365 [Pipeline] isUnix [Pipeline] sh 08:43:06 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh 08:43:06 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 08:43:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 08:43:06 e954a2817dfd: Preparing 08:43:06 f151668562a9: Preparing 08:43:06 a35da44265c2: Preparing 08:43:06 346f0ca82880: Preparing 08:43:06 f73e7dbfee58: Preparing 08:43:06 346f0ca82880: Layer already exists 08:43:06 f73e7dbfee58: Layer already exists 08:43:06 a35da44265c2: Layer already exists 08:43:06 e954a2817dfd: Layer already exists 08:43:06 f151668562a9: Layer already exists 08:43:07 main: digest: sha256:84253f0e921676fb1bd7f36e5fbd4309d937a5e3cd32a571f381fb25d60a44fd size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:43:07 ===================================================== [Pipeline] echo 08:43:07 taggedImages: 08:43:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:e20d54948958fbae002d4522b61cee1c213d8f02 08:43:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 08:43:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.8 08:43:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:e20d54948958fbae002d4522b61cee1c213d8f02-2.2.0-dev.8 08:43:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:43:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:43:07 08:43:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 08:43:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:43:08 arm64: Pulling from edgex-lftools-log-publisher 08:43:08 8998bd30e6a1: Pulling fs layer 08:43:08 04944245beec: Pulling fs layer 08:43:08 699f458cf7ca: Pulling fs layer 08:43:08 765212b225bb: Pulling fs layer 08:43:08 f23df028b6ca: Pulling fs layer 08:43:08 d65c8cfc05b1: Pulling fs layer 08:43:08 2437ff75d9bd: Pulling fs layer 08:43:08 f23df028b6ca: Waiting 08:43:08 d65c8cfc05b1: Waiting 08:43:08 2437ff75d9bd: Waiting 08:43:08 765212b225bb: Waiting 08:43:08 04944245beec: Download complete 08:43:08 f23df028b6ca: Download complete 08:43:08 d65c8cfc05b1: Verifying Checksum 08:43:08 d65c8cfc05b1: Download complete 08:43:08 699f458cf7ca: Verifying Checksum 08:43:08 699f458cf7ca: Download complete 08:43:08 8998bd30e6a1: Verifying Checksum 08:43:08 8998bd30e6a1: Download complete 08:43:11 2437ff75d9bd: Verifying Checksum 08:43:11 2437ff75d9bd: Download complete 08:43:13 8998bd30e6a1: Pull complete 08:43:13 04944245beec: Pull complete 08:43:15 699f458cf7ca: Pull complete 08:43:15 765212b225bb: Pull complete 08:43:16 f23df028b6ca: Pull complete 08:43:16 d65c8cfc05b1: Pull complete 08:43:31 2437ff75d9bd: Pull complete 08:43:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:43:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:43:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 08:43:32 prd-ubuntu20.04-docker-arm64-4c-16g-10953 does not seem to be running inside a container 08:43:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/29 -v /w/workspace/device-rest-go/29:/w/workspace/device-rest-go/29:rw,z -v /w/workspace/device-rest-go/29@tmp:/w/workspace/device-rest-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:43:34 $ docker top 64c2d1902da556e84a00dd287583271c8f953011decbf3d46329804cb302c923 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:43:35 ---> job-cost.sh 08:43:35 lf-activate-venv: SKIPPING 08:43:35 INFO: No Stack... 08:43:36 INFO: Retrieving Pricing Info for: v3-standard-4 08:43:37 INFO: Archiving Costs [Pipeline] sh 08:43:37 + cut -d, -f6 08:43:37 + cat /w/workspace/device-rest-go/29/archives/cost.csv [Pipeline] lock 08:43:37 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-29-stack-cost] 08:43:37 Resource [jenkins-edgexfoundry-device-rest-go-main-29-stack-cost] did not exist. Created. 08:43:37 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:43:38 /w/workspace/device-rest-go/29@tmp/durable-91311b87/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:43:39 + echo total: 0.10999999940395355 [Pipeline] stash 08:43:39 Warning: overwriting stash ‘stack-cost’ 08:43:39 Stashed 1 file(s) [Pipeline] } 08:43:39 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-29-stack-cost] [Pipeline] // lock [Pipeline] } 08:43:39 $ docker stop --time=1 64c2d1902da556e84a00dd287583271c8f953011decbf3d46329804cb302c923 08:43:40 $ docker rm -f 64c2d1902da556e84a00dd287583271c8f953011decbf3d46329804cb302c923 [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 08:43:41 provisioning config files... 08:43:41 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7933298763043863071tmp [Pipeline] { [Pipeline] sh 08:43:41 + set +x 08:43:41 + curl -s https://codecov.io/bash 08:43:41 + bash -s -- 08:43:41 08:43:41 _____ _ 08:43:41 / ____| | | 08:43:41 | | ___ __| | ___ ___ _____ __ 08:43:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:43:41 | |___| (_) | (_| | __/ (_| (_) \ V / 08:43:41 \_____\___/ \__,_|\___|\___\___/ \_/ 08:43:41 Bash-1.0.6 08:43:41 08:43:41 08:43:41 ==> git version 2.25.1 found 08:43:41 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 08:43:41 Release-Date: 2020-01-08 08:43:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:43:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:43:41 ==> Jenkins CI detected. 08:43:41 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 08:43:41 project root: . 08:43:41 --> token set from env 08:43:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:43:41 ==> Running gcov in . (disable via -X gcov) 08:43:41 ==> Python coveragepy not found 08:43:41 ==> Searching for coverage reports in: 08:43:41 + . 08:43:41 -> Found 1 reports 08:43:41 ==> Detecting git/mercurial file structure 08:43:41 ==> Reading reports 08:43:41 + ./coverage.out bytes=9355 08:43:41 ==> Appending adjustments 08:43:41 https://docs.codecov.io/docs/fixing-reports 08:43:41 + Found adjustments 08:43:41 ==> Gzipping contents 08:43:41 4.0K /tmp/codecov.JuxEBd.gz 08:43:41 ==> Uploading reports 08:43:41 url: https://codecov.io 08:43:41 query: branch=main&commit=e20d54948958fbae002d4522b61cee1c213d8f02&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:43:41 -> Pinging Codecov 08:43:41 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=e20d54948958fbae002d4522b61cee1c213d8f02&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:43:41 -> Uploading to 08:43:41 https://storage.googleapis.com/codecov/v4/raw/2022-04-06/4E5D53B4F1F92C436F7061BF334D961C/e20d54948958fbae002d4522b61cee1c213d8f02/deb15db3-eb91-4328-955b-a5b6c2e747e8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220406T084341Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=32d26a6081bcbfde096b03532dd6d487167b068930e33e299db9f7623ed77b55 08:43:41 % Total % Received % Xferd Average Speed Time Time Time Current 08:43:41 Dload Upload Total Spent Left Speed 08:43:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1800 0 0 100 1800 0 6818 --:--:-- --:--:-- --:--:-- 6818 08:43:42 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/e20d54948958fbae002d4522b61cee1c213d8f02 [Pipeline] } 08:43:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:43:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:43:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:43:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:43:42 08:43:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 08:43:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:43:42 1.410.4: Pulling from edgex-devops/edgex-snyk-go 08:43:42 188c0c94c7c5: Pulling fs layer 08:43:42 0ef7d3d256c8: Pulling fs layer 08:43:42 de9db76c5a1d: Pulling fs layer 08:43:42 0eba1c9be4d2: Pulling fs layer 08:43:42 0d57e429df01: Pulling fs layer 08:43:42 4e4be7b47b0d: Pulling fs layer 08:43:42 e1f770b5df2f: Pulling fs layer 08:43:42 85a0685a4137: Pulling fs layer 08:43:42 0d57e429df01: Waiting 08:43:42 4e4be7b47b0d: Waiting 08:43:42 e1f770b5df2f: Waiting 08:43:42 85a0685a4137: Waiting 08:43:42 0eba1c9be4d2: Waiting 08:43:42 de9db76c5a1d: Verifying Checksum 08:43:42 de9db76c5a1d: Download complete 08:43:42 0ef7d3d256c8: Verifying Checksum 08:43:42 0ef7d3d256c8: Download complete 08:43:42 0d57e429df01: Verifying Checksum 08:43:42 0d57e429df01: Download complete 08:43:42 4e4be7b47b0d: Download complete 08:43:42 188c0c94c7c5: Verifying Checksum 08:43:42 188c0c94c7c5: Download complete 08:43:43 188c0c94c7c5: Pull complete 08:43:43 e1f770b5df2f: Verifying Checksum 08:43:43 e1f770b5df2f: Download complete 08:43:43 0ef7d3d256c8: Pull complete 08:43:43 de9db76c5a1d: Pull complete 08:43:43 0eba1c9be4d2: Verifying Checksum 08:43:43 0eba1c9be4d2: Download complete 08:43:43 85a0685a4137: Verifying Checksum 08:43:43 85a0685a4137: Download complete 08:43:46 0eba1c9be4d2: Pull complete 08:43:46 0d57e429df01: Pull complete 08:43:46 4e4be7b47b0d: Pull complete 08:43:47 e1f770b5df2f: Pull complete 08:43:50 85a0685a4137: Pull complete 08:43:50 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 08:43:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:43:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 08:43:50 prd-ubuntu20.04-docker-8c-8g-10951 does not seem to be running inside a container 08:43:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 08:43:52 $ docker top 95c6267fcab230f9c21e600f571eea904370ed846090db2209448e0403d2b00d -eo pid,comm [Pipeline] { [Pipeline] echo 08:43:52 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 08:43:52 + set -o pipefail 08:43:52 + snyk monitor '--org=edgex-jenkins' 08:43:59 08:43:59 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 08:43:59 08:43:59 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/82948468-71b0-4e24-b26b-f133e7bcb627 08:43:59 08:43:59 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 08:43:59 08:43:59 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:43:59 08:43:59 [Pipeline] } 08:43:59 $ docker stop --time=1 95c6267fcab230f9c21e600f571eea904370ed846090db2209448e0403d2b00d 08:44:01 $ docker rm -f 95c6267fcab230f9c21e600f571eea904370ed846090db2209448e0403d2b00d [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 08:44:02 + git log --format=format:%s -1 e20d54948958fbae002d4522b61cee1c213d8f02 [Pipeline] sh 08:44:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:44:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 08:44:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:44:03 . [Pipeline] withDockerContainer 08:44:03 prd-ubuntu20.04-docker-8c-8g-10951 does not seem to be running inside a container 08:44:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:44:03 $ docker top 2a48c4c1447f7871d744d767294e5b09ae1d94d68e3756d0d7a622ad4dafa26e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:44:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:44:03 [ssh-agent] Looking for ssh-agent implementation... 08:44:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:44:04 $ docker exec 2a48c4c1447f7871d744d767294e5b09ae1d94d68e3756d0d7a622ad4dafa26e ssh-agent 08:44:04 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgolJkB/agent.15 08:44:04 SSH_AGENT_PID=22 08:44:04 Running ssh-add (command line suppressed) 08:44:04 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3344003616384249021.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3344003616384249021.key) 08:44:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:44:04 + git semver tag 08:44:04 # -> Open(): unable to determine branch for HEAD 08:44:04 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 08:44:04 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 08:44:04 # $SEMVER_REMOTE_NAME = origin 08:44:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:44:04 # $SEMVER_USER_NAME = edgex-jenkins 08:44:04 # $SEMVER_BRANCH = main 08:44:04 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 08:44:04 # e20d54948958fbae002d4522b61cee1c213d8f02 HEAD 08:44:04 # -> Force: false 08:44:04 # 455027499bdcd1d5025c0c30e39554593e8b36ca refs/tags/v2.2.0-dev.8 [Pipeline] } 08:44:04 $ docker exec --env ******** --env ******** 2a48c4c1447f7871d744d767294e5b09ae1d94d68e3756d0d7a622ad4dafa26e ssh-agent -k 08:44:04 unset SSH_AUTH_SOCK; 08:44:04 unset SSH_AGENT_PID; 08:44:04 echo Agent pid 22 killed; 08:44:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:44:04 + git semver [Pipeline] } 08:44:04 $ docker stop --time=1 2a48c4c1447f7871d744d767294e5b09ae1d94d68e3756d0d7a622ad4dafa26e 08:44:06 $ docker rm -f 2a48c4c1447f7871d744d767294e5b09ae1d94d68e3756d0d7a622ad4dafa26e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 08:44:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:44:06 08:44:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 08:44:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:44:06 0.23.1-centos7: Pulling from edgex-lftools 08:44:06 ab5ef0e58194: Pulling fs layer 08:44:06 9712f1f96733: Pulling fs layer 08:44:06 63f879dbbcfc: Pulling fs layer 08:44:06 0d9ebad4ef96: Pulling fs layer 08:44:06 e9a5061849ea: Pulling fs layer 08:44:06 d747dcd14b5f: Pulling fs layer 08:44:06 2de7ff778b66: Pulling fs layer 08:44:06 0d9ebad4ef96: Waiting 08:44:06 e9a5061849ea: Waiting 08:44:06 d747dcd14b5f: Waiting 08:44:06 2de7ff778b66: Waiting 08:44:06 9712f1f96733: Verifying Checksum 08:44:06 9712f1f96733: Download complete 08:44:07 63f879dbbcfc: Verifying Checksum 08:44:07 63f879dbbcfc: Download complete 08:44:07 e9a5061849ea: Verifying Checksum 08:44:07 e9a5061849ea: Download complete 08:44:07 d747dcd14b5f: Download complete 08:44:07 0d9ebad4ef96: Download complete 08:44:07 ab5ef0e58194: Verifying Checksum 08:44:07 ab5ef0e58194: Download complete 08:44:07 2de7ff778b66: Verifying Checksum 08:44:07 2de7ff778b66: Download complete 08:44:10 ab5ef0e58194: Pull complete 08:44:10 9712f1f96733: Pull complete 08:44:10 63f879dbbcfc: Pull complete 08:44:14 0d9ebad4ef96: Pull complete 08:44:14 e9a5061849ea: Pull complete 08:44:14 d747dcd14b5f: Pull complete 08:44:15 2de7ff778b66: Pull complete 08:44:15 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:44:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:44:15 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 08:44:15 prd-ubuntu20.04-docker-8c-8g-10951 does not seem to be running inside a container 08:44:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 08:44:17 $ docker top 42bdc258e579a410d48c827836fa8b2c6d4597f374a5386a3a988a1c0f7f7dc4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:44:18 provisioning config files... 08:44:18 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config207868514987507922tmp 08:44:18 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5156768376702951803tmp 08:44:18 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2164537458150100407tmp [Pipeline] { [Pipeline] echo 08:44:18 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:44:18 ---> sigul-configuration.sh 08:44:18 gpg: directory `/root/.gnupg' created 08:44:18 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:44:18 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:44:18 gpg: keyring `/root/.gnupg/secring.gpg' created 08:44:18 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:44:18 gpg: CAST5 encrypted data 08:44:18 gpg: encrypted with 1 passphrase 08:44:18 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:44:18 + mkdir /home/jenkins 08:44:18 + mkdir /home/jenkins/sigul [Pipeline] sh 08:44:18 + 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 08:44:18 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:44:19 ---> sigul-install.sh 08:44:19 Sigul already installed; skipping installation. [Pipeline] sh 08:44:19 + git tag --list 08:44:19 v1.0.0 08:44:19 v1.1.0 08:44:19 v1.1.1 08:44:19 v1.1.2 08:44:19 v1.2.0 08:44:19 v1.2.1 08:44:19 v2.0.0 08:44:19 v2.0.1-dev.1 08:44:19 v2.0.1-dev.10 08:44:19 v2.0.1-dev.11 08:44:19 v2.0.1-dev.12 08:44:19 v2.0.1-dev.13 08:44:19 v2.0.1-dev.14 08:44:19 v2.0.1-dev.2 08:44:19 v2.0.1-dev.3 08:44:19 v2.0.1-dev.4 08:44:19 v2.0.1-dev.5 08:44:19 v2.0.1-dev.6 08:44:19 v2.0.1-dev.7 08:44:19 v2.0.1-dev.8 08:44:19 v2.0.1-dev.9 08:44:19 v2.1.0 08:44:19 v2.2.0-dev.1 08:44:19 v2.2.0-dev.2 08:44:19 v2.2.0-dev.3 08:44:19 v2.2.0-dev.4 08:44:19 v2.2.0-dev.5 08:44:19 v2.2.0-dev.6 08:44:19 v2.2.0-dev.7 08:44:19 v2.2.0-dev.8 [Pipeline] sh 08:44:19 + lftools sign git-tag v2.2.0-dev.8 08:44:20 Signing Git tag with Sigul... 08:44:20 Signing v2.2.0-dev.8 [Pipeline] echo 08:44:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:44:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:44:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:44:20 $ docker stop --time=1 42bdc258e579a410d48c827836fa8b2c6d4597f374a5386a3a988a1c0f7f7dc4 08:44:22 $ docker rm -f 42bdc258e579a410d48c827836fa8b2c6d4597f374a5386a3a988a1c0f7f7dc4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 08:44:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:44:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 08:44:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:44:23 . [Pipeline] withDockerContainer 08:44:23 prd-ubuntu20.04-docker-8c-8g-10951 does not seem to be running inside a container 08:44:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:44:23 $ docker top 4a2de10eca0540c3ba486907f43ab2966b352286acd58557e7185a01d54a6279 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:44:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:44:23 [ssh-agent] Looking for ssh-agent implementation... 08:44:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:44:23 $ docker exec 4a2de10eca0540c3ba486907f43ab2966b352286acd58557e7185a01d54a6279 ssh-agent 08:44:23 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXocHeCK/agent.13 08:44:23 SSH_AGENT_PID=19 08:44:23 Running ssh-add (command line suppressed) 08:44:24 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8990721003837168743.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8990721003837168743.key) 08:44:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:44:24 + git semver bump pre 08:44:24 # -> Open(): unable to determine branch for HEAD 08:44:24 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 08:44:24 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 08:44:24 # $SEMVER_REMOTE_NAME = origin 08:44:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:44:24 # $SEMVER_USER_NAME = edgex-jenkins 08:44:24 # $SEMVER_BRANCH = main 08:44:24 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 08:44:24 2.2.0-dev.9 [Pipeline] } 08:44:24 $ docker exec --env ******** --env ******** 4a2de10eca0540c3ba486907f43ab2966b352286acd58557e7185a01d54a6279 ssh-agent -k 08:44:24 unset SSH_AUTH_SOCK; 08:44:24 unset SSH_AGENT_PID; 08:44:24 echo Agent pid 19 killed; 08:44:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:44:24 + git semver [Pipeline] } 08:44:24 $ docker stop --time=1 4a2de10eca0540c3ba486907f43ab2966b352286acd58557e7185a01d54a6279 08:44:26 $ docker rm -f 4a2de10eca0540c3ba486907f43ab2966b352286acd58557e7185a01d54a6279 [Pipeline] // withDockerContainer [Pipeline] sh 08:44:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:44:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 08:44:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:44:26 . [Pipeline] withDockerContainer 08:44:26 prd-ubuntu20.04-docker-8c-8g-10951 does not seem to be running inside a container 08:44:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:44:27 $ docker top ad7c7da51a549a481eb3e89fa231ac4e1b37e3a83ea458e2ce3d6c94d14c16a3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:44:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:44:27 [ssh-agent] Looking for ssh-agent implementation... 08:44:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:44:27 $ docker exec ad7c7da51a549a481eb3e89fa231ac4e1b37e3a83ea458e2ce3d6c94d14c16a3 ssh-agent 08:44:27 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJHLJke/agent.14 08:44:27 SSH_AGENT_PID=20 08:44:27 Running ssh-add (command line suppressed) 08:44:27 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9152386599333099909.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9152386599333099909.key) 08:44:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:44:28 + git semver push 08:44:28 # -> Open(): unable to determine branch for HEAD 08:44:28 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 08:44:28 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 08:44:28 # $SEMVER_REMOTE_NAME = origin 08:44:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:44:28 # $SEMVER_USER_NAME = edgex-jenkins 08:44:28 # $SEMVER_BRANCH = main 08:44:28 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 08:44:29 $ docker exec --env ******** --env ******** ad7c7da51a549a481eb3e89fa231ac4e1b37e3a83ea458e2ce3d6c94d14c16a3 ssh-agent -k 08:44:29 unset SSH_AUTH_SOCK; 08:44:29 unset SSH_AGENT_PID; 08:44:29 echo Agent pid 20 killed; 08:44:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:44:29 + git semver [Pipeline] } 08:44:29 $ docker stop --time=1 ad7c7da51a549a481eb3e89fa231ac4e1b37e3a83ea458e2ce3d6c94d14c16a3 08:44:31 $ docker rm -f ad7c7da51a549a481eb3e89fa231ac4e1b37e3a83ea458e2ce3d6c94d14c16a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 08:44:31 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 08:44:31 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 08:44:31 total 16 08:44:31 drwxr-xr-x 3 root root 4096 Apr 6 08:35 . 08:44:31 drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 08:44 .. 08:44:31 drwxr-xr-x 2 root root 4096 Apr 6 08:35 cost 08:44:31 -rw-r--r-- 1 root root 84 Apr 6 08:35 cost.csv 08:44:31 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 08:44:31 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 08:44:31 total 16 08:44:31 drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 08:35 . 08:44:31 drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 08:44 .. 08:44:31 drwxr-xr-x 2 jenkins jenkins 4096 Apr 6 08:35 cost 08:44:31 -rw-r--r-- 1 jenkins jenkins 84 Apr 6 08:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:44:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:44:33 ---> package-listing.sh 08:44:33 ++ tr '[:upper:]' '[:lower:]' 08:44:33 ++ facter osfamily 08:44:33 + OS_FAMILY=debian 08:44:33 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 08:44:33 + START_PACKAGES=/tmp/packages_start.txt 08:44:33 + END_PACKAGES=/tmp/packages_end.txt 08:44:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:44:33 + PACKAGES=/tmp/packages_start.txt 08:44:33 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 08:44:33 + PACKAGES=/tmp/packages_end.txt 08:44:33 + case "${OS_FAMILY}" in 08:44:33 + dpkg -l 08:44:33 + grep '^ii' 08:44:33 + '[' -f /tmp/packages_start.txt ']' 08:44:33 + '[' -f /tmp/packages_end.txt ']' 08:44:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:44:33 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 08:44:33 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 08:44:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 08:44:33 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 08:44:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:44:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:44:34 . [Pipeline] withDockerContainer 08:44:34 prd-ubuntu20.04-docker-8c-8g-10951 does not seem to be running inside a container 08:44:34 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:44:34 $ docker top 3d37dd611191a85b31142b210c038e87f1acc1084336a525320919b149706476 -eo pid,comm [Pipeline] { [Pipeline] sh 08:44:34 + touch /tmp/pre-build-complete [Pipeline] sh 08:44:35 + mkdir -p /var/log/sysstat [Pipeline] sh 08:44:35 + ls /var/log/sa-host 08:44:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:44:35 provisioning config files... 08:44:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4290865465394684248tmp [Pipeline] { [Pipeline] echo 08:44:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:44:35 ---> create-netrc.sh [Pipeline] } 08:44:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:44:36 ---> python-tools-install.sh [Pipeline] echo 08:44:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:44:36 ---> sudo-logs.sh 08:44:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:44:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:44:36 ---> job-cost.sh 08:44:36 lf-activate-venv: SKIPPING 08:44:36 DEBUG: total: 0.2199999988079071 08:44:36 INFO: Retrieving Stack Cost... 08:44:37 INFO: Retrieving Pricing Info for: v3-standard-8 08:44:37 INFO: Archiving Costs [Pipeline] echo 08:44:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:44:38 ---> logs-deploy.sh 08:44:38 lf-activate-venv: SKIPPING 08:44:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/29 08:44:38 INFO: archiving workspace using pattern(s): 08:44:38 Archives upload complete. 08:44:38 INFO: archiving logs to Nexus