Started by user Ernesto Ojeda Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 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-ssh68234120165235270.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh17910454198671235959.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15458379178119107293.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > 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 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-ssh16091961291088016900.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh348395884951719073.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-19366’ Running on prd-ubuntu20.04-docker-8c-8g-19372 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 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 (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 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 # timeout=10 Commit message: "Merge pull request #205 from lenny-intel/Go1.18" > git rev-list --no-walk 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:50:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:50:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:50:32 ========================================================= 21:50:32 EdgeX Global Pipelines Version Info 21:50:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:50:33 ------------------- 21:50:33 stable info: 21:50:33 ------------------- 21:50:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:50:33 Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 21:50:33 Message: update stable to v1.0.237 21:50:34 ------------------- 21:50:34 experimental info: 21:50:34 ------------------- 21:50:34 Commited By: **** collab-it+edgex@linuxfoundation.org 21:50:34 Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 21:50:34 Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 328f14c [Pipeline] echo 21:50:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:50:34 provisioning config files... 21:50:34 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7895188840485436604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:50:35 ---> docker-login.sh 21:50:35 nexus3.edgexfoundry.org:10001 21:50:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:35 Configure a credential helper to remove this warning. See 21:50:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:35 21:50:35 Login Succeeded 21:50:35 nexus3.edgexfoundry.org:10002 21:50:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:35 Configure a credential helper to remove this warning. See 21:50:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:35 21:50:35 Login Succeeded 21:50:35 nexus3.edgexfoundry.org:10003 21:50:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:36 Configure a credential helper to remove this warning. See 21:50:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:36 21:50:36 Login Succeeded 21:50:36 nexus3.edgexfoundry.org:10004 21:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:36 Configure a credential helper to remove this warning. See 21:50:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:36 21:50:36 Login Succeeded 21:50:36 docker.io 21:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:36 Configure a credential helper to remove this warning. See 21:50:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:36 21:50:36 Login Succeeded 21:50:36 ---> docker-login.sh ends [Pipeline] } 21:50:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:50:37 + git rev-list -1 --merges 328f14cd4e0e2f12280e28257e4d0d1118a94cd7~1..328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [Pipeline] echo 21:50:37 -----------> git rev-list -1 --merges 328f14cd4e0e2f12280e28257e4d0d1118a94cd7~1..328f14cd4e0e2f12280e28257e4d0d1118a94cd7 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 21:50:37 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [false] [Pipeline] sh 21:50:37 + git log --format=format:%s -1 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [Pipeline] echo 21:50:37 ========================================================= 21:50:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:50:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:50:37 + git log --format=format:%s -1 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [Pipeline] echo 21:50:37 [semverPrep] GIT_COMMIT: 328f14cd4e0e2f12280e28257e4d0d1118a94cd7, Commit Message: Merge pull request #205 from lenny-intel/Go1.18 [Pipeline] echo 21:50:37 [semverPrep] This is not a build commit. [Pipeline] sh 21:50:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:50:38 + grep -v github /etc/ssh/ssh_known_hosts 21:50:38 + [ -e /tmp/ssh_known_hosts ] 21:50:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:50:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:50:38 + sudo tee -a /etc/ssh/ssh_known_hosts 21:50:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:50:38 21:50:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:50:38 0.1.4: Pulling from edgex-devops/py-git-semver 21:50:38 b85a868b505f: Pulling fs layer 21:50:38 e2be974225ed: Pulling fs layer 21:50:38 339a4e72a1f5: Pulling fs layer 21:50:38 988bab9f4d93: Pulling fs layer 21:50:38 1469e6f7b9e6: Pulling fs layer 21:50:38 eaf3925da568: Pulling fs layer 21:50:38 bab4dde63d76: Pulling fs layer 21:50:38 bde34c3a00c8: Pulling fs layer 21:50:38 b352a97aabf1: Pulling fs layer 21:50:38 4872d77fe225: Pulling fs layer 21:50:38 5851b861e8e6: Pulling fs layer 21:50:38 bab4dde63d76: Waiting 21:50:38 4872d77fe225: Waiting 21:50:38 5851b861e8e6: Waiting 21:50:38 bde34c3a00c8: Waiting 21:50:38 988bab9f4d93: Waiting 21:50:38 1469e6f7b9e6: Waiting 21:50:38 eaf3925da568: Waiting 21:50:38 b352a97aabf1: Waiting 21:50:38 e2be974225ed: Download complete 21:50:38 988bab9f4d93: Download complete 21:50:38 1469e6f7b9e6: Verifying Checksum 21:50:38 1469e6f7b9e6: Download complete 21:50:38 eaf3925da568: Verifying Checksum 21:50:38 eaf3925da568: Download complete 21:50:38 339a4e72a1f5: Verifying Checksum 21:50:38 339a4e72a1f5: Download complete 21:50:38 bde34c3a00c8: Verifying Checksum 21:50:38 bde34c3a00c8: Download complete 21:50:38 b352a97aabf1: Download complete 21:50:38 4872d77fe225: Verifying Checksum 21:50:38 4872d77fe225: Download complete 21:50:38 5851b861e8e6: Verifying Checksum 21:50:38 5851b861e8e6: Download complete 21:50:38 b85a868b505f: Verifying Checksum 21:50:38 b85a868b505f: Download complete 21:50:39 bab4dde63d76: Verifying Checksum 21:50:39 bab4dde63d76: Download complete 21:50:40 b85a868b505f: Pull complete 21:50:40 e2be974225ed: Pull complete 21:50:41 339a4e72a1f5: Pull complete 21:50:41 988bab9f4d93: Pull complete 21:50:41 1469e6f7b9e6: Pull complete 21:50:42 eaf3925da568: Pull complete 21:50:43 bab4dde63d76: Pull complete 21:50:44 bde34c3a00c8: Pull complete 21:50:44 b352a97aabf1: Pull complete 21:50:44 4872d77fe225: Pull complete 21:50:44 5851b861e8e6: Pull complete 21:50:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:50:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:50:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:50:44 prd-ubuntu20.04-docker-8c-8g-19372 does not seem to be running inside a container 21:50:44 $ 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:10003/edgex-devops/py-git-semver:0.1.4 cat 21:50:46 $ docker top 3f90f15e94ad9418aa419b5d81457a9cc69f139f7c281ce8db9f566703f3f099 -eo pid,comm 21:50:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:50:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:50:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:50:46 [ssh-agent] Looking for ssh-agent implementation... 21:50:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:50:46 $ docker exec 3f90f15e94ad9418aa419b5d81457a9cc69f139f7c281ce8db9f566703f3f099 ssh-agent 21:50:46 SSH_AUTH_SOCK=/tmp/ssh-cX32ozlaIJbc/agent.33 21:50:46 SSH_AGENT_PID=39 21:50:46 Running ssh-add (command line suppressed) 21:50:46 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6326594770785058538.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6326594770785058538.key) 21:50:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:50:46 + git tag --points-at HEAD [Pipeline] } 21:50:46 $ docker exec --env ******** --env ******** 3f90f15e94ad9418aa419b5d81457a9cc69f139f7c281ce8db9f566703f3f099 ssh-agent -k 21:50:47 unset SSH_AUTH_SOCK; 21:50:47 unset SSH_AGENT_PID; 21:50:47 echo Agent pid 39 killed; 21:50:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 21:50:47 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.2.1-dev.8' [Pipeline] sshagent 21:50:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:50:47 [ssh-agent] Looking for ssh-agent implementation... 21:50:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:50:47 $ docker exec 3f90f15e94ad9418aa419b5d81457a9cc69f139f7c281ce8db9f566703f3f099 ssh-agent 21:50:47 SSH_AUTH_SOCK=/tmp/ssh-66BH5OZld5ja/agent.72 21:50:47 SSH_AGENT_PID=78 21:50:47 Running ssh-add (command line suppressed) 21:50:47 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2933528012761330779.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2933528012761330779.key) 21:50:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:50:47 + git semver init 21:50:48 2022-07-11 21:50:48,064 [run_init] DEBUG init version:0.0.0 force:False 21:50:48 2022-07-11 21:50:48,064 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 21:50:48 2022-07-11 21:50:48,065 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 21:50:48 2022-07-11 21:50:48,065 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:50:49 2022-07-11 21:50:48,958 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 21:50:49 2022-07-11 21:50:48,959 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 21:50:49 2022-07-11 21:50:48,959 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:50:49 2022-07-11 21:50:48,959 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:50:49 2.2.1-dev.9 [Pipeline] } 21:50:49 $ docker exec --env ******** --env ******** 3f90f15e94ad9418aa419b5d81457a9cc69f139f7c281ce8db9f566703f3f099 ssh-agent -k 21:50:49 unset SSH_AUTH_SOCK; 21:50:49 unset SSH_AGENT_PID; 21:50:49 echo Agent pid 78 killed; 21:50:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:50:49 + git semver [Pipeline] } 21:50:49 $ docker stop --time=1 3f90f15e94ad9418aa419b5d81457a9cc69f139f7c281ce8db9f566703f3f099 21:50:51 $ docker rm -f 3f90f15e94ad9418aa419b5d81457a9cc69f139f7c281ce8db9f566703f3f099 [Pipeline] // withDockerContainer [Pipeline] sh 21:50:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:50:51 Stashed 1 file(s) [Pipeline] echo 21:50:51 [edgeXSemver]: initialized semver on version 2.2.1-dev.9 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:50:51 provisioning config files... 21:50:51 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7064139576738959576tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:50:52 ---> docker-login.sh 21:50:52 nexus3.edgexfoundry.org:10001 21:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:52 Configure a credential helper to remove this warning. See 21:50:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:52 21:50:52 Login Succeeded 21:50:52 nexus3.edgexfoundry.org:10002 21:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:52 Configure a credential helper to remove this warning. See 21:50:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:52 21:50:52 Login Succeeded 21:50:52 nexus3.edgexfoundry.org:10003 21:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:52 Configure a credential helper to remove this warning. See 21:50:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:52 21:50:52 Login Succeeded 21:50:52 nexus3.edgexfoundry.org:10004 21:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:52 Configure a credential helper to remove this warning. See 21:50:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:52 21:50:52 Login Succeeded 21:50:52 docker.io 21:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:52 Configure a credential helper to remove this warning. See 21:50:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:52 21:50:53 Login Succeeded 21:50:53 ---> docker-login.sh ends [Pipeline] } 21:50:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:50:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:50:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:50:53 ========================================================= 21:50:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:50:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:53 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:50:53 Sending build context to Docker daemon 10.68MB 21:50:53 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:50:53 Step 2/12 : FROM ${BASE} AS builder 21:50:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:50:53 2408cc74d12b: Pulling fs layer 21:50:53 ea60b727a1ce: Pulling fs layer 21:50:53 30c4a7721957: Pulling fs layer 21:50:53 370296b7ddb6: Pulling fs layer 21:50:53 7c6cee850709: Pulling fs layer 21:50:53 39a5fcdaea64: Pulling fs layer 21:50:53 d94ebbe4e438: Pulling fs layer 21:50:53 bcfd1f05c69d: Pulling fs layer 21:50:53 59ccb84bbe0f: Pulling fs layer 21:50:53 370296b7ddb6: Waiting 21:50:53 7c6cee850709: Waiting 21:50:53 39a5fcdaea64: Waiting 21:50:53 d94ebbe4e438: Waiting 21:50:53 bcfd1f05c69d: Waiting 21:50:53 59ccb84bbe0f: Waiting 21:50:53 30c4a7721957: Verifying Checksum 21:50:53 30c4a7721957: Download complete 21:50:53 ea60b727a1ce: Verifying Checksum 21:50:53 ea60b727a1ce: Download complete 21:50:53 7c6cee850709: Download complete 21:50:53 39a5fcdaea64: Download complete 21:50:53 2408cc74d12b: Verifying Checksum 21:50:53 2408cc74d12b: Download complete 21:50:53 d94ebbe4e438: Download complete 21:50:53 2408cc74d12b: Pull complete 21:50:54 ea60b727a1ce: Pull complete 21:50:54 30c4a7721957: Pull complete 21:50:55 59ccb84bbe0f: Verifying Checksum 21:50:55 59ccb84bbe0f: Download complete 21:50:55 370296b7ddb6: Verifying Checksum 21:50:55 370296b7ddb6: Download complete 21:50:55 bcfd1f05c69d: Verifying Checksum 21:50:55 bcfd1f05c69d: Download complete 21:51:00 370296b7ddb6: Pull complete 21:51:00 7c6cee850709: Pull complete 21:51:00 39a5fcdaea64: Pull complete 21:51:00 d94ebbe4e438: Pull complete 21:51:02 bcfd1f05c69d: Pull complete 21:51:03 59ccb84bbe0f: Pull complete 21:51:03 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 21:51:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:51:03 ---> a4fb48ad2a94 21:51:03 Step 3/12 : ARG MAKE='make build' 21:51:05 ---> Running in 9e3b2f4a8718 21:51:05 Removing intermediate container 9e3b2f4a8718 21:51:05 ---> f8259ce1f598 21:51:05 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:51:05 ---> Running in 051d453dea24 21:51:05 Removing intermediate container 051d453dea24 21:51:05 ---> 414e15b89bc4 21:51:05 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 21:51:05 ---> Running in 4f3b67822561 21:51:05 Removing intermediate container 4f3b67822561 21:51:05 ---> 6ff7c3673f90 21:51:05 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:51:05 ---> Running in 659fe9e96f9b 21:51:06 Removing intermediate container 659fe9e96f9b 21:51:06 ---> 435bed712b44 21:51:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:51:06 ---> Running in 84f3ef64b7a0 21:51:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:51:06 Still waiting to schedule task 21:51:06 ‘prd-ubuntu20.04-docker-arm64-4c-16g-19367’ is offline 21:51:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:51:07 (1/4) Installing openssh-keygen (9.0_p1-r1) 21:51:07 (2/4) Installing libedit (20210910.3.1-r0) 21:51:07 (3/4) Installing openssh-client-common (9.0_p1-r1) 21:51:07 (4/4) Installing openssh-client-default (9.0_p1-r1) 21:51:07 Executing busybox-1.35.0-r13.trigger 21:51:07 OK: 216 MiB in 55 packages 21:51:08 Removing intermediate container 84f3ef64b7a0 21:51:08 ---> 5ed521a2fa59 21:51:08 Step 8/12 : WORKDIR /device-rest-go 21:51:08 ---> Running in 614a21bf0e28 21:51:08 Removing intermediate container 614a21bf0e28 21:51:08 ---> ba962a3dc61f 21:51:08 Step 9/12 : COPY go.mod vendor* ./ 21:51:08 ---> 7a7ec392db7f 21:51:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:51:08 ---> Running in 8e7890c29c5e 21:51:23 Removing intermediate container 8e7890c29c5e 21:51:23 ---> d75f16ccff5b 21:51:23 Step 11/12 : COPY . . 21:51:23 ---> f40315227634 21:51:23 Step 12/12 : RUN $MAKE 21:51:23 ---> Running in 6e8a022e42da 21:51:23 noop 21:51:24 Removing intermediate container 6e8a022e42da 21:51:24 ---> fbcae3faecf3 21:51:24 Successfully built fbcae3faecf3 21:51:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:24 + docker inspect -f . ci-base-image-x86_64 21:51:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:51:24 prd-ubuntu20.04-docker-8c-8g-19372 does not seem to be running inside a container 21:51:24 $ 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 ******** -e ******** ci-base-image-x86_64 cat 21:51:25 $ docker top e65593d0c7db83598f719f77d1e46d3ab845ac946f4e1ef2c21e22ee742c63f9 -eo pid,comm [Pipeline] { [Pipeline] sh 21:51:25 + go version 21:51:25 go version go1.18.3 linux/amd64 [Pipeline] } 21:51:25 $ docker stop --time=1 e65593d0c7db83598f719f77d1e46d3ab845ac946f4e1ef2c21e22ee742c63f9 21:51:26 $ docker rm -f e65593d0c7db83598f719f77d1e46d3ab845ac946f4e1ef2c21e22ee742c63f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:27 + docker inspect -f . ci-base-image-x86_64 21:51:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:51:27 prd-ubuntu20.04-docker-8c-8g-19372 does not seem to be running inside a container 21:51:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 ******** -e ******** ci-base-image-x86_64 cat 21:51:27 $ docker top cf11dfa8efd9ae23355f1557f1360071e4ffdd2bfa8bebb536cc1c5d2af8460e -eo pid,comm [Pipeline] { [Pipeline] sh 21:51:28 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 21:51:28 + make test 21:51:28 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:51:28 ? github.com/edgexfoundry/device-rest-go [no test files] 21:51:36 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:51:37 ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 55.2% of statements 21:51:43 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 21:51:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:51:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:51:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:51:46 ./bin/test-attribution-txt.sh [Pipeline] echo 21:51:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:51:46 $ docker stop --time=1 cf11dfa8efd9ae23355f1557f1360071e4ffdd2bfa8bebb536cc1c5d2af8460e 21:51:48 $ docker rm -f cf11dfa8efd9ae23355f1557f1360071e4ffdd2bfa8bebb536cc1c5d2af8460e [Pipeline] // withDockerContainer [Pipeline] sh 21:51:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:51:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:51:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:51:49 + ls -al . 21:51:49 total 172 21:51:49 drwxrwxr-x 9 jenkins jenkins 4096 Jul 11 21:51 . 21:51:49 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 21:50 .. 21:51:49 -rw-rw-r-- 1 jenkins jenkins 151 Jul 11 21:50 .dockerignore 21:51:49 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 21:51 .git 21:51:49 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 21:50 .github 21:51:49 -rw-rw-r-- 1 jenkins jenkins 329 Jul 11 21:50 .gitignore 21:51:49 -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 21:50 .golangci.yml 21:51:49 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 21:50 .semver 21:51:49 -rw-rw-r-- 1 jenkins jenkins 8724 Jul 11 21:50 Attribution.txt 21:51:49 -rw-rw-r-- 1 jenkins jenkins 11736 Jul 11 21:50 CHANGELOG.md 21:51:49 -rw-rw-r-- 1 jenkins jenkins 1674 Jul 11 21:50 Dockerfile 21:51:49 -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 21:50 GOVERNANCE.md 21:51:49 -rw-rw-r-- 1 jenkins jenkins 680 Jul 11 21:50 Jenkinsfile 21:51:49 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 21:50 LICENSE 21:51:49 -rw-rw-r-- 1 jenkins jenkins 1964 Jul 11 21:50 Makefile 21:51:49 -rw-rw-r-- 1 jenkins jenkins 620 Jul 11 21:50 OWNERS.md 21:51:49 -rw-rw-r-- 1 jenkins jenkins 8003 Jul 11 21:50 README.md 21:51:49 -rw-rw-r-- 1 jenkins jenkins 11 Jul 11 21:50 VERSION 21:51:49 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 21:50 bin 21:51:49 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 21:50 cmd 21:51:49 -rw-r--r-- 1 jenkins jenkins 9355 Jul 11 21:51 coverage.out 21:51:49 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 21:50 driver 21:51:49 -rw-rw-r-- 1 jenkins jenkins 3338 Jul 11 21:50 go.mod 21:51:49 -rw-rw-r-- 1 jenkins jenkins 35351 Jul 11 21:50 go.sum 21:51:49 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 21:50 snap 21:51:49 -rw-rw-r-- 1 jenkins jenkins 713 Jul 11 21:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:49 + 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=328f14cd4e0e2f12280e28257e4d0d1118a94cd7 --label arch=amd64 --label version=2.2.1-dev.9 . 21:51:49 Sending build context to Docker daemon 10.69MB 21:51:49 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 21:51:49 Step 2/25 : FROM ${BASE} AS builder 21:51:49 ---> fbcae3faecf3 21:51:49 Step 3/25 : ARG MAKE='make build' 21:51:49 ---> Running in c42f0c8629b3 21:51:50 Removing intermediate container c42f0c8629b3 21:51:50 ---> c4216a4b79ad 21:51:50 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:51:50 ---> Running in 276da698e16b 21:51:50 Removing intermediate container 276da698e16b 21:51:50 ---> 11f25927ec38 21:51:50 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 21:51:50 ---> Running in 7ee67be3e9f3 21:51:50 Removing intermediate container 7ee67be3e9f3 21:51:50 ---> 63a3b8513385 21:51:50 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:51:50 ---> Running in 70d4537308e3 21:51:50 Removing intermediate container 70d4537308e3 21:51:50 ---> 264d97cb49f0 21:51:50 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:51:50 ---> Running in 6f4edf571d28 21:51:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:51:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:51:52 OK: 216 MiB in 55 packages 21:51:52 Removing intermediate container 6f4edf571d28 21:51:52 ---> 13cd9ababd7d 21:51:52 Step 8/25 : WORKDIR /device-rest-go 21:51:52 ---> Running in 17fe7c8f3a70 21:51:52 Removing intermediate container 17fe7c8f3a70 21:51:52 ---> 9bb036c56340 21:51:52 Step 9/25 : COPY go.mod vendor* ./ 21:51:52 ---> 2eff521adac4 21:51:52 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:51:52 ---> Running in ee17c3e3eb59 21:51:53 Removing intermediate container ee17c3e3eb59 21:51:53 ---> 4940fe90d7e6 21:51:53 Step 11/25 : COPY . . 21:51:53 ---> 9ef16388e3d2 21:51:53 Step 12/25 : RUN $MAKE 21:51:54 ---> Running in 7e0f7fdb5dc4 21:51:54 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.9" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 21:52:16 Removing intermediate container 7e0f7fdb5dc4 21:52:16 ---> fada6cc10a0a 21:52:16 Step 13/25 : FROM alpine:3.16 21:52:16 3.16: Pulling from library/alpine 21:52:16 2408cc74d12b: Already exists 21:52:16 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 21:52:16 Status: Downloaded newer image for alpine:3.16 21:52:16 ---> e66264b98777 21:52:16 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:52:16 ---> Running in 7db4528743aa 21:52:16 Removing intermediate container 7db4528743aa 21:52:16 ---> e2d36c958f88 21:52:16 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:52:16 ---> Running in d8c8ece8b941 21:52:16 Removing intermediate container d8c8ece8b941 21:52:16 ---> f5a717b2cd8e 21:52:16 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 21:52:16 ---> Running in a429c4978812 21:52:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:52:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:52:16 (1/6) Installing dumb-init (1.2.5-r1) 21:52:16 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:52:16 (3/6) Installing libsodium (1.0.18-r0) 21:52:16 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:52:16 (5/6) Installing libzmq (4.3.4-r0) 21:52:16 (6/6) Installing zeromq (4.3.4-r0) 21:52:16 Executing busybox-1.35.0-r13.trigger 21:52:16 OK: 8 MiB in 20 packages 21:52:16 Removing intermediate container a429c4978812 21:52:16 ---> e75effb05a0b 21:52:16 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:52:16 ---> ae49ceab7af6 21:52:16 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:52:16 ---> 96c3c4c20c64 21:52:16 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:52:16 ---> 7de283ef8139 21:52:16 Step 20/25 : EXPOSE 59986 21:52:16 ---> Running in 68ac54ebbb97 21:52:16 Removing intermediate container 68ac54ebbb97 21:52:16 ---> b0b6826e456c 21:52:16 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:52:16 ---> Running in 059237956f3e 21:52:16 Removing intermediate container 059237956f3e 21:52:16 ---> 8327ee73b4c5 21:52:16 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 21:52:16 ---> Running in c55377a75fc2 21:52:17 Removing intermediate container c55377a75fc2 21:52:17 ---> 8bd67ceab493 21:52:17 Step 23/25 : LABEL arch=amd64 21:52:17 ---> Running in caff60643408 21:52:17 Removing intermediate container caff60643408 21:52:17 ---> 7c767e978411 21:52:17 Step 24/25 : LABEL git_sha=328f14cd4e0e2f12280e28257e4d0d1118a94cd7 21:52:17 ---> Running in b67978bfade7 21:52:17 Removing intermediate container b67978bfade7 21:52:17 ---> 829417e7ad6d 21:52:17 Step 25/25 : LABEL version=2.2.1-dev.9 21:52:17 ---> Running in b879cb5a07f0 21:52:17 Removing intermediate container b879cb5a07f0 21:52:17 ---> 76afc019c07c 21:52:17 [Warning] One or more build-args [ARCH] were not consumed 21:52:17 Successfully built 76afc019c07c 21:52:17 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:52:17 provisioning config files... 21:52:17 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2622523454849399545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:52:17 ---> docker-login.sh 21:52:17 nexus3.edgexfoundry.org:10001 21:52:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:17 Configure a credential helper to remove this warning. See 21:52:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:17 21:52:17 Login Succeeded 21:52:17 nexus3.edgexfoundry.org:10002 21:52:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:17 Configure a credential helper to remove this warning. See 21:52:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:17 21:52:17 Login Succeeded 21:52:17 nexus3.edgexfoundry.org:10003 21:52:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:17 Configure a credential helper to remove this warning. See 21:52:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:17 21:52:17 Login Succeeded 21:52:17 nexus3.edgexfoundry.org:10004 21:52:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:18 Configure a credential helper to remove this warning. See 21:52:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:18 21:52:18 Login Succeeded 21:52:18 docker.io 21:52:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:18 Configure a credential helper to remove this warning. See 21:52:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:18 21:52:18 Login Succeeded 21:52:18 ---> docker-login.sh ends [Pipeline] } 21:52:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:52:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:52:18 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 21:52:18 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 21:52:18 latest 21:52:18 2.2.1-dev.9 21:52:18 328f14cd4e0e2f12280e28257e4d0d1118a94cd7-2.2.1-dev.9 21:52:18 main 21:52:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:18 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:19 + docker push nexus3.edgexfoundry.org:10004/device-rest:328f14cd4e0e2f12280e28257e4d0d1118a94cd7 21:52:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:52:19 121f2dbd1e0c: Preparing 21:52:19 11c30ef57e0a: Preparing 21:52:19 f9825e399aaa: Preparing 21:52:19 6c51cece54d8: Preparing 21:52:19 24302eb7d908: Preparing 21:52:19 24302eb7d908: Layer already exists 21:52:19 11c30ef57e0a: Pushed 21:52:19 121f2dbd1e0c: Pushed 21:52:19 6c51cece54d8: Pushed 21:52:22 f9825e399aaa: Pushed 21:52:22 328f14cd4e0e2f12280e28257e4d0d1118a94cd7: digest: sha256:d8a51c7078cbca18d1c392d669b90a45c4e4782a043cec34ae2cf01218c9bdb6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:22 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:22 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 21:52:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:52:22 121f2dbd1e0c: Preparing 21:52:22 11c30ef57e0a: Preparing 21:52:22 f9825e399aaa: Preparing 21:52:22 6c51cece54d8: Preparing 21:52:22 24302eb7d908: Preparing 21:52:22 11c30ef57e0a: Layer already exists 21:52:22 24302eb7d908: Layer already exists 21:52:22 121f2dbd1e0c: Layer already exists 21:52:22 6c51cece54d8: Layer already exists 21:52:22 f9825e399aaa: Layer already exists 21:52:22 latest: digest: sha256:d8a51c7078cbca18d1c392d669b90a45c4e4782a043cec34ae2cf01218c9bdb6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:22 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:23 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.9 21:52:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:52:23 121f2dbd1e0c: Preparing 21:52:23 11c30ef57e0a: Preparing 21:52:23 f9825e399aaa: Preparing 21:52:23 6c51cece54d8: Preparing 21:52:23 24302eb7d908: Preparing 21:52:23 f9825e399aaa: Layer already exists 21:52:23 121f2dbd1e0c: Layer already exists 21:52:23 6c51cece54d8: Layer already exists 21:52:23 24302eb7d908: Layer already exists 21:52:23 11c30ef57e0a: Layer already exists 21:52:23 2.2.1-dev.9: digest: sha256:d8a51c7078cbca18d1c392d669b90a45c4e4782a043cec34ae2cf01218c9bdb6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:23 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:328f14cd4e0e2f12280e28257e4d0d1118a94cd7-2.2.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:23 + docker push nexus3.edgexfoundry.org:10004/device-rest:328f14cd4e0e2f12280e28257e4d0d1118a94cd7-2.2.1-dev.9 21:52:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:52:23 121f2dbd1e0c: Preparing 21:52:23 11c30ef57e0a: Preparing 21:52:23 f9825e399aaa: Preparing 21:52:23 6c51cece54d8: Preparing 21:52:23 24302eb7d908: Preparing 21:52:23 121f2dbd1e0c: Layer already exists 21:52:23 11c30ef57e0a: Layer already exists 21:52:23 24302eb7d908: Layer already exists 21:52:23 f9825e399aaa: Layer already exists 21:52:23 6c51cece54d8: Layer already exists 21:52:23 328f14cd4e0e2f12280e28257e4d0d1118a94cd7-2.2.1-dev.9: digest: sha256:d8a51c7078cbca18d1c392d669b90a45c4e4782a043cec34ae2cf01218c9bdb6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:24 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:24 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 21:52:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:52:24 121f2dbd1e0c: Preparing 21:52:24 11c30ef57e0a: Preparing 21:52:24 f9825e399aaa: Preparing 21:52:24 6c51cece54d8: Preparing 21:52:24 24302eb7d908: Preparing 21:52:24 121f2dbd1e0c: Layer already exists 21:52:24 f9825e399aaa: Layer already exists 21:52:24 11c30ef57e0a: Layer already exists 21:52:24 24302eb7d908: Layer already exists 21:52:24 6c51cece54d8: Layer already exists 21:52:24 main: digest: sha256:d8a51c7078cbca18d1c392d669b90a45c4e4782a043cec34ae2cf01218c9bdb6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:52:24 ===================================================== [Pipeline] echo 21:52:24 taggedImages: 21:52:24 - nexus3.edgexfoundry.org:10004/device-rest:328f14cd4e0e2f12280e28257e4d0d1118a94cd7 21:52:24 - nexus3.edgexfoundry.org:10004/device-rest:latest 21:52:24 - nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.9 21:52:24 - nexus3.edgexfoundry.org:10004/device-rest:328f14cd4e0e2f12280e28257e4d0d1118a94cd7-2.2.1-dev.9 21:52:24 - 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] withEnv [Pipeline] { [Pipeline] sh 21:52:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:52:25 21:52:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:52:25 latest: Pulling from edgex-lftools-log-publisher 21:52:25 5eb5b503b376: Pulling fs layer 21:52:25 5c69ac0246d0: Pulling fs layer 21:52:25 ec43610c2a17: Pulling fs layer 21:52:25 3a2ae6a8a46f: Pulling fs layer 21:52:25 33b1e0a273af: Pulling fs layer 21:52:25 5d3b04190fa2: Pulling fs layer 21:52:25 2f39f015ded8: Pulling fs layer 21:52:25 3a2ae6a8a46f: Waiting 21:52:25 5d3b04190fa2: Waiting 21:52:25 33b1e0a273af: Waiting 21:52:25 5c69ac0246d0: Verifying Checksum 21:52:25 5c69ac0246d0: Download complete 21:52:25 3a2ae6a8a46f: Verifying Checksum 21:52:25 3a2ae6a8a46f: Download complete 21:52:25 33b1e0a273af: Verifying Checksum 21:52:25 33b1e0a273af: Download complete 21:52:25 5d3b04190fa2: Verifying Checksum 21:52:25 5d3b04190fa2: Download complete 21:52:25 ec43610c2a17: Verifying Checksum 21:52:25 ec43610c2a17: Download complete 21:52:25 5eb5b503b376: Verifying Checksum 21:52:25 5eb5b503b376: Download complete 21:52:26 2f39f015ded8: Download complete 21:52:26 5eb5b503b376: Pull complete 21:52:26 5c69ac0246d0: Pull complete 21:52:27 ec43610c2a17: Pull complete 21:52:27 3a2ae6a8a46f: Pull complete 21:52:27 33b1e0a273af: Pull complete 21:52:27 5d3b04190fa2: Pull complete 21:52:31 2f39f015ded8: Pull complete 21:52:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:52:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:52:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:52:31 prd-ubuntu20.04-docker-8c-8g-19372 does not seem to be running inside a container 21:52:31 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:52:34 $ docker top 7fb2c4686267e51fdf6556f4f682e7221ca4b59b758d4b8918778068ab299b01 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:52:34 ---> job-cost.sh 21:52:34 lf-activate-venv: SKIPPING 21:52:34 INFO: No Stack... 21:52:34 INFO: Retrieving Pricing Info for: v3-standard-8 21:52:35 INFO: Archiving Costs [Pipeline] sh 21:52:35 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 21:52:35 + cut -d, -f6 [Pipeline] lock 21:52:35 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-51-stack-cost] 21:52:35 Resource [jenkins-edgexfoundry-device-rest-go-main-51-stack-cost] did not exist. Created. 21:52:35 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:52:36 + echo total: 0.2199999988079071 [Pipeline] stash 21:52:36 Stashed 1 file(s) [Pipeline] } 21:52:36 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-51-stack-cost] [Pipeline] // lock [Pipeline] } 21:52:36 $ docker stop --time=1 7fb2c4686267e51fdf6556f4f682e7221ca4b59b758d4b8918778068ab299b01 21:52:37 $ docker rm -f 7fb2c4686267e51fdf6556f4f682e7221ca4b59b758d4b8918778068ab299b01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:54:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19385 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 21:54:30 Running in /w/workspace/device-rest-go/51 [Pipeline] { [Pipeline] checkout 21:54:30 The recommended git tool is: git 21:54:39 using credential edgex-jenkins-ssh 21:54:39 Cloning the remote Git repository 21:54:39 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:54:39 > git init /w/workspace/device-rest-go/51 # timeout=10 21:54:40 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:54:40 > git --version # timeout=10 21:54:40 > git --version # 'git version 2.25.1' 21:54:40 using GIT_SSH to set credentials SSH Credentials for GitHub 21:54:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:54:42 Avoid second fetch 21:54:42 Checking out Revision 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 (main) 21:54:42 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:54:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:54:42 > git config core.sparsecheckout # timeout=10 21:54:42 > git checkout -f 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 # timeout=10 21:54:47 Commit message: "Merge pull request #205 from lenny-intel/Go1.18" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:54:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:54:47 % Total % Received % Xferd Average Speed Time Time Time Current 21:54:47 Dload Upload Total Spent Left Speed 21:54:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 181k 0 --:--:-- --:--:-- --:--:-- 181k [Pipeline] sh 21:54:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:54:49 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 21:54:49 21:54:49 { 21:54:49 "registry-mirrors": [ 21:54:49 "https://nexus3.edgexfoundry.org:10001" 21:54:49 ], 21:54:49 "bip": "10.250.0.254/24", 21:54:49 "hosts": [ 21:54:49 "tcp://0.0.0.0:5555", 21:54:49 "unix:///var/run/docker.sock" 21:54:49 ], 21:54:49 "mtu": 1458, 21:54:49 "selinux-enabled": true, 21:54:49 "seccomp-profile": "/etc/docker/seccomp.json" 21:54:49 } [Pipeline] sh 21:54:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:54:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:55:08 provisioning config files... 21:55:08 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/51@tmp/config5780080309883839789tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:55:08 ---> docker-login.sh 21:55:08 nexus3.edgexfoundry.org:10001 21:55:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:09 Configure a credential helper to remove this warning. See 21:55:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:09 21:55:09 Login Succeeded 21:55:09 nexus3.edgexfoundry.org:10002 21:55:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:10 Configure a credential helper to remove this warning. See 21:55:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:10 21:55:10 Login Succeeded 21:55:10 nexus3.edgexfoundry.org:10003 21:55:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:10 Configure a credential helper to remove this warning. See 21:55:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:10 21:55:10 Login Succeeded 21:55:10 nexus3.edgexfoundry.org:10004 21:55:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:11 Configure a credential helper to remove this warning. See 21:55:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:11 21:55:11 Login Succeeded 21:55:11 docker.io 21:55:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:12 Configure a credential helper to remove this warning. See 21:55:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:12 21:55:12 Login Succeeded 21:55:12 ---> docker-login.sh ends [Pipeline] } 21:55:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:55:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:55:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:55:12 ========================================================= 21:55:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:55:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:13 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:55:13 Sending build context to Docker daemon 126.5kB 21:55:13 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:55:13 Step 2/12 : FROM ${BASE} AS builder 21:55:13 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:55:13 b3c136eddcbf: Pulling fs layer 21:55:13 c0a3192eca97: Pulling fs layer 21:55:13 a050256f5b6f: Pulling fs layer 21:55:13 656be50a0ddc: Pulling fs layer 21:55:13 2bbca73fdf42: Pulling fs layer 21:55:13 46d945488cbd: Pulling fs layer 21:55:13 8a5474983e97: Pulling fs layer 21:55:13 329c88fbcd65: Pulling fs layer 21:55:13 656be50a0ddc: Waiting 21:55:13 2bbca73fdf42: Waiting 21:55:13 46d945488cbd: Waiting 21:55:13 8a5474983e97: Waiting 21:55:13 329c88fbcd65: Waiting 21:55:13 a050256f5b6f: Verifying Checksum 21:55:13 a050256f5b6f: Download complete 21:55:13 c0a3192eca97: Verifying Checksum 21:55:13 c0a3192eca97: Download complete 21:55:13 2bbca73fdf42: Verifying Checksum 21:55:13 2bbca73fdf42: Download complete 21:55:13 46d945488cbd: Verifying Checksum 21:55:13 46d945488cbd: Download complete 21:55:13 b3c136eddcbf: Verifying Checksum 21:55:13 b3c136eddcbf: Download complete 21:55:14 b3c136eddcbf: Pull complete 21:55:15 329c88fbcd65: Verifying Checksum 21:55:15 329c88fbcd65: Download complete 21:55:15 c0a3192eca97: Pull complete 21:55:15 a050256f5b6f: Pull complete 21:55:16 8a5474983e97: Verifying Checksum 21:55:16 8a5474983e97: Download complete 21:55:16 656be50a0ddc: Verifying Checksum 21:55:16 656be50a0ddc: Download complete 21:55:31 656be50a0ddc: Pull complete 21:55:31 2bbca73fdf42: Pull complete 21:55:31 46d945488cbd: Pull complete 21:55:37 8a5474983e97: Pull complete 21:55:40 329c88fbcd65: Pull complete 21:55:40 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 21:55:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:55:40 ---> ff4287adb874 21:55:40 Step 3/12 : ARG MAKE='make build' 21:55:42 ---> Running in 1360b11bff32 21:55:43 Removing intermediate container 1360b11bff32 21:55:43 ---> 4a658c00e172 21:55:43 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:55:43 ---> Running in 8813e0647f93 21:55:43 Removing intermediate container 8813e0647f93 21:55:43 ---> 14429350ca32 21:55:43 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 21:55:43 ---> Running in 205b2a598d59 21:55:44 Removing intermediate container 205b2a598d59 21:55:44 ---> b3f233446f99 21:55:44 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:55:44 ---> Running in 090d61ec9a17 21:55:46 Removing intermediate container 090d61ec9a17 21:55:46 ---> 90555411f902 21:55:46 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:55:46 ---> Running in 019babd099e8 21:55:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:55:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:55:49 (1/4) Installing openssh-keygen (9.0_p1-r1) 21:55:49 (2/4) Installing libedit (20210910.3.1-r0) 21:55:50 (3/4) Installing openssh-client-common (9.0_p1-r1) 21:55:50 (4/4) Installing openssh-client-default (9.0_p1-r1) 21:55:50 Executing busybox-1.35.0-r13.trigger 21:55:50 OK: 226 MiB in 55 packages 21:55:51 Removing intermediate container 019babd099e8 21:55:51 ---> 98cdd68300e4 21:55:51 Step 8/12 : WORKDIR /device-rest-go 21:55:51 ---> Running in 18938a61dda1 21:55:51 Removing intermediate container 18938a61dda1 21:55:51 ---> eb65ba64905e 21:55:51 Step 9/12 : COPY go.mod vendor* ./ 21:55:52 ---> e03c4fa147da 21:55:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:55:52 ---> Running in 5a18366c27bc 21:56:39 Removing intermediate container 5a18366c27bc 21:56:39 ---> 15aae3d83c54 21:56:39 Step 11/12 : COPY . . 21:56:39 ---> 1d9265428874 21:56:39 Step 12/12 : RUN $MAKE 21:56:39 ---> Running in b8502fe9ac7f 21:56:40 noop 21:56:41 Removing intermediate container b8502fe9ac7f 21:56:41 ---> a270f0504aae 21:56:41 Successfully built a270f0504aae 21:56:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:56:41 + docker inspect -f . ci-base-image-arm64 21:56:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:56:41 prd-ubuntu20.04-docker-arm64-4c-16g-19385 does not seem to be running inside a container 21:56:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/51 -v /w/workspace/device-rest-go/51:/w/workspace/device-rest-go/51:rw,z -v /w/workspace/device-rest-go/51@tmp:/w/workspace/device-rest-go/51@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 21:56:43 $ docker top c10f57aa8ccc95e8511958ffe9047f3fc0bfc8281caa33f3af0f7bb0ecc2bd9f -eo pid,comm [Pipeline] { [Pipeline] sh 21:56:44 + go version 21:56:44 go version go1.18.3 linux/arm64 [Pipeline] } 21:56:44 $ docker stop --time=1 c10f57aa8ccc95e8511958ffe9047f3fc0bfc8281caa33f3af0f7bb0ecc2bd9f 21:56:46 $ docker rm -f c10f57aa8ccc95e8511958ffe9047f3fc0bfc8281caa33f3af0f7bb0ecc2bd9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:56:46 + docker inspect -f . ci-base-image-arm64 21:56:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:56:46 prd-ubuntu20.04-docker-arm64-4c-16g-19385 does not seem to be running inside a container 21:56:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-rest-go/51 -v /w/workspace/device-rest-go/51:/w/workspace/device-rest-go/51:rw,z -v /w/workspace/device-rest-go/51@tmp:/w/workspace/device-rest-go/51@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 21:56:48 $ docker top 81110050245f1d0155a1d50580fd887574037911dbb831fa15b13d9ed29d5d8f -eo pid,comm [Pipeline] { [Pipeline] sh 21:56:49 + git config --global --add safe.directory /w/workspace/device-rest-go/51 [Pipeline] fileExists [Pipeline] sh 21:56:49 + make test 21:56:49 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:56:51 ? github.com/edgexfoundry/device-rest-go [no test files] 21:58:28 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:58:32 ok github.com/edgexfoundry/device-rest-go/driver 0.087s coverage: 55.2% of statements 21:58:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:58:33 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:59:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:59:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:59:00 ./bin/test-attribution-txt.sh [Pipeline] echo 21:59:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:59:00 $ docker stop --time=1 81110050245f1d0155a1d50580fd887574037911dbb831fa15b13d9ed29d5d8f 21:59:02 $ docker rm -f 81110050245f1d0155a1d50580fd887574037911dbb831fa15b13d9ed29d5d8f [Pipeline] // withDockerContainer [Pipeline] sh 21:59:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:59:03 Warning: overwriting stash ‘coverage-report’ 21:59:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:59:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:59:05 + ls -al . 21:59:05 total 168 21:59:05 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 21:56 . 21:59:05 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 21:54 .. 21:59:05 -rw-rw-r-- 1 jenkins jenkins 151 Jul 11 21:54 .dockerignore 21:59:05 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 21:54 .git 21:59:05 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 21:54 .github 21:59:05 -rw-rw-r-- 1 jenkins jenkins 329 Jul 11 21:54 .gitignore 21:59:05 -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 21:54 .golangci.yml 21:59:05 -rw-rw-r-- 1 jenkins jenkins 8724 Jul 11 21:54 Attribution.txt 21:59:05 -rw-rw-r-- 1 jenkins jenkins 11736 Jul 11 21:54 CHANGELOG.md 21:59:05 -rw-rw-r-- 1 jenkins jenkins 1674 Jul 11 21:54 Dockerfile 21:59:05 -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 21:54 GOVERNANCE.md 21:59:05 -rw-rw-r-- 1 jenkins jenkins 680 Jul 11 21:54 Jenkinsfile 21:59:05 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 21:54 LICENSE 21:59:05 -rw-rw-r-- 1 jenkins jenkins 1964 Jul 11 21:54 Makefile 21:59:05 -rw-rw-r-- 1 jenkins jenkins 620 Jul 11 21:54 OWNERS.md 21:59:05 -rw-rw-r-- 1 jenkins jenkins 8003 Jul 11 21:54 README.md 21:59:05 -rw-rw-r-- 1 jenkins jenkins 11 Jul 11 21:50 VERSION 21:59:05 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 21:54 bin 21:59:05 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 21:54 cmd 21:59:05 -rw-r--r-- 1 jenkins jenkins 9355 Jul 11 21:58 coverage.out 21:59:05 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 21:54 driver 21:59:05 -rw-rw-r-- 1 jenkins jenkins 3338 Jul 11 21:54 go.mod 21:59:05 -rw-rw-r-- 1 jenkins jenkins 35351 Jul 11 21:54 go.sum 21:59:05 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 21:54 snap 21:59:05 -rw-rw-r-- 1 jenkins jenkins 713 Jul 11 21:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:05 + 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=328f14cd4e0e2f12280e28257e4d0d1118a94cd7 --label arch=arm64 --label version=2.2.1-dev.9 . 21:59:05 Sending build context to Docker daemon 136.7kB 21:59:05 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 21:59:05 Step 2/25 : FROM ${BASE} AS builder 21:59:05 ---> a270f0504aae 21:59:05 Step 3/25 : ARG MAKE='make build' 21:59:06 ---> Running in 73295f48704d 21:59:06 Removing intermediate container 73295f48704d 21:59:06 ---> 0ea22486de18 21:59:06 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:59:06 ---> Running in fddd71c6fb1d 21:59:06 Removing intermediate container fddd71c6fb1d 21:59:06 ---> 96da610d0821 21:59:06 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 21:59:06 ---> Running in 31bd3fcb9ca9 21:59:07 Removing intermediate container 31bd3fcb9ca9 21:59:07 ---> 4ce32cf40fd9 21:59:07 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:59:07 ---> Running in 935ffa0af3a5 21:59:09 Removing intermediate container 935ffa0af3a5 21:59:09 ---> 991c3b6b8e7e 21:59:09 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:59:09 ---> Running in 57cbdc29b148 21:59:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:59:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:59:12 OK: 226 MiB in 55 packages 21:59:13 Removing intermediate container 57cbdc29b148 21:59:13 ---> 2ff3bee6128b 21:59:13 Step 8/25 : WORKDIR /device-rest-go 21:59:13 ---> Running in cc75fa9de65f 21:59:13 Removing intermediate container cc75fa9de65f 21:59:13 ---> 34ac71bd5568 21:59:13 Step 9/25 : COPY go.mod vendor* ./ 21:59:14 ---> af2d8b4e27b0 21:59:14 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:59:14 ---> Running in d55742cfbb43 21:59:17 Removing intermediate container d55742cfbb43 21:59:17 ---> 42f9a7a09142 21:59:17 Step 11/25 : COPY . . 21:59:17 ---> a27211eed435 21:59:17 Step 12/25 : RUN $MAKE 21:59:17 ---> Running in 27710d4fc7f3 21:59:18 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.9" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 22:02:11 Removing intermediate container 27710d4fc7f3 22:02:11 ---> 061851c31b5e 22:02:11 Step 13/25 : FROM alpine:3.16 22:02:11 3.16: Pulling from library/alpine 22:02:11 b3c136eddcbf: Already exists 22:02:11 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 22:02:11 Status: Downloaded newer image for alpine:3.16 22:02:11 ---> 6e30ab57aeee 22:02:11 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:02:11 ---> Running in 1cca79109fef 22:02:11 Removing intermediate container 1cca79109fef 22:02:11 ---> ee1a195440dd 22:02:11 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 22:02:11 ---> Running in dd896809db72 22:02:11 Removing intermediate container dd896809db72 22:02:11 ---> f990d9ce9d2e 22:02:11 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 22:02:11 ---> Running in b54bf5449ae8 22:02:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:02:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:02:11 (1/6) Installing dumb-init (1.2.5-r1) 22:02:11 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:02:11 (3/6) Installing libsodium (1.0.18-r0) 22:02:11 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:02:11 (5/6) Installing libzmq (4.3.4-r0) 22:02:11 (6/6) Installing zeromq (4.3.4-r0) 22:02:11 Executing busybox-1.35.0-r13.trigger 22:02:11 OK: 8 MiB in 20 packages 22:02:11 Removing intermediate container b54bf5449ae8 22:02:11 ---> 686f96762ee0 22:02:11 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 22:02:11 ---> 3a7d99a21b4d 22:02:11 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 22:02:11 ---> 808caed04ff9 22:02:11 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 22:02:11 ---> 771ca1be15fb 22:02:11 Step 20/25 : EXPOSE 59986 22:02:11 ---> Running in 299a67efee8c 22:02:11 Removing intermediate container 299a67efee8c 22:02:11 ---> 3e658fbc814e 22:02:11 Step 21/25 : ENTRYPOINT ["/device-rest"] 22:02:11 ---> Running in 69e09008ffa3 22:02:11 Removing intermediate container 69e09008ffa3 22:02:11 ---> b99ce3d0e5b0 22:02:11 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:02:11 ---> Running in f1c7ec72029d 22:02:11 Removing intermediate container f1c7ec72029d 22:02:11 ---> 41c216ef6b13 22:02:11 Step 23/25 : LABEL arch=arm64 22:02:11 ---> Running in c97a96d0d40a 22:02:11 Removing intermediate container c97a96d0d40a 22:02:11 ---> 26fef393e9ff 22:02:11 Step 24/25 : LABEL git_sha=328f14cd4e0e2f12280e28257e4d0d1118a94cd7 22:02:11 ---> Running in c1275b182cb5 22:02:11 Removing intermediate container c1275b182cb5 22:02:11 ---> 41c6b7fd9426 22:02:11 Step 25/25 : LABEL version=2.2.1-dev.9 22:02:11 ---> Running in 2df70a730965 22:02:11 Removing intermediate container 2df70a730965 22:02:11 ---> a451fe45a523 22:02:11 [Warning] One or more build-args [ARCH] were not consumed 22:02:11 Successfully built a451fe45a523 22:02:11 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:02:11 provisioning config files... 22:02:11 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/51@tmp/config436225076807998194tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:02:11 ---> docker-login.sh 22:02:11 nexus3.edgexfoundry.org:10001 22:02:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:02:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:02:11 Configure a credential helper to remove this warning. See 22:02:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:02:11 22:02:11 Login Succeeded 22:02:11 nexus3.edgexfoundry.org:10002 22:02:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:02:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:02:12 Configure a credential helper to remove this warning. See 22:02:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:02:12 22:02:12 Login Succeeded 22:02:12 nexus3.edgexfoundry.org:10003 22:02:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:02:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:02:13 Configure a credential helper to remove this warning. See 22:02:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:02:13 22:02:13 Login Succeeded 22:02:13 nexus3.edgexfoundry.org:10004 22:02:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:02:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:02:13 Configure a credential helper to remove this warning. See 22:02:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:02:13 22:02:13 Login Succeeded 22:02:13 docker.io 22:02:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:02:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:02:14 Configure a credential helper to remove this warning. See 22:02:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:02:14 22:02:14 Login Succeeded 22:02:14 ---> docker-login.sh ends [Pipeline] } 22:02:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:02:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:02:14 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 22:02:14 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 22:02:14 latest 22:02:14 2.2.1-dev.9 22:02:14 328f14cd4e0e2f12280e28257e4d0d1118a94cd7-2.2.1-dev.9 22:02:14 main 22:02:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:14 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:15 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:328f14cd4e0e2f12280e28257e4d0d1118a94cd7 22:02:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:02:15 a7626a0d4f19: Preparing 22:02:15 136055887aa6: Preparing 22:02:15 54dd9bf46d02: Preparing 22:02:15 fa2076aae2ed: Preparing 22:02:15 dd565ff850e7: Preparing 22:02:15 dd565ff850e7: Layer already exists 22:02:15 a7626a0d4f19: Pushed 22:02:15 136055887aa6: Pushed 22:02:15 fa2076aae2ed: Pushed 22:02:21 54dd9bf46d02: Pushed 22:02:21 328f14cd4e0e2f12280e28257e4d0d1118a94cd7: digest: sha256:bf4de451ac7742c5bfddb60a03a152d9829b2cb441e1ddc6cfbf975e306fa1dc size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:21 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:22 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 22:02:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:02:22 a7626a0d4f19: Preparing 22:02:22 136055887aa6: Preparing 22:02:22 54dd9bf46d02: Preparing 22:02:22 fa2076aae2ed: Preparing 22:02:22 dd565ff850e7: Preparing 22:02:22 a7626a0d4f19: Layer already exists 22:02:22 136055887aa6: Layer already exists 22:02:22 54dd9bf46d02: Layer already exists 22:02:22 dd565ff850e7: Layer already exists 22:02:22 fa2076aae2ed: Layer already exists 22:02:22 latest: digest: sha256:bf4de451ac7742c5bfddb60a03a152d9829b2cb441e1ddc6cfbf975e306fa1dc size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:22 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:23 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.9 22:02:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:02:23 a7626a0d4f19: Preparing 22:02:23 136055887aa6: Preparing 22:02:23 54dd9bf46d02: Preparing 22:02:23 fa2076aae2ed: Preparing 22:02:23 dd565ff850e7: Preparing 22:02:23 136055887aa6: Layer already exists 22:02:23 a7626a0d4f19: Layer already exists 22:02:23 54dd9bf46d02: Layer already exists 22:02:23 dd565ff850e7: Layer already exists 22:02:23 fa2076aae2ed: Layer already exists 22:02:23 2.2.1-dev.9: digest: sha256:bf4de451ac7742c5bfddb60a03a152d9829b2cb441e1ddc6cfbf975e306fa1dc size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:23 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:328f14cd4e0e2f12280e28257e4d0d1118a94cd7-2.2.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:24 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:328f14cd4e0e2f12280e28257e4d0d1118a94cd7-2.2.1-dev.9 22:02:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:02:24 a7626a0d4f19: Preparing 22:02:24 136055887aa6: Preparing 22:02:24 54dd9bf46d02: Preparing 22:02:24 fa2076aae2ed: Preparing 22:02:24 dd565ff850e7: Preparing 22:02:24 fa2076aae2ed: Layer already exists 22:02:24 a7626a0d4f19: Layer already exists 22:02:24 54dd9bf46d02: Layer already exists 22:02:24 136055887aa6: Layer already exists 22:02:24 dd565ff850e7: Layer already exists 22:02:24 328f14cd4e0e2f12280e28257e4d0d1118a94cd7-2.2.1-dev.9: digest: sha256:bf4de451ac7742c5bfddb60a03a152d9829b2cb441e1ddc6cfbf975e306fa1dc size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:24 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:25 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 22:02:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:02:25 a7626a0d4f19: Preparing 22:02:25 136055887aa6: Preparing 22:02:25 54dd9bf46d02: Preparing 22:02:25 fa2076aae2ed: Preparing 22:02:25 dd565ff850e7: Preparing 22:02:25 dd565ff850e7: Layer already exists 22:02:25 fa2076aae2ed: Layer already exists 22:02:25 a7626a0d4f19: Layer already exists 22:02:25 136055887aa6: Layer already exists 22:02:25 54dd9bf46d02: Layer already exists 22:02:25 main: digest: sha256:bf4de451ac7742c5bfddb60a03a152d9829b2cb441e1ddc6cfbf975e306fa1dc size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:02:25 ===================================================== [Pipeline] echo 22:02:25 taggedImages: 22:02:25 - nexus3.edgexfoundry.org:10004/device-rest-arm64:328f14cd4e0e2f12280e28257e4d0d1118a94cd7 22:02:25 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 22:02:25 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.9 22:02:25 - nexus3.edgexfoundry.org:10004/device-rest-arm64:328f14cd4e0e2f12280e28257e4d0d1118a94cd7-2.2.1-dev.9 22:02:25 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:02:25 22:02:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:02:26 arm64: Pulling from edgex-lftools-log-publisher 22:02:26 8998bd30e6a1: Pulling fs layer 22:02:26 04944245beec: Pulling fs layer 22:02:26 699f458cf7ca: Pulling fs layer 22:02:26 765212b225bb: Pulling fs layer 22:02:26 f23df028b6ca: Pulling fs layer 22:02:26 d65c8cfc05b1: Pulling fs layer 22:02:26 2437ff75d9bd: Pulling fs layer 22:02:26 f23df028b6ca: Waiting 22:02:26 d65c8cfc05b1: Waiting 22:02:26 2437ff75d9bd: Waiting 22:02:26 765212b225bb: Waiting 22:02:26 04944245beec: Verifying Checksum 22:02:26 04944245beec: Download complete 22:02:26 765212b225bb: Verifying Checksum 22:02:26 765212b225bb: Download complete 22:02:26 f23df028b6ca: Verifying Checksum 22:02:26 f23df028b6ca: Download complete 22:02:26 d65c8cfc05b1: Download complete 22:02:26 699f458cf7ca: Verifying Checksum 22:02:26 699f458cf7ca: Download complete 22:02:27 8998bd30e6a1: Verifying Checksum 22:02:27 8998bd30e6a1: Download complete 22:02:29 2437ff75d9bd: Verifying Checksum 22:02:29 2437ff75d9bd: Download complete 22:02:31 8998bd30e6a1: Pull complete 22:02:32 04944245beec: Pull complete 22:02:33 699f458cf7ca: Pull complete 22:02:33 765212b225bb: Pull complete 22:02:34 f23df028b6ca: Pull complete 22:02:35 d65c8cfc05b1: Pull complete 22:02:50 2437ff75d9bd: Pull complete 22:02:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:02:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:02:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:02:50 prd-ubuntu20.04-docker-arm64-4c-16g-19385 does not seem to be running inside a container 22:02:50 $ 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/51 -v /w/workspace/device-rest-go/51:/w/workspace/device-rest-go/51:rw,z -v /w/workspace/device-rest-go/51@tmp:/w/workspace/device-rest-go/51@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:02:53 $ docker top ecaaeedf78e5719829630783dd9c6a84fa088da288d23738608075f3dd73c9ab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:02:54 ---> job-cost.sh 22:02:54 lf-activate-venv: SKIPPING 22:02:54 INFO: No Stack... 22:02:54 INFO: Retrieving Pricing Info for: v3-standard-4 22:02:55 INFO: Archiving Costs [Pipeline] sh 22:02:56 + cut -d, -f6 22:02:56 + cat /w/workspace/device-rest-go/51/archives/cost.csv [Pipeline] lock 22:02:56 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-51-stack-cost] 22:02:56 Resource [jenkins-edgexfoundry-device-rest-go-main-51-stack-cost] did not exist. Created. 22:02:56 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:02:57 /w/workspace/device-rest-go/51@tmp/durable-88589695/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:02:57 + echo total: 0.10999999940395355 [Pipeline] stash 22:02:57 Warning: overwriting stash ‘stack-cost’ 22:02:57 Stashed 1 file(s) [Pipeline] } 22:02:57 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-51-stack-cost] [Pipeline] // lock [Pipeline] } 22:02:57 $ docker stop --time=1 ecaaeedf78e5719829630783dd9c6a84fa088da288d23738608075f3dd73c9ab 22:02:59 $ docker rm -f ecaaeedf78e5719829630783dd9c6a84fa088da288d23738608075f3dd73c9ab [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 22:02:59 provisioning config files... 22:02:59 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2253472099341528729tmp [Pipeline] { [Pipeline] sh 22:03:00 + set +x 22:03:00 + curl -s https://codecov.io/bash 22:03:00 + bash -s -- 22:03:00 22:03:00 _____ _ 22:03:00 / ____| | | 22:03:00 | | ___ __| | ___ ___ _____ __ 22:03:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:03:00 | |___| (_) | (_| | __/ (_| (_) \ V / 22:03:00 \_____\___/ \__,_|\___|\___\___/ \_/ 22:03:00 Bash-1.0.6 22:03:00 22:03:00 22:03:00 ==> git version 2.25.1 found 22:03:00 ==> 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 22:03:00 Release-Date: 2020-01-08 22:03:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:03:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:03:00 ==> Jenkins CI detected. 22:03:00 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 22:03:00 project root: . 22:03:00 --> token set from env 22:03:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:03:00 ==> Running gcov in . (disable via -X gcov) 22:03:00 ==> Python coveragepy not found 22:03:00 ==> Searching for coverage reports in: 22:03:00 + . 22:03:00 -> Found 1 reports 22:03:00 ==> Detecting git/mercurial file structure 22:03:00 ==> Reading reports 22:03:00 + ./coverage.out bytes=9355 22:03:00 ==> Appending adjustments 22:03:00 https://docs.codecov.io/docs/fixing-reports 22:03:00 + Found adjustments 22:03:00 ==> Gzipping contents 22:03:00 4.0K /tmp/codecov.cme3dR.gz 22:03:00 ==> Uploading reports 22:03:00 url: https://codecov.io 22:03:00 query: branch=main&commit=328f14cd4e0e2f12280e28257e4d0d1118a94cd7&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:03:00 -> Pinging Codecov 22:03:00 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=328f14cd4e0e2f12280e28257e4d0d1118a94cd7&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:03:00 -> Uploading to 22:03:00 https://storage.googleapis.com/codecov/v4/raw/2022-07-11/4E5D53B4F1F92C436F7061BF334D961C/328f14cd4e0e2f12280e28257e4d0d1118a94cd7/67ac17a0-e264-46b5-b509-1bb7e62d248d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220711%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220711T220300Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4cb25dbf8f9ac28ddbd3a8545e18d79d263ec136d2f49d5470d0efcae9d0a7be 22:03:00 % Total % Received % Xferd Average Speed Time Time Time Current 22:03:00 Dload Upload Total Spent Left Speed 22:03:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1747 0 0 100 1747 0 7402 --:--:-- --:--:-- --:--:-- 7402 22:03:00 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [Pipeline] } 22:03:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:03:01 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:03:01 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:03:01 22:03:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:03:01 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:03:01 df9b9388f04a: Pulling fs layer 22:03:01 52dc419b0ee2: Pulling fs layer 22:03:01 25bc292e5bac: Pulling fs layer 22:03:01 114826534d7a: Pulling fs layer 22:03:01 4657fd5d0bcf: Pulling fs layer 22:03:01 6ad1cebc031e: Pulling fs layer 22:03:01 8a3aa393b2d8: Pulling fs layer 22:03:01 4657fd5d0bcf: Waiting 22:03:01 6ad1cebc031e: Waiting 22:03:01 8a3aa393b2d8: Waiting 22:03:01 114826534d7a: Waiting 22:03:01 25bc292e5bac: Download complete 22:03:01 52dc419b0ee2: Download complete 22:03:01 4657fd5d0bcf: Download complete 22:03:01 df9b9388f04a: Download complete 22:03:01 df9b9388f04a: Pull complete 22:03:01 6ad1cebc031e: Verifying Checksum 22:03:01 6ad1cebc031e: Download complete 22:03:01 52dc419b0ee2: Pull complete 22:03:01 25bc292e5bac: Pull complete 22:03:02 114826534d7a: Verifying Checksum 22:03:02 114826534d7a: Download complete 22:03:02 8a3aa393b2d8: Verifying Checksum 22:03:02 8a3aa393b2d8: Download complete 22:03:06 114826534d7a: Pull complete 22:03:06 4657fd5d0bcf: Pull complete 22:03:06 6ad1cebc031e: Pull complete 22:03:09 8a3aa393b2d8: Pull complete 22:03:09 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:03:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:03:09 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:03:09 prd-ubuntu20.04-docker-8c-8g-19372 does not seem to be running inside a container 22:03:09 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:03:11 $ docker top 3090817cc4d29b352a0cc1f49a74fd04dd6a8d7ce59fdeee7c16df847ec0a43e -eo pid,comm [Pipeline] { [Pipeline] echo 22:03:12 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 22:03:12 + set -o pipefail 22:03:12 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 22:03:17 22:03:17 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 22:03:17 22:03:17 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/f539e7a2-6d9e-4462-8e16-a9355f7e724f 22:03:17 22:03:17 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:03:17 22:03:17 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:03:17 22:03:17 22:03:17 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 22:03:17 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 22:03:17 $ docker stop --time=1 3090817cc4d29b352a0cc1f49a74fd04dd6a8d7ce59fdeee7c16df847ec0a43e 22:03:19 $ docker rm -f 3090817cc4d29b352a0cc1f49a74fd04dd6a8d7ce59fdeee7c16df847ec0a43e [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 22:03:20 + git log --format=format:%s -1 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [Pipeline] sh 22:03:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:03:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:03:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:03:21 prd-ubuntu20.04-docker-8c-8g-19372 does not seem to be running inside a container 22:03:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:03:21 $ docker top 17c84646701314e40d4168c4963637ecf07f1ed3325dacbf81e32520de503dc8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:03:21 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.2.1-dev.8' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:03:22 + git semver [Pipeline] } 22:03:22 $ docker stop --time=1 17c84646701314e40d4168c4963637ecf07f1ed3325dacbf81e32520de503dc8 22:03:23 $ docker rm -f 17c84646701314e40d4168c4963637ecf07f1ed3325dacbf81e32520de503dc8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:03:24 22:03:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:03:24 0.23.1-centos7: Pulling from edgex-lftools 22:03:24 ab5ef0e58194: Pulling fs layer 22:03:24 9712f1f96733: Pulling fs layer 22:03:24 63f879dbbcfc: Pulling fs layer 22:03:24 0d9ebad4ef96: Pulling fs layer 22:03:24 e9a5061849ea: Pulling fs layer 22:03:24 d747dcd14b5f: Pulling fs layer 22:03:24 2de7ff778b66: Pulling fs layer 22:03:24 e9a5061849ea: Waiting 22:03:24 d747dcd14b5f: Waiting 22:03:24 2de7ff778b66: Waiting 22:03:24 0d9ebad4ef96: Waiting 22:03:24 9712f1f96733: Download complete 22:03:25 63f879dbbcfc: Verifying Checksum 22:03:25 63f879dbbcfc: Download complete 22:03:25 0d9ebad4ef96: Verifying Checksum 22:03:25 0d9ebad4ef96: Download complete 22:03:25 e9a5061849ea: Verifying Checksum 22:03:25 e9a5061849ea: Download complete 22:03:25 d747dcd14b5f: Verifying Checksum 22:03:25 d747dcd14b5f: Download complete 22:03:25 ab5ef0e58194: Verifying Checksum 22:03:25 ab5ef0e58194: Download complete 22:03:25 2de7ff778b66: Verifying Checksum 22:03:25 2de7ff778b66: Download complete 22:03:27 ab5ef0e58194: Pull complete 22:03:27 9712f1f96733: Pull complete 22:03:28 63f879dbbcfc: Pull complete 22:03:33 0d9ebad4ef96: Pull complete 22:03:33 e9a5061849ea: Pull complete 22:03:33 d747dcd14b5f: Pull complete 22:03:34 2de7ff778b66: Pull complete 22:03:34 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:03:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:03:34 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:03:34 prd-ubuntu20.04-docker-8c-8g-19372 does not seem to be running inside a container 22:03:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:03:36 $ docker top 4efca6d616c3a2301453ef894c5002d4c516978ec5ae45f50f0107536d3c10d7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:03:36 provisioning config files... 22:03:36 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8931364649268214080tmp 22:03:36 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config562126027692285005tmp 22:03:36 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3837418025105659189tmp [Pipeline] { [Pipeline] echo 22:03:36 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:03:37 ---> sigul-configuration.sh 22:03:37 gpg: directory `/root/.gnupg' created 22:03:37 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:03:37 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:03:37 gpg: keyring `/root/.gnupg/secring.gpg' created 22:03:37 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:03:37 gpg: CAST5 encrypted data 22:03:37 gpg: encrypted with 1 passphrase 22:03:37 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:03:37 + mkdir /home/jenkins 22:03:37 + mkdir /home/jenkins/sigul [Pipeline] sh 22:03:37 + 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 22:03:37 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:03:38 ---> sigul-install.sh 22:03:38 Sigul already installed; skipping installation. [Pipeline] sh 22:03:38 + git tag --list 22:03:38 v1.0.0 22:03:38 v1.1.0 22:03:38 v1.1.1 22:03:38 v1.1.2 22:03:38 v1.2.0 22:03:38 v1.2.1 22:03:38 v2.0.0 22:03:38 v2.1.0 22:03:38 v2.1.1 22:03:38 v2.1.1-dev.1 22:03:38 v2.1.1-dev.2 22:03:38 v2.1.1-dev.3 22:03:38 v2.2.0 22:03:38 v2.2.1-dev.1 22:03:38 v2.2.1-dev.2 22:03:38 v2.2.1-dev.3 22:03:38 v2.2.1-dev.4 22:03:38 v2.2.1-dev.5 22:03:38 v2.2.1-dev.6 22:03:38 v2.2.1-dev.7 22:03:38 v2.2.1-dev.8 [Pipeline] sh 22:03:38 + lftools sign git-tag v2.2.1-dev.9 22:03:39 Signing Git tag with Sigul... 22:03:39 Signing v2.2.1-dev.9 22:03:39 Error while calling git, args ['git', 'show-ref', '-s', 'refs/tags/v2.2.1-dev.9'], return code 1, stdout , stderr [Pipeline] echo 22:03:39 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:03:39 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:03:39 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:03:39 $ docker stop --time=1 4efca6d616c3a2301453ef894c5002d4c516978ec5ae45f50f0107536d3c10d7 22:03:40 $ docker rm -f 4efca6d616c3a2301453ef894c5002d4c516978ec5ae45f50f0107536d3c10d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:03:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:03:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:03:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:03:41 prd-ubuntu20.04-docker-8c-8g-19372 does not seem to be running inside a container 22:03:41 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:03:42 $ docker top 9e0d3d9ddc49c38ec7b97f97f3c019a9dae1f9477a3159605d33206ce8655560 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:03:42 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.2.1-dev.8' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:03:42 + git semver [Pipeline] } 22:03:42 $ docker stop --time=1 9e0d3d9ddc49c38ec7b97f97f3c019a9dae1f9477a3159605d33206ce8655560 22:03:44 $ docker rm -f 9e0d3d9ddc49c38ec7b97f97f3c019a9dae1f9477a3159605d33206ce8655560 [Pipeline] // withDockerContainer [Pipeline] sh 22:03:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:03:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:03:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:03:44 prd-ubuntu20.04-docker-8c-8g-19372 does not seem to be running inside a container 22:03:44 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:03:45 $ docker top 83e22ebfd438ab3d46580053adae02258a305c9fa9aa7d73023726b77271767a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:03:45 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.2.1-dev.8' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:03:45 + git semver [Pipeline] } 22:03:45 $ docker stop --time=1 83e22ebfd438ab3d46580053adae02258a305c9fa9aa7d73023726b77271767a 22:03:47 $ docker rm -f 83e22ebfd438ab3d46580053adae02258a305c9fa9aa7d73023726b77271767a [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 22:03:47 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 22:03:47 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 22:03:47 total 16 22:03:47 drwxr-xr-x 3 root root 4096 Jul 11 21:52 . 22:03:47 drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 22:03 .. 22:03:47 drwxr-xr-x 2 root root 4096 Jul 11 21:52 cost 22:03:47 -rw-r--r-- 1 root root 84 Jul 11 21:52 cost.csv 22:03:47 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 22:03:47 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 22:03:47 total 16 22:03:47 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 21:52 . 22:03:47 drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 22:03 .. 22:03:47 drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 21:52 cost 22:03:47 -rw-r--r-- 1 jenkins jenkins 84 Jul 11 21:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:03:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:03:48 ---> package-listing.sh 22:03:48 ++ facter osfamily 22:03:48 ++ tr '[:upper:]' '[:lower:]' 22:03:49 + OS_FAMILY=debian 22:03:49 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 22:03:49 + START_PACKAGES=/tmp/packages_start.txt 22:03:49 + END_PACKAGES=/tmp/packages_end.txt 22:03:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:03:49 + PACKAGES=/tmp/packages_start.txt 22:03:49 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 22:03:49 + PACKAGES=/tmp/packages_end.txt 22:03:49 + case "${OS_FAMILY}" in 22:03:49 + dpkg -l 22:03:49 + grep '^ii' 22:03:49 + '[' -f /tmp/packages_start.txt ']' 22:03:49 + '[' -f /tmp/packages_end.txt ']' 22:03:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:03:49 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 22:03:49 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 22:03:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 22:03:49 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 22:03:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:03:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:03:50 prd-ubuntu20.04-docker-8c-8g-19372 does not seem to be running inside a container 22:03:50 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:03:50 $ docker top 54ec7c5a390419d72de989cb99030e75b6ab55548c3e0200cdb5f7deddd94db4 -eo pid,comm [Pipeline] { [Pipeline] sh 22:03:50 + touch /tmp/pre-build-complete [Pipeline] sh 22:03:51 + mkdir -p /var/log/sysstat [Pipeline] sh 22:03:51 + ls /var/log/sa-host 22:03:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:03:51 provisioning config files... 22:03:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4803445107557171561tmp [Pipeline] { [Pipeline] echo 22:03:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:03:51 ---> create-netrc.sh [Pipeline] } 22:03:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:03:52 ---> python-tools-install.sh [Pipeline] echo 22:03:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:03:52 ---> sudo-logs.sh 22:03:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:03:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:03:52 ---> job-cost.sh 22:03:52 lf-activate-venv: SKIPPING 22:03:52 DEBUG: total: 0.2199999988079071 22:03:52 INFO: Retrieving Stack Cost... 22:03:52 INFO: Retrieving Pricing Info for: v3-standard-8 22:03:53 INFO: Archiving Costs [Pipeline] echo 22:03:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:03:53 ---> logs-deploy.sh 22:03:53 lf-activate-venv: SKIPPING 22:03:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/51 22:03:53 INFO: archiving workspace using pattern(s): 22:03:54 Archives upload complete. 22:03:54 INFO: archiving logs to Nexus