Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f3318b721e0f943881393329fd3e7443e525a415 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-ssh3241036754966989495.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-ssh15972108113774110937.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-ssh18028738325458479610.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-ssh9598542297363560451.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-ssh4166289221508924474.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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2600 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-ssh8415714047768773252.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 f3318b721e0f943881393329fd3e7443e525a415 (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 f3318b721e0f943881393329fd3e7443e525a415 # timeout=10 Commit message: "Merge pull request #153 from ernestojeda/go-1_17-module-changes" > git rev-list --no-walk 7e17efc4e40053c7710c451774e80e9bfae25c24 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:19:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:19:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:19:51 ========================================================= 18:19:51 EdgeX Global Pipelines Version Info 18:19:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:19:52 ------------------- 18:19:52 stable info: 18:19:52 ------------------- 18:19:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:19:52 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 18:19:52 Message: update stable to v1.0.219 18:19:52 ------------------- 18:19:52 experimental info: 18:19:52 ------------------- 18:19:52 Commited By: **** collab-it+edgex@linuxfoundation.org 18:19:52 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 18:19:52 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f3318b721e0f943881393329fd3e7443e525a415 [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f3318b7 [Pipeline] echo 18:19:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:19:53 provisioning config files... 18:19:53 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3734539530681037845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:19:53 ---> docker-login.sh 18:19:53 nexus3.edgexfoundry.org:10001 18:19:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:19:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:19:54 Configure a credential helper to remove this warning. See 18:19:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:19:54 18:19:54 Login Succeeded 18:19:54 nexus3.edgexfoundry.org:10002 18:19:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:19:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:19:54 Configure a credential helper to remove this warning. See 18:19:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:19:54 18:19:54 Login Succeeded 18:19:54 nexus3.edgexfoundry.org:10003 18:19:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:19:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:19:54 Configure a credential helper to remove this warning. See 18:19:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:19:54 18:19:54 Login Succeeded 18:19:54 nexus3.edgexfoundry.org:10004 18:19:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:19:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:19:54 Configure a credential helper to remove this warning. See 18:19:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:19:54 18:19:54 Login Succeeded 18:19:54 docker.io 18:19:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:19:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:19:54 Configure a credential helper to remove this warning. See 18:19:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:19:54 18:19:54 Login Succeeded 18:19:54 ---> docker-login.sh ends [Pipeline] } 18:19:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:19:55 + git rev-list -1 --merges f3318b721e0f943881393329fd3e7443e525a415~1..f3318b721e0f943881393329fd3e7443e525a415 [Pipeline] echo 18:19:55 -----------> git rev-list -1 --merges f3318b721e0f943881393329fd3e7443e525a415~1..f3318b721e0f943881393329fd3e7443e525a415 f3318b721e0f943881393329fd3e7443e525a415 18:19:55 f3318b721e0f943881393329fd3e7443e525a415 [false] [Pipeline] sh 18:19:55 + git log --format=format:%s -1 f3318b721e0f943881393329fd3e7443e525a415 [Pipeline] echo 18:19:55 ========================================================= 18:19:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:19:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:19:56 + git log --format=format:%s -1 f3318b721e0f943881393329fd3e7443e525a415 [Pipeline] echo 18:19:56 [semverPrep] GIT_COMMIT: f3318b721e0f943881393329fd3e7443e525a415, Commit Message: Merge pull request #153 from ernestojeda/go-1_17-module-changes [Pipeline] echo 18:19:56 [semverPrep] This is not a build commit. [Pipeline] sh 18:19:56 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 18:19:56 + grep -v github /etc/ssh/ssh_known_hosts 18:19:56 + '[' -e /tmp/ssh_known_hosts ']' 18:19:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:19:56 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 18:19:56 + sudo tee -a /etc/ssh/ssh_known_hosts 18:19:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:19:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:19:56 18:19:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:19:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:19:57 latest: Pulling from edgex-devops/git-semver 18:19:57 a0d0a0d46f8b: Pulling fs layer 18:19:57 3e5f54012d9b: Pulling fs layer 18:19:57 4c7163046ea9: Pulling fs layer 18:19:57 0c2d73faf560: Pulling fs layer 18:19:57 0c2d73faf560: Waiting 18:19:57 3e5f54012d9b: Verifying Checksum 18:19:57 3e5f54012d9b: Download complete 18:19:57 a0d0a0d46f8b: Verifying Checksum 18:19:57 a0d0a0d46f8b: Download complete 18:19:57 4c7163046ea9: Verifying Checksum 18:19:57 4c7163046ea9: Download complete 18:19:57 0c2d73faf560: Verifying Checksum 18:19:57 0c2d73faf560: Download complete 18:19:57 a0d0a0d46f8b: Pull complete 18:19:57 3e5f54012d9b: Pull complete 18:19:57 4c7163046ea9: Pull complete 18:19:57 0c2d73faf560: Pull complete 18:19:57 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 18:19:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:19:57 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:19:58 prd-centos7-docker-4c-2g-2600 does not seem to be running inside a container 18:19:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:19:58 $ docker top 7f212901aa1073705dbbc3e927d3487ecd9432a1b8399c7d8223896d3df1158d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:19:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:19:58 [ssh-agent] Looking for ssh-agent implementation... 18:19:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:19:58 $ docker exec 7f212901aa1073705dbbc3e927d3487ecd9432a1b8399c7d8223896d3df1158d ssh-agent 18:19:58 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhcGJKP/agent.14 18:19:58 SSH_AGENT_PID=20 18:19:58 Running ssh-add (command line suppressed) 18:19:59 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8751738178141516476.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8751738178141516476.key) 18:19:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:19:59 + git tag --points-at HEAD [Pipeline] } 18:19:59 $ docker exec --env ******** --env ******** 7f212901aa1073705dbbc3e927d3487ecd9432a1b8399c7d8223896d3df1158d ssh-agent -k 18:19:59 unset SSH_AUTH_SOCK; 18:19:59 unset SSH_AGENT_PID; 18:19:59 echo Agent pid 20 killed; 18:19:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:19:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:19:59 [ssh-agent] Looking for ssh-agent implementation... 18:19:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:19:59 $ docker exec 7f212901aa1073705dbbc3e927d3487ecd9432a1b8399c7d8223896d3df1158d ssh-agent 18:19:59 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXckJgKJ/agent.54 18:19:59 SSH_AGENT_PID=61 18:19:59 Running ssh-add (command line suppressed) 18:19:59 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2004366594062096256.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2004366594062096256.key) 18:19:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:20:00 + git semver init 18:20:00 # -> Open(): unable to determine branch for HEAD 18:20:00 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 18:20:00 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 18:20:00 # $SEMVER_REMOTE_NAME = origin 18:20:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:20:00 # $SEMVER_USER_NAME = edgex-jenkins 18:20:00 # $SEMVER_BRANCH = main 18:20:00 # $SEMVER_TEMP = /tmp/semver-343881781 18:20:00 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 18:20:01 # '/tmp/semver-343881781' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' 18:20:01 # -> Force: false 18:20:01 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 18:20:01 $ docker exec --env ******** --env ******** 7f212901aa1073705dbbc3e927d3487ecd9432a1b8399c7d8223896d3df1158d ssh-agent -k 18:20:01 unset SSH_AUTH_SOCK; 18:20:01 unset SSH_AGENT_PID; 18:20:01 echo Agent pid 61 killed; 18:20:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:20:01 + git semver [Pipeline] } 18:20:01 $ docker stop --time=1 7f212901aa1073705dbbc3e927d3487ecd9432a1b8399c7d8223896d3df1158d 18:20:03 $ docker rm -f 7f212901aa1073705dbbc3e927d3487ecd9432a1b8399c7d8223896d3df1158d [Pipeline] // withDockerContainer [Pipeline] sh 18:20:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:20:03 Stashed 1 file(s) [Pipeline] echo 18:20:03 [edgeXSemver]: initialized semver on version 2.2.0-dev.5 [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 18:20:04 provisioning config files... 18:20:04 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5153214977371957563tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:20:04 ---> docker-login.sh 18:20:04 nexus3.edgexfoundry.org:10001 18:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:04 Configure a credential helper to remove this warning. See 18:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:04 18:20:04 Login Succeeded 18:20:04 nexus3.edgexfoundry.org:10002 18:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:04 Configure a credential helper to remove this warning. See 18:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:04 18:20:04 Login Succeeded 18:20:04 nexus3.edgexfoundry.org:10003 18:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:04 Configure a credential helper to remove this warning. See 18:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:04 18:20:04 Login Succeeded 18:20:04 nexus3.edgexfoundry.org:10004 18:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:04 Configure a credential helper to remove this warning. See 18:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:04 18:20:04 Login Succeeded 18:20:04 docker.io 18:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:05 Configure a credential helper to remove this warning. See 18:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:05 18:20:05 Login Succeeded 18:20:05 ---> docker-login.sh ends [Pipeline] } 18:20:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:20:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:20:05 ========================================================= 18:20:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 18:20:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:20:05 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . 18:20:05 Sending build context to Docker daemon 10.53MB 18:20:05 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 18:20:05 Step 2/12 : FROM ${BASE} AS builder 18:20:05 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 18:20:05 59bf1c3509f3: Pulling fs layer 18:20:05 666ba61612fd: Pulling fs layer 18:20:05 8ed8ca486205: Pulling fs layer 18:20:05 4fe6c5a15a65: Pulling fs layer 18:20:05 22a0e8bec74d: Pulling fs layer 18:20:05 f965cba54748: Pulling fs layer 18:20:05 861ffc35075e: Pulling fs layer 18:20:05 4b385c91608e: Pulling fs layer 18:20:05 560528eb2ebb: Pulling fs layer 18:20:05 4fe6c5a15a65: Waiting 18:20:05 22a0e8bec74d: Waiting 18:20:05 f965cba54748: Waiting 18:20:05 861ffc35075e: Waiting 18:20:05 4b385c91608e: Waiting 18:20:05 560528eb2ebb: Waiting 18:20:05 8ed8ca486205: Verifying Checksum 18:20:05 8ed8ca486205: Download complete 18:20:05 666ba61612fd: Verifying Checksum 18:20:05 666ba61612fd: Download complete 18:20:05 22a0e8bec74d: Verifying Checksum 18:20:05 22a0e8bec74d: Download complete 18:20:05 f965cba54748: Verifying Checksum 18:20:05 f965cba54748: Download complete 18:20:05 59bf1c3509f3: Verifying Checksum 18:20:05 59bf1c3509f3: Download complete 18:20:05 861ffc35075e: Verifying Checksum 18:20:05 861ffc35075e: Download complete 18:20:05 4b385c91608e: Verifying Checksum 18:20:05 4b385c91608e: Download complete 18:20:06 59bf1c3509f3: Pull complete 18:20:06 666ba61612fd: Pull complete 18:20:06 560528eb2ebb: Verifying Checksum 18:20:06 560528eb2ebb: Download complete 18:20:06 4fe6c5a15a65: Verifying Checksum 18:20:06 4fe6c5a15a65: Download complete 18:20:06 8ed8ca486205: Pull complete 18:20:11 4fe6c5a15a65: Pull complete 18:20:11 22a0e8bec74d: Pull complete 18:20:11 f965cba54748: Pull complete 18:20:11 861ffc35075e: Pull complete 18:20:11 4b385c91608e: Pull complete 18:20:13 560528eb2ebb: Pull complete 18:20:13 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 18:20:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 18:20:13 ---> dd4a08f94e63 18:20:13 Step 3/12 : ARG MAKE='make build' 18:20:15 ---> Running in a5884425bc87 18:20:15 Removing intermediate container a5884425bc87 18:20:15 ---> bbb66b80fed4 18:20:15 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:20:15 ---> Running in be41bc1225a6 18:20:15 Removing intermediate container be41bc1225a6 18:20:15 ---> 69257ce54c4c 18:20:15 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 18:20:15 ---> Running in 3901401c4e9a 18:20:15 Removing intermediate container 3901401c4e9a 18:20:15 ---> 27d7aa6b7811 18:20:15 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:20:15 ---> Running in ad7b5f7b0666 18:20:15 Removing intermediate container ad7b5f7b0666 18:20:15 ---> b8d5d2127720 18:20:15 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:20:15 ---> Running in 693b087bf5ca 18:20:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:20:17 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:20:17 (1/4) Installing openssh-keygen (8.8_p1-r1) 18:20:17 (2/4) Installing libedit (20210910.3.1-r0) 18:20:17 (3/4) Installing openssh-client-common (8.8_p1-r1) 18:20:17 (4/4) Installing openssh-client-default (8.8_p1-r1) 18:20:17 Executing busybox-1.34.1-r3.trigger 18:20:17 OK: 224 MiB in 56 packages 18:20:18 Removing intermediate container 693b087bf5ca 18:20:18 ---> bb21c2b3eafd 18:20:18 Step 8/12 : WORKDIR /device-rest-go 18:20:18 ---> Running in e28803159059 18:20:18 Removing intermediate container e28803159059 18:20:18 ---> 3bf1cf6e0c6d 18:20:18 Step 9/12 : COPY go.mod vendor* ./ 18:20:18 ---> 267eed7f590b 18:20:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:20:18 ---> Running in f0aba87e0a90 18:20:19 Still waiting to schedule task 18:20:19 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 18:20:50 Removing intermediate container f0aba87e0a90 18:20:50 ---> 5cfb9fbc504f 18:20:50 Step 11/12 : COPY . . 18:20:50 ---> 2dd8c184bcc3 18:20:50 Step 12/12 : RUN $MAKE 18:20:50 ---> Running in 6f9137074f60 18:20:50 noop 18:20:50 Removing intermediate container 6f9137074f60 18:20:50 ---> e7b06609c817 18:20:50 Successfully built e7b06609c817 18:20:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:20:50 + docker inspect -f . ci-base-image-x86_64 18:20:50 . [Pipeline] withDockerContainer 18:20:50 prd-centos7-docker-4c-2g-2600 does not seem to be running inside a container 18:20:50 $ 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 18:20:51 $ docker top 0b657659893390d17b2d9cbccb8e6c1cc6300c665bab487fbe95fea284472e3f -eo pid,comm [Pipeline] { [Pipeline] sh 18:20:51 + go version 18:20:51 go version go1.17.6 linux/amd64 [Pipeline] } 18:20:51 $ docker stop --time=1 0b657659893390d17b2d9cbccb8e6c1cc6300c665bab487fbe95fea284472e3f 18:20:52 $ docker rm -f 0b657659893390d17b2d9cbccb8e6c1cc6300c665bab487fbe95fea284472e3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:20:53 + docker inspect -f . ci-base-image-x86_64 18:20:53 . [Pipeline] withDockerContainer 18:20:53 prd-centos7-docker-4c-2g-2600 does not seem to be running inside a container 18:20:53 $ 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 18:20:53 $ docker top ac0eec79d324d8bdeada126e9316e494c395c73970a19bbbedb180109d7844d3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:20:54 + make test 18:20:54 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 18:20:54 ? github.com/edgexfoundry/device-rest-go [no test files] 18:21:12 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:21:12 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 56.0% of statements 18:21:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:21:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:21:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:21:15 ./bin/test-attribution-txt.sh [Pipeline] echo 18:21:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:21:15 $ docker stop --time=1 ac0eec79d324d8bdeada126e9316e494c395c73970a19bbbedb180109d7844d3 18:21:16 $ docker rm -f ac0eec79d324d8bdeada126e9316e494c395c73970a19bbbedb180109d7844d3 [Pipeline] // withDockerContainer [Pipeline] sh 18:21:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:21:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:21:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:21:18 + ls -al . 18:21:18 total 148 18:21:18 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 20 18:21 . 18:21:18 drwxrwxr-x. 4 jenkins jenkins 112 Jan 20 18:19 .. 18:21:18 -rw-rw-r--. 1 jenkins jenkins 7095 Jan 20 18:19 Attribution.txt 18:21:18 drwxrwxr-x. 2 jenkins jenkins 37 Jan 20 18:19 bin 18:21:18 -rw-rw-r--. 1 jenkins jenkins 7459 Jan 20 18:19 CHANGELOG.md 18:21:18 drwxrwxr-x. 3 jenkins jenkins 32 Jan 20 18:19 cmd 18:21:18 -rw-r--r--. 1 jenkins jenkins 9215 Jan 20 18:21 coverage.out 18:21:18 -rw-rw-r--. 1 jenkins jenkins 1672 Jan 20 18:19 Dockerfile 18:21:18 -rw-rw-r--. 1 jenkins jenkins 151 Jan 20 18:19 .dockerignore 18:21:18 drwxrwxr-x. 2 jenkins jenkins 76 Jan 20 18:19 driver 18:21:18 drwxrwxr-x. 8 jenkins jenkins 162 Jan 20 18:19 .git 18:21:18 drwxrwxr-x. 2 jenkins jenkins 103 Jan 20 18:19 .github 18:21:18 -rw-rw-r--. 1 jenkins jenkins 329 Jan 20 18:19 .gitignore 18:21:18 -rw-rw-r--. 1 jenkins jenkins 2894 Jan 20 18:19 go.mod 18:21:18 -rw-rw-r--. 1 jenkins jenkins 49330 Jan 20 18:19 go.sum 18:21:18 -rw-rw-r--. 1 jenkins jenkins 677 Jan 20 18:19 GOVERNANCE.md 18:21:18 -rw-rw-r--. 1 jenkins jenkins 680 Jan 20 18:19 Jenkinsfile 18:21:18 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 20 18:19 LICENSE 18:21:18 -rw-rw-r--. 1 jenkins jenkins 1078 Jan 20 18:19 Makefile 18:21:18 -rw-rw-r--. 1 jenkins jenkins 620 Jan 20 18:19 OWNERS.md 18:21:18 -rw-rw-r--. 1 jenkins jenkins 8246 Jan 20 18:19 README.md 18:21:18 drwx------. 3 jenkins jenkins 45 Jan 20 18:20 .semver 18:21:18 drwxrwxr-x. 3 jenkins jenkins 58 Jan 20 18:19 snap 18:21:18 -rw-rw-r--. 1 jenkins jenkins 11 Jan 20 18:20 VERSION 18:21:18 -rw-rw-r--. 1 jenkins jenkins 713 Jan 20 18:19 version.go [Pipeline] isUnix [Pipeline] sh 18:21:18 + 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=f3318b721e0f943881393329fd3e7443e525a415 --label arch=amd64 --label version=2.2.0-dev.5 . 18:21:18 Sending build context to Docker daemon 10.54MB 18:21:18 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 18:21:18 Step 2/25 : FROM ${BASE} AS builder 18:21:18 ---> e7b06609c817 18:21:18 Step 3/25 : ARG MAKE='make build' 18:21:18 ---> Running in 8c8c09c96fb3 18:21:18 Removing intermediate container 8c8c09c96fb3 18:21:18 ---> 1e4f7f136c11 18:21:18 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:21:18 ---> Running in f5f07c069c6e 18:21:18 Removing intermediate container f5f07c069c6e 18:21:18 ---> 15f1dcfb0193 18:21:18 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 18:21:18 ---> Running in 4e39384da0ef 18:21:18 Removing intermediate container 4e39384da0ef 18:21:18 ---> bb5ebb0a865d 18:21:18 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:21:18 ---> Running in 08e2e1cd578f 18:21:19 Removing intermediate container 08e2e1cd578f 18:21:19 ---> 246d284f0f7a 18:21:19 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:21:19 ---> Running in 10d8e4f2ffc3 18:21:19 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:21:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:21:20 OK: 224 MiB in 56 packages 18:21:20 Removing intermediate container 10d8e4f2ffc3 18:21:20 ---> fc40afd1ca71 18:21:20 Step 8/25 : WORKDIR /device-rest-go 18:21:20 ---> Running in 3a035c910263 18:21:21 Removing intermediate container 3a035c910263 18:21:21 ---> 38fda412da50 18:21:21 Step 9/25 : COPY go.mod vendor* ./ 18:21:21 ---> f1e266e83bff 18:21:21 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:21:21 ---> Running in b025bc7e4c9b 18:21:21 Removing intermediate container b025bc7e4c9b 18:21:21 ---> 36546d63f45b 18:21:21 Step 11/25 : COPY . . 18:21:22 ---> 8d6a3e5fc3ad 18:21:22 Step 12/25 : RUN $MAKE 18:21:22 ---> Running in 633d9485b737 18:21:22 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.5" -o cmd/device-rest ./cmd 18:21:34 Removing intermediate container 633d9485b737 18:21:34 ---> f07d10ed39aa 18:21:34 Step 13/25 : FROM alpine:3.14 18:21:34 3.14: Pulling from library/alpine 18:21:35 97518928ae5f: Pulling fs layer 18:21:35 97518928ae5f: Verifying Checksum 18:21:35 97518928ae5f: Download complete 18:21:35 97518928ae5f: Pull complete 18:21:35 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 18:21:35 Status: Downloaded newer image for alpine:3.14 18:21:35 ---> 0a97eee8041e 18:21:35 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:21:35 ---> Running in f3001d818c5f 18:21:35 Removing intermediate container f3001d818c5f 18:21:35 ---> 77ab6685db30 18:21:35 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 18:21:35 ---> Running in ca99e370cf3a 18:21:35 Removing intermediate container ca99e370cf3a 18:21:35 ---> a9e5a1f06889 18:21:35 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 18:21:35 ---> Running in 40af09639b6d 18:21:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:21:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:21:36 (1/6) Installing dumb-init (1.2.5-r1) 18:21:36 (2/6) Installing libgcc (10.3.1_git20210424-r2) 18:21:36 (3/6) Installing libsodium (1.0.18-r0) 18:21:36 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 18:21:36 (5/6) Installing libzmq (4.3.4-r0) 18:21:36 (6/6) Installing zeromq (4.3.4-r0) 18:21:36 Executing busybox-1.33.1-r6.trigger 18:21:36 OK: 8 MiB in 20 packages 18:21:36 Removing intermediate container 40af09639b6d 18:21:36 ---> d878b62c99de 18:21:36 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 18:21:37 ---> 394f03cb72a6 18:21:37 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 18:21:37 ---> 95f95cf21278 18:21:37 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 18:21:37 ---> 0c1a7c00efda 18:21:37 Step 20/25 : EXPOSE 59986 18:21:37 ---> Running in 0dd32322c79e 18:21:37 Removing intermediate container 0dd32322c79e 18:21:37 ---> 815f1d382a44 18:21:37 Step 21/25 : ENTRYPOINT ["/device-rest"] 18:21:37 ---> Running in 088fe73d4907 18:21:37 Removing intermediate container 088fe73d4907 18:21:37 ---> aff0ccdbb17d 18:21:37 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 18:21:37 ---> Running in a1808daab15e 18:21:37 Removing intermediate container a1808daab15e 18:21:37 ---> a77b4277e9ba 18:21:37 Step 23/25 : LABEL arch=amd64 18:21:37 ---> Running in b5fb6de9856c 18:21:37 Removing intermediate container b5fb6de9856c 18:21:37 ---> 7d1734823205 18:21:37 Step 24/25 : LABEL git_sha=f3318b721e0f943881393329fd3e7443e525a415 18:21:37 ---> Running in fa2cd3d70139 18:21:37 Removing intermediate container fa2cd3d70139 18:21:37 ---> 1028571d0566 18:21:37 Step 25/25 : LABEL version=2.2.0-dev.5 18:21:37 ---> Running in ccec10739905 18:21:37 Removing intermediate container ccec10739905 18:21:37 ---> 9a79a5c18a83 18:21:37 [Warning] One or more build-args [ARCH] were not consumed 18:21:37 Successfully built 9a79a5c18a83 18:21:37 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:21:37 provisioning config files... 18:21:37 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3045663982459156006tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:21:38 ---> docker-login.sh 18:21:38 nexus3.edgexfoundry.org:10001 18:21:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:21:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:21:38 Configure a credential helper to remove this warning. See 18:21:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:21:38 18:21:38 Login Succeeded 18:21:38 nexus3.edgexfoundry.org:10002 18:21:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:21:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:21:38 Configure a credential helper to remove this warning. See 18:21:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:21:38 18:21:38 Login Succeeded 18:21:38 nexus3.edgexfoundry.org:10003 18:21:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:21:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:21:38 Configure a credential helper to remove this warning. See 18:21:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:21:38 18:21:38 Login Succeeded 18:21:38 nexus3.edgexfoundry.org:10004 18:21:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:21:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:21:38 Configure a credential helper to remove this warning. See 18:21:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:21:38 18:21:38 Login Succeeded 18:21:38 docker.io 18:21:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:21:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:21:38 Configure a credential helper to remove this warning. See 18:21:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:21:38 18:21:38 Login Succeeded 18:21:38 ---> docker-login.sh ends [Pipeline] } 18:21:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:21:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:21:39 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 18:21:39 f3318b721e0f943881393329fd3e7443e525a415 18:21:39 latest 18:21:39 2.2.0-dev.5 18:21:39 f3318b721e0f943881393329fd3e7443e525a415-2.2.0-dev.5 18:21:39 main 18:21:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:21:39 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:f3318b721e0f943881393329fd3e7443e525a415 [Pipeline] isUnix [Pipeline] sh 18:21:39 + docker push nexus3.edgexfoundry.org:10004/device-rest:f3318b721e0f943881393329fd3e7443e525a415 18:21:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:21:39 2d21a8c01078: Preparing 18:21:39 0042537aba78: Preparing 18:21:39 1695fffaa5f4: Preparing 18:21:39 3a15f8aea316: Preparing 18:21:39 1a058d5342cc: Preparing 18:21:39 1a058d5342cc: Layer already exists 18:21:39 0042537aba78: Pushed 18:21:39 2d21a8c01078: Pushed 18:21:39 3a15f8aea316: Pushed 18:21:40 1695fffaa5f4: Pushed 18:21:40 f3318b721e0f943881393329fd3e7443e525a415: digest: sha256:bc6e1b04b7ee05c6c5854dc2c0fd5c3a41e2050ca05ed8dfd373c6e8ac7e6b50 size: 1366 [Pipeline] isUnix [Pipeline] sh 18:21:41 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 18:21:41 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 18:21:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:21:41 2d21a8c01078: Preparing 18:21:41 0042537aba78: Preparing 18:21:41 1695fffaa5f4: Preparing 18:21:41 3a15f8aea316: Preparing 18:21:41 1a058d5342cc: Preparing 18:21:41 1a058d5342cc: Layer already exists 18:21:41 3a15f8aea316: Layer already exists 18:21:41 2d21a8c01078: Layer already exists 18:21:41 1695fffaa5f4: Layer already exists 18:21:41 0042537aba78: Layer already exists 18:21:41 latest: digest: sha256:bc6e1b04b7ee05c6c5854dc2c0fd5c3a41e2050ca05ed8dfd373c6e8ac7e6b50 size: 1366 [Pipeline] isUnix [Pipeline] sh 18:21:41 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh 18:21:42 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.5 18:21:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:21:42 2d21a8c01078: Preparing 18:21:42 0042537aba78: Preparing 18:21:42 1695fffaa5f4: Preparing 18:21:42 3a15f8aea316: Preparing 18:21:42 1a058d5342cc: Preparing 18:21:42 1a058d5342cc: Layer already exists 18:21:42 2d21a8c01078: Layer already exists 18:21:42 1695fffaa5f4: Layer already exists 18:21:42 0042537aba78: Layer already exists 18:21:42 3a15f8aea316: Layer already exists 18:21:42 2.2.0-dev.5: digest: sha256:bc6e1b04b7ee05c6c5854dc2c0fd5c3a41e2050ca05ed8dfd373c6e8ac7e6b50 size: 1366 [Pipeline] isUnix [Pipeline] sh 18:21:42 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:f3318b721e0f943881393329fd3e7443e525a415-2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh 18:21:42 + docker push nexus3.edgexfoundry.org:10004/device-rest:f3318b721e0f943881393329fd3e7443e525a415-2.2.0-dev.5 18:21:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:21:42 2d21a8c01078: Preparing 18:21:42 0042537aba78: Preparing 18:21:42 1695fffaa5f4: Preparing 18:21:42 3a15f8aea316: Preparing 18:21:42 1a058d5342cc: Preparing 18:21:42 1a058d5342cc: Layer already exists 18:21:42 2d21a8c01078: Layer already exists 18:21:42 1695fffaa5f4: Layer already exists 18:21:42 3a15f8aea316: Layer already exists 18:21:42 0042537aba78: Layer already exists 18:21:42 f3318b721e0f943881393329fd3e7443e525a415-2.2.0-dev.5: digest: sha256:bc6e1b04b7ee05c6c5854dc2c0fd5c3a41e2050ca05ed8dfd373c6e8ac7e6b50 size: 1366 [Pipeline] isUnix [Pipeline] sh 18:21:42 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh 18:21:43 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 18:21:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:21:43 2d21a8c01078: Preparing 18:21:43 0042537aba78: Preparing 18:21:43 1695fffaa5f4: Preparing 18:21:43 3a15f8aea316: Preparing 18:21:43 1a058d5342cc: Preparing 18:21:43 1a058d5342cc: Layer already exists 18:21:43 2d21a8c01078: Layer already exists 18:21:43 1695fffaa5f4: Layer already exists 18:21:43 0042537aba78: Layer already exists 18:21:43 3a15f8aea316: Layer already exists 18:21:43 main: digest: sha256:bc6e1b04b7ee05c6c5854dc2c0fd5c3a41e2050ca05ed8dfd373c6e8ac7e6b50 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:21:43 ===================================================== [Pipeline] echo 18:21:43 taggedImages: 18:21:43 - nexus3.edgexfoundry.org:10004/device-rest:f3318b721e0f943881393329fd3e7443e525a415 18:21:43 - nexus3.edgexfoundry.org:10004/device-rest:latest 18:21:43 - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.5 18:21:43 - nexus3.edgexfoundry.org:10004/device-rest:f3318b721e0f943881393329fd3e7443e525a415-2.2.0-dev.5 18:21:43 - 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 18:21:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:21:43 18:21:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:21:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:21:43 latest: Pulling from edgex-lftools-log-publisher 18:21:43 b4d181a07f80: Pulling fs layer 18:21:43 a1111a8f2ec3: Pulling fs layer 18:21:43 ed53099fbce6: Pulling fs layer 18:21:43 dc539afda2c1: Pulling fs layer 18:21:43 77bc0d833cb6: Pulling fs layer 18:21:43 9065ff56babe: Pulling fs layer 18:21:43 d287ab97295c: Pulling fs layer 18:21:43 dc539afda2c1: Waiting 18:21:43 77bc0d833cb6: Waiting 18:21:43 9065ff56babe: Waiting 18:21:43 d287ab97295c: Waiting 18:21:43 a1111a8f2ec3: Verifying Checksum 18:21:43 a1111a8f2ec3: Download complete 18:21:43 dc539afda2c1: Verifying Checksum 18:21:43 dc539afda2c1: Download complete 18:21:44 ed53099fbce6: Verifying Checksum 18:21:44 ed53099fbce6: Download complete 18:21:44 77bc0d833cb6: Verifying Checksum 18:21:44 77bc0d833cb6: Download complete 18:21:44 9065ff56babe: Verifying Checksum 18:21:44 9065ff56babe: Download complete 18:21:44 b4d181a07f80: Verifying Checksum 18:21:44 b4d181a07f80: Download complete 18:21:44 d287ab97295c: Verifying Checksum 18:21:44 d287ab97295c: Download complete 18:21:45 b4d181a07f80: Pull complete 18:21:45 a1111a8f2ec3: Pull complete 18:21:46 ed53099fbce6: Pull complete 18:21:46 dc539afda2c1: Pull complete 18:21:46 77bc0d833cb6: Pull complete 18:21:46 9065ff56babe: Pull complete 18:21:52 d287ab97295c: Pull complete 18:21:52 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 18:21:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:21:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:21:52 prd-centos7-docker-4c-2g-2600 does not seem to be running inside a container 18:21:52 $ 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 18:21:55 $ docker top f5c5c5a7653c9ef8248cb015d8954d03389f6120574707a7fd781c497259f8cd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:21:55 ---> job-cost.sh 18:21:55 lf-activate-venv: SKIPPING 18:21:55 INFO: No Stack... 18:21:55 INFO: Retrieving Pricing Info for: v3-standard-2 18:21:56 INFO: Archiving Costs [Pipeline] sh 18:21:56 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 18:21:56 + cut -d, -f6 [Pipeline] lock 18:21:56 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-25-stack-cost] 18:21:56 Resource [jenkins-edgexfoundry-device-rest-go-main-25-stack-cost] did not exist. Created. 18:21:56 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:21:57 + echo total: 0.05999999865889549 [Pipeline] stash 18:21:57 Stashed 1 file(s) [Pipeline] } 18:21:57 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-25-stack-cost] [Pipeline] // lock [Pipeline] } 18:21:57 $ docker stop --time=1 f5c5c5a7653c9ef8248cb015d8954d03389f6120574707a7fd781c497259f8cd 18:21:58 $ docker rm -f f5c5c5a7653c9ef8248cb015d8954d03389f6120574707a7fd781c497259f8cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:25:08 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2855 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 18:25:08 Running in /w/workspace/device-rest-go/25 [Pipeline] { [Pipeline] checkout 18:25:08 The recommended git tool is: git 18:25:14 using credential edgex-jenkins-ssh 18:25:14 Cloning the remote Git repository 18:25:14 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:25:14 > git init /w/workspace/device-rest-go/25 # timeout=10 18:25:14 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:25:14 > git --version # timeout=10 18:25:14 > git --version # 'git version 2.17.1' 18:25:14 using GIT_SSH to set credentials SSH Credentials for GitHub 18:25:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:25:16 Avoid second fetch 18:25:16 Checking out Revision f3318b721e0f943881393329fd3e7443e525a415 (main) 18:25:16 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:25:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:25:16 > git config core.sparsecheckout # timeout=10 18:25:16 > git checkout -f f3318b721e0f943881393329fd3e7443e525a415 # timeout=10 18:25:20 Commit message: "Merge pull request #153 from ernestojeda/go-1_17-module-changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:25:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:25:21 % Total % Received % Xferd Average Speed Time Time Time Current 18:25:21 Dload Upload Total Spent Left Speed 18:25:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 210k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 18:25:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:25:22 + sudo tee /etc/docker/daemon.new 18:25:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:25:22 { 18:25:22 "registry-mirrors": [ 18:25:22 "https://nexus3.edgexfoundry.org:10001" 18:25:22 ], 18:25:22 "bip": "10.250.0.254/24", 18:25:22 "hosts": [ 18:25:22 "tcp://0.0.0.0:5555", 18:25:22 "unix:///var/run/docker.sock" 18:25:22 ], 18:25:22 "mtu": 1458, 18:25:22 "selinux-enabled": true, 18:25:22 "seccomp-profile": "/etc/docker/seccomp.json" 18:25:22 } [Pipeline] sh 18:25:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:25:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:25:41 provisioning config files... 18:25:41 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/25@tmp/config999226602601410072tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:25:42 ---> docker-login.sh 18:25:42 nexus3.edgexfoundry.org:10001 18:25:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:43 Configure a credential helper to remove this warning. See 18:25:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:43 18:25:43 Login Succeeded 18:25:43 nexus3.edgexfoundry.org:10002 18:25:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:43 Configure a credential helper to remove this warning. See 18:25:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:43 18:25:43 Login Succeeded 18:25:43 nexus3.edgexfoundry.org:10003 18:25:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:43 Configure a credential helper to remove this warning. See 18:25:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:43 18:25:43 Login Succeeded 18:25:43 nexus3.edgexfoundry.org:10004 18:25:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:44 Configure a credential helper to remove this warning. See 18:25:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:44 18:25:44 Login Succeeded 18:25:44 docker.io 18:25:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:45 Configure a credential helper to remove this warning. See 18:25:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:45 18:25:45 Login Succeeded 18:25:45 ---> docker-login.sh ends [Pipeline] } 18:25:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:25:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:25:45 ========================================================= 18:25:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 18:25:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:25:45 + 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 . 18:25:45 Sending build context to Docker daemon 124.4kB 18:25:46 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 18:25:46 Step 2/12 : FROM ${BASE} AS builder 18:25:46 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:25:46 9b3977197b4f: Pulling fs layer 18:25:46 1a89e8eeedd5: Pulling fs layer 18:25:46 94645a83ff95: Pulling fs layer 18:25:46 3f3a8bcf1eab: Pulling fs layer 18:25:46 0c92f367c5e7: Pulling fs layer 18:25:46 4b8299f9d1f4: Pulling fs layer 18:25:46 9a6b49a46696: Pulling fs layer 18:25:46 cf05db05a679: Pulling fs layer 18:25:46 3f3a8bcf1eab: Waiting 18:25:46 0c92f367c5e7: Waiting 18:25:46 4b8299f9d1f4: Waiting 18:25:46 9a6b49a46696: Waiting 18:25:46 cf05db05a679: Waiting 18:25:46 94645a83ff95: Verifying Checksum 18:25:46 94645a83ff95: Download complete 18:25:46 1a89e8eeedd5: Verifying Checksum 18:25:46 1a89e8eeedd5: Download complete 18:25:46 0c92f367c5e7: Verifying Checksum 18:25:46 0c92f367c5e7: Download complete 18:25:46 4b8299f9d1f4: Download complete 18:25:46 9b3977197b4f: Download complete 18:25:46 9a6b49a46696: Verifying Checksum 18:25:46 9a6b49a46696: Download complete 18:25:47 9b3977197b4f: Pull complete 18:25:47 1a89e8eeedd5: Pull complete 18:25:48 94645a83ff95: Pull complete 18:25:48 cf05db05a679: Verifying Checksum 18:25:48 cf05db05a679: Download complete 18:25:49 3f3a8bcf1eab: Verifying Checksum 18:25:49 3f3a8bcf1eab: Download complete 18:26:01 3f3a8bcf1eab: Pull complete 18:26:01 0c92f367c5e7: Pull complete 18:26:01 4b8299f9d1f4: Pull complete 18:26:01 9a6b49a46696: Pull complete 18:26:05 cf05db05a679: Pull complete 18:26:05 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 18:26:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 18:26:05 ---> 0ccda1f7e2ee 18:26:05 Step 3/12 : ARG MAKE='make build' 18:26:08 ---> Running in 999a301ed4e0 18:26:08 Removing intermediate container 999a301ed4e0 18:26:08 ---> 264400f12ee7 18:26:08 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:26:09 ---> Running in 1f2825b4e240 18:26:09 Removing intermediate container 1f2825b4e240 18:26:09 ---> 25c27c61ca69 18:26:09 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 18:26:09 ---> Running in 7dce59ac294b 18:26:09 Removing intermediate container 7dce59ac294b 18:26:09 ---> e9cc9ae9d85d 18:26:09 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:26:10 ---> Running in 69138d80674c 18:26:12 Removing intermediate container 69138d80674c 18:26:12 ---> ae24e3f6ec8b 18:26:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:26:12 ---> Running in 04df2b2895f0 18:26:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:26:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:26:15 (1/4) Installing openssh-keygen (8.8_p1-r1) 18:26:15 (2/4) Installing libedit (20210910.3.1-r0) 18:26:15 (3/4) Installing openssh-client-common (8.8_p1-r1) 18:26:15 (4/4) Installing openssh-client-default (8.8_p1-r1) 18:26:16 Executing busybox-1.34.1-r3.trigger 18:26:16 OK: 224 MiB in 56 packages 18:26:17 Removing intermediate container 04df2b2895f0 18:26:17 ---> 92a689353e74 18:26:17 Step 8/12 : WORKDIR /device-rest-go 18:26:17 ---> Running in 8535f2092190 18:26:17 Removing intermediate container 8535f2092190 18:26:17 ---> 6ebd92342eec 18:26:17 Step 9/12 : COPY go.mod vendor* ./ 18:26:18 ---> 07eb44a2ec07 18:26:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:26:18 ---> Running in 5cb4cbb6f0aa 18:27:40 Removing intermediate container 5cb4cbb6f0aa 18:27:40 ---> f611241ab1f9 18:27:40 Step 11/12 : COPY . . 18:27:40 ---> 37420f212081 18:27:40 Step 12/12 : RUN $MAKE 18:27:40 ---> Running in ba72173b7930 18:27:40 noop 18:27:40 Removing intermediate container ba72173b7930 18:27:40 ---> 8c9d2021cc14 18:27:40 Successfully built 8c9d2021cc14 18:27:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:27:40 + docker inspect -f . ci-base-image-arm64 18:27:40 . [Pipeline] withDockerContainer 18:27:40 prd-ubuntu18.04-docker-arm64-4c-16g-2855 does not seem to be running inside a container 18:27:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/25 -v /w/workspace/device-rest-go/25:/w/workspace/device-rest-go/25:rw,z -v /w/workspace/device-rest-go/25@tmp:/w/workspace/device-rest-go/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:27:42 $ docker top 0470252e89ff38d73ecbeabb890467c38b3be9e1e9fcf7a6d8e810f9c14db549 -eo pid,comm [Pipeline] { [Pipeline] sh 18:27:43 + go version 18:27:43 go version go1.17.6 linux/arm64 [Pipeline] } 18:27:43 $ docker stop --time=1 0470252e89ff38d73ecbeabb890467c38b3be9e1e9fcf7a6d8e810f9c14db549 18:27:44 $ docker rm -f 0470252e89ff38d73ecbeabb890467c38b3be9e1e9fcf7a6d8e810f9c14db549 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:27:45 + docker inspect -f . ci-base-image-arm64 18:27:45 . [Pipeline] withDockerContainer 18:27:45 prd-ubuntu18.04-docker-arm64-4c-16g-2855 does not seem to be running inside a container 18:27:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/25 -v /w/workspace/device-rest-go/25:/w/workspace/device-rest-go/25:rw,z -v /w/workspace/device-rest-go/25@tmp:/w/workspace/device-rest-go/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:27:47 $ docker top d08dfeda1cd12de7dcb2e0e3e46bdd6ed91cd6a4ed38469d41c767c0f22cecbb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:27:48 + make test 18:27:48 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 18:27:49 ? github.com/edgexfoundry/device-rest-go [no test files] 18:28:46 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:28:46 ok github.com/edgexfoundry/device-rest-go/driver 0.060s coverage: 56.0% of statements 18:28:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:29:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:29:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:29:08 ./bin/test-attribution-txt.sh [Pipeline] echo 18:29:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:29:10 $ docker stop --time=1 d08dfeda1cd12de7dcb2e0e3e46bdd6ed91cd6a4ed38469d41c767c0f22cecbb 18:29:11 $ docker rm -f d08dfeda1cd12de7dcb2e0e3e46bdd6ed91cd6a4ed38469d41c767c0f22cecbb [Pipeline] // withDockerContainer [Pipeline] sh 18:29:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:29:12 Warning: overwriting stash ‘coverage-report’ 18:29:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:29:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:29:14 + ls -al . 18:29:14 total 176 18:29:14 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 18:29 . 18:29:14 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 18:25 .. 18:29:14 -rw-rw-r-- 1 jenkins jenkins 151 Jan 20 18:25 .dockerignore 18:29:14 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 18:25 .git 18:29:14 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:25 .github 18:29:14 -rw-rw-r-- 1 jenkins jenkins 329 Jan 20 18:25 .gitignore 18:29:14 -rw-rw-r-- 1 jenkins jenkins 7095 Jan 20 18:25 Attribution.txt 18:29:14 -rw-rw-r-- 1 jenkins jenkins 7459 Jan 20 18:25 CHANGELOG.md 18:29:14 -rw-rw-r-- 1 jenkins jenkins 1672 Jan 20 18:25 Dockerfile 18:29:14 -rw-rw-r-- 1 jenkins jenkins 677 Jan 20 18:25 GOVERNANCE.md 18:29:14 -rw-rw-r-- 1 jenkins jenkins 680 Jan 20 18:25 Jenkinsfile 18:29:14 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 20 18:25 LICENSE 18:29:14 -rw-rw-r-- 1 jenkins jenkins 1078 Jan 20 18:25 Makefile 18:29:14 -rw-rw-r-- 1 jenkins jenkins 620 Jan 20 18:25 OWNERS.md 18:29:14 -rw-rw-r-- 1 jenkins jenkins 8246 Jan 20 18:25 README.md 18:29:14 -rw-rw-r-- 1 jenkins jenkins 11 Jan 20 18:20 VERSION 18:29:14 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:25 bin 18:29:14 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 18:25 cmd 18:29:14 -rw-r--r-- 1 jenkins jenkins 9215 Jan 20 18:28 coverage.out 18:29:14 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:25 driver 18:29:14 -rw-rw-r-- 1 jenkins jenkins 2894 Jan 20 18:25 go.mod 18:29:14 -rw-rw-r-- 1 jenkins jenkins 49330 Jan 20 18:25 go.sum 18:29:14 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 18:25 snap 18:29:14 -rw-rw-r-- 1 jenkins jenkins 713 Jan 20 18:25 version.go [Pipeline] isUnix [Pipeline] sh 18:29:14 + 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=f3318b721e0f943881393329fd3e7443e525a415 --label arch=arm64 --label version=2.2.0-dev.5 . 18:29:14 Sending build context to Docker daemon 134.1kB 18:29:14 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 18:29:14 Step 2/25 : FROM ${BASE} AS builder 18:29:14 ---> 8c9d2021cc14 18:29:14 Step 3/25 : ARG MAKE='make build' 18:29:15 ---> Running in d364d9c3d782 18:29:15 Removing intermediate container d364d9c3d782 18:29:15 ---> 9e6d23bba188 18:29:15 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:29:15 ---> Running in e22fc31b22a5 18:29:15 Removing intermediate container e22fc31b22a5 18:29:15 ---> 8894a21e4c3a 18:29:15 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 18:29:15 ---> Running in 31f72a3abdc9 18:29:16 Removing intermediate container 31f72a3abdc9 18:29:16 ---> 19e22a81f47f 18:29:16 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:29:16 ---> Running in 4e3eb480dae2 18:29:18 Removing intermediate container 4e3eb480dae2 18:29:18 ---> cbe560ce12e3 18:29:18 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:29:18 ---> Running in b3b6ce0e1fa3 18:29:19 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:29:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:29:21 OK: 224 MiB in 56 packages 18:29:22 Removing intermediate container b3b6ce0e1fa3 18:29:22 ---> d0b63fde4d9e 18:29:22 Step 8/25 : WORKDIR /device-rest-go 18:29:22 ---> Running in c07524e3da40 18:29:22 Removing intermediate container c07524e3da40 18:29:22 ---> de237d78b48f 18:29:22 Step 9/25 : COPY go.mod vendor* ./ 18:29:23 ---> 1cfed8685d15 18:29:23 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:29:23 ---> Running in 7d4668169b9f 18:29:25 Removing intermediate container 7d4668169b9f 18:29:25 ---> 9b3ed0caf406 18:29:25 Step 11/25 : COPY . . 18:29:26 ---> c62a61e42740 18:29:26 Step 12/25 : RUN $MAKE 18:29:26 ---> Running in 1214694f3bf1 18:29:27 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.5" -o cmd/device-rest ./cmd 18:30:14 Removing intermediate container 1214694f3bf1 18:30:14 ---> 59f069b7f79a 18:30:14 Step 13/25 : FROM alpine:3.14 18:30:14 3.14: Pulling from library/alpine 18:30:14 be307f383ecc: Pulling fs layer 18:30:14 be307f383ecc: Verifying Checksum 18:30:14 be307f383ecc: Download complete 18:30:14 be307f383ecc: Pull complete 18:30:14 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 18:30:14 Status: Downloaded newer image for alpine:3.14 18:30:14 ---> 5b8b7b635229 18:30:14 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:30:14 ---> Running in 0e1d0ea46c9d 18:30:14 Removing intermediate container 0e1d0ea46c9d 18:30:14 ---> f29bec19fe73 18:30:14 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 18:30:14 ---> Running in b4e46293ec43 18:30:14 Removing intermediate container b4e46293ec43 18:30:14 ---> a5a372d85ee5 18:30:14 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 18:30:14 ---> Running in 61c4970314c2 18:30:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 18:30:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 18:30:15 (1/6) Installing dumb-init (1.2.5-r1) 18:30:15 (2/6) Installing libgcc (10.3.1_git20210424-r2) 18:30:15 (3/6) Installing libsodium (1.0.18-r0) 18:30:15 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 18:30:15 (5/6) Installing libzmq (4.3.4-r0) 18:30:15 (6/6) Installing zeromq (4.3.4-r0) 18:30:15 Executing busybox-1.33.1-r6.trigger 18:30:15 OK: 8 MiB in 20 packages 18:30:16 Removing intermediate container 61c4970314c2 18:30:16 ---> cbdcc572a829 18:30:16 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 18:30:17 ---> 0f698440d63d 18:30:17 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 18:30:18 ---> b0cf3206784e 18:30:18 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 18:30:19 ---> b10920ed8dbd 18:30:19 Step 20/25 : EXPOSE 59986 18:30:19 ---> Running in 02db647a67e3 18:30:19 Removing intermediate container 02db647a67e3 18:30:19 ---> 4967c658739e 18:30:19 Step 21/25 : ENTRYPOINT ["/device-rest"] 18:30:19 ---> Running in 6810a56cf23e 18:30:19 Removing intermediate container 6810a56cf23e 18:30:19 ---> 83b49eafb7c9 18:30:19 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 18:30:20 ---> Running in fdb2c2396bc4 18:30:20 Removing intermediate container fdb2c2396bc4 18:30:20 ---> 678f92df2a09 18:30:20 Step 23/25 : LABEL arch=arm64 18:30:20 ---> Running in 2f801fb64ef5 18:30:20 Removing intermediate container 2f801fb64ef5 18:30:20 ---> d03bd7f21783 18:30:20 Step 24/25 : LABEL git_sha=f3318b721e0f943881393329fd3e7443e525a415 18:30:20 ---> Running in aa8c52026160 18:30:21 Removing intermediate container aa8c52026160 18:30:21 ---> b1828d2b1b8f 18:30:21 Step 25/25 : LABEL version=2.2.0-dev.5 18:30:21 ---> Running in 3cf913a8404b 18:30:21 Removing intermediate container 3cf913a8404b 18:30:21 ---> da1164474305 18:30:21 [Warning] One or more build-args [ARCH] were not consumed 18:30:21 Successfully built da1164474305 18:30:21 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 18:30:21 provisioning config files... 18:30:21 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/25@tmp/config7070955449969038984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:30:22 ---> docker-login.sh 18:30:22 nexus3.edgexfoundry.org:10001 18:30:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:22 Configure a credential helper to remove this warning. See 18:30:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:22 18:30:22 Login Succeeded 18:30:22 nexus3.edgexfoundry.org:10002 18:30:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:23 Configure a credential helper to remove this warning. See 18:30:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:23 18:30:23 Login Succeeded 18:30:23 nexus3.edgexfoundry.org:10003 18:30:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:23 Configure a credential helper to remove this warning. See 18:30:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:23 18:30:23 Login Succeeded 18:30:23 nexus3.edgexfoundry.org:10004 18:30:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:24 Configure a credential helper to remove this warning. See 18:30:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:24 18:30:24 Login Succeeded 18:30:24 docker.io 18:30:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:25 Configure a credential helper to remove this warning. See 18:30:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:25 18:30:25 Login Succeeded 18:30:25 ---> docker-login.sh ends [Pipeline] } 18:30:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:30:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:30:25 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 18:30:25 f3318b721e0f943881393329fd3e7443e525a415 18:30:25 latest 18:30:25 2.2.0-dev.5 18:30:25 f3318b721e0f943881393329fd3e7443e525a415-2.2.0-dev.5 18:30:25 main 18:30:25 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:30:25 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:f3318b721e0f943881393329fd3e7443e525a415 [Pipeline] isUnix [Pipeline] sh 18:30:25 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:f3318b721e0f943881393329fd3e7443e525a415 18:30:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:30:25 0a4b983ad251: Preparing 18:30:25 1348a7e7c5a6: Preparing 18:30:25 b5823827f77f: Preparing 18:30:25 71e4da693d1a: Preparing 18:30:25 62170e181a92: Preparing 18:30:26 62170e181a92: Layer already exists 18:30:26 1348a7e7c5a6: Pushed 18:30:26 0a4b983ad251: Pushed 18:30:26 71e4da693d1a: Pushed 18:30:29 b5823827f77f: Pushed 18:30:29 f3318b721e0f943881393329fd3e7443e525a415: digest: sha256:fb7e8daae308cd9dd65241d084c9e984ceb6a1f0e50b98e7f444182a5fb63194 size: 1365 [Pipeline] isUnix [Pipeline] sh 18:30:29 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:30:30 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 18:30:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:30:30 0a4b983ad251: Preparing 18:30:30 1348a7e7c5a6: Preparing 18:30:30 b5823827f77f: Preparing 18:30:30 71e4da693d1a: Preparing 18:30:30 62170e181a92: Preparing 18:30:30 b5823827f77f: Layer already exists 18:30:30 71e4da693d1a: Layer already exists 18:30:30 62170e181a92: Layer already exists 18:30:30 1348a7e7c5a6: Layer already exists 18:30:30 0a4b983ad251: Layer already exists 18:30:30 latest: digest: sha256:fb7e8daae308cd9dd65241d084c9e984ceb6a1f0e50b98e7f444182a5fb63194 size: 1365 [Pipeline] isUnix [Pipeline] sh 18:30:30 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh 18:30:31 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.5 18:30:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:30:31 0a4b983ad251: Preparing 18:30:31 1348a7e7c5a6: Preparing 18:30:31 b5823827f77f: Preparing 18:30:31 71e4da693d1a: Preparing 18:30:31 62170e181a92: Preparing 18:30:31 0a4b983ad251: Layer already exists 18:30:31 b5823827f77f: Layer already exists 18:30:31 1348a7e7c5a6: Layer already exists 18:30:31 62170e181a92: Layer already exists 18:30:31 71e4da693d1a: Layer already exists 18:30:31 2.2.0-dev.5: digest: sha256:fb7e8daae308cd9dd65241d084c9e984ceb6a1f0e50b98e7f444182a5fb63194 size: 1365 [Pipeline] isUnix [Pipeline] sh 18:30:31 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:f3318b721e0f943881393329fd3e7443e525a415-2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh 18:30:32 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:f3318b721e0f943881393329fd3e7443e525a415-2.2.0-dev.5 18:30:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:30:32 0a4b983ad251: Preparing 18:30:32 1348a7e7c5a6: Preparing 18:30:32 b5823827f77f: Preparing 18:30:32 71e4da693d1a: Preparing 18:30:32 62170e181a92: Preparing 18:30:32 71e4da693d1a: Layer already exists 18:30:32 b5823827f77f: Layer already exists 18:30:32 0a4b983ad251: Layer already exists 18:30:32 1348a7e7c5a6: Layer already exists 18:30:32 62170e181a92: Layer already exists 18:30:32 f3318b721e0f943881393329fd3e7443e525a415-2.2.0-dev.5: digest: sha256:fb7e8daae308cd9dd65241d084c9e984ceb6a1f0e50b98e7f444182a5fb63194 size: 1365 [Pipeline] isUnix [Pipeline] sh 18:30:32 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh 18:30:32 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 18:30:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:30:32 0a4b983ad251: Preparing 18:30:32 1348a7e7c5a6: Preparing 18:30:32 b5823827f77f: Preparing 18:30:32 71e4da693d1a: Preparing 18:30:32 62170e181a92: Preparing 18:30:32 0a4b983ad251: Layer already exists 18:30:32 71e4da693d1a: Layer already exists 18:30:32 62170e181a92: Layer already exists 18:30:32 1348a7e7c5a6: Layer already exists 18:30:32 b5823827f77f: Layer already exists 18:30:33 main: digest: sha256:fb7e8daae308cd9dd65241d084c9e984ceb6a1f0e50b98e7f444182a5fb63194 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:30:33 ===================================================== [Pipeline] echo 18:30:33 taggedImages: 18:30:33 - nexus3.edgexfoundry.org:10004/device-rest-arm64:f3318b721e0f943881393329fd3e7443e525a415 18:30:33 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 18:30:33 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.5 18:30:33 - nexus3.edgexfoundry.org:10004/device-rest-arm64:f3318b721e0f943881393329fd3e7443e525a415-2.2.0-dev.5 18:30:33 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:30:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:30:33 18:30:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 18:30:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:30:34 arm64: Pulling from edgex-lftools-log-publisher 18:30:34 448f6bf000e3: Pulling fs layer 18:30:34 f757da607395: Pulling fs layer 18:30:34 05883995daec: Pulling fs layer 18:30:34 8603b9c90790: Pulling fs layer 18:30:34 1560dd03e051: Pulling fs layer 18:30:34 27f5ce0e4adf: Pulling fs layer 18:30:34 c2d8d7efcc4b: Pulling fs layer 18:30:34 1560dd03e051: Waiting 18:30:34 27f5ce0e4adf: Waiting 18:30:34 c2d8d7efcc4b: Waiting 18:30:34 8603b9c90790: Waiting 18:30:34 f757da607395: Verifying Checksum 18:30:34 f757da607395: Download complete 18:30:34 8603b9c90790: Verifying Checksum 18:30:34 8603b9c90790: Download complete 18:30:34 1560dd03e051: Verifying Checksum 18:30:34 1560dd03e051: Download complete 18:30:34 05883995daec: Verifying Checksum 18:30:34 05883995daec: Download complete 18:30:34 27f5ce0e4adf: Verifying Checksum 18:30:34 27f5ce0e4adf: Download complete 18:30:34 448f6bf000e3: Download complete 18:30:37 c2d8d7efcc4b: Verifying Checksum 18:30:37 c2d8d7efcc4b: Download complete 18:30:38 448f6bf000e3: Pull complete 18:30:39 f757da607395: Pull complete 18:30:40 05883995daec: Pull complete 18:30:40 8603b9c90790: Pull complete 18:30:41 1560dd03e051: Pull complete 18:30:42 27f5ce0e4adf: Pull complete 18:31:00 c2d8d7efcc4b: Pull complete 18:31:00 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 18:31:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:31:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 18:31:00 prd-ubuntu18.04-docker-arm64-4c-16g-2855 does not seem to be running inside a container 18:31:00 $ 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/25 -v /w/workspace/device-rest-go/25:/w/workspace/device-rest-go/25:rw,z -v /w/workspace/device-rest-go/25@tmp:/w/workspace/device-rest-go/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:31:03 $ docker top ba796259b4ccde2a0c3e313322cd238d3c2afab2b214e61208aa689d31706ffd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:31:04 ---> job-cost.sh 18:31:04 lf-activate-venv: SKIPPING 18:31:04 INFO: No Stack... 18:31:05 INFO: Retrieving Pricing Info for: v3-standard-4 18:31:05 INFO: Archiving Costs [Pipeline] sh 18:31:06 + cat /w/workspace/device-rest-go/25/archives/cost.csv 18:31:06 + cut -d, -f6 [Pipeline] lock 18:31:06 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-25-stack-cost] 18:31:06 Resource [jenkins-edgexfoundry-device-rest-go-main-25-stack-cost] did not exist. Created. 18:31:06 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:31:07 /w/workspace/device-rest-go/25@tmp/durable-f91548a8/script.sh: 1: /w/workspace/device-rest-go/25@tmp/durable-f91548a8/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:31:07 + echo total: 0.10999999940395355 [Pipeline] stash 18:31:07 Warning: overwriting stash ‘stack-cost’ 18:31:07 Stashed 1 file(s) [Pipeline] } 18:31:07 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-25-stack-cost] [Pipeline] // lock [Pipeline] } 18:31:07 $ docker stop --time=1 ba796259b4ccde2a0c3e313322cd238d3c2afab2b214e61208aa689d31706ffd 18:31:09 $ docker rm -f ba796259b4ccde2a0c3e313322cd238d3c2afab2b214e61208aa689d31706ffd [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 18:31:09 provisioning config files... 18:31:09 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8632259957139740130tmp [Pipeline] { [Pipeline] sh 18:31:10 + set +x 18:31:10 + curl -s https://codecov.io/bash 18:31:10 + bash -s -- 18:31:10 18:31:10 _____ _ 18:31:10 / ____| | | 18:31:10 | | ___ __| | ___ ___ _____ __ 18:31:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:31:10 | |___| (_) | (_| | __/ (_| (_) \ V / 18:31:10 \_____\___/ \__,_|\___|\___\___/ \_/ 18:31:10 Bash-1.0.6 18:31:10 18:31:10 18:31:10 ==> git version 2.24.4 found 18:31: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 18:31:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:31:10 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:31:10 ==> Jenkins CI detected. 18:31:10 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 18:31:10 project root: . 18:31:10 --> token set from env 18:31:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:31:10 ==> Running gcov in . (disable via -X gcov) 18:31:10 ==> Python coveragepy not found 18:31:10 ==> Searching for coverage reports in: 18:31:10 + . 18:31:10 -> Found 1 reports 18:31:10 ==> Detecting git/mercurial file structure 18:31:10 ==> Reading reports 18:31:10 + ./coverage.out bytes=9215 18:31:10 ==> Appending adjustments 18:31:10 https://docs.codecov.io/docs/fixing-reports 18:31:10 + Found adjustments 18:31:10 ==> Gzipping contents 18:31:10 4.0K /tmp/codecov.XEsade.gz 18:31:10 ==> Uploading reports 18:31:10 url: https://codecov.io 18:31:10 query: branch=main&commit=f3318b721e0f943881393329fd3e7443e525a415&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:31:10 -> Pinging Codecov 18:31: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=f3318b721e0f943881393329fd3e7443e525a415&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:31:10 -> Uploading to 18:31:10 https://storage.googleapis.com/codecov/v4/raw/2022-01-20/4E5D53B4F1F92C436F7061BF334D961C/f3318b721e0f943881393329fd3e7443e525a415/757468fb-115e-4da4-887b-1e57dbd14234.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220120%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220120T183110Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7cf780eea9b114d35d7205ec3c7f2f255ef2730f3e86a261235d041ccadb776a 18:31:10 % Total % Received % Xferd Average Speed Time Time Time Current 18:31:10 Dload Upload Total Spent Left Speed 18:31:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1805 0 0 100 1805 0 5431 --:--:-- --:--:-- --:--:-- 5436 18:31:11 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/f3318b721e0f943881393329fd3e7443e525a415 [Pipeline] } 18:31:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:31:11 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:31:11 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:31:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:31:11 18:31:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 18:31:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:31:12 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:31:12 188c0c94c7c5: Pulling fs layer 18:31:12 0ef7d3d256c8: Pulling fs layer 18:31:12 de9db76c5a1d: Pulling fs layer 18:31:12 0eba1c9be4d2: Pulling fs layer 18:31:12 0d57e429df01: Pulling fs layer 18:31:12 4e4be7b47b0d: Pulling fs layer 18:31:12 e1f770b5df2f: Pulling fs layer 18:31:12 85a0685a4137: Pulling fs layer 18:31:12 0eba1c9be4d2: Waiting 18:31:12 0d57e429df01: Waiting 18:31:12 4e4be7b47b0d: Waiting 18:31:12 e1f770b5df2f: Waiting 18:31:12 85a0685a4137: Waiting 18:31:12 de9db76c5a1d: Verifying Checksum 18:31:12 de9db76c5a1d: Download complete 18:31:12 0ef7d3d256c8: Verifying Checksum 18:31:12 0ef7d3d256c8: Download complete 18:31:12 0d57e429df01: Verifying Checksum 18:31:12 0d57e429df01: Download complete 18:31:12 4e4be7b47b0d: Verifying Checksum 18:31:12 4e4be7b47b0d: Download complete 18:31:12 188c0c94c7c5: Verifying Checksum 18:31:12 188c0c94c7c5: Download complete 18:31:12 e1f770b5df2f: Verifying Checksum 18:31:12 e1f770b5df2f: Download complete 18:31:12 188c0c94c7c5: Pull complete 18:31:12 0ef7d3d256c8: Pull complete 18:31:12 de9db76c5a1d: Pull complete 18:31:12 0eba1c9be4d2: Verifying Checksum 18:31:12 0eba1c9be4d2: Download complete 18:31:13 85a0685a4137: Verifying Checksum 18:31:13 85a0685a4137: Download complete 18:31:16 0eba1c9be4d2: Pull complete 18:31:16 0d57e429df01: Pull complete 18:31:16 4e4be7b47b0d: Pull complete 18:31:17 e1f770b5df2f: Pull complete 18:31:21 85a0685a4137: Pull complete 18:31:21 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 18:31:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:31:21 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 18:31:21 prd-centos7-docker-4c-2g-2600 does not seem to be running inside a container 18:31: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 18:31:23 $ docker top 96a77dfdf37599debbbe4e4f2c784ddd3d1b1be67e706db8c8ff96efe4f816c2 -eo pid,comm [Pipeline] { [Pipeline] echo 18:31:23 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 18:31:23 + set -o pipefail 18:31:23 + snyk monitor '--org=edgex-jenkins' 18:31:27 18:31:27 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 18:31:27 18:31:27 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/27254f0c-06ba-4245-a610-a68330433a53 18:31:27 18:31:27 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 18:31:27 18:31:27 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:31:27 18:31:28 [Pipeline] } 18:31:28 $ docker stop --time=1 96a77dfdf37599debbbe4e4f2c784ddd3d1b1be67e706db8c8ff96efe4f816c2 18:31:30 $ docker rm -f 96a77dfdf37599debbbe4e4f2c784ddd3d1b1be67e706db8c8ff96efe4f816c2 [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 18:31:30 + git log --format=format:%s -1 f3318b721e0f943881393329fd3e7443e525a415 [Pipeline] sh 18:31:31 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 18:31:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:31:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:31:31 . [Pipeline] withDockerContainer 18:31:31 prd-centos7-docker-4c-2g-2600 does not seem to be running inside a container 18:31: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:31:31 $ docker top 3847a67eae9bb49250c06de63730d6cdc4c8b33939ef39f7c64c34530d2112df -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:31:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:31:31 [ssh-agent] Looking for ssh-agent implementation... 18:31:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:31:32 $ docker exec 3847a67eae9bb49250c06de63730d6cdc4c8b33939ef39f7c64c34530d2112df ssh-agent 18:31:32 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmpplAN/agent.15 18:31:32 SSH_AGENT_PID=22 18:31:32 Running ssh-add (command line suppressed) 18:31:32 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6372904114058766142.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6372904114058766142.key) 18:31:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:31:32 + git semver tag 18:31:32 # -> Open(): unable to determine branch for HEAD 18:31:32 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 18:31:32 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 18:31:32 # $SEMVER_REMOTE_NAME = origin 18:31:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:31:32 # $SEMVER_USER_NAME = edgex-jenkins 18:31:32 # $SEMVER_BRANCH = main 18:31:32 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 18:31:32 # f3318b721e0f943881393329fd3e7443e525a415 HEAD 18:31:32 # -> Force: false 18:31:32 # 41367b9688d711e504f88259517090950a54a792 refs/tags/v2.2.0-dev.5 [Pipeline] } 18:31:32 $ docker exec --env ******** --env ******** 3847a67eae9bb49250c06de63730d6cdc4c8b33939ef39f7c64c34530d2112df ssh-agent -k 18:31:32 unset SSH_AUTH_SOCK; 18:31:32 unset SSH_AGENT_PID; 18:31:32 echo Agent pid 22 killed; 18:31:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:31:32 + git semver [Pipeline] } 18:31:32 $ docker stop --time=1 3847a67eae9bb49250c06de63730d6cdc4c8b33939ef39f7c64c34530d2112df 18:31:34 $ docker rm -f 3847a67eae9bb49250c06de63730d6cdc4c8b33939ef39f7c64c34530d2112df [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 18:31:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:31:34 18:31:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 18:31:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:31:34 0.23.1-centos7: Pulling from edgex-lftools 18:31:34 ab5ef0e58194: Pulling fs layer 18:31:34 9712f1f96733: Pulling fs layer 18:31:34 63f879dbbcfc: Pulling fs layer 18:31:34 0d9ebad4ef96: Pulling fs layer 18:31:34 e9a5061849ea: Pulling fs layer 18:31:34 d747dcd14b5f: Pulling fs layer 18:31:34 2de7ff778b66: Pulling fs layer 18:31:34 0d9ebad4ef96: Waiting 18:31:34 e9a5061849ea: Waiting 18:31:34 d747dcd14b5f: Waiting 18:31:34 2de7ff778b66: Waiting 18:31:34 9712f1f96733: Verifying Checksum 18:31:34 9712f1f96733: Download complete 18:31:35 63f879dbbcfc: Verifying Checksum 18:31:35 63f879dbbcfc: Download complete 18:31:35 ab5ef0e58194: Verifying Checksum 18:31:35 ab5ef0e58194: Download complete 18:31:35 d747dcd14b5f: Verifying Checksum 18:31:35 d747dcd14b5f: Download complete 18:31:35 e9a5061849ea: Verifying Checksum 18:31:35 e9a5061849ea: Download complete 18:31:35 0d9ebad4ef96: Verifying Checksum 18:31:35 0d9ebad4ef96: Download complete 18:31:35 2de7ff778b66: Verifying Checksum 18:31:35 2de7ff778b66: Download complete 18:31:38 ab5ef0e58194: Pull complete 18:31:38 9712f1f96733: Pull complete 18:31:39 63f879dbbcfc: Pull complete 18:31:43 0d9ebad4ef96: Pull complete 18:31:43 e9a5061849ea: Pull complete 18:31:43 d747dcd14b5f: Pull complete 18:31:44 2de7ff778b66: Pull complete 18:31:44 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:31:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:31:44 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 18:31:44 prd-centos7-docker-4c-2g-2600 does not seem to be running inside a container 18:31:44 $ 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 18:31:47 $ docker top e929e58962f4ba0cc572c1e8e70470acc5e9973501019e521dbe6a6c8b94062d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:31:47 provisioning config files... 18:31:47 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4196263945025106304tmp 18:31:47 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3122052403072517191tmp 18:31:47 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1337421193024069314tmp [Pipeline] { [Pipeline] echo 18:31:47 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:31:48 ---> sigul-configuration.sh 18:31:48 gpg: directory `/root/.gnupg' created 18:31:48 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:31:48 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:31:48 gpg: keyring `/root/.gnupg/secring.gpg' created 18:31:48 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:31:48 gpg: CAST5 encrypted data 18:31:48 gpg: encrypted with 1 passphrase 18:31:48 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:31:48 + mkdir /home/jenkins 18:31:48 + mkdir /home/jenkins/sigul [Pipeline] sh 18:31:48 + 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 18:31:48 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:31:48 ---> sigul-install.sh 18:31:48 Sigul already installed; skipping installation. [Pipeline] sh 18:31:49 + git tag --list 18:31:49 v1.0.0 18:31:49 v1.1.0 18:31:49 v1.1.1 18:31:49 v1.1.2 18:31:49 v1.2.0 18:31:49 v1.2.1 18:31:49 v2.0.0 18:31:49 v2.0.1-dev.1 18:31:49 v2.0.1-dev.10 18:31:49 v2.0.1-dev.11 18:31:49 v2.0.1-dev.12 18:31:49 v2.0.1-dev.13 18:31:49 v2.0.1-dev.14 18:31:49 v2.0.1-dev.2 18:31:49 v2.0.1-dev.3 18:31:49 v2.0.1-dev.4 18:31:49 v2.0.1-dev.5 18:31:49 v2.0.1-dev.6 18:31:49 v2.0.1-dev.7 18:31:49 v2.0.1-dev.8 18:31:49 v2.0.1-dev.9 18:31:49 v2.1.0 18:31:49 v2.2.0-dev.1 18:31:49 v2.2.0-dev.2 18:31:49 v2.2.0-dev.3 18:31:49 v2.2.0-dev.4 18:31:49 v2.2.0-dev.5 [Pipeline] sh 18:31:49 + lftools sign git-tag v2.2.0-dev.5 18:31:50 Signing Git tag with Sigul... 18:31:50 Signing v2.2.0-dev.5 [Pipeline] echo 18:31:50 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:31:50 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:31:50 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:31:50 $ docker stop --time=1 e929e58962f4ba0cc572c1e8e70470acc5e9973501019e521dbe6a6c8b94062d 18:31:51 $ docker rm -f e929e58962f4ba0cc572c1e8e70470acc5e9973501019e521dbe6a6c8b94062d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:31:52 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 18:31:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:31:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:31:52 . [Pipeline] withDockerContainer 18:31:52 prd-centos7-docker-4c-2g-2600 does not seem to be running inside a container 18:31:52 $ 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 18:31:53 $ docker top d39a30e174874ab5b4727126693d6d8e59e5c70cb6a9885906773a94abcd848e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:31:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:31:53 [ssh-agent] Looking for ssh-agent implementation... 18:31:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:31:53 $ docker exec d39a30e174874ab5b4727126693d6d8e59e5c70cb6a9885906773a94abcd848e ssh-agent 18:31:53 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGnaENK/agent.15 18:31:53 SSH_AGENT_PID=22 18:31:53 Running ssh-add (command line suppressed) 18:31:53 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_145976967598150600.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_145976967598150600.key) 18:31:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:31:53 + git semver bump pre 18:31:53 # -> Open(): unable to determine branch for HEAD 18:31:53 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 18:31:53 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 18:31:53 # $SEMVER_REMOTE_NAME = origin 18:31:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:31:53 # $SEMVER_USER_NAME = edgex-jenkins 18:31:53 # $SEMVER_BRANCH = main 18:31:53 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 18:31:53 2.2.0-dev.6 [Pipeline] } 18:31:53 $ docker exec --env ******** --env ******** d39a30e174874ab5b4727126693d6d8e59e5c70cb6a9885906773a94abcd848e ssh-agent -k 18:31:53 unset SSH_AUTH_SOCK; 18:31:53 unset SSH_AGENT_PID; 18:31:53 echo Agent pid 22 killed; 18:31:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:31:54 + git semver [Pipeline] } 18:31:54 $ docker stop --time=1 d39a30e174874ab5b4727126693d6d8e59e5c70cb6a9885906773a94abcd848e 18:31:55 $ docker rm -f d39a30e174874ab5b4727126693d6d8e59e5c70cb6a9885906773a94abcd848e [Pipeline] // withDockerContainer [Pipeline] sh 18:31:55 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 18:31:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:31:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:31:56 . [Pipeline] withDockerContainer 18:31:56 prd-centos7-docker-4c-2g-2600 does not seem to be running inside a container 18:31:56 $ 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 18:31:56 $ docker top b6a1e982b5d17807b958421c251a63046e447a375250e6738ade901ff0792561 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:31:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:31:56 [ssh-agent] Looking for ssh-agent implementation... 18:31:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:31:56 $ docker exec b6a1e982b5d17807b958421c251a63046e447a375250e6738ade901ff0792561 ssh-agent 18:31:56 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcHiaHO/agent.14 18:31:56 SSH_AGENT_PID=20 18:31:56 Running ssh-add (command line suppressed) 18:31:56 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6218753940710121826.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6218753940710121826.key) 18:31:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:31:57 + git semver push 18:31:57 # -> Open(): unable to determine branch for HEAD 18:31:57 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 18:31:57 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 18:31:57 # $SEMVER_REMOTE_NAME = origin 18:31:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:31:57 # $SEMVER_USER_NAME = edgex-jenkins 18:31:57 # $SEMVER_BRANCH = main 18:31:57 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 18:31:58 $ docker exec --env ******** --env ******** b6a1e982b5d17807b958421c251a63046e447a375250e6738ade901ff0792561 ssh-agent -k 18:31:58 unset SSH_AUTH_SOCK; 18:31:58 unset SSH_AGENT_PID; 18:31:58 echo Agent pid 20 killed; 18:31:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:31:59 + git semver [Pipeline] } 18:31:59 $ docker stop --time=1 b6a1e982b5d17807b958421c251a63046e447a375250e6738ade901ff0792561 18:32:00 $ docker rm -f b6a1e982b5d17807b958421c251a63046e447a375250e6738ade901ff0792561 [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 18:32:00 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' 18:32:00 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 18:32:00 total 8 18:32:00 drwxr-xr-x. 3 root root 34 Jan 20 18:21 . 18:32:00 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 20 18:31 .. 18:32:00 drwxr-xr-x. 2 root root 6 Jan 20 18:21 cost 18:32:00 -rw-r--r--. 1 root root 84 Jan 20 18:21 cost.csv 18:32:00 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 18:32:00 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 18:32:00 total 8 18:32:00 drwxr-xr-x. 3 jenkins jenkins 34 Jan 20 18:21 . 18:32:00 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 20 18:31 .. 18:32:00 drwxr-xr-x. 2 jenkins jenkins 6 Jan 20 18:21 cost 18:32:00 -rw-r--r--. 1 jenkins jenkins 84 Jan 20 18:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:32:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:32:01 ---> package-listing.sh 18:32:01 ++ facter osfamily 18:32:01 ++ tr '[:upper:]' '[:lower:]' 18:32:01 + OS_FAMILY=redhat 18:32:01 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 18:32:01 + START_PACKAGES=/tmp/packages_start.txt 18:32:01 + END_PACKAGES=/tmp/packages_end.txt 18:32:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:32:01 + PACKAGES=/tmp/packages_start.txt 18:32:01 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 18:32:01 + PACKAGES=/tmp/packages_end.txt 18:32:01 + case "${OS_FAMILY}" in 18:32:01 + rpm -qa 18:32:01 + sort 18:32:02 + '[' -f /tmp/packages_start.txt ']' 18:32:02 + '[' -f /tmp/packages_end.txt ']' 18:32:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:32:02 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 18:32:02 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 18:32:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 18:32:02 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 18:32:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:32:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:32:03 . [Pipeline] withDockerContainer 18:32:03 prd-centos7-docker-4c-2g-2600 does not seem to be running inside a container 18:32:03 $ 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 18:32:03 $ docker top 230029924e4fa4bfaf0d16946c7095e371de22d39d577d378eba001bc4393842 -eo pid,comm [Pipeline] { [Pipeline] sh 18:32:04 + touch /tmp/pre-build-complete [Pipeline] sh 18:32:04 + mkdir -p /var/log/sysstat [Pipeline] sh 18:32:04 + ls /var/log/sa-host 18:32:04 + sadf -c /var/log/sa-host/sa17 18:32:04 file_magic: OK 18:32:04 HZ: Using current value: 100 18:32:04 file_header: OK 18:32:04 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 18:32:04 Statistics: 18:32:04 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:32:04 File successfully converted to sysstat format version 12.0.3 18:32:04 + sadf -c /var/log/sa-host/sa20 18:32:04 file_magic: OK 18:32:04 HZ: Using current value: 100 18:32:04 file_header: OK 18:32:04 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 18:32:04 Statistics: 18:32:04 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:32:04 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:32:04 provisioning config files... 18:32:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5377220655790305967tmp [Pipeline] { [Pipeline] echo 18:32:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:32:04 ---> create-netrc.sh [Pipeline] } 18:32:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:32:05 ---> python-tools-install.sh [Pipeline] echo 18:32:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:32:05 ---> sudo-logs.sh 18:32:05 Archiving 'sudo' log.. 18:32:05 sudo: unable to resolve host prd-centos7-docker-4c-2g-2600.novalocal: Name or service not known 18:32:05 sudo: unable to resolve host prd-centos7-docker-4c-2g-2600.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 18:32:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:32:05 ---> job-cost.sh 18:32:05 lf-activate-venv: SKIPPING 18:32:05 DEBUG: total: 0.05999999865889549 18:32:05 INFO: Retrieving Stack Cost... 18:32:06 INFO: Retrieving Pricing Info for: v3-standard-2 18:32:06 INFO: Archiving Costs [Pipeline] echo 18:32:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:32:07 ---> logs-deploy.sh 18:32:07 lf-activate-venv: SKIPPING 18:32:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/25 18:32:07 INFO: archiving workspace using pattern(s): 18:32:07 Archives upload complete. 18:32:07 INFO: archiving logs to Nexus