Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 238d080d640a7e3d9ba0ccf186e4988c74ba76ef 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-ssh67195895359617791.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-ssh4632150784801697176.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-ssh14892118174124592781.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-ssh7318944170046915907.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-ssh13981957342651289838.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20790 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 238d080d640a7e3d9ba0ccf186e4988c74ba76ef (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 238d080d640a7e3d9ba0ccf186e4988c74ba76ef # timeout=10 Commit message: "test(snap): add CI workflow (#172)" > git rev-list --no-walk d2dd5877ffea6850c3b0cb999012b17b1a99601c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:07:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:07:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:07:20 ========================================================= 09:07:20 EdgeX Global Pipelines Version Info 09:07:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:07:21 ------------------- 09:07:21 stable info: 09:07:21 ------------------- 09:07:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:07:21 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 09:07:21 Message: update stable to v1.0.221 09:07:22 ------------------- 09:07:22 experimental info: 09:07:22 ------------------- 09:07:22 Commited By: **** collab-it+edgex@linuxfoundation.org 09:07:22 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 09:07:22 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 238d080d640a7e3d9ba0ccf186e4988c74ba76ef [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 238d080 [Pipeline] echo 09:07:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:07:22 provisioning config files... 09:07:22 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3998818481667782189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:07:22 ---> docker-login.sh 09:07:22 nexus3.edgexfoundry.org:10001 09:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:23 Configure a credential helper to remove this warning. See 09:07:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:23 09:07:23 Login Succeeded 09:07:23 nexus3.edgexfoundry.org:10002 09:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:23 Configure a credential helper to remove this warning. See 09:07:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:23 09:07:23 Login Succeeded 09:07:23 nexus3.edgexfoundry.org:10003 09:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:23 Configure a credential helper to remove this warning. See 09:07:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:23 09:07:23 Login Succeeded 09:07:23 nexus3.edgexfoundry.org:10004 09:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:23 Configure a credential helper to remove this warning. See 09:07:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:23 09:07:23 Login Succeeded 09:07:23 docker.io 09:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:24 Configure a credential helper to remove this warning. See 09:07:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:24 09:07:24 Login Succeeded 09:07:24 ---> docker-login.sh ends [Pipeline] } 09:07:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:07:24 + git rev-list -1 --merges 238d080d640a7e3d9ba0ccf186e4988c74ba76ef~1..238d080d640a7e3d9ba0ccf186e4988c74ba76ef [Pipeline] echo 09:07:24 -----------> git rev-list -1 --merges 238d080d640a7e3d9ba0ccf186e4988c74ba76ef~1..238d080d640a7e3d9ba0ccf186e4988c74ba76ef 238d080d640a7e3d9ba0ccf186e4988c74ba76ef [false] [Pipeline] sh 09:07:25 + git log --format=format:%s -1 238d080d640a7e3d9ba0ccf186e4988c74ba76ef [Pipeline] echo 09:07:25 ========================================================= 09:07:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:07:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:07:25 + git log --format=format:%s -1 238d080d640a7e3d9ba0ccf186e4988c74ba76ef [Pipeline] echo 09:07:25 [semverPrep] GIT_COMMIT: 238d080d640a7e3d9ba0ccf186e4988c74ba76ef, Commit Message: test(snap): add CI workflow (#172) [Pipeline] echo 09:07:25 [semverPrep] This is not a build commit. [Pipeline] sh 09:07:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:07:25 + grep -v github /etc/ssh/ssh_known_hosts 09:07:25 + [ -e /tmp/ssh_known_hosts ] 09:07:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:07:25 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:07:25 sudo tee -a /etc/ssh/ssh_known_hosts 09:07:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:07:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:07:26 09:07:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:07:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:07:26 latest: Pulling from edgex-devops/git-semver 09:07:26 a0d0a0d46f8b: Pulling fs layer 09:07:26 3e5f54012d9b: Pulling fs layer 09:07:26 4c7163046ea9: Pulling fs layer 09:07:26 0c2d73faf560: Pulling fs layer 09:07:26 3e5f54012d9b: Verifying Checksum 09:07:26 3e5f54012d9b: Download complete 09:07:26 a0d0a0d46f8b: Download complete 09:07:26 0c2d73faf560: Verifying Checksum 09:07:26 0c2d73faf560: Download complete 09:07:26 4c7163046ea9: Verifying Checksum 09:07:26 4c7163046ea9: Download complete 09:07:26 a0d0a0d46f8b: Pull complete 09:07:26 3e5f54012d9b: Pull complete 09:07:27 4c7163046ea9: Pull complete 09:07:27 0c2d73faf560: Pull complete 09:07:27 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 09:07:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:07:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:07:27 prd-ubuntu20.04-docker-8c-8g-20790 does not seem to be running inside a container 09:07:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:07:28 $ docker top 5e02280046cc8307eebecc5c46190dddaef28eea3ed6ee5b61cacf5336c9e58d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:07:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:07:28 [ssh-agent] Looking for ssh-agent implementation... 09:07:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:07:28 $ docker exec 5e02280046cc8307eebecc5c46190dddaef28eea3ed6ee5b61cacf5336c9e58d ssh-agent 09:07:28 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXciFMcF/agent.14 09:07:28 SSH_AGENT_PID=20 09:07:28 Running ssh-add (command line suppressed) 09:07:28 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5657906327208676969.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5657906327208676969.key) 09:07:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:07:28 + git tag --points-at HEAD [Pipeline] } 09:07:29 $ docker exec --env ******** --env ******** 5e02280046cc8307eebecc5c46190dddaef28eea3ed6ee5b61cacf5336c9e58d ssh-agent -k 09:07:29 unset SSH_AUTH_SOCK; 09:07:29 unset SSH_AGENT_PID; 09:07:29 echo Agent pid 20 killed; 09:07:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:07:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:07:29 [ssh-agent] Looking for ssh-agent implementation... 09:07:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:07:29 $ docker exec 5e02280046cc8307eebecc5c46190dddaef28eea3ed6ee5b61cacf5336c9e58d ssh-agent 09:07:29 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLecCbp/agent.53 09:07:29 SSH_AGENT_PID=60 09:07:29 Running ssh-add (command line suppressed) 09:07:29 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4162791765684445966.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4162791765684445966.key) 09:07:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:07:29 + git semver init 09:07:29 # -> Open(): unable to determine branch for HEAD 09:07:29 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 09:07:29 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 09:07:29 # $SEMVER_REMOTE_NAME = origin 09:07:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:07:29 # $SEMVER_USER_NAME = edgex-jenkins 09:07:29 # $SEMVER_BRANCH = main 09:07:29 # $SEMVER_TEMP = /tmp/semver-056252028 09:07:29 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 09:07:31 # '/tmp/semver-056252028' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' 09:07:31 # -> Force: false 09:07:31 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 09:07:31 $ docker exec --env ******** --env ******** 5e02280046cc8307eebecc5c46190dddaef28eea3ed6ee5b61cacf5336c9e58d ssh-agent -k 09:07:31 unset SSH_AUTH_SOCK; 09:07:31 unset SSH_AGENT_PID; 09:07:31 echo Agent pid 60 killed; 09:07:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:07:31 + git semver [Pipeline] } 09:07:31 $ docker stop --time=1 5e02280046cc8307eebecc5c46190dddaef28eea3ed6ee5b61cacf5336c9e58d 09:07:33 $ docker rm -f 5e02280046cc8307eebecc5c46190dddaef28eea3ed6ee5b61cacf5336c9e58d [Pipeline] // withDockerContainer [Pipeline] sh 09:07:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:07:33 Stashed 1 file(s) [Pipeline] echo 09:07:33 [edgeXSemver]: initialized semver on version 2.2.0-dev.11 [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 09:07:33 provisioning config files... 09:07:33 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5665416356067704881tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:07:34 ---> docker-login.sh 09:07:34 nexus3.edgexfoundry.org:10001 09:07:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:34 Configure a credential helper to remove this warning. See 09:07:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:34 09:07:34 Login Succeeded 09:07:34 nexus3.edgexfoundry.org:10002 09:07:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:34 Configure a credential helper to remove this warning. See 09:07:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:34 09:07:34 Login Succeeded 09:07:34 nexus3.edgexfoundry.org:10003 09:07:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:34 Configure a credential helper to remove this warning. See 09:07:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:34 09:07:34 Login Succeeded 09:07:34 nexus3.edgexfoundry.org:10004 09:07:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:34 Configure a credential helper to remove this warning. See 09:07:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:34 09:07:34 Login Succeeded 09:07:34 docker.io 09:07:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:34 Configure a credential helper to remove this warning. See 09:07:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:34 09:07:34 Login Succeeded 09:07:34 ---> docker-login.sh ends [Pipeline] } 09:07:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:07:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:07:34 ========================================================= 09:07:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 09:07:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:07:35 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 09:07:35 Sending build context to Docker daemon 10.57MB 09:07:35 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:07:35 Step 2/12 : FROM ${BASE} AS builder 09:07:35 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 09:07:35 59bf1c3509f3: Pulling fs layer 09:07:35 666ba61612fd: Pulling fs layer 09:07:35 8ed8ca486205: Pulling fs layer 09:07:35 4fe6c5a15a65: Pulling fs layer 09:07:35 22a0e8bec74d: Pulling fs layer 09:07:35 640e595b4fbd: Pulling fs layer 09:07:35 763cafe07f6e: Pulling fs layer 09:07:35 0c0b528cf693: Pulling fs layer 09:07:35 10935f4eaf8b: Pulling fs layer 09:07:35 4fe6c5a15a65: Waiting 09:07:35 22a0e8bec74d: Waiting 09:07:35 640e595b4fbd: Waiting 09:07:35 0c0b528cf693: Waiting 09:07:35 763cafe07f6e: Waiting 09:07:35 10935f4eaf8b: Waiting 09:07:35 8ed8ca486205: Download complete 09:07:35 666ba61612fd: Verifying Checksum 09:07:35 666ba61612fd: Download complete 09:07:35 22a0e8bec74d: Verifying Checksum 09:07:35 22a0e8bec74d: Download complete 09:07:35 640e595b4fbd: Verifying Checksum 09:07:35 640e595b4fbd: Download complete 09:07:35 59bf1c3509f3: Verifying Checksum 09:07:35 59bf1c3509f3: Download complete 09:07:35 763cafe07f6e: Download complete 09:07:35 0c0b528cf693: Verifying Checksum 09:07:35 0c0b528cf693: Download complete 09:07:35 59bf1c3509f3: Pull complete 09:07:35 666ba61612fd: Pull complete 09:07:35 8ed8ca486205: Pull complete 09:07:36 10935f4eaf8b: Verifying Checksum 09:07:36 10935f4eaf8b: Download complete 09:07:36 4fe6c5a15a65: Verifying Checksum 09:07:36 4fe6c5a15a65: Download complete 09:07:40 4fe6c5a15a65: Pull complete 09:07:40 22a0e8bec74d: Pull complete 09:07:40 640e595b4fbd: Pull complete 09:07:40 763cafe07f6e: Pull complete 09:07:40 0c0b528cf693: Pull complete 09:07:43 10935f4eaf8b: Pull complete 09:07:43 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 09:07:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 09:07:43 ---> 99d49a6021b9 09:07:43 Step 3/12 : ARG MAKE='make build' 09:07:44 ---> Running in 4c2b3ced62f7 09:07:44 Removing intermediate container 4c2b3ced62f7 09:07:44 ---> 3ffaab31472a 09:07:44 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:07:44 ---> Running in 89868801c8a5 09:07:44 Removing intermediate container 89868801c8a5 09:07:44 ---> 021659bb42c6 09:07:44 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 09:07:44 ---> Running in 47b9ca9bc137 09:07:44 Removing intermediate container 47b9ca9bc137 09:07:44 ---> 3dfecc1da9b9 09:07:44 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:07:44 ---> Running in af996a6e0e70 09:07:45 Removing intermediate container af996a6e0e70 09:07:45 ---> 6c4348373c4c 09:07:45 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:07:45 ---> Running in 49a74f37344a 09:07:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:07:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:07:46 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:07:46 (2/4) Installing libedit (20210910.3.1-r0) 09:07:46 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:07:47 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:07:47 Executing busybox-1.34.1-r3.trigger 09:07:47 OK: 224 MiB in 56 packages 09:07:47 Removing intermediate container 49a74f37344a 09:07:47 ---> 83dbfcde6611 09:07:47 Step 8/12 : WORKDIR /device-rest-go 09:07:47 ---> Running in dc2ccd517acd 09:07:47 Removing intermediate container dc2ccd517acd 09:07:47 ---> 60078423c34b 09:07:47 Step 9/12 : COPY go.mod vendor* ./ 09:07:47 ---> ce407fbdd5da 09:07:47 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:07:48 ---> Running in b8fa16488a63 09:07:48 Still waiting to schedule task 09:07:48 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:08:06 Removing intermediate container b8fa16488a63 09:08:06 ---> 1ded582a9b69 09:08:06 Step 11/12 : COPY . . 09:08:06 ---> b0f4abdb63af 09:08:06 Step 12/12 : RUN $MAKE 09:08:06 ---> Running in b6f5d3be2e2a 09:08:06 noop 09:08:06 Removing intermediate container b6f5d3be2e2a 09:08:06 ---> 7b16ce222ef3 09:08:06 Successfully built 7b16ce222ef3 09:08:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:08:06 + docker inspect -f . ci-base-image-x86_64 09:08:06 . [Pipeline] withDockerContainer 09:08:06 prd-ubuntu20.04-docker-8c-8g-20790 does not seem to be running inside a container 09:08:06 $ 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 09:08:07 $ docker top e617c509f89e8f790ae084b8c2e0c71ca4a15c1b0f392a197384c4fe346b3c80 -eo pid,comm [Pipeline] { [Pipeline] sh 09:08:07 + go version 09:08:07 go version go1.17.6 linux/amd64 [Pipeline] } 09:08:07 $ docker stop --time=1 e617c509f89e8f790ae084b8c2e0c71ca4a15c1b0f392a197384c4fe346b3c80 09:08:08 $ docker rm -f e617c509f89e8f790ae084b8c2e0c71ca4a15c1b0f392a197384c4fe346b3c80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:08:09 + docker inspect -f . ci-base-image-x86_64 09:08:09 . [Pipeline] withDockerContainer 09:08:09 prd-ubuntu20.04-docker-8c-8g-20790 does not seem to be running inside a container 09:08:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:08:09 $ docker top 90a7eccdf9b5a1dfb4d8c36f775d3ef663c5ced0f9c7924634c62733d4c70789 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:08:09 + make test 09:08:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:08:10 ? github.com/edgexfoundry/device-rest-go [no test files] 09:08:20 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 09:08:20 ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 55.2% of statements 09:08:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:08:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:08:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:08:31 ./bin/test-attribution-txt.sh [Pipeline] echo 09:08:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:08:31 $ docker stop --time=1 90a7eccdf9b5a1dfb4d8c36f775d3ef663c5ced0f9c7924634c62733d4c70789 09:08:33 $ docker rm -f 90a7eccdf9b5a1dfb4d8c36f775d3ef663c5ced0f9c7924634c62733d4c70789 [Pipeline] // withDockerContainer [Pipeline] sh 09:08:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:08:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:08:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:08:34 + ls -al . 09:08:34 total 172 09:08:34 drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 09:08 . 09:08:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 09:07 .. 09:08:34 -rw-rw-r-- 1 jenkins jenkins 151 Apr 13 09:07 .dockerignore 09:08:34 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 09:07 .git 09:08:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:07 .github 09:08:34 -rw-rw-r-- 1 jenkins jenkins 329 Apr 13 09:07 .gitignore 09:08:34 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 09:07 .golangci.yml 09:08:34 drwx------ 3 jenkins jenkins 4096 Apr 13 09:07 .semver 09:08:34 -rw-rw-r-- 1 jenkins jenkins 8330 Apr 13 09:07 Attribution.txt 09:08:34 -rw-rw-r-- 1 jenkins jenkins 7459 Apr 13 09:07 CHANGELOG.md 09:08:34 -rw-rw-r-- 1 jenkins jenkins 1672 Apr 13 09:07 Dockerfile 09:08:34 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 09:07 GOVERNANCE.md 09:08:34 -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 09:07 Jenkinsfile 09:08:34 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 09:07 LICENSE 09:08:34 -rw-rw-r-- 1 jenkins jenkins 1964 Apr 13 09:07 Makefile 09:08:34 -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 09:07 OWNERS.md 09:08:34 -rw-rw-r-- 1 jenkins jenkins 8246 Apr 13 09:07 README.md 09:08:34 -rw-rw-r-- 1 jenkins jenkins 12 Apr 13 09:07 VERSION 09:08:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 09:07 bin 09:08:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:07 cmd 09:08:34 -rw-r--r-- 1 jenkins jenkins 9355 Apr 13 09:08 coverage.out 09:08:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 09:07 driver 09:08:34 -rw-rw-r-- 1 jenkins jenkins 3240 Apr 13 09:07 go.mod 09:08:34 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 13 09:07 go.sum 09:08:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:07 snap 09:08:34 -rw-rw-r-- 1 jenkins jenkins 713 Apr 13 09:07 version.go [Pipeline] isUnix [Pipeline] sh 09:08:35 + 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=238d080d640a7e3d9ba0ccf186e4988c74ba76ef --label arch=amd64 --label version=2.2.0-dev.11 . 09:08:35 Sending build context to Docker daemon 10.58MB 09:08:35 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 09:08:35 Step 2/25 : FROM ${BASE} AS builder 09:08:35 ---> 7b16ce222ef3 09:08:35 Step 3/25 : ARG MAKE='make build' 09:08:35 ---> Running in 2c500a48e83a 09:08:35 Removing intermediate container 2c500a48e83a 09:08:35 ---> 2cdd69738575 09:08:35 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:08:35 ---> Running in 0750adb988c7 09:08:35 Removing intermediate container 0750adb988c7 09:08:35 ---> 30980d45af78 09:08:35 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 09:08:35 ---> Running in 017d18a2c3d7 09:08:35 Removing intermediate container 017d18a2c3d7 09:08:35 ---> cefd7bcb5136 09:08:35 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:08:35 ---> Running in 5877e95db6ad 09:08:36 Removing intermediate container 5877e95db6ad 09:08:36 ---> 05168d26f669 09:08:36 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:08:36 ---> Running in 3fee8349421e 09:08:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:08:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:08:37 OK: 224 MiB in 56 packages 09:08:38 Removing intermediate container 3fee8349421e 09:08:38 ---> 3fcf312b31cd 09:08:38 Step 8/25 : WORKDIR /device-rest-go 09:08:38 ---> Running in f5eee330a86f 09:08:38 Removing intermediate container f5eee330a86f 09:08:38 ---> 615150c6921e 09:08:38 Step 9/25 : COPY go.mod vendor* ./ 09:08:38 ---> 3998807d9965 09:08:38 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:08:38 ---> Running in 85611e7e4924 09:08:39 Removing intermediate container 85611e7e4924 09:08:39 ---> 24792815ab63 09:08:39 Step 11/25 : COPY . . 09:08:39 ---> e5dada72c1c9 09:08:39 Step 12/25 : RUN $MAKE 09:08:39 ---> Running in 346652e8839e 09:08:39 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 09:09:01 Removing intermediate container 346652e8839e 09:09:01 ---> d777621e3e21 09:09:01 Step 13/25 : FROM alpine:3.14 09:09:01 3.14: Pulling from library/alpine 09:09:01 8663204ce13b: Pulling fs layer 09:09:01 8663204ce13b: Verifying Checksum 09:09:01 8663204ce13b: Download complete 09:09:01 8663204ce13b: Pull complete 09:09:01 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 09:09:01 Status: Downloaded newer image for alpine:3.14 09:09:01 ---> e04c818066af 09:09:01 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 09:09:01 ---> Running in 88af276c2dfe 09:09:01 Removing intermediate container 88af276c2dfe 09:09:01 ---> 0b335c94332f 09:09:01 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 09:09:01 ---> Running in 69d8923e7f62 09:09:01 Removing intermediate container 69d8923e7f62 09:09:01 ---> 6467d3649c87 09:09:01 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 09:09:01 ---> Running in 63185710a48c 09:09:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:09:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:09:01 (1/6) Installing dumb-init (1.2.5-r1) 09:09:01 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:09:01 (3/6) Installing libsodium (1.0.18-r0) 09:09:01 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:09:01 (5/6) Installing libzmq (4.3.4-r0) 09:09:01 (6/6) Installing zeromq (4.3.4-r0) 09:09:01 Executing busybox-1.33.1-r7.trigger 09:09:01 OK: 8 MiB in 20 packages 09:09:01 Removing intermediate container 63185710a48c 09:09:01 ---> 2f931c158d3f 09:09:01 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 09:09:02 ---> 2d2534b2a59f 09:09:02 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 09:09:02 ---> 411fde73a292 09:09:02 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 09:09:02 ---> de036519c2c4 09:09:02 Step 20/25 : EXPOSE 59986 09:09:02 ---> Running in de6f7ab89d5b 09:09:02 Removing intermediate container de6f7ab89d5b 09:09:02 ---> ae0d002a83c2 09:09:02 Step 21/25 : ENTRYPOINT ["/device-rest"] 09:09:02 ---> Running in dd0c73b61f12 09:09:02 Removing intermediate container dd0c73b61f12 09:09:02 ---> 727b51ba0c5a 09:09:02 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 09:09:03 ---> Running in 50c0bbc49ddd 09:09:03 Removing intermediate container 50c0bbc49ddd 09:09:03 ---> 705dccf08eb0 09:09:03 Step 23/25 : LABEL arch=amd64 09:09:03 ---> Running in d30f00c51a7d 09:09:03 Removing intermediate container d30f00c51a7d 09:09:03 ---> 0bf552bc0d19 09:09:03 Step 24/25 : LABEL git_sha=238d080d640a7e3d9ba0ccf186e4988c74ba76ef 09:09:03 ---> Running in 92f5e1039e29 09:09:03 Removing intermediate container 92f5e1039e29 09:09:03 ---> 5388de9566a5 09:09:03 Step 25/25 : LABEL version=2.2.0-dev.11 09:09:03 ---> Running in a03f542cef44 09:09:03 Removing intermediate container a03f542cef44 09:09:03 ---> 22eacdf735c6 09:09:03 [Warning] One or more build-args [ARCH] were not consumed 09:09:03 Successfully built 22eacdf735c6 09:09:03 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:09:03 provisioning config files... 09:09:03 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8577350704684674455tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:09:03 ---> docker-login.sh 09:09:03 nexus3.edgexfoundry.org:10001 09:09:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:03 Configure a credential helper to remove this warning. See 09:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:03 09:09:03 Login Succeeded 09:09:03 nexus3.edgexfoundry.org:10002 09:09:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:03 Configure a credential helper to remove this warning. See 09:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:03 09:09:03 Login Succeeded 09:09:03 nexus3.edgexfoundry.org:10003 09:09:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:03 Configure a credential helper to remove this warning. See 09:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:03 09:09:03 Login Succeeded 09:09:03 nexus3.edgexfoundry.org:10004 09:09:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:04 Configure a credential helper to remove this warning. See 09:09:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:04 09:09:04 Login Succeeded 09:09:04 docker.io 09:09:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:04 Configure a credential helper to remove this warning. See 09:09:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:04 09:09:04 Login Succeeded 09:09:04 ---> docker-login.sh ends [Pipeline] } 09:09:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:09:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:09:04 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 09:09:04 238d080d640a7e3d9ba0ccf186e4988c74ba76ef 09:09:04 latest 09:09:04 2.2.0-dev.11 09:09:04 238d080d640a7e3d9ba0ccf186e4988c74ba76ef-2.2.0-dev.11 09:09:04 main 09:09:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:09:04 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:238d080d640a7e3d9ba0ccf186e4988c74ba76ef [Pipeline] isUnix [Pipeline] sh 09:09:05 + docker push nexus3.edgexfoundry.org:10004/device-rest:238d080d640a7e3d9ba0ccf186e4988c74ba76ef 09:09:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 09:09:05 67873dbe6361: Preparing 09:09:05 e30381841243: Preparing 09:09:05 35fae86a5c4b: Preparing 09:09:05 861c41aa581c: Preparing 09:09:05 b541d28bf3b4: Preparing 09:09:05 b541d28bf3b4: Layer already exists 09:09:05 e30381841243: Pushed 09:09:05 67873dbe6361: Pushed 09:09:05 861c41aa581c: Pushed 09:09:08 35fae86a5c4b: Pushed 09:09:08 238d080d640a7e3d9ba0ccf186e4988c74ba76ef: digest: sha256:d20b523717ad689b3fe2f601d07ca80eb15d75897bc36c1f65be411243126f7d size: 1367 [Pipeline] isUnix [Pipeline] sh 09:09:08 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 09:09:09 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 09:09:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 09:09:09 67873dbe6361: Preparing 09:09:09 e30381841243: Preparing 09:09:09 35fae86a5c4b: Preparing 09:09:09 861c41aa581c: Preparing 09:09:09 b541d28bf3b4: Preparing 09:09:09 b541d28bf3b4: Layer already exists 09:09:09 67873dbe6361: Layer already exists 09:09:09 35fae86a5c4b: Layer already exists 09:09:09 861c41aa581c: Layer already exists 09:09:09 e30381841243: Layer already exists 09:09:09 latest: digest: sha256:d20b523717ad689b3fe2f601d07ca80eb15d75897bc36c1f65be411243126f7d size: 1367 [Pipeline] isUnix [Pipeline] sh 09:09:09 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh 09:09:09 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.11 09:09:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 09:09:09 67873dbe6361: Preparing 09:09:09 e30381841243: Preparing 09:09:09 35fae86a5c4b: Preparing 09:09:09 861c41aa581c: Preparing 09:09:09 b541d28bf3b4: Preparing 09:09:09 b541d28bf3b4: Layer already exists 09:09:09 35fae86a5c4b: Layer already exists 09:09:09 e30381841243: Layer already exists 09:09:09 67873dbe6361: Layer already exists 09:09:09 861c41aa581c: Layer already exists 09:09:09 2.2.0-dev.11: digest: sha256:d20b523717ad689b3fe2f601d07ca80eb15d75897bc36c1f65be411243126f7d size: 1367 [Pipeline] isUnix [Pipeline] sh 09:09:10 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:238d080d640a7e3d9ba0ccf186e4988c74ba76ef-2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh 09:09:10 + docker push nexus3.edgexfoundry.org:10004/device-rest:238d080d640a7e3d9ba0ccf186e4988c74ba76ef-2.2.0-dev.11 09:09:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 09:09:10 67873dbe6361: Preparing 09:09:10 e30381841243: Preparing 09:09:10 35fae86a5c4b: Preparing 09:09:10 861c41aa581c: Preparing 09:09:10 b541d28bf3b4: Preparing 09:09:10 e30381841243: Layer already exists 09:09:10 67873dbe6361: Layer already exists 09:09:10 861c41aa581c: Layer already exists 09:09:10 b541d28bf3b4: Layer already exists 09:09:10 35fae86a5c4b: Layer already exists 09:09:10 238d080d640a7e3d9ba0ccf186e4988c74ba76ef-2.2.0-dev.11: digest: sha256:d20b523717ad689b3fe2f601d07ca80eb15d75897bc36c1f65be411243126f7d size: 1367 [Pipeline] isUnix [Pipeline] sh 09:09:10 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh 09:09:11 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 09:09:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 09:09:11 67873dbe6361: Preparing 09:09:11 e30381841243: Preparing 09:09:11 35fae86a5c4b: Preparing 09:09:11 861c41aa581c: Preparing 09:09:11 b541d28bf3b4: Preparing 09:09:11 35fae86a5c4b: Layer already exists 09:09:11 861c41aa581c: Layer already exists 09:09:11 67873dbe6361: Layer already exists 09:09:11 e30381841243: Layer already exists 09:09:11 b541d28bf3b4: Layer already exists 09:09:11 main: digest: sha256:d20b523717ad689b3fe2f601d07ca80eb15d75897bc36c1f65be411243126f7d size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:09:11 ===================================================== [Pipeline] echo 09:09:11 taggedImages: 09:09:11 - nexus3.edgexfoundry.org:10004/device-rest:238d080d640a7e3d9ba0ccf186e4988c74ba76ef 09:09:11 - nexus3.edgexfoundry.org:10004/device-rest:latest 09:09:11 - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.11 09:09:11 - nexus3.edgexfoundry.org:10004/device-rest:238d080d640a7e3d9ba0ccf186e4988c74ba76ef-2.2.0-dev.11 09:09:11 - 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 09:09:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:09:11 09:09:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:09:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:09:11 latest: Pulling from edgex-lftools-log-publisher 09:09:11 5eb5b503b376: Pulling fs layer 09:09:11 5c69ac0246d0: Pulling fs layer 09:09:11 ec43610c2a17: Pulling fs layer 09:09:11 3a2ae6a8a46f: Pulling fs layer 09:09:11 33b1e0a273af: Pulling fs layer 09:09:11 5d3b04190fa2: Pulling fs layer 09:09:11 2f39f015ded8: Pulling fs layer 09:09:11 33b1e0a273af: Waiting 09:09:11 5d3b04190fa2: Waiting 09:09:11 2f39f015ded8: Waiting 09:09:11 3a2ae6a8a46f: Waiting 09:09:11 5c69ac0246d0: Download complete 09:09:11 3a2ae6a8a46f: Verifying Checksum 09:09:11 3a2ae6a8a46f: Download complete 09:09:11 33b1e0a273af: Verifying Checksum 09:09:11 33b1e0a273af: Download complete 09:09:11 ec43610c2a17: Verifying Checksum 09:09:11 ec43610c2a17: Download complete 09:09:11 5d3b04190fa2: Verifying Checksum 09:09:11 5d3b04190fa2: Download complete 09:09:12 5eb5b503b376: Verifying Checksum 09:09:12 5eb5b503b376: Download complete 09:09:12 2f39f015ded8: Download complete 09:09:13 5eb5b503b376: Pull complete 09:09:13 5c69ac0246d0: Pull complete 09:09:14 ec43610c2a17: Pull complete 09:09:14 3a2ae6a8a46f: Pull complete 09:09:14 33b1e0a273af: Pull complete 09:09:14 5d3b04190fa2: Pull complete 09:09:19 2f39f015ded8: Pull complete 09:09:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:09:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:09:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:09:19 prd-ubuntu20.04-docker-8c-8g-20790 does not seem to be running inside a container 09:09:19 $ 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 09:09:21 $ docker top 77e7a6a0113e9834c7bed6f4306ae0d0e583ff6a954d9820fda7b35881cb7d92 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:09:21 ---> job-cost.sh 09:09:21 lf-activate-venv: SKIPPING 09:09:21 INFO: No Stack... 09:09:21 INFO: Retrieving Pricing Info for: v3-standard-8 09:09:22 INFO: Archiving Costs [Pipeline] sh 09:09:22 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 09:09:22 + cut -d, -f6 [Pipeline] lock 09:09:22 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-32-stack-cost] 09:09:22 Resource [jenkins-edgexfoundry-device-rest-go-main-32-stack-cost] did not exist. Created. 09:09:22 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:09:23 + echo total: 0.2199999988079071 [Pipeline] stash 09:09:23 Stashed 1 file(s) [Pipeline] } 09:09:23 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-32-stack-cost] [Pipeline] // lock [Pipeline] } 09:09:23 $ docker stop --time=1 77e7a6a0113e9834c7bed6f4306ae0d0e583ff6a954d9820fda7b35881cb7d92 09:09:24 $ docker rm -f 77e7a6a0113e9834c7bed6f4306ae0d0e583ff6a954d9820fda7b35881cb7d92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:09:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20791 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 09:09:29 Running in /w/workspace/device-rest-go/32 [Pipeline] { [Pipeline] checkout 09:09:29 The recommended git tool is: git 09:09:37 using credential edgex-jenkins-ssh 09:09:37 Cloning the remote Git repository 09:09:37 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 09:09:37 > git init /w/workspace/device-rest-go/32 # timeout=10 09:09:37 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 09:09:37 > git --version # timeout=10 09:09:37 > git --version # 'git version 2.25.1' 09:09:37 using GIT_SSH to set credentials SSH Credentials for GitHub 09:09:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:09:40 Avoid second fetch 09:09:40 Checking out Revision 238d080d640a7e3d9ba0ccf186e4988c74ba76ef (main) 09:09:40 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 09:09:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:09:40 > git config core.sparsecheckout # timeout=10 09:09:40 > git checkout -f 238d080d640a7e3d9ba0ccf186e4988c74ba76ef # timeout=10 09:09:44 Commit message: "test(snap): add CI workflow (#172)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:09:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:09:45 % Total % Received % Xferd Average Speed Time Time Time Current 09:09:45 Dload Upload Total Spent Left Speed 09:09:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 47562 0 --:--:-- --:--:-- --:--:-- 47754 [Pipeline] sh 09:09:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:09:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:09:46 + sudo tee /etc/docker/daemon.new 09:09:46 { 09:09:46 "registry-mirrors": [ 09:09:46 "https://nexus3.edgexfoundry.org:10001" 09:09:46 ], 09:09:46 "bip": "10.250.0.254/24", 09:09:46 "hosts": [ 09:09:46 "tcp://0.0.0.0:5555", 09:09:46 "unix:///var/run/docker.sock" 09:09:46 ], 09:09:46 "mtu": 1458, 09:09:46 "selinux-enabled": true, 09:09:46 "seccomp-profile": "/etc/docker/seccomp.json" 09:09:46 } [Pipeline] sh 09:09:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:09:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:10:05 provisioning config files... 09:10:05 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/32@tmp/config5693923287916535500tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:10:05 ---> docker-login.sh 09:10:05 nexus3.edgexfoundry.org:10001 09:10:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:06 Configure a credential helper to remove this warning. See 09:10:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:06 09:10:06 Login Succeeded 09:10:06 nexus3.edgexfoundry.org:10002 09:10:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:07 Configure a credential helper to remove this warning. See 09:10:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:07 09:10:07 Login Succeeded 09:10:07 nexus3.edgexfoundry.org:10003 09:10:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:07 Configure a credential helper to remove this warning. See 09:10:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:07 09:10:07 Login Succeeded 09:10:07 nexus3.edgexfoundry.org:10004 09:10:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:08 Configure a credential helper to remove this warning. See 09:10:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:08 09:10:08 Login Succeeded 09:10:08 docker.io 09:10:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:08 Configure a credential helper to remove this warning. See 09:10:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:08 09:10:08 Login Succeeded 09:10:08 ---> docker-login.sh ends [Pipeline] } 09:10:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:10:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:10:09 ========================================================= 09:10:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 09:10:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:10:09 + 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 . 09:10:09 Sending build context to Docker daemon 129.5kB 09:10:10 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:10:10 Step 2/12 : FROM ${BASE} AS builder 09:10:10 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:10:10 9b3977197b4f: Pulling fs layer 09:10:10 1a89e8eeedd5: Pulling fs layer 09:10:10 94645a83ff95: Pulling fs layer 09:10:10 3f3a8bcf1eab: Pulling fs layer 09:10:10 0c92f367c5e7: Pulling fs layer 09:10:10 f7c0051592d6: Pulling fs layer 09:10:10 a227ed2f7395: Pulling fs layer 09:10:10 7b1c46037f91: Pulling fs layer 09:10:10 f7c0051592d6: Waiting 09:10:10 3f3a8bcf1eab: Waiting 09:10:10 0c92f367c5e7: Waiting 09:10:10 a227ed2f7395: Waiting 09:10:10 7b1c46037f91: Waiting 09:10:10 94645a83ff95: Verifying Checksum 09:10:10 94645a83ff95: Download complete 09:10:10 1a89e8eeedd5: Verifying Checksum 09:10:10 1a89e8eeedd5: Download complete 09:10:10 0c92f367c5e7: Download complete 09:10:10 f7c0051592d6: Verifying Checksum 09:10:10 f7c0051592d6: Download complete 09:10:10 9b3977197b4f: Download complete 09:10:10 a227ed2f7395: Verifying Checksum 09:10:10 a227ed2f7395: Download complete 09:10:11 9b3977197b4f: Pull complete 09:10:11 1a89e8eeedd5: Pull complete 09:10:11 94645a83ff95: Pull complete 09:10:12 7b1c46037f91: Download complete 09:10:13 3f3a8bcf1eab: Verifying Checksum 09:10:13 3f3a8bcf1eab: Download complete 09:10:25 3f3a8bcf1eab: Pull complete 09:10:25 0c92f367c5e7: Pull complete 09:10:25 f7c0051592d6: Pull complete 09:10:25 a227ed2f7395: Pull complete 09:10:32 7b1c46037f91: Pull complete 09:10:32 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 09:10:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 09:10:32 ---> f79e39bc4007 09:10:32 Step 3/12 : ARG MAKE='make build' 09:10:33 ---> Running in 8b15c537dc22 09:10:33 Removing intermediate container 8b15c537dc22 09:10:33 ---> e8acabedd4a9 09:10:33 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:10:33 ---> Running in e486aab23b3d 09:10:33 Removing intermediate container e486aab23b3d 09:10:33 ---> b1733391db2b 09:10:33 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 09:10:33 ---> Running in a9cf980b5457 09:10:34 Removing intermediate container a9cf980b5457 09:10:34 ---> 8fe4fe1ee43a 09:10:34 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:10:34 ---> Running in 91ad2f5ba8a8 09:10:36 Removing intermediate container 91ad2f5ba8a8 09:10:36 ---> c5c9854e584d 09:10:36 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:10:36 ---> Running in 13baea7ee222 09:10:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:10:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:10:38 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:10:39 (2/4) Installing libedit (20210910.3.1-r0) 09:10:39 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:10:39 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:10:39 Executing busybox-1.34.1-r3.trigger 09:10:39 OK: 224 MiB in 56 packages 09:10:40 Removing intermediate container 13baea7ee222 09:10:40 ---> c5a76db287e6 09:10:40 Step 8/12 : WORKDIR /device-rest-go 09:10:40 ---> Running in 61f703e82612 09:10:40 Removing intermediate container 61f703e82612 09:10:40 ---> bce0276a5d65 09:10:40 Step 9/12 : COPY go.mod vendor* ./ 09:10:41 ---> 40d5cf9dcfdf 09:10:41 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:10:41 ---> Running in 7400eaf8efab 09:11:28 Removing intermediate container 7400eaf8efab 09:11:28 ---> 6bec88b088fc 09:11:28 Step 11/12 : COPY . . 09:11:28 ---> 18eac9dd065a 09:11:28 Step 12/12 : RUN $MAKE 09:11:28 ---> Running in 10663cfd929e 09:11:28 noop 09:11:29 Removing intermediate container 10663cfd929e 09:11:29 ---> 657bf5c2b173 09:11:29 Successfully built 657bf5c2b173 09:11:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:11:29 + docker inspect -f . ci-base-image-arm64 09:11:29 . [Pipeline] withDockerContainer 09:11:30 prd-ubuntu20.04-docker-arm64-4c-16g-20791 does not seem to be running inside a container 09:11:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/32 -v /w/workspace/device-rest-go/32:/w/workspace/device-rest-go/32:rw,z -v /w/workspace/device-rest-go/32@tmp:/w/workspace/device-rest-go/32@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 09:11:31 $ docker top aefade9ad47cd95536637a27bdc29bcd603c423a9c79b1b303a8ad90ed78a790 -eo pid,comm [Pipeline] { [Pipeline] sh 09:11:32 + go version 09:11:32 go version go1.17.6 linux/arm64 [Pipeline] } 09:11:32 $ docker stop --time=1 aefade9ad47cd95536637a27bdc29bcd603c423a9c79b1b303a8ad90ed78a790 09:11:34 $ docker rm -f aefade9ad47cd95536637a27bdc29bcd603c423a9c79b1b303a8ad90ed78a790 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:11:34 + docker inspect -f . ci-base-image-arm64 09:11:34 . [Pipeline] withDockerContainer 09:11:34 prd-ubuntu20.04-docker-arm64-4c-16g-20791 does not seem to be running inside a container 09:11:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/32 -v /w/workspace/device-rest-go/32:/w/workspace/device-rest-go/32:rw,z -v /w/workspace/device-rest-go/32@tmp:/w/workspace/device-rest-go/32@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 09:11:36 $ docker top f0b9feab5e987c05b53e6c68852dd10fd2a6b351a0ff6a0420b073275a67dcec -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:11:37 + make test 09:11:37 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:11:38 ? github.com/edgexfoundry/device-rest-go [no test files] 09:13:15 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 09:13:15 ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 55.2% of statements 09:13:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:13:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:13:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:13:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:13:37 ./bin/test-attribution-txt.sh [Pipeline] echo 09:13:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:13:37 $ docker stop --time=1 f0b9feab5e987c05b53e6c68852dd10fd2a6b351a0ff6a0420b073275a67dcec 09:13:39 $ docker rm -f f0b9feab5e987c05b53e6c68852dd10fd2a6b351a0ff6a0420b073275a67dcec [Pipeline] // withDockerContainer [Pipeline] sh 09:13:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:13:40 Warning: overwriting stash ‘coverage-report’ 09:13:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:13:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:13:42 + ls -al . 09:13:42 total 168 09:13:42 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 09:13 . 09:13:42 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 09:09 .. 09:13:42 -rw-rw-r-- 1 jenkins jenkins 151 Apr 13 09:09 .dockerignore 09:13:42 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 09:09 .git 09:13:42 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:09 .github 09:13:42 -rw-rw-r-- 1 jenkins jenkins 329 Apr 13 09:09 .gitignore 09:13:42 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 09:09 .golangci.yml 09:13:42 -rw-rw-r-- 1 jenkins jenkins 8330 Apr 13 09:09 Attribution.txt 09:13:42 -rw-rw-r-- 1 jenkins jenkins 7459 Apr 13 09:09 CHANGELOG.md 09:13:42 -rw-rw-r-- 1 jenkins jenkins 1672 Apr 13 09:09 Dockerfile 09:13:42 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 09:09 GOVERNANCE.md 09:13:42 -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 09:09 Jenkinsfile 09:13:42 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 09:09 LICENSE 09:13:42 -rw-rw-r-- 1 jenkins jenkins 1964 Apr 13 09:09 Makefile 09:13:42 -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 09:09 OWNERS.md 09:13:42 -rw-rw-r-- 1 jenkins jenkins 8246 Apr 13 09:09 README.md 09:13:42 -rw-rw-r-- 1 jenkins jenkins 12 Apr 13 09:07 VERSION 09:13:42 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 09:09 bin 09:13:42 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:09 cmd 09:13:42 -rw-r--r-- 1 jenkins jenkins 9355 Apr 13 09:13 coverage.out 09:13:42 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 09:09 driver 09:13:42 -rw-rw-r-- 1 jenkins jenkins 3240 Apr 13 09:09 go.mod 09:13:42 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 13 09:09 go.sum 09:13:42 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:09 snap 09:13:42 -rw-rw-r-- 1 jenkins jenkins 713 Apr 13 09:09 version.go [Pipeline] isUnix [Pipeline] sh 09:13:42 + 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=238d080d640a7e3d9ba0ccf186e4988c74ba76ef --label arch=arm64 --label version=2.2.0-dev.11 . 09:13:42 Sending build context to Docker daemon 139.8kB 09:13:42 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 09:13:42 Step 2/25 : FROM ${BASE} AS builder 09:13:42 ---> 657bf5c2b173 09:13:42 Step 3/25 : ARG MAKE='make build' 09:13:42 ---> Running in 8f92414ecf9a 09:13:43 Removing intermediate container 8f92414ecf9a 09:13:43 ---> 9a07bf754287 09:13:43 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:13:43 ---> Running in 3c4777f8b1c2 09:13:43 Removing intermediate container 3c4777f8b1c2 09:13:43 ---> b647a0db96af 09:13:43 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 09:13:43 ---> Running in 21491d292d8b 09:13:44 Removing intermediate container 21491d292d8b 09:13:44 ---> fb49f99f0403 09:13:44 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:13:44 ---> Running in 5befe9d9a10b 09:13:46 Removing intermediate container 5befe9d9a10b 09:13:46 ---> ddbc64f6589c 09:13:46 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:13:46 ---> Running in 78ff21773b3f 09:13:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:13:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:13:49 OK: 224 MiB in 56 packages 09:13:49 Removing intermediate container 78ff21773b3f 09:13:49 ---> 3189e8230dc7 09:13:49 Step 8/25 : WORKDIR /device-rest-go 09:13:49 ---> Running in 856d961e258b 09:13:49 Removing intermediate container 856d961e258b 09:13:49 ---> 03448699f407 09:13:49 Step 9/25 : COPY go.mod vendor* ./ 09:13:50 ---> 96fc5e570fc4 09:13:50 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:13:50 ---> Running in d841328d035f 09:13:52 Removing intermediate container d841328d035f 09:13:52 ---> 6261667659fa 09:13:52 Step 11/25 : COPY . . 09:13:53 ---> d521ee92e85b 09:13:53 Step 12/25 : RUN $MAKE 09:13:53 ---> Running in bd3daff8deb3 09:13:54 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 09:16:16 Removing intermediate container bd3daff8deb3 09:16:16 ---> e7d170a00948 09:16:16 Step 13/25 : FROM alpine:3.14 09:16:16 3.14: Pulling from library/alpine 09:16:16 455c02918c45: Pulling fs layer 09:16:16 455c02918c45: Verifying Checksum 09:16:16 455c02918c45: Download complete 09:16:16 455c02918c45: Pull complete 09:16:16 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 09:16:16 Status: Downloaded newer image for alpine:3.14 09:16:16 ---> ac73e934f311 09:16:16 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 09:16:16 ---> Running in 23179798532d 09:16:16 Removing intermediate container 23179798532d 09:16:16 ---> 5e14df6c0073 09:16:16 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 09:16:16 ---> Running in 5226a407168e 09:16:16 Removing intermediate container 5226a407168e 09:16:16 ---> bbb256d343db 09:16:16 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 09:16:16 ---> Running in aea7ce70b38b 09:16:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:16:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:16:16 (1/6) Installing dumb-init (1.2.5-r1) 09:16:16 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:16:16 (3/6) Installing libsodium (1.0.18-r0) 09:16:16 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:16:16 (5/6) Installing libzmq (4.3.4-r0) 09:16:16 (6/6) Installing zeromq (4.3.4-r0) 09:16:16 Executing busybox-1.33.1-r7.trigger 09:16:16 OK: 8 MiB in 20 packages 09:16:16 Removing intermediate container aea7ce70b38b 09:16:16 ---> 13742605aba0 09:16:16 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 09:16:16 ---> c75b92a6b094 09:16:16 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 09:16:16 ---> e8bddf0b1bb9 09:16:16 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 09:16:16 ---> c010ef385847 09:16:16 Step 20/25 : EXPOSE 59986 09:16:16 ---> Running in bc8259cb9800 09:16:16 Removing intermediate container bc8259cb9800 09:16:16 ---> 956f7b55678e 09:16:16 Step 21/25 : ENTRYPOINT ["/device-rest"] 09:16:16 ---> Running in 652c2f97553f 09:16:16 Removing intermediate container 652c2f97553f 09:16:16 ---> 24272d5b6c33 09:16:16 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 09:16:16 ---> Running in a097ac11c355 09:16:16 Removing intermediate container a097ac11c355 09:16:16 ---> 7b9778c1bf61 09:16:16 Step 23/25 : LABEL arch=arm64 09:16:16 ---> Running in 7e6b667041df 09:16:16 Removing intermediate container 7e6b667041df 09:16:16 ---> f32568b11c15 09:16:16 Step 24/25 : LABEL git_sha=238d080d640a7e3d9ba0ccf186e4988c74ba76ef 09:16:16 ---> Running in 6b0fe98b20a9 09:16:17 Removing intermediate container 6b0fe98b20a9 09:16:17 ---> 11d25fac1042 09:16:17 Step 25/25 : LABEL version=2.2.0-dev.11 09:16:17 ---> Running in 638180faf4d1 09:16:17 Removing intermediate container 638180faf4d1 09:16:17 ---> 43dffaf4194a 09:16:17 [Warning] One or more build-args [ARCH] were not consumed 09:16:17 Successfully built 43dffaf4194a 09:16:17 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 09:16:17 provisioning config files... 09:16:17 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/32@tmp/config3508079441777229872tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:16:17 ---> docker-login.sh 09:16:17 nexus3.edgexfoundry.org:10001 09:16:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:18 Configure a credential helper to remove this warning. See 09:16:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:18 09:16:18 Login Succeeded 09:16:18 nexus3.edgexfoundry.org:10002 09:16:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:18 Configure a credential helper to remove this warning. See 09:16:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:18 09:16:18 Login Succeeded 09:16:18 nexus3.edgexfoundry.org:10003 09:16:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:19 Configure a credential helper to remove this warning. See 09:16:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:19 09:16:19 Login Succeeded 09:16:19 nexus3.edgexfoundry.org:10004 09:16:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:19 Configure a credential helper to remove this warning. See 09:16:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:19 09:16:19 Login Succeeded 09:16:19 docker.io 09:16:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:20 Configure a credential helper to remove this warning. See 09:16:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:20 09:16:20 Login Succeeded 09:16:20 ---> docker-login.sh ends [Pipeline] } 09:16:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:16:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:16:20 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 09:16:20 238d080d640a7e3d9ba0ccf186e4988c74ba76ef 09:16:20 latest 09:16:20 2.2.0-dev.11 09:16:20 238d080d640a7e3d9ba0ccf186e4988c74ba76ef-2.2.0-dev.11 09:16:20 main 09:16:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:16:21 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:238d080d640a7e3d9ba0ccf186e4988c74ba76ef [Pipeline] isUnix [Pipeline] sh 09:16:21 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:238d080d640a7e3d9ba0ccf186e4988c74ba76ef 09:16:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:16:21 07156915b033: Preparing 09:16:21 fe6e183a43ad: Preparing 09:16:21 531abde51137: Preparing 09:16:21 579cd78a6ac7: Preparing 09:16:21 f73e7dbfee58: Preparing 09:16:21 f73e7dbfee58: Layer already exists 09:16:21 fe6e183a43ad: Pushed 09:16:21 07156915b033: Pushed 09:16:22 579cd78a6ac7: Pushed 09:16:29 531abde51137: Pushed 09:16:29 238d080d640a7e3d9ba0ccf186e4988c74ba76ef: digest: sha256:ac1fada0797ee220753edf98e247d731bdad8074b10d99727cf259537031986c size: 1366 [Pipeline] isUnix [Pipeline] sh 09:16:29 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:16:29 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 09:16:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:16:29 07156915b033: Preparing 09:16:29 fe6e183a43ad: Preparing 09:16:29 531abde51137: Preparing 09:16:29 579cd78a6ac7: Preparing 09:16:29 f73e7dbfee58: Preparing 09:16:29 f73e7dbfee58: Layer already exists 09:16:29 579cd78a6ac7: Layer already exists 09:16:29 531abde51137: Layer already exists 09:16:29 fe6e183a43ad: Layer already exists 09:16:29 07156915b033: Layer already exists 09:16:30 latest: digest: sha256:ac1fada0797ee220753edf98e247d731bdad8074b10d99727cf259537031986c size: 1366 [Pipeline] isUnix [Pipeline] sh 09:16:30 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh 09:16:30 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.11 09:16:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:16:30 07156915b033: Preparing 09:16:30 fe6e183a43ad: Preparing 09:16:30 531abde51137: Preparing 09:16:30 579cd78a6ac7: Preparing 09:16:30 f73e7dbfee58: Preparing 09:16:30 579cd78a6ac7: Layer already exists 09:16:30 fe6e183a43ad: Layer already exists 09:16:30 07156915b033: Layer already exists 09:16:30 531abde51137: Layer already exists 09:16:30 f73e7dbfee58: Layer already exists 09:16:31 2.2.0-dev.11: digest: sha256:ac1fada0797ee220753edf98e247d731bdad8074b10d99727cf259537031986c size: 1366 [Pipeline] isUnix [Pipeline] sh 09:16:31 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:238d080d640a7e3d9ba0ccf186e4988c74ba76ef-2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh 09:16:31 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:238d080d640a7e3d9ba0ccf186e4988c74ba76ef-2.2.0-dev.11 09:16:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:16:31 07156915b033: Preparing 09:16:31 fe6e183a43ad: Preparing 09:16:31 531abde51137: Preparing 09:16:31 579cd78a6ac7: Preparing 09:16:31 f73e7dbfee58: Preparing 09:16:31 f73e7dbfee58: Layer already exists 09:16:31 579cd78a6ac7: Layer already exists 09:16:31 fe6e183a43ad: Layer already exists 09:16:31 531abde51137: Layer already exists 09:16:31 07156915b033: Layer already exists 09:16:32 238d080d640a7e3d9ba0ccf186e4988c74ba76ef-2.2.0-dev.11: digest: sha256:ac1fada0797ee220753edf98e247d731bdad8074b10d99727cf259537031986c size: 1366 [Pipeline] isUnix [Pipeline] sh 09:16:32 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh 09:16:32 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 09:16:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:16:32 07156915b033: Preparing 09:16:32 fe6e183a43ad: Preparing 09:16:32 531abde51137: Preparing 09:16:32 579cd78a6ac7: Preparing 09:16:32 f73e7dbfee58: Preparing 09:16:32 f73e7dbfee58: Layer already exists 09:16:32 fe6e183a43ad: Layer already exists 09:16:32 579cd78a6ac7: Layer already exists 09:16:32 07156915b033: Layer already exists 09:16:32 531abde51137: Layer already exists 09:16:33 main: digest: sha256:ac1fada0797ee220753edf98e247d731bdad8074b10d99727cf259537031986c size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:16:33 ===================================================== [Pipeline] echo 09:16:33 taggedImages: 09:16:33 - nexus3.edgexfoundry.org:10004/device-rest-arm64:238d080d640a7e3d9ba0ccf186e4988c74ba76ef 09:16:33 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 09:16:33 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.11 09:16:33 - nexus3.edgexfoundry.org:10004/device-rest-arm64:238d080d640a7e3d9ba0ccf186e4988c74ba76ef-2.2.0-dev.11 09:16:33 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:16:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:16:33 09:16:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 09:16:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:16:34 arm64: Pulling from edgex-lftools-log-publisher 09:16:34 8998bd30e6a1: Pulling fs layer 09:16:34 04944245beec: Pulling fs layer 09:16:34 699f458cf7ca: Pulling fs layer 09:16:34 765212b225bb: Pulling fs layer 09:16:34 f23df028b6ca: Pulling fs layer 09:16:34 d65c8cfc05b1: Pulling fs layer 09:16:34 2437ff75d9bd: Pulling fs layer 09:16:34 765212b225bb: Waiting 09:16:34 f23df028b6ca: Waiting 09:16:34 2437ff75d9bd: Waiting 09:16:34 d65c8cfc05b1: Waiting 09:16:34 04944245beec: Verifying Checksum 09:16:34 04944245beec: Download complete 09:16:34 765212b225bb: Verifying Checksum 09:16:34 765212b225bb: Download complete 09:16:34 f23df028b6ca: Download complete 09:16:34 d65c8cfc05b1: Verifying Checksum 09:16:34 d65c8cfc05b1: Download complete 09:16:34 699f458cf7ca: Verifying Checksum 09:16:34 699f458cf7ca: Download complete 09:16:34 8998bd30e6a1: Verifying Checksum 09:16:34 8998bd30e6a1: Download complete 09:16:37 2437ff75d9bd: Verifying Checksum 09:16:37 2437ff75d9bd: Download complete 09:16:39 8998bd30e6a1: Pull complete 09:16:39 04944245beec: Pull complete 09:16:41 699f458cf7ca: Pull complete 09:16:41 765212b225bb: Pull complete 09:16:42 f23df028b6ca: Pull complete 09:16:42 d65c8cfc05b1: Pull complete 09:16:57 2437ff75d9bd: Pull complete 09:16:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:16:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:16:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 09:16:57 prd-ubuntu20.04-docker-arm64-4c-16g-20791 does not seem to be running inside a container 09:16:57 $ 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/32 -v /w/workspace/device-rest-go/32:/w/workspace/device-rest-go/32:rw,z -v /w/workspace/device-rest-go/32@tmp:/w/workspace/device-rest-go/32@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 09:17:00 $ docker top e83415d227347c1be634deca4c7f3fc32589f01807a30cb6d6e369244a68a830 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:17:01 ---> job-cost.sh 09:17:01 lf-activate-venv: SKIPPING 09:17:01 INFO: No Stack... 09:17:02 INFO: Retrieving Pricing Info for: v3-standard-4 09:17:03 INFO: Archiving Costs [Pipeline] sh 09:17:04 + cat /w/workspace/device-rest-go/32/archives/cost.csv 09:17:04 + cut -d, -f6 [Pipeline] lock 09:17:04 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-32-stack-cost] 09:17:04 Resource [jenkins-edgexfoundry-device-rest-go-main-32-stack-cost] did not exist. Created. 09:17:04 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:17:04 /w/workspace/device-rest-go/32@tmp/durable-64c8797a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:17:05 + echo total: 0.10999999940395355 [Pipeline] stash 09:17:05 Warning: overwriting stash ‘stack-cost’ 09:17:05 Stashed 1 file(s) [Pipeline] } 09:17:05 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-32-stack-cost] [Pipeline] // lock [Pipeline] } 09:17:05 $ docker stop --time=1 e83415d227347c1be634deca4c7f3fc32589f01807a30cb6d6e369244a68a830 09:17:07 $ docker rm -f e83415d227347c1be634deca4c7f3fc32589f01807a30cb6d6e369244a68a830 [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 09:17:07 provisioning config files... 09:17:07 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8728413886458859970tmp [Pipeline] { [Pipeline] sh 09:17:07 + set +x 09:17:07 + curl -s https://codecov.io/bash 09:17:07 + bash -s -- 09:17:07 09:17:07 _____ _ 09:17:07 / ____| | | 09:17:07 | | ___ __| | ___ ___ _____ __ 09:17:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:17:07 | |___| (_) | (_| | __/ (_| (_) \ V / 09:17:07 \_____\___/ \__,_|\___|\___\___/ \_/ 09:17:07 Bash-1.0.6 09:17:07 09:17:07 09:17:07 ==> git version 2.25.1 found 09:17:07 ==> 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 09:17:07 Release-Date: 2020-01-08 09:17:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:17:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:17:07 ==> Jenkins CI detected. 09:17:07 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 09:17:07 project root: . 09:17:07 --> token set from env 09:17:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:17:07 ==> Running gcov in . (disable via -X gcov) 09:17:07 ==> Python coveragepy not found 09:17:07 ==> Searching for coverage reports in: 09:17:07 + . 09:17:07 -> Found 1 reports 09:17:07 ==> Detecting git/mercurial file structure 09:17:07 ==> Reading reports 09:17:07 + ./coverage.out bytes=9355 09:17:07 ==> Appending adjustments 09:17:07 https://docs.codecov.io/docs/fixing-reports 09:17:07 + Found adjustments 09:17:08 ==> Gzipping contents 09:17:08 4.0K /tmp/codecov.em7C5v.gz 09:17:08 ==> Uploading reports 09:17:08 url: https://codecov.io 09:17:08 query: branch=main&commit=238d080d640a7e3d9ba0ccf186e4988c74ba76ef&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:17:08 -> Pinging Codecov 09:17:08 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=238d080d640a7e3d9ba0ccf186e4988c74ba76ef&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:17:08 -> Uploading to 09:17:08 https://storage.googleapis.com/codecov/v4/raw/2022-04-13/4E5D53B4F1F92C436F7061BF334D961C/238d080d640a7e3d9ba0ccf186e4988c74ba76ef/35047b63-4aa5-4ba4-9353-5d6f53854492.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220413T091708Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=13b88530070449899a9a74572d0ad6136a15ed12e1d582d6ad3e1e6a70e775f7 09:17:08 % Total % Received % Xferd Average Speed Time Time Time Current 09:17:08 Dload Upload Total Spent Left Speed 09:17:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1800 0 0 100 1800 0 8411 --:--:-- --:--:-- --:--:-- 8411 09:17:08 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/238d080d640a7e3d9ba0ccf186e4988c74ba76ef [Pipeline] } 09:17:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:17:08 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:17:08 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:17:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:17:09 09:17:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 09:17:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:17:09 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:17:09 188c0c94c7c5: Pulling fs layer 09:17:09 0ef7d3d256c8: Pulling fs layer 09:17:09 de9db76c5a1d: Pulling fs layer 09:17:09 0eba1c9be4d2: Pulling fs layer 09:17:09 0d57e429df01: Pulling fs layer 09:17:09 4e4be7b47b0d: Pulling fs layer 09:17:09 e1f770b5df2f: Pulling fs layer 09:17:09 85a0685a4137: Pulling fs layer 09:17:09 0d57e429df01: Waiting 09:17:09 4e4be7b47b0d: Waiting 09:17:09 e1f770b5df2f: Waiting 09:17:09 85a0685a4137: Waiting 09:17:09 0eba1c9be4d2: Waiting 09:17:09 de9db76c5a1d: Verifying Checksum 09:17:09 de9db76c5a1d: Download complete 09:17:09 0ef7d3d256c8: Verifying Checksum 09:17:09 0ef7d3d256c8: Download complete 09:17:09 0d57e429df01: Download complete 09:17:09 4e4be7b47b0d: Download complete 09:17:09 188c0c94c7c5: Download complete 09:17:09 188c0c94c7c5: Pull complete 09:17:09 e1f770b5df2f: Verifying Checksum 09:17:09 e1f770b5df2f: Download complete 09:17:09 0ef7d3d256c8: Pull complete 09:17:09 de9db76c5a1d: Pull complete 09:17:10 0eba1c9be4d2: Verifying Checksum 09:17:10 0eba1c9be4d2: Download complete 09:17:10 85a0685a4137: Verifying Checksum 09:17:10 85a0685a4137: Download complete 09:17:14 0eba1c9be4d2: Pull complete 09:17:14 0d57e429df01: Pull complete 09:17:14 4e4be7b47b0d: Pull complete 09:17:14 e1f770b5df2f: Pull complete 09:17:17 85a0685a4137: Pull complete 09:17:17 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 09:17:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:17:17 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 09:17:17 prd-ubuntu20.04-docker-8c-8g-20790 does not seem to be running inside a container 09:17:17 $ 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 09:17:19 $ docker top 55b8dd4d2648bc814ed236e120a28ab949be7e5bf3e1256785c4a1dbc94bc8aa -eo pid,comm [Pipeline] { [Pipeline] echo 09:17:19 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 09:17:19 + set -o pipefail 09:17:19 + snyk monitor '--org=edgex-jenkins' 09:17:25 09:17:25 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 09:17:25 09:17:25 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/b66f7da2-b19b-40d7-adc2-6730c9d8eabc 09:17:25 09:17:25 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 09:17:25 09:17:25 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:17:25 09:17:25 [Pipeline] } 09:17:25 $ docker stop --time=1 55b8dd4d2648bc814ed236e120a28ab949be7e5bf3e1256785c4a1dbc94bc8aa 09:17:27 $ docker rm -f 55b8dd4d2648bc814ed236e120a28ab949be7e5bf3e1256785c4a1dbc94bc8aa [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 09:17:27 + git log --format=format:%s -1 238d080d640a7e3d9ba0ccf186e4988c74ba76ef [Pipeline] sh 09:17:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:17:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:17:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:17:28 . [Pipeline] withDockerContainer 09:17:28 prd-ubuntu20.04-docker-8c-8g-20790 does not seem to be running inside a container 09:17:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:17:29 $ docker top 75427705844c75dda057394722d5a1cb3ec11561318cadf081a00c0a2dbe1f8c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:17:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:17:29 [ssh-agent] Looking for ssh-agent implementation... 09:17:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:17:29 $ docker exec 75427705844c75dda057394722d5a1cb3ec11561318cadf081a00c0a2dbe1f8c ssh-agent 09:17:29 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdpChFa/agent.13 09:17:29 SSH_AGENT_PID=20 09:17:29 Running ssh-add (command line suppressed) 09:17:29 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3845571916934321103.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3845571916934321103.key) 09:17:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:17:29 + git semver tag 09:17:29 # -> Open(): unable to determine branch for HEAD 09:17:29 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 09:17:29 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 09:17:29 # $SEMVER_REMOTE_NAME = origin 09:17:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:17:29 # $SEMVER_USER_NAME = edgex-jenkins 09:17:29 # $SEMVER_BRANCH = main 09:17:29 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 09:17:29 # 238d080d640a7e3d9ba0ccf186e4988c74ba76ef HEAD 09:17:29 # -> Force: false 09:17:29 # eb271af128a0d62d9b78a7eeb8dde68d449be347 refs/tags/v2.2.0-dev.11 [Pipeline] } 09:17:29 $ docker exec --env ******** --env ******** 75427705844c75dda057394722d5a1cb3ec11561318cadf081a00c0a2dbe1f8c ssh-agent -k 09:17:29 unset SSH_AUTH_SOCK; 09:17:29 unset SSH_AGENT_PID; 09:17:29 echo Agent pid 20 killed; 09:17:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:17:30 + git semver [Pipeline] } 09:17:30 $ docker stop --time=1 75427705844c75dda057394722d5a1cb3ec11561318cadf081a00c0a2dbe1f8c 09:17:31 $ docker rm -f 75427705844c75dda057394722d5a1cb3ec11561318cadf081a00c0a2dbe1f8c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 09:17:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:17:32 09:17:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 09:17:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:17:32 0.23.1-centos7: Pulling from edgex-lftools 09:17:32 ab5ef0e58194: Pulling fs layer 09:17:32 9712f1f96733: Pulling fs layer 09:17:32 63f879dbbcfc: Pulling fs layer 09:17:32 0d9ebad4ef96: Pulling fs layer 09:17:32 e9a5061849ea: Pulling fs layer 09:17:32 d747dcd14b5f: Pulling fs layer 09:17:32 2de7ff778b66: Pulling fs layer 09:17:32 0d9ebad4ef96: Waiting 09:17:32 e9a5061849ea: Waiting 09:17:32 d747dcd14b5f: Waiting 09:17:32 9712f1f96733: Download complete 09:17:32 63f879dbbcfc: Verifying Checksum 09:17:32 63f879dbbcfc: Download complete 09:17:32 e9a5061849ea: Verifying Checksum 09:17:32 e9a5061849ea: Download complete 09:17:32 0d9ebad4ef96: Verifying Checksum 09:17:32 0d9ebad4ef96: Download complete 09:17:32 d747dcd14b5f: Verifying Checksum 09:17:32 d747dcd14b5f: Download complete 09:17:32 ab5ef0e58194: Verifying Checksum 09:17:32 ab5ef0e58194: Download complete 09:17:32 2de7ff778b66: Verifying Checksum 09:17:32 2de7ff778b66: Download complete 09:17:36 ab5ef0e58194: Pull complete 09:17:36 9712f1f96733: Pull complete 09:17:36 63f879dbbcfc: Pull complete 09:17:40 0d9ebad4ef96: Pull complete 09:17:41 e9a5061849ea: Pull complete 09:17:41 d747dcd14b5f: Pull complete 09:17:42 2de7ff778b66: Pull complete 09:17:42 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:17:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:17:42 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 09:17:42 prd-ubuntu20.04-docker-8c-8g-20790 does not seem to be running inside a container 09:17:42 $ 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 09:17:44 $ docker top 6711f2dd2a48c77a6e899ec8698bbb62037d09b30e554249b9ef1bb31c729159 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:17:44 provisioning config files... 09:17:44 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config895056948279899380tmp 09:17:44 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6898846444555528074tmp 09:17:44 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4933660328684088499tmp [Pipeline] { [Pipeline] echo 09:17:44 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:17:44 ---> sigul-configuration.sh 09:17:44 gpg: directory `/root/.gnupg' created 09:17:44 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:17:44 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:17:44 gpg: keyring `/root/.gnupg/secring.gpg' created 09:17:44 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:17:44 gpg: CAST5 encrypted data 09:17:44 gpg: encrypted with 1 passphrase 09:17:44 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:17:45 + mkdir /home/jenkins 09:17:45 + mkdir /home/jenkins/sigul [Pipeline] sh 09:17:45 + 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 09:17:45 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:17:45 ---> sigul-install.sh 09:17:45 Sigul already installed; skipping installation. [Pipeline] sh 09:17:46 + git tag --list 09:17:46 v1.0.0 09:17:46 v1.1.0 09:17:46 v1.1.1 09:17:46 v1.1.2 09:17:46 v1.2.0 09:17:46 v1.2.1 09:17:46 v2.0.0 09:17:46 v2.0.1-dev.1 09:17:46 v2.0.1-dev.10 09:17:46 v2.0.1-dev.11 09:17:46 v2.0.1-dev.12 09:17:46 v2.0.1-dev.13 09:17:46 v2.0.1-dev.14 09:17:46 v2.0.1-dev.2 09:17:46 v2.0.1-dev.3 09:17:46 v2.0.1-dev.4 09:17:46 v2.0.1-dev.5 09:17:46 v2.0.1-dev.6 09:17:46 v2.0.1-dev.7 09:17:46 v2.0.1-dev.8 09:17:46 v2.0.1-dev.9 09:17:46 v2.1.0 09:17:46 v2.2.0-dev.1 09:17:46 v2.2.0-dev.10 09:17:46 v2.2.0-dev.11 09:17:46 v2.2.0-dev.2 09:17:46 v2.2.0-dev.3 09:17:46 v2.2.0-dev.4 09:17:46 v2.2.0-dev.5 09:17:46 v2.2.0-dev.6 09:17:46 v2.2.0-dev.7 09:17:46 v2.2.0-dev.8 09:17:46 v2.2.0-dev.9 [Pipeline] sh 09:17:46 + lftools sign git-tag v2.2.0-dev.11 09:17:46 Signing Git tag with Sigul... 09:17:46 Signing v2.2.0-dev.11 [Pipeline] echo 09:17:47 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:17:47 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:17:47 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:17:47 $ docker stop --time=1 6711f2dd2a48c77a6e899ec8698bbb62037d09b30e554249b9ef1bb31c729159 09:17:49 $ docker rm -f 6711f2dd2a48c77a6e899ec8698bbb62037d09b30e554249b9ef1bb31c729159 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:17:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:17:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:17:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:17:49 . [Pipeline] withDockerContainer 09:17:49 prd-ubuntu20.04-docker-8c-8g-20790 does not seem to be running inside a container 09:17:50 $ 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 09:17:50 $ docker top cc0d022547b8682691ca045a184b58d6c0a76144610106949484ca6343a72058 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:17:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:17:50 [ssh-agent] Looking for ssh-agent implementation... 09:17:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:17:50 $ docker exec cc0d022547b8682691ca045a184b58d6c0a76144610106949484ca6343a72058 ssh-agent 09:17:50 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEiNHdn/agent.14 09:17:50 SSH_AGENT_PID=20 09:17:50 Running ssh-add (command line suppressed) 09:17:50 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6460949873644053776.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6460949873644053776.key) 09:17:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:17:51 + git semver bump pre 09:17:51 # -> Open(): unable to determine branch for HEAD 09:17:51 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 09:17:51 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 09:17:51 # $SEMVER_REMOTE_NAME = origin 09:17:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:17:51 # $SEMVER_USER_NAME = edgex-jenkins 09:17:51 # $SEMVER_BRANCH = main 09:17:51 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 09:17:51 2.2.0-dev.12 [Pipeline] } 09:17:51 $ docker exec --env ******** --env ******** cc0d022547b8682691ca045a184b58d6c0a76144610106949484ca6343a72058 ssh-agent -k 09:17:51 unset SSH_AUTH_SOCK; 09:17:51 unset SSH_AGENT_PID; 09:17:51 echo Agent pid 20 killed; 09:17:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:17:51 + git semver [Pipeline] } 09:17:51 $ docker stop --time=1 cc0d022547b8682691ca045a184b58d6c0a76144610106949484ca6343a72058 09:17:53 $ docker rm -f cc0d022547b8682691ca045a184b58d6c0a76144610106949484ca6343a72058 [Pipeline] // withDockerContainer [Pipeline] sh 09:17:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:17:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:17:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:17:53 . [Pipeline] withDockerContainer 09:17:53 prd-ubuntu20.04-docker-8c-8g-20790 does not seem to be running inside a container 09:17:53 $ 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 09:17:54 $ docker top 0f88752f592101df4b1c50aa26e99f7a2cba654860c17842d5c5cccca9315dd7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:17:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:17:54 [ssh-agent] Looking for ssh-agent implementation... 09:17:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:17:54 $ docker exec 0f88752f592101df4b1c50aa26e99f7a2cba654860c17842d5c5cccca9315dd7 ssh-agent 09:17:54 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJBJfFa/agent.15 09:17:54 SSH_AGENT_PID=22 09:17:54 Running ssh-add (command line suppressed) 09:17:54 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6705985538696601752.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6705985538696601752.key) 09:17:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:17:54 + git semver push 09:17:54 # -> Open(): unable to determine branch for HEAD 09:17:54 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 09:17:54 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 09:17:54 # $SEMVER_REMOTE_NAME = origin 09:17:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:17:54 # $SEMVER_USER_NAME = edgex-jenkins 09:17:54 # $SEMVER_BRANCH = main 09:17:54 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 09:17:56 $ docker exec --env ******** --env ******** 0f88752f592101df4b1c50aa26e99f7a2cba654860c17842d5c5cccca9315dd7 ssh-agent -k 09:17:56 unset SSH_AUTH_SOCK; 09:17:56 unset SSH_AGENT_PID; 09:17:56 echo Agent pid 22 killed; 09:17:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:17:56 + git semver [Pipeline] } 09:17:56 $ docker stop --time=1 0f88752f592101df4b1c50aa26e99f7a2cba654860c17842d5c5cccca9315dd7 09:17:58 $ docker rm -f 0f88752f592101df4b1c50aa26e99f7a2cba654860c17842d5c5cccca9315dd7 [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 09:17:58 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 09:17:58 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 09:17:58 total 16 09:17:58 drwxr-xr-x 3 root root 4096 Apr 13 09:09 . 09:17:58 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 09:17 .. 09:17:58 drwxr-xr-x 2 root root 4096 Apr 13 09:09 cost 09:17:58 -rw-r--r-- 1 root root 84 Apr 13 09:09 cost.csv 09:17:58 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 09:17:58 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 09:17:58 total 16 09:17:58 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 09:09 . 09:17:58 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 09:17 .. 09:17:58 drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 09:09 cost 09:17:58 -rw-r--r-- 1 jenkins jenkins 84 Apr 13 09:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:17:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:17:59 ---> package-listing.sh 09:17:59 ++ facter osfamily 09:17:59 ++ tr '[:upper:]' '[:lower:]' 09:18:00 + OS_FAMILY=debian 09:18:00 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 09:18:00 + START_PACKAGES=/tmp/packages_start.txt 09:18:00 + END_PACKAGES=/tmp/packages_end.txt 09:18:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:18:00 + PACKAGES=/tmp/packages_start.txt 09:18:00 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 09:18:00 + PACKAGES=/tmp/packages_end.txt 09:18:00 + case "${OS_FAMILY}" in 09:18:00 + dpkg -l 09:18:00 + grep '^ii' 09:18:00 + '[' -f /tmp/packages_start.txt ']' 09:18:00 + '[' -f /tmp/packages_end.txt ']' 09:18:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:18:00 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 09:18:00 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 09:18:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 09:18:00 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 09:18:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:18:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:18:00 . [Pipeline] withDockerContainer 09:18:01 prd-ubuntu20.04-docker-8c-8g-20790 does not seem to be running inside a container 09:18:01 $ 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 09:18:01 $ docker top 0edb1bb6c51c265b7c37e2d130506213964b13ce88d853605d796c0ada54b44f -eo pid,comm [Pipeline] { [Pipeline] sh 09:18:01 + touch /tmp/pre-build-complete [Pipeline] sh 09:18:01 + mkdir -p /var/log/sysstat [Pipeline] sh 09:18:02 + ls /var/log/sa-host 09:18:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:18:02 provisioning config files... 09:18:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3077457244369031509tmp [Pipeline] { [Pipeline] echo 09:18:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:18:02 ---> create-netrc.sh [Pipeline] } 09:18:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:18:02 ---> python-tools-install.sh [Pipeline] echo 09:18:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:18:03 ---> sudo-logs.sh 09:18:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:18:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:18:03 ---> job-cost.sh 09:18:03 lf-activate-venv: SKIPPING 09:18:03 DEBUG: total: 0.2199999988079071 09:18:03 INFO: Retrieving Stack Cost... 09:18:04 INFO: Retrieving Pricing Info for: v3-standard-8 09:18:04 INFO: Archiving Costs [Pipeline] echo 09:18:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:18:05 ---> logs-deploy.sh 09:18:05 lf-activate-venv: SKIPPING 09:18:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/32 09:18:05 INFO: archiving workspace using pattern(s): 09:18:05 Archives upload complete. 09:18:06 INFO: archiving logs to Nexus 09:18:06 ---> uname -a: 09:18:06 Linux prd-ubuntu20-04-docker-8c-8g-20790 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 09:18:06 09:18:06 09:18:06 ---> lscpu: 09:18:06 Architecture: x86_64 09:18:06 CPU op-mode(s): 32-bit, 64-bit 09:18:06 Byte Order: Little Endian 09:18:06 Address sizes: 40 bits physical, 48 bits virtual 09:18:06 CPU(s): 8 09:18:06 On-line CPU(s) list: 0-7 09:18:06 Thread(s) per core: 1 09:18:06 Core(s) per socket: 1 09:18:06 Socket(s): 8 09:18:06 NUMA node(s): 1 09:18:06 Vendor ID: AuthenticAMD 09:18:06 CPU family: 23 09:18:06 Model: 49 09:18:06 Model name: AMD EPYC-Rome Processor 09:18:06 Stepping: 0 09:18:06 CPU MHz: 2799.976 09:18:06 BogoMIPS: 5599.95 09:18:06 Virtualization: AMD-V 09:18:06 Hypervisor vendor: KVM 09:18:06 Virtualization type: full 09:18:06 L1d cache: 256 KiB 09:18:06 L1i cache: 256 KiB 09:18:06 L2 cache: 4 MiB 09:18:06 L3 cache: 128 MiB 09:18:06 NUMA node0 CPU(s): 0-7 09:18:06 Vulnerability Itlb multihit: Not affected 09:18:06 Vulnerability L1tf: Not affected 09:18:06 Vulnerability Mds: Not affected 09:18:06 Vulnerability Meltdown: Not affected 09:18:06 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:18:06 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 09:18:06 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 09:18:06 Vulnerability Srbds: Not affected 09:18:06 Vulnerability Tsx async abort: Not affected 09:18:06 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 09:18:06 09:18:06 09:18:06 ---> nproc: 09:18:06 8 09:18:06 09:18:06 09:18:06 ---> df -h: 09:18:06 Filesystem Size Used Avail Use% Mounted on 09:18:06 overlay 155G 12G 144G 8% / 09:18:06 tmpfs 64M 0 64M 0% /dev 09:18:06 tmpfs 16G 0 16G 0% /sys/fs/cgroup 09:18:06 shm 64M 0 64M 0% /dev/shm 09:18:06 /dev/vda1 155G 12G 144G 8% /facter-os 09:18:06 09:18:06