Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 736f30166781926f3db44e01dabdb26e1e8c7632 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-ssh7949035865779285431.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh12529387546201443329.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh13794264738962613494.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh3184943629012426251.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-ssh15454471734770386218.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1701’ Running on prd-centos7-docker-4c-2g-1707 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.24.4' 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 /w/workspace/edgexfoundry_device-rest-go_main@tmp/jenkins-gitclient-ssh2501919672676141648.key > 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 736f30166781926f3db44e01dabdb26e1e8c7632 (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 736f30166781926f3db44e01dabdb26e1e8c7632 # timeout=10 Commit message: "Merge pull request #151 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.8" > git rev-list --no-walk 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:10:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:10:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:10:24 ========================================================= 01:10:24 EdgeX Global Pipelines Version Info 01:10:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:10:25 ------------------- 01:10:25 stable info: 01:10:25 ------------------- 01:10:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:10:25 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 01:10:25 Message: update stable to v1.0.219 01:10:25 ------------------- 01:10:25 experimental info: 01:10:25 ------------------- 01:10:25 Commited By: **** collab-it+edgex@linuxfoundation.org 01:10:25 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 01:10:25 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:10:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 01:10:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 01:10:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:10:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:10:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:10:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 01:10:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:10:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:10:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:10:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:10:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:10:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 01:10:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:10:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:10:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:10:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:10:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:10:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:10:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:10:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:10:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:10:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:10:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:10:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:10:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:10:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:10:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:10:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:10:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:10:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 736f30166781926f3db44e01dabdb26e1e8c7632 [Pipeline] echo 01:10:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 736f301 [Pipeline] echo 01:10:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:10:26 provisioning config files... 01:10:26 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6746629795083601362tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:10:26 ---> docker-login.sh 01:10:26 nexus3.edgexfoundry.org:10001 01:10:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:10:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:10:27 Configure a credential helper to remove this warning. See 01:10:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:10:27 01:10:27 Login Succeeded 01:10:27 nexus3.edgexfoundry.org:10002 01:10:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:10:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:10:27 Configure a credential helper to remove this warning. See 01:10:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:10:27 01:10:27 Login Succeeded 01:10:27 nexus3.edgexfoundry.org:10003 01:10:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:10:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:10:27 Configure a credential helper to remove this warning. See 01:10:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:10:27 01:10:27 Login Succeeded 01:10:27 nexus3.edgexfoundry.org:10004 01:10:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:10:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:10:27 Configure a credential helper to remove this warning. See 01:10:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:10:27 01:10:27 Login Succeeded 01:10:27 docker.io 01:10:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:10:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:10:27 Configure a credential helper to remove this warning. See 01:10:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:10:27 01:10:27 Login Succeeded 01:10:27 ---> docker-login.sh ends [Pipeline] } 01:10:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:10:28 + git rev-list -1 --merges 736f30166781926f3db44e01dabdb26e1e8c7632~1..736f30166781926f3db44e01dabdb26e1e8c7632 [Pipeline] echo 01:10:28 -----------> git rev-list -1 --merges 736f30166781926f3db44e01dabdb26e1e8c7632~1..736f30166781926f3db44e01dabdb26e1e8c7632 736f30166781926f3db44e01dabdb26e1e8c7632 01:10:28 736f30166781926f3db44e01dabdb26e1e8c7632 [false] [Pipeline] sh 01:10:28 + git log --format=format:%s -1 736f30166781926f3db44e01dabdb26e1e8c7632 [Pipeline] echo 01:10:28 ========================================================= 01:10:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:10:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:10:28 + git log --format=format:%s -1 736f30166781926f3db44e01dabdb26e1e8c7632 [Pipeline] echo 01:10:29 [semverPrep] GIT_COMMIT: 736f30166781926f3db44e01dabdb26e1e8c7632, Commit Message: Merge pull request #151 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.8 [Pipeline] echo 01:10:29 [semverPrep] This is not a build commit. [Pipeline] sh 01:10:29 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 01:10:29 + grep -v github /etc/ssh/ssh_known_hosts 01:10:29 + '[' -e /tmp/ssh_known_hosts ']' 01:10:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:10:29 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 01:10:29 + sudo tee -a /etc/ssh/ssh_known_hosts 01:10:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:10:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:10:29 01:10:29 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:10:30 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:10:30 latest: Pulling from edgex-devops/git-semver 01:10:30 a0d0a0d46f8b: Pulling fs layer 01:10:30 3e5f54012d9b: Pulling fs layer 01:10:30 4c7163046ea9: Pulling fs layer 01:10:30 0c2d73faf560: Pulling fs layer 01:10:30 0c2d73faf560: Waiting 01:10:30 3e5f54012d9b: Verifying Checksum 01:10:30 3e5f54012d9b: Download complete 01:10:30 a0d0a0d46f8b: Verifying Checksum 01:10:30 a0d0a0d46f8b: Download complete 01:10:30 0c2d73faf560: Verifying Checksum 01:10:30 0c2d73faf560: Download complete 01:10:30 4c7163046ea9: Verifying Checksum 01:10:30 4c7163046ea9: Download complete 01:10:30 a0d0a0d46f8b: Pull complete 01:10:30 3e5f54012d9b: Pull complete 01:10:30 4c7163046ea9: Pull complete 01:10:30 0c2d73faf560: Pull complete 01:10:30 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 01:10:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:10:30 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:10:31 prd-centos7-docker-4c-2g-1707 does not seem to be running inside a container 01:10:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:10:31 $ docker top 396f7152269214f80299a7e9c044a0b82c8edbd1e4648475911f862dc3aaaf8b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:10:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:10:31 [ssh-agent] Looking for ssh-agent implementation... 01:10:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:10:31 $ docker exec 396f7152269214f80299a7e9c044a0b82c8edbd1e4648475911f862dc3aaaf8b ssh-agent 01:10:32 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnefdCc/agent.13 01:10:32 SSH_AGENT_PID=20 01:10:32 Running ssh-add (command line suppressed) 01:10:32 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_825103194110110455.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_825103194110110455.key) 01:10:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:10:32 + git tag --points-at HEAD [Pipeline] } 01:10:32 $ docker exec --env ******** --env ******** 396f7152269214f80299a7e9c044a0b82c8edbd1e4648475911f862dc3aaaf8b ssh-agent -k 01:10:32 unset SSH_AUTH_SOCK; 01:10:32 unset SSH_AGENT_PID; 01:10:32 echo Agent pid 20 killed; 01:10:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:10:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:10:32 [ssh-agent] Looking for ssh-agent implementation... 01:10:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:10:32 $ docker exec 396f7152269214f80299a7e9c044a0b82c8edbd1e4648475911f862dc3aaaf8b ssh-agent 01:10:32 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHbHfpJ/agent.54 01:10:32 SSH_AGENT_PID=60 01:10:32 Running ssh-add (command line suppressed) 01:10:32 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7507364589607559558.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7507364589607559558.key) 01:10:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:10:33 + git semver init 01:10:33 # -> Open(): unable to determine branch for HEAD 01:10:33 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 01:10:33 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 01:10:33 # $SEMVER_REMOTE_NAME = origin 01:10:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:10:33 # $SEMVER_USER_NAME = edgex-jenkins 01:10:33 # $SEMVER_BRANCH = main 01:10:33 # $SEMVER_TEMP = /tmp/semver-254486131 01:10:33 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 01:10:34 # '/tmp/semver-254486131' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' 01:10:34 # -> Force: false 01:10:34 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 01:10:34 $ docker exec --env ******** --env ******** 396f7152269214f80299a7e9c044a0b82c8edbd1e4648475911f862dc3aaaf8b ssh-agent -k 01:10:34 unset SSH_AUTH_SOCK; 01:10:34 unset SSH_AGENT_PID; 01:10:34 echo Agent pid 60 killed; 01:10:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:10:35 + git semver [Pipeline] } 01:10:35 $ docker stop --time=1 396f7152269214f80299a7e9c044a0b82c8edbd1e4648475911f862dc3aaaf8b 01:10:36 $ docker rm -f 396f7152269214f80299a7e9c044a0b82c8edbd1e4648475911f862dc3aaaf8b [Pipeline] // withDockerContainer [Pipeline] sh 01:10:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:10:36 Stashed 1 file(s) [Pipeline] echo 01:10:36 [edgeXSemver]: initialized semver on version 2.2.0-dev.3 [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 01:10:37 provisioning config files... 01:10:37 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config370406688043787381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:10:37 ---> docker-login.sh 01:10:37 nexus3.edgexfoundry.org:10001 01:10:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:10:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:10:37 Configure a credential helper to remove this warning. See 01:10:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:10:37 01:10:37 Login Succeeded 01:10:37 nexus3.edgexfoundry.org:10002 01:10:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:10:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:10:37 Configure a credential helper to remove this warning. See 01:10:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:10:37 01:10:37 Login Succeeded 01:10:37 nexus3.edgexfoundry.org:10003 01:10:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:10:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:10:37 Configure a credential helper to remove this warning. See 01:10:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:10:37 01:10:37 Login Succeeded 01:10:37 nexus3.edgexfoundry.org:10004 01:10:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:10:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:10:37 Configure a credential helper to remove this warning. See 01:10:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:10:37 01:10:37 Login Succeeded 01:10:37 docker.io 01:10:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:10:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:10:38 Configure a credential helper to remove this warning. See 01:10:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:10:38 01:10:38 Login Succeeded 01:10:38 ---> docker-login.sh ends [Pipeline] } 01:10:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:10:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:10:38 ========================================================= 01:10:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 01:10:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:10:38 + 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 . 01:10:38 Sending build context to Docker daemon 10.52MB 01:10:38 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 01:10:38 Step 2/11 : FROM ${BASE} AS builder 01:10:38 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 01:10:38 59bf1c3509f3: Pulling fs layer 01:10:38 666ba61612fd: Pulling fs layer 01:10:38 8ed8ca486205: Pulling fs layer 01:10:38 4fe6c5a15a65: Pulling fs layer 01:10:38 22a0e8bec74d: Pulling fs layer 01:10:38 f965cba54748: Pulling fs layer 01:10:38 861ffc35075e: Pulling fs layer 01:10:38 4b385c91608e: Pulling fs layer 01:10:38 560528eb2ebb: Pulling fs layer 01:10:38 4fe6c5a15a65: Waiting 01:10:38 22a0e8bec74d: Waiting 01:10:38 f965cba54748: Waiting 01:10:38 861ffc35075e: Waiting 01:10:38 4b385c91608e: Waiting 01:10:38 560528eb2ebb: Waiting 01:10:38 8ed8ca486205: Verifying Checksum 01:10:38 8ed8ca486205: Download complete 01:10:38 666ba61612fd: Verifying Checksum 01:10:38 666ba61612fd: Download complete 01:10:38 22a0e8bec74d: Verifying Checksum 01:10:38 22a0e8bec74d: Download complete 01:10:38 f965cba54748: Verifying Checksum 01:10:38 f965cba54748: Download complete 01:10:38 861ffc35075e: Verifying Checksum 01:10:38 861ffc35075e: Download complete 01:10:38 59bf1c3509f3: Verifying Checksum 01:10:38 59bf1c3509f3: Download complete 01:10:38 4b385c91608e: Verifying Checksum 01:10:38 4b385c91608e: Download complete 01:10:39 59bf1c3509f3: Pull complete 01:10:39 4fe6c5a15a65: Verifying Checksum 01:10:39 4fe6c5a15a65: Download complete 01:10:39 560528eb2ebb: Verifying Checksum 01:10:39 560528eb2ebb: Download complete 01:10:39 666ba61612fd: Pull complete 01:10:39 8ed8ca486205: Pull complete 01:10:43 4fe6c5a15a65: Pull complete 01:10:43 22a0e8bec74d: Pull complete 01:10:43 f965cba54748: Pull complete 01:10:43 861ffc35075e: Pull complete 01:10:43 4b385c91608e: Pull complete 01:10:46 560528eb2ebb: Pull complete 01:10:46 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 01:10:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 01:10:46 ---> dd4a08f94e63 01:10:46 Step 3/11 : ARG MAKE='make build' 01:10:48 ---> Running in 813d1af1c53e 01:10:48 Removing intermediate container 813d1af1c53e 01:10:48 ---> dd47735eab06 01:10:48 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:10:48 ---> Running in e1cc1a373b48 01:10:48 Removing intermediate container e1cc1a373b48 01:10:48 ---> 7a25ea86ec6d 01:10:48 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 01:10:48 ---> Running in 1eb48a09e106 01:10:48 Removing intermediate container 1eb48a09e106 01:10:48 ---> 0f38c1064885 01:10:48 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:10:48 ---> Running in 70c59b41c10c 01:10:48 Removing intermediate container 70c59b41c10c 01:10:48 ---> 4548604cbcbd 01:10:48 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:10:48 ---> Running in 27f87b2ad655 01:10:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:10:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:10:50 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:10:50 (2/4) Installing libedit (20210910.3.1-r0) 01:10:50 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:10:50 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:10:50 Executing busybox-1.34.1-r3.trigger 01:10:50 OK: 224 MiB in 56 packages 01:10:51 Removing intermediate container 27f87b2ad655 01:10:51 ---> cf252afad707 01:10:51 Step 8/11 : WORKDIR /device-rest-go 01:10:51 ---> Running in b7532476ae7e 01:10:51 Removing intermediate container b7532476ae7e 01:10:51 ---> 900efdb20e5c 01:10:51 Step 9/11 : COPY . . 01:10:51 ---> f8f1cccd1551 01:10:51 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:10:51 ---> Running in a40eb6847135 01:10:52 Still waiting to schedule task 01:10:52 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1705’ 01:11:38 Removing intermediate container a40eb6847135 01:11:38 ---> d88a155729ef 01:11:38 Step 11/11 : RUN $MAKE 01:11:38 ---> Running in 666c85d284ad 01:11:38 noop 01:11:38 Removing intermediate container 666c85d284ad 01:11:38 ---> a3bfbe59b61b 01:11:38 Successfully built a3bfbe59b61b 01:11:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:11:38 + docker inspect -f . ci-base-image-x86_64 01:11:38 . [Pipeline] withDockerContainer 01:11:38 prd-centos7-docker-4c-2g-1707 does not seem to be running inside a container 01:11:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:11:38 $ docker top fcc234a4765184a1ec608789d91993532ea2f749de15d8cd267cddec2e3024ff -eo pid,comm [Pipeline] { [Pipeline] sh 01:11:39 + go version 01:11:39 go version go1.17.6 linux/amd64 [Pipeline] } 01:11:39 $ docker stop --time=1 fcc234a4765184a1ec608789d91993532ea2f749de15d8cd267cddec2e3024ff 01:11:40 $ docker rm -f fcc234a4765184a1ec608789d91993532ea2f749de15d8cd267cddec2e3024ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:11:40 + docker inspect -f . ci-base-image-x86_64 01:11:40 . [Pipeline] withDockerContainer 01:11:40 prd-centos7-docker-4c-2g-1707 does not seem to be running inside a container 01:11:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:11:41 $ docker top 5c95b25761269637793692036356bb3dfff9ce2b76b748da46a6ccaf1f20ec51 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:11:41 + make test 01:11:41 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 01:11:41 ? github.com/edgexfoundry/device-rest-go [no test files] 01:11:56 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:11:56 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 56.0% of statements 01:11:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:12:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:12:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:12:02 ./bin/test-attribution-txt.sh [Pipeline] echo 01:12:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:12:02 $ docker stop --time=1 5c95b25761269637793692036356bb3dfff9ce2b76b748da46a6ccaf1f20ec51 01:12:03 $ docker rm -f 5c95b25761269637793692036356bb3dfff9ce2b76b748da46a6ccaf1f20ec51 [Pipeline] // withDockerContainer [Pipeline] sh 01:12:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:12:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:12:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:12:05 + ls -al . 01:12:05 total 148 01:12:05 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 18 01:12 . 01:12:05 drwxrwxr-x. 4 jenkins jenkins 112 Jan 18 01:10 .. 01:12:05 -rw-rw-r--. 1 jenkins jenkins 7095 Jan 18 01:10 Attribution.txt 01:12:05 drwxrwxr-x. 2 jenkins jenkins 37 Jan 18 01:10 bin 01:12:05 -rw-rw-r--. 1 jenkins jenkins 7459 Jan 18 01:10 CHANGELOG.md 01:12:05 drwxrwxr-x. 3 jenkins jenkins 32 Jan 18 01:10 cmd 01:12:05 -rw-r--r--. 1 jenkins jenkins 9215 Jan 18 01:11 coverage.out 01:12:05 -rw-rw-r--. 1 jenkins jenkins 1649 Jan 18 01:10 Dockerfile 01:12:05 -rw-rw-r--. 1 jenkins jenkins 151 Jan 18 01:10 .dockerignore 01:12:05 drwxrwxr-x. 2 jenkins jenkins 76 Jan 18 01:10 driver 01:12:05 drwxrwxr-x. 8 jenkins jenkins 162 Jan 18 01:10 .git 01:12:05 drwxrwxr-x. 2 jenkins jenkins 103 Jan 18 01:10 .github 01:12:05 -rw-rw-r--. 1 jenkins jenkins 329 Jan 18 01:10 .gitignore 01:12:05 -rw-rw-r--. 1 jenkins jenkins 277 Jan 18 01:10 go.mod 01:12:05 -rw-rw-r--. 1 jenkins jenkins 49330 Jan 18 01:10 go.sum 01:12:05 -rw-rw-r--. 1 jenkins jenkins 677 Jan 18 01:10 GOVERNANCE.md 01:12:05 -rw-rw-r--. 1 jenkins jenkins 680 Jan 18 01:10 Jenkinsfile 01:12:05 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 18 01:10 LICENSE 01:12:05 -rw-rw-r--. 1 jenkins jenkins 1078 Jan 18 01:10 Makefile 01:12:05 -rw-rw-r--. 1 jenkins jenkins 620 Jan 18 01:10 OWNERS.md 01:12:05 -rw-rw-r--. 1 jenkins jenkins 8246 Jan 18 01:10 README.md 01:12:05 drwx------. 3 jenkins jenkins 45 Jan 18 01:10 .semver 01:12:05 drwxrwxr-x. 3 jenkins jenkins 58 Jan 18 01:10 snap 01:12:05 -rw-rw-r--. 1 jenkins jenkins 11 Jan 18 01:10 VERSION 01:12:05 -rw-rw-r--. 1 jenkins jenkins 713 Jan 18 01:10 version.go [Pipeline] isUnix [Pipeline] sh 01:12:05 + 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=736f30166781926f3db44e01dabdb26e1e8c7632 --label arch=amd64 --label version=2.2.0-dev.3 . 01:12:05 Sending build context to Docker daemon 10.53MB 01:12:05 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 01:12:05 Step 2/24 : FROM ${BASE} AS builder 01:12:05 ---> a3bfbe59b61b 01:12:05 Step 3/24 : ARG MAKE='make build' 01:12:06 ---> Running in 3f2cb16cb9c3 01:12:06 Removing intermediate container 3f2cb16cb9c3 01:12:06 ---> 6b70f901978d 01:12:06 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:12:06 ---> Running in dd9f1f4d64ac 01:12:06 Removing intermediate container dd9f1f4d64ac 01:12:06 ---> 4ee8c62d178c 01:12:06 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 01:12:06 ---> Running in 379a30199458 01:12:06 Removing intermediate container 379a30199458 01:12:06 ---> 59be7cd13216 01:12:06 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:12:06 ---> Running in 9cbc3e674fcf 01:12:07 Removing intermediate container 9cbc3e674fcf 01:12:07 ---> c07ddab70948 01:12:07 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:12:07 ---> Running in 924a887a7126 01:12:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:12:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:12:09 OK: 224 MiB in 56 packages 01:12:09 Removing intermediate container 924a887a7126 01:12:09 ---> 9de642c6a71a 01:12:09 Step 8/24 : WORKDIR /device-rest-go 01:12:09 ---> Running in 971c65d09338 01:12:09 Removing intermediate container 971c65d09338 01:12:09 ---> 90f5c63a1e99 01:12:09 Step 9/24 : COPY . . 01:12:09 ---> fe82ae644707 01:12:09 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:12:09 ---> Running in 1bdce71275b0 01:12:10 Removing intermediate container 1bdce71275b0 01:12:10 ---> 80519cc8b97a 01:12:10 Step 11/24 : RUN $MAKE 01:12:10 ---> Running in 38cd9bbc6cd2 01:12:11 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.3" -o cmd/device-rest ./cmd 01:12:23 Removing intermediate container 38cd9bbc6cd2 01:12:23 ---> 3fefc67a7d75 01:12:23 Step 12/24 : FROM alpine:3.14 01:12:23 3.14: Pulling from library/alpine 01:12:23 97518928ae5f: Pulling fs layer 01:12:24 97518928ae5f: Verifying Checksum 01:12:24 97518928ae5f: Download complete 01:12:24 97518928ae5f: Pull complete 01:12:24 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 01:12:24 Status: Downloaded newer image for alpine:3.14 01:12:24 ---> 0a97eee8041e 01:12:24 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:12:24 ---> Running in 1e59e96d1c3e 01:12:24 Removing intermediate container 1e59e96d1c3e 01:12:24 ---> 8a9133185e8a 01:12:24 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 01:12:24 ---> Running in 5a954df3e7fb 01:12:24 Removing intermediate container 5a954df3e7fb 01:12:24 ---> 659969639314 01:12:24 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:12:24 ---> Running in 0702cc1e0224 01:12:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:12:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:12:24 (1/6) Installing dumb-init (1.2.5-r1) 01:12:24 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:12:25 (3/6) Installing libsodium (1.0.18-r0) 01:12:25 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:12:25 (5/6) Installing libzmq (4.3.4-r0) 01:12:25 (6/6) Installing zeromq (4.3.4-r0) 01:12:25 Executing busybox-1.33.1-r6.trigger 01:12:25 OK: 8 MiB in 20 packages 01:12:25 Removing intermediate container 0702cc1e0224 01:12:25 ---> ce5c1c9af587 01:12:25 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 01:12:25 ---> 1453f861d6d9 01:12:25 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 01:12:25 ---> d0904e345e03 01:12:25 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 01:12:25 ---> ea9c77a16c6b 01:12:25 Step 19/24 : EXPOSE 59986 01:12:25 ---> Running in 8c7ee404502f 01:12:26 Removing intermediate container 8c7ee404502f 01:12:26 ---> 7f48f9b0243f 01:12:26 Step 20/24 : ENTRYPOINT ["/device-rest"] 01:12:26 ---> Running in 31717bf1f241 01:12:26 Removing intermediate container 31717bf1f241 01:12:26 ---> 8bdf97fe03cf 01:12:26 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:12:26 ---> Running in 7b05d48c4911 01:12:26 Removing intermediate container 7b05d48c4911 01:12:26 ---> ad561ec28e3f 01:12:26 Step 22/24 : LABEL arch=amd64 01:12:26 ---> Running in 5fa7022e844e 01:12:26 Removing intermediate container 5fa7022e844e 01:12:26 ---> e12b252abfbf 01:12:26 Step 23/24 : LABEL git_sha=736f30166781926f3db44e01dabdb26e1e8c7632 01:12:26 ---> Running in 4890c94dea1f 01:12:26 Removing intermediate container 4890c94dea1f 01:12:26 ---> acfb80c7d1d3 01:12:26 Step 24/24 : LABEL version=2.2.0-dev.3 01:12:26 ---> Running in bf8c3c1402fc 01:12:26 Removing intermediate container bf8c3c1402fc 01:12:26 ---> c5afd28d328b 01:12:26 [Warning] One or more build-args [ARCH] were not consumed 01:12:26 Successfully built c5afd28d328b 01:12:26 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:12:26 provisioning config files... 01:12:26 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config503545142173584985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:12:27 ---> docker-login.sh 01:12:27 nexus3.edgexfoundry.org:10001 01:12:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:12:27 Configure a credential helper to remove this warning. See 01:12:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:12:27 01:12:27 Login Succeeded 01:12:27 nexus3.edgexfoundry.org:10002 01:12:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:12:27 Configure a credential helper to remove this warning. See 01:12:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:12:27 01:12:27 Login Succeeded 01:12:27 nexus3.edgexfoundry.org:10003 01:12:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:12:27 Configure a credential helper to remove this warning. See 01:12:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:12:27 01:12:27 Login Succeeded 01:12:27 nexus3.edgexfoundry.org:10004 01:12:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:12:27 Configure a credential helper to remove this warning. See 01:12:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:12:27 01:12:27 Login Succeeded 01:12:27 docker.io 01:12:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:12:27 Configure a credential helper to remove this warning. See 01:12:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:12:27 01:12:27 Login Succeeded 01:12:27 ---> docker-login.sh ends [Pipeline] } 01:12:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:12:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:12:28 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 01:12:28 736f30166781926f3db44e01dabdb26e1e8c7632 01:12:28 latest 01:12:28 2.2.0-dev.3 01:12:28 736f30166781926f3db44e01dabdb26e1e8c7632-2.2.0-dev.3 01:12:28 main 01:12:28 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:12:28 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:736f30166781926f3db44e01dabdb26e1e8c7632 [Pipeline] isUnix [Pipeline] sh 01:12:28 + docker push nexus3.edgexfoundry.org:10004/device-rest:736f30166781926f3db44e01dabdb26e1e8c7632 01:12:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:12:28 0b5640986abe: Preparing 01:12:28 840964331ed9: Preparing 01:12:28 a1a16b158a96: Preparing 01:12:28 8835814ad9ef: Preparing 01:12:28 1a058d5342cc: Preparing 01:12:28 1a058d5342cc: Layer already exists 01:12:28 840964331ed9: Pushed 01:12:28 0b5640986abe: Pushed 01:12:28 8835814ad9ef: Pushed 01:12:29 a1a16b158a96: Pushed 01:12:29 736f30166781926f3db44e01dabdb26e1e8c7632: digest: sha256:706d8f0da6a3c2971db555c4354d341027bf2957f3deecc5e1fed3c8c7398c88 size: 1366 [Pipeline] isUnix [Pipeline] sh 01:12:30 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 01:12:30 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 01:12:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:12:30 0b5640986abe: Preparing 01:12:30 840964331ed9: Preparing 01:12:30 a1a16b158a96: Preparing 01:12:30 8835814ad9ef: Preparing 01:12:30 1a058d5342cc: Preparing 01:12:30 840964331ed9: Layer already exists 01:12:30 8835814ad9ef: Layer already exists 01:12:30 1a058d5342cc: Layer already exists 01:12:30 0b5640986abe: Layer already exists 01:12:30 a1a16b158a96: Layer already exists 01:12:30 latest: digest: sha256:706d8f0da6a3c2971db555c4354d341027bf2957f3deecc5e1fed3c8c7398c88 size: 1366 [Pipeline] isUnix [Pipeline] sh 01:12:30 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh 01:12:31 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.3 01:12:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:12:31 0b5640986abe: Preparing 01:12:31 840964331ed9: Preparing 01:12:31 a1a16b158a96: Preparing 01:12:31 8835814ad9ef: Preparing 01:12:31 1a058d5342cc: Preparing 01:12:31 1a058d5342cc: Layer already exists 01:12:31 0b5640986abe: Layer already exists 01:12:31 8835814ad9ef: Layer already exists 01:12:31 840964331ed9: Layer already exists 01:12:31 a1a16b158a96: Layer already exists 01:12:31 2.2.0-dev.3: digest: sha256:706d8f0da6a3c2971db555c4354d341027bf2957f3deecc5e1fed3c8c7398c88 size: 1366 [Pipeline] isUnix [Pipeline] sh 01:12:31 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:736f30166781926f3db44e01dabdb26e1e8c7632-2.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh 01:12:31 + docker push nexus3.edgexfoundry.org:10004/device-rest:736f30166781926f3db44e01dabdb26e1e8c7632-2.2.0-dev.3 01:12:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:12:31 0b5640986abe: Preparing 01:12:31 840964331ed9: Preparing 01:12:31 a1a16b158a96: Preparing 01:12:31 8835814ad9ef: Preparing 01:12:31 1a058d5342cc: Preparing 01:12:31 1a058d5342cc: Layer already exists 01:12:31 0b5640986abe: Layer already exists 01:12:31 a1a16b158a96: Layer already exists 01:12:31 840964331ed9: Layer already exists 01:12:31 8835814ad9ef: Layer already exists 01:12:31 736f30166781926f3db44e01dabdb26e1e8c7632-2.2.0-dev.3: digest: sha256:706d8f0da6a3c2971db555c4354d341027bf2957f3deecc5e1fed3c8c7398c88 size: 1366 [Pipeline] isUnix [Pipeline] sh 01:12:31 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh 01:12:32 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 01:12:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:12:32 0b5640986abe: Preparing 01:12:32 840964331ed9: Preparing 01:12:32 a1a16b158a96: Preparing 01:12:32 8835814ad9ef: Preparing 01:12:32 1a058d5342cc: Preparing 01:12:32 a1a16b158a96: Layer already exists 01:12:32 840964331ed9: Layer already exists 01:12:32 8835814ad9ef: Layer already exists 01:12:32 1a058d5342cc: Layer already exists 01:12:32 0b5640986abe: Layer already exists 01:12:32 main: digest: sha256:706d8f0da6a3c2971db555c4354d341027bf2957f3deecc5e1fed3c8c7398c88 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:12:32 ===================================================== [Pipeline] echo 01:12:32 taggedImages: 01:12:32 - nexus3.edgexfoundry.org:10004/device-rest:736f30166781926f3db44e01dabdb26e1e8c7632 01:12:32 - nexus3.edgexfoundry.org:10004/device-rest:latest 01:12:32 - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.3 01:12:32 - nexus3.edgexfoundry.org:10004/device-rest:736f30166781926f3db44e01dabdb26e1e8c7632-2.2.0-dev.3 01:12:32 - 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 01:12:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:12:32 01:12:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:12:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:12:32 latest: Pulling from edgex-lftools-log-publisher 01:12:32 b4d181a07f80: Pulling fs layer 01:12:32 a1111a8f2ec3: Pulling fs layer 01:12:32 ed53099fbce6: Pulling fs layer 01:12:32 dc539afda2c1: Pulling fs layer 01:12:32 77bc0d833cb6: Pulling fs layer 01:12:32 9065ff56babe: Pulling fs layer 01:12:32 d287ab97295c: Pulling fs layer 01:12:32 dc539afda2c1: Waiting 01:12:32 77bc0d833cb6: Waiting 01:12:32 9065ff56babe: Waiting 01:12:32 d287ab97295c: Waiting 01:12:32 a1111a8f2ec3: Verifying Checksum 01:12:32 a1111a8f2ec3: Download complete 01:12:32 dc539afda2c1: Verifying Checksum 01:12:32 dc539afda2c1: Download complete 01:12:32 ed53099fbce6: Verifying Checksum 01:12:32 ed53099fbce6: Download complete 01:12:33 9065ff56babe: Verifying Checksum 01:12:33 9065ff56babe: Download complete 01:12:33 77bc0d833cb6: Verifying Checksum 01:12:33 77bc0d833cb6: Download complete 01:12:33 b4d181a07f80: Verifying Checksum 01:12:33 b4d181a07f80: Download complete 01:12:33 d287ab97295c: Verifying Checksum 01:12:33 d287ab97295c: Download complete 01:12:34 b4d181a07f80: Pull complete 01:12:34 a1111a8f2ec3: Pull complete 01:12:35 ed53099fbce6: Pull complete 01:12:35 dc539afda2c1: Pull complete 01:12:35 77bc0d833cb6: Pull complete 01:12:35 9065ff56babe: Pull complete 01:12:41 d287ab97295c: Pull complete 01:12:41 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 01:12:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:12:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:12:41 prd-centos7-docker-4c-2g-1707 does not seem to be running inside a container 01:12:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:12:43 $ docker top 8e789729a1a6bf3e1334f97ec1adff22ce5d4a9cdd961a17ffe359a668343729 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:12:44 ---> job-cost.sh 01:12:44 lf-activate-venv: SKIPPING 01:12:44 INFO: No Stack... 01:12:44 INFO: Retrieving Pricing Info for: v3-standard-2 01:12:44 INFO: Archiving Costs [Pipeline] sh 01:12:44 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 01:12:44 + cut -d, -f6 [Pipeline] lock 01:12:44 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-23-stack-cost] 01:12:44 Resource [jenkins-edgexfoundry-device-rest-go-main-23-stack-cost] did not exist. Created. 01:12:44 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:12:45 + echo total: 0.05999999865889549 [Pipeline] stash 01:12:45 Stashed 1 file(s) [Pipeline] } 01:12:45 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-23-stack-cost] [Pipeline] // lock [Pipeline] } 01:12:45 $ docker stop --time=1 8e789729a1a6bf3e1334f97ec1adff22ce5d4a9cdd961a17ffe359a668343729 01:12:46 $ docker rm -f 8e789729a1a6bf3e1334f97ec1adff22ce5d4a9cdd961a17ffe359a668343729 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:14:27 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1708 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 01:14:27 Running in /w/workspace/device-rest-go/23 [Pipeline] { [Pipeline] checkout 01:14:27 The recommended git tool is: git 01:14:32 using credential edgex-jenkins-ssh 01:14:32 Cloning the remote Git repository 01:14:32 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:14:32 > git init /w/workspace/device-rest-go/23 # timeout=10 01:14:32 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:14:32 > git --version # timeout=10 01:14:32 > git --version # 'git version 2.17.1' 01:14:32 using GIT_SSH to set credentials SSH Credentials for GitHub 01:14:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:14:34 Avoid second fetch 01:14:34 Checking out Revision 736f30166781926f3db44e01dabdb26e1e8c7632 (main) 01:14:34 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:14:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:14:34 > git config core.sparsecheckout # timeout=10 01:14:34 > git checkout -f 736f30166781926f3db44e01dabdb26e1e8c7632 # timeout=10 01:14:39 Commit message: "Merge pull request #151 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.8" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:14:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:14:40 % Total % Received % Xferd Average Speed Time Time Time Current 01:14:40 Dload Upload Total Spent Left Speed 01:14:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 75433 0 --:--:-- --:--:-- --:--:-- 75433 [Pipeline] sh 01:14:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:14:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 01:14:41 sudo tee /etc/docker/daemon.new 01:14:41 { 01:14:41 "registry-mirrors": [ 01:14:41 "https://nexus3.edgexfoundry.org:10001" 01:14:41 ], 01:14:41 "bip": "10.250.0.254/24", 01:14:41 "hosts": [ 01:14:41 "tcp://0.0.0.0:5555", 01:14:41 "unix:///var/run/docker.sock" 01:14:41 ], 01:14:41 "mtu": 1458, 01:14:41 "selinux-enabled": true, 01:14:41 "seccomp-profile": "/etc/docker/seccomp.json" 01:14:41 } [Pipeline] sh 01:14:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:14:41 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:15:00 provisioning config files... 01:15:00 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/23@tmp/config2154230312181116633tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:15:00 ---> docker-login.sh 01:15:00 nexus3.edgexfoundry.org:10001 01:15:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:01 Configure a credential helper to remove this warning. See 01:15:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:01 01:15:01 Login Succeeded 01:15:01 nexus3.edgexfoundry.org:10002 01:15:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:01 Configure a credential helper to remove this warning. See 01:15:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:01 01:15:01 Login Succeeded 01:15:01 nexus3.edgexfoundry.org:10003 01:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:02 Configure a credential helper to remove this warning. See 01:15:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:02 01:15:02 Login Succeeded 01:15:02 nexus3.edgexfoundry.org:10004 01:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:02 Configure a credential helper to remove this warning. See 01:15:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:02 01:15:02 Login Succeeded 01:15:02 docker.io 01:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:03 Configure a credential helper to remove this warning. See 01:15:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:03 01:15:03 Login Succeeded 01:15:03 ---> docker-login.sh ends [Pipeline] } 01:15:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:15:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:15:03 ========================================================= 01:15:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 01:15:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:15:04 + 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 . 01:15:04 Sending build context to Docker daemon 121.9kB 01:15:04 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 01:15:04 Step 2/11 : FROM ${BASE} AS builder 01:15:04 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:15:04 9b3977197b4f: Pulling fs layer 01:15:04 1a89e8eeedd5: Pulling fs layer 01:15:04 94645a83ff95: Pulling fs layer 01:15:04 3f3a8bcf1eab: Pulling fs layer 01:15:04 0c92f367c5e7: Pulling fs layer 01:15:04 4b8299f9d1f4: Pulling fs layer 01:15:04 9a6b49a46696: Pulling fs layer 01:15:04 cf05db05a679: Pulling fs layer 01:15:04 0c92f367c5e7: Waiting 01:15:04 9a6b49a46696: Waiting 01:15:04 cf05db05a679: Waiting 01:15:04 4b8299f9d1f4: Waiting 01:15:04 3f3a8bcf1eab: Waiting 01:15:04 94645a83ff95: Verifying Checksum 01:15:04 94645a83ff95: Download complete 01:15:04 1a89e8eeedd5: Verifying Checksum 01:15:04 1a89e8eeedd5: Download complete 01:15:04 0c92f367c5e7: Verifying Checksum 01:15:04 0c92f367c5e7: Download complete 01:15:04 4b8299f9d1f4: Verifying Checksum 01:15:04 4b8299f9d1f4: Download complete 01:15:04 9b3977197b4f: Download complete 01:15:04 9a6b49a46696: Verifying Checksum 01:15:04 9a6b49a46696: Download complete 01:15:05 9b3977197b4f: Pull complete 01:15:06 1a89e8eeedd5: Pull complete 01:15:06 94645a83ff95: Pull complete 01:15:06 cf05db05a679: Verifying Checksum 01:15:06 cf05db05a679: Download complete 01:15:07 3f3a8bcf1eab: Verifying Checksum 01:15:07 3f3a8bcf1eab: Download complete 01:15:17 3f3a8bcf1eab: Pull complete 01:15:17 0c92f367c5e7: Pull complete 01:15:17 4b8299f9d1f4: Pull complete 01:15:17 9a6b49a46696: Pull complete 01:15:23 cf05db05a679: Pull complete 01:15:23 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 01:15:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 01:15:23 ---> 0ccda1f7e2ee 01:15:23 Step 3/11 : ARG MAKE='make build' 01:15:25 ---> Running in bd968da09cb3 01:15:25 Removing intermediate container bd968da09cb3 01:15:25 ---> 53266946988b 01:15:25 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:15:25 ---> Running in f4c35acc7756 01:15:25 Removing intermediate container f4c35acc7756 01:15:25 ---> 13f673e944b4 01:15:25 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 01:15:26 ---> Running in 014b8f2eea09 01:15:26 Removing intermediate container 014b8f2eea09 01:15:26 ---> 42d31beedee4 01:15:26 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:15:26 ---> Running in 884a12e1358e 01:15:28 Removing intermediate container 884a12e1358e 01:15:28 ---> 3a9ff438fbaa 01:15:28 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:15:28 ---> Running in ac5061507a5a 01:15:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:15:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:15:31 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:15:31 (2/4) Installing libedit (20210910.3.1-r0) 01:15:31 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:15:31 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:15:31 Executing busybox-1.34.1-r3.trigger 01:15:31 OK: 224 MiB in 56 packages 01:15:32 Removing intermediate container ac5061507a5a 01:15:32 ---> bfa7500bc5ca 01:15:32 Step 8/11 : WORKDIR /device-rest-go 01:15:32 ---> Running in b8b788252216 01:15:33 Removing intermediate container b8b788252216 01:15:33 ---> 16f0adc5f96d 01:15:33 Step 9/11 : COPY . . 01:15:34 ---> 56a0e3881caa 01:15:34 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:15:34 ---> Running in bc0b88f0d4fd 01:16:56 Removing intermediate container bc0b88f0d4fd 01:16:56 ---> 0f00f71452d8 01:16:56 Step 11/11 : RUN $MAKE 01:16:56 ---> Running in 6279b40a84a6 01:16:56 noop 01:16:56 Removing intermediate container 6279b40a84a6 01:16:56 ---> 69efa714761d 01:16:56 Successfully built 69efa714761d 01:16:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:16:56 + docker inspect -f . ci-base-image-arm64 01:16:56 . [Pipeline] withDockerContainer 01:16:56 prd-ubuntu18.04-docker-arm64-4c-16g-1708 does not seem to be running inside a container 01:16:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/23 -v /w/workspace/device-rest-go/23:/w/workspace/device-rest-go/23:rw,z -v /w/workspace/device-rest-go/23@tmp:/w/workspace/device-rest-go/23@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 01:16:58 $ docker top 1a98f090ea8b6a5857c178e90227fbb1b4d6837b643fe60d6256aebbf3d0a9c8 -eo pid,comm [Pipeline] { [Pipeline] sh 01:16:59 + go version 01:16:59 go version go1.17.6 linux/arm64 [Pipeline] } 01:16:59 $ docker stop --time=1 1a98f090ea8b6a5857c178e90227fbb1b4d6837b643fe60d6256aebbf3d0a9c8 01:17:00 $ docker rm -f 1a98f090ea8b6a5857c178e90227fbb1b4d6837b643fe60d6256aebbf3d0a9c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:17:01 + docker inspect -f . ci-base-image-arm64 01:17:01 . [Pipeline] withDockerContainer 01:17:01 prd-ubuntu18.04-docker-arm64-4c-16g-1708 does not seem to be running inside a container 01:17:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/23 -v /w/workspace/device-rest-go/23:/w/workspace/device-rest-go/23:rw,z -v /w/workspace/device-rest-go/23@tmp:/w/workspace/device-rest-go/23@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 01:17:03 $ docker top c891f82ba2c0873429d3efbdb31954eb262e3843afb78505247ce6c7530ef7a0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:17:04 + make test 01:17:04 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 01:17:05 ? github.com/edgexfoundry/device-rest-go [no test files] 01:17:52 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:17:55 ok github.com/edgexfoundry/device-rest-go/driver 0.053s coverage: 56.0% of statements 01:17:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:18:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:18:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:18:17 ./bin/test-attribution-txt.sh [Pipeline] echo 01:18:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:18:17 $ docker stop --time=1 c891f82ba2c0873429d3efbdb31954eb262e3843afb78505247ce6c7530ef7a0 01:18:19 $ docker rm -f c891f82ba2c0873429d3efbdb31954eb262e3843afb78505247ce6c7530ef7a0 [Pipeline] // withDockerContainer [Pipeline] sh 01:18:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:18:19 Warning: overwriting stash ‘coverage-report’ 01:18:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:18:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:18:21 + ls -al . 01:18:21 total 176 01:18:21 drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 01:18 . 01:18:21 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 01:14 .. 01:18:21 -rw-rw-r-- 1 jenkins jenkins 151 Jan 18 01:14 .dockerignore 01:18:21 drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 01:14 .git 01:18:21 drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 01:14 .github 01:18:21 -rw-rw-r-- 1 jenkins jenkins 329 Jan 18 01:14 .gitignore 01:18:21 -rw-rw-r-- 1 jenkins jenkins 7095 Jan 18 01:14 Attribution.txt 01:18:21 -rw-rw-r-- 1 jenkins jenkins 7459 Jan 18 01:14 CHANGELOG.md 01:18:21 -rw-rw-r-- 1 jenkins jenkins 1649 Jan 18 01:14 Dockerfile 01:18:21 -rw-rw-r-- 1 jenkins jenkins 677 Jan 18 01:14 GOVERNANCE.md 01:18:21 -rw-rw-r-- 1 jenkins jenkins 680 Jan 18 01:14 Jenkinsfile 01:18:21 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 18 01:14 LICENSE 01:18:21 -rw-rw-r-- 1 jenkins jenkins 1078 Jan 18 01:14 Makefile 01:18:21 -rw-rw-r-- 1 jenkins jenkins 620 Jan 18 01:14 OWNERS.md 01:18:21 -rw-rw-r-- 1 jenkins jenkins 8246 Jan 18 01:14 README.md 01:18:21 -rw-rw-r-- 1 jenkins jenkins 11 Jan 18 01:10 VERSION 01:18:21 drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 01:14 bin 01:18:21 drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 01:14 cmd 01:18:21 -rw-r--r-- 1 jenkins jenkins 9215 Jan 18 01:17 coverage.out 01:18:21 drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 01:14 driver 01:18:21 -rw-rw-r-- 1 jenkins jenkins 277 Jan 18 01:14 go.mod 01:18:21 -rw-rw-r-- 1 jenkins jenkins 49330 Jan 18 01:14 go.sum 01:18:21 drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 01:14 snap 01:18:21 -rw-rw-r-- 1 jenkins jenkins 713 Jan 18 01:14 version.go [Pipeline] isUnix [Pipeline] sh 01:18:21 + 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=736f30166781926f3db44e01dabdb26e1e8c7632 --label arch=arm64 --label version=2.2.0-dev.3 . 01:18:21 Sending build context to Docker daemon 131.6kB 01:18:21 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 01:18:21 Step 2/24 : FROM ${BASE} AS builder 01:18:21 ---> 69efa714761d 01:18:21 Step 3/24 : ARG MAKE='make build' 01:18:22 ---> Running in 1544d5c9c07e 01:18:22 Removing intermediate container 1544d5c9c07e 01:18:22 ---> 73a7ccad5c89 01:18:22 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:18:22 ---> Running in a2273478293c 01:18:22 Removing intermediate container a2273478293c 01:18:22 ---> d4be674602d9 01:18:22 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 01:18:22 ---> Running in 110995c014a3 01:18:23 Removing intermediate container 110995c014a3 01:18:23 ---> fd2ddf1e8a22 01:18:23 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:18:23 ---> Running in 78b018394c19 01:18:25 Removing intermediate container 78b018394c19 01:18:25 ---> 013b63adb023 01:18:25 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:18:25 ---> Running in a26288d71277 01:18:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:18:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:18:28 OK: 224 MiB in 56 packages 01:18:29 Removing intermediate container a26288d71277 01:18:29 ---> 233ee060ab3d 01:18:29 Step 8/24 : WORKDIR /device-rest-go 01:18:29 ---> Running in 49aba6dc8bb9 01:18:29 Removing intermediate container 49aba6dc8bb9 01:18:29 ---> 0229af50c0f0 01:18:29 Step 9/24 : COPY . . 01:18:30 ---> 5fe253d8453a 01:18:30 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:18:30 ---> Running in 6ba6eeaef25f 01:18:32 Removing intermediate container 6ba6eeaef25f 01:18:32 ---> ce3a289164d9 01:18:32 Step 11/24 : RUN $MAKE 01:18:32 ---> Running in 9ed00f095195 01:18:33 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.3" -o cmd/device-rest ./cmd 01:19:20 Removing intermediate container 9ed00f095195 01:19:20 ---> 662b0e6ad8b2 01:19:20 Step 12/24 : FROM alpine:3.14 01:19:20 3.14: Pulling from library/alpine 01:19:20 be307f383ecc: Pulling fs layer 01:19:20 be307f383ecc: Verifying Checksum 01:19:20 be307f383ecc: Download complete 01:19:20 be307f383ecc: Pull complete 01:19:20 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 01:19:20 Status: Downloaded newer image for alpine:3.14 01:19:20 ---> 5b8b7b635229 01:19:20 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:19:20 ---> Running in 75767b7985dd 01:19:20 Removing intermediate container 75767b7985dd 01:19:20 ---> 86ae46edcd7a 01:19:20 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 01:19:20 ---> Running in 1157fd3559dc 01:19:20 Removing intermediate container 1157fd3559dc 01:19:20 ---> e43314bb61b6 01:19:20 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:19:20 ---> Running in 4cb249b59edf 01:19:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:19:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:19:20 (1/6) Installing dumb-init (1.2.5-r1) 01:19:20 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:19:20 (3/6) Installing libsodium (1.0.18-r0) 01:19:20 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:19:20 (5/6) Installing libzmq (4.3.4-r0) 01:19:20 (6/6) Installing zeromq (4.3.4-r0) 01:19:20 Executing busybox-1.33.1-r6.trigger 01:19:20 OK: 8 MiB in 20 packages 01:19:21 Removing intermediate container 4cb249b59edf 01:19:21 ---> b9f827492b76 01:19:21 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 01:19:22 ---> e7b56b5d9e84 01:19:22 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 01:19:23 ---> 9697ef037725 01:19:23 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 01:19:24 ---> 5e9e39083cf3 01:19:24 Step 19/24 : EXPOSE 59986 01:19:24 ---> Running in 93ccf46b4ecf 01:19:24 Removing intermediate container 93ccf46b4ecf 01:19:24 ---> 200edd18f1d2 01:19:24 Step 20/24 : ENTRYPOINT ["/device-rest"] 01:19:24 ---> Running in daf93f1841f6 01:19:24 Removing intermediate container daf93f1841f6 01:19:24 ---> a9914a08e8ca 01:19:24 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:19:25 ---> Running in 926eebb81fe8 01:19:25 Removing intermediate container 926eebb81fe8 01:19:25 ---> fd315a937b86 01:19:25 Step 22/24 : LABEL arch=arm64 01:19:25 ---> Running in a3e990833d14 01:19:26 Removing intermediate container a3e990833d14 01:19:26 ---> cf5b83aacab3 01:19:26 Step 23/24 : LABEL git_sha=736f30166781926f3db44e01dabdb26e1e8c7632 01:19:26 ---> Running in 56d9f5365d38 01:19:26 Removing intermediate container 56d9f5365d38 01:19:26 ---> e39402e9483f 01:19:26 Step 24/24 : LABEL version=2.2.0-dev.3 01:19:26 ---> Running in 17eb2525feba 01:19:26 Removing intermediate container 17eb2525feba 01:19:26 ---> e7cd43e8c381 01:19:26 [Warning] One or more build-args [ARCH] were not consumed 01:19:26 Successfully built e7cd43e8c381 01:19:26 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:19:26 provisioning config files... 01:19:26 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/23@tmp/config1102408975981554280tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:19:27 ---> docker-login.sh 01:19:27 nexus3.edgexfoundry.org:10001 01:19:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:27 Configure a credential helper to remove this warning. See 01:19:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:27 01:19:27 Login Succeeded 01:19:27 nexus3.edgexfoundry.org:10002 01:19:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:28 Configure a credential helper to remove this warning. See 01:19:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:28 01:19:28 Login Succeeded 01:19:28 nexus3.edgexfoundry.org:10003 01:19:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:28 Configure a credential helper to remove this warning. See 01:19:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:28 01:19:28 Login Succeeded 01:19:28 nexus3.edgexfoundry.org:10004 01:19:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:29 Configure a credential helper to remove this warning. See 01:19:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:29 01:19:29 Login Succeeded 01:19:29 docker.io 01:19:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:29 Configure a credential helper to remove this warning. See 01:19:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:29 01:19:29 Login Succeeded 01:19:29 ---> docker-login.sh ends [Pipeline] } 01:19:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:19:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:19:29 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 01:19:29 736f30166781926f3db44e01dabdb26e1e8c7632 01:19:29 latest 01:19:29 2.2.0-dev.3 01:19:29 736f30166781926f3db44e01dabdb26e1e8c7632-2.2.0-dev.3 01:19:29 main 01:19:29 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:19:30 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:736f30166781926f3db44e01dabdb26e1e8c7632 [Pipeline] isUnix [Pipeline] sh 01:19:30 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:736f30166781926f3db44e01dabdb26e1e8c7632 01:19:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:19:30 fced6c12243f: Preparing 01:19:30 11c6e355286c: Preparing 01:19:30 bbc339c40f0c: Preparing 01:19:30 2fd22c9af447: Preparing 01:19:30 62170e181a92: Preparing 01:19:30 62170e181a92: Layer already exists 01:19:30 fced6c12243f: Pushed 01:19:30 11c6e355286c: Pushed 01:19:31 2fd22c9af447: Pushed 01:19:33 bbc339c40f0c: Pushed 01:19:33 736f30166781926f3db44e01dabdb26e1e8c7632: digest: sha256:95361cc7410a4c647cd08c9681765bde00e7287bffeaf6ff61ea23a55528fccf size: 1365 [Pipeline] isUnix [Pipeline] sh 01:19:34 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:19:34 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 01:19:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:19:34 fced6c12243f: Preparing 01:19:34 11c6e355286c: Preparing 01:19:34 bbc339c40f0c: Preparing 01:19:34 2fd22c9af447: Preparing 01:19:34 62170e181a92: Preparing 01:19:34 2fd22c9af447: Layer already exists 01:19:34 fced6c12243f: Layer already exists 01:19:34 62170e181a92: Layer already exists 01:19:34 11c6e355286c: Layer already exists 01:19:34 bbc339c40f0c: Layer already exists 01:19:34 latest: digest: sha256:95361cc7410a4c647cd08c9681765bde00e7287bffeaf6ff61ea23a55528fccf size: 1365 [Pipeline] isUnix [Pipeline] sh 01:19:35 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh 01:19:35 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.3 01:19:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:19:35 fced6c12243f: Preparing 01:19:35 11c6e355286c: Preparing 01:19:35 bbc339c40f0c: Preparing 01:19:35 2fd22c9af447: Preparing 01:19:35 62170e181a92: Preparing 01:19:35 11c6e355286c: Layer already exists 01:19:35 62170e181a92: Layer already exists 01:19:35 bbc339c40f0c: Layer already exists 01:19:35 2fd22c9af447: Layer already exists 01:19:35 fced6c12243f: Layer already exists 01:19:35 2.2.0-dev.3: digest: sha256:95361cc7410a4c647cd08c9681765bde00e7287bffeaf6ff61ea23a55528fccf size: 1365 [Pipeline] isUnix [Pipeline] sh 01:19:36 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:736f30166781926f3db44e01dabdb26e1e8c7632-2.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh 01:19:36 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:736f30166781926f3db44e01dabdb26e1e8c7632-2.2.0-dev.3 01:19:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:19:36 fced6c12243f: Preparing 01:19:36 11c6e355286c: Preparing 01:19:36 bbc339c40f0c: Preparing 01:19:36 2fd22c9af447: Preparing 01:19:36 62170e181a92: Preparing 01:19:36 11c6e355286c: Layer already exists 01:19:36 62170e181a92: Layer already exists 01:19:36 bbc339c40f0c: Layer already exists 01:19:36 2fd22c9af447: Layer already exists 01:19:36 fced6c12243f: Layer already exists 01:19:36 736f30166781926f3db44e01dabdb26e1e8c7632-2.2.0-dev.3: digest: sha256:95361cc7410a4c647cd08c9681765bde00e7287bffeaf6ff61ea23a55528fccf size: 1365 [Pipeline] isUnix [Pipeline] sh 01:19:37 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh 01:19:37 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 01:19:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:19:37 fced6c12243f: Preparing 01:19:37 11c6e355286c: Preparing 01:19:37 bbc339c40f0c: Preparing 01:19:37 2fd22c9af447: Preparing 01:19:37 62170e181a92: Preparing 01:19:37 11c6e355286c: Layer already exists 01:19:37 fced6c12243f: Layer already exists 01:19:37 62170e181a92: Layer already exists 01:19:37 bbc339c40f0c: Layer already exists 01:19:37 2fd22c9af447: Layer already exists 01:19:37 main: digest: sha256:95361cc7410a4c647cd08c9681765bde00e7287bffeaf6ff61ea23a55528fccf size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:19:37 ===================================================== [Pipeline] echo 01:19:37 taggedImages: 01:19:37 - nexus3.edgexfoundry.org:10004/device-rest-arm64:736f30166781926f3db44e01dabdb26e1e8c7632 01:19:37 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 01:19:37 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.3 01:19:37 - nexus3.edgexfoundry.org:10004/device-rest-arm64:736f30166781926f3db44e01dabdb26e1e8c7632-2.2.0-dev.3 01:19:37 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:19:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:19:38 01:19:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 01:19:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:19:38 arm64: Pulling from edgex-lftools-log-publisher 01:19:38 448f6bf000e3: Pulling fs layer 01:19:38 f757da607395: Pulling fs layer 01:19:38 05883995daec: Pulling fs layer 01:19:38 8603b9c90790: Pulling fs layer 01:19:38 1560dd03e051: Pulling fs layer 01:19:38 27f5ce0e4adf: Pulling fs layer 01:19:38 c2d8d7efcc4b: Pulling fs layer 01:19:38 8603b9c90790: Waiting 01:19:38 1560dd03e051: Waiting 01:19:38 27f5ce0e4adf: Waiting 01:19:38 c2d8d7efcc4b: Waiting 01:19:38 f757da607395: Verifying Checksum 01:19:38 f757da607395: Download complete 01:19:38 8603b9c90790: Verifying Checksum 01:19:38 8603b9c90790: Download complete 01:19:38 1560dd03e051: Verifying Checksum 01:19:38 1560dd03e051: Download complete 01:19:38 27f5ce0e4adf: Verifying Checksum 01:19:38 27f5ce0e4adf: Download complete 01:19:39 05883995daec: Verifying Checksum 01:19:39 05883995daec: Download complete 01:19:39 448f6bf000e3: Verifying Checksum 01:19:39 448f6bf000e3: Download complete 01:19:41 c2d8d7efcc4b: Verifying Checksum 01:19:41 c2d8d7efcc4b: Download complete 01:19:42 448f6bf000e3: Pull complete 01:19:43 f757da607395: Pull complete 01:19:44 05883995daec: Pull complete 01:19:45 8603b9c90790: Pull complete 01:19:46 1560dd03e051: Pull complete 01:19:46 27f5ce0e4adf: Pull complete 01:20:01 c2d8d7efcc4b: Pull complete 01:20:01 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 01:20:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:20:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 01:20:01 prd-ubuntu18.04-docker-arm64-4c-16g-1708 does not seem to be running inside a container 01:20:01 $ 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/23 -v /w/workspace/device-rest-go/23:/w/workspace/device-rest-go/23:rw,z -v /w/workspace/device-rest-go/23@tmp:/w/workspace/device-rest-go/23@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 01:20:04 $ docker top 8a284c22937041fac562291cf052589b963618e058f4632840bb7f5059e6ff26 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:20:05 ---> job-cost.sh 01:20:05 lf-activate-venv: SKIPPING 01:20:05 INFO: No Stack... 01:20:05 INFO: Retrieving Pricing Info for: v3-standard-4 01:20:06 INFO: Archiving Costs [Pipeline] sh 01:20:06 + cut -d, -f6 01:20:06 + cat /w/workspace/device-rest-go/23/archives/cost.csv [Pipeline] lock 01:20:06 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-23-stack-cost] 01:20:06 Resource [jenkins-edgexfoundry-device-rest-go-main-23-stack-cost] did not exist. Created. 01:20:06 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:20:07 /w/workspace/device-rest-go/23@tmp/durable-508ea388/script.sh: 1: /w/workspace/device-rest-go/23@tmp/durable-508ea388/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 01:20:08 + echo total: 0.10999999940395355 [Pipeline] stash 01:20:08 Warning: overwriting stash ‘stack-cost’ 01:20:08 Stashed 1 file(s) [Pipeline] } 01:20:08 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-23-stack-cost] [Pipeline] // lock [Pipeline] } 01:20:08 $ docker stop --time=1 8a284c22937041fac562291cf052589b963618e058f4632840bb7f5059e6ff26 01:20:09 $ docker rm -f 8a284c22937041fac562291cf052589b963618e058f4632840bb7f5059e6ff26 [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 01:20:10 provisioning config files... 01:20:10 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3159770655759895031tmp [Pipeline] { [Pipeline] sh 01:20:10 + set +x 01:20:10 + curl -s https://codecov.io/bash 01:20:10 + bash -s -- 01:20:10 01:20:10 _____ _ 01:20:10 / ____| | | 01:20:10 | | ___ __| | ___ ___ _____ __ 01:20:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:20:10 | |___| (_) | (_| | __/ (_| (_) \ V / 01:20:10 \_____\___/ \__,_|\___|\___\___/ \_/ 01:20:10 Bash-1.0.6 01:20:10 01:20:10 01:20:10 ==> git version 2.24.4 found 01:20:10 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 01:20:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 01:20:10 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 01:20:10 ==> Jenkins CI detected. 01:20:10 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 01:20:10 project root: . 01:20:10 --> token set from env 01:20:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:20:10 ==> Running gcov in . (disable via -X gcov) 01:20:10 ==> Python coveragepy not found 01:20:10 ==> Searching for coverage reports in: 01:20:10 + . 01:20:10 -> Found 1 reports 01:20:10 ==> Detecting git/mercurial file structure 01:20:10 ==> Reading reports 01:20:10 + ./coverage.out bytes=9215 01:20:10 ==> Appending adjustments 01:20:10 https://docs.codecov.io/docs/fixing-reports 01:20:10 + Found adjustments 01:20:10 ==> Gzipping contents 01:20:10 4.0K /tmp/codecov.5vPOGT.gz 01:20:10 ==> Uploading reports 01:20:10 url: https://codecov.io 01:20:10 query: branch=main&commit=736f30166781926f3db44e01dabdb26e1e8c7632&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:20:10 -> Pinging Codecov 01:20:10 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=736f30166781926f3db44e01dabdb26e1e8c7632&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:20:11 -> Uploading to 01:20:11 https://storage.googleapis.com/codecov/v4/raw/2022-01-18/4E5D53B4F1F92C436F7061BF334D961C/736f30166781926f3db44e01dabdb26e1e8c7632/432d624e-96b9-4a84-8bbc-39639e9f0c89.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220118%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220118T012011Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4cbfe5d89ffaaaca6982ef205422a12f425b55614f1c904d98b7c0f234abf4e3 01:20:11 % Total % Received % Xferd Average Speed Time Time Time Current 01:20:11 Dload Upload Total Spent Left Speed 01:20:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1805 0 0 100 1805 0 5459 --:--:-- --:--:-- --:--:-- 5453 01:20:11 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/736f30166781926f3db44e01dabdb26e1e8c7632 [Pipeline] } 01:20:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:20:12 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:20:12 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:20:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:20:12 01:20:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 01:20:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:20:12 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:20:12 188c0c94c7c5: Pulling fs layer 01:20:12 0ef7d3d256c8: Pulling fs layer 01:20:12 de9db76c5a1d: Pulling fs layer 01:20:12 0eba1c9be4d2: Pulling fs layer 01:20:12 0d57e429df01: Pulling fs layer 01:20:12 4e4be7b47b0d: Pulling fs layer 01:20:12 e1f770b5df2f: Pulling fs layer 01:20:12 85a0685a4137: Pulling fs layer 01:20:12 0d57e429df01: Waiting 01:20:12 4e4be7b47b0d: Waiting 01:20:12 e1f770b5df2f: Waiting 01:20:12 85a0685a4137: Waiting 01:20:12 0eba1c9be4d2: Waiting 01:20:12 de9db76c5a1d: Verifying Checksum 01:20:12 de9db76c5a1d: Download complete 01:20:12 0ef7d3d256c8: Verifying Checksum 01:20:12 0ef7d3d256c8: Download complete 01:20:12 0d57e429df01: Verifying Checksum 01:20:12 0d57e429df01: Download complete 01:20:12 4e4be7b47b0d: Verifying Checksum 01:20:12 4e4be7b47b0d: Download complete 01:20:12 188c0c94c7c5: Verifying Checksum 01:20:12 188c0c94c7c5: Download complete 01:20:13 188c0c94c7c5: Pull complete 01:20:13 0ef7d3d256c8: Pull complete 01:20:13 e1f770b5df2f: Verifying Checksum 01:20:13 e1f770b5df2f: Download complete 01:20:13 de9db76c5a1d: Pull complete 01:20:13 0eba1c9be4d2: Verifying Checksum 01:20:13 0eba1c9be4d2: Download complete 01:20:13 85a0685a4137: Verifying Checksum 01:20:13 85a0685a4137: Download complete 01:20:17 0eba1c9be4d2: Pull complete 01:20:17 0d57e429df01: Pull complete 01:20:17 4e4be7b47b0d: Pull complete 01:20:18 e1f770b5df2f: Pull complete 01:20:21 85a0685a4137: Pull complete 01:20:21 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 01:20:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:20:21 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 01:20:21 prd-centos7-docker-4c-2g-1707 does not seem to be running inside a container 01:20:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 01:20:23 $ docker top 69e7ad9d51c2f59c184f729d9838dc4592bc32b785bde4f25ad5edef8d479fd9 -eo pid,comm [Pipeline] { [Pipeline] echo 01:20:23 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 01:20:23 + set -o pipefail 01:20:23 + snyk monitor '--org=edgex-jenkins' 01:20:30 01:20:30 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 01:20:30 01:20:30 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/1e12bfb7-ce0d-4b21-aa53-c313fd52b7a4 01:20:30 01:20:30 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 01:20:30 01:20:30 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:20:30 01:20:30 [Pipeline] } 01:20:30 $ docker stop --time=1 69e7ad9d51c2f59c184f729d9838dc4592bc32b785bde4f25ad5edef8d479fd9 01:20:32 $ docker rm -f 69e7ad9d51c2f59c184f729d9838dc4592bc32b785bde4f25ad5edef8d479fd9 [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 01:20:33 + git log --format=format:%s -1 736f30166781926f3db44e01dabdb26e1e8c7632 [Pipeline] sh 01:20:33 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 01:20:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:20:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:20:33 . [Pipeline] withDockerContainer 01:20:33 prd-centos7-docker-4c-2g-1707 does not seem to be running inside a container 01:20:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:20:34 $ docker top 6ca8661b4a138c10c796f0136922c7db70f3469dc5291c8c6cdac09b2ce50538 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:20:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:20:34 [ssh-agent] Looking for ssh-agent implementation... 01:20:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:20:34 $ docker exec 6ca8661b4a138c10c796f0136922c7db70f3469dc5291c8c6cdac09b2ce50538 ssh-agent 01:20:34 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlPcIMb/agent.13 01:20:34 SSH_AGENT_PID=19 01:20:34 Running ssh-add (command line suppressed) 01:20:34 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8246148448560071252.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8246148448560071252.key) 01:20:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:20:34 + git semver tag 01:20:34 # -> Open(): unable to determine branch for HEAD 01:20:34 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 01:20:34 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 01:20:34 # $SEMVER_REMOTE_NAME = origin 01:20:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:20:34 # $SEMVER_USER_NAME = edgex-jenkins 01:20:34 # $SEMVER_BRANCH = main 01:20:34 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 01:20:34 # 736f30166781926f3db44e01dabdb26e1e8c7632 HEAD 01:20:34 # -> Force: false 01:20:34 # 4dfa80e5e809710870c70a7b86ceac759921f46b refs/tags/v2.2.0-dev.3 [Pipeline] } 01:20:34 $ docker exec --env ******** --env ******** 6ca8661b4a138c10c796f0136922c7db70f3469dc5291c8c6cdac09b2ce50538 ssh-agent -k 01:20:34 unset SSH_AUTH_SOCK; 01:20:34 unset SSH_AGENT_PID; 01:20:34 echo Agent pid 19 killed; 01:20:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:20:35 + git semver [Pipeline] } 01:20:35 $ docker stop --time=1 6ca8661b4a138c10c796f0136922c7db70f3469dc5291c8c6cdac09b2ce50538 01:20:36 $ docker rm -f 6ca8661b4a138c10c796f0136922c7db70f3469dc5291c8c6cdac09b2ce50538 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 01:20:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:20:36 01:20:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 01:20:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:20:37 0.23.1-centos7: Pulling from edgex-lftools 01:20:37 ab5ef0e58194: Pulling fs layer 01:20:37 9712f1f96733: Pulling fs layer 01:20:37 63f879dbbcfc: Pulling fs layer 01:20:37 0d9ebad4ef96: Pulling fs layer 01:20:37 e9a5061849ea: Pulling fs layer 01:20:37 d747dcd14b5f: Pulling fs layer 01:20:37 2de7ff778b66: Pulling fs layer 01:20:37 e9a5061849ea: Waiting 01:20:37 d747dcd14b5f: Waiting 01:20:37 2de7ff778b66: Waiting 01:20:37 0d9ebad4ef96: Waiting 01:20:37 9712f1f96733: Verifying Checksum 01:20:37 9712f1f96733: Download complete 01:20:37 63f879dbbcfc: Verifying Checksum 01:20:37 63f879dbbcfc: Download complete 01:20:37 ab5ef0e58194: Verifying Checksum 01:20:37 ab5ef0e58194: Download complete 01:20:37 0d9ebad4ef96: Verifying Checksum 01:20:37 0d9ebad4ef96: Download complete 01:20:37 d747dcd14b5f: Verifying Checksum 01:20:37 d747dcd14b5f: Download complete 01:20:37 e9a5061849ea: Verifying Checksum 01:20:37 e9a5061849ea: Download complete 01:20:37 2de7ff778b66: Verifying Checksum 01:20:37 2de7ff778b66: Download complete 01:20:40 ab5ef0e58194: Pull complete 01:20:40 9712f1f96733: Pull complete 01:20:41 63f879dbbcfc: Pull complete 01:20:45 0d9ebad4ef96: Pull complete 01:20:45 e9a5061849ea: Pull complete 01:20:45 d747dcd14b5f: Pull complete 01:20:47 2de7ff778b66: Pull complete 01:20:47 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:20:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:20:47 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 01:20:47 prd-centos7-docker-4c-2g-1707 does not seem to be running inside a container 01:20: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:20:50 $ docker top 7ade021038a8121c2181afd2c0af2d1826511ea22214a3b3227804701823fdb1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:20:50 provisioning config files... 01:20:50 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1457597738374271506tmp 01:20:50 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3549537378044409471tmp 01:20:50 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1723139012248966157tmp [Pipeline] { [Pipeline] echo 01:20:50 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:20:50 ---> sigul-configuration.sh 01:20:50 gpg: directory `/root/.gnupg' created 01:20:50 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:20:50 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:20:50 gpg: keyring `/root/.gnupg/secring.gpg' created 01:20:50 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:20:50 gpg: CAST5 encrypted data 01:20:50 gpg: encrypted with 1 passphrase 01:20:50 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:20:51 + mkdir /home/jenkins 01:20:51 + mkdir /home/jenkins/sigul [Pipeline] sh 01:20:51 + 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 01:20:51 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:20:51 ---> sigul-install.sh 01:20:51 Sigul already installed; skipping installation. [Pipeline] sh 01:20:52 + git tag --list 01:20:52 v1.0.0 01:20:52 v1.1.0 01:20:52 v1.1.1 01:20:52 v1.1.2 01:20:52 v1.2.0 01:20:52 v1.2.1 01:20:52 v2.0.0 01:20:52 v2.0.1-dev.1 01:20:52 v2.0.1-dev.10 01:20:52 v2.0.1-dev.11 01:20:52 v2.0.1-dev.12 01:20:52 v2.0.1-dev.13 01:20:52 v2.0.1-dev.14 01:20:52 v2.0.1-dev.2 01:20:52 v2.0.1-dev.3 01:20:52 v2.0.1-dev.4 01:20:52 v2.0.1-dev.5 01:20:52 v2.0.1-dev.6 01:20:52 v2.0.1-dev.7 01:20:52 v2.0.1-dev.8 01:20:52 v2.0.1-dev.9 01:20:52 v2.1.0 01:20:52 v2.2.0-dev.1 01:20:52 v2.2.0-dev.2 01:20:52 v2.2.0-dev.3 [Pipeline] sh 01:20:52 + lftools sign git-tag v2.2.0-dev.3 01:20:52 Signing Git tag with Sigul... 01:20:52 Signing v2.2.0-dev.3 [Pipeline] echo 01:20:53 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:20:53 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:20:53 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:20:53 $ docker stop --time=1 7ade021038a8121c2181afd2c0af2d1826511ea22214a3b3227804701823fdb1 01:20:54 $ docker rm -f 7ade021038a8121c2181afd2c0af2d1826511ea22214a3b3227804701823fdb1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:20:55 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 01:20:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:20:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:20:55 . [Pipeline] withDockerContainer 01:20:55 prd-centos7-docker-4c-2g-1707 does not seem to be running inside a container 01:20:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:20:55 $ docker top 1c45e08bbf5bbcc7254d9bd124c48ed3d324e8fc33deb838e10e6c7145f2d4d1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:20:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:20:55 [ssh-agent] Looking for ssh-agent implementation... 01:20:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:20:56 $ docker exec 1c45e08bbf5bbcc7254d9bd124c48ed3d324e8fc33deb838e10e6c7145f2d4d1 ssh-agent 01:20:56 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfNlCHD/agent.13 01:20:56 SSH_AGENT_PID=19 01:20:56 Running ssh-add (command line suppressed) 01:20:56 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1792364527119156974.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1792364527119156974.key) 01:20:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:20:56 + git semver bump pre 01:20:56 # -> Open(): unable to determine branch for HEAD 01:20:56 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 01:20:56 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 01:20:56 # $SEMVER_REMOTE_NAME = origin 01:20:56 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:20:56 # $SEMVER_USER_NAME = edgex-jenkins 01:20:56 # $SEMVER_BRANCH = main 01:20:56 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 01:20:56 2.2.0-dev.4 [Pipeline] } 01:20:56 $ docker exec --env ******** --env ******** 1c45e08bbf5bbcc7254d9bd124c48ed3d324e8fc33deb838e10e6c7145f2d4d1 ssh-agent -k 01:20:56 unset SSH_AUTH_SOCK; 01:20:56 unset SSH_AGENT_PID; 01:20:56 echo Agent pid 19 killed; 01:20:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:20:56 + git semver [Pipeline] } 01:20:57 $ docker stop --time=1 1c45e08bbf5bbcc7254d9bd124c48ed3d324e8fc33deb838e10e6c7145f2d4d1 01:20:58 $ docker rm -f 1c45e08bbf5bbcc7254d9bd124c48ed3d324e8fc33deb838e10e6c7145f2d4d1 [Pipeline] // withDockerContainer [Pipeline] sh 01:20:58 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 01:20:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:20:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:20:58 . [Pipeline] withDockerContainer 01:20:58 prd-centos7-docker-4c-2g-1707 does not seem to be running inside a container 01:20:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:20:59 $ docker top 675c71d0ff129e854c8af639a2c7acaa281a0abae7173081c06731c3a0da6a26 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:20:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:20:59 [ssh-agent] Looking for ssh-agent implementation... 01:20:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:20:59 $ docker exec 675c71d0ff129e854c8af639a2c7acaa281a0abae7173081c06731c3a0da6a26 ssh-agent 01:20:59 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhIGEDE/agent.13 01:20:59 SSH_AGENT_PID=19 01:20:59 Running ssh-add (command line suppressed) 01:20:59 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5422384958001927836.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5422384958001927836.key) 01:20:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:21:00 + git semver push 01:21:00 # -> Open(): unable to determine branch for HEAD 01:21:00 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 01:21:00 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 01:21:00 # $SEMVER_REMOTE_NAME = origin 01:21:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:21:00 # $SEMVER_USER_NAME = edgex-jenkins 01:21:00 # $SEMVER_BRANCH = main 01:21:00 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 01:21:03 $ docker exec --env ******** --env ******** 675c71d0ff129e854c8af639a2c7acaa281a0abae7173081c06731c3a0da6a26 ssh-agent -k 01:21:03 unset SSH_AUTH_SOCK; 01:21:03 unset SSH_AGENT_PID; 01:21:03 echo Agent pid 19 killed; 01:21:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:21:03 + git semver [Pipeline] } 01:21:03 $ docker stop --time=1 675c71d0ff129e854c8af639a2c7acaa281a0abae7173081c06731c3a0da6a26 01:21:04 $ docker rm -f 675c71d0ff129e854c8af639a2c7acaa281a0abae7173081c06731c3a0da6a26 [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 01:21:05 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' 01:21:05 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 01:21:05 total 8 01:21:05 drwxr-xr-x. 3 root root 34 Jan 18 01:12 . 01:21:05 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 18 01:20 .. 01:21:05 drwxr-xr-x. 2 root root 6 Jan 18 01:12 cost 01:21:05 -rw-r--r--. 1 root root 84 Jan 18 01:12 cost.csv 01:21:05 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 01:21:05 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 01:21:05 total 8 01:21:05 drwxr-xr-x. 3 jenkins jenkins 34 Jan 18 01:12 . 01:21:05 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 18 01:20 .. 01:21:05 drwxr-xr-x. 2 jenkins jenkins 6 Jan 18 01:12 cost 01:21:05 -rw-r--r--. 1 jenkins jenkins 84 Jan 18 01:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:21:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:21:06 ---> package-listing.sh 01:21:06 ++ tr '[:upper:]' '[:lower:]' 01:21:06 ++ facter osfamily 01:21:06 + OS_FAMILY=redhat 01:21:06 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 01:21:06 + START_PACKAGES=/tmp/packages_start.txt 01:21:06 + END_PACKAGES=/tmp/packages_end.txt 01:21:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:21:06 + PACKAGES=/tmp/packages_start.txt 01:21:06 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:21:06 + PACKAGES=/tmp/packages_end.txt 01:21:06 + case "${OS_FAMILY}" in 01:21:06 + rpm -qa 01:21:06 + sort 01:21:07 + '[' -f /tmp/packages_start.txt ']' 01:21:07 + '[' -f /tmp/packages_end.txt ']' 01:21:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:21:07 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:21:07 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 01:21:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 01:21:07 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -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 01:21:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:21:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:21:08 . [Pipeline] withDockerContainer 01:21:08 prd-centos7-docker-4c-2g-1707 does not seem to be running inside a container 01:21:08 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:21:08 $ docker top f757980e79368a7c5928fd7fb01c374871adba6732b65bcb8870e9175a51da61 -eo pid,comm [Pipeline] { [Pipeline] sh 01:21:08 + touch /tmp/pre-build-complete [Pipeline] sh 01:21:09 + mkdir -p /var/log/sysstat [Pipeline] sh 01:21:09 + ls /var/log/sa-host 01:21:09 + sadf -c /var/log/sa-host/sa17 01:21:09 file_magic: OK 01:21:09 HZ: Using current value: 100 01:21:09 file_header: OK 01:21:09 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 01:21:09 Statistics: 01:21:09 Hnuu...uuuununununu...Hnuu...uuuununununu... 01:21:09 File successfully converted to sysstat format version 12.0.3 01:21:09 + sadf -c /var/log/sa-host/sa18 01:21:09 file_magic: OK 01:21:09 HZ: Using current value: 100 01:21:09 file_header: OK 01:21:09 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 01:21:09 Statistics: 01:21:09 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 01:21:09 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:21:09 provisioning config files... 01:21:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7719406153036896162tmp [Pipeline] { [Pipeline] echo 01:21:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:21:09 ---> create-netrc.sh [Pipeline] } 01:21:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:21:10 ---> python-tools-install.sh [Pipeline] echo 01:21:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:21:10 ---> sudo-logs.sh 01:21:10 Archiving 'sudo' log.. 01:21:10 sudo: unable to resolve host prd-centos7-docker-4c-2g-1707.novalocal: Name or service not known 01:21:10 sudo: unable to resolve host prd-centos7-docker-4c-2g-1707.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 01:21:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:21:10 ---> job-cost.sh 01:21:10 lf-activate-venv: SKIPPING 01:21:10 DEBUG: total: 0.05999999865889549 01:21:10 INFO: Retrieving Stack Cost... 01:21:11 INFO: Retrieving Pricing Info for: v3-standard-2 01:21:11 INFO: Archiving Costs [Pipeline] echo 01:21:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:21:11 ---> logs-deploy.sh 01:21:11 lf-activate-venv: SKIPPING 01:21:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/23 01:21:11 INFO: archiving workspace using pattern(s): 01:21:12 Archives upload complete. 01:21:12 INFO: archiving logs to Nexus