Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4202c4e4a89e3dab93c0881b05113b30e3444e83 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-ssh5042394192713209760.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14266964159161433308.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5815387373029897556.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17138293672171563070.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh799721922774124164.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-11537’ Running on prd-ubuntu20.04-docker-8c-8g-11543 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 4202c4e4a89e3dab93c0881b05113b30e3444e83 (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 4202c4e4a89e3dab93c0881b05113b30e3444e83 # timeout=10 Commit message: "Merge pull request #171 from jpwhitemn/enable-security-hardening" > git rev-list --no-walk e20d54948958fbae002d4522b61cee1c213d8f02 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:20:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:20:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:20:21 ========================================================= 01:20:21 EdgeX Global Pipelines Version Info 01:20:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:20:22 ------------------- 01:20:22 stable info: 01:20:22 ------------------- 01:20:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:20:22 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 01:20:22 Message: update stable to v1.0.221 01:20:22 ------------------- 01:20:22 experimental info: 01:20:22 ------------------- 01:20:22 Commited By: **** collab-it+edgex@linuxfoundation.org 01:20:22 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 01:20:22 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:20:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 01:20:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 01:20:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:20:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:20:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:20:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 01:20:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:20:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:20:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:20:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:20:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:20:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 01:20:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:20:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:20:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:20:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:20:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:20:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:20:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:20:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:20:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:20:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:20:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:20:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:20:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:20:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:20:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:20:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:20:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:20:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4202c4e4a89e3dab93c0881b05113b30e3444e83 [Pipeline] echo 01:20:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4202c4e [Pipeline] echo 01:20:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:20:23 provisioning config files... 01:20:23 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3293144611938233015tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:20:23 ---> docker-login.sh 01:20:23 nexus3.edgexfoundry.org:10001 01:20:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:20:24 Configure a credential helper to remove this warning. See 01:20:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:20:24 01:20:24 Login Succeeded 01:20:24 nexus3.edgexfoundry.org:10002 01:20:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:20:24 Configure a credential helper to remove this warning. See 01:20:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:20:24 01:20:24 Login Succeeded 01:20:24 nexus3.edgexfoundry.org:10003 01:20:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:20:24 Configure a credential helper to remove this warning. See 01:20:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:20:24 01:20:24 Login Succeeded 01:20:24 nexus3.edgexfoundry.org:10004 01:20:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:20:24 Configure a credential helper to remove this warning. See 01:20:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:20:24 01:20:24 Login Succeeded 01:20:24 docker.io 01:20:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:20:25 Configure a credential helper to remove this warning. See 01:20:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:20:25 01:20:25 Login Succeeded 01:20:25 ---> docker-login.sh ends [Pipeline] } 01:20:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:20:25 + git rev-list -1 --merges 4202c4e4a89e3dab93c0881b05113b30e3444e83~1..4202c4e4a89e3dab93c0881b05113b30e3444e83 [Pipeline] echo 01:20:25 -----------> git rev-list -1 --merges 4202c4e4a89e3dab93c0881b05113b30e3444e83~1..4202c4e4a89e3dab93c0881b05113b30e3444e83 4202c4e4a89e3dab93c0881b05113b30e3444e83 01:20:25 4202c4e4a89e3dab93c0881b05113b30e3444e83 [false] [Pipeline] sh 01:20:25 + git log --format=format:%s -1 4202c4e4a89e3dab93c0881b05113b30e3444e83 [Pipeline] echo 01:20:25 ========================================================= 01:20:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:20:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:20:26 + git log --format=format:%s -1 4202c4e4a89e3dab93c0881b05113b30e3444e83 [Pipeline] echo 01:20:26 [semverPrep] GIT_COMMIT: 4202c4e4a89e3dab93c0881b05113b30e3444e83, Commit Message: Merge pull request #171 from jpwhitemn/enable-security-hardening [Pipeline] echo 01:20:26 [semverPrep] This is not a build commit. [Pipeline] sh 01:20:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:20:26 + grep -v github /etc/ssh/ssh_known_hosts 01:20:26 + [ -e /tmp/ssh_known_hosts ] 01:20:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:20:26 + + sudo tee -a /etc/ssh/ssh_known_hosts 01:20:26 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:20:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:20:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:20:27 01:20:27 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:20:27 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:20:27 latest: Pulling from edgex-devops/git-semver 01:20:27 a0d0a0d46f8b: Pulling fs layer 01:20:27 3e5f54012d9b: Pulling fs layer 01:20:27 4c7163046ea9: Pulling fs layer 01:20:27 0c2d73faf560: Pulling fs layer 01:20:27 0c2d73faf560: Waiting 01:20:27 3e5f54012d9b: Download complete 01:20:27 a0d0a0d46f8b: Verifying Checksum 01:20:27 a0d0a0d46f8b: Download complete 01:20:27 0c2d73faf560: Verifying Checksum 01:20:27 0c2d73faf560: Download complete 01:20:27 4c7163046ea9: Download complete 01:20:27 a0d0a0d46f8b: Pull complete 01:20:27 3e5f54012d9b: Pull complete 01:20:28 4c7163046ea9: Pull complete 01:20:28 0c2d73faf560: Pull complete 01:20:28 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 01:20:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:20:28 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:20:28 prd-ubuntu20.04-docker-8c-8g-11543 does not seem to be running inside a container 01:20:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:20:29 $ docker top 31609f5e27194b4f380d317277db154ae552766d3d5e47c1c22af6f293b7171f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:20:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:20:29 [ssh-agent] Looking for ssh-agent implementation... 01:20:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:20:29 $ docker exec 31609f5e27194b4f380d317277db154ae552766d3d5e47c1c22af6f293b7171f ssh-agent 01:20:29 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbnHFFI/agent.13 01:20:29 SSH_AGENT_PID=19 01:20:29 Running ssh-add (command line suppressed) 01:20:29 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6017438054033336467.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6017438054033336467.key) 01:20:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:20:29 + git tag --points-at HEAD [Pipeline] } 01:20:29 $ docker exec --env ******** --env ******** 31609f5e27194b4f380d317277db154ae552766d3d5e47c1c22af6f293b7171f ssh-agent -k 01:20:30 unset SSH_AUTH_SOCK; 01:20:30 unset SSH_AGENT_PID; 01:20:30 echo Agent pid 19 killed; 01:20:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:20:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:20:30 [ssh-agent] Looking for ssh-agent implementation... 01:20:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:20:30 $ docker exec 31609f5e27194b4f380d317277db154ae552766d3d5e47c1c22af6f293b7171f ssh-agent 01:20:30 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgPIFAg/agent.52 01:20:30 SSH_AGENT_PID=58 01:20:30 Running ssh-add (command line suppressed) 01:20:30 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8554088030450690386.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8554088030450690386.key) 01:20:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:20:30 + git semver init 01:20:30 # -> Open(): unable to determine branch for HEAD 01:20:30 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 01:20:30 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 01:20:30 # $SEMVER_REMOTE_NAME = origin 01:20:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:20:30 # $SEMVER_USER_NAME = edgex-jenkins 01:20:30 # $SEMVER_BRANCH = main 01:20:30 # $SEMVER_TEMP = /tmp/semver-163072124 01:20:30 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 01:20:32 # '/tmp/semver-163072124' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' 01:20:32 # -> Force: false 01:20:32 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 01:20:32 $ docker exec --env ******** --env ******** 31609f5e27194b4f380d317277db154ae552766d3d5e47c1c22af6f293b7171f ssh-agent -k 01:20:32 unset SSH_AUTH_SOCK; 01:20:32 unset SSH_AGENT_PID; 01:20:32 echo Agent pid 58 killed; 01:20:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:20:32 + git semver [Pipeline] } 01:20:32 $ docker stop --time=1 31609f5e27194b4f380d317277db154ae552766d3d5e47c1c22af6f293b7171f 01:20:33 $ docker rm -f 31609f5e27194b4f380d317277db154ae552766d3d5e47c1c22af6f293b7171f [Pipeline] // withDockerContainer [Pipeline] sh 01:20:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:20:34 Stashed 1 file(s) [Pipeline] echo 01:20:34 [edgeXSemver]: initialized semver on version 2.2.0-dev.9 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:20:34 provisioning config files... 01:20:34 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config396690612733663454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:20:35 ---> docker-login.sh 01:20:35 nexus3.edgexfoundry.org:10001 01:20:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:20:35 Configure a credential helper to remove this warning. See 01:20:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:20:35 01:20:35 Login Succeeded 01:20:35 nexus3.edgexfoundry.org:10002 01:20:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:20:35 Configure a credential helper to remove this warning. See 01:20:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:20:35 01:20:35 Login Succeeded 01:20:35 nexus3.edgexfoundry.org:10003 01:20:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:20:35 Configure a credential helper to remove this warning. See 01:20:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:20:35 01:20:35 Login Succeeded 01:20:35 nexus3.edgexfoundry.org:10004 01:20:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:20:35 Configure a credential helper to remove this warning. See 01:20:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:20:35 01:20:35 Login Succeeded 01:20:35 docker.io 01:20:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:20:35 Configure a credential helper to remove this warning. See 01:20:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:20:35 01:20:35 Login Succeeded 01:20:35 ---> docker-login.sh ends [Pipeline] } 01:20:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:20:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:20:36 ========================================================= 01:20:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 01:20:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:20:36 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 01:20:36 Sending build context to Docker daemon 10.56MB 01:20:36 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:20:36 Step 2/12 : FROM ${BASE} AS builder 01:20:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 01:20:36 59bf1c3509f3: Pulling fs layer 01:20:36 666ba61612fd: Pulling fs layer 01:20:36 8ed8ca486205: Pulling fs layer 01:20:36 4fe6c5a15a65: Pulling fs layer 01:20:36 22a0e8bec74d: Pulling fs layer 01:20:36 640e595b4fbd: Pulling fs layer 01:20:36 763cafe07f6e: Pulling fs layer 01:20:36 0c0b528cf693: Pulling fs layer 01:20:36 10935f4eaf8b: Pulling fs layer 01:20:36 763cafe07f6e: Waiting 01:20:36 0c0b528cf693: Waiting 01:20:36 10935f4eaf8b: Waiting 01:20:36 4fe6c5a15a65: Waiting 01:20:36 22a0e8bec74d: Waiting 01:20:36 640e595b4fbd: Waiting 01:20:36 8ed8ca486205: Verifying Checksum 01:20:36 8ed8ca486205: Download complete 01:20:36 666ba61612fd: Download complete 01:20:36 22a0e8bec74d: Download complete 01:20:36 640e595b4fbd: Verifying Checksum 01:20:36 640e595b4fbd: Download complete 01:20:36 59bf1c3509f3: Verifying Checksum 01:20:36 59bf1c3509f3: Download complete 01:20:36 763cafe07f6e: Verifying Checksum 01:20:36 763cafe07f6e: Download complete 01:20:36 0c0b528cf693: Verifying Checksum 01:20:36 0c0b528cf693: Download complete 01:20:36 59bf1c3509f3: Pull complete 01:20:36 666ba61612fd: Pull complete 01:20:36 8ed8ca486205: Pull complete 01:20:37 10935f4eaf8b: Verifying Checksum 01:20:37 10935f4eaf8b: Download complete 01:20:37 4fe6c5a15a65: Verifying Checksum 01:20:37 4fe6c5a15a65: Download complete 01:20:41 4fe6c5a15a65: Pull complete 01:20:41 22a0e8bec74d: Pull complete 01:20:41 640e595b4fbd: Pull complete 01:20:41 763cafe07f6e: Pull complete 01:20:41 0c0b528cf693: Pull complete 01:20:44 10935f4eaf8b: Pull complete 01:20:44 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 01:20:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 01:20:44 ---> 99d49a6021b9 01:20:44 Step 3/12 : ARG MAKE='make build' 01:20:45 ---> Running in 6066574499f3 01:20:45 Removing intermediate container 6066574499f3 01:20:45 ---> dd3491b17a50 01:20:45 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:20:45 ---> Running in 75079f77ff8f 01:20:45 Removing intermediate container 75079f77ff8f 01:20:45 ---> 5daea2e27c92 01:20:45 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 01:20:45 ---> Running in 128b85eaa484 01:20:45 Removing intermediate container 128b85eaa484 01:20:45 ---> eb566ada0fc4 01:20:45 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:20:45 ---> Running in 8a8a5b4baad7 01:20:46 Removing intermediate container 8a8a5b4baad7 01:20:46 ---> 1684c9442e35 01:20:46 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:20:46 ---> Running in 5cee816975b7 01:20:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:20:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:20:48 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:20:48 (2/4) Installing libedit (20210910.3.1-r0) 01:20:48 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:20:48 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:20:48 Executing busybox-1.34.1-r3.trigger 01:20:48 OK: 224 MiB in 56 packages 01:20:48 Removing intermediate container 5cee816975b7 01:20:48 ---> 29be4fcd5501 01:20:48 Step 8/12 : WORKDIR /device-rest-go 01:20:48 ---> Running in f9bc97a680e9 01:20:48 Removing intermediate container f9bc97a680e9 01:20:48 ---> 2236a5174293 01:20:48 Step 9/12 : COPY go.mod vendor* ./ 01:20:48 ---> 97e704dccf24 01:20:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:20:49 ---> Running in a293a4b0a576 01:20:49 Still waiting to schedule task 01:20:49 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-11541’ 01:21:04 Removing intermediate container a293a4b0a576 01:21:04 ---> c3c2f61a761c 01:21:04 Step 11/12 : COPY . . 01:21:04 ---> 820087d9fd37 01:21:04 Step 12/12 : RUN $MAKE 01:21:04 ---> Running in d80919c84c99 01:21:04 noop 01:21:05 Removing intermediate container d80919c84c99 01:21:05 ---> c5f46fc4a403 01:21:05 Successfully built c5f46fc4a403 01:21:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:21:05 + docker inspect -f . ci-base-image-x86_64 01:21:05 . [Pipeline] withDockerContainer 01:21:05 prd-ubuntu20.04-docker-8c-8g-11543 does not seem to be running inside a container 01:21:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:21:05 $ docker top 9360e0155755966ab577198a5f6f10fc03c343976ecb7ec771db9644aab526f8 -eo pid,comm [Pipeline] { [Pipeline] sh 01:21:06 + go version 01:21:06 go version go1.17.6 linux/amd64 [Pipeline] } 01:21:06 $ docker stop --time=1 9360e0155755966ab577198a5f6f10fc03c343976ecb7ec771db9644aab526f8 01:21:07 $ docker rm -f 9360e0155755966ab577198a5f6f10fc03c343976ecb7ec771db9644aab526f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:21:08 + docker inspect -f . ci-base-image-x86_64 01:21:08 . [Pipeline] withDockerContainer 01:21:08 prd-ubuntu20.04-docker-8c-8g-11543 does not seem to be running inside a container 01:21:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:21:08 $ docker top f9d744b4ce062c2e5afd7aedde2e51f58686fc795d308339c6b3c73400f361ea -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:21:08 + make test 01:21:08 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:21:09 ? github.com/edgexfoundry/device-rest-go [no test files] 01:21:19 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:21:19 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements 01:21:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:21:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:21:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:21:29 ./bin/test-attribution-txt.sh [Pipeline] echo 01:21:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:21:29 $ docker stop --time=1 f9d744b4ce062c2e5afd7aedde2e51f58686fc795d308339c6b3c73400f361ea 01:21:31 $ docker rm -f f9d744b4ce062c2e5afd7aedde2e51f58686fc795d308339c6b3c73400f361ea [Pipeline] // withDockerContainer [Pipeline] sh 01:21:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:21:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:21:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:21:33 + ls -al . 01:21:33 total 172 01:21:33 drwxrwxr-x 9 jenkins jenkins 4096 Apr 8 01:21 . 01:21:33 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 01:20 .. 01:21:33 -rw-rw-r-- 1 jenkins jenkins 151 Apr 8 01:20 .dockerignore 01:21:33 drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 01:20 .git 01:21:33 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 01:20 .github 01:21:33 -rw-rw-r-- 1 jenkins jenkins 329 Apr 8 01:20 .gitignore 01:21:33 -rw-rw-r-- 1 jenkins jenkins 41 Apr 8 01:20 .golangci.yml 01:21:33 drwx------ 3 jenkins jenkins 4096 Apr 8 01:20 .semver 01:21:33 -rw-rw-r-- 1 jenkins jenkins 8330 Apr 8 01:20 Attribution.txt 01:21:33 -rw-rw-r-- 1 jenkins jenkins 7459 Apr 8 01:20 CHANGELOG.md 01:21:33 -rw-rw-r-- 1 jenkins jenkins 1672 Apr 8 01:20 Dockerfile 01:21:33 -rw-rw-r-- 1 jenkins jenkins 677 Apr 8 01:20 GOVERNANCE.md 01:21:33 -rw-rw-r-- 1 jenkins jenkins 680 Apr 8 01:20 Jenkinsfile 01:21:33 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 8 01:20 LICENSE 01:21:33 -rw-rw-r-- 1 jenkins jenkins 1964 Apr 8 01:20 Makefile 01:21:33 -rw-rw-r-- 1 jenkins jenkins 620 Apr 8 01:20 OWNERS.md 01:21:33 -rw-rw-r-- 1 jenkins jenkins 8246 Apr 8 01:20 README.md 01:21:33 -rw-rw-r-- 1 jenkins jenkins 11 Apr 8 01:20 VERSION 01:21:33 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 01:20 bin 01:21:33 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 01:20 cmd 01:21:33 -rw-r--r-- 1 jenkins jenkins 9355 Apr 8 01:21 coverage.out 01:21:33 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 01:20 driver 01:21:33 -rw-rw-r-- 1 jenkins jenkins 3240 Apr 8 01:20 go.mod 01:21:33 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 8 01:20 go.sum 01:21:33 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 01:20 snap 01:21:33 -rw-rw-r-- 1 jenkins jenkins 713 Apr 8 01:20 version.go [Pipeline] isUnix [Pipeline] sh 01:21:33 + 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=4202c4e4a89e3dab93c0881b05113b30e3444e83 --label arch=amd64 --label version=2.2.0-dev.9 . 01:21:33 Sending build context to Docker daemon 10.57MB 01:21:33 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 01:21:33 Step 2/25 : FROM ${BASE} AS builder 01:21:33 ---> c5f46fc4a403 01:21:33 Step 3/25 : ARG MAKE='make build' 01:21:33 ---> Running in 9a6c55936b51 01:21:34 Removing intermediate container 9a6c55936b51 01:21:34 ---> b207177209be 01:21:34 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:21:34 ---> Running in 6050b69d1c4e 01:21:34 Removing intermediate container 6050b69d1c4e 01:21:34 ---> c03061f19240 01:21:34 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 01:21:34 ---> Running in 080f12a0d2fa 01:21:34 Removing intermediate container 080f12a0d2fa 01:21:34 ---> 86ad5f6aef7c 01:21:34 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:21:34 ---> Running in 64bd8070b53a 01:21:35 Removing intermediate container 64bd8070b53a 01:21:35 ---> 1cb72368fb91 01:21:35 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:21:35 ---> Running in cedc5c5428ea 01:21:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:21:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:21:36 OK: 224 MiB in 56 packages 01:21:36 Removing intermediate container cedc5c5428ea 01:21:36 ---> e0693a9ff801 01:21:36 Step 8/25 : WORKDIR /device-rest-go 01:21:36 ---> Running in f61c94c09c0c 01:21:36 Removing intermediate container f61c94c09c0c 01:21:36 ---> a15d4b29272e 01:21:36 Step 9/25 : COPY go.mod vendor* ./ 01:21:36 ---> 1f84f14d089f 01:21:36 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:21:36 ---> Running in 1698f67a5b50 01:21:37 Removing intermediate container 1698f67a5b50 01:21:37 ---> fd9486d88645 01:21:37 Step 11/25 : COPY . . 01:21:38 ---> e3f01c083ccf 01:21:38 Step 12/25 : RUN $MAKE 01:21:38 ---> Running in 9f80ff5fa8ed 01:21:38 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.9" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 01:22:00 Removing intermediate container 9f80ff5fa8ed 01:22:00 ---> 5d8ed194cebf 01:22:00 Step 13/25 : FROM alpine:3.14 01:22:00 3.14: Pulling from library/alpine 01:22:00 8663204ce13b: Pulling fs layer 01:22:00 8663204ce13b: Verifying Checksum 01:22:00 8663204ce13b: Download complete 01:22:00 8663204ce13b: Pull complete 01:22:00 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:22:00 Status: Downloaded newer image for alpine:3.14 01:22:00 ---> e04c818066af 01:22:00 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:22:00 ---> Running in c7dc1362f40b 01:22:00 Removing intermediate container c7dc1362f40b 01:22:00 ---> 225a8725987e 01:22:00 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 01:22:00 ---> Running in c3a8f1bd4d2b 01:22:00 Removing intermediate container c3a8f1bd4d2b 01:22:00 ---> d020bd2a7728 01:22:00 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 01:22:00 ---> Running in 6f31aa7145a6 01:22:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:22:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:22:00 (1/6) Installing dumb-init (1.2.5-r1) 01:22:00 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:22:00 (3/6) Installing libsodium (1.0.18-r0) 01:22:00 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:22:00 (5/6) Installing libzmq (4.3.4-r0) 01:22:00 (6/6) Installing zeromq (4.3.4-r0) 01:22:00 Executing busybox-1.33.1-r7.trigger 01:22:00 OK: 8 MiB in 20 packages 01:22:00 Removing intermediate container 6f31aa7145a6 01:22:00 ---> d9051ee926c7 01:22:00 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 01:22:00 ---> 22fd49412ff9 01:22:00 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 01:22:00 ---> b40e5c8eef91 01:22:00 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 01:22:00 ---> 23bbbb932784 01:22:00 Step 20/25 : EXPOSE 59986 01:22:00 ---> Running in 731e5da3ea84 01:22:00 Removing intermediate container 731e5da3ea84 01:22:00 ---> fdc098513a63 01:22:00 Step 21/25 : ENTRYPOINT ["/device-rest"] 01:22:00 ---> Running in 3e4b357e9884 01:22:01 Removing intermediate container 3e4b357e9884 01:22:01 ---> 1c2146f6a84a 01:22:01 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:22:01 ---> Running in 7b9882dc2192 01:22:01 Removing intermediate container 7b9882dc2192 01:22:01 ---> b47fe833947f 01:22:01 Step 23/25 : LABEL arch=amd64 01:22:01 ---> Running in 0c61d772339d 01:22:01 Removing intermediate container 0c61d772339d 01:22:01 ---> 67a06775a786 01:22:01 Step 24/25 : LABEL git_sha=4202c4e4a89e3dab93c0881b05113b30e3444e83 01:22:01 ---> Running in 944fd1c98274 01:22:01 Removing intermediate container 944fd1c98274 01:22:01 ---> a03feec4a1f1 01:22:01 Step 25/25 : LABEL version=2.2.0-dev.9 01:22:01 ---> Running in e569c6c25875 01:22:01 Removing intermediate container e569c6c25875 01:22:01 ---> e2ad017386ca 01:22:01 [Warning] One or more build-args [ARCH] were not consumed 01:22:01 Successfully built e2ad017386ca 01:22:01 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:22:01 provisioning config files... 01:22:01 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9218502452664008984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:22:02 ---> docker-login.sh 01:22:02 nexus3.edgexfoundry.org:10001 01:22:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:22:02 Configure a credential helper to remove this warning. See 01:22:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:22:02 01:22:02 Login Succeeded 01:22:02 nexus3.edgexfoundry.org:10002 01:22:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:22:02 Configure a credential helper to remove this warning. See 01:22:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:22:02 01:22:02 Login Succeeded 01:22:02 nexus3.edgexfoundry.org:10003 01:22:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:22:02 Configure a credential helper to remove this warning. See 01:22:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:22:02 01:22:02 Login Succeeded 01:22:02 nexus3.edgexfoundry.org:10004 01:22:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:22:02 Configure a credential helper to remove this warning. See 01:22:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:22:02 01:22:02 Login Succeeded 01:22:02 docker.io 01:22:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:22:02 Configure a credential helper to remove this warning. See 01:22:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:22:02 01:22:02 Login Succeeded 01:22:02 ---> docker-login.sh ends [Pipeline] } 01:22:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:22:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:22:02 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 01:22:02 4202c4e4a89e3dab93c0881b05113b30e3444e83 01:22:02 latest 01:22:02 2.2.0-dev.9 01:22:02 4202c4e4a89e3dab93c0881b05113b30e3444e83-2.2.0-dev.9 01:22:02 main 01:22:02 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:22:03 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4202c4e4a89e3dab93c0881b05113b30e3444e83 [Pipeline] isUnix [Pipeline] sh 01:22:03 + docker push nexus3.edgexfoundry.org:10004/device-rest:4202c4e4a89e3dab93c0881b05113b30e3444e83 01:22:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:22:03 8c89bd107b47: Preparing 01:22:03 66fce86a0730: Preparing 01:22:03 fab1c7a82853: Preparing 01:22:03 adcb9e770940: Preparing 01:22:03 b541d28bf3b4: Preparing 01:22:03 b541d28bf3b4: Layer already exists 01:22:03 8c89bd107b47: Pushed 01:22:03 66fce86a0730: Pushed 01:22:03 adcb9e770940: Pushed 01:22:06 fab1c7a82853: Pushed 01:22:06 4202c4e4a89e3dab93c0881b05113b30e3444e83: digest: sha256:901fc1ac0a632fb87b237b0998d80498e215a228c7c6512a7d65b7cca7c64f74 size: 1367 [Pipeline] isUnix [Pipeline] sh 01:22:06 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 01:22:06 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 01:22:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:22:06 8c89bd107b47: Preparing 01:22:06 66fce86a0730: Preparing 01:22:06 fab1c7a82853: Preparing 01:22:06 adcb9e770940: Preparing 01:22:06 b541d28bf3b4: Preparing 01:22:06 fab1c7a82853: Layer already exists 01:22:06 b541d28bf3b4: Layer already exists 01:22:06 66fce86a0730: Layer already exists 01:22:06 8c89bd107b47: Layer already exists 01:22:06 adcb9e770940: Layer already exists 01:22:06 latest: digest: sha256:901fc1ac0a632fb87b237b0998d80498e215a228c7c6512a7d65b7cca7c64f74 size: 1367 [Pipeline] isUnix [Pipeline] sh 01:22:07 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh 01:22:07 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.9 01:22:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:22:07 8c89bd107b47: Preparing 01:22:07 66fce86a0730: Preparing 01:22:07 fab1c7a82853: Preparing 01:22:07 adcb9e770940: Preparing 01:22:07 b541d28bf3b4: Preparing 01:22:07 b541d28bf3b4: Layer already exists 01:22:07 fab1c7a82853: Layer already exists 01:22:07 8c89bd107b47: Layer already exists 01:22:07 adcb9e770940: Layer already exists 01:22:07 66fce86a0730: Layer already exists 01:22:07 2.2.0-dev.9: digest: sha256:901fc1ac0a632fb87b237b0998d80498e215a228c7c6512a7d65b7cca7c64f74 size: 1367 [Pipeline] isUnix [Pipeline] sh 01:22:07 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4202c4e4a89e3dab93c0881b05113b30e3444e83-2.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh 01:22:08 + docker push nexus3.edgexfoundry.org:10004/device-rest:4202c4e4a89e3dab93c0881b05113b30e3444e83-2.2.0-dev.9 01:22:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:22:08 8c89bd107b47: Preparing 01:22:08 66fce86a0730: Preparing 01:22:08 fab1c7a82853: Preparing 01:22:08 adcb9e770940: Preparing 01:22:08 b541d28bf3b4: Preparing 01:22:08 66fce86a0730: Layer already exists 01:22:08 fab1c7a82853: Layer already exists 01:22:08 8c89bd107b47: Layer already exists 01:22:08 adcb9e770940: Layer already exists 01:22:08 b541d28bf3b4: Layer already exists 01:22:08 4202c4e4a89e3dab93c0881b05113b30e3444e83-2.2.0-dev.9: digest: sha256:901fc1ac0a632fb87b237b0998d80498e215a228c7c6512a7d65b7cca7c64f74 size: 1367 [Pipeline] isUnix [Pipeline] sh 01:22:08 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh 01:22:08 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 01:22:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:22:08 8c89bd107b47: Preparing 01:22:08 66fce86a0730: Preparing 01:22:08 fab1c7a82853: Preparing 01:22:08 adcb9e770940: Preparing 01:22:08 b541d28bf3b4: Preparing 01:22:08 8c89bd107b47: Layer already exists 01:22:08 b541d28bf3b4: Layer already exists 01:22:08 fab1c7a82853: Layer already exists 01:22:08 66fce86a0730: Layer already exists 01:22:08 adcb9e770940: Layer already exists 01:22:08 main: digest: sha256:901fc1ac0a632fb87b237b0998d80498e215a228c7c6512a7d65b7cca7c64f74 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:22:08 ===================================================== [Pipeline] echo 01:22:08 taggedImages: 01:22:08 - nexus3.edgexfoundry.org:10004/device-rest:4202c4e4a89e3dab93c0881b05113b30e3444e83 01:22:08 - nexus3.edgexfoundry.org:10004/device-rest:latest 01:22:08 - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.9 01:22:08 - nexus3.edgexfoundry.org:10004/device-rest:4202c4e4a89e3dab93c0881b05113b30e3444e83-2.2.0-dev.9 01:22:08 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:22:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:22:09 01:22:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:22:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:22:09 latest: Pulling from edgex-lftools-log-publisher 01:22:09 5eb5b503b376: Pulling fs layer 01:22:09 5c69ac0246d0: Pulling fs layer 01:22:09 ec43610c2a17: Pulling fs layer 01:22:09 3a2ae6a8a46f: Pulling fs layer 01:22:09 33b1e0a273af: Pulling fs layer 01:22:09 5d3b04190fa2: Pulling fs layer 01:22:09 2f39f015ded8: Pulling fs layer 01:22:09 33b1e0a273af: Waiting 01:22:09 3a2ae6a8a46f: Waiting 01:22:09 5c69ac0246d0: Verifying Checksum 01:22:09 5c69ac0246d0: Download complete 01:22:09 3a2ae6a8a46f: Verifying Checksum 01:22:09 3a2ae6a8a46f: Download complete 01:22:09 33b1e0a273af: Verifying Checksum 01:22:09 33b1e0a273af: Download complete 01:22:09 ec43610c2a17: Verifying Checksum 01:22:09 ec43610c2a17: Download complete 01:22:09 5d3b04190fa2: Verifying Checksum 01:22:09 5d3b04190fa2: Download complete 01:22:09 5eb5b503b376: Verifying Checksum 01:22:09 5eb5b503b376: Download complete 01:22:10 2f39f015ded8: Download complete 01:22:11 5eb5b503b376: Pull complete 01:22:11 5c69ac0246d0: Pull complete 01:22:11 ec43610c2a17: Pull complete 01:22:11 3a2ae6a8a46f: Pull complete 01:22:12 33b1e0a273af: Pull complete 01:22:12 5d3b04190fa2: Pull complete 01:22:17 2f39f015ded8: Pull complete 01:22:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:22:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:22:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:22:17 prd-ubuntu20.04-docker-8c-8g-11543 does not seem to be running inside a container 01:22:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:22:19 $ docker top 820d21e53d9af95503175898472f718025f1313cbd03f8e81d743717301f2c17 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:22:19 ---> job-cost.sh 01:22:19 lf-activate-venv: SKIPPING 01:22:19 INFO: No Stack... 01:22:19 INFO: Retrieving Pricing Info for: v3-standard-8 01:22:20 INFO: Archiving Costs [Pipeline] sh 01:22:20 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 01:22:20 + cut -d, -f6 [Pipeline] lock 01:22:20 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-30-stack-cost] 01:22:20 Resource [jenkins-edgexfoundry-device-rest-go-main-30-stack-cost] did not exist. Created. 01:22:20 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:22:21 + echo total: 0.2199999988079071 [Pipeline] stash 01:22:21 Stashed 1 file(s) [Pipeline] } 01:22:21 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-30-stack-cost] [Pipeline] // lock [Pipeline] } 01:22:21 $ docker stop --time=1 820d21e53d9af95503175898472f718025f1313cbd03f8e81d743717301f2c17 01:22:22 $ docker rm -f 820d21e53d9af95503175898472f718025f1313cbd03f8e81d743717301f2c17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:24:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11544 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 01:24:31 Running in /w/workspace/device-rest-go/30 [Pipeline] { [Pipeline] checkout 01:24:32 The recommended git tool is: git 01:24:40 using credential edgex-jenkins-ssh 01:24:40 Cloning the remote Git repository 01:24:40 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:24:40 > git init /w/workspace/device-rest-go/30 # timeout=10 01:24:40 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:24:40 > git --version # timeout=10 01:24:40 > git --version # 'git version 2.25.1' 01:24:40 using GIT_SSH to set credentials SSH Credentials for GitHub 01:24:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:24:43 Avoid second fetch 01:24:43 Checking out Revision 4202c4e4a89e3dab93c0881b05113b30e3444e83 (main) 01:24:43 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:24:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:24:43 > git config core.sparsecheckout # timeout=10 01:24:43 > git checkout -f 4202c4e4a89e3dab93c0881b05113b30e3444e83 # timeout=10 01:24:47 Commit message: "Merge pull request #171 from jpwhitemn/enable-security-hardening" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:24:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:24:48 % Total % Received % Xferd Average Speed Time Time Time Current 01:24:48 Dload Upload Total Spent Left Speed 01:24:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46996 0 --:--:-- --:--:-- --:--:-- 46996 [Pipeline] sh 01:24:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:24:49 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:24:49 + sudo tee /etc/docker/daemon.new 01:24:49 { 01:24:49 "registry-mirrors": [ 01:24:49 "https://nexus3.edgexfoundry.org:10001" 01:24:49 ], 01:24:49 "bip": "10.250.0.254/24", 01:24:49 "hosts": [ 01:24:49 "tcp://0.0.0.0:5555", 01:24:49 "unix:///var/run/docker.sock" 01:24:49 ], 01:24:49 "mtu": 1458, 01:24:49 "selinux-enabled": true, 01:24:49 "seccomp-profile": "/etc/docker/seccomp.json" 01:24:49 } [Pipeline] sh 01:24:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:24:50 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:25:08 provisioning config files... 01:25:08 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/30@tmp/config6981698440937545866tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:25:09 ---> docker-login.sh 01:25:09 nexus3.edgexfoundry.org:10001 01:25:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:25:09 Configure a credential helper to remove this warning. See 01:25:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:25:09 01:25:09 Login Succeeded 01:25:09 nexus3.edgexfoundry.org:10002 01:25:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:25:10 Configure a credential helper to remove this warning. See 01:25:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:25:10 01:25:10 Login Succeeded 01:25:10 nexus3.edgexfoundry.org:10003 01:25:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:25:10 Configure a credential helper to remove this warning. See 01:25:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:25:10 01:25:10 Login Succeeded 01:25:10 nexus3.edgexfoundry.org:10004 01:25:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:25:11 Configure a credential helper to remove this warning. See 01:25:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:25:11 01:25:11 Login Succeeded 01:25:11 docker.io 01:25:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:25:11 Configure a credential helper to remove this warning. See 01:25:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:25:11 01:25:11 Login Succeeded 01:25:11 ---> docker-login.sh ends [Pipeline] } 01:25:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:25:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:25:12 ========================================================= 01:25:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 01:25:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:25:12 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 01:25:12 Sending build context to Docker daemon 127.5kB 01:25:13 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:25:13 Step 2/12 : FROM ${BASE} AS builder 01:25:13 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:25:13 9b3977197b4f: Pulling fs layer 01:25:13 1a89e8eeedd5: Pulling fs layer 01:25:13 94645a83ff95: Pulling fs layer 01:25:13 3f3a8bcf1eab: Pulling fs layer 01:25:13 0c92f367c5e7: Pulling fs layer 01:25:13 f7c0051592d6: Pulling fs layer 01:25:13 a227ed2f7395: Pulling fs layer 01:25:13 7b1c46037f91: Pulling fs layer 01:25:13 f7c0051592d6: Waiting 01:25:13 a227ed2f7395: Waiting 01:25:13 3f3a8bcf1eab: Waiting 01:25:13 7b1c46037f91: Waiting 01:25:13 0c92f367c5e7: Waiting 01:25:13 94645a83ff95: Verifying Checksum 01:25:13 94645a83ff95: Download complete 01:25:13 1a89e8eeedd5: Verifying Checksum 01:25:13 1a89e8eeedd5: Download complete 01:25:13 0c92f367c5e7: Download complete 01:25:13 f7c0051592d6: Verifying Checksum 01:25:13 f7c0051592d6: Download complete 01:25:13 9b3977197b4f: Download complete 01:25:13 a227ed2f7395: Verifying Checksum 01:25:13 a227ed2f7395: Download complete 01:25:13 9b3977197b4f: Pull complete 01:25:14 1a89e8eeedd5: Pull complete 01:25:14 94645a83ff95: Pull complete 01:25:15 7b1c46037f91: Verifying Checksum 01:25:15 7b1c46037f91: Download complete 01:25:16 3f3a8bcf1eab: Download complete 01:25:28 3f3a8bcf1eab: Pull complete 01:25:28 0c92f367c5e7: Pull complete 01:25:28 f7c0051592d6: Pull complete 01:25:28 a227ed2f7395: Pull complete 01:25:35 7b1c46037f91: Pull complete 01:25:35 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 01:25:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 01:25:35 ---> f79e39bc4007 01:25:35 Step 3/12 : ARG MAKE='make build' 01:25:35 ---> Running in e5550e491222 01:25:36 Removing intermediate container e5550e491222 01:25:36 ---> 6b6a7d2d6887 01:25:36 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:25:36 ---> Running in 151cee8afd11 01:25:36 Removing intermediate container 151cee8afd11 01:25:36 ---> 1beb4db976e3 01:25:36 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 01:25:36 ---> Running in 944a559b743d 01:25:36 Removing intermediate container 944a559b743d 01:25:36 ---> 1658ba049eff 01:25:36 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:25:36 ---> Running in da80eb241cdb 01:25:38 Removing intermediate container da80eb241cdb 01:25:38 ---> 1f644832f85f 01:25:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:25:38 ---> Running in 6a56c209ee36 01:25:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:25:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:25:41 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:25:41 (2/4) Installing libedit (20210910.3.1-r0) 01:25:41 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:25:41 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:25:41 Executing busybox-1.34.1-r3.trigger 01:25:41 OK: 224 MiB in 56 packages 01:25:42 Removing intermediate container 6a56c209ee36 01:25:42 ---> 49ef440216db 01:25:42 Step 8/12 : WORKDIR /device-rest-go 01:25:42 ---> Running in 0cff7427485a 01:25:42 Removing intermediate container 0cff7427485a 01:25:42 ---> 87e33485ca1e 01:25:42 Step 9/12 : COPY go.mod vendor* ./ 01:25:43 ---> 03c665aebe09 01:25:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:25:43 ---> Running in 32e828a6289c 01:26:30 Removing intermediate container 32e828a6289c 01:26:30 ---> 48adf272e6fa 01:26:30 Step 11/12 : COPY . . 01:26:30 ---> 9f53d2b4d7c4 01:26:30 Step 12/12 : RUN $MAKE 01:26:30 ---> Running in 907a671ad438 01:26:31 noop 01:26:32 Removing intermediate container 907a671ad438 01:26:32 ---> f55ed830f920 01:26:32 Successfully built f55ed830f920 01:26:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:26:32 + docker inspect -f . ci-base-image-arm64 01:26:32 . [Pipeline] withDockerContainer 01:26:32 prd-ubuntu20.04-docker-arm64-4c-16g-11544 does not seem to be running inside a container 01:26:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/30 -v /w/workspace/device-rest-go/30:/w/workspace/device-rest-go/30:rw,z -v /w/workspace/device-rest-go/30@tmp:/w/workspace/device-rest-go/30@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 01:26:34 $ docker top d64b387badc66e0a9a3dc110caf9728ab4ab608cb687e0e6ebeb2c9385f7694a -eo pid,comm [Pipeline] { [Pipeline] sh 01:26:35 + go version 01:26:35 go version go1.17.6 linux/arm64 [Pipeline] } 01:26:35 $ docker stop --time=1 d64b387badc66e0a9a3dc110caf9728ab4ab608cb687e0e6ebeb2c9385f7694a 01:26:36 $ docker rm -f d64b387badc66e0a9a3dc110caf9728ab4ab608cb687e0e6ebeb2c9385f7694a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:26:37 + docker inspect -f . ci-base-image-arm64 01:26:37 . [Pipeline] withDockerContainer 01:26:37 prd-ubuntu20.04-docker-arm64-4c-16g-11544 does not seem to be running inside a container 01:26:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/30 -v /w/workspace/device-rest-go/30:/w/workspace/device-rest-go/30:rw,z -v /w/workspace/device-rest-go/30@tmp:/w/workspace/device-rest-go/30@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 01:26:39 $ docker top 8469b3fd6699da831cead207d169f0c7c38a66af408cead72620c18aa3a9d257 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:26:39 + make test 01:26:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:26:41 ? github.com/edgexfoundry/device-rest-go [no test files] 01:28:03 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:28:03 ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 55.2% of statements 01:28:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:28:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:28:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:28:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:28:25 ./bin/test-attribution-txt.sh [Pipeline] echo 01:28:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:28:26 $ docker stop --time=1 8469b3fd6699da831cead207d169f0c7c38a66af408cead72620c18aa3a9d257 01:28:28 $ docker rm -f 8469b3fd6699da831cead207d169f0c7c38a66af408cead72620c18aa3a9d257 [Pipeline] // withDockerContainer [Pipeline] sh 01:28:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:28:29 Warning: overwriting stash ‘coverage-report’ 01:28:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:28:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:28:31 + ls -al . 01:28:31 total 168 01:28:31 drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 01:28 . 01:28:31 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 01:24 .. 01:28:31 -rw-rw-r-- 1 jenkins jenkins 151 Apr 8 01:24 .dockerignore 01:28:31 drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 01:24 .git 01:28:31 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 01:24 .github 01:28:31 -rw-rw-r-- 1 jenkins jenkins 329 Apr 8 01:24 .gitignore 01:28:31 -rw-rw-r-- 1 jenkins jenkins 41 Apr 8 01:24 .golangci.yml 01:28:31 -rw-rw-r-- 1 jenkins jenkins 8330 Apr 8 01:24 Attribution.txt 01:28:31 -rw-rw-r-- 1 jenkins jenkins 7459 Apr 8 01:24 CHANGELOG.md 01:28:31 -rw-rw-r-- 1 jenkins jenkins 1672 Apr 8 01:24 Dockerfile 01:28:31 -rw-rw-r-- 1 jenkins jenkins 677 Apr 8 01:24 GOVERNANCE.md 01:28:31 -rw-rw-r-- 1 jenkins jenkins 680 Apr 8 01:24 Jenkinsfile 01:28:31 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 8 01:24 LICENSE 01:28:31 -rw-rw-r-- 1 jenkins jenkins 1964 Apr 8 01:24 Makefile 01:28:31 -rw-rw-r-- 1 jenkins jenkins 620 Apr 8 01:24 OWNERS.md 01:28:31 -rw-rw-r-- 1 jenkins jenkins 8246 Apr 8 01:24 README.md 01:28:31 -rw-rw-r-- 1 jenkins jenkins 11 Apr 8 01:20 VERSION 01:28:31 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 01:24 bin 01:28:31 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 01:24 cmd 01:28:31 -rw-r--r-- 1 jenkins jenkins 9355 Apr 8 01:27 coverage.out 01:28:31 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 01:24 driver 01:28:31 -rw-rw-r-- 1 jenkins jenkins 3240 Apr 8 01:24 go.mod 01:28:31 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 8 01:24 go.sum 01:28:31 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 01:24 snap 01:28:31 -rw-rw-r-- 1 jenkins jenkins 713 Apr 8 01:24 version.go [Pipeline] isUnix [Pipeline] sh 01:28:31 + 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=4202c4e4a89e3dab93c0881b05113b30e3444e83 --label arch=arm64 --label version=2.2.0-dev.9 . 01:28:31 Sending build context to Docker daemon 137.7kB 01:28:31 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 01:28:31 Step 2/25 : FROM ${BASE} AS builder 01:28:31 ---> f55ed830f920 01:28:31 Step 3/25 : ARG MAKE='make build' 01:28:31 ---> Running in 8be8f31708a5 01:28:32 Removing intermediate container 8be8f31708a5 01:28:32 ---> caf8495e7701 01:28:32 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:28:32 ---> Running in 8eb6dbb8a6f4 01:28:32 Removing intermediate container 8eb6dbb8a6f4 01:28:32 ---> 70ccc682b4ab 01:28:32 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 01:28:32 ---> Running in d7a18b6d9e03 01:28:32 Removing intermediate container d7a18b6d9e03 01:28:32 ---> 57dd70bb6cbf 01:28:32 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:28:32 ---> Running in a213b5de8856 01:28:34 Removing intermediate container a213b5de8856 01:28:34 ---> 3c2ee086ed2d 01:28:34 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:28:34 ---> Running in a986af1574e7 01:28:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:28:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:28:37 OK: 224 MiB in 56 packages 01:28:38 Removing intermediate container a986af1574e7 01:28:38 ---> 5ea590ea2a3d 01:28:38 Step 8/25 : WORKDIR /device-rest-go 01:28:38 ---> Running in 6771720bc390 01:28:38 Removing intermediate container 6771720bc390 01:28:38 ---> 00167cd2afaa 01:28:38 Step 9/25 : COPY go.mod vendor* ./ 01:28:39 ---> cf03366b6bef 01:28:39 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:28:39 ---> Running in db7672892c8a 01:28:41 Removing intermediate container db7672892c8a 01:28:41 ---> 2c3d0a48ecc7 01:28:41 Step 11/25 : COPY . . 01:28:41 ---> c36386f0cfb4 01:28:41 Step 12/25 : RUN $MAKE 01:28:41 ---> Running in 4825f5a97ee6 01:28:42 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.9" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 01:30:49 Removing intermediate container 4825f5a97ee6 01:30:49 ---> dfc1f0094607 01:30:49 Step 13/25 : FROM alpine:3.14 01:30:49 3.14: Pulling from library/alpine 01:30:49 455c02918c45: Pulling fs layer 01:30:49 455c02918c45: Verifying Checksum 01:30:49 455c02918c45: Download complete 01:30:49 455c02918c45: Pull complete 01:30:49 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:30:49 Status: Downloaded newer image for alpine:3.14 01:30:49 ---> ac73e934f311 01:30:49 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:30:49 ---> Running in dcd4d3651855 01:30:49 Removing intermediate container dcd4d3651855 01:30:49 ---> 9f54c8a5a19a 01:30:49 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 01:30:49 ---> Running in 86c0de96efe4 01:30:49 Removing intermediate container 86c0de96efe4 01:30:49 ---> e421c95464ad 01:30:49 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 01:30:49 ---> Running in b2e82e0ee5ee 01:30:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:30:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:30:49 (1/6) Installing dumb-init (1.2.5-r1) 01:30:49 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:30:49 (3/6) Installing libsodium (1.0.18-r0) 01:30:49 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:30:49 (5/6) Installing libzmq (4.3.4-r0) 01:30:49 (6/6) Installing zeromq (4.3.4-r0) 01:30:49 Executing busybox-1.33.1-r7.trigger 01:30:49 OK: 8 MiB in 20 packages 01:30:49 Removing intermediate container b2e82e0ee5ee 01:30:49 ---> 5f6785e8eee5 01:30:49 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 01:30:49 ---> 413068d206d8 01:30:49 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 01:30:49 ---> 9a718f392c4d 01:30:49 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 01:30:49 ---> a045fae42b36 01:30:49 Step 20/25 : EXPOSE 59986 01:30:49 ---> Running in a351d195dcbf 01:30:49 Removing intermediate container a351d195dcbf 01:30:49 ---> f18115538a9f 01:30:49 Step 21/25 : ENTRYPOINT ["/device-rest"] 01:30:49 ---> Running in 281f34b77e2b 01:30:49 Removing intermediate container 281f34b77e2b 01:30:49 ---> 337449f74752 01:30:49 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:30:49 ---> Running in e6425dc42507 01:30:49 Removing intermediate container e6425dc42507 01:30:49 ---> 6f4121078b58 01:30:49 Step 23/25 : LABEL arch=arm64 01:30:49 ---> Running in 9befc5517dab 01:30:49 Removing intermediate container 9befc5517dab 01:30:49 ---> e1e6cf2fb1bf 01:30:49 Step 24/25 : LABEL git_sha=4202c4e4a89e3dab93c0881b05113b30e3444e83 01:30:49 ---> Running in ecaa2ec9c3ab 01:30:49 Removing intermediate container ecaa2ec9c3ab 01:30:49 ---> dc9db06dfdb1 01:30:49 Step 25/25 : LABEL version=2.2.0-dev.9 01:30:49 ---> Running in a449aa471483 01:30:49 Removing intermediate container a449aa471483 01:30:49 ---> e11810255bfb 01:30:49 [Warning] One or more build-args [ARCH] were not consumed 01:30:49 Successfully built e11810255bfb 01:30:49 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:30:49 provisioning config files... 01:30:49 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/30@tmp/config4477740812847868625tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:30:49 ---> docker-login.sh 01:30:49 nexus3.edgexfoundry.org:10001 01:30:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:50 Configure a credential helper to remove this warning. See 01:30:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:50 01:30:50 Login Succeeded 01:30:50 nexus3.edgexfoundry.org:10002 01:30:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:50 Configure a credential helper to remove this warning. See 01:30:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:50 01:30:50 Login Succeeded 01:30:50 nexus3.edgexfoundry.org:10003 01:30:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:51 Configure a credential helper to remove this warning. See 01:30:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:51 01:30:51 Login Succeeded 01:30:51 nexus3.edgexfoundry.org:10004 01:30:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:51 Configure a credential helper to remove this warning. See 01:30:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:51 01:30:51 Login Succeeded 01:30:51 docker.io 01:30:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:52 Configure a credential helper to remove this warning. See 01:30:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:52 01:30:52 Login Succeeded 01:30:52 ---> docker-login.sh ends [Pipeline] } 01:30:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:30:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:30:52 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 01:30:52 4202c4e4a89e3dab93c0881b05113b30e3444e83 01:30:52 latest 01:30:52 2.2.0-dev.9 01:30:52 4202c4e4a89e3dab93c0881b05113b30e3444e83-2.2.0-dev.9 01:30:52 main 01:30:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:30:53 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4202c4e4a89e3dab93c0881b05113b30e3444e83 [Pipeline] isUnix [Pipeline] sh 01:30:53 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4202c4e4a89e3dab93c0881b05113b30e3444e83 01:30:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:30:53 943484086112: Preparing 01:30:53 9b3ef6fdc8c6: Preparing 01:30:53 6102fcf80fa8: Preparing 01:30:53 4881e2e3c989: Preparing 01:30:53 f73e7dbfee58: Preparing 01:30:53 f73e7dbfee58: Layer already exists 01:30:53 9b3ef6fdc8c6: Pushed 01:30:53 943484086112: Pushed 01:30:54 4881e2e3c989: Pushed 01:30:58 6102fcf80fa8: Pushed 01:30:59 4202c4e4a89e3dab93c0881b05113b30e3444e83: digest: sha256:4a1cdbe8d6dbd010185532c12c520d422a5c9162295c86353b5994ac2a2af002 size: 1366 [Pipeline] isUnix [Pipeline] sh 01:30:59 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:30:59 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 01:30:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:30:59 943484086112: Preparing 01:30:59 9b3ef6fdc8c6: Preparing 01:30:59 6102fcf80fa8: Preparing 01:30:59 4881e2e3c989: Preparing 01:30:59 f73e7dbfee58: Preparing 01:30:59 f73e7dbfee58: Layer already exists 01:30:59 9b3ef6fdc8c6: Layer already exists 01:30:59 6102fcf80fa8: Layer already exists 01:30:59 4881e2e3c989: Layer already exists 01:30:59 943484086112: Layer already exists 01:31:00 latest: digest: sha256:4a1cdbe8d6dbd010185532c12c520d422a5c9162295c86353b5994ac2a2af002 size: 1366 [Pipeline] isUnix [Pipeline] sh 01:31:00 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh 01:31:00 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.9 01:31:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:31:00 943484086112: Preparing 01:31:00 9b3ef6fdc8c6: Preparing 01:31:00 6102fcf80fa8: Preparing 01:31:00 4881e2e3c989: Preparing 01:31:00 f73e7dbfee58: Preparing 01:31:00 943484086112: Layer already exists 01:31:00 6102fcf80fa8: Layer already exists 01:31:00 f73e7dbfee58: Layer already exists 01:31:00 4881e2e3c989: Layer already exists 01:31:00 9b3ef6fdc8c6: Layer already exists 01:31:00 2.2.0-dev.9: digest: sha256:4a1cdbe8d6dbd010185532c12c520d422a5c9162295c86353b5994ac2a2af002 size: 1366 [Pipeline] isUnix [Pipeline] sh 01:31:01 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4202c4e4a89e3dab93c0881b05113b30e3444e83-2.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh 01:31:01 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4202c4e4a89e3dab93c0881b05113b30e3444e83-2.2.0-dev.9 01:31:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:31:01 943484086112: Preparing 01:31:01 9b3ef6fdc8c6: Preparing 01:31:01 6102fcf80fa8: Preparing 01:31:01 4881e2e3c989: Preparing 01:31:01 f73e7dbfee58: Preparing 01:31:01 6102fcf80fa8: Layer already exists 01:31:01 f73e7dbfee58: Layer already exists 01:31:01 9b3ef6fdc8c6: Layer already exists 01:31:01 943484086112: Layer already exists 01:31:01 4881e2e3c989: Layer already exists 01:31:01 4202c4e4a89e3dab93c0881b05113b30e3444e83-2.2.0-dev.9: digest: sha256:4a1cdbe8d6dbd010185532c12c520d422a5c9162295c86353b5994ac2a2af002 size: 1366 [Pipeline] isUnix [Pipeline] sh 01:31:02 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh 01:31:02 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 01:31:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:31:02 943484086112: Preparing 01:31:02 9b3ef6fdc8c6: Preparing 01:31:02 6102fcf80fa8: Preparing 01:31:02 4881e2e3c989: Preparing 01:31:02 f73e7dbfee58: Preparing 01:31:02 f73e7dbfee58: Layer already exists 01:31:02 943484086112: Layer already exists 01:31:02 6102fcf80fa8: Layer already exists 01:31:02 4881e2e3c989: Layer already exists 01:31:02 9b3ef6fdc8c6: Layer already exists 01:31:02 main: digest: sha256:4a1cdbe8d6dbd010185532c12c520d422a5c9162295c86353b5994ac2a2af002 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:31:02 ===================================================== [Pipeline] echo 01:31:02 taggedImages: 01:31:02 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4202c4e4a89e3dab93c0881b05113b30e3444e83 01:31:02 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 01:31:02 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.9 01:31:02 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4202c4e4a89e3dab93c0881b05113b30e3444e83-2.2.0-dev.9 01:31:02 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:31:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:31:03 01:31:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 01:31:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:31:03 arm64: Pulling from edgex-lftools-log-publisher 01:31:03 8998bd30e6a1: Pulling fs layer 01:31:03 04944245beec: Pulling fs layer 01:31:03 699f458cf7ca: Pulling fs layer 01:31:03 765212b225bb: Pulling fs layer 01:31:03 f23df028b6ca: Pulling fs layer 01:31:03 d65c8cfc05b1: Pulling fs layer 01:31:03 2437ff75d9bd: Pulling fs layer 01:31:03 765212b225bb: Waiting 01:31:03 f23df028b6ca: Waiting 01:31:03 d65c8cfc05b1: Waiting 01:31:03 2437ff75d9bd: Waiting 01:31:03 04944245beec: Verifying Checksum 01:31:03 04944245beec: Download complete 01:31:03 765212b225bb: Verifying Checksum 01:31:03 765212b225bb: Download complete 01:31:03 f23df028b6ca: Verifying Checksum 01:31:03 f23df028b6ca: Download complete 01:31:03 d65c8cfc05b1: Verifying Checksum 01:31:03 d65c8cfc05b1: Download complete 01:31:04 699f458cf7ca: Verifying Checksum 01:31:04 699f458cf7ca: Download complete 01:31:04 8998bd30e6a1: Verifying Checksum 01:31:04 8998bd30e6a1: Download complete 01:31:07 2437ff75d9bd: Verifying Checksum 01:31:07 2437ff75d9bd: Download complete 01:31:08 8998bd30e6a1: Pull complete 01:31:09 04944245beec: Pull complete 01:31:10 699f458cf7ca: Pull complete 01:31:10 765212b225bb: Pull complete 01:31:11 f23df028b6ca: Pull complete 01:31:11 d65c8cfc05b1: Pull complete 01:31:26 2437ff75d9bd: Pull complete 01:31:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:31:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:31:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 01:31:26 prd-ubuntu20.04-docker-arm64-4c-16g-11544 does not seem to be running inside a container 01:31:27 $ 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/30 -v /w/workspace/device-rest-go/30:/w/workspace/device-rest-go/30:rw,z -v /w/workspace/device-rest-go/30@tmp:/w/workspace/device-rest-go/30@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 01:31:29 $ docker top a9d178827cd4b3f4464d18c94b9c30c9d6abd518ecfb208e786f55e6109a0af2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:31:30 ---> job-cost.sh 01:31:30 lf-activate-venv: SKIPPING 01:31:30 INFO: No Stack... 01:31:31 INFO: Retrieving Pricing Info for: v3-standard-4 01:31:32 INFO: Archiving Costs [Pipeline] sh 01:31:32 + + cat /w/workspace/device-rest-go/30/archives/cost.csv 01:31:32 cut -d, -f6 [Pipeline] lock 01:31:32 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-30-stack-cost] 01:31:32 Resource [jenkins-edgexfoundry-device-rest-go-main-30-stack-cost] did not exist. Created. 01:31:32 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:31:33 /w/workspace/device-rest-go/30@tmp/durable-b4e7af29/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:31:34 + echo total: 0.10999999940395355 [Pipeline] stash 01:31:34 Warning: overwriting stash ‘stack-cost’ 01:31:34 Stashed 1 file(s) [Pipeline] } 01:31:34 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-30-stack-cost] [Pipeline] // lock [Pipeline] } 01:31:34 $ docker stop --time=1 a9d178827cd4b3f4464d18c94b9c30c9d6abd518ecfb208e786f55e6109a0af2 01:31:35 $ docker rm -f a9d178827cd4b3f4464d18c94b9c30c9d6abd518ecfb208e786f55e6109a0af2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:31:36 provisioning config files... 01:31:36 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2685291707758318189tmp [Pipeline] { [Pipeline] sh 01:31:36 + set +x 01:31:36 + curl -s https://codecov.io/bash 01:31:36 + bash -s -- 01:31:36 01:31:36 _____ _ 01:31:36 / ____| | | 01:31:36 | | ___ __| | ___ ___ _____ __ 01:31:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:31:36 | |___| (_) | (_| | __/ (_| (_) \ V / 01:31:36 \_____\___/ \__,_|\___|\___\___/ \_/ 01:31:36 Bash-1.0.6 01:31:36 01:31:36 01:31:36 ==> git version 2.25.1 found 01:31:36 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:31:36 Release-Date: 2020-01-08 01:31:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:31:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:31:36 ==> Jenkins CI detected. 01:31:36 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 01:31:36 project root: . 01:31:36 --> token set from env 01:31:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:31:36 ==> Running gcov in . (disable via -X gcov) 01:31:36 ==> Python coveragepy not found 01:31:36 ==> Searching for coverage reports in: 01:31:36 + . 01:31:36 -> Found 1 reports 01:31:36 ==> Detecting git/mercurial file structure 01:31:37 ==> Reading reports 01:31:37 + ./coverage.out bytes=9355 01:31:37 ==> Appending adjustments 01:31:37 https://docs.codecov.io/docs/fixing-reports 01:31:37 + Found adjustments 01:31:37 ==> Gzipping contents 01:31:37 4.0K /tmp/codecov.TNr2At.gz 01:31:37 ==> Uploading reports 01:31:37 url: https://codecov.io 01:31:37 query: branch=main&commit=4202c4e4a89e3dab93c0881b05113b30e3444e83&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:31:37 -> Pinging Codecov 01:31:37 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=4202c4e4a89e3dab93c0881b05113b30e3444e83&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:31:37 -> Uploading to 01:31:37 https://storage.googleapis.com/codecov/v4/raw/2022-04-08/4E5D53B4F1F92C436F7061BF334D961C/4202c4e4a89e3dab93c0881b05113b30e3444e83/f323a865-7b5e-4846-ba41-474578a69346.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220408%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220408T013137Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d3035f9a91001086d1ac41223af7dfa21dbfd48179912948e4cce5779f6b2634 01:31:37 % Total % Received % Xferd Average Speed Time Time Time Current 01:31:37 Dload Upload Total Spent Left Speed 01:31:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1800 0 0 100 1800 0 7725 --:--:-- --:--:-- --:--:-- 7725 01:31:37 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/4202c4e4a89e3dab93c0881b05113b30e3444e83 [Pipeline] } 01:31:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:31:37 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:31:37 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:31:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:31:38 01:31:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 01:31:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:31:38 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:31:38 188c0c94c7c5: Pulling fs layer 01:31:38 0ef7d3d256c8: Pulling fs layer 01:31:38 de9db76c5a1d: Pulling fs layer 01:31:38 0eba1c9be4d2: Pulling fs layer 01:31:38 0d57e429df01: Pulling fs layer 01:31:38 4e4be7b47b0d: Pulling fs layer 01:31:38 e1f770b5df2f: Pulling fs layer 01:31:38 85a0685a4137: Pulling fs layer 01:31:38 0eba1c9be4d2: Waiting 01:31:38 0d57e429df01: Waiting 01:31:38 e1f770b5df2f: Waiting 01:31:38 85a0685a4137: Waiting 01:31:38 de9db76c5a1d: Verifying Checksum 01:31:38 de9db76c5a1d: Download complete 01:31:38 0ef7d3d256c8: Download complete 01:31:38 0d57e429df01: Verifying Checksum 01:31:38 0d57e429df01: Download complete 01:31:38 4e4be7b47b0d: Verifying Checksum 01:31:38 4e4be7b47b0d: Download complete 01:31:38 188c0c94c7c5: Verifying Checksum 01:31:38 188c0c94c7c5: Download complete 01:31:38 188c0c94c7c5: Pull complete 01:31:38 e1f770b5df2f: Verifying Checksum 01:31:38 e1f770b5df2f: Download complete 01:31:38 0ef7d3d256c8: Pull complete 01:31:38 de9db76c5a1d: Pull complete 01:31:39 0eba1c9be4d2: Verifying Checksum 01:31:39 0eba1c9be4d2: Download complete 01:31:39 85a0685a4137: Verifying Checksum 01:31:39 85a0685a4137: Download complete 01:31:42 0eba1c9be4d2: Pull complete 01:31:42 0d57e429df01: Pull complete 01:31:42 4e4be7b47b0d: Pull complete 01:31:43 e1f770b5df2f: Pull complete 01:31:47 85a0685a4137: Pull complete 01:31:47 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 01:31:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:31:47 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 01:31:47 prd-ubuntu20.04-docker-8c-8g-11543 does not seem to be running inside a container 01:31:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 01:31:49 $ docker top 58302839267a8b895d66c1bf7ffdd9ccf9eb2b6cdb47f1f33865bebcf9201814 -eo pid,comm [Pipeline] { [Pipeline] echo 01:31:49 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 01:31:49 + set -o pipefail 01:31:49 + snyk monitor '--org=edgex-jenkins' 01:31:56 01:31:56 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 01:31:56 01:31:56 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/45ff0abe-c3d8-4570-bcdf-4e42f24676d3 01:31:56 01:31:56 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 01:31:56 01:31:56 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:31:56 01:31:56 [Pipeline] } 01:31:56 $ docker stop --time=1 58302839267a8b895d66c1bf7ffdd9ccf9eb2b6cdb47f1f33865bebcf9201814 01:31:58 $ docker rm -f 58302839267a8b895d66c1bf7ffdd9ccf9eb2b6cdb47f1f33865bebcf9201814 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:31:58 + git log --format=format:%s -1 4202c4e4a89e3dab93c0881b05113b30e3444e83 [Pipeline] sh 01:31:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:31:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:31:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:31:59 . [Pipeline] withDockerContainer 01:31:59 prd-ubuntu20.04-docker-8c-8g-11543 does not seem to be running inside a container 01:31:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:32:00 $ docker top 2348026fd5701e928ca223aaa65fc8243f62c72ecb6f471b088c8dbc98ca49f8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:32:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:32:00 [ssh-agent] Looking for ssh-agent implementation... 01:32:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:32:00 $ docker exec 2348026fd5701e928ca223aaa65fc8243f62c72ecb6f471b088c8dbc98ca49f8 ssh-agent 01:32:00 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMfGefC/agent.13 01:32:00 SSH_AGENT_PID=19 01:32:00 Running ssh-add (command line suppressed) 01:32:00 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3184464255944579404.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3184464255944579404.key) 01:32:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:32:00 + git semver tag 01:32:00 # -> Open(): unable to determine branch for HEAD 01:32:00 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 01:32:00 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 01:32:00 # $SEMVER_REMOTE_NAME = origin 01:32:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:32:00 # $SEMVER_USER_NAME = edgex-jenkins 01:32:00 # $SEMVER_BRANCH = main 01:32:00 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 01:32:00 # 4202c4e4a89e3dab93c0881b05113b30e3444e83 HEAD 01:32:00 # -> Force: false 01:32:00 # 6b78bcc69e6aefcf7dd2a18efd4a5350454d9043 refs/tags/v2.2.0-dev.9 [Pipeline] } 01:32:00 $ docker exec --env ******** --env ******** 2348026fd5701e928ca223aaa65fc8243f62c72ecb6f471b088c8dbc98ca49f8 ssh-agent -k 01:32:00 unset SSH_AUTH_SOCK; 01:32:00 unset SSH_AGENT_PID; 01:32:00 echo Agent pid 19 killed; 01:32:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:32:01 + git semver [Pipeline] } 01:32:01 $ docker stop --time=1 2348026fd5701e928ca223aaa65fc8243f62c72ecb6f471b088c8dbc98ca49f8 01:32:02 $ docker rm -f 2348026fd5701e928ca223aaa65fc8243f62c72ecb6f471b088c8dbc98ca49f8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 01:32:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:32:03 01:32:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 01:32:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:32:03 0.23.1-centos7: Pulling from edgex-lftools 01:32:03 ab5ef0e58194: Pulling fs layer 01:32:03 9712f1f96733: Pulling fs layer 01:32:03 63f879dbbcfc: Pulling fs layer 01:32:03 0d9ebad4ef96: Pulling fs layer 01:32:03 e9a5061849ea: Pulling fs layer 01:32:03 d747dcd14b5f: Pulling fs layer 01:32:03 2de7ff778b66: Pulling fs layer 01:32:03 0d9ebad4ef96: Waiting 01:32:03 e9a5061849ea: Waiting 01:32:03 d747dcd14b5f: Waiting 01:32:03 2de7ff778b66: Waiting 01:32:03 9712f1f96733: Download complete 01:32:03 63f879dbbcfc: Verifying Checksum 01:32:03 63f879dbbcfc: Download complete 01:32:03 e9a5061849ea: Verifying Checksum 01:32:03 e9a5061849ea: Download complete 01:32:03 0d9ebad4ef96: Verifying Checksum 01:32:03 0d9ebad4ef96: Download complete 01:32:03 d747dcd14b5f: Verifying Checksum 01:32:03 d747dcd14b5f: Download complete 01:32:03 ab5ef0e58194: Verifying Checksum 01:32:03 ab5ef0e58194: Download complete 01:32:04 2de7ff778b66: Verifying Checksum 01:32:07 ab5ef0e58194: Pull complete 01:32:07 9712f1f96733: Pull complete 01:32:07 63f879dbbcfc: Pull complete 01:32:11 0d9ebad4ef96: Pull complete 01:32:11 e9a5061849ea: Pull complete 01:32:11 d747dcd14b5f: Pull complete 01:32:12 2de7ff778b66: Pull complete 01:32:12 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:32:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:32:12 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 01:32:12 prd-ubuntu20.04-docker-8c-8g-11543 does not seem to be running inside a container 01:32:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:32:14 $ docker top 4255537c1199c2ef0b7546d69b9040c4029f4ce2c7196c521f38a1514c8351b5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:32:15 provisioning config files... 01:32:15 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8197907649433624471tmp 01:32:15 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7777119224166685521tmp 01:32:15 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7141257016636274750tmp [Pipeline] { [Pipeline] echo 01:32:15 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:32:15 ---> sigul-configuration.sh 01:32:15 gpg: directory `/root/.gnupg' created 01:32:15 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:32:15 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:32:15 gpg: keyring `/root/.gnupg/secring.gpg' created 01:32:15 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:32:15 gpg: CAST5 encrypted data 01:32:15 gpg: encrypted with 1 passphrase 01:32:15 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:32:15 + mkdir /home/jenkins 01:32:15 + mkdir /home/jenkins/sigul [Pipeline] sh 01:32:15 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 01:32:15 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:32:16 ---> sigul-install.sh 01:32:16 Sigul already installed; skipping installation. [Pipeline] sh 01:32:16 + git tag --list 01:32:16 v1.0.0 01:32:16 v1.1.0 01:32:16 v1.1.1 01:32:16 v1.1.2 01:32:16 v1.2.0 01:32:16 v1.2.1 01:32:16 v2.0.0 01:32:16 v2.0.1-dev.1 01:32:16 v2.0.1-dev.10 01:32:16 v2.0.1-dev.11 01:32:16 v2.0.1-dev.12 01:32:16 v2.0.1-dev.13 01:32:16 v2.0.1-dev.14 01:32:16 v2.0.1-dev.2 01:32:16 v2.0.1-dev.3 01:32:16 v2.0.1-dev.4 01:32:16 v2.0.1-dev.5 01:32:16 v2.0.1-dev.6 01:32:16 v2.0.1-dev.7 01:32:16 v2.0.1-dev.8 01:32:16 v2.0.1-dev.9 01:32:16 v2.1.0 01:32:16 v2.2.0-dev.1 01:32:16 v2.2.0-dev.2 01:32:16 v2.2.0-dev.3 01:32:16 v2.2.0-dev.4 01:32:16 v2.2.0-dev.5 01:32:16 v2.2.0-dev.6 01:32:16 v2.2.0-dev.7 01:32:16 v2.2.0-dev.8 01:32:16 v2.2.0-dev.9 [Pipeline] sh 01:32:16 + lftools sign git-tag v2.2.0-dev.9 01:32:17 Signing Git tag with Sigul... 01:32:17 Signing v2.2.0-dev.9 [Pipeline] echo 01:32:17 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:32:17 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:32:17 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:32:18 $ docker stop --time=1 4255537c1199c2ef0b7546d69b9040c4029f4ce2c7196c521f38a1514c8351b5 01:32:19 $ docker rm -f 4255537c1199c2ef0b7546d69b9040c4029f4ce2c7196c521f38a1514c8351b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:32:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:32:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:32:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:32:20 . [Pipeline] withDockerContainer 01:32:20 prd-ubuntu20.04-docker-8c-8g-11543 does not seem to be running inside a container 01:32:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:32:20 $ docker top 8f2ee77ac84aeee6d9e972b920e64a27cea0fb65c503fdfebf530e6932ab8d23 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:32:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:32:20 [ssh-agent] Looking for ssh-agent implementation... 01:32:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:32:20 $ docker exec 8f2ee77ac84aeee6d9e972b920e64a27cea0fb65c503fdfebf530e6932ab8d23 ssh-agent 01:32:20 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPfophG/agent.14 01:32:20 SSH_AGENT_PID=20 01:32:20 Running ssh-add (command line suppressed) 01:32:21 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6883620947398102081.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6883620947398102081.key) 01:32:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:32:21 + git semver bump pre 01:32:21 # -> Open(): unable to determine branch for HEAD 01:32:21 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 01:32:21 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 01:32:21 # $SEMVER_REMOTE_NAME = origin 01:32:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:32:21 # $SEMVER_USER_NAME = edgex-jenkins 01:32:21 # $SEMVER_BRANCH = main 01:32:21 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 01:32:21 2.2.0-dev.10 [Pipeline] } 01:32:21 $ docker exec --env ******** --env ******** 8f2ee77ac84aeee6d9e972b920e64a27cea0fb65c503fdfebf530e6932ab8d23 ssh-agent -k 01:32:21 unset SSH_AUTH_SOCK; 01:32:21 unset SSH_AGENT_PID; 01:32:21 echo Agent pid 20 killed; 01:32:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:32:21 + git semver [Pipeline] } 01:32:21 $ docker stop --time=1 8f2ee77ac84aeee6d9e972b920e64a27cea0fb65c503fdfebf530e6932ab8d23 01:32:23 $ docker rm -f 8f2ee77ac84aeee6d9e972b920e64a27cea0fb65c503fdfebf530e6932ab8d23 [Pipeline] // withDockerContainer [Pipeline] sh 01:32:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:32:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:32:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:32:23 . [Pipeline] withDockerContainer 01:32:23 prd-ubuntu20.04-docker-8c-8g-11543 does not seem to be running inside a container 01:32:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:32:24 $ docker top 78c20bb72364df4f71f7edc2b1279a588abc2a103750a359140ffecf1ce9e441 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:32:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:32:24 [ssh-agent] Looking for ssh-agent implementation... 01:32:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:32:24 $ docker exec 78c20bb72364df4f71f7edc2b1279a588abc2a103750a359140ffecf1ce9e441 ssh-agent 01:32:24 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpgIoOM/agent.15 01:32:24 SSH_AGENT_PID=21 01:32:24 Running ssh-add (command line suppressed) 01:32:24 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1288573745821546277.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1288573745821546277.key) 01:32:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:32:25 + git semver push 01:32:25 # -> Open(): unable to determine branch for HEAD 01:32:25 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 01:32:25 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 01:32:25 # $SEMVER_REMOTE_NAME = origin 01:32:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:32:25 # $SEMVER_USER_NAME = edgex-jenkins 01:32:25 # $SEMVER_BRANCH = main 01:32:25 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 01:32:26 $ docker exec --env ******** --env ******** 78c20bb72364df4f71f7edc2b1279a588abc2a103750a359140ffecf1ce9e441 ssh-agent -k 01:32:26 unset SSH_AUTH_SOCK; 01:32:26 unset SSH_AGENT_PID; 01:32:26 echo Agent pid 21 killed; 01:32:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:32:26 + git semver [Pipeline] } 01:32:26 $ docker stop --time=1 78c20bb72364df4f71f7edc2b1279a588abc2a103750a359140ffecf1ce9e441 01:32:28 $ docker rm -f 78c20bb72364df4f71f7edc2b1279a588abc2a103750a359140ffecf1ce9e441 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:32:28 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 01:32:28 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 01:32:28 total 16 01:32:28 drwxr-xr-x 3 root root 4096 Apr 8 01:22 . 01:32:28 drwxrwxr-x 10 jenkins jenkins 4096 Apr 8 01:32 .. 01:32:28 drwxr-xr-x 2 root root 4096 Apr 8 01:22 cost 01:32:28 -rw-r--r-- 1 root root 84 Apr 8 01:22 cost.csv 01:32:28 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 01:32:28 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 01:32:28 total 16 01:32:28 drwxr-xr-x 3 jenkins jenkins 4096 Apr 8 01:22 . 01:32:28 drwxrwxr-x 10 jenkins jenkins 4096 Apr 8 01:32 .. 01:32:28 drwxr-xr-x 2 jenkins jenkins 4096 Apr 8 01:22 cost 01:32:28 -rw-r--r-- 1 jenkins jenkins 84 Apr 8 01:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:32:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:32:30 ---> package-listing.sh 01:32:30 ++ facter osfamily 01:32:30 ++ tr '[:upper:]' '[:lower:]' 01:32:30 + OS_FAMILY=debian 01:32:30 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 01:32:30 + START_PACKAGES=/tmp/packages_start.txt 01:32:30 + END_PACKAGES=/tmp/packages_end.txt 01:32:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:32:30 + PACKAGES=/tmp/packages_start.txt 01:32:30 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:32:30 + PACKAGES=/tmp/packages_end.txt 01:32:30 + case "${OS_FAMILY}" in 01:32:30 + dpkg -l 01:32:30 + grep '^ii' 01:32:30 + '[' -f /tmp/packages_start.txt ']' 01:32:30 + '[' -f /tmp/packages_end.txt ']' 01:32:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:32:30 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:32:30 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 01:32:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 01:32:30 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:32:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:32:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:32:31 . [Pipeline] withDockerContainer 01:32:31 prd-ubuntu20.04-docker-8c-8g-11543 does not seem to be running inside a container 01:32:31 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:32:31 $ docker top fd092f061739d2e9a12d3b278fbe7701a9ea59f72d3d31496208b61962b3d6b5 -eo pid,comm [Pipeline] { [Pipeline] sh 01:32:31 + touch /tmp/pre-build-complete [Pipeline] sh 01:32:32 + mkdir -p /var/log/sysstat [Pipeline] sh 01:32:32 + ls /var/log/sa-host 01:32:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:32:32 provisioning config files... 01:32:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6168589525142251857tmp [Pipeline] { [Pipeline] echo 01:32:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:32:33 ---> create-netrc.sh [Pipeline] } 01:32:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:32:33 ---> python-tools-install.sh [Pipeline] echo 01:32:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:32:33 ---> sudo-logs.sh 01:32:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:32:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:32:34 ---> job-cost.sh 01:32:34 lf-activate-venv: SKIPPING 01:32:34 DEBUG: total: 0.2199999988079071 01:32:34 INFO: Retrieving Stack Cost... 01:32:34 INFO: Retrieving Pricing Info for: v3-standard-8 01:32:34 INFO: Archiving Costs [Pipeline] echo 01:32:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:32:35 ---> logs-deploy.sh 01:32:35 lf-activate-venv: SKIPPING 01:32:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/30 01:32:35 INFO: archiving workspace using pattern(s): 01:32:36 Archives upload complete. 01:32:36 INFO: archiving logs to Nexus