Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d2dd5877ffea6850c3b0cb999012b17b1a99601c 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-ssh16022501541158905348.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-ssh9708510533685872617.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-ssh13236133877483444925.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-ssh8229977394761409398.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-ssh17045332038360060705.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-19481’ Running on prd-ubuntu20.04-docker-8c-8g-19485 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 d2dd5877ffea6850c3b0cb999012b17b1a99601c (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 d2dd5877ffea6850c3b0cb999012b17b1a99601c # timeout=10 Commit message: "Merge pull request #170 from farshidtz/snap-appstream" > git rev-list --no-walk 4202c4e4a89e3dab93c0881b05113b30e3444e83 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:02:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:02:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:02:25 ========================================================= 11:02:25 EdgeX Global Pipelines Version Info 11:02:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:02:26 ------------------- 11:02:26 stable info: 11:02:26 ------------------- 11:02:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:02:26 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 11:02:26 Message: update stable to v1.0.221 11:02:27 ------------------- 11:02:27 experimental info: 11:02:27 ------------------- 11:02:27 Commited By: **** collab-it+edgex@linuxfoundation.org 11:02:27 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 11:02:27 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d2dd5877ffea6850c3b0cb999012b17b1a99601c [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d2dd587 [Pipeline] echo 11:02:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:02:27 provisioning config files... 11:02:27 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6302826934363020988tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:02:28 ---> docker-login.sh 11:02:28 nexus3.edgexfoundry.org:10001 11:02:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:02:28 Configure a credential helper to remove this warning. See 11:02:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:02:28 11:02:28 Login Succeeded 11:02:28 nexus3.edgexfoundry.org:10002 11:02:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:02:28 Configure a credential helper to remove this warning. See 11:02:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:02:28 11:02:28 Login Succeeded 11:02:28 nexus3.edgexfoundry.org:10003 11:02:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:02:28 Configure a credential helper to remove this warning. See 11:02:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:02:28 11:02:28 Login Succeeded 11:02:28 nexus3.edgexfoundry.org:10004 11:02:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:02:28 Configure a credential helper to remove this warning. See 11:02:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:02:28 11:02:28 Login Succeeded 11:02:28 docker.io 11:02:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:02:29 Configure a credential helper to remove this warning. See 11:02:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:02:29 11:02:29 Login Succeeded 11:02:29 ---> docker-login.sh ends [Pipeline] } 11:02:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:02:29 + git rev-list -1 --merges d2dd5877ffea6850c3b0cb999012b17b1a99601c~1..d2dd5877ffea6850c3b0cb999012b17b1a99601c [Pipeline] echo 11:02:29 -----------> git rev-list -1 --merges d2dd5877ffea6850c3b0cb999012b17b1a99601c~1..d2dd5877ffea6850c3b0cb999012b17b1a99601c d2dd5877ffea6850c3b0cb999012b17b1a99601c 11:02:29 d2dd5877ffea6850c3b0cb999012b17b1a99601c [false] [Pipeline] sh 11:02:30 + git log --format=format:%s -1 d2dd5877ffea6850c3b0cb999012b17b1a99601c [Pipeline] echo 11:02:30 ========================================================= 11:02:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:02:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:02:30 + git log --format=format:%s -1 d2dd5877ffea6850c3b0cb999012b17b1a99601c [Pipeline] echo 11:02:30 [semverPrep] GIT_COMMIT: d2dd5877ffea6850c3b0cb999012b17b1a99601c, Commit Message: Merge pull request #170 from farshidtz/snap-appstream [Pipeline] echo 11:02:30 [semverPrep] This is not a build commit. [Pipeline] sh 11:02:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:02:31 + grep -v github /etc/ssh/ssh_known_hosts 11:02:31 + [ -e /tmp/ssh_known_hosts ] 11:02:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:02:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:02:31 + sudo tee -a /etc/ssh/ssh_known_hosts 11:02:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:02:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:02:31 11:02:31 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:02:31 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:02:31 latest: Pulling from edgex-devops/git-semver 11:02:31 a0d0a0d46f8b: Pulling fs layer 11:02:31 3e5f54012d9b: Pulling fs layer 11:02:31 4c7163046ea9: Pulling fs layer 11:02:31 0c2d73faf560: Pulling fs layer 11:02:31 0c2d73faf560: Waiting 11:02:31 3e5f54012d9b: Verifying Checksum 11:02:31 3e5f54012d9b: Download complete 11:02:31 a0d0a0d46f8b: Download complete 11:02:31 0c2d73faf560: Verifying Checksum 11:02:31 0c2d73faf560: Download complete 11:02:31 4c7163046ea9: Verifying Checksum 11:02:31 4c7163046ea9: Download complete 11:02:31 a0d0a0d46f8b: Pull complete 11:02:31 3e5f54012d9b: Pull complete 11:02:32 4c7163046ea9: Pull complete 11:02:32 0c2d73faf560: Pull complete 11:02:32 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 11:02:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:02:32 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:02:32 prd-ubuntu20.04-docker-8c-8g-19485 does not seem to be running inside a container 11:02:32 $ 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 11:02:33 $ docker top 088a2324fd6bd09f2a546a6dc74169cebab10aef91b03326efa30dcdaa56d22a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:02:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:02:33 [ssh-agent] Looking for ssh-agent implementation... 11:02:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:02:33 $ docker exec 088a2324fd6bd09f2a546a6dc74169cebab10aef91b03326efa30dcdaa56d22a ssh-agent 11:02:33 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHcjNOg/agent.13 11:02:33 SSH_AGENT_PID=19 11:02:33 Running ssh-add (command line suppressed) 11:02:33 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1481525081921027448.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1481525081921027448.key) 11:02:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:02:34 + git tag --points-at HEAD [Pipeline] } 11:02:34 $ docker exec --env ******** --env ******** 088a2324fd6bd09f2a546a6dc74169cebab10aef91b03326efa30dcdaa56d22a ssh-agent -k 11:02:34 unset SSH_AUTH_SOCK; 11:02:34 unset SSH_AGENT_PID; 11:02:34 echo Agent pid 19 killed; 11:02:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:02:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:02:34 [ssh-agent] Looking for ssh-agent implementation... 11:02:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:02:34 $ docker exec 088a2324fd6bd09f2a546a6dc74169cebab10aef91b03326efa30dcdaa56d22a ssh-agent 11:02:34 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkhDPeI/agent.52 11:02:34 SSH_AGENT_PID=58 11:02:34 Running ssh-add (command line suppressed) 11:02:34 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5128261653109168665.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5128261653109168665.key) 11:02:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:02:35 + git semver init 11:02:35 # -> Open(): unable to determine branch for HEAD 11:02:35 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 11:02:35 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 11:02:35 # $SEMVER_REMOTE_NAME = origin 11:02:35 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:02:35 # $SEMVER_USER_NAME = edgex-jenkins 11:02:35 # $SEMVER_BRANCH = main 11:02:35 # $SEMVER_TEMP = /tmp/semver-696769210 11:02:35 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 11:02:36 # '/tmp/semver-696769210' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' 11:02:36 # -> Force: false 11:02:36 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 11:02:36 $ docker exec --env ******** --env ******** 088a2324fd6bd09f2a546a6dc74169cebab10aef91b03326efa30dcdaa56d22a ssh-agent -k 11:02:36 unset SSH_AUTH_SOCK; 11:02:36 unset SSH_AGENT_PID; 11:02:36 echo Agent pid 58 killed; 11:02:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:02:36 + git semver [Pipeline] } 11:02:36 $ docker stop --time=1 088a2324fd6bd09f2a546a6dc74169cebab10aef91b03326efa30dcdaa56d22a 11:02:38 $ docker rm -f 088a2324fd6bd09f2a546a6dc74169cebab10aef91b03326efa30dcdaa56d22a [Pipeline] // withDockerContainer [Pipeline] sh 11:02:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:02:38 Stashed 1 file(s) [Pipeline] echo 11:02:38 [edgeXSemver]: initialized semver on version 2.2.0-dev.10 [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 11:02:39 provisioning config files... 11:02:39 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4072600339711254812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:02:39 ---> docker-login.sh 11:02:39 nexus3.edgexfoundry.org:10001 11:02:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:02:39 Configure a credential helper to remove this warning. See 11:02:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:02:39 11:02:39 Login Succeeded 11:02:39 nexus3.edgexfoundry.org:10002 11:02:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:02:39 Configure a credential helper to remove this warning. See 11:02:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:02:39 11:02:39 Login Succeeded 11:02:39 nexus3.edgexfoundry.org:10003 11:02:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:02:39 Configure a credential helper to remove this warning. See 11:02:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:02:39 11:02:39 Login Succeeded 11:02:39 nexus3.edgexfoundry.org:10004 11:02:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:02:39 Configure a credential helper to remove this warning. See 11:02:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:02:39 11:02:39 Login Succeeded 11:02:39 docker.io 11:02:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:02:40 Configure a credential helper to remove this warning. See 11:02:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:02:40 11:02:40 Login Succeeded 11:02:40 ---> docker-login.sh ends [Pipeline] } 11:02:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:02:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:02:40 ========================================================= 11:02:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 11:02:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:02:40 + 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 . 11:02:40 Sending build context to Docker daemon 10.56MB 11:02:40 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 11:02:40 Step 2/12 : FROM ${BASE} AS builder 11:02:40 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 11:02:40 59bf1c3509f3: Pulling fs layer 11:02:40 666ba61612fd: Pulling fs layer 11:02:40 8ed8ca486205: Pulling fs layer 11:02:40 4fe6c5a15a65: Pulling fs layer 11:02:40 22a0e8bec74d: Pulling fs layer 11:02:40 640e595b4fbd: Pulling fs layer 11:02:40 763cafe07f6e: Pulling fs layer 11:02:40 4fe6c5a15a65: Waiting 11:02:40 22a0e8bec74d: Waiting 11:02:40 640e595b4fbd: Waiting 11:02:40 0c0b528cf693: Pulling fs layer 11:02:40 763cafe07f6e: Waiting 11:02:40 10935f4eaf8b: Pulling fs layer 11:02:40 8ed8ca486205: Download complete 11:02:40 666ba61612fd: Download complete 11:02:40 59bf1c3509f3: Verifying Checksum 11:02:40 22a0e8bec74d: Download complete 11:02:40 640e595b4fbd: Verifying Checksum 11:02:40 640e595b4fbd: Download complete 11:02:40 763cafe07f6e: Verifying Checksum 11:02:40 763cafe07f6e: Download complete 11:02:40 0c0b528cf693: Verifying Checksum 11:02:40 0c0b528cf693: Download complete 11:02:40 59bf1c3509f3: Pull complete 11:02:41 666ba61612fd: Pull complete 11:02:41 8ed8ca486205: Pull complete 11:02:41 4fe6c5a15a65: Verifying Checksum 11:02:41 4fe6c5a15a65: Download complete 11:02:41 10935f4eaf8b: Verifying Checksum 11:02:41 10935f4eaf8b: Download complete 11:02:45 4fe6c5a15a65: Pull complete 11:02:45 22a0e8bec74d: Pull complete 11:02:45 640e595b4fbd: Pull complete 11:02:45 763cafe07f6e: Pull complete 11:02:46 0c0b528cf693: Pull complete 11:02:48 10935f4eaf8b: Pull complete 11:02:48 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 11:02:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 11:02:48 ---> 99d49a6021b9 11:02:48 Step 3/12 : ARG MAKE='make build' 11:02:49 ---> Running in 159d4d2a2dfc 11:02:49 Removing intermediate container 159d4d2a2dfc 11:02:49 ---> f1b0fcb540a4 11:02:49 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:02:49 ---> Running in a8e8881ceaba 11:02:49 Removing intermediate container a8e8881ceaba 11:02:49 ---> e1494787559e 11:02:49 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 11:02:49 ---> Running in b1c4ef32b9c4 11:02:49 Removing intermediate container b1c4ef32b9c4 11:02:49 ---> db513c803b49 11:02:49 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:02:49 ---> Running in 67f8dded58ee 11:02:50 Removing intermediate container 67f8dded58ee 11:02:50 ---> c3c272983842 11:02:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:02:50 ---> Running in f5dc6b6a0c79 11:02:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:02:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:02:51 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:02:52 (2/4) Installing libedit (20210910.3.1-r0) 11:02:52 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:02:52 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:02:52 Executing busybox-1.34.1-r3.trigger 11:02:52 OK: 224 MiB in 56 packages 11:02:53 Removing intermediate container f5dc6b6a0c79 11:02:53 ---> 0d7bc2b79bdd 11:02:53 Step 8/12 : WORKDIR /device-rest-go 11:02:53 ---> Running in 68809bb0d18b 11:02:53 Removing intermediate container 68809bb0d18b 11:02:53 ---> 403a1d5d6ed1 11:02:53 Step 9/12 : COPY go.mod vendor* ./ 11:02:53 ---> f8d08935e4b5 11:02:53 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:02:53 ---> Running in 0fcc50f70b25 11:02:54 Still waiting to schedule task 11:02:54 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-19482’ 11:03:07 Removing intermediate container 0fcc50f70b25 11:03:07 ---> e052e33a91ca 11:03:07 Step 11/12 : COPY . . 11:03:07 ---> ad6c0c956d5b 11:03:07 Step 12/12 : RUN $MAKE 11:03:07 ---> Running in 5a1032c3796d 11:03:07 noop 11:03:07 Removing intermediate container 5a1032c3796d 11:03:07 ---> d729974912c7 11:03:07 Successfully built d729974912c7 11:03:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:03:08 + docker inspect -f . ci-base-image-x86_64 11:03:08 . [Pipeline] withDockerContainer 11:03:08 prd-ubuntu20.04-docker-8c-8g-19485 does not seem to be running inside a container 11:03:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:03:10 $ docker top 1e298ac8a1019bffd815ccf2e30e80ba82a44c58781ee7ed7a025d0a753d44dd -eo pid,comm [Pipeline] { [Pipeline] sh 11:03:10 + go version 11:03:10 go version go1.17.6 linux/amd64 [Pipeline] } 11:03:10 $ docker stop --time=1 1e298ac8a1019bffd815ccf2e30e80ba82a44c58781ee7ed7a025d0a753d44dd 11:03:11 $ docker rm -f 1e298ac8a1019bffd815ccf2e30e80ba82a44c58781ee7ed7a025d0a753d44dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:03:12 + docker inspect -f . ci-base-image-x86_64 11:03:12 . [Pipeline] withDockerContainer 11:03:12 prd-ubuntu20.04-docker-8c-8g-19485 does not seem to be running inside a container 11:03:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:03:12 $ docker top 5ef06aa0c7310b49c7e4ece86cf0a9a86d7d7e70dc7b6b2039c329c4fd92b61a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:03:13 + make test 11:03:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 11:03:13 ? github.com/edgexfoundry/device-rest-go [no test files] 11:03:23 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 11:03:23 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 55.2% of statements 11:03:29 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:03:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:03:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:03:32 ./bin/test-attribution-txt.sh [Pipeline] echo 11:03:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:03:32 $ docker stop --time=1 5ef06aa0c7310b49c7e4ece86cf0a9a86d7d7e70dc7b6b2039c329c4fd92b61a 11:03:34 $ docker rm -f 5ef06aa0c7310b49c7e4ece86cf0a9a86d7d7e70dc7b6b2039c329c4fd92b61a [Pipeline] // withDockerContainer [Pipeline] sh 11:03:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:03:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:03:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:03:36 + ls -al . 11:03:36 total 172 11:03:36 drwxrwxr-x 9 jenkins jenkins 4096 Apr 11 11:03 . 11:03:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 11:02 .. 11:03:36 -rw-rw-r-- 1 jenkins jenkins 151 Apr 11 11:02 .dockerignore 11:03:36 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 11:02 .git 11:03:36 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 11:02 .github 11:03:36 -rw-rw-r-- 1 jenkins jenkins 329 Apr 11 11:02 .gitignore 11:03:36 -rw-rw-r-- 1 jenkins jenkins 41 Apr 11 11:02 .golangci.yml 11:03:36 drwx------ 3 jenkins jenkins 4096 Apr 11 11:02 .semver 11:03:36 -rw-rw-r-- 1 jenkins jenkins 8330 Apr 11 11:02 Attribution.txt 11:03:36 -rw-rw-r-- 1 jenkins jenkins 7459 Apr 11 11:02 CHANGELOG.md 11:03:36 -rw-rw-r-- 1 jenkins jenkins 1672 Apr 11 11:02 Dockerfile 11:03:36 -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 11:02 GOVERNANCE.md 11:03:36 -rw-rw-r-- 1 jenkins jenkins 680 Apr 11 11:02 Jenkinsfile 11:03:36 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 11 11:02 LICENSE 11:03:36 -rw-rw-r-- 1 jenkins jenkins 1964 Apr 11 11:02 Makefile 11:03:36 -rw-rw-r-- 1 jenkins jenkins 620 Apr 11 11:02 OWNERS.md 11:03:36 -rw-rw-r-- 1 jenkins jenkins 8246 Apr 11 11:02 README.md 11:03:36 -rw-rw-r-- 1 jenkins jenkins 12 Apr 11 11:02 VERSION 11:03:36 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 11:02 bin 11:03:36 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 11:02 cmd 11:03:36 -rw-r--r-- 1 jenkins jenkins 9355 Apr 11 11:03 coverage.out 11:03:36 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 11:02 driver 11:03:36 -rw-rw-r-- 1 jenkins jenkins 3240 Apr 11 11:02 go.mod 11:03:36 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 11 11:02 go.sum 11:03:36 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 11:02 snap 11:03:36 -rw-rw-r-- 1 jenkins jenkins 713 Apr 11 11:02 version.go [Pipeline] isUnix [Pipeline] sh 11:03:36 + 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=d2dd5877ffea6850c3b0cb999012b17b1a99601c --label arch=amd64 --label version=2.2.0-dev.10 . 11:03:36 Sending build context to Docker daemon 10.57MB 11:03:36 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 11:03:36 Step 2/25 : FROM ${BASE} AS builder 11:03:36 ---> d729974912c7 11:03:36 Step 3/25 : ARG MAKE='make build' 11:03:37 ---> Running in 6b776cb71810 11:03:37 Removing intermediate container 6b776cb71810 11:03:37 ---> ba07e51ecf75 11:03:37 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:03:37 ---> Running in 366f2bb88e15 11:03:37 Removing intermediate container 366f2bb88e15 11:03:37 ---> f06233bec8b9 11:03:37 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 11:03:37 ---> Running in 264b338c5d34 11:03:37 Removing intermediate container 264b338c5d34 11:03:37 ---> 94e3c595b782 11:03:37 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:03:37 ---> Running in 5748b0fdbc5e 11:03:37 Removing intermediate container 5748b0fdbc5e 11:03:37 ---> 865d2668e1b2 11:03:37 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:03:37 ---> Running in 23db90b88473 11:03:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:03:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:03:39 OK: 224 MiB in 56 packages 11:03:43 Removing intermediate container 23db90b88473 11:03:43 ---> d8d886976055 11:03:43 Step 8/25 : WORKDIR /device-rest-go 11:03:44 ---> Running in a415f5d5aeac 11:03:44 Removing intermediate container a415f5d5aeac 11:03:44 ---> f143e82bcb97 11:03:44 Step 9/25 : COPY go.mod vendor* ./ 11:03:44 ---> 05606fbe4bfc 11:03:44 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:03:44 ---> Running in 405dc8dcb9b1 11:03:44 Removing intermediate container 405dc8dcb9b1 11:03:44 ---> d08420d007b3 11:03:44 Step 11/25 : COPY . . 11:03:45 ---> 2b5940f38a01 11:03:45 Step 12/25 : RUN $MAKE 11:03:45 ---> Running in cb99cd74e42e 11:03:45 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.10" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 11:04:07 Removing intermediate container cb99cd74e42e 11:04:07 ---> b2e853367a2f 11:04:07 Step 13/25 : FROM alpine:3.14 11:04:07 3.14: Pulling from library/alpine 11:04:07 8663204ce13b: Pulling fs layer 11:04:07 8663204ce13b: Verifying Checksum 11:04:07 8663204ce13b: Download complete 11:04:07 8663204ce13b: Pull complete 11:04:07 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:04:07 Status: Downloaded newer image for alpine:3.14 11:04:07 ---> e04c818066af 11:04:07 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 11:04:07 ---> Running in 0d062d7057fc 11:04:07 Removing intermediate container 0d062d7057fc 11:04:07 ---> fe08922fa7dd 11:04:07 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 11:04:07 ---> Running in b237579c25cb 11:04:07 Removing intermediate container b237579c25cb 11:04:07 ---> 074ebcc0c745 11:04:07 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 11:04:07 ---> Running in 78fe3dcd593b 11:04:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 11:04:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 11:04:07 (1/6) Installing dumb-init (1.2.5-r1) 11:04:07 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:04:07 (3/6) Installing libsodium (1.0.18-r0) 11:04:07 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:04:07 (5/6) Installing libzmq (4.3.4-r0) 11:04:07 (6/6) Installing zeromq (4.3.4-r0) 11:04:07 Executing busybox-1.33.1-r7.trigger 11:04:07 OK: 8 MiB in 20 packages 11:04:07 Removing intermediate container 78fe3dcd593b 11:04:07 ---> 86622b7bf48b 11:04:07 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 11:04:07 ---> 96b836ddb955 11:04:07 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 11:04:07 ---> d4b1b7af4d56 11:04:07 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 11:04:08 ---> 039d19ade41a 11:04:08 Step 20/25 : EXPOSE 59986 11:04:08 ---> Running in 46e6a9312ccf 11:04:08 Removing intermediate container 46e6a9312ccf 11:04:08 ---> b970943491f6 11:04:08 Step 21/25 : ENTRYPOINT ["/device-rest"] 11:04:08 ---> Running in 81067a99a8cb 11:04:08 Removing intermediate container 81067a99a8cb 11:04:08 ---> 5cdef619f12e 11:04:08 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 11:04:08 ---> Running in 76333e3b428f 11:04:08 Removing intermediate container 76333e3b428f 11:04:08 ---> 86a23bae6fb8 11:04:08 Step 23/25 : LABEL arch=amd64 11:04:08 ---> Running in 191ee19f0d1b 11:04:08 Removing intermediate container 191ee19f0d1b 11:04:08 ---> c17a64f882a4 11:04:08 Step 24/25 : LABEL git_sha=d2dd5877ffea6850c3b0cb999012b17b1a99601c 11:04:08 ---> Running in a6dffd70b2af 11:04:08 Removing intermediate container a6dffd70b2af 11:04:08 ---> 96a3d390ff53 11:04:08 Step 25/25 : LABEL version=2.2.0-dev.10 11:04:09 ---> Running in 654ffb96205f 11:04:09 Removing intermediate container 654ffb96205f 11:04:09 ---> 73b59395015c 11:04:09 [Warning] One or more build-args [ARCH] were not consumed 11:04:09 Successfully built 73b59395015c 11:04:09 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:04:09 provisioning config files... 11:04:09 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3121086578923543121tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:04:09 ---> docker-login.sh 11:04:09 nexus3.edgexfoundry.org:10001 11:04:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:09 Configure a credential helper to remove this warning. See 11:04:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:09 11:04:09 Login Succeeded 11:04:09 nexus3.edgexfoundry.org:10002 11:04:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:09 Configure a credential helper to remove this warning. See 11:04:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:09 11:04:09 Login Succeeded 11:04:09 nexus3.edgexfoundry.org:10003 11:04:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:09 Configure a credential helper to remove this warning. See 11:04:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:09 11:04:09 Login Succeeded 11:04:09 nexus3.edgexfoundry.org:10004 11:04:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:09 Configure a credential helper to remove this warning. See 11:04:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:09 11:04:09 Login Succeeded 11:04:09 docker.io 11:04:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:10 Configure a credential helper to remove this warning. See 11:04:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:10 11:04:10 Login Succeeded 11:04:10 ---> docker-login.sh ends [Pipeline] } 11:04:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:04:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:04:10 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 11:04:10 d2dd5877ffea6850c3b0cb999012b17b1a99601c 11:04:10 latest 11:04:10 2.2.0-dev.10 11:04:10 d2dd5877ffea6850c3b0cb999012b17b1a99601c-2.2.0-dev.10 11:04:10 main 11:04:10 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:04:10 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:d2dd5877ffea6850c3b0cb999012b17b1a99601c [Pipeline] isUnix [Pipeline] sh 11:04:10 + docker push nexus3.edgexfoundry.org:10004/device-rest:d2dd5877ffea6850c3b0cb999012b17b1a99601c 11:04:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 11:04:10 ec5c67d2a0ba: Preparing 11:04:10 22b7ce87e49f: Preparing 11:04:10 36cd9f5bda4e: Preparing 11:04:10 a80e8be3cef2: Preparing 11:04:10 b541d28bf3b4: Preparing 11:04:10 b541d28bf3b4: Layer already exists 11:04:10 ec5c67d2a0ba: Pushed 11:04:10 22b7ce87e49f: Pushed 11:04:11 a80e8be3cef2: Pushed 11:04:13 36cd9f5bda4e: Pushed 11:04:13 d2dd5877ffea6850c3b0cb999012b17b1a99601c: digest: sha256:29a1a9be644848f47ebdb337f01b47bd2dc39143904785b2baa515382eddda68 size: 1367 [Pipeline] isUnix [Pipeline] sh 11:04:14 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 11:04:14 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 11:04:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 11:04:14 ec5c67d2a0ba: Preparing 11:04:14 22b7ce87e49f: Preparing 11:04:14 36cd9f5bda4e: Preparing 11:04:14 a80e8be3cef2: Preparing 11:04:14 b541d28bf3b4: Preparing 11:04:14 ec5c67d2a0ba: Layer already exists 11:04:14 b541d28bf3b4: Layer already exists 11:04:14 a80e8be3cef2: Layer already exists 11:04:14 36cd9f5bda4e: Layer already exists 11:04:14 22b7ce87e49f: Layer already exists 11:04:14 latest: digest: sha256:29a1a9be644848f47ebdb337f01b47bd2dc39143904785b2baa515382eddda68 size: 1367 [Pipeline] isUnix [Pipeline] sh 11:04:14 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh 11:04:14 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.10 11:04:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 11:04:14 ec5c67d2a0ba: Preparing 11:04:14 22b7ce87e49f: Preparing 11:04:14 36cd9f5bda4e: Preparing 11:04:14 a80e8be3cef2: Preparing 11:04:14 b541d28bf3b4: Preparing 11:04:14 b541d28bf3b4: Layer already exists 11:04:14 ec5c67d2a0ba: Layer already exists 11:04:14 22b7ce87e49f: Layer already exists 11:04:14 a80e8be3cef2: Layer already exists 11:04:14 36cd9f5bda4e: Layer already exists 11:04:14 2.2.0-dev.10: digest: sha256:29a1a9be644848f47ebdb337f01b47bd2dc39143904785b2baa515382eddda68 size: 1367 [Pipeline] isUnix [Pipeline] sh 11:04:15 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:d2dd5877ffea6850c3b0cb999012b17b1a99601c-2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh 11:04:15 + docker push nexus3.edgexfoundry.org:10004/device-rest:d2dd5877ffea6850c3b0cb999012b17b1a99601c-2.2.0-dev.10 11:04:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 11:04:15 ec5c67d2a0ba: Preparing 11:04:15 22b7ce87e49f: Preparing 11:04:15 36cd9f5bda4e: Preparing 11:04:15 a80e8be3cef2: Preparing 11:04:15 b541d28bf3b4: Preparing 11:04:15 b541d28bf3b4: Layer already exists 11:04:15 a80e8be3cef2: Layer already exists 11:04:15 36cd9f5bda4e: Layer already exists 11:04:15 22b7ce87e49f: Layer already exists 11:04:15 ec5c67d2a0ba: Layer already exists 11:04:15 d2dd5877ffea6850c3b0cb999012b17b1a99601c-2.2.0-dev.10: digest: sha256:29a1a9be644848f47ebdb337f01b47bd2dc39143904785b2baa515382eddda68 size: 1367 [Pipeline] isUnix [Pipeline] sh 11:04:15 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh 11:04:16 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 11:04:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 11:04:16 ec5c67d2a0ba: Preparing 11:04:16 22b7ce87e49f: Preparing 11:04:16 36cd9f5bda4e: Preparing 11:04:16 a80e8be3cef2: Preparing 11:04:16 b541d28bf3b4: Preparing 11:04:16 ec5c67d2a0ba: Layer already exists 11:04:16 b541d28bf3b4: Layer already exists 11:04:16 22b7ce87e49f: Layer already exists 11:04:16 36cd9f5bda4e: Layer already exists 11:04:16 a80e8be3cef2: Layer already exists 11:04:16 main: digest: sha256:29a1a9be644848f47ebdb337f01b47bd2dc39143904785b2baa515382eddda68 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:04:16 ===================================================== [Pipeline] echo 11:04:16 taggedImages: 11:04:16 - nexus3.edgexfoundry.org:10004/device-rest:d2dd5877ffea6850c3b0cb999012b17b1a99601c 11:04:16 - nexus3.edgexfoundry.org:10004/device-rest:latest 11:04:16 - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.10 11:04:16 - nexus3.edgexfoundry.org:10004/device-rest:d2dd5877ffea6850c3b0cb999012b17b1a99601c-2.2.0-dev.10 11:04:16 - 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 11:04:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:04:16 11:04:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:04:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:04:16 latest: Pulling from edgex-lftools-log-publisher 11:04:16 5eb5b503b376: Pulling fs layer 11:04:16 5c69ac0246d0: Pulling fs layer 11:04:16 ec43610c2a17: Pulling fs layer 11:04:16 3a2ae6a8a46f: Pulling fs layer 11:04:16 33b1e0a273af: Pulling fs layer 11:04:16 5d3b04190fa2: Pulling fs layer 11:04:16 2f39f015ded8: Pulling fs layer 11:04:16 3a2ae6a8a46f: Waiting 11:04:16 33b1e0a273af: Waiting 11:04:16 5d3b04190fa2: Waiting 11:04:16 2f39f015ded8: Waiting 11:04:16 5c69ac0246d0: Download complete 11:04:16 3a2ae6a8a46f: Verifying Checksum 11:04:16 3a2ae6a8a46f: Download complete 11:04:16 33b1e0a273af: Verifying Checksum 11:04:16 33b1e0a273af: Download complete 11:04:16 ec43610c2a17: Verifying Checksum 11:04:16 ec43610c2a17: Download complete 11:04:16 5d3b04190fa2: Download complete 11:04:17 5eb5b503b376: Verifying Checksum 11:04:17 5eb5b503b376: Download complete 11:04:17 2f39f015ded8: Download complete 11:04:18 5eb5b503b376: Pull complete 11:04:18 5c69ac0246d0: Pull complete 11:04:19 ec43610c2a17: Pull complete 11:04:19 3a2ae6a8a46f: Pull complete 11:04:19 33b1e0a273af: Pull complete 11:04:19 5d3b04190fa2: Pull complete 11:04:23 2f39f015ded8: Pull complete 11:04:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:04:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:04:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:04:23 prd-ubuntu20.04-docker-8c-8g-19485 does not seem to be running inside a container 11:04:23 $ 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 11:04:25 $ docker top bd6ca21f2b5094bd8d0327cafc18bff94a89bac453e9a0fa8724389abc315811 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:04:25 ---> job-cost.sh 11:04:25 lf-activate-venv: SKIPPING 11:04:25 INFO: No Stack... 11:04:26 INFO: Retrieving Pricing Info for: v3-standard-8 11:04:26 INFO: Archiving Costs [Pipeline] sh 11:04:27 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 11:04:27 + cut -d, -f6 [Pipeline] lock 11:04:27 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-31-stack-cost] 11:04:27 Resource [jenkins-edgexfoundry-device-rest-go-main-31-stack-cost] did not exist. Created. 11:04:27 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:04:27 + echo total: 0.2199999988079071 [Pipeline] stash 11:04:27 Stashed 1 file(s) [Pipeline] } 11:04:27 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-31-stack-cost] [Pipeline] // lock [Pipeline] } 11:04:27 $ docker stop --time=1 bd6ca21f2b5094bd8d0327cafc18bff94a89bac453e9a0fa8724389abc315811 11:04:28 $ docker rm -f bd6ca21f2b5094bd8d0327cafc18bff94a89bac453e9a0fa8724389abc315811 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:06:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19487 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 11:06:35 Running in /w/workspace/device-rest-go/31 [Pipeline] { [Pipeline] checkout 11:06:36 The recommended git tool is: git 11:06:44 using credential edgex-jenkins-ssh 11:06:44 Cloning the remote Git repository 11:06:44 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 11:06:44 > git init /w/workspace/device-rest-go/31 # timeout=10 11:06:44 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:06:44 > git --version # timeout=10 11:06:44 > git --version # 'git version 2.25.1' 11:06:44 using GIT_SSH to set credentials SSH Credentials for GitHub 11:06:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:06:46 Avoid second fetch 11:06:46 Checking out Revision d2dd5877ffea6850c3b0cb999012b17b1a99601c (main) 11:06:46 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:06:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:06:46 > git config core.sparsecheckout # timeout=10 11:06:46 > git checkout -f d2dd5877ffea6850c3b0cb999012b17b1a99601c # timeout=10 11:06:51 Commit message: "Merge pull request #170 from farshidtz/snap-appstream" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:06:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:06:52 % Total % Received % Xferd Average Speed Time Time Time Current 11:06:52 Dload Upload Total Spent Left Speed 11:06:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 51942 0 --:--:-- --:--:-- --:--:-- 52171 [Pipeline] sh 11:06:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:06:53 + sudo tee /etc/docker/daemon.new 11:06:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:06:53 { 11:06:53 "registry-mirrors": [ 11:06:53 "https://nexus3.edgexfoundry.org:10001" 11:06:53 ], 11:06:53 "bip": "10.250.0.254/24", 11:06:53 "hosts": [ 11:06:53 "tcp://0.0.0.0:5555", 11:06:53 "unix:///var/run/docker.sock" 11:06:53 ], 11:06:53 "mtu": 1458, 11:06:53 "selinux-enabled": true, 11:06:53 "seccomp-profile": "/etc/docker/seccomp.json" 11:06:53 } [Pipeline] sh 11:06:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:06:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:07:12 provisioning config files... 11:07:12 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/31@tmp/config6890162900459467592tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:07:12 ---> docker-login.sh 11:07:12 nexus3.edgexfoundry.org:10001 11:07:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:13 Configure a credential helper to remove this warning. See 11:07:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:13 11:07:13 Login Succeeded 11:07:13 nexus3.edgexfoundry.org:10002 11:07:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:14 Configure a credential helper to remove this warning. See 11:07:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:14 11:07:14 Login Succeeded 11:07:14 nexus3.edgexfoundry.org:10003 11:07:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:14 Configure a credential helper to remove this warning. See 11:07:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:14 11:07:14 Login Succeeded 11:07:14 nexus3.edgexfoundry.org:10004 11:07:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:15 Configure a credential helper to remove this warning. See 11:07:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:15 11:07:15 Login Succeeded 11:07:15 docker.io 11:07:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:15 Configure a credential helper to remove this warning. See 11:07:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:15 11:07:15 Login Succeeded 11:07:15 ---> docker-login.sh ends [Pipeline] } 11:07:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:07:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:07:16 ========================================================= 11:07:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 11:07:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:07:16 + 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 . 11:07:16 Sending build context to Docker daemon 127.5kB 11:07:17 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 11:07:17 Step 2/12 : FROM ${BASE} AS builder 11:07:17 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:07:17 9b3977197b4f: Pulling fs layer 11:07:17 1a89e8eeedd5: Pulling fs layer 11:07:17 94645a83ff95: Pulling fs layer 11:07:17 3f3a8bcf1eab: Pulling fs layer 11:07:17 0c92f367c5e7: Pulling fs layer 11:07:17 f7c0051592d6: Pulling fs layer 11:07:17 a227ed2f7395: Pulling fs layer 11:07:17 7b1c46037f91: Pulling fs layer 11:07:17 f7c0051592d6: Waiting 11:07:17 a227ed2f7395: Waiting 11:07:17 7b1c46037f91: Waiting 11:07:17 0c92f367c5e7: Waiting 11:07:17 3f3a8bcf1eab: Waiting 11:07:17 94645a83ff95: Download complete 11:07:17 1a89e8eeedd5: Verifying Checksum 11:07:17 1a89e8eeedd5: Download complete 11:07:17 0c92f367c5e7: Verifying Checksum 11:07:17 0c92f367c5e7: Download complete 11:07:17 f7c0051592d6: Verifying Checksum 11:07:17 f7c0051592d6: Download complete 11:07:17 9b3977197b4f: Download complete 11:07:17 a227ed2f7395: Verifying Checksum 11:07:17 a227ed2f7395: Download complete 11:07:18 9b3977197b4f: Pull complete 11:07:19 1a89e8eeedd5: Pull complete 11:07:19 94645a83ff95: Pull complete 11:07:19 7b1c46037f91: Verifying Checksum 11:07:19 7b1c46037f91: Download complete 11:07:19 3f3a8bcf1eab: Verifying Checksum 11:07:19 3f3a8bcf1eab: Download complete 11:07:32 3f3a8bcf1eab: Pull complete 11:07:32 0c92f367c5e7: Pull complete 11:07:32 f7c0051592d6: Pull complete 11:07:32 a227ed2f7395: Pull complete 11:07:39 7b1c46037f91: Pull complete 11:07:39 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 11:07:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 11:07:39 ---> f79e39bc4007 11:07:39 Step 3/12 : ARG MAKE='make build' 11:07:39 ---> Running in 964d305e0143 11:07:39 Removing intermediate container 964d305e0143 11:07:39 ---> c526deac5020 11:07:39 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:07:40 ---> Running in aaca0c5b9f9b 11:07:40 Removing intermediate container aaca0c5b9f9b 11:07:40 ---> 9d1d9faec0f9 11:07:40 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 11:07:40 ---> Running in c5486919b27a 11:07:40 Removing intermediate container c5486919b27a 11:07:40 ---> 9861b207cbf3 11:07:40 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:07:40 ---> Running in 8df77bc3c7e2 11:07:42 Removing intermediate container 8df77bc3c7e2 11:07:42 ---> 6c9b1d470b13 11:07:42 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:07:42 ---> Running in bdd88ae18d07 11:07:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:07:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:07:45 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:07:45 (2/4) Installing libedit (20210910.3.1-r0) 11:07:45 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:07:45 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:07:45 Executing busybox-1.34.1-r3.trigger 11:07:45 OK: 224 MiB in 56 packages 11:07:46 Removing intermediate container bdd88ae18d07 11:07:46 ---> f8c1310eb028 11:07:46 Step 8/12 : WORKDIR /device-rest-go 11:07:46 ---> Running in c0c8226a81f1 11:07:47 Removing intermediate container c0c8226a81f1 11:07:47 ---> 14c23465df7f 11:07:47 Step 9/12 : COPY go.mod vendor* ./ 11:07:47 ---> c7e978fd40a4 11:07:47 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:07:47 ---> Running in 1392794d5829 11:08:44 Removing intermediate container 1392794d5829 11:08:44 ---> dfa31efe80e1 11:08:44 Step 11/12 : COPY . . 11:08:44 ---> 94e65f494de3 11:08:44 Step 12/12 : RUN $MAKE 11:08:44 ---> Running in 037fc8aff74c 11:08:44 noop 11:08:44 Removing intermediate container 037fc8aff74c 11:08:44 ---> c30744af96d4 11:08:44 Successfully built c30744af96d4 11:08:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:08:44 + docker inspect -f . ci-base-image-arm64 11:08:44 . [Pipeline] withDockerContainer 11:08:45 prd-ubuntu20.04-docker-arm64-4c-16g-19487 does not seem to be running inside a container 11:08:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/31 -v /w/workspace/device-rest-go/31:/w/workspace/device-rest-go/31:rw,z -v /w/workspace/device-rest-go/31@tmp:/w/workspace/device-rest-go/31@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 11:08:46 $ docker top 2626545de95231493ac047113c8bc7b47841d7cb7b907f84d180c3cfc543dfe0 -eo pid,comm [Pipeline] { [Pipeline] sh 11:08:47 + go version 11:08:47 go version go1.17.6 linux/arm64 [Pipeline] } 11:08:47 $ docker stop --time=1 2626545de95231493ac047113c8bc7b47841d7cb7b907f84d180c3cfc543dfe0 11:08:49 $ docker rm -f 2626545de95231493ac047113c8bc7b47841d7cb7b907f84d180c3cfc543dfe0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:08:49 + docker inspect -f . ci-base-image-arm64 11:08:49 . [Pipeline] withDockerContainer 11:08:50 prd-ubuntu20.04-docker-arm64-4c-16g-19487 does not seem to be running inside a container 11:08:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/31 -v /w/workspace/device-rest-go/31:/w/workspace/device-rest-go/31:rw,z -v /w/workspace/device-rest-go/31@tmp:/w/workspace/device-rest-go/31@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 11:08:51 $ docker top da3f07e7a30039aa81cea8b7e996361d25379f2832b5833d3791ef3627aaa911 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:08:52 + make test 11:08:52 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 11:08:54 ? github.com/edgexfoundry/device-rest-go [no test files] 11:10:31 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 11:10:31 ok github.com/edgexfoundry/device-rest-go/driver 0.076s coverage: 55.2% of statements 11:10:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:10:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:10:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:10:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:10:58 ./bin/test-attribution-txt.sh [Pipeline] echo 11:10:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:10:58 $ docker stop --time=1 da3f07e7a30039aa81cea8b7e996361d25379f2832b5833d3791ef3627aaa911 11:11:00 $ docker rm -f da3f07e7a30039aa81cea8b7e996361d25379f2832b5833d3791ef3627aaa911 [Pipeline] // withDockerContainer [Pipeline] sh 11:11:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:11:01 Warning: overwriting stash ‘coverage-report’ 11:11:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:11:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:11:03 + ls -al . 11:11:03 total 168 11:11:03 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 11:10 . 11:11:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 11:06 .. 11:11:03 -rw-rw-r-- 1 jenkins jenkins 151 Apr 11 11:06 .dockerignore 11:11:03 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 11:06 .git 11:11:03 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 11:06 .github 11:11:03 -rw-rw-r-- 1 jenkins jenkins 329 Apr 11 11:06 .gitignore 11:11:03 -rw-rw-r-- 1 jenkins jenkins 41 Apr 11 11:06 .golangci.yml 11:11:03 -rw-rw-r-- 1 jenkins jenkins 8330 Apr 11 11:06 Attribution.txt 11:11:03 -rw-rw-r-- 1 jenkins jenkins 7459 Apr 11 11:06 CHANGELOG.md 11:11:03 -rw-rw-r-- 1 jenkins jenkins 1672 Apr 11 11:06 Dockerfile 11:11:03 -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 11:06 GOVERNANCE.md 11:11:03 -rw-rw-r-- 1 jenkins jenkins 680 Apr 11 11:06 Jenkinsfile 11:11:03 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 11 11:06 LICENSE 11:11:03 -rw-rw-r-- 1 jenkins jenkins 1964 Apr 11 11:06 Makefile 11:11:03 -rw-rw-r-- 1 jenkins jenkins 620 Apr 11 11:06 OWNERS.md 11:11:03 -rw-rw-r-- 1 jenkins jenkins 8246 Apr 11 11:06 README.md 11:11:03 -rw-rw-r-- 1 jenkins jenkins 12 Apr 11 11:02 VERSION 11:11:03 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 11:06 bin 11:11:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 11:06 cmd 11:11:03 -rw-r--r-- 1 jenkins jenkins 9355 Apr 11 11:10 coverage.out 11:11:03 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 11:06 driver 11:11:03 -rw-rw-r-- 1 jenkins jenkins 3240 Apr 11 11:06 go.mod 11:11:03 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 11 11:06 go.sum 11:11:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 11:06 snap 11:11:03 -rw-rw-r-- 1 jenkins jenkins 713 Apr 11 11:06 version.go [Pipeline] isUnix [Pipeline] sh 11:11:03 + 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=d2dd5877ffea6850c3b0cb999012b17b1a99601c --label arch=arm64 --label version=2.2.0-dev.10 . 11:11:03 Sending build context to Docker daemon 137.7kB 11:11:03 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 11:11:03 Step 2/25 : FROM ${BASE} AS builder 11:11:03 ---> c30744af96d4 11:11:03 Step 3/25 : ARG MAKE='make build' 11:11:04 ---> Running in 582025100c36 11:11:04 Removing intermediate container 582025100c36 11:11:04 ---> 4bd2885eda00 11:11:04 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:11:04 ---> Running in b66ba53dbbb2 11:11:05 Removing intermediate container b66ba53dbbb2 11:11:05 ---> 83c14e0f6730 11:11:05 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 11:11:05 ---> Running in 1a091261b108 11:11:05 Removing intermediate container 1a091261b108 11:11:05 ---> 6eadbfc630b9 11:11:05 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:11:05 ---> Running in 9c16fe7bdbbf 11:11:07 Removing intermediate container 9c16fe7bdbbf 11:11:07 ---> 67e6bcc3302f 11:11:07 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:11:07 ---> Running in 50a0035da5c3 11:11:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:11:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:11:10 OK: 224 MiB in 56 packages 11:11:11 Removing intermediate container 50a0035da5c3 11:11:11 ---> 94550d106f47 11:11:11 Step 8/25 : WORKDIR /device-rest-go 11:11:11 ---> Running in d1d6ed01a5f1 11:11:11 Removing intermediate container d1d6ed01a5f1 11:11:11 ---> 54e243d6110a 11:11:11 Step 9/25 : COPY go.mod vendor* ./ 11:11:12 ---> 3c7b7f7b0866 11:11:12 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:11:12 ---> Running in afb148659ab6 11:11:14 Removing intermediate container afb148659ab6 11:11:14 ---> 52ca098ee88d 11:11:14 Step 11/25 : COPY . . 11:11:14 ---> bdaf33bdf135 11:11:14 Step 12/25 : RUN $MAKE 11:11:15 ---> Running in 370d5676219a 11:11:16 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.10" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 11:13:38 Removing intermediate container 370d5676219a 11:13:38 ---> 3631825753b1 11:13:38 Step 13/25 : FROM alpine:3.14 11:13:38 3.14: Pulling from library/alpine 11:13:38 455c02918c45: Pulling fs layer 11:13:38 455c02918c45: Download complete 11:13:38 455c02918c45: Pull complete 11:13:38 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:13:38 Status: Downloaded newer image for alpine:3.14 11:13:38 ---> ac73e934f311 11:13:38 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 11:13:38 ---> Running in b809712073a2 11:13:38 Removing intermediate container b809712073a2 11:13:38 ---> 5e5e7fbdafb9 11:13:38 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 11:13:38 ---> Running in b2bc42f02792 11:13:38 Removing intermediate container b2bc42f02792 11:13:38 ---> 8cb644e452df 11:13:38 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 11:13:38 ---> Running in e380a367656a 11:13:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:13:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:13:38 (1/6) Installing dumb-init (1.2.5-r1) 11:13:38 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:13:38 (3/6) Installing libsodium (1.0.18-r0) 11:13:38 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:13:38 (5/6) Installing libzmq (4.3.4-r0) 11:13:38 (6/6) Installing zeromq (4.3.4-r0) 11:13:38 Executing busybox-1.33.1-r7.trigger 11:13:38 OK: 8 MiB in 20 packages 11:13:38 Removing intermediate container e380a367656a 11:13:38 ---> 561cc7289074 11:13:38 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 11:13:38 ---> 52a7b641fc14 11:13:38 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 11:13:38 ---> 2846b195292c 11:13:38 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 11:13:38 ---> 3a5beed64b12 11:13:38 Step 20/25 : EXPOSE 59986 11:13:38 ---> Running in b79f510903d0 11:13:38 Removing intermediate container b79f510903d0 11:13:38 ---> fcb83effe01f 11:13:38 Step 21/25 : ENTRYPOINT ["/device-rest"] 11:13:38 ---> Running in 4b76428cc1ed 11:13:38 Removing intermediate container 4b76428cc1ed 11:13:38 ---> 1b25842a872c 11:13:38 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 11:13:38 ---> Running in 7228eff2bb54 11:13:38 Removing intermediate container 7228eff2bb54 11:13:38 ---> 9942474ea980 11:13:38 Step 23/25 : LABEL arch=arm64 11:13:38 ---> Running in e4d6254fa42e 11:13:38 Removing intermediate container e4d6254fa42e 11:13:38 ---> 90b4111d3c85 11:13:38 Step 24/25 : LABEL git_sha=d2dd5877ffea6850c3b0cb999012b17b1a99601c 11:13:38 ---> Running in adabf5a94a45 11:13:38 Removing intermediate container adabf5a94a45 11:13:38 ---> 11554bb139ee 11:13:38 Step 25/25 : LABEL version=2.2.0-dev.10 11:13:38 ---> Running in f330d38e505f 11:13:38 Removing intermediate container f330d38e505f 11:13:38 ---> bdb639e4558b 11:13:38 [Warning] One or more build-args [ARCH] were not consumed 11:13:38 Successfully built bdb639e4558b 11:13:38 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 11:13:38 provisioning config files... 11:13:38 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/31@tmp/config8242560195869038394tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:13:38 ---> docker-login.sh 11:13:38 nexus3.edgexfoundry.org:10001 11:13:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:13:39 Configure a credential helper to remove this warning. See 11:13:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:13:39 11:13:39 Login Succeeded 11:13:39 nexus3.edgexfoundry.org:10002 11:13:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:13:39 Configure a credential helper to remove this warning. See 11:13:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:13:39 11:13:39 Login Succeeded 11:13:39 nexus3.edgexfoundry.org:10003 11:13:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:13:39 Configure a credential helper to remove this warning. See 11:13:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:13:39 11:13:39 Login Succeeded 11:13:40 nexus3.edgexfoundry.org:10004 11:13:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:13:40 Configure a credential helper to remove this warning. See 11:13:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:13:40 11:13:40 Login Succeeded 11:13:40 docker.io 11:13:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:13:41 Configure a credential helper to remove this warning. See 11:13:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:13:41 11:13:41 Login Succeeded 11:13:41 ---> docker-login.sh ends [Pipeline] } 11:13:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:13:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:13:41 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 11:13:41 d2dd5877ffea6850c3b0cb999012b17b1a99601c 11:13:41 latest 11:13:41 2.2.0-dev.10 11:13:41 d2dd5877ffea6850c3b0cb999012b17b1a99601c-2.2.0-dev.10 11:13:41 main 11:13:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:13:42 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:d2dd5877ffea6850c3b0cb999012b17b1a99601c [Pipeline] isUnix [Pipeline] sh 11:13:42 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:d2dd5877ffea6850c3b0cb999012b17b1a99601c 11:13:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 11:13:42 2d350acea7d3: Preparing 11:13:42 57365ad1b588: Preparing 11:13:42 351c38077bda: Preparing 11:13:42 1ff70119f03e: Preparing 11:13:42 f73e7dbfee58: Preparing 11:13:42 f73e7dbfee58: Layer already exists 11:13:42 57365ad1b588: Pushed 11:13:42 2d350acea7d3: Pushed 11:13:43 1ff70119f03e: Pushed 11:13:48 351c38077bda: Pushed 11:13:48 d2dd5877ffea6850c3b0cb999012b17b1a99601c: digest: sha256:b4af5c5c720e7dc2089e593ee5c74bf773218ccccdcd55fd3d7de1ad69bae261 size: 1366 [Pipeline] isUnix [Pipeline] sh 11:13:49 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:13:49 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 11:13:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 11:13:49 2d350acea7d3: Preparing 11:13:49 57365ad1b588: Preparing 11:13:49 351c38077bda: Preparing 11:13:49 1ff70119f03e: Preparing 11:13:49 f73e7dbfee58: Preparing 11:13:49 2d350acea7d3: Layer already exists 11:13:49 1ff70119f03e: Layer already exists 11:13:49 351c38077bda: Layer already exists 11:13:49 57365ad1b588: Layer already exists 11:13:49 f73e7dbfee58: Layer already exists 11:13:49 latest: digest: sha256:b4af5c5c720e7dc2089e593ee5c74bf773218ccccdcd55fd3d7de1ad69bae261 size: 1366 [Pipeline] isUnix [Pipeline] sh 11:13:50 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh 11:13:50 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.10 11:13:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 11:13:50 2d350acea7d3: Preparing 11:13:50 57365ad1b588: Preparing 11:13:50 351c38077bda: Preparing 11:13:50 1ff70119f03e: Preparing 11:13:50 f73e7dbfee58: Preparing 11:13:50 57365ad1b588: Layer already exists 11:13:50 351c38077bda: Layer already exists 11:13:50 1ff70119f03e: Layer already exists 11:13:50 f73e7dbfee58: Layer already exists 11:13:50 2d350acea7d3: Layer already exists 11:13:50 2.2.0-dev.10: digest: sha256:b4af5c5c720e7dc2089e593ee5c74bf773218ccccdcd55fd3d7de1ad69bae261 size: 1366 [Pipeline] isUnix [Pipeline] sh 11:13:51 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:d2dd5877ffea6850c3b0cb999012b17b1a99601c-2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh 11:13:51 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:d2dd5877ffea6850c3b0cb999012b17b1a99601c-2.2.0-dev.10 11:13:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 11:13:51 2d350acea7d3: Preparing 11:13:51 57365ad1b588: Preparing 11:13:51 351c38077bda: Preparing 11:13:51 1ff70119f03e: Preparing 11:13:51 f73e7dbfee58: Preparing 11:13:51 2d350acea7d3: Layer already exists 11:13:51 f73e7dbfee58: Layer already exists 11:13:51 57365ad1b588: Layer already exists 11:13:51 1ff70119f03e: Layer already exists 11:13:51 351c38077bda: Layer already exists 11:13:51 d2dd5877ffea6850c3b0cb999012b17b1a99601c-2.2.0-dev.10: digest: sha256:b4af5c5c720e7dc2089e593ee5c74bf773218ccccdcd55fd3d7de1ad69bae261 size: 1366 [Pipeline] isUnix [Pipeline] sh 11:13:52 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh 11:13:52 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 11:13:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 11:13:52 2d350acea7d3: Preparing 11:13:52 57365ad1b588: Preparing 11:13:52 351c38077bda: Preparing 11:13:52 1ff70119f03e: Preparing 11:13:52 f73e7dbfee58: Preparing 11:13:52 f73e7dbfee58: Layer already exists 11:13:52 57365ad1b588: Layer already exists 11:13:52 351c38077bda: Layer already exists 11:13:52 2d350acea7d3: Layer already exists 11:13:52 1ff70119f03e: Layer already exists 11:13:52 main: digest: sha256:b4af5c5c720e7dc2089e593ee5c74bf773218ccccdcd55fd3d7de1ad69bae261 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:13:52 ===================================================== [Pipeline] echo 11:13:52 taggedImages: 11:13:52 - nexus3.edgexfoundry.org:10004/device-rest-arm64:d2dd5877ffea6850c3b0cb999012b17b1a99601c 11:13:52 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 11:13:52 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.10 11:13:52 - nexus3.edgexfoundry.org:10004/device-rest-arm64:d2dd5877ffea6850c3b0cb999012b17b1a99601c-2.2.0-dev.10 11:13:52 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:13:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:53 11:13:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 11:13:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:53 arm64: Pulling from edgex-lftools-log-publisher 11:13:53 8998bd30e6a1: Pulling fs layer 11:13:53 04944245beec: Pulling fs layer 11:13:53 699f458cf7ca: Pulling fs layer 11:13:53 765212b225bb: Pulling fs layer 11:13:53 f23df028b6ca: Pulling fs layer 11:13:53 d65c8cfc05b1: Pulling fs layer 11:13:53 2437ff75d9bd: Pulling fs layer 11:13:53 f23df028b6ca: Waiting 11:13:53 2437ff75d9bd: Waiting 11:13:53 d65c8cfc05b1: Waiting 11:13:53 765212b225bb: Waiting 11:13:53 04944245beec: Download complete 11:13:53 765212b225bb: Verifying Checksum 11:13:53 765212b225bb: Download complete 11:13:53 f23df028b6ca: Download complete 11:13:54 d65c8cfc05b1: Verifying Checksum 11:13:54 d65c8cfc05b1: Download complete 11:13:54 699f458cf7ca: Verifying Checksum 11:13:54 699f458cf7ca: Download complete 11:13:54 8998bd30e6a1: Verifying Checksum 11:13:54 8998bd30e6a1: Download complete 11:13:57 2437ff75d9bd: Verifying Checksum 11:13:57 2437ff75d9bd: Download complete 11:13:59 8998bd30e6a1: Pull complete 11:13:59 04944245beec: Pull complete 11:14:01 699f458cf7ca: Pull complete 11:14:01 765212b225bb: Pull complete 11:14:02 f23df028b6ca: Pull complete 11:14:02 d65c8cfc05b1: Pull complete 11:14:17 2437ff75d9bd: Pull complete 11:14:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:14:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:14:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 11:14:17 prd-ubuntu20.04-docker-arm64-4c-16g-19487 does not seem to be running inside a container 11:14: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/31 -v /w/workspace/device-rest-go/31:/w/workspace/device-rest-go/31:rw,z -v /w/workspace/device-rest-go/31@tmp:/w/workspace/device-rest-go/31@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 11:14:20 $ docker top 8d7313ab0f29e82b951c6184392c9a32b7c9a3e8a0e8fd0129005ba4e86d1e64 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:14:21 ---> job-cost.sh 11:14:21 lf-activate-venv: SKIPPING 11:14:21 INFO: No Stack... 11:14:22 INFO: Retrieving Pricing Info for: v3-standard-4 11:14:23 INFO: Archiving Costs [Pipeline] sh 11:14:23 + cut -d, -f6 11:14:23 + cat /w/workspace/device-rest-go/31/archives/cost.csv [Pipeline] lock 11:14:23 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-31-stack-cost] 11:14:23 Resource [jenkins-edgexfoundry-device-rest-go-main-31-stack-cost] did not exist. Created. 11:14:23 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:14:24 /w/workspace/device-rest-go/31@tmp/durable-d0445322/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:14:25 + echo total: 0.10999999940395355 [Pipeline] stash 11:14:25 Warning: overwriting stash ‘stack-cost’ 11:14:25 Stashed 1 file(s) [Pipeline] } 11:14:25 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-31-stack-cost] [Pipeline] // lock [Pipeline] } 11:14:25 $ docker stop --time=1 8d7313ab0f29e82b951c6184392c9a32b7c9a3e8a0e8fd0129005ba4e86d1e64 11:14:26 $ docker rm -f 8d7313ab0f29e82b951c6184392c9a32b7c9a3e8a0e8fd0129005ba4e86d1e64 [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 11:14:27 provisioning config files... 11:14:27 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4981033877382350490tmp [Pipeline] { [Pipeline] sh 11:14:27 + set +x 11:14:27 + curl -s https://codecov.io/bash 11:14:27 + bash -s -- 11:14:27 11:14:27 _____ _ 11:14:27 / ____| | | 11:14:27 | | ___ __| | ___ ___ _____ __ 11:14:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:14:27 | |___| (_) | (_| | __/ (_| (_) \ V / 11:14:27 \_____\___/ \__,_|\___|\___\___/ \_/ 11:14:27 Bash-1.0.6 11:14:27 11:14:27 11:14:27 ==> git version 2.25.1 found 11:14:27 ==> 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 11:14:27 Release-Date: 2020-01-08 11:14:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:14:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:14:27 ==> Jenkins CI detected. 11:14:27 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 11:14:27 project root: . 11:14:27 --> token set from env 11:14:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:14:27 ==> Running gcov in . (disable via -X gcov) 11:14:27 ==> Python coveragepy not found 11:14:27 ==> Searching for coverage reports in: 11:14:27 + . 11:14:27 -> Found 1 reports 11:14:27 ==> Detecting git/mercurial file structure 11:14:27 ==> Reading reports 11:14:27 + ./coverage.out bytes=9355 11:14:27 ==> Appending adjustments 11:14:27 https://docs.codecov.io/docs/fixing-reports 11:14:27 + Found adjustments 11:14:27 ==> Gzipping contents 11:14:27 4.0K /tmp/codecov.by71ad.gz 11:14:27 ==> Uploading reports 11:14:27 url: https://codecov.io 11:14:27 query: branch=main&commit=d2dd5877ffea6850c3b0cb999012b17b1a99601c&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:14:27 -> Pinging Codecov 11:14: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=d2dd5877ffea6850c3b0cb999012b17b1a99601c&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:14:28 -> Uploading to 11:14:28 https://storage.googleapis.com/codecov/v4/raw/2022-04-11/4E5D53B4F1F92C436F7061BF334D961C/d2dd5877ffea6850c3b0cb999012b17b1a99601c/f47c4cb4-30f8-4f0b-8bd6-1cbd84a4baf1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220411%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220411T111428Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=060a8e3c83d9a670c02c5cf2926fa64841d28241ba6887d967770848e6558bb2 11:14:28 % Total % Received % Xferd Average Speed Time Time Time Current 11:14:28 Dload Upload Total Spent Left Speed 11:14:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1800 0 0 100 1800 0 7826 --:--:-- --:--:-- --:--:-- 7826 11:14:28 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/d2dd5877ffea6850c3b0cb999012b17b1a99601c [Pipeline] } 11:14:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 11:14:28 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 11:14:28 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:14:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:14:29 11:14:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 11:14:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:14:29 1.410.4: Pulling from edgex-devops/edgex-snyk-go 11:14:29 188c0c94c7c5: Pulling fs layer 11:14:29 0ef7d3d256c8: Pulling fs layer 11:14:29 de9db76c5a1d: Pulling fs layer 11:14:29 0eba1c9be4d2: Pulling fs layer 11:14:29 0d57e429df01: Pulling fs layer 11:14:29 4e4be7b47b0d: Pulling fs layer 11:14:29 e1f770b5df2f: Pulling fs layer 11:14:29 85a0685a4137: Pulling fs layer 11:14:29 0eba1c9be4d2: Waiting 11:14:29 4e4be7b47b0d: Waiting 11:14:29 e1f770b5df2f: Waiting 11:14:29 85a0685a4137: Waiting 11:14:29 0d57e429df01: Waiting 11:14:29 de9db76c5a1d: Download complete 11:14:29 0ef7d3d256c8: Download complete 11:14:29 0d57e429df01: Verifying Checksum 11:14:29 0d57e429df01: Download complete 11:14:29 4e4be7b47b0d: Verifying Checksum 11:14:29 4e4be7b47b0d: Download complete 11:14:29 188c0c94c7c5: Verifying Checksum 11:14:29 188c0c94c7c5: Download complete 11:14:29 188c0c94c7c5: Pull complete 11:14:29 e1f770b5df2f: Verifying Checksum 11:14:29 0ef7d3d256c8: Pull complete 11:14:29 de9db76c5a1d: Pull complete 11:14:30 0eba1c9be4d2: Verifying Checksum 11:14:30 0eba1c9be4d2: Download complete 11:14:30 85a0685a4137: Verifying Checksum 11:14:30 85a0685a4137: Download complete 11:14:33 0eba1c9be4d2: Pull complete 11:14:33 0d57e429df01: Pull complete 11:14:33 4e4be7b47b0d: Pull complete 11:14:34 e1f770b5df2f: Pull complete 11:14:37 85a0685a4137: Pull complete 11:14:37 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 11:14:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:14:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 11:14:37 prd-ubuntu20.04-docker-8c-8g-19485 does not seem to be running inside a container 11:14:37 $ 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 11:14:39 $ docker top 9eee360bdae202f15e9ec267b7a129511d50f79d887935b3b01cc4ce6fe9bf8b -eo pid,comm [Pipeline] { [Pipeline] echo 11:14:39 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 11:14:40 + set -o pipefail 11:14:40 + snyk monitor '--org=edgex-jenkins' 11:14:45 11:14:45 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 11:14:45 11:14:45 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/7264f339-5ac0-4fff-a6c4-55bd9e671713 11:14:45 11:14:45 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 11:14:45 11:14:45 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 11:14:45 11:14:45 [Pipeline] } 11:14:45 $ docker stop --time=1 9eee360bdae202f15e9ec267b7a129511d50f79d887935b3b01cc4ce6fe9bf8b 11:14:47 $ docker rm -f 9eee360bdae202f15e9ec267b7a129511d50f79d887935b3b01cc4ce6fe9bf8b [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 11:14:48 + git log --format=format:%s -1 d2dd5877ffea6850c3b0cb999012b17b1a99601c [Pipeline] sh 11:14:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:14:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:14:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:14:49 . [Pipeline] withDockerContainer 11:14:49 prd-ubuntu20.04-docker-8c-8g-19485 does not seem to be running inside a container 11:14:49 $ 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 11:14:49 $ docker top cb2785b45dfa54a6542746abc19f785747b42eeabe83f2145226e5f0569750f8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:14:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:14:49 [ssh-agent] Looking for ssh-agent implementation... 11:14:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:14:50 $ docker exec cb2785b45dfa54a6542746abc19f785747b42eeabe83f2145226e5f0569750f8 ssh-agent 11:14:50 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPkoPGa/agent.13 11:14:50 SSH_AGENT_PID=19 11:14:50 Running ssh-add (command line suppressed) 11:14:50 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7960266819311051431.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7960266819311051431.key) 11:14:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:14:50 + git semver tag 11:14:50 # -> Open(): unable to determine branch for HEAD 11:14:50 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 11:14:50 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 11:14:50 # $SEMVER_REMOTE_NAME = origin 11:14:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:14:50 # $SEMVER_USER_NAME = edgex-jenkins 11:14:50 # $SEMVER_BRANCH = main 11:14:50 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 11:14:50 # d2dd5877ffea6850c3b0cb999012b17b1a99601c HEAD 11:14:50 # -> Force: false 11:14:50 # 831ac522958fceca6d513e1b2213325f2fa58a05 refs/tags/v2.2.0-dev.10 [Pipeline] } 11:14:50 $ docker exec --env ******** --env ******** cb2785b45dfa54a6542746abc19f785747b42eeabe83f2145226e5f0569750f8 ssh-agent -k 11:14:50 unset SSH_AUTH_SOCK; 11:14:50 unset SSH_AGENT_PID; 11:14:50 echo Agent pid 19 killed; 11:14:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:14:51 + git semver [Pipeline] } 11:14:51 $ docker stop --time=1 cb2785b45dfa54a6542746abc19f785747b42eeabe83f2145226e5f0569750f8 11:14:52 $ docker rm -f cb2785b45dfa54a6542746abc19f785747b42eeabe83f2145226e5f0569750f8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 11:14:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:14:52 11:14:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 11:14:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:14:53 0.23.1-centos7: Pulling from edgex-lftools 11:14:53 ab5ef0e58194: Pulling fs layer 11:14:53 9712f1f96733: Pulling fs layer 11:14:53 63f879dbbcfc: Pulling fs layer 11:14:53 0d9ebad4ef96: Pulling fs layer 11:14:53 e9a5061849ea: Pulling fs layer 11:14:53 d747dcd14b5f: Pulling fs layer 11:14:53 2de7ff778b66: Pulling fs layer 11:14:53 0d9ebad4ef96: Waiting 11:14:53 e9a5061849ea: Waiting 11:14:53 d747dcd14b5f: Waiting 11:14:53 2de7ff778b66: Waiting 11:14:53 9712f1f96733: Verifying Checksum 11:14:53 9712f1f96733: Download complete 11:14:53 63f879dbbcfc: Verifying Checksum 11:14:53 63f879dbbcfc: Download complete 11:14:53 e9a5061849ea: Verifying Checksum 11:14:53 e9a5061849ea: Download complete 11:14:53 d747dcd14b5f: Verifying Checksum 11:14:53 d747dcd14b5f: Download complete 11:14:53 0d9ebad4ef96: Verifying Checksum 11:14:53 0d9ebad4ef96: Download complete 11:14:53 2de7ff778b66: Verifying Checksum 11:14:53 ab5ef0e58194: Verifying Checksum 11:14:53 ab5ef0e58194: Download complete 11:14:56 ab5ef0e58194: Pull complete 11:14:56 9712f1f96733: Pull complete 11:14:57 63f879dbbcfc: Pull complete 11:15:01 0d9ebad4ef96: Pull complete 11:15:01 e9a5061849ea: Pull complete 11:15:01 d747dcd14b5f: Pull complete 11:15:03 2de7ff778b66: Pull complete 11:15:03 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:15:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:15:03 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 11:15:03 prd-ubuntu20.04-docker-8c-8g-19485 does not seem to be running inside a container 11:15:03 $ 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 11:15:05 $ docker top ae0f9bf2653e146643d342e542614d644c34b64bcc1d05cb3946c3ed50b2db8c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:15:05 provisioning config files... 11:15:05 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2972158802271560620tmp 11:15:05 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8529686436519369747tmp 11:15:05 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2121745771318414681tmp [Pipeline] { [Pipeline] echo 11:15:05 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:15:06 ---> sigul-configuration.sh 11:15:06 gpg: directory `/root/.gnupg' created 11:15:06 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:15:06 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:15:06 gpg: keyring `/root/.gnupg/secring.gpg' created 11:15:06 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:15:06 gpg: CAST5 encrypted data 11:15:06 gpg: encrypted with 1 passphrase 11:15:06 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:15:06 + mkdir /home/jenkins 11:15:06 + mkdir /home/jenkins/sigul [Pipeline] sh 11:15:06 + 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 11:15:06 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:15:06 ---> sigul-install.sh 11:15:06 Sigul already installed; skipping installation. [Pipeline] sh 11:15:07 + git tag --list 11:15:07 v1.0.0 11:15:07 v1.1.0 11:15:07 v1.1.1 11:15:07 v1.1.2 11:15:07 v1.2.0 11:15:07 v1.2.1 11:15:07 v2.0.0 11:15:07 v2.0.1-dev.1 11:15:07 v2.0.1-dev.10 11:15:07 v2.0.1-dev.11 11:15:07 v2.0.1-dev.12 11:15:07 v2.0.1-dev.13 11:15:07 v2.0.1-dev.14 11:15:07 v2.0.1-dev.2 11:15:07 v2.0.1-dev.3 11:15:07 v2.0.1-dev.4 11:15:07 v2.0.1-dev.5 11:15:07 v2.0.1-dev.6 11:15:07 v2.0.1-dev.7 11:15:07 v2.0.1-dev.8 11:15:07 v2.0.1-dev.9 11:15:07 v2.1.0 11:15:07 v2.2.0-dev.1 11:15:07 v2.2.0-dev.10 11:15:07 v2.2.0-dev.2 11:15:07 v2.2.0-dev.3 11:15:07 v2.2.0-dev.4 11:15:07 v2.2.0-dev.5 11:15:07 v2.2.0-dev.6 11:15:07 v2.2.0-dev.7 11:15:07 v2.2.0-dev.8 11:15:07 v2.2.0-dev.9 [Pipeline] sh 11:15:07 + lftools sign git-tag v2.2.0-dev.10 11:15:08 Signing Git tag with Sigul... 11:15:08 Signing v2.2.0-dev.10 [Pipeline] echo 11:15:08 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:15:08 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:15:08 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:15:08 $ docker stop --time=1 ae0f9bf2653e146643d342e542614d644c34b64bcc1d05cb3946c3ed50b2db8c 11:15:10 $ docker rm -f ae0f9bf2653e146643d342e542614d644c34b64bcc1d05cb3946c3ed50b2db8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:15:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:15:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:15:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:15:10 . [Pipeline] withDockerContainer 11:15:10 prd-ubuntu20.04-docker-8c-8g-19485 does not seem to be running inside a container 11:15:10 $ 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 11:15:11 $ docker top 4ef18563838898bd4f2452d32939c04c3eb0268182fd9aad30e1abd947686bf7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:15:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:15:11 [ssh-agent] Looking for ssh-agent implementation... 11:15:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:15:11 $ docker exec 4ef18563838898bd4f2452d32939c04c3eb0268182fd9aad30e1abd947686bf7 ssh-agent 11:15:11 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFcKDjI/agent.14 11:15:11 SSH_AGENT_PID=20 11:15:11 Running ssh-add (command line suppressed) 11:15:11 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4999004671789218480.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4999004671789218480.key) 11:15:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:15:12 + git semver bump pre 11:15:12 # -> Open(): unable to determine branch for HEAD 11:15:12 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 11:15:12 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 11:15:12 # $SEMVER_REMOTE_NAME = origin 11:15:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:15:12 # $SEMVER_USER_NAME = edgex-jenkins 11:15:12 # $SEMVER_BRANCH = main 11:15:12 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 11:15:12 2.2.0-dev.11 [Pipeline] } 11:15:12 $ docker exec --env ******** --env ******** 4ef18563838898bd4f2452d32939c04c3eb0268182fd9aad30e1abd947686bf7 ssh-agent -k 11:15:12 unset SSH_AUTH_SOCK; 11:15:12 unset SSH_AGENT_PID; 11:15:12 echo Agent pid 20 killed; 11:15:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:15:12 + git semver [Pipeline] } 11:15:12 $ docker stop --time=1 4ef18563838898bd4f2452d32939c04c3eb0268182fd9aad30e1abd947686bf7 11:15:14 $ docker rm -f 4ef18563838898bd4f2452d32939c04c3eb0268182fd9aad30e1abd947686bf7 [Pipeline] // withDockerContainer [Pipeline] sh 11:15:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:15:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:15:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:15:14 . [Pipeline] withDockerContainer 11:15:14 prd-ubuntu20.04-docker-8c-8g-19485 does not seem to be running inside a container 11:15:14 $ 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 11:15:15 $ docker top 38cf56f51d2e2c40bbec99ef235b2cfe0c2ccd828fd83bd4b3320a509090ae07 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:15:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:15:15 [ssh-agent] Looking for ssh-agent implementation... 11:15:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:15:15 $ docker exec 38cf56f51d2e2c40bbec99ef235b2cfe0c2ccd828fd83bd4b3320a509090ae07 ssh-agent 11:15:15 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFmAbcN/agent.14 11:15:15 SSH_AGENT_PID=20 11:15:15 Running ssh-add (command line suppressed) 11:15:15 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6109467993939882909.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6109467993939882909.key) 11:15:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:15:16 + git semver push 11:15:16 # -> Open(): unable to determine branch for HEAD 11:15:16 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 11:15:16 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 11:15:16 # $SEMVER_REMOTE_NAME = origin 11:15:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:15:16 # $SEMVER_USER_NAME = edgex-jenkins 11:15:16 # $SEMVER_BRANCH = main 11:15:16 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 11:15:17 $ docker exec --env ******** --env ******** 38cf56f51d2e2c40bbec99ef235b2cfe0c2ccd828fd83bd4b3320a509090ae07 ssh-agent -k 11:15:17 unset SSH_AUTH_SOCK; 11:15:17 unset SSH_AGENT_PID; 11:15:17 echo Agent pid 20 killed; 11:15:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:15:17 + git semver [Pipeline] } 11:15:17 $ docker stop --time=1 38cf56f51d2e2c40bbec99ef235b2cfe0c2ccd828fd83bd4b3320a509090ae07 11:15:19 $ docker rm -f 38cf56f51d2e2c40bbec99ef235b2cfe0c2ccd828fd83bd4b3320a509090ae07 [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 11:15:19 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 11:15:19 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 11:15:19 total 16 11:15:19 drwxr-xr-x 3 root root 4096 Apr 11 11:04 . 11:15:19 drwxrwxr-x 10 jenkins jenkins 4096 Apr 11 11:15 .. 11:15:19 drwxr-xr-x 2 root root 4096 Apr 11 11:04 cost 11:15:19 -rw-r--r-- 1 root root 84 Apr 11 11:04 cost.csv 11:15:19 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 11:15:19 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 11:15:19 total 16 11:15:19 drwxr-xr-x 3 jenkins jenkins 4096 Apr 11 11:04 . 11:15:19 drwxrwxr-x 10 jenkins jenkins 4096 Apr 11 11:15 .. 11:15:19 drwxr-xr-x 2 jenkins jenkins 4096 Apr 11 11:04 cost 11:15:19 -rw-r--r-- 1 jenkins jenkins 84 Apr 11 11:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:15:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:15:21 ---> package-listing.sh 11:15:21 ++ facter osfamily 11:15:21 ++ tr '[:upper:]' '[:lower:]' 11:15:21 + OS_FAMILY=debian 11:15:21 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 11:15:21 + START_PACKAGES=/tmp/packages_start.txt 11:15:21 + END_PACKAGES=/tmp/packages_end.txt 11:15:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:15:21 + PACKAGES=/tmp/packages_start.txt 11:15:21 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 11:15:21 + PACKAGES=/tmp/packages_end.txt 11:15:21 + case "${OS_FAMILY}" in 11:15:21 + dpkg -l 11:15:21 + grep '^ii' 11:15:21 + '[' -f /tmp/packages_start.txt ']' 11:15:21 + '[' -f /tmp/packages_end.txt ']' 11:15:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:15:21 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 11:15:21 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 11:15:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 11:15:21 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 11:15:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:15:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:15:22 . [Pipeline] withDockerContainer 11:15:22 prd-ubuntu20.04-docker-8c-8g-19485 does not seem to be running inside a container 11:15:22 $ 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 11:15:22 $ docker top 4bce37b521f3adccee6543103e52c46fc479e0ba9858c42185e1f0858b4a14f6 -eo pid,comm [Pipeline] { [Pipeline] sh 11:15:22 + touch /tmp/pre-build-complete [Pipeline] sh 11:15:23 + mkdir -p /var/log/sysstat [Pipeline] sh 11:15:23 + ls /var/log/sa-host 11:15:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:15:23 provisioning config files... 11:15:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4904442191254882755tmp [Pipeline] { [Pipeline] echo 11:15:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:15:23 ---> create-netrc.sh [Pipeline] } 11:15:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:15:24 ---> python-tools-install.sh [Pipeline] echo 11:15:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:15:24 ---> sudo-logs.sh 11:15:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:15:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:15:25 ---> job-cost.sh 11:15:25 lf-activate-venv: SKIPPING 11:15:25 DEBUG: total: 0.2199999988079071 11:15:25 INFO: Retrieving Stack Cost... 11:15:25 INFO: Retrieving Pricing Info for: v3-standard-8 11:15:25 INFO: Archiving Costs [Pipeline] echo 11:15:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:15:26 ---> logs-deploy.sh 11:15:26 lf-activate-venv: SKIPPING 11:15:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/31 11:15:26 INFO: archiving workspace using pattern(s): 11:15:27 Archives upload complete. 11:15:27 INFO: archiving logs to Nexus