Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 868c3d37fa7208ff5e10080602f68a64287cb162 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-ssh8216021091969968586.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-ssh16673185076352311807.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-ssh10117818366524828989.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-ssh10330859782446879785.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-ssh7202487930331668942.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 ‘prd-ubuntu20.04-docker-8c-8g-10766’ is offline Running on prd-ubuntu20.04-docker-8c-8g-10767 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 868c3d37fa7208ff5e10080602f68a64287cb162 (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 868c3d37fa7208ff5e10080602f68a64287cb162 # timeout=10 Commit message: "Merge pull request #166 from jpwhitemn/enable-gosec-lint" > git rev-list --no-walk ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:08:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:08:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:08:21 ========================================================= 20:08:21 EdgeX Global Pipelines Version Info 20:08:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:08:21 ------------------- 20:08:21 stable info: 20:08:21 ------------------- 20:08:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:08:21 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 20:08:21 Message: update stable to v1.0.221 20:08:22 ------------------- 20:08:22 experimental info: 20:08:22 ------------------- 20:08:22 Commited By: **** collab-it+edgex@linuxfoundation.org 20:08:22 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 20:08:22 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 868c3d37fa7208ff5e10080602f68a64287cb162 [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 868c3d3 [Pipeline] echo 20:08:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:08:22 provisioning config files... 20:08:22 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6019850304442294239tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:08:23 ---> docker-login.sh 20:08:23 nexus3.edgexfoundry.org:10001 20:08:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:23 Configure a credential helper to remove this warning. See 20:08:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:23 20:08:23 Login Succeeded 20:08:23 nexus3.edgexfoundry.org:10002 20:08:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:23 Configure a credential helper to remove this warning. See 20:08:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:23 20:08:23 Login Succeeded 20:08:23 nexus3.edgexfoundry.org:10003 20:08:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:24 Configure a credential helper to remove this warning. See 20:08:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:24 20:08:24 Login Succeeded 20:08:24 nexus3.edgexfoundry.org:10004 20:08:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:24 Configure a credential helper to remove this warning. See 20:08:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:24 20:08:24 Login Succeeded 20:08:24 docker.io 20:08:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:24 Configure a credential helper to remove this warning. See 20:08:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:24 20:08:24 Login Succeeded 20:08:24 ---> docker-login.sh ends [Pipeline] } 20:08:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:08:25 + git rev-list -1 --merges 868c3d37fa7208ff5e10080602f68a64287cb162~1..868c3d37fa7208ff5e10080602f68a64287cb162 [Pipeline] echo 20:08:25 -----------> git rev-list -1 --merges 868c3d37fa7208ff5e10080602f68a64287cb162~1..868c3d37fa7208ff5e10080602f68a64287cb162 868c3d37fa7208ff5e10080602f68a64287cb162 20:08:25 868c3d37fa7208ff5e10080602f68a64287cb162 [false] [Pipeline] sh 20:08:25 + git log --format=format:%s -1 868c3d37fa7208ff5e10080602f68a64287cb162 [Pipeline] echo 20:08:25 ========================================================= 20:08:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:08:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:08:25 + git log --format=format:%s -1 868c3d37fa7208ff5e10080602f68a64287cb162 [Pipeline] echo 20:08:25 [semverPrep] GIT_COMMIT: 868c3d37fa7208ff5e10080602f68a64287cb162, Commit Message: Merge pull request #166 from jpwhitemn/enable-gosec-lint [Pipeline] echo 20:08:25 [semverPrep] This is not a build commit. [Pipeline] sh 20:08:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:08:26 + grep -v github /etc/ssh/ssh_known_hosts 20:08:26 + [ -e /tmp/ssh_known_hosts ] 20:08:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:08:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:08:26 + sudo tee -a /etc/ssh/ssh_known_hosts 20:08:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:08:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:08:26 20:08:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:08:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:08:26 latest: Pulling from edgex-devops/git-semver 20:08:26 a0d0a0d46f8b: Pulling fs layer 20:08:26 3e5f54012d9b: Pulling fs layer 20:08:26 4c7163046ea9: Pulling fs layer 20:08:26 0c2d73faf560: Pulling fs layer 20:08:26 0c2d73faf560: Waiting 20:08:26 3e5f54012d9b: Verifying Checksum 20:08:26 3e5f54012d9b: Download complete 20:08:26 a0d0a0d46f8b: Download complete 20:08:26 0c2d73faf560: Verifying Checksum 20:08:26 0c2d73faf560: Download complete 20:08:26 4c7163046ea9: Verifying Checksum 20:08:26 4c7163046ea9: Download complete 20:08:27 a0d0a0d46f8b: Pull complete 20:08:27 3e5f54012d9b: Pull complete 20:08:27 4c7163046ea9: Pull complete 20:08:27 0c2d73faf560: Pull complete 20:08:27 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 20:08:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:08:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:08:27 prd-ubuntu20.04-docker-8c-8g-10767 does not seem to be running inside a container 20:08:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:08:28 $ docker top dfbc159b113430aa3975bd78b9f763e490cafdd5f7303cf22cdc359a600ff055 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:08:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:08:28 [ssh-agent] Looking for ssh-agent implementation... 20:08:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:08:28 $ docker exec dfbc159b113430aa3975bd78b9f763e490cafdd5f7303cf22cdc359a600ff055 ssh-agent 20:08:28 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGojedl/agent.13 20:08:28 SSH_AGENT_PID=20 20:08:28 Running ssh-add (command line suppressed) 20:08:29 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6106329858946445561.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6106329858946445561.key) 20:08:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:08:29 + git tag --points-at HEAD [Pipeline] } 20:08:29 $ docker exec --env ******** --env ******** dfbc159b113430aa3975bd78b9f763e490cafdd5f7303cf22cdc359a600ff055 ssh-agent -k 20:08:29 unset SSH_AUTH_SOCK; 20:08:29 unset SSH_AGENT_PID; 20:08:29 echo Agent pid 20 killed; 20:08:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:08:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:08:29 [ssh-agent] Looking for ssh-agent implementation... 20:08:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:08:29 $ docker exec dfbc159b113430aa3975bd78b9f763e490cafdd5f7303cf22cdc359a600ff055 ssh-agent 20:08:29 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhiFnlD/agent.54 20:08:29 SSH_AGENT_PID=60 20:08:29 Running ssh-add (command line suppressed) 20:08:29 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8762663468923118590.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8762663468923118590.key) 20:08:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:08:30 + git semver init 20:08:30 # -> Open(): unable to determine branch for HEAD 20:08:30 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 20:08:30 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 20:08:30 # $SEMVER_REMOTE_NAME = origin 20:08:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:08:30 # $SEMVER_USER_NAME = edgex-jenkins 20:08:30 # $SEMVER_BRANCH = main 20:08:30 # $SEMVER_TEMP = /tmp/semver-991629045 20:08:30 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 20:08:31 # '/tmp/semver-991629045' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' 20:08:31 # -> Force: false 20:08:31 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 20:08:31 $ docker exec --env ******** --env ******** dfbc159b113430aa3975bd78b9f763e490cafdd5f7303cf22cdc359a600ff055 ssh-agent -k 20:08:31 unset SSH_AUTH_SOCK; 20:08:31 unset SSH_AGENT_PID; 20:08:31 echo Agent pid 60 killed; 20:08:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:08:32 + git semver [Pipeline] } 20:08:32 $ docker stop --time=1 dfbc159b113430aa3975bd78b9f763e490cafdd5f7303cf22cdc359a600ff055 20:08:33 $ docker rm -f dfbc159b113430aa3975bd78b9f763e490cafdd5f7303cf22cdc359a600ff055 [Pipeline] // withDockerContainer [Pipeline] sh 20:08:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:08:34 Stashed 1 file(s) [Pipeline] echo 20:08:34 [edgeXSemver]: initialized semver on version 2.2.0-dev.7 [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 20:08:34 provisioning config files... 20:08:34 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6456887384578658354tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:08:34 ---> docker-login.sh 20:08:34 nexus3.edgexfoundry.org:10001 20:08:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:34 Configure a credential helper to remove this warning. See 20:08:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:34 20:08:34 Login Succeeded 20:08:34 nexus3.edgexfoundry.org:10002 20:08:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:34 Configure a credential helper to remove this warning. See 20:08:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:34 20:08:34 Login Succeeded 20:08:34 nexus3.edgexfoundry.org:10003 20:08:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:34 Configure a credential helper to remove this warning. See 20:08:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:34 20:08:34 Login Succeeded 20:08:34 nexus3.edgexfoundry.org:10004 20:08:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:35 Configure a credential helper to remove this warning. See 20:08:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:35 20:08:35 Login Succeeded 20:08:35 docker.io 20:08:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:35 Configure a credential helper to remove this warning. See 20:08:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:35 20:08:35 Login Succeeded 20:08:35 ---> docker-login.sh ends [Pipeline] } 20:08:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:08:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:08:35 ========================================================= 20:08:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:08:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:08:35 + 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 . 20:08:35 Sending build context to Docker daemon 10.55MB 20:08:35 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:08:35 Step 2/12 : FROM ${BASE} AS builder 20:08:35 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:08:35 59bf1c3509f3: Pulling fs layer 20:08:35 666ba61612fd: Pulling fs layer 20:08:35 8ed8ca486205: Pulling fs layer 20:08:35 4fe6c5a15a65: Pulling fs layer 20:08:35 22a0e8bec74d: Pulling fs layer 20:08:35 640e595b4fbd: Pulling fs layer 20:08:35 763cafe07f6e: Pulling fs layer 20:08:35 0c0b528cf693: Pulling fs layer 20:08:35 10935f4eaf8b: Pulling fs layer 20:08:35 4fe6c5a15a65: Waiting 20:08:35 640e595b4fbd: Waiting 20:08:35 22a0e8bec74d: Waiting 20:08:35 763cafe07f6e: Waiting 20:08:35 0c0b528cf693: Waiting 20:08:35 10935f4eaf8b: Waiting 20:08:35 8ed8ca486205: Verifying Checksum 20:08:35 8ed8ca486205: Download complete 20:08:35 666ba61612fd: Verifying Checksum 20:08:35 666ba61612fd: Download complete 20:08:36 22a0e8bec74d: Download complete 20:08:36 640e595b4fbd: Verifying Checksum 20:08:36 640e595b4fbd: Download complete 20:08:36 763cafe07f6e: Verifying Checksum 20:08:36 763cafe07f6e: Download complete 20:08:36 59bf1c3509f3: Verifying Checksum 20:08:36 59bf1c3509f3: Download complete 20:08:36 0c0b528cf693: Verifying Checksum 20:08:36 0c0b528cf693: Download complete 20:08:36 59bf1c3509f3: Pull complete 20:08:36 666ba61612fd: Pull complete 20:08:36 8ed8ca486205: Pull complete 20:08:36 10935f4eaf8b: Verifying Checksum 20:08:36 10935f4eaf8b: Download complete 20:08:36 4fe6c5a15a65: Verifying Checksum 20:08:36 4fe6c5a15a65: Download complete 20:08:41 4fe6c5a15a65: Pull complete 20:08:41 22a0e8bec74d: Pull complete 20:08:41 640e595b4fbd: Pull complete 20:08:41 763cafe07f6e: Pull complete 20:08:41 0c0b528cf693: Pull complete 20:08:43 10935f4eaf8b: Pull complete 20:08:43 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 20:08:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:08:43 ---> 99d49a6021b9 20:08:43 Step 3/12 : ARG MAKE='make build' 20:08:45 ---> Running in 73c8982c1af9 20:08:45 Removing intermediate container 73c8982c1af9 20:08:45 ---> cdad64948ea8 20:08:45 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:08:45 ---> Running in 555801fb735f 20:08:45 Removing intermediate container 555801fb735f 20:08:45 ---> 60efaf014ffd 20:08:45 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:08:45 ---> Running in 479fae98bd2d 20:08:45 Removing intermediate container 479fae98bd2d 20:08:45 ---> 13e26533440d 20:08:45 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:08:45 ---> Running in f6fe6ff19618 20:08:46 Removing intermediate container f6fe6ff19618 20:08:46 ---> 86e712408b34 20:08:46 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:08:46 ---> Running in f3f119f37543 20:08:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:08:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:08:47 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:08:47 (2/4) Installing libedit (20210910.3.1-r0) 20:08:47 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:08:47 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:08:48 Executing busybox-1.34.1-r3.trigger 20:08:48 OK: 224 MiB in 56 packages 20:08:48 Removing intermediate container f3f119f37543 20:08:48 ---> 78b0cceed62f 20:08:48 Step 8/12 : WORKDIR /device-rest-go 20:08:48 ---> Running in bf578b007840 20:08:48 Removing intermediate container bf578b007840 20:08:48 ---> da37cb79c218 20:08:48 Step 9/12 : COPY go.mod vendor* ./ 20:08:48 ---> 5b0f10def91e 20:08:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:08:48 ---> Running in 36ea08395e71 20:08:49 Still waiting to schedule task 20:08:49 ‘prd-ubuntu20.04-docker-arm64-4c-16g-10768’ is offline 20:09:15 Removing intermediate container 36ea08395e71 20:09:15 ---> eae3f3fee2ea 20:09:15 Step 11/12 : COPY . . 20:09:15 ---> 2c757e8bb3ca 20:09:15 Step 12/12 : RUN $MAKE 20:09:15 ---> Running in 28d668d1288b 20:09:15 noop 20:09:15 Removing intermediate container 28d668d1288b 20:09:15 ---> e91d284c29ee 20:09:15 Successfully built e91d284c29ee 20:09:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:09:15 + docker inspect -f . ci-base-image-x86_64 20:09:15 . [Pipeline] withDockerContainer 20:09:15 prd-ubuntu20.04-docker-8c-8g-10767 does not seem to be running inside a container 20:09:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:09:16 $ docker top 6ca3ba93b9c598826515ae04391a1c821ba555838713513c4394c5ab9aea2e54 -eo pid,comm [Pipeline] { [Pipeline] sh 20:09:16 + go version 20:09:16 go version go1.17.6 linux/amd64 [Pipeline] } 20:09:16 $ docker stop --time=1 6ca3ba93b9c598826515ae04391a1c821ba555838713513c4394c5ab9aea2e54 20:09:18 $ docker rm -f 6ca3ba93b9c598826515ae04391a1c821ba555838713513c4394c5ab9aea2e54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:09:18 + docker inspect -f . ci-base-image-x86_64 20:09:18 . [Pipeline] withDockerContainer 20:09:18 prd-ubuntu20.04-docker-8c-8g-10767 does not seem to be running inside a container 20:09:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:09:19 $ docker top 68364443bc24676fa22f9a9dd06f629a5884c18a201d78a2b61306a053b3880e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:09:19 + make test 20:09:19 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:09:19 ? github.com/edgexfoundry/device-rest-go [no test files] 20:09:27 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:09:27 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements 20:09:33 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:09:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:09:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:09:36 ./bin/test-attribution-txt.sh [Pipeline] echo 20:09:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:09:36 $ docker stop --time=1 68364443bc24676fa22f9a9dd06f629a5884c18a201d78a2b61306a053b3880e 20:09:38 $ docker rm -f 68364443bc24676fa22f9a9dd06f629a5884c18a201d78a2b61306a053b3880e [Pipeline] // withDockerContainer [Pipeline] sh 20:09:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:09:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:09:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:09:39 + ls -al . 20:09:39 total 184 20:09:39 drwxrwxr-x 9 jenkins jenkins 4096 Apr 5 20:09 . 20:09:39 drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 20:08 .. 20:09:39 -rw-rw-r-- 1 jenkins jenkins 151 Apr 5 20:08 .dockerignore 20:09:39 drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 20:08 .git 20:09:39 drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:08 .github 20:09:39 -rw-rw-r-- 1 jenkins jenkins 329 Apr 5 20:08 .gitignore 20:09:39 -rw-rw-r-- 1 jenkins jenkins 41 Apr 5 20:08 .golangci.yml 20:09:39 drwx------ 3 jenkins jenkins 4096 Apr 5 20:08 .semver 20:09:39 -rw-rw-r-- 1 jenkins jenkins 7192 Apr 5 20:08 Attribution.txt 20:09:39 -rw-rw-r-- 1 jenkins jenkins 7459 Apr 5 20:08 CHANGELOG.md 20:09:39 -rw-rw-r-- 1 jenkins jenkins 1672 Apr 5 20:08 Dockerfile 20:09:39 -rw-rw-r-- 1 jenkins jenkins 677 Apr 5 20:08 GOVERNANCE.md 20:09:39 -rw-rw-r-- 1 jenkins jenkins 680 Apr 5 20:08 Jenkinsfile 20:09:39 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 5 20:08 LICENSE 20:09:39 -rw-rw-r-- 1 jenkins jenkins 1578 Apr 5 20:08 Makefile 20:09:39 -rw-rw-r-- 1 jenkins jenkins 620 Apr 5 20:08 OWNERS.md 20:09:39 -rw-rw-r-- 1 jenkins jenkins 8246 Apr 5 20:08 README.md 20:09:39 -rw-rw-r-- 1 jenkins jenkins 11 Apr 5 20:08 VERSION 20:09:39 drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:08 bin 20:09:39 drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:08 cmd 20:09:39 -rw-r--r-- 1 jenkins jenkins 9355 Apr 5 20:09 coverage.out 20:09:39 drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:08 driver 20:09:39 -rw-rw-r-- 1 jenkins jenkins 2908 Apr 5 20:08 go.mod 20:09:39 -rw-rw-r-- 1 jenkins jenkins 50572 Apr 5 20:08 go.sum 20:09:39 drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:08 snap 20:09:39 -rw-rw-r-- 1 jenkins jenkins 713 Apr 5 20:08 version.go [Pipeline] isUnix [Pipeline] sh 20:09:39 + 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=868c3d37fa7208ff5e10080602f68a64287cb162 --label arch=amd64 --label version=2.2.0-dev.7 . 20:09:39 Sending build context to Docker daemon 10.56MB 20:09:39 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 20:09:39 Step 2/25 : FROM ${BASE} AS builder 20:09:39 ---> e91d284c29ee 20:09:39 Step 3/25 : ARG MAKE='make build' 20:09:39 ---> Running in 6fb966fc3877 20:09:40 Removing intermediate container 6fb966fc3877 20:09:40 ---> b6b17feee4ec 20:09:40 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:09:40 ---> Running in efff654eb829 20:09:40 Removing intermediate container efff654eb829 20:09:40 ---> 708d033a4a2e 20:09:40 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:09:40 ---> Running in f9f5a7f40668 20:09:40 Removing intermediate container f9f5a7f40668 20:09:40 ---> 8205bc94e37b 20:09:40 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:09:40 ---> Running in 418c653764fa 20:09:40 Removing intermediate container 418c653764fa 20:09:40 ---> 70747c21bf9f 20:09:40 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:09:40 ---> Running in 6eac9525e024 20:09:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:09:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:09:42 OK: 224 MiB in 56 packages 20:09:42 Removing intermediate container 6eac9525e024 20:09:42 ---> 96122a1ff3d2 20:09:42 Step 8/25 : WORKDIR /device-rest-go 20:09:42 ---> Running in e24ff536c99e 20:09:42 Removing intermediate container e24ff536c99e 20:09:42 ---> 2dc174db735e 20:09:42 Step 9/25 : COPY go.mod vendor* ./ 20:09:43 ---> 745487dfdcf9 20:09:43 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:09:43 ---> Running in 389c4773c490 20:09:43 Removing intermediate container 389c4773c490 20:09:43 ---> 20c3de9c8d28 20:09:43 Step 11/25 : COPY . . 20:09:43 ---> a256ad2e6d04 20:09:43 Step 12/25 : RUN $MAKE 20:09:44 ---> Running in a9ad013af80a 20:09:44 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.7" -o cmd/device-rest ./cmd 20:09:52 Removing intermediate container a9ad013af80a 20:09:52 ---> fe8a14569acb 20:09:52 Step 13/25 : FROM alpine:3.14 20:09:52 3.14: Pulling from library/alpine 20:09:52 8663204ce13b: Pulling fs layer 20:09:52 8663204ce13b: Verifying Checksum 20:09:52 8663204ce13b: Download complete 20:09:53 8663204ce13b: Pull complete 20:09:53 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:09:53 Status: Downloaded newer image for alpine:3.14 20:09:53 ---> e04c818066af 20:09:53 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:09:53 ---> Running in dce8589f70f0 20:09:53 Removing intermediate container dce8589f70f0 20:09:53 ---> 1c49622ffe33 20:09:53 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:09:53 ---> Running in bcc5d533ff41 20:09:53 Removing intermediate container bcc5d533ff41 20:09:53 ---> 939185520ff0 20:09:53 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:09:53 ---> Running in 29cca8f48dd8 20:09:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:09:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:09:53 (1/6) Installing dumb-init (1.2.5-r1) 20:09:53 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:09:53 (3/6) Installing libsodium (1.0.18-r0) 20:09:53 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:09:53 (5/6) Installing libzmq (4.3.4-r0) 20:09:53 (6/6) Installing zeromq (4.3.4-r0) 20:09:53 Executing busybox-1.33.1-r7.trigger 20:09:53 OK: 8 MiB in 20 packages 20:09:54 Removing intermediate container 29cca8f48dd8 20:09:54 ---> b1f47826638e 20:09:54 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:09:54 ---> 62036cd420df 20:09:54 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:09:54 ---> 05fc18bdc052 20:09:54 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:09:55 ---> 364f0b90f0f5 20:09:55 Step 20/25 : EXPOSE 59986 20:09:55 ---> Running in 6aaff93cacfc 20:09:55 Removing intermediate container 6aaff93cacfc 20:09:55 ---> 3d60c4a54813 20:09:55 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:09:55 ---> Running in 4a8dbd144d31 20:09:55 Removing intermediate container 4a8dbd144d31 20:09:55 ---> 91d9213899ba 20:09:55 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:09:55 ---> Running in 684226edb7e4 20:09:55 Removing intermediate container 684226edb7e4 20:09:55 ---> 3bf227c64b15 20:09:55 Step 23/25 : LABEL arch=amd64 20:09:55 ---> Running in 6ad3cd44b89d 20:09:55 Removing intermediate container 6ad3cd44b89d 20:09:55 ---> a7a0d8f89c44 20:09:55 Step 24/25 : LABEL git_sha=868c3d37fa7208ff5e10080602f68a64287cb162 20:09:55 ---> Running in 31614ebdaffc 20:09:55 Removing intermediate container 31614ebdaffc 20:09:55 ---> 38c9d5c85982 20:09:55 Step 25/25 : LABEL version=2.2.0-dev.7 20:09:55 ---> Running in f856d7bdd3ce 20:09:56 Removing intermediate container f856d7bdd3ce 20:09:56 ---> a04183df3a33 20:09:56 [Warning] One or more build-args [ARCH] were not consumed 20:09:56 Successfully built a04183df3a33 20:09:56 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:09:56 provisioning config files... 20:09:56 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6832074324254334451tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:09:56 ---> docker-login.sh 20:09:56 nexus3.edgexfoundry.org:10001 20:09:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:56 Configure a credential helper to remove this warning. See 20:09:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:56 20:09:56 Login Succeeded 20:09:56 nexus3.edgexfoundry.org:10002 20:09:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:56 Configure a credential helper to remove this warning. See 20:09:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:56 20:09:56 Login Succeeded 20:09:56 nexus3.edgexfoundry.org:10003 20:09:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:56 Configure a credential helper to remove this warning. See 20:09:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:56 20:09:56 Login Succeeded 20:09:56 nexus3.edgexfoundry.org:10004 20:09:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:56 Configure a credential helper to remove this warning. See 20:09:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:56 20:09:56 Login Succeeded 20:09:56 docker.io 20:09:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:57 Configure a credential helper to remove this warning. See 20:09:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:57 20:09:57 Login Succeeded 20:09:57 ---> docker-login.sh ends [Pipeline] } 20:09:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:09:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:09:57 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 20:09:57 868c3d37fa7208ff5e10080602f68a64287cb162 20:09:57 latest 20:09:57 2.2.0-dev.7 20:09:57 868c3d37fa7208ff5e10080602f68a64287cb162-2.2.0-dev.7 20:09:57 main 20:09:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:09:57 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:868c3d37fa7208ff5e10080602f68a64287cb162 [Pipeline] isUnix [Pipeline] sh 20:09:58 + docker push nexus3.edgexfoundry.org:10004/device-rest:868c3d37fa7208ff5e10080602f68a64287cb162 20:09:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:09:58 8288349108c4: Preparing 20:09:58 a480e1f385c9: Preparing 20:09:58 5dcafc3b7ea1: Preparing 20:09:58 745fa106e754: Preparing 20:09:58 b541d28bf3b4: Preparing 20:09:58 b541d28bf3b4: Layer already exists 20:09:58 a480e1f385c9: Pushed 20:09:58 8288349108c4: Pushed 20:09:58 745fa106e754: Pushed 20:09:59 5dcafc3b7ea1: Pushed 20:09:59 868c3d37fa7208ff5e10080602f68a64287cb162: digest: sha256:06dea954eeaae0304cfaf23b11b1efe4023eab3c78938602a059b79d05f37b68 size: 1366 [Pipeline] isUnix [Pipeline] sh 20:10:00 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 20:10:00 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 20:10:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:10:00 8288349108c4: Preparing 20:10:00 a480e1f385c9: Preparing 20:10:00 5dcafc3b7ea1: Preparing 20:10:00 745fa106e754: Preparing 20:10:00 b541d28bf3b4: Preparing 20:10:00 745fa106e754: Layer already exists 20:10:00 b541d28bf3b4: Layer already exists 20:10:00 a480e1f385c9: Layer already exists 20:10:00 8288349108c4: Layer already exists 20:10:00 5dcafc3b7ea1: Layer already exists 20:10:00 latest: digest: sha256:06dea954eeaae0304cfaf23b11b1efe4023eab3c78938602a059b79d05f37b68 size: 1366 [Pipeline] isUnix [Pipeline] sh 20:10:00 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh 20:10:00 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.7 20:10:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:10:00 8288349108c4: Preparing 20:10:00 a480e1f385c9: Preparing 20:10:00 5dcafc3b7ea1: Preparing 20:10:00 745fa106e754: Preparing 20:10:00 b541d28bf3b4: Preparing 20:10:00 a480e1f385c9: Layer already exists 20:10:00 745fa106e754: Layer already exists 20:10:00 8288349108c4: Layer already exists 20:10:00 b541d28bf3b4: Layer already exists 20:10:00 5dcafc3b7ea1: Layer already exists 20:10:00 2.2.0-dev.7: digest: sha256:06dea954eeaae0304cfaf23b11b1efe4023eab3c78938602a059b79d05f37b68 size: 1366 [Pipeline] isUnix [Pipeline] sh 20:10:01 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:868c3d37fa7208ff5e10080602f68a64287cb162-2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh 20:10:01 + docker push nexus3.edgexfoundry.org:10004/device-rest:868c3d37fa7208ff5e10080602f68a64287cb162-2.2.0-dev.7 20:10:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:10:01 8288349108c4: Preparing 20:10:01 a480e1f385c9: Preparing 20:10:01 5dcafc3b7ea1: Preparing 20:10:01 745fa106e754: Preparing 20:10:01 b541d28bf3b4: Preparing 20:10:01 b541d28bf3b4: Layer already exists 20:10:01 5dcafc3b7ea1: Layer already exists 20:10:01 a480e1f385c9: Layer already exists 20:10:01 8288349108c4: Layer already exists 20:10:01 745fa106e754: Layer already exists 20:10:01 868c3d37fa7208ff5e10080602f68a64287cb162-2.2.0-dev.7: digest: sha256:06dea954eeaae0304cfaf23b11b1efe4023eab3c78938602a059b79d05f37b68 size: 1366 [Pipeline] isUnix [Pipeline] sh 20:10:01 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh 20:10:02 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 20:10:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:10:02 8288349108c4: Preparing 20:10:02 a480e1f385c9: Preparing 20:10:02 5dcafc3b7ea1: Preparing 20:10:02 745fa106e754: Preparing 20:10:02 b541d28bf3b4: Preparing 20:10:02 a480e1f385c9: Layer already exists 20:10:02 b541d28bf3b4: Layer already exists 20:10:02 5dcafc3b7ea1: Layer already exists 20:10:02 745fa106e754: Layer already exists 20:10:02 8288349108c4: Layer already exists 20:10:02 main: digest: sha256:06dea954eeaae0304cfaf23b11b1efe4023eab3c78938602a059b79d05f37b68 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:10:02 ===================================================== [Pipeline] echo 20:10:02 taggedImages: 20:10:02 - nexus3.edgexfoundry.org:10004/device-rest:868c3d37fa7208ff5e10080602f68a64287cb162 20:10:02 - nexus3.edgexfoundry.org:10004/device-rest:latest 20:10:02 - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.7 20:10:02 - nexus3.edgexfoundry.org:10004/device-rest:868c3d37fa7208ff5e10080602f68a64287cb162-2.2.0-dev.7 20:10:02 - 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 20:10:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:10:02 20:10:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:10:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:10:02 latest: Pulling from edgex-lftools-log-publisher 20:10:02 5eb5b503b376: Pulling fs layer 20:10:02 5c69ac0246d0: Pulling fs layer 20:10:02 ec43610c2a17: Pulling fs layer 20:10:02 3a2ae6a8a46f: Pulling fs layer 20:10:02 33b1e0a273af: Pulling fs layer 20:10:02 5d3b04190fa2: Pulling fs layer 20:10:02 2f39f015ded8: Pulling fs layer 20:10:02 3a2ae6a8a46f: Waiting 20:10:02 33b1e0a273af: Waiting 20:10:02 5d3b04190fa2: Waiting 20:10:02 2f39f015ded8: Waiting 20:10:02 5c69ac0246d0: Verifying Checksum 20:10:02 5c69ac0246d0: Download complete 20:10:02 3a2ae6a8a46f: Verifying Checksum 20:10:02 33b1e0a273af: Verifying Checksum 20:10:02 33b1e0a273af: Download complete 20:10:02 5d3b04190fa2: Download complete 20:10:02 ec43610c2a17: Verifying Checksum 20:10:02 ec43610c2a17: Download complete 20:10:03 5eb5b503b376: Verifying Checksum 20:10:03 5eb5b503b376: Download complete 20:10:03 2f39f015ded8: Download complete 20:10:04 5eb5b503b376: Pull complete 20:10:04 5c69ac0246d0: Pull complete 20:10:05 ec43610c2a17: Pull complete 20:10:05 3a2ae6a8a46f: Pull complete 20:10:05 33b1e0a273af: Pull complete 20:10:05 5d3b04190fa2: Pull complete 20:10:10 2f39f015ded8: Pull complete 20:10:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:10:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:10:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:10:10 prd-ubuntu20.04-docker-8c-8g-10767 does not seem to be running inside a container 20:10:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:10:12 $ docker top 1d8cdeff0c0d645a0f86dd0a42d9c52c67271859e010fa22ff13197996dbcf89 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:10:13 ---> job-cost.sh 20:10:13 lf-activate-venv: SKIPPING 20:10:13 INFO: No Stack... 20:10:13 INFO: Retrieving Pricing Info for: v3-standard-8 20:10:14 INFO: Archiving Costs [Pipeline] sh 20:10:14 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 20:10:14 + cut -d, -f6 [Pipeline] lock 20:10:14 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-28-stack-cost] 20:10:14 Resource [jenkins-edgexfoundry-device-rest-go-main-28-stack-cost] did not exist. Created. 20:10:14 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:10:14 + echo total: 0.2199999988079071 [Pipeline] stash 20:10:14 Stashed 1 file(s) [Pipeline] } 20:10:14 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-28-stack-cost] [Pipeline] // lock [Pipeline] } 20:10:14 $ docker stop --time=1 1d8cdeff0c0d645a0f86dd0a42d9c52c67271859e010fa22ff13197996dbcf89 20:10:15 $ docker rm -f 1d8cdeff0c0d645a0f86dd0a42d9c52c67271859e010fa22ff13197996dbcf89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:11:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10773 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 20:11:05 Running in /w/workspace/device-rest-go/28 [Pipeline] { [Pipeline] checkout 20:11:06 The recommended git tool is: git 20:11:13 using credential edgex-jenkins-ssh 20:11:13 Cloning the remote Git repository 20:11:13 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:11:14 > git init /w/workspace/device-rest-go/28 # timeout=10 20:11:14 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:11:14 > git --version # timeout=10 20:11:14 > git --version # 'git version 2.25.1' 20:11:14 using GIT_SSH to set credentials SSH Credentials for GitHub 20:11:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:11:16 Avoid second fetch 20:11:16 Checking out Revision 868c3d37fa7208ff5e10080602f68a64287cb162 (main) 20:11:16 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:11:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:11:16 > git config core.sparsecheckout # timeout=10 20:11:16 > git checkout -f 868c3d37fa7208ff5e10080602f68a64287cb162 # timeout=10 20:11:20 Commit message: "Merge pull request #166 from jpwhitemn/enable-gosec-lint" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:11:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:11:21 % Total % Received % Xferd Average Speed Time Time Time Current 20:11:21 Dload Upload Total Spent Left Speed 20:11:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 210k 0 --:--:-- --:--:-- --:--:-- 210k [Pipeline] sh 20:11:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:11:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:11:22 + sudo tee /etc/docker/daemon.new 20:11:22 { 20:11:22 "registry-mirrors": [ 20:11:22 "https://nexus3.edgexfoundry.org:10001" 20:11:22 ], 20:11:22 "bip": "10.250.0.254/24", 20:11:22 "hosts": [ 20:11:22 "tcp://0.0.0.0:5555", 20:11:22 "unix:///var/run/docker.sock" 20:11:22 ], 20:11:22 "mtu": 1458, 20:11:22 "selinux-enabled": true, 20:11:22 "seccomp-profile": "/etc/docker/seccomp.json" 20:11:22 } [Pipeline] sh 20:11:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:11:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:11:41 provisioning config files... 20:11:41 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/28@tmp/config2135084593039677816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:11:42 ---> docker-login.sh 20:11:42 nexus3.edgexfoundry.org:10001 20:11:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:43 Configure a credential helper to remove this warning. See 20:11:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:43 20:11:43 Login Succeeded 20:11:43 nexus3.edgexfoundry.org:10002 20:11:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:44 Configure a credential helper to remove this warning. See 20:11:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:44 20:11:44 Login Succeeded 20:11:44 nexus3.edgexfoundry.org:10003 20:11:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:44 Configure a credential helper to remove this warning. See 20:11:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:44 20:11:44 Login Succeeded 20:11:44 nexus3.edgexfoundry.org:10004 20:11:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:45 Configure a credential helper to remove this warning. See 20:11:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:45 20:11:45 Login Succeeded 20:11:45 docker.io 20:11:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:46 Configure a credential helper to remove this warning. See 20:11:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:46 20:11:46 Login Succeeded 20:11:46 ---> docker-login.sh ends [Pipeline] } 20:11:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:11:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:11:46 ========================================================= 20:11:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:11:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:11:47 + 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 . 20:11:47 Sending build context to Docker daemon 126kB 20:11:47 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:11:47 Step 2/12 : FROM ${BASE} AS builder 20:11:47 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:11:47 9b3977197b4f: Pulling fs layer 20:11:47 1a89e8eeedd5: Pulling fs layer 20:11:47 94645a83ff95: Pulling fs layer 20:11:47 3f3a8bcf1eab: Pulling fs layer 20:11:47 0c92f367c5e7: Pulling fs layer 20:11:47 f7c0051592d6: Pulling fs layer 20:11:47 a227ed2f7395: Pulling fs layer 20:11:47 7b1c46037f91: Pulling fs layer 20:11:47 3f3a8bcf1eab: Waiting 20:11:47 f7c0051592d6: Waiting 20:11:47 a227ed2f7395: Waiting 20:11:47 7b1c46037f91: Waiting 20:11:47 0c92f367c5e7: Waiting 20:11:47 94645a83ff95: Verifying Checksum 20:11:47 94645a83ff95: Download complete 20:11:47 1a89e8eeedd5: Verifying Checksum 20:11:47 1a89e8eeedd5: Download complete 20:11:47 0c92f367c5e7: Download complete 20:11:47 f7c0051592d6: Verifying Checksum 20:11:47 f7c0051592d6: Download complete 20:11:47 9b3977197b4f: Verifying Checksum 20:11:47 9b3977197b4f: Download complete 20:11:48 9b3977197b4f: Pull complete 20:11:49 1a89e8eeedd5: Pull complete 20:11:49 94645a83ff95: Pull complete 20:11:49 7b1c46037f91: Verifying Checksum 20:11:49 7b1c46037f91: Download complete 20:11:50 3f3a8bcf1eab: Verifying Checksum 20:11:50 3f3a8bcf1eab: Download complete 20:12:03 3f3a8bcf1eab: Pull complete 20:12:03 0c92f367c5e7: Pull complete 20:12:03 f7c0051592d6: Pull complete 20:12:03 a227ed2f7395: Pull complete 20:12:10 7b1c46037f91: Pull complete 20:12:10 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 20:12:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:12:10 ---> f79e39bc4007 20:12:10 Step 3/12 : ARG MAKE='make build' 20:12:12 ---> Running in 03c9d1802747 20:12:12 Removing intermediate container 03c9d1802747 20:12:12 ---> 9da37e27f1f8 20:12:12 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:12:12 ---> Running in 3b7184b2767c 20:12:13 Removing intermediate container 3b7184b2767c 20:12:13 ---> f8ea92e53994 20:12:13 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:12:13 ---> Running in 10dc7010a88f 20:12:13 Removing intermediate container 10dc7010a88f 20:12:13 ---> e672a175eabd 20:12:13 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:12:13 ---> Running in f2c8b5ba3516 20:12:15 Removing intermediate container f2c8b5ba3516 20:12:15 ---> b43f31464e2c 20:12:15 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:12:15 ---> Running in ef62835c44a7 20:12:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:12:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:12:21 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:12:21 (2/4) Installing libedit (20210910.3.1-r0) 20:12:21 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:12:21 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:12:21 Executing busybox-1.34.1-r3.trigger 20:12:21 OK: 224 MiB in 56 packages 20:12:22 Removing intermediate container ef62835c44a7 20:12:22 ---> b736647647c8 20:12:22 Step 8/12 : WORKDIR /device-rest-go 20:12:22 ---> Running in d6c91f34cd30 20:12:23 Removing intermediate container d6c91f34cd30 20:12:23 ---> 764602d6aeae 20:12:23 Step 9/12 : COPY go.mod vendor* ./ 20:12:23 ---> 21c63c033252 20:12:23 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:12:24 ---> Running in 6e13eb0e75a4 20:13:46 Removing intermediate container 6e13eb0e75a4 20:13:46 ---> 889f7a6bb7ee 20:13:46 Step 11/12 : COPY . . 20:13:46 ---> 8cf6afa79dfc 20:13:46 Step 12/12 : RUN $MAKE 20:13:46 ---> Running in ef6fe64ad9ae 20:13:46 noop 20:13:46 Removing intermediate container ef6fe64ad9ae 20:13:46 ---> 57447edce98e 20:13:46 Successfully built 57447edce98e 20:13:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:13:46 + docker inspect -f . ci-base-image-arm64 20:13:46 . [Pipeline] withDockerContainer 20:13:46 prd-ubuntu20.04-docker-arm64-4c-16g-10773 does not seem to be running inside a container 20:13:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/28 -v /w/workspace/device-rest-go/28:/w/workspace/device-rest-go/28:rw,z -v /w/workspace/device-rest-go/28@tmp:/w/workspace/device-rest-go/28@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 20:13:48 $ docker top e386b61040b9ce2262a413b2afe4b04e6f97cafc81b4e759959535b5a0b4a63e -eo pid,comm [Pipeline] { [Pipeline] sh 20:13:49 + go version 20:13:49 go version go1.17.6 linux/arm64 [Pipeline] } 20:13:49 $ docker stop --time=1 e386b61040b9ce2262a413b2afe4b04e6f97cafc81b4e759959535b5a0b4a63e 20:13:51 $ docker rm -f e386b61040b9ce2262a413b2afe4b04e6f97cafc81b4e759959535b5a0b4a63e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:13:51 + docker inspect -f . ci-base-image-arm64 20:13:51 . [Pipeline] withDockerContainer 20:13:52 prd-ubuntu20.04-docker-arm64-4c-16g-10773 does not seem to be running inside a container 20:13:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/28 -v /w/workspace/device-rest-go/28:/w/workspace/device-rest-go/28:rw,z -v /w/workspace/device-rest-go/28@tmp:/w/workspace/device-rest-go/28@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 20:13:53 $ docker top 6d7ebe749b0583faa6585256ea7e406b91985e980a7ab88ad5bb82d881441202 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:13:54 + make test 20:13:54 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:13:56 ? github.com/edgexfoundry/device-rest-go [no test files] 20:14:52 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:14:57 ok github.com/edgexfoundry/device-rest-go/driver 0.073s coverage: 55.2% of statements 20:14:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:14:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:15:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:15:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:15:19 ./bin/test-attribution-txt.sh [Pipeline] echo 20:15:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:15:21 $ docker stop --time=1 6d7ebe749b0583faa6585256ea7e406b91985e980a7ab88ad5bb82d881441202 20:15:22 $ docker rm -f 6d7ebe749b0583faa6585256ea7e406b91985e980a7ab88ad5bb82d881441202 [Pipeline] // withDockerContainer [Pipeline] sh 20:15:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:15:23 Warning: overwriting stash ‘coverage-report’ 20:15:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:15:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:15:25 + ls -al . 20:15:25 total 180 20:15:25 drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 20:15 . 20:15:25 drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 20:11 .. 20:15:25 -rw-rw-r-- 1 jenkins jenkins 151 Apr 5 20:11 .dockerignore 20:15:25 drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 20:11 .git 20:15:25 drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:11 .github 20:15:25 -rw-rw-r-- 1 jenkins jenkins 329 Apr 5 20:11 .gitignore 20:15:25 -rw-rw-r-- 1 jenkins jenkins 41 Apr 5 20:11 .golangci.yml 20:15:25 -rw-rw-r-- 1 jenkins jenkins 7192 Apr 5 20:11 Attribution.txt 20:15:25 -rw-rw-r-- 1 jenkins jenkins 7459 Apr 5 20:11 CHANGELOG.md 20:15:25 -rw-rw-r-- 1 jenkins jenkins 1672 Apr 5 20:11 Dockerfile 20:15:25 -rw-rw-r-- 1 jenkins jenkins 677 Apr 5 20:11 GOVERNANCE.md 20:15:25 -rw-rw-r-- 1 jenkins jenkins 680 Apr 5 20:11 Jenkinsfile 20:15:25 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 5 20:11 LICENSE 20:15:25 -rw-rw-r-- 1 jenkins jenkins 1578 Apr 5 20:11 Makefile 20:15:25 -rw-rw-r-- 1 jenkins jenkins 620 Apr 5 20:11 OWNERS.md 20:15:25 -rw-rw-r-- 1 jenkins jenkins 8246 Apr 5 20:11 README.md 20:15:25 -rw-rw-r-- 1 jenkins jenkins 11 Apr 5 20:08 VERSION 20:15:25 drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:11 bin 20:15:25 drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:11 cmd 20:15:25 -rw-r--r-- 1 jenkins jenkins 9355 Apr 5 20:14 coverage.out 20:15:25 drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:11 driver 20:15:25 -rw-rw-r-- 1 jenkins jenkins 2908 Apr 5 20:11 go.mod 20:15:25 -rw-rw-r-- 1 jenkins jenkins 50572 Apr 5 20:11 go.sum 20:15:25 drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:11 snap 20:15:25 -rw-rw-r-- 1 jenkins jenkins 713 Apr 5 20:11 version.go [Pipeline] isUnix [Pipeline] sh 20:15:25 + 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=868c3d37fa7208ff5e10080602f68a64287cb162 --label arch=arm64 --label version=2.2.0-dev.7 . 20:15:25 Sending build context to Docker daemon 136.2kB 20:15:25 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 20:15:25 Step 2/25 : FROM ${BASE} AS builder 20:15:25 ---> 57447edce98e 20:15:25 Step 3/25 : ARG MAKE='make build' 20:15:25 ---> Running in df1f91a7d7af 20:15:26 Removing intermediate container df1f91a7d7af 20:15:26 ---> 162c5c50a4d2 20:15:26 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:15:26 ---> Running in a55153350929 20:15:26 Removing intermediate container a55153350929 20:15:26 ---> a12e47ec5342 20:15:26 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:15:26 ---> Running in 9605235b3f0c 20:15:26 Removing intermediate container 9605235b3f0c 20:15:26 ---> 547eb72d818a 20:15:26 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:15:27 ---> Running in e77112d783d0 20:15:28 Removing intermediate container e77112d783d0 20:15:28 ---> e4d18b65abf7 20:15:28 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:15:28 ---> Running in 2fe4a36313cf 20:15:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:15:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:15:31 OK: 224 MiB in 56 packages 20:15:32 Removing intermediate container 2fe4a36313cf 20:15:32 ---> d7e9a54e2feb 20:15:32 Step 8/25 : WORKDIR /device-rest-go 20:15:32 ---> Running in a2772d5f8bd2 20:15:32 Removing intermediate container a2772d5f8bd2 20:15:32 ---> 2f6bad2cec9c 20:15:32 Step 9/25 : COPY go.mod vendor* ./ 20:15:33 ---> ec75442986ed 20:15:33 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:15:33 ---> Running in 2ad76eb80db4 20:15:36 Removing intermediate container 2ad76eb80db4 20:15:36 ---> 918fc757cdc9 20:15:36 Step 11/25 : COPY . . 20:15:36 ---> 284e8219cae6 20:15:36 Step 12/25 : RUN $MAKE 20:15:36 ---> Running in e3d99dc24cd4 20:15:37 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.7" -o cmd/device-rest ./cmd 20:16:34 Removing intermediate container e3d99dc24cd4 20:16:34 ---> 92a05460611c 20:16:34 Step 13/25 : FROM alpine:3.14 20:16:34 3.14: Pulling from library/alpine 20:16:34 455c02918c45: Pulling fs layer 20:16:34 455c02918c45: Verifying Checksum 20:16:34 455c02918c45: Download complete 20:16:34 455c02918c45: Pull complete 20:16:34 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:16:34 Status: Downloaded newer image for alpine:3.14 20:16:34 ---> ac73e934f311 20:16:34 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:16:34 ---> Running in 2830ab29cfe2 20:16:34 Removing intermediate container 2830ab29cfe2 20:16:34 ---> 682951091909 20:16:34 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:16:34 ---> Running in fc33efb83404 20:16:34 Removing intermediate container fc33efb83404 20:16:34 ---> b5dd1d0ddc9e 20:16:34 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:16:34 ---> Running in a1d7a5fd8efc 20:16:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:16:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:16:34 (1/6) Installing dumb-init (1.2.5-r1) 20:16:34 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:16:34 (3/6) Installing libsodium (1.0.18-r0) 20:16:34 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:16:34 (5/6) Installing libzmq (4.3.4-r0) 20:16:34 (6/6) Installing zeromq (4.3.4-r0) 20:16:34 Executing busybox-1.33.1-r7.trigger 20:16:34 OK: 8 MiB in 20 packages 20:16:34 Removing intermediate container a1d7a5fd8efc 20:16:34 ---> 1a63d5101f1b 20:16:34 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:16:34 ---> d76a924707d3 20:16:34 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:16:34 ---> c516adc8299e 20:16:34 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:16:34 ---> d67da639b57d 20:16:34 Step 20/25 : EXPOSE 59986 20:16:34 ---> Running in cbe326d25834 20:16:34 Removing intermediate container cbe326d25834 20:16:34 ---> 927be4d80ca7 20:16:34 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:16:34 ---> Running in c7b8f1dcecc0 20:16:34 Removing intermediate container c7b8f1dcecc0 20:16:34 ---> 800ad83ebcc3 20:16:34 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:16:34 ---> Running in 568a89c89672 20:16:35 Removing intermediate container 568a89c89672 20:16:35 ---> 22b1426b55ff 20:16:35 Step 23/25 : LABEL arch=arm64 20:16:35 ---> Running in 809d56d40214 20:16:35 Removing intermediate container 809d56d40214 20:16:35 ---> b352d1f23c4a 20:16:35 Step 24/25 : LABEL git_sha=868c3d37fa7208ff5e10080602f68a64287cb162 20:16:35 ---> Running in 7dfc2bfd3cde 20:16:35 Removing intermediate container 7dfc2bfd3cde 20:16:35 ---> 74b201b73b1a 20:16:35 Step 25/25 : LABEL version=2.2.0-dev.7 20:16:36 ---> Running in 5848dfee9770 20:16:36 Removing intermediate container 5848dfee9770 20:16:36 ---> 7da6f1c1c937 20:16:36 [Warning] One or more build-args [ARCH] were not consumed 20:16:36 Successfully built 7da6f1c1c937 20:16:36 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 20:16:36 provisioning config files... 20:16:36 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/28@tmp/config2949609181404239297tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:16:37 ---> docker-login.sh 20:16:37 nexus3.edgexfoundry.org:10001 20:16:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:37 Configure a credential helper to remove this warning. See 20:16:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:37 20:16:37 Login Succeeded 20:16:37 nexus3.edgexfoundry.org:10002 20:16:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:38 Configure a credential helper to remove this warning. See 20:16:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:38 20:16:38 Login Succeeded 20:16:38 nexus3.edgexfoundry.org:10003 20:16:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:38 Configure a credential helper to remove this warning. See 20:16:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:38 20:16:38 Login Succeeded 20:16:38 nexus3.edgexfoundry.org:10004 20:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:39 Configure a credential helper to remove this warning. See 20:16:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:39 20:16:39 Login Succeeded 20:16:39 docker.io 20:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:40 Configure a credential helper to remove this warning. See 20:16:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:40 20:16:40 Login Succeeded 20:16:40 ---> docker-login.sh ends [Pipeline] } 20:16:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:16:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:16:40 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 20:16:40 868c3d37fa7208ff5e10080602f68a64287cb162 20:16:40 latest 20:16:40 2.2.0-dev.7 20:16:40 868c3d37fa7208ff5e10080602f68a64287cb162-2.2.0-dev.7 20:16:40 main 20:16:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:16:40 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:868c3d37fa7208ff5e10080602f68a64287cb162 [Pipeline] isUnix [Pipeline] sh 20:16:41 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:868c3d37fa7208ff5e10080602f68a64287cb162 20:16:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:16:41 cbe89d48429d: Preparing 20:16:41 0a002c9b02a9: Preparing 20:16:41 388be677f1b4: Preparing 20:16:41 33dc47408e77: Preparing 20:16:41 f73e7dbfee58: Preparing 20:16:41 f73e7dbfee58: Layer already exists 20:16:41 0a002c9b02a9: Pushed 20:16:41 cbe89d48429d: Pushed 20:16:41 33dc47408e77: Pushed 20:16:44 388be677f1b4: Pushed 20:16:44 868c3d37fa7208ff5e10080602f68a64287cb162: digest: sha256:e44a109c32455defb1cf04ef55c00daf28e4c95eb399f590877d0ad0db2f2553 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:16:44 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:16:45 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:16:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:16:45 cbe89d48429d: Preparing 20:16:45 0a002c9b02a9: Preparing 20:16:45 388be677f1b4: Preparing 20:16:45 33dc47408e77: Preparing 20:16:45 f73e7dbfee58: Preparing 20:16:45 388be677f1b4: Layer already exists 20:16:45 33dc47408e77: Layer already exists 20:16:45 0a002c9b02a9: Layer already exists 20:16:45 f73e7dbfee58: Layer already exists 20:16:45 cbe89d48429d: Layer already exists 20:16:45 latest: digest: sha256:e44a109c32455defb1cf04ef55c00daf28e4c95eb399f590877d0ad0db2f2553 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:16:45 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh 20:16:46 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.7 20:16:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:16:46 cbe89d48429d: Preparing 20:16:46 0a002c9b02a9: Preparing 20:16:46 388be677f1b4: Preparing 20:16:46 33dc47408e77: Preparing 20:16:46 f73e7dbfee58: Preparing 20:16:46 f73e7dbfee58: Layer already exists 20:16:46 cbe89d48429d: Layer already exists 20:16:46 33dc47408e77: Layer already exists 20:16:46 0a002c9b02a9: Layer already exists 20:16:46 388be677f1b4: Layer already exists 20:16:46 2.2.0-dev.7: digest: sha256:e44a109c32455defb1cf04ef55c00daf28e4c95eb399f590877d0ad0db2f2553 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:16:46 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:868c3d37fa7208ff5e10080602f68a64287cb162-2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh 20:16:47 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:868c3d37fa7208ff5e10080602f68a64287cb162-2.2.0-dev.7 20:16:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:16:47 cbe89d48429d: Preparing 20:16:47 0a002c9b02a9: Preparing 20:16:47 388be677f1b4: Preparing 20:16:47 33dc47408e77: Preparing 20:16:47 f73e7dbfee58: Preparing 20:16:47 0a002c9b02a9: Layer already exists 20:16:47 388be677f1b4: Layer already exists 20:16:47 33dc47408e77: Layer already exists 20:16:47 f73e7dbfee58: Layer already exists 20:16:47 cbe89d48429d: Layer already exists 20:16:47 868c3d37fa7208ff5e10080602f68a64287cb162-2.2.0-dev.7: digest: sha256:e44a109c32455defb1cf04ef55c00daf28e4c95eb399f590877d0ad0db2f2553 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:16:47 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh 20:16:48 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 20:16:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:16:48 cbe89d48429d: Preparing 20:16:48 0a002c9b02a9: Preparing 20:16:48 388be677f1b4: Preparing 20:16:48 33dc47408e77: Preparing 20:16:48 f73e7dbfee58: Preparing 20:16:48 f73e7dbfee58: Layer already exists 20:16:48 388be677f1b4: Layer already exists 20:16:48 33dc47408e77: Layer already exists 20:16:48 0a002c9b02a9: Layer already exists 20:16:48 cbe89d48429d: Layer already exists 20:16:48 main: digest: sha256:e44a109c32455defb1cf04ef55c00daf28e4c95eb399f590877d0ad0db2f2553 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:16:48 ===================================================== [Pipeline] echo 20:16:48 taggedImages: 20:16:48 - nexus3.edgexfoundry.org:10004/device-rest-arm64:868c3d37fa7208ff5e10080602f68a64287cb162 20:16:48 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:16:48 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.7 20:16:48 - nexus3.edgexfoundry.org:10004/device-rest-arm64:868c3d37fa7208ff5e10080602f68a64287cb162-2.2.0-dev.7 20:16:48 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:16:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:16:48 20:16:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:16:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:16:49 arm64: Pulling from edgex-lftools-log-publisher 20:16:49 8998bd30e6a1: Pulling fs layer 20:16:49 04944245beec: Pulling fs layer 20:16:49 699f458cf7ca: Pulling fs layer 20:16:49 765212b225bb: Pulling fs layer 20:16:49 f23df028b6ca: Pulling fs layer 20:16:49 d65c8cfc05b1: Pulling fs layer 20:16:49 2437ff75d9bd: Pulling fs layer 20:16:49 f23df028b6ca: Waiting 20:16:49 2437ff75d9bd: Waiting 20:16:49 d65c8cfc05b1: Waiting 20:16:49 765212b225bb: Waiting 20:16:49 04944245beec: Verifying Checksum 20:16:49 04944245beec: Download complete 20:16:49 765212b225bb: Verifying Checksum 20:16:49 765212b225bb: Download complete 20:16:49 f23df028b6ca: Verifying Checksum 20:16:49 f23df028b6ca: Download complete 20:16:49 d65c8cfc05b1: Verifying Checksum 20:16:49 d65c8cfc05b1: Download complete 20:16:49 699f458cf7ca: Verifying Checksum 20:16:49 699f458cf7ca: Download complete 20:16:50 8998bd30e6a1: Verifying Checksum 20:16:50 8998bd30e6a1: Download complete 20:16:52 2437ff75d9bd: Verifying Checksum 20:16:52 2437ff75d9bd: Download complete 20:16:54 8998bd30e6a1: Pull complete 20:16:55 04944245beec: Pull complete 20:16:56 699f458cf7ca: Pull complete 20:16:57 765212b225bb: Pull complete 20:16:58 f23df028b6ca: Pull complete 20:16:58 d65c8cfc05b1: Pull complete 20:17:16 2437ff75d9bd: Pull complete 20:17:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:17:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:17:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:17:16 prd-ubuntu20.04-docker-arm64-4c-16g-10773 does not seem to be running inside a container 20:17: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/device-rest-go/28 -v /w/workspace/device-rest-go/28:/w/workspace/device-rest-go/28:rw,z -v /w/workspace/device-rest-go/28@tmp:/w/workspace/device-rest-go/28@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 20:17:20 $ docker top 0d5b130cf3b56cfd0f8cde4e9c33e00c88ff13d2780b24cbd2ca04d95cea8009 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:17:21 ---> job-cost.sh 20:17:21 lf-activate-venv: SKIPPING 20:17:21 INFO: No Stack... 20:17:21 INFO: Retrieving Pricing Info for: v3-standard-4 20:17:22 INFO: Archiving Costs [Pipeline] sh 20:17:22 + cat /w/workspace/device-rest-go/28/archives/cost.csv 20:17:22 + cut -d, -f6 [Pipeline] lock 20:17:23 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-28-stack-cost] 20:17:23 Resource [jenkins-edgexfoundry-device-rest-go-main-28-stack-cost] did not exist. Created. 20:17:23 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:17:23 /w/workspace/device-rest-go/28@tmp/durable-a05a5b3e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:17:24 + echo total: 0.10999999940395355 [Pipeline] stash 20:17:24 Warning: overwriting stash ‘stack-cost’ 20:17:24 Stashed 1 file(s) [Pipeline] } 20:17:24 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-28-stack-cost] [Pipeline] // lock [Pipeline] } 20:17:24 $ docker stop --time=1 0d5b130cf3b56cfd0f8cde4e9c33e00c88ff13d2780b24cbd2ca04d95cea8009 20:17:26 $ docker rm -f 0d5b130cf3b56cfd0f8cde4e9c33e00c88ff13d2780b24cbd2ca04d95cea8009 [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 20:17:26 provisioning config files... 20:17:26 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4157795869051145642tmp [Pipeline] { [Pipeline] sh 20:17:26 + set +x 20:17:26 + curl -s https://codecov.io/bash 20:17:26 + bash -s -- 20:17:26 20:17:26 _____ _ 20:17:26 / ____| | | 20:17:26 | | ___ __| | ___ ___ _____ __ 20:17:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:17:26 | |___| (_) | (_| | __/ (_| (_) \ V / 20:17:26 \_____\___/ \__,_|\___|\___\___/ \_/ 20:17:26 Bash-1.0.6 20:17:26 20:17:26 20:17:26 ==> git version 2.25.1 found 20:17:26 ==> 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 20:17:26 Release-Date: 2020-01-08 20:17:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:17:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:17:26 ==> Jenkins CI detected. 20:17:26 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 20:17:26 project root: . 20:17:26 --> token set from env 20:17:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:17:26 ==> Running gcov in . (disable via -X gcov) 20:17:26 ==> Python coveragepy not found 20:17:26 ==> Searching for coverage reports in: 20:17:26 + . 20:17:26 -> Found 1 reports 20:17:26 ==> Detecting git/mercurial file structure 20:17:26 ==> Reading reports 20:17:26 + ./coverage.out bytes=9355 20:17:26 ==> Appending adjustments 20:17:26 https://docs.codecov.io/docs/fixing-reports 20:17:27 + Found adjustments 20:17:27 ==> Gzipping contents 20:17:27 4.0K /tmp/codecov.JIBCsw.gz 20:17:27 ==> Uploading reports 20:17:27 url: https://codecov.io 20:17:27 query: branch=main&commit=868c3d37fa7208ff5e10080602f68a64287cb162&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:17:27 -> Pinging Codecov 20:17:27 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=868c3d37fa7208ff5e10080602f68a64287cb162&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:17:27 -> Uploading to 20:17:27 https://storage.googleapis.com/codecov/v4/raw/2022-04-05/4E5D53B4F1F92C436F7061BF334D961C/868c3d37fa7208ff5e10080602f68a64287cb162/e21e3d16-66fd-4174-a058-52a34df21988.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220405%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220405T201727Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5d932aa1deab223bb86654ff5dd7e6c1ae41fb1f7c6b191b683ae8e23b55c7b7 20:17:27 % Total % Received % Xferd Average Speed Time Time Time Current 20:17:27 Dload Upload Total Spent Left Speed 20:17:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1800 0 0 100 1800 0 7258 --:--:-- --:--:-- --:--:-- 7287 20:17:27 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/868c3d37fa7208ff5e10080602f68a64287cb162 [Pipeline] } 20:17:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:17:27 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:17:27 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:17:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:17:28 20:17:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 20:17:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:17:28 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:17:28 188c0c94c7c5: Pulling fs layer 20:17:28 0ef7d3d256c8: Pulling fs layer 20:17:28 de9db76c5a1d: Pulling fs layer 20:17:28 0eba1c9be4d2: Pulling fs layer 20:17:28 0d57e429df01: Pulling fs layer 20:17:28 4e4be7b47b0d: Pulling fs layer 20:17:28 e1f770b5df2f: Pulling fs layer 20:17:28 85a0685a4137: Pulling fs layer 20:17:28 4e4be7b47b0d: Waiting 20:17:28 e1f770b5df2f: Waiting 20:17:28 85a0685a4137: Waiting 20:17:28 0eba1c9be4d2: Waiting 20:17:28 0d57e429df01: Waiting 20:17:28 de9db76c5a1d: Verifying Checksum 20:17:28 de9db76c5a1d: Download complete 20:17:28 0ef7d3d256c8: Verifying Checksum 20:17:28 0d57e429df01: Verifying Checksum 20:17:28 0d57e429df01: Download complete 20:17:28 4e4be7b47b0d: Verifying Checksum 20:17:28 4e4be7b47b0d: Download complete 20:17:28 188c0c94c7c5: Verifying Checksum 20:17:28 188c0c94c7c5: Download complete 20:17:28 e1f770b5df2f: Verifying Checksum 20:17:28 e1f770b5df2f: Download complete 20:17:28 188c0c94c7c5: Pull complete 20:17:28 0ef7d3d256c8: Pull complete 20:17:28 de9db76c5a1d: Pull complete 20:17:29 0eba1c9be4d2: Download complete 20:17:29 85a0685a4137: Verifying Checksum 20:17:29 85a0685a4137: Download complete 20:17:33 0eba1c9be4d2: Pull complete 20:17:33 0d57e429df01: Pull complete 20:17:33 4e4be7b47b0d: Pull complete 20:17:33 e1f770b5df2f: Pull complete 20:17:37 85a0685a4137: Pull complete 20:17:37 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 20:17:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:17:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 20:17:37 prd-ubuntu20.04-docker-8c-8g-10767 does not seem to be running inside a container 20:17:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:17:39 $ docker top 0124e29dcd052fb70c058e5e2c5619fe02c3baaf9e4618ba0c58e64f75d77c50 -eo pid,comm [Pipeline] { [Pipeline] echo 20:17:39 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 20:17:39 + set -o pipefail 20:17:39 + snyk monitor '--org=edgex-jenkins' 20:17:52 20:17:52 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 20:17:52 20:17:52 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/526f1baa-330d-4ebf-a8f9-b43d9231ffa6 20:17:52 20:17:52 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:17:52 20:17:52 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:17:52 20:17:52 [Pipeline] } 20:17:52 $ docker stop --time=1 0124e29dcd052fb70c058e5e2c5619fe02c3baaf9e4618ba0c58e64f75d77c50 20:17:54 $ docker rm -f 0124e29dcd052fb70c058e5e2c5619fe02c3baaf9e4618ba0c58e64f75d77c50 [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 20:17:54 + git log --format=format:%s -1 868c3d37fa7208ff5e10080602f68a64287cb162 [Pipeline] sh 20:17:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:17:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:17:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:17:55 . [Pipeline] withDockerContainer 20:17:55 prd-ubuntu20.04-docker-8c-8g-10767 does not seem to be running inside a container 20:17:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:17:55 $ docker top 0b9b0bcddf9d2732bbe6bcf5af1737613996e248a2d261eea2a4bcced6315c87 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:17:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:17:56 [ssh-agent] Looking for ssh-agent implementation... 20:17:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:17:56 $ docker exec 0b9b0bcddf9d2732bbe6bcf5af1737613996e248a2d261eea2a4bcced6315c87 ssh-agent 20:17:56 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdIEGCA/agent.13 20:17:56 SSH_AGENT_PID=20 20:17:56 Running ssh-add (command line suppressed) 20:17:56 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4718734961592355807.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4718734961592355807.key) 20:17:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:17:56 + git semver tag 20:17:56 # -> Open(): unable to determine branch for HEAD 20:17:56 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 20:17:56 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 20:17:56 # $SEMVER_REMOTE_NAME = origin 20:17:56 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:17:56 # $SEMVER_USER_NAME = edgex-jenkins 20:17:56 # $SEMVER_BRANCH = main 20:17:56 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 20:17:56 # 868c3d37fa7208ff5e10080602f68a64287cb162 HEAD 20:17:56 # -> Force: false 20:17:56 # 6e8b7c5a414d1471a8bacf8be4554edfc9a0b593 refs/tags/v2.2.0-dev.7 [Pipeline] } 20:17:56 $ docker exec --env ******** --env ******** 0b9b0bcddf9d2732bbe6bcf5af1737613996e248a2d261eea2a4bcced6315c87 ssh-agent -k 20:17:56 unset SSH_AUTH_SOCK; 20:17:56 unset SSH_AGENT_PID; 20:17:56 echo Agent pid 20 killed; 20:17:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:17:57 + git semver [Pipeline] } 20:17:57 $ docker stop --time=1 0b9b0bcddf9d2732bbe6bcf5af1737613996e248a2d261eea2a4bcced6315c87 20:17:58 $ docker rm -f 0b9b0bcddf9d2732bbe6bcf5af1737613996e248a2d261eea2a4bcced6315c87 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 20:17:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:17:58 20:17:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 20:17:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:17:59 0.23.1-centos7: Pulling from edgex-lftools 20:17:59 ab5ef0e58194: Pulling fs layer 20:17:59 9712f1f96733: Pulling fs layer 20:17:59 63f879dbbcfc: Pulling fs layer 20:17:59 0d9ebad4ef96: Pulling fs layer 20:17:59 e9a5061849ea: Pulling fs layer 20:17:59 d747dcd14b5f: Pulling fs layer 20:17:59 2de7ff778b66: Pulling fs layer 20:17:59 2de7ff778b66: Waiting 20:17:59 d747dcd14b5f: Waiting 20:17:59 9712f1f96733: Verifying Checksum 20:17:59 9712f1f96733: Download complete 20:17:59 63f879dbbcfc: Verifying Checksum 20:17:59 63f879dbbcfc: Download complete 20:17:59 e9a5061849ea: Verifying Checksum 20:17:59 e9a5061849ea: Download complete 20:17:59 d747dcd14b5f: Verifying Checksum 20:17:59 d747dcd14b5f: Download complete 20:17:59 ab5ef0e58194: Verifying Checksum 20:17:59 ab5ef0e58194: Download complete 20:17:59 0d9ebad4ef96: Verifying Checksum 20:17:59 0d9ebad4ef96: Download complete 20:17:59 2de7ff778b66: Verifying Checksum 20:18:03 ab5ef0e58194: Pull complete 20:18:03 9712f1f96733: Pull complete 20:18:03 63f879dbbcfc: Pull complete 20:18:07 0d9ebad4ef96: Pull complete 20:18:08 e9a5061849ea: Pull complete 20:18:08 d747dcd14b5f: Pull complete 20:18:09 2de7ff778b66: Pull complete 20:18:09 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:18:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:18:09 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 20:18:09 prd-ubuntu20.04-docker-8c-8g-10767 does not seem to be running inside a container 20:18:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:18:12 $ docker top 8ec71c4b42b117ab0e1af266bd977dfadfb32f6317282e2c5bf58915c8fbd95c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:18:12 provisioning config files... 20:18:12 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2159119244505365684tmp 20:18:12 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7429756505198138700tmp 20:18:12 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1467205200939691849tmp [Pipeline] { [Pipeline] echo 20:18:12 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:18:13 ---> sigul-configuration.sh 20:18:13 gpg: directory `/root/.gnupg' created 20:18:13 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:18:13 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:18:13 gpg: keyring `/root/.gnupg/secring.gpg' created 20:18:13 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:18:13 gpg: CAST5 encrypted data 20:18:13 gpg: encrypted with 1 passphrase 20:18:13 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:18:13 + mkdir /home/jenkins 20:18:13 + mkdir /home/jenkins/sigul [Pipeline] sh 20:18:13 + 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 20:18:13 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:18:13 ---> sigul-install.sh 20:18:13 Sigul already installed; skipping installation. [Pipeline] sh 20:18:14 + git tag --list 20:18:14 v1.0.0 20:18:14 v1.1.0 20:18:14 v1.1.1 20:18:14 v1.1.2 20:18:14 v1.2.0 20:18:14 v1.2.1 20:18:14 v2.0.0 20:18:14 v2.0.1-dev.1 20:18:14 v2.0.1-dev.10 20:18:14 v2.0.1-dev.11 20:18:14 v2.0.1-dev.12 20:18:14 v2.0.1-dev.13 20:18:14 v2.0.1-dev.14 20:18:14 v2.0.1-dev.2 20:18:14 v2.0.1-dev.3 20:18:14 v2.0.1-dev.4 20:18:14 v2.0.1-dev.5 20:18:14 v2.0.1-dev.6 20:18:14 v2.0.1-dev.7 20:18:14 v2.0.1-dev.8 20:18:14 v2.0.1-dev.9 20:18:14 v2.1.0 20:18:14 v2.2.0-dev.1 20:18:14 v2.2.0-dev.2 20:18:14 v2.2.0-dev.3 20:18:14 v2.2.0-dev.4 20:18:14 v2.2.0-dev.5 20:18:14 v2.2.0-dev.6 20:18:14 v2.2.0-dev.7 [Pipeline] sh 20:18:14 + lftools sign git-tag v2.2.0-dev.7 20:18:15 Signing Git tag with Sigul... 20:18:15 Signing v2.2.0-dev.7 [Pipeline] echo 20:18:15 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:18:15 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:18:15 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:18:15 $ docker stop --time=1 8ec71c4b42b117ab0e1af266bd977dfadfb32f6317282e2c5bf58915c8fbd95c 20:18:17 $ docker rm -f 8ec71c4b42b117ab0e1af266bd977dfadfb32f6317282e2c5bf58915c8fbd95c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:18:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:18:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:18:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:18:17 . [Pipeline] withDockerContainer 20:18:17 prd-ubuntu20.04-docker-8c-8g-10767 does not seem to be running inside a container 20:18:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:18:18 $ docker top 289045cfa5c6d92a9efeb501ad9e6494b9e7c4d890abcc20248942158849d9d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:18:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:18:18 [ssh-agent] Looking for ssh-agent implementation... 20:18:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:18:18 $ docker exec 289045cfa5c6d92a9efeb501ad9e6494b9e7c4d890abcc20248942158849d9d4 ssh-agent 20:18:18 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEDNgjK/agent.13 20:18:18 SSH_AGENT_PID=20 20:18:18 Running ssh-add (command line suppressed) 20:18:18 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4261215163952425587.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4261215163952425587.key) 20:18:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:18:19 + git semver bump pre 20:18:19 # -> Open(): unable to determine branch for HEAD 20:18:19 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 20:18:19 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 20:18:19 # $SEMVER_REMOTE_NAME = origin 20:18:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:18:19 # $SEMVER_USER_NAME = edgex-jenkins 20:18:19 # $SEMVER_BRANCH = main 20:18:19 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 20:18:19 2.2.0-dev.8 [Pipeline] } 20:18:19 $ docker exec --env ******** --env ******** 289045cfa5c6d92a9efeb501ad9e6494b9e7c4d890abcc20248942158849d9d4 ssh-agent -k 20:18:19 unset SSH_AUTH_SOCK; 20:18:19 unset SSH_AGENT_PID; 20:18:19 echo Agent pid 20 killed; 20:18:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:18:19 + git semver [Pipeline] } 20:18:19 $ docker stop --time=1 289045cfa5c6d92a9efeb501ad9e6494b9e7c4d890abcc20248942158849d9d4 20:18:21 $ docker rm -f 289045cfa5c6d92a9efeb501ad9e6494b9e7c4d890abcc20248942158849d9d4 [Pipeline] // withDockerContainer [Pipeline] sh 20:18:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:18:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:18:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:18:21 . [Pipeline] withDockerContainer 20:18:21 prd-ubuntu20.04-docker-8c-8g-10767 does not seem to be running inside a container 20:18:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:18:22 $ docker top ad3efa7530acd5027790cdce5c4b9d308aed7725a2a8c8c4b556c38a4e4ac434 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:18:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:18:22 [ssh-agent] Looking for ssh-agent implementation... 20:18:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:18:22 $ docker exec ad3efa7530acd5027790cdce5c4b9d308aed7725a2a8c8c4b556c38a4e4ac434 ssh-agent 20:18:22 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjKIKfd/agent.14 20:18:22 SSH_AGENT_PID=20 20:18:22 Running ssh-add (command line suppressed) 20:18:22 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4307623406995643590.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4307623406995643590.key) 20:18:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:18:23 + git semver push 20:18:23 # -> Open(): unable to determine branch for HEAD 20:18:23 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 20:18:23 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 20:18:23 # $SEMVER_REMOTE_NAME = origin 20:18:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:18:23 # $SEMVER_USER_NAME = edgex-jenkins 20:18:23 # $SEMVER_BRANCH = main 20:18:23 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 20:18:24 $ docker exec --env ******** --env ******** ad3efa7530acd5027790cdce5c4b9d308aed7725a2a8c8c4b556c38a4e4ac434 ssh-agent -k 20:18:25 unset SSH_AUTH_SOCK; 20:18:25 unset SSH_AGENT_PID; 20:18:25 echo Agent pid 20 killed; 20:18:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:18:25 + git semver [Pipeline] } 20:18:25 $ docker stop --time=1 ad3efa7530acd5027790cdce5c4b9d308aed7725a2a8c8c4b556c38a4e4ac434 20:18:26 $ docker rm -f ad3efa7530acd5027790cdce5c4b9d308aed7725a2a8c8c4b556c38a4e4ac434 [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 20:18:27 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 20:18:27 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 20:18:27 total 16 20:18:27 drwxr-xr-x 3 root root 4096 Apr 5 20:10 . 20:18:27 drwxrwxr-x 10 jenkins jenkins 4096 Apr 5 20:18 .. 20:18:27 drwxr-xr-x 2 root root 4096 Apr 5 20:10 cost 20:18:27 -rw-r--r-- 1 root root 84 Apr 5 20:10 cost.csv 20:18:27 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 20:18:27 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 20:18:27 total 16 20:18:27 drwxr-xr-x 3 jenkins jenkins 4096 Apr 5 20:10 . 20:18:27 drwxrwxr-x 10 jenkins jenkins 4096 Apr 5 20:18 .. 20:18:27 drwxr-xr-x 2 jenkins jenkins 4096 Apr 5 20:10 cost 20:18:27 -rw-r--r-- 1 jenkins jenkins 84 Apr 5 20:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:18:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:18:28 ---> package-listing.sh 20:18:28 ++ facter osfamily 20:18:28 ++ tr '[:upper:]' '[:lower:]' 20:18:28 + OS_FAMILY=debian 20:18:28 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 20:18:28 + START_PACKAGES=/tmp/packages_start.txt 20:18:28 + END_PACKAGES=/tmp/packages_end.txt 20:18:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:18:28 + PACKAGES=/tmp/packages_start.txt 20:18:28 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 20:18:28 + PACKAGES=/tmp/packages_end.txt 20:18:28 + case "${OS_FAMILY}" in 20:18:28 + dpkg -l 20:18:28 + grep '^ii' 20:18:28 + '[' -f /tmp/packages_start.txt ']' 20:18:28 + '[' -f /tmp/packages_end.txt ']' 20:18:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:18:28 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 20:18:28 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 20:18:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 20:18:28 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 20:18:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:18:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:18:29 . [Pipeline] withDockerContainer 20:18:29 prd-ubuntu20.04-docker-8c-8g-10767 does not seem to be running inside a container 20:18:29 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:18:29 $ docker top 92bbaf4a115bd73eceeaa990e3444e2a90bb3e3bb642a0ea0305c61e2761c2b7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:18:30 + touch /tmp/pre-build-complete [Pipeline] sh 20:18:30 + mkdir -p /var/log/sysstat [Pipeline] sh 20:18:30 + ls /var/log/sa-host 20:18:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:18:30 provisioning config files... 20:18:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2474668645870501567tmp [Pipeline] { [Pipeline] echo 20:18:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:18:31 ---> create-netrc.sh [Pipeline] } 20:18:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:18:31 ---> python-tools-install.sh [Pipeline] echo 20:18:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:18:31 ---> sudo-logs.sh 20:18:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:18:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:18:32 ---> job-cost.sh 20:18:32 lf-activate-venv: SKIPPING 20:18:32 DEBUG: total: 0.2199999988079071 20:18:32 INFO: Retrieving Stack Cost... 20:18:32 INFO: Retrieving Pricing Info for: v3-standard-8 20:18:32 INFO: Archiving Costs [Pipeline] echo 20:18:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:18:33 ---> logs-deploy.sh 20:18:33 lf-activate-venv: SKIPPING 20:18:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/28 20:18:33 INFO: archiving workspace using pattern(s): 20:18:34 Archives upload complete. 20:18:34 INFO: archiving logs to Nexus