Started by user Cloud Tsai Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7309373592147342432.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-ssh6578032796350751260.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-ssh797326975060344738.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-ssh13812986226931329309.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-ssh10859431289318591149.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7837 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 Commit message: "Merge pull request #160 from hahattan/bump-go-mods" > git rev-list --no-walk ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:37:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:37:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:37:50 ========================================================= 15:37:50 EdgeX Global Pipelines Version Info 15:37:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:37:51 ------------------- 15:37:51 stable info: 15:37:51 ------------------- 15:37:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:37:51 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 15:37:51 Message: update stable to v1.0.221 15:37:52 ------------------- 15:37:52 experimental info: 15:37:52 ------------------- 15:37:52 Commited By: **** collab-it+edgex@linuxfoundation.org 15:37:52 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 15:37:52 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ec779fd [Pipeline] echo 15:37:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:37:52 provisioning config files... 15:37:52 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9219423248883151735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:37:53 ---> docker-login.sh 15:37:53 nexus3.edgexfoundry.org:10001 15:37:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:53 Configure a credential helper to remove this warning. See 15:37:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:53 15:37:53 Login Succeeded 15:37:53 nexus3.edgexfoundry.org:10002 15:37:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:53 Configure a credential helper to remove this warning. See 15:37:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:53 15:37:53 Login Succeeded 15:37:53 nexus3.edgexfoundry.org:10003 15:37:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:53 Configure a credential helper to remove this warning. See 15:37:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:53 15:37:53 Login Succeeded 15:37:53 nexus3.edgexfoundry.org:10004 15:37:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:53 Configure a credential helper to remove this warning. See 15:37:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:53 15:37:53 Login Succeeded 15:37:53 docker.io 15:37:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:54 Configure a credential helper to remove this warning. See 15:37:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:54 15:37:54 Login Succeeded 15:37:54 ---> docker-login.sh ends [Pipeline] } 15:37:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:37:54 + git rev-list -1 --merges ec779fd03c03a2eb2a0571cd3b2e316fba414fa2~1..ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] echo 15:37:54 -----------> git rev-list -1 --merges ec779fd03c03a2eb2a0571cd3b2e316fba414fa2~1..ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 15:37:54 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [false] [Pipeline] sh 15:37:55 + git log --format=format:%s -1 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] echo 15:37:55 ========================================================= 15:37:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:37:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:37:55 + git log --format=format:%s -1 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] echo 15:37:55 [semverPrep] GIT_COMMIT: ec779fd03c03a2eb2a0571cd3b2e316fba414fa2, Commit Message: Merge pull request #160 from hahattan/bump-go-mods [Pipeline] echo 15:37:55 [semverPrep] This is not a build commit. [Pipeline] sh 15:37:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:37:56 + grep -v github /etc/ssh/ssh_known_hosts 15:37:56 + [ -e /tmp/ssh_known_hosts ] 15:37:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:37:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:37:56 + sudo tee -a /etc/ssh/ssh_known_hosts 15:37:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:37:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:37:56 15:37:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:37:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:37:56 latest: Pulling from edgex-devops/git-semver 15:37:56 a0d0a0d46f8b: Pulling fs layer 15:37:56 3e5f54012d9b: Pulling fs layer 15:37:56 4c7163046ea9: Pulling fs layer 15:37:56 0c2d73faf560: Pulling fs layer 15:37:56 0c2d73faf560: Waiting 15:37:56 3e5f54012d9b: Verifying Checksum 15:37:56 3e5f54012d9b: Download complete 15:37:56 a0d0a0d46f8b: Verifying Checksum 15:37:56 a0d0a0d46f8b: Download complete 15:37:56 0c2d73faf560: Download complete 15:37:56 4c7163046ea9: Verifying Checksum 15:37:56 4c7163046ea9: Download complete 15:37:57 a0d0a0d46f8b: Pull complete 15:37:57 3e5f54012d9b: Pull complete 15:37:57 4c7163046ea9: Pull complete 15:37:57 0c2d73faf560: Pull complete 15:37:57 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 15:37:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:37:57 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:37:57 prd-ubuntu20.04-docker-8c-8g-7837 does not seem to be running inside a container 15:37:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:37:58 $ docker top aa9b8ad802c7e69aa94aadf28b4df06ed20bc45d32bc073d7eef6c82043bc393 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:37:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:37:58 [ssh-agent] Looking for ssh-agent implementation... 15:37:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:37:58 $ docker exec aa9b8ad802c7e69aa94aadf28b4df06ed20bc45d32bc073d7eef6c82043bc393 ssh-agent 15:37:58 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcJJEAH/agent.14 15:37:58 SSH_AGENT_PID=20 15:37:58 Running ssh-add (command line suppressed) 15:37:58 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3703635813011089817.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3703635813011089817.key) 15:37:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:37:59 + git tag --points-at HEAD [Pipeline] } 15:37:59 $ docker exec --env ******** --env ******** aa9b8ad802c7e69aa94aadf28b4df06ed20bc45d32bc073d7eef6c82043bc393 ssh-agent -k 15:37:59 unset SSH_AUTH_SOCK; 15:37:59 unset SSH_AGENT_PID; 15:37:59 echo Agent pid 20 killed; 15:37:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:37:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:37:59 [ssh-agent] Looking for ssh-agent implementation... 15:37:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:37:59 $ docker exec aa9b8ad802c7e69aa94aadf28b4df06ed20bc45d32bc073d7eef6c82043bc393 ssh-agent 15:37:59 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoFniPd/agent.54 15:37:59 SSH_AGENT_PID=60 15:37:59 Running ssh-add (command line suppressed) 15:37:59 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4353155028434695168.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4353155028434695168.key) 15:37:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:38:00 + git semver init 15:38:00 # -> Open(): unable to determine branch for HEAD 15:38:00 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 15:38:00 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 15:38:00 # $SEMVER_REMOTE_NAME = origin 15:38:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:38:00 # $SEMVER_USER_NAME = edgex-jenkins 15:38:00 # $SEMVER_BRANCH = main 15:38:00 # $SEMVER_TEMP = /tmp/semver-602423418 15:38:00 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 15:38:01 # '/tmp/semver-602423418' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' 15:38:01 # -> Force: false 15:38:01 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 15:38:01 $ docker exec --env ******** --env ******** aa9b8ad802c7e69aa94aadf28b4df06ed20bc45d32bc073d7eef6c82043bc393 ssh-agent -k 15:38:01 unset SSH_AUTH_SOCK; 15:38:01 unset SSH_AGENT_PID; 15:38:01 echo Agent pid 60 killed; 15:38:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:38:01 + git semver [Pipeline] } 15:38:01 $ docker stop --time=1 aa9b8ad802c7e69aa94aadf28b4df06ed20bc45d32bc073d7eef6c82043bc393 15:38:03 $ docker rm -f aa9b8ad802c7e69aa94aadf28b4df06ed20bc45d32bc073d7eef6c82043bc393 [Pipeline] // withDockerContainer [Pipeline] sh 15:38:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:38:03 Stashed 1 file(s) [Pipeline] echo 15:38:03 [edgeXSemver]: initialized semver on version 2.2.0-dev.6 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:38:04 provisioning config files... 15:38:04 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6606732788506925578tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:38:04 ---> docker-login.sh 15:38:04 nexus3.edgexfoundry.org:10001 15:38:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:04 Configure a credential helper to remove this warning. See 15:38:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:04 15:38:04 Login Succeeded 15:38:04 nexus3.edgexfoundry.org:10002 15:38:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:04 Configure a credential helper to remove this warning. See 15:38:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:04 15:38:04 Login Succeeded 15:38:04 nexus3.edgexfoundry.org:10003 15:38:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:04 Configure a credential helper to remove this warning. See 15:38:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:04 15:38:04 Login Succeeded 15:38:04 nexus3.edgexfoundry.org:10004 15:38:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:04 Configure a credential helper to remove this warning. See 15:38:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:04 15:38:04 Login Succeeded 15:38:04 docker.io 15:38:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:05 Configure a credential helper to remove this warning. See 15:38:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:05 15:38:05 Login Succeeded 15:38:05 ---> docker-login.sh ends [Pipeline] } 15:38:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:38:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:38:05 ========================================================= 15:38:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:38:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:38:05 + 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 . 15:38:05 Sending build context to Docker daemon 10.54MB 15:38:05 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 15:38:05 Step 2/12 : FROM ${BASE} AS builder 15:38:05 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:38:05 59bf1c3509f3: Pulling fs layer 15:38:05 666ba61612fd: Pulling fs layer 15:38:05 8ed8ca486205: Pulling fs layer 15:38:05 4fe6c5a15a65: Pulling fs layer 15:38:05 22a0e8bec74d: Pulling fs layer 15:38:05 640e595b4fbd: Pulling fs layer 15:38:05 763cafe07f6e: Pulling fs layer 15:38:05 0c0b528cf693: Pulling fs layer 15:38:05 10935f4eaf8b: Pulling fs layer 15:38:05 763cafe07f6e: Waiting 15:38:05 0c0b528cf693: Waiting 15:38:05 4fe6c5a15a65: Waiting 15:38:05 640e595b4fbd: Waiting 15:38:05 10935f4eaf8b: Waiting 15:38:05 22a0e8bec74d: Waiting 15:38:05 8ed8ca486205: Verifying Checksum 15:38:05 8ed8ca486205: Download complete 15:38:05 666ba61612fd: Verifying Checksum 15:38:05 666ba61612fd: Download complete 15:38:05 22a0e8bec74d: Verifying Checksum 15:38:05 640e595b4fbd: Verifying Checksum 15:38:05 640e595b4fbd: Download complete 15:38:05 763cafe07f6e: Verifying Checksum 15:38:05 763cafe07f6e: Download complete 15:38:05 59bf1c3509f3: Verifying Checksum 15:38:05 59bf1c3509f3: Download complete 15:38:05 0c0b528cf693: Verifying Checksum 15:38:05 0c0b528cf693: Download complete 15:38:05 59bf1c3509f3: Pull complete 15:38:06 666ba61612fd: Pull complete 15:38:06 8ed8ca486205: Pull complete 15:38:06 10935f4eaf8b: Verifying Checksum 15:38:06 10935f4eaf8b: Download complete 15:38:06 4fe6c5a15a65: Verifying Checksum 15:38:06 4fe6c5a15a65: Download complete 15:38:10 4fe6c5a15a65: Pull complete 15:38:10 22a0e8bec74d: Pull complete 15:38:10 640e595b4fbd: Pull complete 15:38:10 763cafe07f6e: Pull complete 15:38:11 0c0b528cf693: Pull complete 15:38:13 10935f4eaf8b: Pull complete 15:38:13 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 15:38:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:38:13 ---> 99d49a6021b9 15:38:13 Step 3/12 : ARG MAKE='make build' 15:38:14 ---> Running in 26bae547e2f1 15:38:14 Removing intermediate container 26bae547e2f1 15:38:14 ---> 24062dfd97d2 15:38:14 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:38:14 ---> Running in a5f374edd43f 15:38:14 Removing intermediate container a5f374edd43f 15:38:14 ---> 90b9c716b738 15:38:14 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 15:38:14 ---> Running in 67818faf730c 15:38:14 Removing intermediate container 67818faf730c 15:38:14 ---> 08a17f31d7bf 15:38:14 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:38:14 ---> Running in e09b1d53e11a 15:38:15 Removing intermediate container e09b1d53e11a 15:38:15 ---> 213c9571d22e 15:38:15 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:38:15 ---> Running in 18093e4edf67 15:38:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:38:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:38:17 (1/4) Installing openssh-keygen (8.8_p1-r1) 15:38:17 (2/4) Installing libedit (20210910.3.1-r0) 15:38:17 (3/4) Installing openssh-client-common (8.8_p1-r1) 15:38:17 (4/4) Installing openssh-client-default (8.8_p1-r1) 15:38:17 Executing busybox-1.34.1-r3.trigger 15:38:17 OK: 224 MiB in 56 packages 15:38:17 Removing intermediate container 18093e4edf67 15:38:17 ---> f6a30c91881a 15:38:17 Step 8/12 : WORKDIR /device-rest-go 15:38:17 ---> Running in a30a73a03c15 15:38:17 Removing intermediate container a30a73a03c15 15:38:17 ---> 25052ddb98e3 15:38:17 Step 9/12 : COPY go.mod vendor* ./ 15:38:17 ---> 4cd617fe2bcc 15:38:17 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:38:18 ---> Running in 6dcba1602c7a 15:38:19 Still waiting to schedule task 15:38:19 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:38:44 Removing intermediate container 6dcba1602c7a 15:38:44 ---> 384d82ebb1c7 15:38:44 Step 11/12 : COPY . . 15:38:44 ---> 4e7895e6c3b6 15:38:44 Step 12/12 : RUN $MAKE 15:38:44 ---> Running in adf6b9b278c2 15:38:44 noop 15:38:44 Removing intermediate container adf6b9b278c2 15:38:44 ---> 06a376d7445c 15:38:44 Successfully built 06a376d7445c 15:38:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:38:45 + docker inspect -f . ci-base-image-x86_64 15:38:45 . [Pipeline] withDockerContainer 15:38:45 prd-ubuntu20.04-docker-8c-8g-7837 does not seem to be running inside a container 15:38:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:38:45 $ docker top 891d3f33f57ae93e0062af45ae203e2608e0f0357ebb71e2deb503d23f7b1dc8 -eo pid,comm [Pipeline] { [Pipeline] sh 15:38:45 + go version 15:38:45 go version go1.17.6 linux/amd64 [Pipeline] } 15:38:45 $ docker stop --time=1 891d3f33f57ae93e0062af45ae203e2608e0f0357ebb71e2deb503d23f7b1dc8 15:38:47 $ docker rm -f 891d3f33f57ae93e0062af45ae203e2608e0f0357ebb71e2deb503d23f7b1dc8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:38:47 + docker inspect -f . ci-base-image-x86_64 15:38:47 . [Pipeline] withDockerContainer 15:38:47 prd-ubuntu20.04-docker-8c-8g-7837 does not seem to be running inside a container 15:38:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:38:48 $ docker top 1cb8ac2d931fe693d3b9bf483eba6e5bdebda1b03eca9054d9c85d830925ef00 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:38:48 + make test 15:38:48 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:38:48 ? github.com/edgexfoundry/device-rest-go [no test files] 15:38:55 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:38:55 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 56.0% of statements 15:38:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:38:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:38:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:38:59 ./bin/test-attribution-txt.sh [Pipeline] echo 15:38:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:38:59 $ docker stop --time=1 1cb8ac2d931fe693d3b9bf483eba6e5bdebda1b03eca9054d9c85d830925ef00 15:39:00 $ docker rm -f 1cb8ac2d931fe693d3b9bf483eba6e5bdebda1b03eca9054d9c85d830925ef00 [Pipeline] // withDockerContainer [Pipeline] sh 15:39:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:39:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:39:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:39:02 + ls -al . 15:39:02 total 180 15:39:02 drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 15:38 . 15:39:02 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 15:37 .. 15:39:02 -rw-rw-r-- 1 jenkins jenkins 151 Mar 17 15:37 .dockerignore 15:39:02 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 15:37 .git 15:39:02 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 15:37 .github 15:39:02 -rw-rw-r-- 1 jenkins jenkins 329 Mar 17 15:37 .gitignore 15:39:02 drwx------ 3 jenkins jenkins 4096 Mar 17 15:38 .semver 15:39:02 -rw-rw-r-- 1 jenkins jenkins 7192 Mar 17 15:37 Attribution.txt 15:39:02 -rw-rw-r-- 1 jenkins jenkins 7459 Mar 17 15:37 CHANGELOG.md 15:39:02 -rw-rw-r-- 1 jenkins jenkins 1672 Mar 17 15:37 Dockerfile 15:39:02 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 15:37 GOVERNANCE.md 15:39:02 -rw-rw-r-- 1 jenkins jenkins 680 Mar 17 15:37 Jenkinsfile 15:39:02 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 15:37 LICENSE 15:39:02 -rw-rw-r-- 1 jenkins jenkins 1078 Mar 17 15:37 Makefile 15:39:02 -rw-rw-r-- 1 jenkins jenkins 620 Mar 17 15:37 OWNERS.md 15:39:02 -rw-rw-r-- 1 jenkins jenkins 8246 Mar 17 15:37 README.md 15:39:02 -rw-rw-r-- 1 jenkins jenkins 11 Mar 17 15:38 VERSION 15:39:02 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 15:37 bin 15:39:02 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 15:37 cmd 15:39:02 -rw-r--r-- 1 jenkins jenkins 9215 Mar 17 15:38 coverage.out 15:39:02 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 15:37 driver 15:39:02 -rw-rw-r-- 1 jenkins jenkins 2908 Mar 17 15:37 go.mod 15:39:02 -rw-rw-r-- 1 jenkins jenkins 50572 Mar 17 15:37 go.sum 15:39:02 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 15:37 snap 15:39:02 -rw-rw-r-- 1 jenkins jenkins 713 Mar 17 15:37 version.go [Pipeline] isUnix [Pipeline] sh 15:39:02 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 --label arch=amd64 --label version=2.2.0-dev.6 . 15:39:02 Sending build context to Docker daemon 10.55MB 15:39:02 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 15:39:02 Step 2/25 : FROM ${BASE} AS builder 15:39:02 ---> 06a376d7445c 15:39:02 Step 3/25 : ARG MAKE='make build' 15:39:02 ---> Running in 36c2b80245f7 15:39:02 Removing intermediate container 36c2b80245f7 15:39:02 ---> dd9ea6c3e891 15:39:02 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:39:02 ---> Running in cde2e9b3f554 15:39:02 Removing intermediate container cde2e9b3f554 15:39:02 ---> a2cf4d1bea1a 15:39:02 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 15:39:02 ---> Running in 1e34815092a5 15:39:03 Removing intermediate container 1e34815092a5 15:39:03 ---> 4cf8757da9c8 15:39:03 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:39:03 ---> Running in b2a3c150cffb 15:39:03 Removing intermediate container b2a3c150cffb 15:39:03 ---> ef31aa02737d 15:39:03 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:39:03 ---> Running in 83e83cad3c8d 15:39:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:39:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:39:05 OK: 224 MiB in 56 packages 15:39:05 Removing intermediate container 83e83cad3c8d 15:39:05 ---> bef6b898a42e 15:39:05 Step 8/25 : WORKDIR /device-rest-go 15:39:05 ---> Running in f21e4930d7bb 15:39:05 Removing intermediate container f21e4930d7bb 15:39:05 ---> 918d51d75129 15:39:05 Step 9/25 : COPY go.mod vendor* ./ 15:39:05 ---> 87bd568a9da4 15:39:05 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:39:05 ---> Running in 70c3a98f7517 15:39:06 Removing intermediate container 70c3a98f7517 15:39:06 ---> 975137fe7573 15:39:06 Step 11/25 : COPY . . 15:39:06 ---> 188d4f285f68 15:39:06 Step 12/25 : RUN $MAKE 15:39:06 ---> Running in af9f8270f12d 15:39:07 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.6" -o cmd/device-rest ./cmd 15:39:15 Removing intermediate container af9f8270f12d 15:39:15 ---> cf51714c2128 15:39:15 Step 13/25 : FROM alpine:3.14 15:39:15 3.14: Pulling from library/alpine 15:39:15 36ccefbf3d8a: Pulling fs layer 15:39:15 36ccefbf3d8a: Verifying Checksum 15:39:15 36ccefbf3d8a: Download complete 15:39:15 36ccefbf3d8a: Pull complete 15:39:15 Digest: sha256:b0b3ff85b7fd14a700deb840052b9382078c15d77362c700217a8356f0b31f4e 15:39:15 Status: Downloaded newer image for alpine:3.14 15:39:15 ---> a33ac4f1069a 15:39:15 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:39:15 ---> Running in d08ed11aca11 15:39:15 Removing intermediate container d08ed11aca11 15:39:15 ---> 9bce0739edbd 15:39:15 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 15:39:15 ---> Running in 409afa01348b 15:39:15 Removing intermediate container 409afa01348b 15:39:15 ---> 9354ec0bdf8e 15:39:15 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 15:39:15 ---> Running in e40aa43303c3 15:39:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:39:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:39:16 (1/6) Installing dumb-init (1.2.5-r1) 15:39:16 (2/6) Installing libgcc (10.3.1_git20210424-r2) 15:39:16 (3/6) Installing libsodium (1.0.18-r0) 15:39:16 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 15:39:16 (5/6) Installing libzmq (4.3.4-r0) 15:39:16 (6/6) Installing zeromq (4.3.4-r0) 15:39:16 Executing busybox-1.33.1-r6.trigger 15:39:16 OK: 8 MiB in 20 packages 15:39:16 Removing intermediate container e40aa43303c3 15:39:16 ---> 12e03f783b57 15:39:16 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 15:39:17 ---> 1b03f7b3d56d 15:39:17 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 15:39:17 ---> 7aef5e596f79 15:39:17 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 15:39:17 ---> 2434d0aedc4e 15:39:17 Step 20/25 : EXPOSE 59986 15:39:17 ---> Running in 163ba187a8e2 15:39:17 Removing intermediate container 163ba187a8e2 15:39:17 ---> fad8060bd53d 15:39:17 Step 21/25 : ENTRYPOINT ["/device-rest"] 15:39:17 ---> Running in ddf2a8cc6535 15:39:17 Removing intermediate container ddf2a8cc6535 15:39:17 ---> 3b4733ad1ea2 15:39:17 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 15:39:17 ---> Running in d20d8a8da597 15:39:17 Removing intermediate container d20d8a8da597 15:39:17 ---> 4244118f3444 15:39:17 Step 23/25 : LABEL arch=amd64 15:39:17 ---> Running in a63ac4ee969a 15:39:18 Removing intermediate container a63ac4ee969a 15:39:18 ---> 414859895e8d 15:39:18 Step 24/25 : LABEL git_sha=ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 15:39:18 ---> Running in 83f783cb81a1 15:39:18 Removing intermediate container 83f783cb81a1 15:39:18 ---> 8aca17699cdf 15:39:18 Step 25/25 : LABEL version=2.2.0-dev.6 15:39:18 ---> Running in 5a25eae0804f 15:39:18 Removing intermediate container 5a25eae0804f 15:39:18 ---> 6a0bbdac7253 15:39:18 [Warning] One or more build-args [ARCH] were not consumed 15:39:18 Successfully built 6a0bbdac7253 15:39:18 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:39:18 provisioning config files... 15:39:18 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8036158493824009088tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:39:18 ---> docker-login.sh 15:39:18 nexus3.edgexfoundry.org:10001 15:39:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:39:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:39:18 Configure a credential helper to remove this warning. See 15:39:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:39:18 15:39:18 Login Succeeded 15:39:18 nexus3.edgexfoundry.org:10002 15:39:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:39:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:39:18 Configure a credential helper to remove this warning. See 15:39:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:39:18 15:39:18 Login Succeeded 15:39:18 nexus3.edgexfoundry.org:10003 15:39:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:39:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:39:19 Configure a credential helper to remove this warning. See 15:39:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:39:19 15:39:19 Login Succeeded 15:39:19 nexus3.edgexfoundry.org:10004 15:39:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:39:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:39:19 Configure a credential helper to remove this warning. See 15:39:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:39:19 15:39:19 Login Succeeded 15:39:19 docker.io 15:39:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:39:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:39:19 Configure a credential helper to remove this warning. See 15:39:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:39:19 15:39:19 Login Succeeded 15:39:19 ---> docker-login.sh ends [Pipeline] } 15:39:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:39:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:39:19 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 15:39:19 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 15:39:19 latest 15:39:19 2.2.0-dev.6 15:39:19 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 15:39:19 main 15:39:19 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:39:19 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] isUnix [Pipeline] sh 15:39:20 + docker push nexus3.edgexfoundry.org:10004/device-rest:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 15:39:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:39:20 187ad8d75efe: Preparing 15:39:20 7d004be9c6a4: Preparing 15:39:20 ee68570ab832: Preparing 15:39:20 bef231d12594: Preparing 15:39:20 2e38978dfe40: Preparing 15:39:20 187ad8d75efe: Pushed 15:39:20 7d004be9c6a4: Pushed 15:39:20 bef231d12594: Pushed 15:39:20 2e38978dfe40: Pushed 15:39:21 ee68570ab832: Pushed 15:39:21 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2: digest: sha256:13ee569c5b027f7a5e7849d07eefba7179b98f1cc033ee8174e2425133e24ff6 size: 1366 [Pipeline] isUnix [Pipeline] sh 15:39:22 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 15:39:22 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 15:39:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:39:22 187ad8d75efe: Preparing 15:39:22 7d004be9c6a4: Preparing 15:39:22 ee68570ab832: Preparing 15:39:22 bef231d12594: Preparing 15:39:22 2e38978dfe40: Preparing 15:39:22 7d004be9c6a4: Layer already exists 15:39:22 ee68570ab832: Layer already exists 15:39:22 bef231d12594: Layer already exists 15:39:22 187ad8d75efe: Layer already exists 15:39:22 2e38978dfe40: Layer already exists 15:39:22 latest: digest: sha256:13ee569c5b027f7a5e7849d07eefba7179b98f1cc033ee8174e2425133e24ff6 size: 1366 [Pipeline] isUnix [Pipeline] sh 15:39:22 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh 15:39:22 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.6 15:39:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:39:22 187ad8d75efe: Preparing 15:39:22 7d004be9c6a4: Preparing 15:39:22 ee68570ab832: Preparing 15:39:22 bef231d12594: Preparing 15:39:22 2e38978dfe40: Preparing 15:39:22 7d004be9c6a4: Layer already exists 15:39:22 ee68570ab832: Layer already exists 15:39:22 187ad8d75efe: Layer already exists 15:39:22 2e38978dfe40: Layer already exists 15:39:22 bef231d12594: Layer already exists 15:39:22 2.2.0-dev.6: digest: sha256:13ee569c5b027f7a5e7849d07eefba7179b98f1cc033ee8174e2425133e24ff6 size: 1366 [Pipeline] isUnix [Pipeline] sh 15:39:23 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh 15:39:23 + docker push nexus3.edgexfoundry.org:10004/device-rest:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 15:39:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:39:23 187ad8d75efe: Preparing 15:39:23 7d004be9c6a4: Preparing 15:39:23 ee68570ab832: Preparing 15:39:23 bef231d12594: Preparing 15:39:23 2e38978dfe40: Preparing 15:39:23 7d004be9c6a4: Layer already exists 15:39:23 2e38978dfe40: Layer already exists 15:39:23 187ad8d75efe: Layer already exists 15:39:23 bef231d12594: Layer already exists 15:39:23 ee68570ab832: Layer already exists 15:39:23 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6: digest: sha256:13ee569c5b027f7a5e7849d07eefba7179b98f1cc033ee8174e2425133e24ff6 size: 1366 [Pipeline] isUnix [Pipeline] sh 15:39:23 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh 15:39:24 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 15:39:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:39:24 187ad8d75efe: Preparing 15:39:24 7d004be9c6a4: Preparing 15:39:24 ee68570ab832: Preparing 15:39:24 bef231d12594: Preparing 15:39:24 2e38978dfe40: Preparing 15:39:24 ee68570ab832: Layer already exists 15:39:24 187ad8d75efe: Layer already exists 15:39:24 2e38978dfe40: Layer already exists 15:39:24 7d004be9c6a4: Layer already exists 15:39:24 bef231d12594: Layer already exists 15:39:24 main: digest: sha256:13ee569c5b027f7a5e7849d07eefba7179b98f1cc033ee8174e2425133e24ff6 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:39:24 ===================================================== [Pipeline] echo 15:39:24 taggedImages: 15:39:24 - nexus3.edgexfoundry.org:10004/device-rest:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 15:39:24 - nexus3.edgexfoundry.org:10004/device-rest:latest 15:39:24 - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.6 15:39:24 - nexus3.edgexfoundry.org:10004/device-rest:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 15:39:24 - 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 15:39:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:39:24 15:39:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:39:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:39:24 latest: Pulling from edgex-lftools-log-publisher 15:39:24 5eb5b503b376: Pulling fs layer 15:39:24 5c69ac0246d0: Pulling fs layer 15:39:24 ec43610c2a17: Pulling fs layer 15:39:24 3a2ae6a8a46f: Pulling fs layer 15:39:24 33b1e0a273af: Pulling fs layer 15:39:24 5d3b04190fa2: Pulling fs layer 15:39:24 2f39f015ded8: Pulling fs layer 15:39:24 3a2ae6a8a46f: Waiting 15:39:24 33b1e0a273af: Waiting 15:39:24 5d3b04190fa2: Waiting 15:39:24 2f39f015ded8: Waiting 15:39:24 5c69ac0246d0: Verifying Checksum 15:39:24 5c69ac0246d0: Download complete 15:39:24 3a2ae6a8a46f: Verifying Checksum 15:39:24 3a2ae6a8a46f: Download complete 15:39:24 33b1e0a273af: Verifying Checksum 15:39:24 33b1e0a273af: Download complete 15:39:24 5d3b04190fa2: Verifying Checksum 15:39:24 ec43610c2a17: Verifying Checksum 15:39:24 ec43610c2a17: Download complete 15:39:24 5d3b04190fa2: Download complete 15:39:25 5eb5b503b376: Verifying Checksum 15:39:25 5eb5b503b376: Download complete 15:39:25 2f39f015ded8: Download complete 15:39:26 5eb5b503b376: Pull complete 15:39:26 5c69ac0246d0: Pull complete 15:39:27 ec43610c2a17: Pull complete 15:39:27 3a2ae6a8a46f: Pull complete 15:39:27 33b1e0a273af: Pull complete 15:39:27 5d3b04190fa2: Pull complete 15:39:31 2f39f015ded8: Pull complete 15:39:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:39:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:39:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:39:31 prd-ubuntu20.04-docker-8c-8g-7837 does not seem to be running inside a container 15:39:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:39:33 $ docker top e870419060a44f8af0d2b4ec5443cb203553e19baaa5db0ca957cce9652e9162 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:39:33 ---> job-cost.sh 15:39:33 lf-activate-venv: SKIPPING 15:39:33 INFO: No Stack... 15:39:33 INFO: Retrieving Pricing Info for: v3-standard-8 15:39:34 INFO: Archiving Costs [Pipeline] sh 15:39:34 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 15:39:34 + cut -d, -f6 [Pipeline] lock 15:39:34 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-27-stack-cost] 15:39:34 Resource [jenkins-edgexfoundry-device-rest-go-main-27-stack-cost] did not exist. Created. 15:39:34 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:39:35 + echo total: 0.2199999988079071 [Pipeline] stash 15:39:35 Stashed 1 file(s) [Pipeline] } 15:39:35 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-27-stack-cost] [Pipeline] // lock [Pipeline] } 15:39:35 $ docker stop --time=1 e870419060a44f8af0d2b4ec5443cb203553e19baaa5db0ca957cce9652e9162 15:39:36 $ docker rm -f e870419060a44f8af0d2b4ec5443cb203553e19baaa5db0ca957cce9652e9162 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:39:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7838 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 15:39:58 Running in /w/workspace/device-rest-go/27 [Pipeline] { [Pipeline] checkout 15:39:58 The recommended git tool is: git 15:40:06 using credential edgex-jenkins-ssh 15:40:06 Cloning the remote Git repository 15:40:06 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:40:06 > git init /w/workspace/device-rest-go/27 # timeout=10 15:40:06 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:40:06 > git --version # timeout=10 15:40:06 > git --version # 'git version 2.25.1' 15:40:06 using GIT_SSH to set credentials SSH Credentials for GitHub 15:40:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:40:08 Avoid second fetch 15:40:08 Checking out Revision ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 (main) 15:40:08 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:40:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:40:08 > git config core.sparsecheckout # timeout=10 15:40:08 > git checkout -f ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 15:40:13 Commit message: "Merge pull request #160 from hahattan/bump-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:40:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:40:13 % Total % Received % Xferd Average Speed Time Time Time Current 15:40:13 Dload Upload Total Spent Left Speed 15:40:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 48938 0 --:--:-- --:--:-- --:--:-- 48938 [Pipeline] sh 15:40:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:40:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 15:40:14 sudo tee /etc/docker/daemon.new 15:40:14 { 15:40:14 "registry-mirrors": [ 15:40:14 "https://nexus3.edgexfoundry.org:10001" 15:40:14 ], 15:40:14 "bip": "10.250.0.254/24", 15:40:14 "hosts": [ 15:40:14 "tcp://0.0.0.0:5555", 15:40:14 "unix:///var/run/docker.sock" 15:40:14 ], 15:40:14 "mtu": 1458, 15:40:14 "selinux-enabled": true, 15:40:14 "seccomp-profile": "/etc/docker/seccomp.json" 15:40:14 } [Pipeline] sh 15:40:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:40:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:40:34 provisioning config files... 15:40:34 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/27@tmp/config1632340922795852530tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:40:34 ---> docker-login.sh 15:40:34 nexus3.edgexfoundry.org:10001 15:40:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:35 Configure a credential helper to remove this warning. See 15:40:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:35 15:40:35 Login Succeeded 15:40:35 nexus3.edgexfoundry.org:10002 15:40:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:35 Configure a credential helper to remove this warning. See 15:40:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:35 15:40:35 Login Succeeded 15:40:35 nexus3.edgexfoundry.org:10003 15:40:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:36 Configure a credential helper to remove this warning. See 15:40:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:36 15:40:36 Login Succeeded 15:40:36 nexus3.edgexfoundry.org:10004 15:40:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:36 Configure a credential helper to remove this warning. See 15:40:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:36 15:40:36 Login Succeeded 15:40:36 docker.io 15:40:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:37 Configure a credential helper to remove this warning. See 15:40:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:37 15:40:37 Login Succeeded 15:40:37 ---> docker-login.sh ends [Pipeline] } 15:40:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:40:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:40:38 ========================================================= 15:40:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 15:40:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:40:38 + 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 . 15:40:38 Sending build context to Docker daemon 124.9kB 15:40:38 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 15:40:38 Step 2/12 : FROM ${BASE} AS builder 15:40:39 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:40:39 9b3977197b4f: Pulling fs layer 15:40:39 1a89e8eeedd5: Pulling fs layer 15:40:39 94645a83ff95: Pulling fs layer 15:40:39 3f3a8bcf1eab: Pulling fs layer 15:40:39 0c92f367c5e7: Pulling fs layer 15:40:39 f7c0051592d6: Pulling fs layer 15:40:39 a227ed2f7395: Pulling fs layer 15:40:39 7b1c46037f91: Pulling fs layer 15:40:39 3f3a8bcf1eab: Waiting 15:40:39 0c92f367c5e7: Waiting 15:40:39 f7c0051592d6: Waiting 15:40:39 7b1c46037f91: Waiting 15:40:39 a227ed2f7395: Waiting 15:40:39 94645a83ff95: Verifying Checksum 15:40:39 94645a83ff95: Download complete 15:40:39 1a89e8eeedd5: Verifying Checksum 15:40:39 1a89e8eeedd5: Download complete 15:40:39 0c92f367c5e7: Verifying Checksum 15:40:39 0c92f367c5e7: Download complete 15:40:39 f7c0051592d6: Verifying Checksum 15:40:39 f7c0051592d6: Download complete 15:40:39 9b3977197b4f: Download complete 15:40:39 a227ed2f7395: Verifying Checksum 15:40:39 a227ed2f7395: Download complete 15:40:40 9b3977197b4f: Pull complete 15:40:40 1a89e8eeedd5: Pull complete 15:40:40 94645a83ff95: Pull complete 15:40:41 7b1c46037f91: Download complete 15:40:41 3f3a8bcf1eab: Verifying Checksum 15:40:41 3f3a8bcf1eab: Download complete 15:40:54 3f3a8bcf1eab: Pull complete 15:40:54 0c92f367c5e7: Pull complete 15:40:54 f7c0051592d6: Pull complete 15:40:54 a227ed2f7395: Pull complete 15:41:01 7b1c46037f91: Pull complete 15:41:01 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 15:41:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:41:01 ---> f79e39bc4007 15:41:01 Step 3/12 : ARG MAKE='make build' 15:41:01 ---> Running in a4572222d578 15:41:02 Removing intermediate container a4572222d578 15:41:02 ---> 3f71a040b393 15:41:02 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:41:02 ---> Running in eb9a1d4a9142 15:41:02 Removing intermediate container eb9a1d4a9142 15:41:02 ---> 38cdce7cffd4 15:41:02 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 15:41:02 ---> Running in 9cead381b66c 15:41:02 Removing intermediate container 9cead381b66c 15:41:02 ---> ea5ba071d360 15:41:02 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:41:02 ---> Running in 2f0c48fa8b5a 15:41:04 Removing intermediate container 2f0c48fa8b5a 15:41:04 ---> 371150686585 15:41:04 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:41:04 ---> Running in 53fc633a3e4d 15:41:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:41:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:41:07 (1/4) Installing openssh-keygen (8.8_p1-r1) 15:41:07 (2/4) Installing libedit (20210910.3.1-r0) 15:41:07 (3/4) Installing openssh-client-common (8.8_p1-r1) 15:41:07 (4/4) Installing openssh-client-default (8.8_p1-r1) 15:41:07 Executing busybox-1.34.1-r3.trigger 15:41:07 OK: 224 MiB in 56 packages 15:41:08 Removing intermediate container 53fc633a3e4d 15:41:08 ---> 36db28854f0e 15:41:08 Step 8/12 : WORKDIR /device-rest-go 15:41:08 ---> Running in e52c627b8f9c 15:41:09 Removing intermediate container e52c627b8f9c 15:41:09 ---> d6e5216a9398 15:41:09 Step 9/12 : COPY go.mod vendor* ./ 15:41:09 ---> 0b767a39f354 15:41:09 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:41:09 ---> Running in 0ab14f4fb55d 15:42:31 Removing intermediate container 0ab14f4fb55d 15:42:31 ---> 13f3ed7bcf73 15:42:31 Step 11/12 : COPY . . 15:42:31 ---> aa4bfb5a5755 15:42:31 Step 12/12 : RUN $MAKE 15:42:31 ---> Running in ee834b42e63a 15:42:31 noop 15:42:31 Removing intermediate container ee834b42e63a 15:42:31 ---> edb1abbc1466 15:42:31 Successfully built edb1abbc1466 15:42:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:42:31 + docker inspect -f . ci-base-image-arm64 15:42:31 . [Pipeline] withDockerContainer 15:42:32 prd-ubuntu20.04-docker-arm64-4c-16g-7838 does not seem to be running inside a container 15:42:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/27 -v /w/workspace/device-rest-go/27:/w/workspace/device-rest-go/27:rw,z -v /w/workspace/device-rest-go/27@tmp:/w/workspace/device-rest-go/27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:42:33 $ docker top 060267e2a8c649158bbb378c18bcbcdf1adabb1ec7596d390a10f1408500a4aa -eo pid,comm [Pipeline] { [Pipeline] sh 15:42:34 + go version 15:42:34 go version go1.17.6 linux/arm64 [Pipeline] } 15:42:34 $ docker stop --time=1 060267e2a8c649158bbb378c18bcbcdf1adabb1ec7596d390a10f1408500a4aa 15:42:36 $ docker rm -f 060267e2a8c649158bbb378c18bcbcdf1adabb1ec7596d390a10f1408500a4aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:42:36 + docker inspect -f . ci-base-image-arm64 15:42:36 . [Pipeline] withDockerContainer 15:42:36 prd-ubuntu20.04-docker-arm64-4c-16g-7838 does not seem to be running inside a container 15:42:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/27 -v /w/workspace/device-rest-go/27:/w/workspace/device-rest-go/27:rw,z -v /w/workspace/device-rest-go/27@tmp:/w/workspace/device-rest-go/27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:42:38 $ docker top 22f83fbf2d12ffce740e34a6c4872cdd1483e2a12a88d5f966466e05ba9a2274 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:42:39 + make test 15:42:39 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:42:40 ? github.com/edgexfoundry/device-rest-go [no test files] 15:43:27 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:43:29 ok github.com/edgexfoundry/device-rest-go/driver 0.060s coverage: 56.0% of statements 15:43:29 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:43:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:43:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:43:48 ./bin/test-attribution-txt.sh [Pipeline] echo 15:43:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:43:50 $ docker stop --time=1 22f83fbf2d12ffce740e34a6c4872cdd1483e2a12a88d5f966466e05ba9a2274 15:43:51 $ docker rm -f 22f83fbf2d12ffce740e34a6c4872cdd1483e2a12a88d5f966466e05ba9a2274 [Pipeline] // withDockerContainer [Pipeline] sh 15:43:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:43:52 Warning: overwriting stash ‘coverage-report’ 15:43:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:43:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:43:53 + ls -al . 15:43:53 total 176 15:43:53 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 15:43 . 15:43:53 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 15:40 .. 15:43:53 -rw-rw-r-- 1 jenkins jenkins 151 Mar 17 15:40 .dockerignore 15:43:53 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 15:40 .git 15:43:53 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 15:40 .github 15:43:53 -rw-rw-r-- 1 jenkins jenkins 329 Mar 17 15:40 .gitignore 15:43:53 -rw-rw-r-- 1 jenkins jenkins 7192 Mar 17 15:40 Attribution.txt 15:43:53 -rw-rw-r-- 1 jenkins jenkins 7459 Mar 17 15:40 CHANGELOG.md 15:43:53 -rw-rw-r-- 1 jenkins jenkins 1672 Mar 17 15:40 Dockerfile 15:43:53 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 15:40 GOVERNANCE.md 15:43:53 -rw-rw-r-- 1 jenkins jenkins 680 Mar 17 15:40 Jenkinsfile 15:43:53 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 15:40 LICENSE 15:43:53 -rw-rw-r-- 1 jenkins jenkins 1078 Mar 17 15:40 Makefile 15:43:53 -rw-rw-r-- 1 jenkins jenkins 620 Mar 17 15:40 OWNERS.md 15:43:53 -rw-rw-r-- 1 jenkins jenkins 8246 Mar 17 15:40 README.md 15:43:53 -rw-rw-r-- 1 jenkins jenkins 11 Mar 17 15:38 VERSION 15:43:53 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 15:40 bin 15:43:53 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 15:40 cmd 15:43:53 -rw-r--r-- 1 jenkins jenkins 9215 Mar 17 15:43 coverage.out 15:43:53 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 15:40 driver 15:43:53 -rw-rw-r-- 1 jenkins jenkins 2908 Mar 17 15:40 go.mod 15:43:53 -rw-rw-r-- 1 jenkins jenkins 50572 Mar 17 15:40 go.sum 15:43:53 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 15:40 snap 15:43:53 -rw-rw-r-- 1 jenkins jenkins 713 Mar 17 15:40 version.go [Pipeline] isUnix [Pipeline] sh 15:43:54 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 --label arch=arm64 --label version=2.2.0-dev.6 . 15:43:54 Sending build context to Docker daemon 134.7kB 15:43:54 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 15:43:54 Step 2/25 : FROM ${BASE} AS builder 15:43:54 ---> edb1abbc1466 15:43:54 Step 3/25 : ARG MAKE='make build' 15:43:54 ---> Running in b2aad7eebda2 15:43:55 Removing intermediate container b2aad7eebda2 15:43:55 ---> 8d5abf048887 15:43:55 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:43:55 ---> Running in ce05eabcbf65 15:43:55 Removing intermediate container ce05eabcbf65 15:43:55 ---> 5bc330596d87 15:43:55 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 15:43:55 ---> Running in 489754ad2a3a 15:43:56 Removing intermediate container 489754ad2a3a 15:43:56 ---> 79753e78577c 15:43:56 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:43:56 ---> Running in 42aa38834112 15:43:58 Removing intermediate container 42aa38834112 15:43:58 ---> ded9aa3132d6 15:43:58 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:43:58 ---> Running in 11137a081b32 15:43:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:43:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:44:00 OK: 224 MiB in 56 packages 15:44:01 Removing intermediate container 11137a081b32 15:44:01 ---> ee920540e8a9 15:44:01 Step 8/25 : WORKDIR /device-rest-go 15:44:01 ---> Running in ccb6128584b5 15:44:01 Removing intermediate container ccb6128584b5 15:44:01 ---> 73a5b18eba03 15:44:01 Step 9/25 : COPY go.mod vendor* ./ 15:44:02 ---> 4c089f382d59 15:44:02 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:44:02 ---> Running in 1ab3415f671b 15:44:04 Removing intermediate container 1ab3415f671b 15:44:04 ---> 567d2bb12b20 15:44:04 Step 11/25 : COPY . . 15:44:04 ---> 160a79e2acfe 15:44:04 Step 12/25 : RUN $MAKE 15:44:04 ---> Running in c10ec1784d34 15:44:05 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.6" -o cmd/device-rest ./cmd 15:44:52 Removing intermediate container c10ec1784d34 15:44:52 ---> 833cd4471251 15:44:52 Step 13/25 : FROM alpine:3.14 15:44:52 3.14: Pulling from library/alpine 15:44:52 be307f383ecc: Pulling fs layer 15:44:52 be307f383ecc: Download complete 15:44:52 be307f383ecc: Pull complete 15:44:52 Digest: sha256:b0b3ff85b7fd14a700deb840052b9382078c15d77362c700217a8356f0b31f4e 15:44:52 Status: Downloaded newer image for alpine:3.14 15:44:52 ---> 5b8b7b635229 15:44:52 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:44:52 ---> Running in 03685a72d0c7 15:44:52 Removing intermediate container 03685a72d0c7 15:44:52 ---> 0d0194344bc3 15:44:52 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 15:44:52 ---> Running in 99a3ec2e04f3 15:44:52 Removing intermediate container 99a3ec2e04f3 15:44:52 ---> abf33904f34b 15:44:52 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 15:44:52 ---> Running in 45efa67f1f4e 15:44:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 15:44:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 15:44:52 (1/6) Installing dumb-init (1.2.5-r1) 15:44:52 (2/6) Installing libgcc (10.3.1_git20210424-r2) 15:44:52 (3/6) Installing libsodium (1.0.18-r0) 15:44:52 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 15:44:52 (5/6) Installing libzmq (4.3.4-r0) 15:44:52 (6/6) Installing zeromq (4.3.4-r0) 15:44:52 Executing busybox-1.33.1-r6.trigger 15:44:52 OK: 8 MiB in 20 packages 15:44:52 Removing intermediate container 45efa67f1f4e 15:44:52 ---> bd2f53f0ec06 15:44:52 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 15:44:52 ---> 0e132bd56c3a 15:44:52 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 15:44:52 ---> 796d30f01d0b 15:44:52 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 15:44:53 ---> db9a911eae36 15:44:53 Step 20/25 : EXPOSE 59986 15:44:53 ---> Running in c0b80b38ec6a 15:44:53 Removing intermediate container c0b80b38ec6a 15:44:53 ---> 46e918e133ec 15:44:53 Step 21/25 : ENTRYPOINT ["/device-rest"] 15:44:53 ---> Running in b54e344af78f 15:44:54 Removing intermediate container b54e344af78f 15:44:54 ---> fe72ca8e2b0a 15:44:54 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 15:44:54 ---> Running in a85977787701 15:44:54 Removing intermediate container a85977787701 15:44:54 ---> 4f0be394ee10 15:44:54 Step 23/25 : LABEL arch=arm64 15:44:54 ---> Running in a153ab39bf5e 15:44:54 Removing intermediate container a153ab39bf5e 15:44:54 ---> e830370e3515 15:44:54 Step 24/25 : LABEL git_sha=ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 15:44:54 ---> Running in 593f641c1b27 15:44:55 Removing intermediate container 593f641c1b27 15:44:55 ---> 0fe149160828 15:44:55 Step 25/25 : LABEL version=2.2.0-dev.6 15:44:55 ---> Running in 4bafd0b68671 15:44:55 Removing intermediate container 4bafd0b68671 15:44:55 ---> 7f94185d7450 15:44:55 [Warning] One or more build-args [ARCH] were not consumed 15:44:55 Successfully built 7f94185d7450 15:44:55 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 15:44:55 provisioning config files... 15:44:55 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/27@tmp/config6604457585767517321tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:44:56 ---> docker-login.sh 15:44:56 nexus3.edgexfoundry.org:10001 15:44:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:56 Configure a credential helper to remove this warning. See 15:44:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:56 15:44:56 Login Succeeded 15:44:56 nexus3.edgexfoundry.org:10002 15:44:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:57 Configure a credential helper to remove this warning. See 15:44:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:57 15:44:57 Login Succeeded 15:44:57 nexus3.edgexfoundry.org:10003 15:44:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:57 Configure a credential helper to remove this warning. See 15:44:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:57 15:44:57 Login Succeeded 15:44:57 nexus3.edgexfoundry.org:10004 15:44:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:57 Configure a credential helper to remove this warning. See 15:44:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:57 15:44:57 Login Succeeded 15:44:57 docker.io 15:44:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:58 Configure a credential helper to remove this warning. See 15:44:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:58 15:44:58 Login Succeeded 15:44:58 ---> docker-login.sh ends [Pipeline] } 15:44:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:44:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:44:58 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 15:44:58 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 15:44:58 latest 15:44:58 2.2.0-dev.6 15:44:58 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 15:44:58 main 15:44:58 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:44:59 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] isUnix [Pipeline] sh 15:44:59 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 15:44:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 15:44:59 a014a535c2af: Preparing 15:44:59 f6b8cfeac64f: Preparing 15:44:59 bc3fa7ae09f0: Preparing 15:44:59 ab12ce05d088: Preparing 15:44:59 62170e181a92: Preparing 15:44:59 62170e181a92: Layer already exists 15:44:59 a014a535c2af: Pushed 15:44:59 f6b8cfeac64f: Pushed 15:45:00 ab12ce05d088: Pushed 15:45:02 bc3fa7ae09f0: Pushed 15:45:02 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2: digest: sha256:182a8c63a7751329c5fe135602814186eae4347b4a834b79e362752599698c01 size: 1365 [Pipeline] isUnix [Pipeline] sh 15:45:03 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:45:03 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 15:45:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 15:45:03 a014a535c2af: Preparing 15:45:03 f6b8cfeac64f: Preparing 15:45:03 bc3fa7ae09f0: Preparing 15:45:03 ab12ce05d088: Preparing 15:45:03 62170e181a92: Preparing 15:45:03 f6b8cfeac64f: Layer already exists 15:45:03 ab12ce05d088: Layer already exists 15:45:03 a014a535c2af: Layer already exists 15:45:03 62170e181a92: Layer already exists 15:45:03 bc3fa7ae09f0: Layer already exists 15:45:03 latest: digest: sha256:182a8c63a7751329c5fe135602814186eae4347b4a834b79e362752599698c01 size: 1365 [Pipeline] isUnix [Pipeline] sh 15:45:04 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh 15:45:04 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.6 15:45:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 15:45:04 a014a535c2af: Preparing 15:45:04 f6b8cfeac64f: Preparing 15:45:04 bc3fa7ae09f0: Preparing 15:45:04 ab12ce05d088: Preparing 15:45:04 62170e181a92: Preparing 15:45:04 62170e181a92: Layer already exists 15:45:04 a014a535c2af: Layer already exists 15:45:04 ab12ce05d088: Layer already exists 15:45:04 bc3fa7ae09f0: Layer already exists 15:45:04 f6b8cfeac64f: Layer already exists 15:45:04 2.2.0-dev.6: digest: sha256:182a8c63a7751329c5fe135602814186eae4347b4a834b79e362752599698c01 size: 1365 [Pipeline] isUnix [Pipeline] sh 15:45:05 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh 15:45:05 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 15:45:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 15:45:05 a014a535c2af: Preparing 15:45:05 f6b8cfeac64f: Preparing 15:45:05 bc3fa7ae09f0: Preparing 15:45:05 ab12ce05d088: Preparing 15:45:05 62170e181a92: Preparing 15:45:05 bc3fa7ae09f0: Layer already exists 15:45:05 62170e181a92: Layer already exists 15:45:05 ab12ce05d088: Layer already exists 15:45:05 a014a535c2af: Layer already exists 15:45:05 f6b8cfeac64f: Layer already exists 15:45:05 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6: digest: sha256:182a8c63a7751329c5fe135602814186eae4347b4a834b79e362752599698c01 size: 1365 [Pipeline] isUnix [Pipeline] sh 15:45:06 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh 15:45:06 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 15:45:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 15:45:06 a014a535c2af: Preparing 15:45:06 f6b8cfeac64f: Preparing 15:45:06 bc3fa7ae09f0: Preparing 15:45:06 ab12ce05d088: Preparing 15:45:06 62170e181a92: Preparing 15:45:06 62170e181a92: Layer already exists 15:45:06 bc3fa7ae09f0: Layer already exists 15:45:06 a014a535c2af: Layer already exists 15:45:06 f6b8cfeac64f: Layer already exists 15:45:06 ab12ce05d088: Layer already exists 15:45:06 main: digest: sha256:182a8c63a7751329c5fe135602814186eae4347b4a834b79e362752599698c01 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:45:06 ===================================================== [Pipeline] echo 15:45:06 taggedImages: 15:45:06 - nexus3.edgexfoundry.org:10004/device-rest-arm64:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 15:45:06 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 15:45:06 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.6 15:45:06 - nexus3.edgexfoundry.org:10004/device-rest-arm64:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 15:45:06 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:45:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:45:07 15:45:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:45:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:45:07 arm64: Pulling from edgex-lftools-log-publisher 15:45:07 8998bd30e6a1: Pulling fs layer 15:45:07 04944245beec: Pulling fs layer 15:45:07 699f458cf7ca: Pulling fs layer 15:45:07 765212b225bb: Pulling fs layer 15:45:07 f23df028b6ca: Pulling fs layer 15:45:07 d65c8cfc05b1: Pulling fs layer 15:45:07 2437ff75d9bd: Pulling fs layer 15:45:07 765212b225bb: Waiting 15:45:07 f23df028b6ca: Waiting 15:45:07 d65c8cfc05b1: Waiting 15:45:07 2437ff75d9bd: Waiting 15:45:07 04944245beec: Verifying Checksum 15:45:07 04944245beec: Download complete 15:45:07 765212b225bb: Verifying Checksum 15:45:07 765212b225bb: Download complete 15:45:07 f23df028b6ca: Verifying Checksum 15:45:07 f23df028b6ca: Download complete 15:45:07 d65c8cfc05b1: Verifying Checksum 15:45:07 d65c8cfc05b1: Download complete 15:45:08 699f458cf7ca: Verifying Checksum 15:45:08 699f458cf7ca: Download complete 15:45:08 8998bd30e6a1: Download complete 15:45:11 2437ff75d9bd: Verifying Checksum 15:45:11 2437ff75d9bd: Download complete 15:45:13 8998bd30e6a1: Pull complete 15:45:13 04944245beec: Pull complete 15:45:14 699f458cf7ca: Pull complete 15:45:15 765212b225bb: Pull complete 15:45:16 f23df028b6ca: Pull complete 15:45:16 d65c8cfc05b1: Pull complete 15:45:31 2437ff75d9bd: Pull complete 15:45:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:45:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:45:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:45:31 prd-ubuntu20.04-docker-arm64-4c-16g-7838 does not seem to be running inside a container 15:45:31 $ 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/27 -v /w/workspace/device-rest-go/27:/w/workspace/device-rest-go/27:rw,z -v /w/workspace/device-rest-go/27@tmp:/w/workspace/device-rest-go/27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:45:34 $ docker top 4aaa659c26f34cdf785bf746741258ed1e6421ee097707436348938ea930ba7c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:45:35 ---> job-cost.sh 15:45:35 lf-activate-venv: SKIPPING 15:45:35 INFO: No Stack... 15:45:35 INFO: Retrieving Pricing Info for: v3-standard-4 15:45:36 INFO: Archiving Costs [Pipeline] sh 15:45:37 + cat /w/workspace/device-rest-go/27/archives/cost.csv 15:45:37 + cut -d, -f6 [Pipeline] lock 15:45:37 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-27-stack-cost] 15:45:37 Resource [jenkins-edgexfoundry-device-rest-go-main-27-stack-cost] did not exist. Created. 15:45:37 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:45:37 /w/workspace/device-rest-go/27@tmp/durable-2ee4a582/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:45:38 + echo total: 0.10999999940395355 [Pipeline] stash 15:45:38 Warning: overwriting stash ‘stack-cost’ 15:45:38 Stashed 1 file(s) [Pipeline] } 15:45:38 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-27-stack-cost] [Pipeline] // lock [Pipeline] } 15:45:38 $ docker stop --time=1 4aaa659c26f34cdf785bf746741258ed1e6421ee097707436348938ea930ba7c 15:45:40 $ docker rm -f 4aaa659c26f34cdf785bf746741258ed1e6421ee097707436348938ea930ba7c [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 15:45:40 provisioning config files... 15:45:40 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4407545993508546461tmp [Pipeline] { [Pipeline] sh 15:45:41 + set +x 15:45:41 + + bash -s -- 15:45:41 curl -s https://codecov.io/bash 15:45:41 15:45:41 _____ _ 15:45:41 / ____| | | 15:45:41 | | ___ __| | ___ ___ _____ __ 15:45:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:45:41 | |___| (_) | (_| | __/ (_| (_) \ V / 15:45:41 \_____\___/ \__,_|\___|\___\___/ \_/ 15:45:41 Bash-1.0.6 15:45:41 15:45:41 15:45:41 ==> git version 2.25.1 found 15:45: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 15:45:41 Release-Date: 2020-01-08 15:45: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 15:45:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:45:41 ==> Jenkins CI detected. 15:45:41 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 15:45:41 project root: . 15:45:41 --> token set from env 15:45:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:45:41 ==> Running gcov in . (disable via -X gcov) 15:45:41 ==> Python coveragepy not found 15:45:41 ==> Searching for coverage reports in: 15:45:41 + . 15:45:41 -> Found 1 reports 15:45:41 ==> Detecting git/mercurial file structure 15:45:41 ==> Reading reports 15:45:41 + ./coverage.out bytes=9215 15:45:41 ==> Appending adjustments 15:45:41 https://docs.codecov.io/docs/fixing-reports 15:45:41 + Found adjustments 15:45:41 ==> Gzipping contents 15:45:41 4.0K /tmp/codecov.AsmItn.gz 15:45:41 ==> Uploading reports 15:45:41 url: https://codecov.io 15:45:41 query: branch=main&commit=ec779fd03c03a2eb2a0571cd3b2e316fba414fa2&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:45:41 -> Pinging Codecov 15:45: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=ec779fd03c03a2eb2a0571cd3b2e316fba414fa2&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:45:41 -> Uploading to 15:45:41 https://storage.googleapis.com/codecov/v4/raw/2022-03-17/4E5D53B4F1F92C436F7061BF334D961C/ec779fd03c03a2eb2a0571cd3b2e316fba414fa2/9d6f3ef2-b479-488a-8487-fa578043b7dd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220317T154541Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0e001916b137b83ce883b9d7b06322f3cdf5094063ed1da9e7bea80574eb27b1 15:45:41 % Total % Received % Xferd Average Speed Time Time Time Current 15:45:41 Dload Upload Total Spent Left Speed 15:45:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1798 0 0 100 1798 0 5689 --:--:-- --:--:-- --:--:-- 5689 15:45:41 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] } 15:45:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:45:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:45:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:45:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:45:42 15:45:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 15:45:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:45:42 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:45:42 188c0c94c7c5: Pulling fs layer 15:45:42 0ef7d3d256c8: Pulling fs layer 15:45:42 de9db76c5a1d: Pulling fs layer 15:45:42 0eba1c9be4d2: Pulling fs layer 15:45:42 0d57e429df01: Pulling fs layer 15:45:42 4e4be7b47b0d: Pulling fs layer 15:45:42 e1f770b5df2f: Pulling fs layer 15:45:42 85a0685a4137: Pulling fs layer 15:45:42 0d57e429df01: Waiting 15:45:42 85a0685a4137: Waiting 15:45:42 4e4be7b47b0d: Waiting 15:45:42 e1f770b5df2f: Waiting 15:45:42 0eba1c9be4d2: Waiting 15:45:42 de9db76c5a1d: Verifying Checksum 15:45:42 de9db76c5a1d: Download complete 15:45:42 0ef7d3d256c8: Verifying Checksum 15:45:42 0ef7d3d256c8: Download complete 15:45:42 0d57e429df01: Verifying Checksum 15:45:42 0d57e429df01: Download complete 15:45:42 4e4be7b47b0d: Verifying Checksum 15:45:42 4e4be7b47b0d: Download complete 15:45:42 188c0c94c7c5: Verifying Checksum 15:45:43 188c0c94c7c5: Pull complete 15:45:43 e1f770b5df2f: Verifying Checksum 15:45:43 e1f770b5df2f: Download complete 15:45:43 0ef7d3d256c8: Pull complete 15:45:43 de9db76c5a1d: Pull complete 15:45:43 0eba1c9be4d2: Verifying Checksum 15:45:43 0eba1c9be4d2: Download complete 15:45:43 85a0685a4137: Verifying Checksum 15:45:43 85a0685a4137: Download complete 15:45:46 0eba1c9be4d2: Pull complete 15:45:46 0d57e429df01: Pull complete 15:45:46 4e4be7b47b0d: Pull complete 15:45:47 e1f770b5df2f: Pull complete 15:45:51 85a0685a4137: Pull complete 15:45:51 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 15:45:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:45:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 15:45:51 prd-ubuntu20.04-docker-8c-8g-7837 does not seem to be running inside a container 15:45:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:45:52 $ docker top 37618cfd409c20ab483a606affac40dc3dfaddff9411bdb7c7fb4b9d732e9dad -eo pid,comm [Pipeline] { [Pipeline] echo 15:45:53 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 15:45:53 + set -o pipefail 15:45:53 + snyk monitor '--org=edgex-jenkins' 15:45:57 15:45:57 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 15:45:57 15:45:57 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/4558b1e4-94e8-4f3b-80fd-7eeb0211bcf9 15:45:57 15:45:57 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 15:45:57 15:45:57 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:45:57 15:45:58 [Pipeline] } 15:45:58 $ docker stop --time=1 37618cfd409c20ab483a606affac40dc3dfaddff9411bdb7c7fb4b9d732e9dad 15:45:59 $ docker rm -f 37618cfd409c20ab483a606affac40dc3dfaddff9411bdb7c7fb4b9d732e9dad [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 15:46:00 + git log --format=format:%s -1 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] sh 15:46:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:46:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:46:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:46:01 . [Pipeline] withDockerContainer 15:46:01 prd-ubuntu20.04-docker-8c-8g-7837 does not seem to be running inside a container 15:46:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:46:01 $ docker top c90b96a2b849930a1ad22be59e5a1bb1a733f0f3e2e77e4b8fcf9385979e39b8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:46:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:46:01 [ssh-agent] Looking for ssh-agent implementation... 15:46:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:46:01 $ docker exec c90b96a2b849930a1ad22be59e5a1bb1a733f0f3e2e77e4b8fcf9385979e39b8 ssh-agent 15:46:01 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXClmFFi/agent.13 15:46:01 SSH_AGENT_PID=20 15:46:01 Running ssh-add (command line suppressed) 15:46:02 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8293229164158467670.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8293229164158467670.key) 15:46:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:46:02 + git semver tag 15:46:02 # -> Open(): unable to determine branch for HEAD 15:46:02 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 15:46:02 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 15:46:02 # $SEMVER_REMOTE_NAME = origin 15:46:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:46:02 # $SEMVER_USER_NAME = edgex-jenkins 15:46:02 # $SEMVER_BRANCH = main 15:46:02 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 15:46:02 # ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 HEAD 15:46:02 # -> Force: false 15:46:02 # d61feb5a9f35adc12d11056809b1ef352631f13b refs/tags/v2.2.0-dev.6 [Pipeline] } 15:46:02 $ docker exec --env ******** --env ******** c90b96a2b849930a1ad22be59e5a1bb1a733f0f3e2e77e4b8fcf9385979e39b8 ssh-agent -k 15:46:02 unset SSH_AUTH_SOCK; 15:46:02 unset SSH_AGENT_PID; 15:46:02 echo Agent pid 20 killed; 15:46:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:46:02 + git semver [Pipeline] } 15:46:02 $ docker stop --time=1 c90b96a2b849930a1ad22be59e5a1bb1a733f0f3e2e77e4b8fcf9385979e39b8 15:46:04 $ docker rm -f c90b96a2b849930a1ad22be59e5a1bb1a733f0f3e2e77e4b8fcf9385979e39b8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 15:46:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:46:04 15:46:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 15:46:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:46:04 0.23.1-centos7: Pulling from edgex-lftools 15:46:04 ab5ef0e58194: Pulling fs layer 15:46:04 9712f1f96733: Pulling fs layer 15:46:04 63f879dbbcfc: Pulling fs layer 15:46:04 0d9ebad4ef96: Pulling fs layer 15:46:04 e9a5061849ea: Pulling fs layer 15:46:04 d747dcd14b5f: Pulling fs layer 15:46:04 2de7ff778b66: Pulling fs layer 15:46:04 e9a5061849ea: Waiting 15:46:04 0d9ebad4ef96: Waiting 15:46:04 d747dcd14b5f: Waiting 15:46:04 2de7ff778b66: Waiting 15:46:04 9712f1f96733: Verifying Checksum 15:46:04 9712f1f96733: Download complete 15:46:05 63f879dbbcfc: Verifying Checksum 15:46:05 63f879dbbcfc: Download complete 15:46:05 e9a5061849ea: Verifying Checksum 15:46:05 e9a5061849ea: Download complete 15:46:05 d747dcd14b5f: Verifying Checksum 15:46:05 d747dcd14b5f: Download complete 15:46:05 0d9ebad4ef96: Verifying Checksum 15:46:05 ab5ef0e58194: Verifying Checksum 15:46:05 ab5ef0e58194: Download complete 15:46:05 2de7ff778b66: Verifying Checksum 15:46:05 2de7ff778b66: Download complete 15:46:07 ab5ef0e58194: Pull complete 15:46:07 9712f1f96733: Pull complete 15:46:08 63f879dbbcfc: Pull complete 15:46:13 0d9ebad4ef96: Pull complete 15:46:13 e9a5061849ea: Pull complete 15:46:13 d747dcd14b5f: Pull complete 15:46:14 2de7ff778b66: Pull complete 15:46:14 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:46:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:46:14 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 15:46:14 prd-ubuntu20.04-docker-8c-8g-7837 does not seem to be running inside a container 15:46:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:46:16 $ docker top 395db6b7832e6ebc01de507e6e5643b5070d5041a04f3de1f6208777e7980572 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:46:16 provisioning config files... 15:46:16 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2816118960954608049tmp 15:46:16 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2662114814478774099tmp 15:46:16 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2163114462133542823tmp [Pipeline] { [Pipeline] echo 15:46:16 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:46:17 ---> sigul-configuration.sh 15:46:17 gpg: directory `/root/.gnupg' created 15:46:17 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:46:17 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:46:17 gpg: keyring `/root/.gnupg/secring.gpg' created 15:46:17 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:46:17 gpg: CAST5 encrypted data 15:46:17 gpg: encrypted with 1 passphrase 15:46:17 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:46:17 + mkdir /home/jenkins 15:46:17 + mkdir /home/jenkins/sigul [Pipeline] sh 15:46:17 + 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 15:46:17 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:46:18 ---> sigul-install.sh 15:46:18 Sigul already installed; skipping installation. [Pipeline] sh 15:46:18 + git tag --list 15:46:18 v1.0.0 15:46:18 v1.1.0 15:46:18 v1.1.1 15:46:18 v1.1.2 15:46:18 v1.2.0 15:46:18 v1.2.1 15:46:18 v2.0.0 15:46:18 v2.0.1-dev.1 15:46:18 v2.0.1-dev.10 15:46:18 v2.0.1-dev.11 15:46:18 v2.0.1-dev.12 15:46:18 v2.0.1-dev.13 15:46:18 v2.0.1-dev.14 15:46:18 v2.0.1-dev.2 15:46:18 v2.0.1-dev.3 15:46:18 v2.0.1-dev.4 15:46:18 v2.0.1-dev.5 15:46:18 v2.0.1-dev.6 15:46:18 v2.0.1-dev.7 15:46:18 v2.0.1-dev.8 15:46:18 v2.0.1-dev.9 15:46:18 v2.1.0 15:46:18 v2.2.0-dev.1 15:46:18 v2.2.0-dev.2 15:46:18 v2.2.0-dev.3 15:46:18 v2.2.0-dev.4 15:46:18 v2.2.0-dev.5 15:46:18 v2.2.0-dev.6 [Pipeline] sh 15:46:18 + lftools sign git-tag v2.2.0-dev.6 15:46:19 Signing Git tag with Sigul... 15:46:19 Signing v2.2.0-dev.6 [Pipeline] echo 15:46:19 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:46:19 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:46:19 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:46:19 $ docker stop --time=1 395db6b7832e6ebc01de507e6e5643b5070d5041a04f3de1f6208777e7980572 15:46:21 $ docker rm -f 395db6b7832e6ebc01de507e6e5643b5070d5041a04f3de1f6208777e7980572 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:46:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:46:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:46:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:46:21 . [Pipeline] withDockerContainer 15:46:21 prd-ubuntu20.04-docker-8c-8g-7837 does not seem to be running inside a container 15:46:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:46:22 $ docker top 1e978e74bf8b15828540e913036df7e9703338c63d41d7cb635bdca121f401ce -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:46:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:46:22 [ssh-agent] Looking for ssh-agent implementation... 15:46:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:46:22 $ docker exec 1e978e74bf8b15828540e913036df7e9703338c63d41d7cb635bdca121f401ce ssh-agent 15:46:22 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdjmoLM/agent.14 15:46:22 SSH_AGENT_PID=21 15:46:22 Running ssh-add (command line suppressed) 15:46:22 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4230133491632976850.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4230133491632976850.key) 15:46:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:46:23 + git semver bump pre 15:46:23 # -> Open(): unable to determine branch for HEAD 15:46:23 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 15:46:23 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 15:46:23 # $SEMVER_REMOTE_NAME = origin 15:46:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:46:23 # $SEMVER_USER_NAME = edgex-jenkins 15:46:23 # $SEMVER_BRANCH = main 15:46:23 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 15:46:23 2.2.0-dev.7 [Pipeline] } 15:46:23 $ docker exec --env ******** --env ******** 1e978e74bf8b15828540e913036df7e9703338c63d41d7cb635bdca121f401ce ssh-agent -k 15:46:23 unset SSH_AUTH_SOCK; 15:46:23 unset SSH_AGENT_PID; 15:46:23 echo Agent pid 21 killed; 15:46:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:46:23 + git semver [Pipeline] } 15:46:23 $ docker stop --time=1 1e978e74bf8b15828540e913036df7e9703338c63d41d7cb635bdca121f401ce 15:46:24 $ docker rm -f 1e978e74bf8b15828540e913036df7e9703338c63d41d7cb635bdca121f401ce [Pipeline] // withDockerContainer [Pipeline] sh 15:46:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:46:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:46:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:46:25 . [Pipeline] withDockerContainer 15:46:25 prd-ubuntu20.04-docker-8c-8g-7837 does not seem to be running inside a container 15:46:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:46:25 $ docker top 114bd4060457266c066a429ccf347b5c73e3c1d026a3036bbf64eeec8d3be3d0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:46:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:46:26 [ssh-agent] Looking for ssh-agent implementation... 15:46:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:46:26 $ docker exec 114bd4060457266c066a429ccf347b5c73e3c1d026a3036bbf64eeec8d3be3d0 ssh-agent 15:46:26 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmEjlLH/agent.13 15:46:26 SSH_AGENT_PID=19 15:46:26 Running ssh-add (command line suppressed) 15:46:26 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2955811894165712981.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2955811894165712981.key) 15:46:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:46:26 + git semver push 15:46:26 # -> Open(): unable to determine branch for HEAD 15:46:26 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 15:46:26 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 15:46:26 # $SEMVER_REMOTE_NAME = origin 15:46:26 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:46:26 # $SEMVER_USER_NAME = edgex-jenkins 15:46:26 # $SEMVER_BRANCH = main 15:46:26 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 15:46:28 $ docker exec --env ******** --env ******** 114bd4060457266c066a429ccf347b5c73e3c1d026a3036bbf64eeec8d3be3d0 ssh-agent -k 15:46:28 unset SSH_AUTH_SOCK; 15:46:28 unset SSH_AGENT_PID; 15:46:28 echo Agent pid 19 killed; 15:46:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:46:29 + git semver [Pipeline] } 15:46:29 $ docker stop --time=1 114bd4060457266c066a429ccf347b5c73e3c1d026a3036bbf64eeec8d3be3d0 15:46:30 $ docker rm -f 114bd4060457266c066a429ccf347b5c73e3c1d026a3036bbf64eeec8d3be3d0 [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 15:46:31 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 15:46:31 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 15:46:31 total 16 15:46:31 drwxr-xr-x 3 root root 4096 Mar 17 15:39 . 15:46:31 drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 15:46 .. 15:46:31 drwxr-xr-x 2 root root 4096 Mar 17 15:39 cost 15:46:31 -rw-r--r-- 1 root root 84 Mar 17 15:39 cost.csv 15:46:31 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 15:46:31 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 15:46:31 total 16 15:46:31 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 15:39 . 15:46:31 drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 15:46 .. 15:46:31 drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 15:39 cost 15:46:31 -rw-r--r-- 1 jenkins jenkins 84 Mar 17 15:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:46:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:46:32 ---> package-listing.sh 15:46:32 ++ facter osfamily 15:46:32 ++ tr '[:upper:]' '[:lower:]' 15:46:32 + OS_FAMILY=debian 15:46:32 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 15:46:32 + START_PACKAGES=/tmp/packages_start.txt 15:46:32 + END_PACKAGES=/tmp/packages_end.txt 15:46:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:46:32 + PACKAGES=/tmp/packages_start.txt 15:46:32 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 15:46:32 + PACKAGES=/tmp/packages_end.txt 15:46:32 + case "${OS_FAMILY}" in 15:46:32 + dpkg -l 15:46:32 + grep '^ii' 15:46:32 + '[' -f /tmp/packages_start.txt ']' 15:46:32 + '[' -f /tmp/packages_end.txt ']' 15:46:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:46:32 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 15:46:32 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 15:46:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 15:46:32 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:46:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:46:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:46:33 . [Pipeline] withDockerContainer 15:46:33 prd-ubuntu20.04-docker-8c-8g-7837 does not seem to be running inside a container 15:46:33 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:46:33 $ docker top 29491e08159f8c76033a5722597c3fb77df6f40006cd0724434000fe14330db1 -eo pid,comm [Pipeline] { [Pipeline] sh 15:46:34 + touch /tmp/pre-build-complete [Pipeline] sh 15:46:34 + mkdir -p /var/log/sysstat [Pipeline] sh 15:46:34 + ls /var/log/sa-host 15:46:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:46:34 provisioning config files... 15:46:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2115720177123448995tmp [Pipeline] { [Pipeline] echo 15:46:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:46:35 ---> create-netrc.sh [Pipeline] } 15:46:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:46:35 ---> python-tools-install.sh [Pipeline] echo 15:46:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:46:35 ---> sudo-logs.sh 15:46:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:46:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:46:36 ---> job-cost.sh 15:46:36 lf-activate-venv: SKIPPING 15:46:36 DEBUG: total: 0.2199999988079071 15:46:36 INFO: Retrieving Stack Cost... 15:46:36 INFO: Retrieving Pricing Info for: v3-standard-8 15:46:37 INFO: Archiving Costs [Pipeline] echo 15:46:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:46:37 ---> logs-deploy.sh 15:46:37 lf-activate-venv: SKIPPING 15:46:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/27 15:46:37 INFO: archiving workspace using pattern(s): 15:46:38 Archives upload complete. 15:46:38 INFO: archiving logs to Nexus