Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb 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-ssh10555214542637340734.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh11214139941878102184.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh5811566881332249635.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh12276041480807606312.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-ssh1746004513210321658.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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-8404’ Running on prd-ubuntu20.04-docker-8c-8g-8406 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb (main) Commit message: "Merge pull request #220 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.40" > 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 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb # timeout=10 > git rev-list --no-walk 336f3e767954e61a02384677edb3fa394267c1fe # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:24:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:24:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:24:32 ========================================================= 20:24:32 EdgeX Global Pipelines Version Info 20:24:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:24:33 ------------------- 20:24:33 stable info: 20:24:33 ------------------- 20:24:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:24:33 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:24:33 Message: update stable to v1.0.243 20:24:33 ------------------- 20:24:33 experimental info: 20:24:33 ------------------- 20:24:33 Commited By: **** collab-it+edgex@linuxfoundation.org 20:24:33 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:24:33 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 626f6c6 [Pipeline] echo 20:24:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:24:34 provisioning config files... 20:24:34 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8015977963317179296tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:24:34 ---> docker-login.sh 20:24:34 nexus3.edgexfoundry.org:10001 20:24:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:34 Configure a credential helper to remove this warning. See 20:24:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:34 20:24:34 Login Succeeded 20:24:34 nexus3.edgexfoundry.org:10002 20:24:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:34 Configure a credential helper to remove this warning. See 20:24:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:34 20:24:34 Login Succeeded 20:24:34 nexus3.edgexfoundry.org:10003 20:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:35 Configure a credential helper to remove this warning. See 20:24:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:35 20:24:35 Login Succeeded 20:24:35 nexus3.edgexfoundry.org:10004 20:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:35 Configure a credential helper to remove this warning. See 20:24:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:35 20:24:35 Login Succeeded 20:24:35 docker.io 20:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:35 Configure a credential helper to remove this warning. See 20:24:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:35 20:24:35 Login Succeeded 20:24:35 ---> docker-login.sh ends [Pipeline] } 20:24:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:24:36 + git rev-list -1 --merges 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb~1..626f6c6d709bfdfff0bd38f00197e38acd6ec0eb [Pipeline] echo 20:24:36 -----------> git rev-list -1 --merges 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb~1..626f6c6d709bfdfff0bd38f00197e38acd6ec0eb 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb 20:24:36 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb [false] [Pipeline] sh 20:24:36 + git log --format=format:%s -1 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb [Pipeline] echo 20:24:36 ========================================================= 20:24:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:24:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:24:36 + git log --format=format:%s -1 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb [Pipeline] echo 20:24:36 [semverPrep] GIT_COMMIT: 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb, Commit Message: Merge pull request #220 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.40 [Pipeline] echo 20:24:36 [semverPrep] This is not a build commit. [Pipeline] sh 20:24:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:24:37 + grep -v github /etc/ssh/ssh_known_hosts 20:24:37 + [ -e /tmp/ssh_known_hosts ] 20:24:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:24:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:24:37 + sudo tee -a /etc/ssh/ssh_known_hosts 20:24:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:24:37 20:24:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:24:37 0.1.4: Pulling from edgex-devops/py-git-semver 20:24:37 b85a868b505f: Pulling fs layer 20:24:37 e2be974225ed: Pulling fs layer 20:24:37 339a4e72a1f5: Pulling fs layer 20:24:37 988bab9f4d93: Pulling fs layer 20:24:37 1469e6f7b9e6: Pulling fs layer 20:24:37 eaf3925da568: Pulling fs layer 20:24:37 1469e6f7b9e6: Waiting 20:24:37 988bab9f4d93: Waiting 20:24:37 eaf3925da568: Waiting 20:24:37 bab4dde63d76: Pulling fs layer 20:24:37 bde34c3a00c8: Pulling fs layer 20:24:37 b352a97aabf1: Pulling fs layer 20:24:37 4872d77fe225: Pulling fs layer 20:24:37 5851b861e8e6: Pulling fs layer 20:24:37 bde34c3a00c8: Waiting 20:24:37 5851b861e8e6: Waiting 20:24:37 bab4dde63d76: Waiting 20:24:37 b352a97aabf1: Waiting 20:24:37 4872d77fe225: Waiting 20:24:37 e2be974225ed: Verifying Checksum 20:24:37 e2be974225ed: Download complete 20:24:37 988bab9f4d93: Verifying Checksum 20:24:37 988bab9f4d93: Download complete 20:24:38 1469e6f7b9e6: Verifying Checksum 20:24:38 1469e6f7b9e6: Download complete 20:24:38 339a4e72a1f5: Verifying Checksum 20:24:38 339a4e72a1f5: Download complete 20:24:38 eaf3925da568: Verifying Checksum 20:24:38 eaf3925da568: Download complete 20:24:38 bde34c3a00c8: Verifying Checksum 20:24:38 bde34c3a00c8: Download complete 20:24:38 b352a97aabf1: Download complete 20:24:38 4872d77fe225: Verifying Checksum 20:24:38 4872d77fe225: Download complete 20:24:38 5851b861e8e6: Verifying Checksum 20:24:38 5851b861e8e6: Download complete 20:24:38 b85a868b505f: Verifying Checksum 20:24:38 b85a868b505f: Download complete 20:24:38 bab4dde63d76: Verifying Checksum 20:24:38 bab4dde63d76: Download complete 20:24:39 b85a868b505f: Pull complete 20:24:39 e2be974225ed: Pull complete 20:24:39 339a4e72a1f5: Pull complete 20:24:39 988bab9f4d93: Pull complete 20:24:40 1469e6f7b9e6: Pull complete 20:24:40 eaf3925da568: Pull complete 20:24:41 bab4dde63d76: Pull complete 20:24:41 bde34c3a00c8: Pull complete 20:24:41 b352a97aabf1: Pull complete 20:24:41 4872d77fe225: Pull complete 20:24:41 5851b861e8e6: Pull complete 20:24:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:24:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:24:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:24:42 prd-ubuntu20.04-docker-8c-8g-8406 does not seem to be running inside a container 20:24:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:24:44 $ docker top a623940ae0b95b877a6f85286eefa12269d6f53395ea54c73faaf7e41166c620 -eo pid,comm 20:24:44 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). 20:24:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:24:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:24:44 [ssh-agent] Looking for ssh-agent implementation... 20:24:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:24:44 $ docker exec a623940ae0b95b877a6f85286eefa12269d6f53395ea54c73faaf7e41166c620 ssh-agent 20:24:44 SSH_AUTH_SOCK=/tmp/ssh-HuZcDq4A0gKF/agent.32 20:24:44 SSH_AGENT_PID=38 20:24:44 Running ssh-add (command line suppressed) 20:24:44 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8550333669797013926.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8550333669797013926.key) 20:24:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:24:45 + git tag --points-at HEAD [Pipeline] } 20:24:45 $ docker exec --env ******** --env ******** a623940ae0b95b877a6f85286eefa12269d6f53395ea54c73faaf7e41166c620 ssh-agent -k 20:24:45 unset SSH_AUTH_SOCK; 20:24:45 unset SSH_AGENT_PID; 20:24:45 echo Agent pid 38 killed; 20:24:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:24:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:24:45 [ssh-agent] Looking for ssh-agent implementation... 20:24:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:24:45 $ docker exec a623940ae0b95b877a6f85286eefa12269d6f53395ea54c73faaf7e41166c620 ssh-agent 20:24:45 SSH_AUTH_SOCK=/tmp/ssh-iOeR7soB15oI/agent.71 20:24:45 SSH_AGENT_PID=77 20:24:45 Running ssh-add (command line suppressed) 20:24:45 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1695571091931587181.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1695571091931587181.key) 20:24:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:24:45 + git semver init 20:24:46 2022-10-17 20:24:46,097 [run_init] DEBUG init version:0.0.0 force:False 20:24:46 2022-10-17 20:24:46,098 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 20:24:46 2022-10-17 20:24:46,098 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 20:24:46 2022-10-17 20:24:46,099 [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) 20:24:47 2022-10-17 20:24:47,269 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 20:24:47 2022-10-17 20:24:47,269 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 20:24:47 2022-10-17 20:24:47,270 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:24:47 2022-10-17 20:24:47,270 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:24:47 2.3.0-dev.20 [Pipeline] } 20:24:47 $ docker exec --env ******** --env ******** a623940ae0b95b877a6f85286eefa12269d6f53395ea54c73faaf7e41166c620 ssh-agent -k 20:24:47 unset SSH_AUTH_SOCK; 20:24:47 unset SSH_AGENT_PID; 20:24:47 echo Agent pid 77 killed; 20:24:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:24:47 + git semver [Pipeline] } 20:24:48 $ docker stop --time=1 a623940ae0b95b877a6f85286eefa12269d6f53395ea54c73faaf7e41166c620 20:24:49 $ docker rm -f a623940ae0b95b877a6f85286eefa12269d6f53395ea54c73faaf7e41166c620 [Pipeline] // withDockerContainer [Pipeline] sh 20:24:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:24:50 Stashed 1 file(s) [Pipeline] echo 20:24:50 [edgeXSemver]: initialized semver on version 2.3.0-dev.20 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:24:50 provisioning config files... 20:24:50 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3866818743828281781tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:24:50 ---> docker-login.sh 20:24:50 nexus3.edgexfoundry.org:10001 20:24:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:50 Configure a credential helper to remove this warning. See 20:24:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:50 20:24:50 Login Succeeded 20:24:50 nexus3.edgexfoundry.org:10002 20:24:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:50 Configure a credential helper to remove this warning. See 20:24:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:50 20:24:50 Login Succeeded 20:24:50 nexus3.edgexfoundry.org:10003 20:24:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:50 Configure a credential helper to remove this warning. See 20:24:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:50 20:24:50 Login Succeeded 20:24:50 nexus3.edgexfoundry.org:10004 20:24:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:50 Configure a credential helper to remove this warning. See 20:24:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:50 20:24:50 Login Succeeded 20:24:50 docker.io 20:24:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:51 Configure a credential helper to remove this warning. See 20:24:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:51 20:24:51 Login Succeeded 20:24:51 ---> docker-login.sh ends [Pipeline] } 20:24:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:24:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:24:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:24:51 ========================================================= 20:24:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:24:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:51 + 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 . 20:24:51 Sending build context to Docker daemon 10.73MB 20:24:51 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:24:51 Step 2/13 : FROM ${BASE} AS builder 20:24:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:24:51 213ec9aee27d: Pulling fs layer 20:24:51 4583459ba037: Pulling fs layer 20:24:51 93c1e223e6f2: Pulling fs layer 20:24:51 53926ce57604: Pulling fs layer 20:24:51 21b2b0c7a3f4: Pulling fs layer 20:24:51 30f14e443154: Pulling fs layer 20:24:51 801331c1e519: Pulling fs layer 20:24:51 99cc6dd402b0: Pulling fs layer 20:24:51 7d9ed39f4882: Pulling fs layer 20:24:51 21b2b0c7a3f4: Waiting 20:24:51 30f14e443154: Waiting 20:24:51 801331c1e519: Waiting 20:24:51 99cc6dd402b0: Waiting 20:24:51 7d9ed39f4882: Waiting 20:24:51 4583459ba037: Download complete 20:24:51 21b2b0c7a3f4: Verifying Checksum 20:24:51 21b2b0c7a3f4: Download complete 20:24:51 30f14e443154: Verifying Checksum 20:24:51 30f14e443154: Download complete 20:24:51 213ec9aee27d: Verifying Checksum 20:24:51 213ec9aee27d: Download complete 20:24:51 801331c1e519: Verifying Checksum 20:24:51 801331c1e519: Download complete 20:24:51 213ec9aee27d: Pull complete 20:24:52 4583459ba037: Pull complete 20:24:52 93c1e223e6f2: Pull complete 20:24:52 7d9ed39f4882: Verifying Checksum 20:24:52 7d9ed39f4882: Download complete 20:24:52 99cc6dd402b0: Verifying Checksum 20:24:52 99cc6dd402b0: Download complete 20:24:52 53926ce57604: Download complete 20:24:56 53926ce57604: Pull complete 20:24:56 21b2b0c7a3f4: Pull complete 20:24:56 30f14e443154: Pull complete 20:24:56 801331c1e519: Pull complete 20:24:58 99cc6dd402b0: Pull complete 20:24:59 7d9ed39f4882: Pull complete 20:24:59 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 20:24:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:24:59 ---> 1dedd983c030 20:24:59 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:25:03 ---> Running in 68cc20fc636a 20:25:03 Removing intermediate container 68cc20fc636a 20:25:03 ---> c5d257b0af1c 20:25:03 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:25:03 ---> Running in 97a4ab4181db 20:25:03 Removing intermediate container 97a4ab4181db 20:25:03 ---> 1809844983df 20:25:03 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:25:03 ---> Running in 702c573df624 20:25:03 Removing intermediate container 702c573df624 20:25:03 ---> d911ec903f06 20:25:03 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:25:03 ---> Running in 9286ae884a41 20:25:03 Removing intermediate container 9286ae884a41 20:25:03 ---> f42f433c6b6a 20:25:03 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:25:03 ---> Running in 0c9b1f03384e 20:25:04 Removing intermediate container 0c9b1f03384e 20:25:04 ---> b65f5d7407ca 20:25:04 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:25:04 ---> Running in a9247d1cf108 20:25:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:25:05 Still waiting to schedule task 20:25:05 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8405’ 20:25:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:25:05 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:25:05 (2/4) Installing libedit (20210910.3.1-r0) 20:25:05 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:25:05 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:25:06 Executing busybox-1.35.0-r17.trigger 20:25:06 OK: 216 MiB in 55 packages 20:25:06 Removing intermediate container a9247d1cf108 20:25:06 ---> 640f7a2a57d8 20:25:06 Step 9/13 : WORKDIR /device-rest-go 20:25:06 ---> Running in 2cb8671d2914 20:25:06 Removing intermediate container 2cb8671d2914 20:25:06 ---> bcd6891b2676 20:25:06 Step 10/13 : COPY go.mod vendor* ./ 20:25:06 ---> 196a50e0d662 20:25:06 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:25:06 ---> Running in bc85f13871c3 20:25:28 Removing intermediate container bc85f13871c3 20:25:28 ---> c5705ee8e3a6 20:25:28 Step 12/13 : COPY . . 20:25:28 ---> 8b0d7adbb59d 20:25:28 Step 13/13 : RUN $MAKE 20:25:28 ---> Running in ac7639e9f821 20:25:28 noop 20:25:28 Removing intermediate container ac7639e9f821 20:25:28 ---> 74aba4f3c313 20:25:28 Successfully built 74aba4f3c313 20:25:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:25:28 + docker inspect -f . ci-base-image-x86_64 20:25:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:25:28 prd-ubuntu20.04-docker-8c-8g-8406 does not seem to be running inside a container 20:25:29 $ 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 20:25:29 $ docker top 6162e7b15d6ad05b4b8c3c8c674ee4f84d471be453cb4686ccb5f41a97b7ed78 -eo pid,comm [Pipeline] { [Pipeline] sh 20:25:29 + go version 20:25:29 go version go1.18.7 linux/amd64 [Pipeline] } 20:25:29 $ docker stop --time=1 6162e7b15d6ad05b4b8c3c8c674ee4f84d471be453cb4686ccb5f41a97b7ed78 20:25:30 $ docker rm -f 6162e7b15d6ad05b4b8c3c8c674ee4f84d471be453cb4686ccb5f41a97b7ed78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:25:31 + docker inspect -f . ci-base-image-x86_64 20:25:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:25:31 prd-ubuntu20.04-docker-8c-8g-8406 does not seem to be running inside a container 20:25:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 20:25:31 $ docker top 4bbf6e3b10d878d7c280af28d7e90917e8aa4879386866ca833bd017902b70fd -eo pid,comm [Pipeline] { [Pipeline] sh 20:25:32 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 20:25:32 + make test 20:25:32 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:25:32 ? github.com/edgexfoundry/device-rest-go [no test files] 20:25:42 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:25:42 ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 55.2% of statements 20:25:49 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." 20:25:49 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:25:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:25:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:25:52 ./bin/test-attribution-txt.sh [Pipeline] echo 20:25:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:25:52 $ docker stop --time=1 4bbf6e3b10d878d7c280af28d7e90917e8aa4879386866ca833bd017902b70fd 20:25:55 $ docker rm -f 4bbf6e3b10d878d7c280af28d7e90917e8aa4879386866ca833bd017902b70fd [Pipeline] // withDockerContainer [Pipeline] sh 20:25:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:25:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:25:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:25:57 + ls -al . 20:25:57 total 180 20:25:57 drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 20:25 . 20:25:57 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 20:24 .. 20:25:57 -rw-rw-r-- 1 jenkins jenkins 151 Oct 17 20:24 .dockerignore 20:25:57 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 20:25 .git 20:25:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 20:24 .github 20:25:57 -rw-rw-r-- 1 jenkins jenkins 329 Oct 17 20:24 .gitignore 20:25:57 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 20:24 .golangci.yml 20:25:57 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 20:24 .semver 20:25:57 -rw-rw-r-- 1 jenkins jenkins 9100 Oct 17 20:24 Attribution.txt 20:25:57 -rw-rw-r-- 1 jenkins jenkins 11736 Oct 17 20:24 CHANGELOG.md 20:25:57 -rw-rw-r-- 1 jenkins jenkins 1730 Oct 17 20:24 Dockerfile 20:25:57 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 20:24 GOVERNANCE.md 20:25:57 -rw-rw-r-- 1 jenkins jenkins 680 Oct 17 20:24 Jenkinsfile 20:25:57 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 20:24 LICENSE 20:25:57 -rw-rw-r-- 1 jenkins jenkins 2173 Oct 17 20:24 Makefile 20:25:57 -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 20:24 OWNERS.md 20:25:57 -rw-rw-r-- 1 jenkins jenkins 8667 Oct 17 20:24 README.md 20:25:57 -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 20:24 VERSION 20:25:57 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 20:24 bin 20:25:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 20:24 cmd 20:25:57 -rw-r--r-- 1 jenkins jenkins 9355 Oct 17 20:25 coverage.out 20:25:57 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 20:24 driver 20:25:57 -rw-rw-r-- 1 jenkins jenkins 3547 Oct 17 20:24 go.mod 20:25:57 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 17 20:24 go.sum 20:25:57 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 20:24 snap 20:25:57 -rw-rw-r-- 1 jenkins jenkins 713 Oct 17 20:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:25:57 + 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=626f6c6d709bfdfff0bd38f00197e38acd6ec0eb --label arch=amd64 --label version=2.3.0-dev.20 . 20:25:57 Sending build context to Docker daemon 10.74MB 20:25:57 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:25:57 Step 2/26 : FROM ${BASE} AS builder 20:25:57 ---> 74aba4f3c313 20:25:57 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:25:57 ---> Running in aa0181c7223d 20:25:57 Removing intermediate container aa0181c7223d 20:25:57 ---> efb2674c9797 20:25:57 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:25:57 ---> Running in 531410a9d0ab 20:25:57 Removing intermediate container 531410a9d0ab 20:25:57 ---> ac499b830cf6 20:25:57 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:25:57 ---> Running in 6e31b5310d2b 20:25:57 Removing intermediate container 6e31b5310d2b 20:25:57 ---> d4f1f5abd48e 20:25:57 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:25:57 ---> Running in 4df005395fa7 20:25:57 Removing intermediate container 4df005395fa7 20:25:57 ---> ec9424911a1b 20:25:57 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:25:57 ---> Running in 6dbd282fe53d 20:25:58 Removing intermediate container 6dbd282fe53d 20:25:58 ---> a77ad4f6b449 20:25:58 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:25:58 ---> Running in 2075fdbb044d 20:25:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:25:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:26:00 OK: 216 MiB in 55 packages 20:26:00 Removing intermediate container 2075fdbb044d 20:26:00 ---> 2198377ecac8 20:26:00 Step 9/26 : WORKDIR /device-rest-go 20:26:00 ---> Running in da9bd1e7999a 20:26:00 Removing intermediate container da9bd1e7999a 20:26:00 ---> 1142eac0901e 20:26:00 Step 10/26 : COPY go.mod vendor* ./ 20:26:00 ---> a960ea0704a2 20:26:00 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:26:00 ---> Running in c550bf19840b 20:26:01 Removing intermediate container c550bf19840b 20:26:01 ---> d7e9cf5556b2 20:26:01 Step 12/26 : COPY . . 20:26:01 ---> 2bbcecdffc35 20:26:01 Step 13/26 : RUN $MAKE 20:26:01 ---> Running in d4f256e4cab1 20:26:01 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.20" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:26:23 Removing intermediate container d4f256e4cab1 20:26:23 ---> 59166e73f5c1 20:26:23 Step 14/26 : FROM alpine:3.16 20:26:23 3.16: Pulling from library/alpine 20:26:23 213ec9aee27d: Already exists 20:26:23 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:26:23 Status: Downloaded newer image for alpine:3.16 20:26:23 ---> 9c6f07244728 20:26:23 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:26:23 ---> Running in b8c7edc30922 20:26:24 Removing intermediate container b8c7edc30922 20:26:24 ---> bff3f2d51281 20:26:24 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 20:26:24 ---> Running in 61c71fdefc20 20:26:24 Removing intermediate container 61c71fdefc20 20:26:24 ---> 90951b5c1163 20:26:24 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 20:26:24 ---> Running in be93d24de6ea 20:26:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:26:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:26:24 (1/6) Installing dumb-init (1.2.5-r1) 20:26:24 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:26:24 (3/6) Installing libsodium (1.0.18-r0) 20:26:24 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:26:24 (5/6) Installing libzmq (4.3.4-r0) 20:26:24 (6/6) Installing zeromq (4.3.4-r0) 20:26:24 Executing busybox-1.35.0-r17.trigger 20:26:24 OK: 8 MiB in 20 packages 20:26:25 Removing intermediate container be93d24de6ea 20:26:25 ---> 548efeb60341 20:26:25 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:26:25 ---> bebdfe050742 20:26:25 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:26:25 ---> 340ba4ce944c 20:26:25 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:26:25 ---> f7573628d372 20:26:25 Step 21/26 : EXPOSE 59986 20:26:25 ---> Running in a91b9abf8c93 20:26:25 Removing intermediate container a91b9abf8c93 20:26:25 ---> 06daa230d19b 20:26:25 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:26:26 ---> Running in ff01dcb68726 20:26:26 Removing intermediate container ff01dcb68726 20:26:26 ---> 78e594bc0b87 20:26:26 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:26:26 ---> Running in 3e50cc9fad8f 20:26:26 Removing intermediate container 3e50cc9fad8f 20:26:26 ---> a9ceec858a62 20:26:26 Step 24/26 : LABEL arch=amd64 20:26:26 ---> Running in 75907ce7c0af 20:26:26 Removing intermediate container 75907ce7c0af 20:26:26 ---> 2213b9a03fd4 20:26:26 Step 25/26 : LABEL git_sha=626f6c6d709bfdfff0bd38f00197e38acd6ec0eb 20:26:26 ---> Running in 380e58ed974f 20:26:26 Removing intermediate container 380e58ed974f 20:26:26 ---> 83ee3d7df55b 20:26:26 Step 26/26 : LABEL version=2.3.0-dev.20 20:26:26 ---> Running in 9b511b654a77 20:26:26 Removing intermediate container 9b511b654a77 20:26:26 ---> 7ec33020e478 20:26:26 [Warning] One or more build-args [ARCH] were not consumed 20:26:26 Successfully built 7ec33020e478 20:26:26 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:26:26 provisioning config files... 20:26:26 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17714753931034699174tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:26:26 ---> docker-login.sh 20:26:26 nexus3.edgexfoundry.org:10001 20:26:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:26 Configure a credential helper to remove this warning. See 20:26:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:26 20:26:26 Login Succeeded 20:26:26 nexus3.edgexfoundry.org:10002 20:26:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:26 Configure a credential helper to remove this warning. See 20:26:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:26 20:26:26 Login Succeeded 20:26:26 nexus3.edgexfoundry.org:10003 20:26:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:27 Configure a credential helper to remove this warning. See 20:26:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:27 20:26:27 Login Succeeded 20:26:27 nexus3.edgexfoundry.org:10004 20:26:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:27 Configure a credential helper to remove this warning. See 20:26:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:27 20:26:27 Login Succeeded 20:26:27 docker.io 20:26:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:27 Configure a credential helper to remove this warning. See 20:26:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:27 20:26:27 Login Succeeded 20:26:27 ---> docker-login.sh ends [Pipeline] } 20:26:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:26:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:26:27 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 20:26:27 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb 20:26:27 latest 20:26:27 2.3.0-dev.20 20:26:27 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb-2.3.0-dev.20 20:26:27 main 20:26:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:28 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:626f6c6d709bfdfff0bd38f00197e38acd6ec0eb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:28 + docker push nexus3.edgexfoundry.org:10004/device-rest:626f6c6d709bfdfff0bd38f00197e38acd6ec0eb 20:26:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:26:28 9f6970fc9006: Preparing 20:26:28 f7f21b02bf44: Preparing 20:26:28 d52ca33b073d: Preparing 20:26:28 0d2d0033c881: Preparing 20:26:28 994393dc58e7: Preparing 20:26:28 994393dc58e7: Layer already exists 20:26:28 f7f21b02bf44: Pushed 20:26:28 9f6970fc9006: Pushed 20:26:28 0d2d0033c881: Pushed 20:26:31 d52ca33b073d: Pushed 20:26:31 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb: digest: sha256:a74d26848fcca108f694c50e44930ffed59cd79fdcc73caa17e6c0bed1efdba5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:31 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:31 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 20:26:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:26:31 9f6970fc9006: Preparing 20:26:31 f7f21b02bf44: Preparing 20:26:31 d52ca33b073d: Preparing 20:26:31 0d2d0033c881: Preparing 20:26:31 994393dc58e7: Preparing 20:26:31 f7f21b02bf44: Layer already exists 20:26:31 d52ca33b073d: Layer already exists 20:26:31 9f6970fc9006: Layer already exists 20:26:31 0d2d0033c881: Layer already exists 20:26:31 994393dc58e7: Layer already exists 20:26:31 latest: digest: sha256:a74d26848fcca108f694c50e44930ffed59cd79fdcc73caa17e6c0bed1efdba5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:32 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:32 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.20 20:26:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:26:32 9f6970fc9006: Preparing 20:26:32 f7f21b02bf44: Preparing 20:26:32 d52ca33b073d: Preparing 20:26:32 0d2d0033c881: Preparing 20:26:32 994393dc58e7: Preparing 20:26:32 0d2d0033c881: Layer already exists 20:26:32 994393dc58e7: Layer already exists 20:26:32 9f6970fc9006: Layer already exists 20:26:32 d52ca33b073d: Layer already exists 20:26:32 f7f21b02bf44: Layer already exists 20:26:32 2.3.0-dev.20: digest: sha256:a74d26848fcca108f694c50e44930ffed59cd79fdcc73caa17e6c0bed1efdba5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:32 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:626f6c6d709bfdfff0bd38f00197e38acd6ec0eb-2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:33 + docker push nexus3.edgexfoundry.org:10004/device-rest:626f6c6d709bfdfff0bd38f00197e38acd6ec0eb-2.3.0-dev.20 20:26:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:26:33 9f6970fc9006: Preparing 20:26:33 f7f21b02bf44: Preparing 20:26:33 d52ca33b073d: Preparing 20:26:33 0d2d0033c881: Preparing 20:26:33 994393dc58e7: Preparing 20:26:33 f7f21b02bf44: Layer already exists 20:26:33 0d2d0033c881: Layer already exists 20:26:33 994393dc58e7: Layer already exists 20:26:33 d52ca33b073d: Layer already exists 20:26:33 9f6970fc9006: Layer already exists 20:26:33 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb-2.3.0-dev.20: digest: sha256:a74d26848fcca108f694c50e44930ffed59cd79fdcc73caa17e6c0bed1efdba5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:33 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:33 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 20:26:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:26:33 9f6970fc9006: Preparing 20:26:33 f7f21b02bf44: Preparing 20:26:33 d52ca33b073d: Preparing 20:26:33 0d2d0033c881: Preparing 20:26:33 994393dc58e7: Preparing 20:26:33 d52ca33b073d: Layer already exists 20:26:33 f7f21b02bf44: Layer already exists 20:26:33 0d2d0033c881: Layer already exists 20:26:33 994393dc58e7: Layer already exists 20:26:33 9f6970fc9006: Layer already exists 20:26:33 main: digest: sha256:a74d26848fcca108f694c50e44930ffed59cd79fdcc73caa17e6c0bed1efdba5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:26:33 ===================================================== [Pipeline] echo 20:26:33 taggedImages: 20:26:33 - nexus3.edgexfoundry.org:10004/device-rest:626f6c6d709bfdfff0bd38f00197e38acd6ec0eb 20:26:33 - nexus3.edgexfoundry.org:10004/device-rest:latest 20:26:33 - nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.20 20:26:33 - nexus3.edgexfoundry.org:10004/device-rest:626f6c6d709bfdfff0bd38f00197e38acd6ec0eb-2.3.0-dev.20 20:26:33 - 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 20:26:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:26:33 20:26:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:26:34 latest: Pulling from edgex-lftools-log-publisher 20:26:34 5eb5b503b376: Pulling fs layer 20:26:34 5c69ac0246d0: Pulling fs layer 20:26:34 ec43610c2a17: Pulling fs layer 20:26:34 3a2ae6a8a46f: Pulling fs layer 20:26:34 33b1e0a273af: Pulling fs layer 20:26:34 5d3b04190fa2: Pulling fs layer 20:26:34 2f39f015ded8: Pulling fs layer 20:26:34 3a2ae6a8a46f: Waiting 20:26:34 33b1e0a273af: Waiting 20:26:34 5d3b04190fa2: Waiting 20:26:34 2f39f015ded8: Waiting 20:26:34 5c69ac0246d0: Verifying Checksum 20:26:34 5c69ac0246d0: Download complete 20:26:34 3a2ae6a8a46f: Verifying Checksum 20:26:34 3a2ae6a8a46f: Download complete 20:26:34 33b1e0a273af: Verifying Checksum 20:26:34 33b1e0a273af: Download complete 20:26:34 5d3b04190fa2: Verifying Checksum 20:26:34 5d3b04190fa2: Download complete 20:26:34 ec43610c2a17: Verifying Checksum 20:26:34 ec43610c2a17: Download complete 20:26:34 5eb5b503b376: Verifying Checksum 20:26:34 5eb5b503b376: Download complete 20:26:35 2f39f015ded8: Download complete 20:26:35 5eb5b503b376: Pull complete 20:26:35 5c69ac0246d0: Pull complete 20:26:36 ec43610c2a17: Pull complete 20:26:36 3a2ae6a8a46f: Pull complete 20:26:36 33b1e0a273af: Pull complete 20:26:36 5d3b04190fa2: Pull complete 20:26:40 2f39f015ded8: Pull complete 20:26:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:26:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:26:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:26:40 prd-ubuntu20.04-docker-8c-8g-8406 does not seem to be running inside a container 20:26:41 $ 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 20:26:44 $ docker top e3eec76b8533fa199f0e1ea74b179b6265ce8c2b1920631ece4e7f38acdd87bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:26:44 ---> job-cost.sh 20:26:44 lf-activate-venv: SKIPPING 20:26:44 INFO: No Stack... 20:26:45 INFO: Retrieving Pricing Info for: v3-standard-8 20:26:45 INFO: Archiving Costs [Pipeline] sh 20:26:46 + cut -d, -f6 20:26:46 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [Pipeline] lock 20:26:46 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-64-stack-cost] 20:26:46 Resource [jenkins-edgexfoundry-device-rest-go-main-64-stack-cost] did not exist. Created. 20:26:46 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-64-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:26:46 + echo total: 0.2199999988079071 [Pipeline] stash 20:26:46 Stashed 1 file(s) [Pipeline] } 20:26:46 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-64-stack-cost] [Pipeline] // lock [Pipeline] } 20:26:46 $ docker stop --time=1 e3eec76b8533fa199f0e1ea74b179b6265ce8c2b1920631ece4e7f38acdd87bf 20:26:47 $ docker rm -f e3eec76b8533fa199f0e1ea74b179b6265ce8c2b1920631ece4e7f38acdd87bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:27:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8409 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 20:27:30 Running in /w/workspace/device-rest-go/64 [Pipeline] { [Pipeline] checkout 20:27:30 The recommended git tool is: git 20:27:36 using credential edgex-jenkins-ssh 20:27:36 Cloning the remote Git repository 20:27:36 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:27:36 > git init /w/workspace/device-rest-go/64 # timeout=10 20:27:36 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:27:36 > git --version # timeout=10 20:27:36 > git --version # 'git version 2.25.1' 20:27:36 using GIT_SSH to set credentials SSH Credentials for GitHub 20:27:36 Verifying host key using known hosts file 20:27:36 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:27:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:27:38 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:27:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:27:39 Avoid second fetch 20:27:39 Checking out Revision 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb (main) 20:27:40 Commit message: "Merge pull request #220 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.40" 20:27:40 > git config core.sparsecheckout # timeout=10 20:27:40 > git checkout -f 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:27:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:27:41 % Total % Received % Xferd Average Speed Time Time Time Current 20:27:41 Dload Upload Total Spent Left Speed 20:27:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 183k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh 20:27:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:27:42 + sudo tee /etc/docker/daemon.new 20:27:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:27:42 { 20:27:42 "registry-mirrors": [ 20:27:42 "https://nexus3.edgexfoundry.org:10001" 20:27:42 ], 20:27:42 "bip": "10.250.0.254/24", 20:27:42 "hosts": [ 20:27:42 "tcp://0.0.0.0:5555", 20:27:42 "unix:///var/run/docker.sock" 20:27:42 ], 20:27:42 "mtu": 1458, 20:27:42 "selinux-enabled": true, 20:27:42 "seccomp-profile": "/etc/docker/seccomp.json" 20:27:42 } [Pipeline] sh 20:27:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:27:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:28:01 provisioning config files... 20:28:01 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/64@tmp/config7002208247899467389tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:28:01 ---> docker-login.sh 20:28:01 nexus3.edgexfoundry.org:10001 20:28:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:02 Configure a credential helper to remove this warning. See 20:28:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:02 20:28:02 Login Succeeded 20:28:02 nexus3.edgexfoundry.org:10002 20:28:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:02 Configure a credential helper to remove this warning. See 20:28:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:02 20:28:02 Login Succeeded 20:28:02 nexus3.edgexfoundry.org:10003 20:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:03 Configure a credential helper to remove this warning. See 20:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:03 20:28:03 Login Succeeded 20:28:03 nexus3.edgexfoundry.org:10004 20:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:03 Configure a credential helper to remove this warning. See 20:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:03 20:28:03 Login Succeeded 20:28:03 docker.io 20:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:04 Configure a credential helper to remove this warning. See 20:28:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:04 20:28:04 Login Succeeded 20:28:04 ---> docker-login.sh ends [Pipeline] } 20:28:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:28:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:28:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:28:04 ========================================================= 20:28:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:28:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:04 + 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 . 20:28:04 Sending build context to Docker daemon 127.5kB 20:28:05 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:28:05 Step 2/13 : FROM ${BASE} AS builder 20:28:05 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:28:05 9b18e9b68314: Pulling fs layer 20:28:05 d32db5db7311: Pulling fs layer 20:28:05 d0c4b47475fc: Pulling fs layer 20:28:05 5831b945b038: Pulling fs layer 20:28:05 86bbec2aaacd: Pulling fs layer 20:28:05 e10730c5d714: Pulling fs layer 20:28:05 5dd5c2283517: Pulling fs layer 20:28:05 d5ac0230b979: Pulling fs layer 20:28:05 86bbec2aaacd: Waiting 20:28:05 e10730c5d714: Waiting 20:28:05 5dd5c2283517: Waiting 20:28:05 d5ac0230b979: Waiting 20:28:05 5831b945b038: Waiting 20:28:05 d0c4b47475fc: Verifying Checksum 20:28:05 d0c4b47475fc: Download complete 20:28:05 d32db5db7311: Verifying Checksum 20:28:05 d32db5db7311: Download complete 20:28:05 86bbec2aaacd: Verifying Checksum 20:28:05 86bbec2aaacd: Download complete 20:28:05 e10730c5d714: Verifying Checksum 20:28:05 e10730c5d714: Download complete 20:28:05 9b18e9b68314: Verifying Checksum 20:28:05 9b18e9b68314: Download complete 20:28:06 9b18e9b68314: Pull complete 20:28:06 d5ac0230b979: Verifying Checksum 20:28:06 d5ac0230b979: Download complete 20:28:07 d32db5db7311: Pull complete 20:28:07 d0c4b47475fc: Pull complete 20:28:08 5dd5c2283517: Verifying Checksum 20:28:08 5dd5c2283517: Download complete 20:28:08 5831b945b038: Verifying Checksum 20:28:08 5831b945b038: Download complete 20:28:21 5831b945b038: Pull complete 20:28:21 86bbec2aaacd: Pull complete 20:28:21 e10730c5d714: Pull complete 20:28:29 5dd5c2283517: Pull complete 20:28:30 d5ac0230b979: Pull complete 20:28:30 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 20:28:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:28:30 ---> 59b3b1a385d4 20:28:30 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:28:31 ---> Running in 3752853c177a 20:28:32 Removing intermediate container 3752853c177a 20:28:32 ---> 4b0ebe6b7ef8 20:28:32 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:28:32 ---> Running in a392d6995915 20:28:32 Removing intermediate container a392d6995915 20:28:32 ---> b676ef627698 20:28:32 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:28:32 ---> Running in f9274be93c68 20:28:33 Removing intermediate container f9274be93c68 20:28:33 ---> 6045e14f6403 20:28:33 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:28:33 ---> Running in 1af66d6dfc96 20:28:33 Removing intermediate container 1af66d6dfc96 20:28:33 ---> d616fc58d8b5 20:28:33 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:28:33 ---> Running in deb34f6f7c4d 20:28:35 Removing intermediate container deb34f6f7c4d 20:28:35 ---> 01247defd50f 20:28:35 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:28:35 ---> Running in 8e5146f3bcc0 20:28:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:28:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:28:38 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:28:38 (2/4) Installing libedit (20210910.3.1-r0) 20:28:38 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:28:38 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:28:38 Executing busybox-1.35.0-r17.trigger 20:28:38 OK: 226 MiB in 55 packages 20:28:39 Removing intermediate container 8e5146f3bcc0 20:28:39 ---> 18fc0a87ee45 20:28:39 Step 9/13 : WORKDIR /device-rest-go 20:28:40 ---> Running in edfb40adabd4 20:28:40 Removing intermediate container edfb40adabd4 20:28:40 ---> 53cbeaffddbe 20:28:40 Step 10/13 : COPY go.mod vendor* ./ 20:28:41 ---> ec5f2b0f4829 20:28:41 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:28:41 ---> Running in 43ee5b043aad 20:29:37 Removing intermediate container 43ee5b043aad 20:29:37 ---> 9c1974dfe36d 20:29:37 Step 12/13 : COPY . . 20:29:37 ---> 4371ebd22baa 20:29:37 Step 13/13 : RUN $MAKE 20:29:37 ---> Running in 5ace850819cb 20:29:37 noop 20:29:37 Removing intermediate container 5ace850819cb 20:29:37 ---> 600f4c50e44b 20:29:37 Successfully built 600f4c50e44b 20:29:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:38 + docker inspect -f . ci-base-image-arm64 20:29:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:29:38 prd-ubuntu20.04-docker-arm64-4c-16g-8409 does not seem to be running inside a container 20:29:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/64 -v /w/workspace/device-rest-go/64:/w/workspace/device-rest-go/64:rw,z -v /w/workspace/device-rest-go/64@tmp:/w/workspace/device-rest-go/64@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-arm64 cat 20:29:39 $ docker top 6c9f4f8e46d98ae2c3c1bb6ac38076329b165a446e11c592e34c0baf0e07b1a4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:29:40 + go version 20:29:40 go version go1.18.7 linux/arm64 [Pipeline] } 20:29:40 $ docker stop --time=1 6c9f4f8e46d98ae2c3c1bb6ac38076329b165a446e11c592e34c0baf0e07b1a4 20:29:42 $ docker rm -f 6c9f4f8e46d98ae2c3c1bb6ac38076329b165a446e11c592e34c0baf0e07b1a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:42 + docker inspect -f . ci-base-image-arm64 20:29:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:29:42 prd-ubuntu20.04-docker-arm64-4c-16g-8409 does not seem to be running inside a container 20:29:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/64 -v /w/workspace/device-rest-go/64:/w/workspace/device-rest-go/64:rw,z -v /w/workspace/device-rest-go/64@tmp:/w/workspace/device-rest-go/64@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-arm64 cat 20:29:44 $ docker top 5d0e9dab715c8f3497924612741522a25624e758578b2351b6731fe143f42445 -eo pid,comm [Pipeline] { [Pipeline] sh 20:29:45 + git config --global --add safe.directory /w/workspace/device-rest-go/64 [Pipeline] fileExists [Pipeline] sh 20:29:45 + make test 20:29:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:29:47 ? github.com/edgexfoundry/device-rest-go [no test files] 20:31:24 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:31:24 ok github.com/edgexfoundry/device-rest-go/driver 0.079s coverage: 55.2% of statements 20:31:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:31:24 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:31:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:31:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:31:51 ./bin/test-attribution-txt.sh [Pipeline] echo 20:31:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:31:51 $ docker stop --time=1 5d0e9dab715c8f3497924612741522a25624e758578b2351b6731fe143f42445 20:31:53 $ docker rm -f 5d0e9dab715c8f3497924612741522a25624e758578b2351b6731fe143f42445 [Pipeline] // withDockerContainer [Pipeline] sh 20:31:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:31:54 Warning: overwriting stash ‘coverage-report’ 20:31:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:31:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:31:55 + ls -al . 20:31:55 total 176 20:31:55 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 20:29 . 20:31:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 20:27 .. 20:31:55 -rw-rw-r-- 1 jenkins jenkins 151 Oct 17 20:27 .dockerignore 20:31:55 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 20:27 .git 20:31:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 20:27 .github 20:31:55 -rw-rw-r-- 1 jenkins jenkins 329 Oct 17 20:27 .gitignore 20:31:55 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 20:27 .golangci.yml 20:31:55 -rw-rw-r-- 1 jenkins jenkins 9100 Oct 17 20:27 Attribution.txt 20:31:55 -rw-rw-r-- 1 jenkins jenkins 11736 Oct 17 20:27 CHANGELOG.md 20:31:55 -rw-rw-r-- 1 jenkins jenkins 1730 Oct 17 20:27 Dockerfile 20:31:55 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 20:27 GOVERNANCE.md 20:31:55 -rw-rw-r-- 1 jenkins jenkins 680 Oct 17 20:27 Jenkinsfile 20:31:55 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 20:27 LICENSE 20:31:55 -rw-rw-r-- 1 jenkins jenkins 2173 Oct 17 20:27 Makefile 20:31:55 -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 20:27 OWNERS.md 20:31:55 -rw-rw-r-- 1 jenkins jenkins 8667 Oct 17 20:27 README.md 20:31:55 -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 20:24 VERSION 20:31:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 20:27 bin 20:31:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 20:27 cmd 20:31:55 -rw-r--r-- 1 jenkins jenkins 9355 Oct 17 20:31 coverage.out 20:31:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 20:27 driver 20:31:55 -rw-rw-r-- 1 jenkins jenkins 3547 Oct 17 20:27 go.mod 20:31:55 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 17 20:27 go.sum 20:31:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 20:27 snap 20:31:55 -rw-rw-r-- 1 jenkins jenkins 713 Oct 17 20:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:56 + 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=626f6c6d709bfdfff0bd38f00197e38acd6ec0eb --label arch=arm64 --label version=2.3.0-dev.20 . 20:31:56 Sending build context to Docker daemon 137.7kB 20:31:56 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:31:56 Step 2/26 : FROM ${BASE} AS builder 20:31:56 ---> 600f4c50e44b 20:31:56 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:31:56 ---> Running in ef1b98154e3c 20:31:57 Removing intermediate container ef1b98154e3c 20:31:57 ---> fa930b248d6c 20:31:57 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:31:57 ---> Running in 971aec247116 20:31:57 Removing intermediate container 971aec247116 20:31:57 ---> ce5fda6c51df 20:31:57 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:31:57 ---> Running in 208cb3003ff6 20:31:57 Removing intermediate container 208cb3003ff6 20:31:57 ---> 6712c2962233 20:31:57 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:31:58 ---> Running in f7e616e1531d 20:31:58 Removing intermediate container f7e616e1531d 20:31:58 ---> fe98742f8312 20:31:58 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:31:58 ---> Running in 1904ba4c6af3 20:32:01 Removing intermediate container 1904ba4c6af3 20:32:01 ---> 8e10e281b521 20:32:01 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:32:01 ---> Running in 38eb05fc0278 20:32:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:32:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:32:04 OK: 226 MiB in 55 packages 20:32:05 Removing intermediate container 38eb05fc0278 20:32:05 ---> 5f24c8d02944 20:32:05 Step 9/26 : WORKDIR /device-rest-go 20:32:06 ---> Running in cf7b1aba683a 20:32:06 Removing intermediate container cf7b1aba683a 20:32:06 ---> 746fb1347b00 20:32:06 Step 10/26 : COPY go.mod vendor* ./ 20:32:07 ---> eb5b4f923f51 20:32:07 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:32:07 ---> Running in 629d76ef8db0 20:32:10 Removing intermediate container 629d76ef8db0 20:32:10 ---> bcba99c342e6 20:32:10 Step 12/26 : COPY . . 20:32:10 ---> 6cc80951ed5f 20:32:10 Step 13/26 : RUN $MAKE 20:32:11 ---> Running in f5f4552e26a6 20:32:12 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.20" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:35:19 Removing intermediate container f5f4552e26a6 20:35:19 ---> e31cb972ab39 20:35:19 Step 14/26 : FROM alpine:3.16 20:35:19 3.16: Pulling from library/alpine 20:35:19 9b18e9b68314: Already exists 20:35:19 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:35:19 Status: Downloaded newer image for alpine:3.16 20:35:19 ---> a6215f271958 20:35:19 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:35:19 ---> Running in fb98e5a5e50e 20:35:19 Removing intermediate container fb98e5a5e50e 20:35:19 ---> 7ddfc837993c 20:35:19 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 20:35:19 ---> Running in e612183b11ba 20:35:19 Removing intermediate container e612183b11ba 20:35:19 ---> 4f6a67482d61 20:35:19 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 20:35:19 ---> Running in 7a1c49a5aeda 20:35:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:35:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:35:19 (1/6) Installing dumb-init (1.2.5-r1) 20:35:19 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:35:19 (3/6) Installing libsodium (1.0.18-r0) 20:35:19 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:35:19 (5/6) Installing libzmq (4.3.4-r0) 20:35:19 (6/6) Installing zeromq (4.3.4-r0) 20:35:19 Executing busybox-1.35.0-r17.trigger 20:35:19 OK: 8 MiB in 20 packages 20:35:19 Removing intermediate container 7a1c49a5aeda 20:35:19 ---> a17f3eeacd83 20:35:19 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:35:19 ---> d52b29e2d25f 20:35:19 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:35:19 ---> f6efa7e4efcf 20:35:19 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:35:19 ---> 2336ab8de7dc 20:35:19 Step 21/26 : EXPOSE 59986 20:35:19 ---> Running in 1b8a209d1e13 20:35:19 Removing intermediate container 1b8a209d1e13 20:35:19 ---> c9f16dae3936 20:35:19 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:35:19 ---> Running in ef52c3de74de 20:35:19 Removing intermediate container ef52c3de74de 20:35:19 ---> 5c17d1e5937e 20:35:19 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:35:19 ---> Running in 654a7c8092b4 20:35:19 Removing intermediate container 654a7c8092b4 20:35:19 ---> d0bc135a39d7 20:35:19 Step 24/26 : LABEL arch=arm64 20:35:19 ---> Running in 18ba8e556c1b 20:35:19 Removing intermediate container 18ba8e556c1b 20:35:19 ---> 2ff3f9fc453b 20:35:19 Step 25/26 : LABEL git_sha=626f6c6d709bfdfff0bd38f00197e38acd6ec0eb 20:35:19 ---> Running in beb59555cdb3 20:35:19 Removing intermediate container beb59555cdb3 20:35:19 ---> 5efdad2c3a8b 20:35:19 Step 26/26 : LABEL version=2.3.0-dev.20 20:35:19 ---> Running in a019a415f4d3 20:35:19 Removing intermediate container a019a415f4d3 20:35:19 ---> 20e91f030a71 20:35:19 [Warning] One or more build-args [ARCH] were not consumed 20:35:19 Successfully built 20e91f030a71 20:35:19 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 20:35:19 provisioning config files... 20:35:19 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/64@tmp/config2942926495055295198tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:35:19 ---> docker-login.sh 20:35:19 nexus3.edgexfoundry.org:10001 20:35:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:19 Configure a credential helper to remove this warning. See 20:35:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:19 20:35:19 Login Succeeded 20:35:19 nexus3.edgexfoundry.org:10002 20:35:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:20 Configure a credential helper to remove this warning. See 20:35:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:20 20:35:20 Login Succeeded 20:35:20 nexus3.edgexfoundry.org:10003 20:35:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:20 Configure a credential helper to remove this warning. See 20:35:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:20 20:35:20 Login Succeeded 20:35:20 nexus3.edgexfoundry.org:10004 20:35:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:21 Configure a credential helper to remove this warning. See 20:35:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:21 20:35:21 Login Succeeded 20:35:21 docker.io 20:35:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:21 Configure a credential helper to remove this warning. See 20:35:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:21 20:35:21 Login Succeeded 20:35:21 ---> docker-login.sh ends [Pipeline] } 20:35:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:35:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:35:21 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 20:35:21 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb 20:35:21 latest 20:35:21 2.3.0-dev.20 20:35:21 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb-2.3.0-dev.20 20:35:21 main 20:35:21 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:22 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:626f6c6d709bfdfff0bd38f00197e38acd6ec0eb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:22 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:626f6c6d709bfdfff0bd38f00197e38acd6ec0eb 20:35:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:35:22 2437951ba477: Preparing 20:35:22 28cdaeb34e85: Preparing 20:35:22 623c077d4bd7: Preparing 20:35:22 3192649d10c0: Preparing 20:35:22 5d3e392a13a0: Preparing 20:35:22 5d3e392a13a0: Layer already exists 20:35:22 2437951ba477: Pushed 20:35:22 28cdaeb34e85: Pushed 20:35:23 3192649d10c0: Pushed 20:35:28 623c077d4bd7: Pushed 20:35:28 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb: digest: sha256:249633dab5a53e5d2ad87a9d37142311a20ecb4a7952dbf169f1144f0d93c271 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:28 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:29 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:35:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:35:29 2437951ba477: Preparing 20:35:29 28cdaeb34e85: Preparing 20:35:29 623c077d4bd7: Preparing 20:35:29 3192649d10c0: Preparing 20:35:29 5d3e392a13a0: Preparing 20:35:29 28cdaeb34e85: Layer already exists 20:35:29 5d3e392a13a0: Layer already exists 20:35:29 623c077d4bd7: Layer already exists 20:35:29 2437951ba477: Layer already exists 20:35:29 3192649d10c0: Layer already exists 20:35:29 latest: digest: sha256:249633dab5a53e5d2ad87a9d37142311a20ecb4a7952dbf169f1144f0d93c271 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:29 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:30 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.20 20:35:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:35:30 2437951ba477: Preparing 20:35:30 28cdaeb34e85: Preparing 20:35:30 623c077d4bd7: Preparing 20:35:30 3192649d10c0: Preparing 20:35:30 5d3e392a13a0: Preparing 20:35:30 623c077d4bd7: Layer already exists 20:35:30 28cdaeb34e85: Layer already exists 20:35:30 3192649d10c0: Layer already exists 20:35:30 5d3e392a13a0: Layer already exists 20:35:30 2437951ba477: Layer already exists 20:35:30 2.3.0-dev.20: digest: sha256:249633dab5a53e5d2ad87a9d37142311a20ecb4a7952dbf169f1144f0d93c271 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:30 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:626f6c6d709bfdfff0bd38f00197e38acd6ec0eb-2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:31 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:626f6c6d709bfdfff0bd38f00197e38acd6ec0eb-2.3.0-dev.20 20:35:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:35:31 2437951ba477: Preparing 20:35:31 28cdaeb34e85: Preparing 20:35:31 623c077d4bd7: Preparing 20:35:31 3192649d10c0: Preparing 20:35:31 5d3e392a13a0: Preparing 20:35:31 5d3e392a13a0: Layer already exists 20:35:31 623c077d4bd7: Layer already exists 20:35:31 28cdaeb34e85: Layer already exists 20:35:31 2437951ba477: Layer already exists 20:35:31 3192649d10c0: Layer already exists 20:35:31 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb-2.3.0-dev.20: digest: sha256:249633dab5a53e5d2ad87a9d37142311a20ecb4a7952dbf169f1144f0d93c271 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:31 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:31 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 20:35:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:35:31 2437951ba477: Preparing 20:35:31 28cdaeb34e85: Preparing 20:35:31 623c077d4bd7: Preparing 20:35:31 3192649d10c0: Preparing 20:35:31 5d3e392a13a0: Preparing 20:35:31 5d3e392a13a0: Layer already exists 20:35:31 2437951ba477: Layer already exists 20:35:31 28cdaeb34e85: Layer already exists 20:35:31 3192649d10c0: Layer already exists 20:35:31 623c077d4bd7: Layer already exists 20:35:31 main: digest: sha256:249633dab5a53e5d2ad87a9d37142311a20ecb4a7952dbf169f1144f0d93c271 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:35:32 ===================================================== [Pipeline] echo 20:35:32 taggedImages: 20:35:32 - nexus3.edgexfoundry.org:10004/device-rest-arm64:626f6c6d709bfdfff0bd38f00197e38acd6ec0eb 20:35:32 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:35:32 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.20 20:35:32 - nexus3.edgexfoundry.org:10004/device-rest-arm64:626f6c6d709bfdfff0bd38f00197e38acd6ec0eb-2.3.0-dev.20 20:35:32 - 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 20:35:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:35:32 20:35:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:35:32 arm64: Pulling from edgex-lftools-log-publisher 20:35:32 8998bd30e6a1: Pulling fs layer 20:35:32 04944245beec: Pulling fs layer 20:35:32 699f458cf7ca: Pulling fs layer 20:35:32 765212b225bb: Pulling fs layer 20:35:32 f23df028b6ca: Pulling fs layer 20:35:32 d65c8cfc05b1: Pulling fs layer 20:35:32 2437ff75d9bd: Pulling fs layer 20:35:32 765212b225bb: Waiting 20:35:32 f23df028b6ca: Waiting 20:35:32 d65c8cfc05b1: Waiting 20:35:32 2437ff75d9bd: Waiting 20:35:33 04944245beec: Verifying Checksum 20:35:33 04944245beec: Download complete 20:35:33 765212b225bb: Verifying Checksum 20:35:33 765212b225bb: Download complete 20:35:33 f23df028b6ca: Verifying Checksum 20:35:33 f23df028b6ca: Download complete 20:35:33 d65c8cfc05b1: Verifying Checksum 20:35:33 d65c8cfc05b1: Download complete 20:35:33 699f458cf7ca: Verifying Checksum 20:35:33 699f458cf7ca: Download complete 20:35:33 8998bd30e6a1: Download complete 20:35:36 2437ff75d9bd: Verifying Checksum 20:35:36 2437ff75d9bd: Download complete 20:35:37 8998bd30e6a1: Pull complete 20:35:38 04944245beec: Pull complete 20:35:39 699f458cf7ca: Pull complete 20:35:39 765212b225bb: Pull complete 20:35:40 f23df028b6ca: Pull complete 20:35:40 d65c8cfc05b1: Pull complete 20:35:55 2437ff75d9bd: Pull complete 20:35:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:35:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:35:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:35:55 prd-ubuntu20.04-docker-arm64-4c-16g-8409 does not seem to be running inside a container 20:35:55 $ 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/64 -v /w/workspace/device-rest-go/64:/w/workspace/device-rest-go/64:rw,z -v /w/workspace/device-rest-go/64@tmp:/w/workspace/device-rest-go/64@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:arm64 cat 20:35:58 $ docker top f73cce21038777de389c2c187dbf7b3ed8791cfad71d71ea680170e81d420bef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:35:59 ---> job-cost.sh 20:35:59 lf-activate-venv: SKIPPING 20:35:59 INFO: No Stack... 20:35:59 INFO: Retrieving Pricing Info for: v3-standard-4 20:36:00 INFO: Archiving Costs [Pipeline] sh 20:36:01 + cat /w/workspace/device-rest-go/64/archives/cost.csv 20:36:01 + cut -d, -f6 [Pipeline] lock 20:36:01 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-64-stack-cost] 20:36:01 Resource [jenkins-edgexfoundry-device-rest-go-main-64-stack-cost] did not exist. Created. 20:36:01 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-64-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:36:01 /w/workspace/device-rest-go/64@tmp/durable-412ab839/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:36:02 + echo total: 0.10999999940395355 [Pipeline] stash 20:36:02 Warning: overwriting stash ‘stack-cost’ 20:36:02 Stashed 1 file(s) [Pipeline] } 20:36:02 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-64-stack-cost] [Pipeline] // lock [Pipeline] } 20:36:02 $ docker stop --time=1 f73cce21038777de389c2c187dbf7b3ed8791cfad71d71ea680170e81d420bef 20:36:03 $ docker rm -f f73cce21038777de389c2c187dbf7b3ed8791cfad71d71ea680170e81d420bef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:36:04 provisioning config files... 20:36:04 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1464981318839917447tmp [Pipeline] { [Pipeline] sh 20:36:04 + set +x 20:36:04 + + bashcurl -s -s -- https://codecov.io/bash 20:36:04 20:36:04 20:36:04 _____ _ 20:36:04 / ____| | | 20:36:04 | | ___ __| | ___ ___ _____ __ 20:36:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:36:04 | |___| (_) | (_| | __/ (_| (_) \ V / 20:36:04 \_____\___/ \__,_|\___|\___\___/ \_/ 20:36:04 Bash-1.0.6 20:36:04 20:36:04 20:36:04 ==> git version 2.25.1 found 20:36:04 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 20:36:04 Release-Date: 2020-01-08 20:36:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:36:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:36:04 ==> Jenkins CI detected. 20:36:04 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 20:36:04 project root: . 20:36:04 --> token set from env 20:36:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:36:04 ==> Running gcov in . (disable via -X gcov) 20:36:04 ==> Python coveragepy not found 20:36:04 ==> Searching for coverage reports in: 20:36:04 + . 20:36:04 -> Found 1 reports 20:36:04 ==> Detecting git/mercurial file structure 20:36:04 ==> Reading reports 20:36:04 + ./coverage.out bytes=9355 20:36:04 ==> Appending adjustments 20:36:04 https://docs.codecov.io/docs/fixing-reports 20:36:04 + Found adjustments 20:36:04 ==> Gzipping contents 20:36:04 4.0K /tmp/codecov.D2GI2w.gz 20:36:04 ==> Uploading reports 20:36:04 url: https://codecov.io 20:36:04 query: branch=main&commit=626f6c6d709bfdfff0bd38f00197e38acd6ec0eb&build=64&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F64%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:36:04 -> Pinging Codecov 20:36:04 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=626f6c6d709bfdfff0bd38f00197e38acd6ec0eb&build=64&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F64%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:36:05 -> Uploading to 20:36:05 https://storage.googleapis.com/codecov/v4/raw/2022-10-17/4E5D53B4F1F92C436F7061BF334D961C/626f6c6d709bfdfff0bd38f00197e38acd6ec0eb/b8f9c425-2067-4a13-8f75-403a06881dc6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T203604Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=124d2da9006356253c38469b9215c40af83b3d60f40f5d67993c1926bf85d441 20:36:05 % Total % Received % Xferd Average Speed Time Time Time Current 20:36:05 Dload Upload Total Spent Left Speed 20:36:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7936 --:--:-- --:--:-- --:--:-- 7936 20:36:05 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/626f6c6d709bfdfff0bd38f00197e38acd6ec0eb [Pipeline] } 20:36:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:36:05 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:36:05 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:36:05 20:36:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:36:05 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:36:05 df9b9388f04a: Pulling fs layer 20:36:05 52dc419b0ee2: Pulling fs layer 20:36:05 25bc292e5bac: Pulling fs layer 20:36:05 114826534d7a: Pulling fs layer 20:36:05 4657fd5d0bcf: Pulling fs layer 20:36:05 6ad1cebc031e: Pulling fs layer 20:36:05 8a3aa393b2d8: Pulling fs layer 20:36:05 114826534d7a: Waiting 20:36:05 6ad1cebc031e: Waiting 20:36:05 8a3aa393b2d8: Waiting 20:36:05 25bc292e5bac: Download complete 20:36:05 52dc419b0ee2: Download complete 20:36:05 4657fd5d0bcf: Download complete 20:36:05 df9b9388f04a: Verifying Checksum 20:36:05 df9b9388f04a: Download complete 20:36:06 df9b9388f04a: Pull complete 20:36:06 52dc419b0ee2: Pull complete 20:36:06 6ad1cebc031e: Verifying Checksum 20:36:06 6ad1cebc031e: Download complete 20:36:06 25bc292e5bac: Pull complete 20:36:07 114826534d7a: Verifying Checksum 20:36:07 114826534d7a: Download complete 20:36:07 8a3aa393b2d8: Verifying Checksum 20:36:07 8a3aa393b2d8: Download complete 20:36:10 114826534d7a: Pull complete 20:36:10 4657fd5d0bcf: Pull complete 20:36:10 6ad1cebc031e: Pull complete 20:36:13 8a3aa393b2d8: Pull complete 20:36:13 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:36:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:36:13 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:13 prd-ubuntu20.04-docker-8c-8g-8406 does not seem to be running inside a container 20:36:13 $ 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 20:36:16 $ docker top e157c2e559dde4813efdaf42f28df200b499d3b77b7200d691f0be5554304f2b -eo pid,comm [Pipeline] { [Pipeline] echo 20:36:16 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 20:36:16 + set -o pipefail 20:36:16 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 20:36:23 20:36:23 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 20:36:23 20:36:23 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/74ad1114-ea5e-48cc-9900-2e9d2892ee29 20:36:23 20:36:23 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:36:23 20:36:23 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:36:23 20:36:23 20:36:23 A medium severity vulnerability was found in the Snyk CLI versions you are using. 20:36:23 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 20:36:23 More details here: https://snyk.co/ue1NS [Pipeline] } 20:36:23 $ docker stop --time=1 e157c2e559dde4813efdaf42f28df200b499d3b77b7200d691f0be5554304f2b 20:36:26 $ docker rm -f e157c2e559dde4813efdaf42f28df200b499d3b77b7200d691f0be5554304f2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:36:27 + git log --format=format:%s -1 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb [Pipeline] sh 20:36:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:36:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:36:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:27 prd-ubuntu20.04-docker-8c-8g-8406 does not seem to be running inside a container 20:36:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:36:28 $ docker top 55e43987bfc2f05a2b79482077f1c8773b040e43be4f42baeda08493d35cff3f -eo pid,comm 20:36:28 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). 20:36:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:36:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:36:28 [ssh-agent] Looking for ssh-agent implementation... 20:36:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:36:28 $ docker exec 55e43987bfc2f05a2b79482077f1c8773b040e43be4f42baeda08493d35cff3f ssh-agent 20:36:28 SSH_AUTH_SOCK=/tmp/ssh-C2bOfd71IGnz/agent.32 20:36:28 SSH_AGENT_PID=38 20:36:28 Running ssh-add (command line suppressed) 20:36:28 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11668627921518720390.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11668627921518720390.key) 20:36:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:36:28 + git semver tag 20:36:29 2022-10-17 20:36:29,075 [run_tag] DEBUG tag force:False 20:36:29 2022-10-17 20:36:29,075 [check_head_tag] DEBUG check head tag 20:36:29 2022-10-17 20:36:29,076 [execute] INFO git cat-file --batch-check 20:36:29 2022-10-17 20:36:29,076 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 20:36:29 2022-10-17 20:36:29,079 [execute] INFO git cat-file --batch 20:36:29 2022-10-17 20:36:29,080 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 20:36:29 2022-10-17 20:36:29,094 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:36:29 2022-10-17 20:36:29,094 [execute] INFO git tag -a v2.3.0-dev.20 -m v2.3.0-dev.20 20:36:29 2022-10-17 20:36:29,095 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.20', '-m', 'v2.3.0-dev.20'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 20:36:29 2022-10-17 20:36:29,099 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:36:29 2.3.0-dev.20 [Pipeline] } 20:36:29 $ docker exec --env ******** --env ******** 55e43987bfc2f05a2b79482077f1c8773b040e43be4f42baeda08493d35cff3f ssh-agent -k 20:36:29 unset SSH_AUTH_SOCK; 20:36:29 unset SSH_AGENT_PID; 20:36:29 echo Agent pid 38 killed; 20:36:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:36:29 + git semver [Pipeline] } 20:36:29 $ docker stop --time=1 55e43987bfc2f05a2b79482077f1c8773b040e43be4f42baeda08493d35cff3f 20:36:31 $ docker rm -f 55e43987bfc2f05a2b79482077f1c8773b040e43be4f42baeda08493d35cff3f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:36:31 20:36:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:36:31 0.23.1-centos7: Pulling from edgex-lftools 20:36:31 ab5ef0e58194: Pulling fs layer 20:36:31 9712f1f96733: Pulling fs layer 20:36:31 63f879dbbcfc: Pulling fs layer 20:36:31 0d9ebad4ef96: Pulling fs layer 20:36:31 e9a5061849ea: Pulling fs layer 20:36:31 d747dcd14b5f: Pulling fs layer 20:36:31 2de7ff778b66: Pulling fs layer 20:36:31 d747dcd14b5f: Waiting 20:36:31 0d9ebad4ef96: Waiting 20:36:31 2de7ff778b66: Waiting 20:36:31 e9a5061849ea: Waiting 20:36:31 9712f1f96733: Download complete 20:36:32 63f879dbbcfc: Verifying Checksum 20:36:32 63f879dbbcfc: Download complete 20:36:32 0d9ebad4ef96: Verifying Checksum 20:36:32 0d9ebad4ef96: Download complete 20:36:32 d747dcd14b5f: Verifying Checksum 20:36:32 d747dcd14b5f: Download complete 20:36:32 e9a5061849ea: Verifying Checksum 20:36:32 e9a5061849ea: Download complete 20:36:32 ab5ef0e58194: Verifying Checksum 20:36:32 ab5ef0e58194: Download complete 20:36:32 2de7ff778b66: Verifying Checksum 20:36:32 2de7ff778b66: Download complete 20:36:35 ab5ef0e58194: Pull complete 20:36:35 9712f1f96733: Pull complete 20:36:35 63f879dbbcfc: Pull complete 20:36:39 0d9ebad4ef96: Pull complete 20:36:39 e9a5061849ea: Pull complete 20:36:39 d747dcd14b5f: Pull complete 20:36:40 2de7ff778b66: Pull complete 20:36:40 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:36:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:36:40 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:40 prd-ubuntu20.04-docker-8c-8g-8406 does not seem to be running inside a container 20:36:40 $ 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 20:36:44 $ docker top a67e4398689460be0d77a7c50532ca9c63b747f180bcabeccad71095222df1ea -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:36:44 provisioning config files... 20:36:44 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16546795479766559960tmp 20:36:44 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8053853947325378313tmp 20:36:44 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5645594005876839120tmp [Pipeline] { [Pipeline] echo 20:36:44 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:36:44 ---> sigul-configuration.sh 20:36:44 gpg: directory `/root/.gnupg' created 20:36:44 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:36:44 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:36:44 gpg: keyring `/root/.gnupg/secring.gpg' created 20:36:44 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:36:44 gpg: CAST5 encrypted data 20:36:44 gpg: encrypted with 1 passphrase 20:36:44 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:36:45 + mkdir /home/jenkins 20:36:45 + mkdir /home/jenkins/sigul [Pipeline] sh 20:36:45 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 20:36:45 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:36:45 ---> sigul-install.sh 20:36:45 Sigul already installed; skipping installation. [Pipeline] sh 20:36:45 + git tag --list 20:36:45 v1.0.0 20:36:45 v1.1.0 20:36:45 v1.1.1 20:36:45 v1.1.2 20:36:45 v1.2.0 20:36:45 v1.2.1 20:36:45 v2.0.0 20:36:45 v2.1.0 20:36:45 v2.1.1 20:36:45 v2.1.1-dev.1 20:36:45 v2.1.1-dev.2 20:36:45 v2.1.1-dev.3 20:36:45 v2.2.0 20:36:45 v2.2.1-dev.1 20:36:45 v2.2.1-dev.2 20:36:45 v2.2.1-dev.3 20:36:45 v2.2.1-dev.4 20:36:45 v2.2.1-dev.5 20:36:45 v2.2.1-dev.6 20:36:45 v2.2.1-dev.7 20:36:45 v2.2.1-dev.8 20:36:45 v2.2.1-dev.9 20:36:45 v2.3.0-dev.10 20:36:45 v2.3.0-dev.11 20:36:45 v2.3.0-dev.12 20:36:45 v2.3.0-dev.13 20:36:45 v2.3.0-dev.14 20:36:45 v2.3.0-dev.15 20:36:45 v2.3.0-dev.16 20:36:45 v2.3.0-dev.17 20:36:45 v2.3.0-dev.18 20:36:45 v2.3.0-dev.19 20:36:45 v2.3.0-dev.20 20:36:45 v2.3.0-dev.9 [Pipeline] sh 20:36:46 + lftools sign git-tag v2.3.0-dev.20 20:36:46 Signing Git tag with Sigul... 20:36:46 Signing v2.3.0-dev.20 [Pipeline] echo 20:36:47 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:36:47 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:36:47 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:36:47 $ docker stop --time=1 a67e4398689460be0d77a7c50532ca9c63b747f180bcabeccad71095222df1ea 20:36:48 $ docker rm -f a67e4398689460be0d77a7c50532ca9c63b747f180bcabeccad71095222df1ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:36:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:36:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:36:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:49 prd-ubuntu20.04-docker-8c-8g-8406 does not seem to be running inside a container 20:36:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:36:49 $ docker top e1b2b14727e933e53cc88d2b4ecee94b59dabe41ded242749644b09f9d093014 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:36:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:36:49 [ssh-agent] Looking for ssh-agent implementation... 20:36:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:36:49 $ docker exec e1b2b14727e933e53cc88d2b4ecee94b59dabe41ded242749644b09f9d093014 ssh-agent 20:36:50 SSH_AUTH_SOCK=/tmp/ssh-w7A3pW3kk76f/agent.32 20:36:50 SSH_AGENT_PID=38 20:36:50 Running ssh-add (command line suppressed) 20:36:50 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7990176688183297067.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7990176688183297067.key) 20:36:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:36:50 + git semver bump pre 20:36:50 2022-10-17 20:36:50,676 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:36:50 2022-10-17 20:36:50,676 [bump_version] DEBUG bumping version:2.3.0-dev.20 on axis:pre with prefix:dev 20:36:50 2022-10-17 20:36:50,676 [bump_version] DEBUG bumped version:2.3.0-dev.21 20:36:50 2022-10-17 20:36:50,676 [write_version] DEBUG write version:2.3.0-dev.21 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 20:36:50 2022-10-17 20:36:50,676 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:36:50 2022-10-17 20:36:50,676 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:36:50 2022-10-17 20:36:50,679 [execute] INFO git cat-file --batch-check 20:36:50 2022-10-17 20:36:50,679 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:36:50 2022-10-17 20:36:50,684 [execute] INFO git cat-file --batch 20:36:50 2022-10-17 20:36:50,684 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:36:50 2022-10-17 20:36:50,690 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:36:50 2.3.0-dev.21 [Pipeline] } 20:36:50 $ docker exec --env ******** --env ******** e1b2b14727e933e53cc88d2b4ecee94b59dabe41ded242749644b09f9d093014 ssh-agent -k 20:36:50 unset SSH_AUTH_SOCK; 20:36:50 unset SSH_AGENT_PID; 20:36:50 echo Agent pid 38 killed; 20:36:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:36:51 + git semver [Pipeline] } 20:36:51 $ docker stop --time=1 e1b2b14727e933e53cc88d2b4ecee94b59dabe41ded242749644b09f9d093014 20:36:52 $ docker rm -f e1b2b14727e933e53cc88d2b4ecee94b59dabe41ded242749644b09f9d093014 [Pipeline] // withDockerContainer [Pipeline] sh 20:36:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:36:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:36:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:53 prd-ubuntu20.04-docker-8c-8g-8406 does not seem to be running inside a container 20:36:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:36:53 $ docker top 3143b30cf180005ea29e7c7560c1fa41ed7822b96bb0e5e66fd2934af4c13395 -eo pid,comm 20:36:53 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). 20:36:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:36:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:36:53 [ssh-agent] Looking for ssh-agent implementation... 20:36:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:36:53 $ docker exec 3143b30cf180005ea29e7c7560c1fa41ed7822b96bb0e5e66fd2934af4c13395 ssh-agent 20:36:54 SSH_AUTH_SOCK=/tmp/ssh-susDpqoQ5xKx/agent.33 20:36:54 SSH_AGENT_PID=39 20:36:54 Running ssh-add (command line suppressed) 20:36:54 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4846517087314932625.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4846517087314932625.key) 20:36:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:36:54 + git semver push 20:36:54 2022-10-17 20:36:54,598 [run_push] DEBUG push 20:36:54 2022-10-17 20:36:54,599 [execute] INFO git cat-file --batch-check 20:36:54 2022-10-17 20:36:54,599 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:36:54 2022-10-17 20:36:54,603 [execute] INFO git rev-list 72b625d7db8911b89954c84e538ea44f2e65ebcb -- 20:36:54 2022-10-17 20:36:54,603 [execute] DEBUG Popen(['git', 'rev-list', '72b625d7db8911b89954c84e538ea44f2e65ebcb', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:36:54 2022-10-17 20:36:54,611 [execute] INFO git fetch -v origin 20:36:54 2022-10-17 20:36:54,611 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 20:36:55 2022-10-17 20:36:55,207 [run_push] DEBUG no remote changes detected 20:36:55 2022-10-17 20:36:55,208 [execute] INFO git push origin semver 20:36:55 2022-10-17 20:36:55,208 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:36:56 2022-10-17 20:36:56,013 [run_push] DEBUG push all version tags 20:36:56 2022-10-17 20:36:56,013 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 20:36:56 2022-10-17 20:36:56,014 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 20:36:57 2022-10-17 20:36:56,937 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:36:57 2.3.0-dev.21 [Pipeline] } 20:36:57 $ docker exec --env ******** --env ******** 3143b30cf180005ea29e7c7560c1fa41ed7822b96bb0e5e66fd2934af4c13395 ssh-agent -k 20:36:57 unset SSH_AUTH_SOCK; 20:36:57 unset SSH_AGENT_PID; 20:36:57 echo Agent pid 39 killed; 20:36:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:36:57 + git semver [Pipeline] } 20:36:57 $ docker stop --time=1 3143b30cf180005ea29e7c7560c1fa41ed7822b96bb0e5e66fd2934af4c13395 20:36:59 $ docker rm -f 3143b30cf180005ea29e7c7560c1fa41ed7822b96bb0e5e66fd2934af4c13395 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:36:59 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 20:36:59 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 20:36:59 total 16 20:36:59 drwxr-xr-x 3 root root 4096 Oct 17 20:26 . 20:36:59 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 20:36 .. 20:36:59 drwxr-xr-x 2 root root 4096 Oct 17 20:26 cost 20:36:59 -rw-r--r-- 1 root root 85 Oct 17 20:26 cost.csv 20:36:59 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 20:36:59 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 20:36:59 total 16 20:36:59 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 20:26 . 20:36:59 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 20:36 .. 20:36:59 drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 20:26 cost 20:36:59 -rw-r--r-- 1 jenkins jenkins 85 Oct 17 20:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:37:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:37:00 ---> package-listing.sh 20:37:00 ++ facter osfamily 20:37:00 ++ tr '[:upper:]' '[:lower:]' 20:37:01 + OS_FAMILY=debian 20:37:01 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 20:37:01 + START_PACKAGES=/tmp/packages_start.txt 20:37:01 + END_PACKAGES=/tmp/packages_end.txt 20:37:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:37:01 + PACKAGES=/tmp/packages_start.txt 20:37:01 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 20:37:01 + PACKAGES=/tmp/packages_end.txt 20:37:01 + case "${OS_FAMILY}" in 20:37:01 + dpkg -l 20:37:01 + grep '^ii' 20:37:01 + '[' -f /tmp/packages_start.txt ']' 20:37:01 + '[' -f /tmp/packages_end.txt ']' 20:37:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:37:01 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 20:37:01 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 20:37:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 20:37:01 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:37:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:37:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:37:02 prd-ubuntu20.04-docker-8c-8g-8406 does not seem to be running inside a container 20:37:02 $ 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 20:37:02 $ docker top 7a9f6fa520b9ec04e0c5923b5de1527930effcb135bff173fb0898a830aa611c -eo pid,comm [Pipeline] { [Pipeline] sh 20:37:02 + touch /tmp/pre-build-complete [Pipeline] sh 20:37:02 + mkdir -p /var/log/sysstat [Pipeline] sh 20:37:03 + ls /var/log/sa-host 20:37:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:37:03 provisioning config files... 20:37:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11568447852546063408tmp [Pipeline] { [Pipeline] echo 20:37:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:37:03 ---> create-netrc.sh [Pipeline] } 20:37:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:37:03 ---> python-tools-install.sh [Pipeline] echo 20:37:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:37:04 ---> sudo-logs.sh 20:37:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:37:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:37:04 ---> job-cost.sh 20:37:04 lf-activate-venv: SKIPPING 20:37:04 DEBUG: total: 0.2199999988079071 20:37:04 INFO: Retrieving Stack Cost... 20:37:05 INFO: Retrieving Pricing Info for: v3-standard-8 20:37:05 INFO: Archiving Costs [Pipeline] echo 20:37:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:37:05 ---> logs-deploy.sh 20:37:05 lf-activate-venv: SKIPPING 20:37:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/64 20:37:05 INFO: archiving workspace using pattern(s): 20:37:06 Archives upload complete. 20:37:06 INFO: archiving logs to Nexus