Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from da0fc691370f2a0b0463f80469643f152cdbe902 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-ssh15665758629808983539.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh12485636457889151740.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh7091821191476420207.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh12761440131117583179.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-ssh7192913213612622464.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 Running on prd-ubuntu20.04-docker-8c-8g-7589 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 da0fc691370f2a0b0463f80469643f152cdbe902 (main) Commit message: "Merge pull request #218 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.37" > 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 da0fc691370f2a0b0463f80469643f152cdbe902 # timeout=10 > git rev-list --no-walk 401106fad354fe4e00d3a8593bef2b7e60417552 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:35:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:35:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:35:02 ========================================================= 22:35:02 EdgeX Global Pipelines Version Info 22:35:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:35:03 ------------------- 22:35:03 stable info: 22:35:03 ------------------- 22:35:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:35:03 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:35:03 Message: update stable to v1.0.239 22:35:03 ------------------- 22:35:03 experimental info: 22:35:03 ------------------- 22:35:03 Commited By: **** collab-it+edgex@linuxfoundation.org 22:35:03 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:35:03 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = da0fc691370f2a0b0463f80469643f152cdbe902 [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = da0fc69 [Pipeline] echo 22:35:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:35:04 provisioning config files... 22:35:04 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17449625027664325513tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:35:04 ---> docker-login.sh 22:35:04 nexus3.edgexfoundry.org:10001 22:35:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:05 Configure a credential helper to remove this warning. See 22:35:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:05 22:35:05 Login Succeeded 22:35:05 nexus3.edgexfoundry.org:10002 22:35:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:05 Configure a credential helper to remove this warning. See 22:35:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:05 22:35:05 Login Succeeded 22:35:05 nexus3.edgexfoundry.org:10003 22:35:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:05 Configure a credential helper to remove this warning. See 22:35:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:05 22:35:05 Login Succeeded 22:35:05 nexus3.edgexfoundry.org:10004 22:35:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:05 Configure a credential helper to remove this warning. See 22:35:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:05 22:35:05 Login Succeeded 22:35:05 docker.io 22:35:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:06 Configure a credential helper to remove this warning. See 22:35:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:06 22:35:06 Login Succeeded 22:35:06 ---> docker-login.sh ends [Pipeline] } 22:35:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:35:06 + git rev-list -1 --merges da0fc691370f2a0b0463f80469643f152cdbe902~1..da0fc691370f2a0b0463f80469643f152cdbe902 [Pipeline] echo 22:35:06 -----------> git rev-list -1 --merges da0fc691370f2a0b0463f80469643f152cdbe902~1..da0fc691370f2a0b0463f80469643f152cdbe902 da0fc691370f2a0b0463f80469643f152cdbe902 22:35:06 da0fc691370f2a0b0463f80469643f152cdbe902 [false] [Pipeline] sh 22:35:06 + git log --format=format:%s -1 da0fc691370f2a0b0463f80469643f152cdbe902 [Pipeline] echo 22:35:06 ========================================================= 22:35:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:35:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:35:07 + git log --format=format:%s -1 da0fc691370f2a0b0463f80469643f152cdbe902 [Pipeline] echo 22:35:07 [semverPrep] GIT_COMMIT: da0fc691370f2a0b0463f80469643f152cdbe902, Commit Message: Merge pull request #218 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.37 [Pipeline] echo 22:35:07 [semverPrep] This is not a build commit. [Pipeline] sh 22:35:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:35:07 + grep -v github /etc/ssh/ssh_known_hosts 22:35:07 + [ -e /tmp/ssh_known_hosts ] 22:35:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:35:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:35:07 + sudo tee -a /etc/ssh/ssh_known_hosts 22:35:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:35:08 22:35:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:35:08 0.1.4: Pulling from edgex-devops/py-git-semver 22:35:08 b85a868b505f: Pulling fs layer 22:35:08 e2be974225ed: Pulling fs layer 22:35:08 339a4e72a1f5: Pulling fs layer 22:35:08 988bab9f4d93: Pulling fs layer 22:35:08 1469e6f7b9e6: Pulling fs layer 22:35:08 eaf3925da568: Pulling fs layer 22:35:08 bab4dde63d76: Pulling fs layer 22:35:08 bde34c3a00c8: Pulling fs layer 22:35:08 b352a97aabf1: Pulling fs layer 22:35:08 4872d77fe225: Pulling fs layer 22:35:08 5851b861e8e6: Pulling fs layer 22:35:08 1469e6f7b9e6: Waiting 22:35:08 eaf3925da568: Waiting 22:35:08 bab4dde63d76: Waiting 22:35:08 988bab9f4d93: Waiting 22:35:08 bde34c3a00c8: Waiting 22:35:08 b352a97aabf1: Waiting 22:35:08 5851b861e8e6: Waiting 22:35:08 e2be974225ed: Verifying Checksum 22:35:08 e2be974225ed: Download complete 22:35:08 988bab9f4d93: Download complete 22:35:08 339a4e72a1f5: Verifying Checksum 22:35:08 339a4e72a1f5: Download complete 22:35:08 1469e6f7b9e6: Verifying Checksum 22:35:08 1469e6f7b9e6: Download complete 22:35:08 eaf3925da568: Download complete 22:35:08 bde34c3a00c8: Verifying Checksum 22:35:08 bde34c3a00c8: Download complete 22:35:08 b352a97aabf1: Verifying Checksum 22:35:08 b352a97aabf1: Download complete 22:35:08 4872d77fe225: Download complete 22:35:08 5851b861e8e6: Download complete 22:35:08 b85a868b505f: Verifying Checksum 22:35:08 b85a868b505f: Download complete 22:35:08 bab4dde63d76: Verifying Checksum 22:35:08 bab4dde63d76: Download complete 22:35:09 b85a868b505f: Pull complete 22:35:10 e2be974225ed: Pull complete 22:35:10 339a4e72a1f5: Pull complete 22:35:10 988bab9f4d93: Pull complete 22:35:10 1469e6f7b9e6: Pull complete 22:35:10 eaf3925da568: Pull complete 22:35:12 bab4dde63d76: Pull complete 22:35:12 bde34c3a00c8: Pull complete 22:35:12 b352a97aabf1: Pull complete 22:35:13 4872d77fe225: Pull complete 22:35:13 5851b861e8e6: Pull complete 22:35:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:35:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:35:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:35:13 prd-ubuntu20.04-docker-8c-8g-7589 does not seem to be running inside a container 22:35:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:35:15 $ docker top c8a3f2c68811b9fcf98ca2ec4e15302ec1f4bb2f0cc93a52abc7295e0d124aaf -eo pid,comm 22:35:15 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). 22:35:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:35:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:35:15 [ssh-agent] Looking for ssh-agent implementation... 22:35:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:35:15 $ docker exec c8a3f2c68811b9fcf98ca2ec4e15302ec1f4bb2f0cc93a52abc7295e0d124aaf ssh-agent 22:35:15 SSH_AUTH_SOCK=/tmp/ssh-S90lOUvEMCxg/agent.31 22:35:15 SSH_AGENT_PID=37 22:35:15 Running ssh-add (command line suppressed) 22:35:15 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6180940455738700406.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6180940455738700406.key) 22:35:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:35:15 + git tag --points-at HEAD [Pipeline] } 22:35:15 $ docker exec --env ******** --env ******** c8a3f2c68811b9fcf98ca2ec4e15302ec1f4bb2f0cc93a52abc7295e0d124aaf ssh-agent -k 22:35:16 unset SSH_AUTH_SOCK; 22:35:16 unset SSH_AGENT_PID; 22:35:16 echo Agent pid 37 killed; 22:35:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:35:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:35:16 [ssh-agent] Looking for ssh-agent implementation... 22:35:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:35:16 $ docker exec c8a3f2c68811b9fcf98ca2ec4e15302ec1f4bb2f0cc93a52abc7295e0d124aaf ssh-agent 22:35:16 SSH_AUTH_SOCK=/tmp/ssh-vSoiK2JvrYAL/agent.71 22:35:16 SSH_AGENT_PID=77 22:35:16 Running ssh-add (command line suppressed) 22:35:16 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13849966992511290671.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13849966992511290671.key) 22:35:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:35:16 + git semver init 22:35:16 2022-10-10 22:35:16,936 [run_init] DEBUG init version:0.0.0 force:False 22:35:16 2022-10-10 22:35:16,937 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 22:35:16 2022-10-10 22:35:16,937 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 22:35:16 2022-10-10 22:35:16,938 [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) 22:35:18 2022-10-10 22:35:18,058 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 22:35:18 2022-10-10 22:35:18,060 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 22:35:18 2022-10-10 22:35:18,061 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:35:18 2022-10-10 22:35:18,061 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:35:18 2.3.0-dev.18 [Pipeline] } 22:35:18 $ docker exec --env ******** --env ******** c8a3f2c68811b9fcf98ca2ec4e15302ec1f4bb2f0cc93a52abc7295e0d124aaf ssh-agent -k 22:35:18 unset SSH_AUTH_SOCK; 22:35:18 unset SSH_AGENT_PID; 22:35:18 echo Agent pid 77 killed; 22:35:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:35:18 + git semver [Pipeline] } 22:35:19 $ docker stop --time=1 c8a3f2c68811b9fcf98ca2ec4e15302ec1f4bb2f0cc93a52abc7295e0d124aaf 22:35:20 $ docker rm -f c8a3f2c68811b9fcf98ca2ec4e15302ec1f4bb2f0cc93a52abc7295e0d124aaf [Pipeline] // withDockerContainer [Pipeline] sh 22:35:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:35:20 Stashed 1 file(s) [Pipeline] echo 22:35:20 [edgeXSemver]: initialized semver on version 2.3.0-dev.18 [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 22:35:21 provisioning config files... 22:35:21 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7788067729986301655tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:35:21 ---> docker-login.sh 22:35:21 nexus3.edgexfoundry.org:10001 22:35:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:21 Configure a credential helper to remove this warning. See 22:35:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:21 22:35:21 Login Succeeded 22:35:21 nexus3.edgexfoundry.org:10002 22:35:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:21 Configure a credential helper to remove this warning. See 22:35:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:21 22:35:21 Login Succeeded 22:35:21 nexus3.edgexfoundry.org:10003 22:35:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:21 Configure a credential helper to remove this warning. See 22:35:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:21 22:35:21 Login Succeeded 22:35:21 nexus3.edgexfoundry.org:10004 22:35:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:21 Configure a credential helper to remove this warning. See 22:35:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:21 22:35:21 Login Succeeded 22:35:21 docker.io 22:35:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:22 Configure a credential helper to remove this warning. See 22:35:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:22 22:35:22 Login Succeeded 22:35:22 ---> docker-login.sh ends [Pipeline] } 22:35:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:35:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:35:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:35:22 ========================================================= 22:35:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:35:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:22 + 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 . 22:35:22 Sending build context to Docker daemon 10.73MB 22:35:22 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:35:22 Step 2/13 : FROM ${BASE} AS builder 22:35:22 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:35:22 213ec9aee27d: Pulling fs layer 22:35:22 4583459ba037: Pulling fs layer 22:35:22 93c1e223e6f2: Pulling fs layer 22:35:22 53926ce57604: Pulling fs layer 22:35:22 21b2b0c7a3f4: Pulling fs layer 22:35:22 30f14e443154: Pulling fs layer 22:35:22 801331c1e519: Pulling fs layer 22:35:22 99cc6dd402b0: Pulling fs layer 22:35:22 7d9ed39f4882: Pulling fs layer 22:35:22 21b2b0c7a3f4: Waiting 22:35:22 30f14e443154: Waiting 22:35:22 801331c1e519: Waiting 22:35:22 99cc6dd402b0: Waiting 22:35:22 7d9ed39f4882: Waiting 22:35:22 53926ce57604: Waiting 22:35:22 93c1e223e6f2: Verifying Checksum 22:35:22 93c1e223e6f2: Download complete 22:35:22 4583459ba037: Verifying Checksum 22:35:22 4583459ba037: Download complete 22:35:22 21b2b0c7a3f4: Verifying Checksum 22:35:22 21b2b0c7a3f4: Download complete 22:35:22 30f14e443154: Verifying Checksum 22:35:22 30f14e443154: Download complete 22:35:22 213ec9aee27d: Verifying Checksum 22:35:22 213ec9aee27d: Download complete 22:35:22 801331c1e519: Download complete 22:35:22 213ec9aee27d: Pull complete 22:35:23 4583459ba037: Pull complete 22:35:23 93c1e223e6f2: Pull complete 22:35:23 7d9ed39f4882: Verifying Checksum 22:35:23 7d9ed39f4882: Download complete 22:35:23 53926ce57604: Verifying Checksum 22:35:23 53926ce57604: Download complete 22:35:23 99cc6dd402b0: Verifying Checksum 22:35:23 99cc6dd402b0: Download complete 22:35:27 53926ce57604: Pull complete 22:35:27 21b2b0c7a3f4: Pull complete 22:35:27 30f14e443154: Pull complete 22:35:27 801331c1e519: Pull complete 22:35:29 99cc6dd402b0: Pull complete 22:35:30 7d9ed39f4882: Pull complete 22:35:30 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 22:35:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:35:30 ---> 1dedd983c030 22:35:30 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:35:33 ---> Running in dcda97b57e3c 22:35:33 Removing intermediate container dcda97b57e3c 22:35:33 ---> 1052bf8ff57a 22:35:33 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:35:33 ---> Running in cf03ac86b3b5 22:35:33 Removing intermediate container cf03ac86b3b5 22:35:33 ---> 1b32cf9ae126 22:35:33 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:35:33 ---> Running in d4d3005c55fa 22:35:33 Removing intermediate container d4d3005c55fa 22:35:33 ---> 6e85b0262b19 22:35:33 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:35:33 ---> Running in e8f5a80328d7 22:35:33 Removing intermediate container e8f5a80328d7 22:35:33 ---> d66d876da4ce 22:35:33 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:35:33 ---> Running in 2f922363d75f 22:35:34 Removing intermediate container 2f922363d75f 22:35:34 ---> 5ebce80ef4e5 22:35:34 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:35:34 ---> Running in 826393c57b75 22:35:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:35:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:35:36 (1/4) Installing openssh-keygen (9.0_p1-r2) 22:35:36 (2/4) Installing libedit (20210910.3.1-r0) 22:35:36 Still waiting to schedule task 22:35:36 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:35:36 (3/4) Installing openssh-client-common (9.0_p1-r2) 22:35:36 (4/4) Installing openssh-client-default (9.0_p1-r2) 22:35:36 Executing busybox-1.35.0-r17.trigger 22:35:36 OK: 216 MiB in 55 packages 22:35:37 Removing intermediate container 826393c57b75 22:35:37 ---> a535dd4392bb 22:35:37 Step 9/13 : WORKDIR /device-rest-go 22:35:37 ---> Running in f1a2174fa29d 22:35:37 Removing intermediate container f1a2174fa29d 22:35:37 ---> aa172cbcd7cd 22:35:37 Step 10/13 : COPY go.mod vendor* ./ 22:35:37 ---> 5aa4fff1a482 22:35:37 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:35:37 ---> Running in 58bdecc38d75 22:35:59 Removing intermediate container 58bdecc38d75 22:35:59 ---> f1a6132d9dd1 22:35:59 Step 12/13 : COPY . . 22:35:59 ---> eae8e3de3731 22:35:59 Step 13/13 : RUN $MAKE 22:35:59 ---> Running in 8064f1839df6 22:35:59 noop 22:35:59 Removing intermediate container 8064f1839df6 22:35:59 ---> 7cfbda567176 22:35:59 Successfully built 7cfbda567176 22:35:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:59 + docker inspect -f . ci-base-image-x86_64 22:35:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:35:59 prd-ubuntu20.04-docker-8c-8g-7589 does not seem to be running inside a container 22:35:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:35:59 $ docker top b17df599ff2b4c52e85cf0f7a6c5ddd0cbdcb7af770cdf903e96ad25d55ccbc0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:36:00 + go version 22:36:00 go version go1.18.7 linux/amd64 [Pipeline] } 22:36:00 $ docker stop --time=1 b17df599ff2b4c52e85cf0f7a6c5ddd0cbdcb7af770cdf903e96ad25d55ccbc0 22:36:01 $ docker rm -f b17df599ff2b4c52e85cf0f7a6c5ddd0cbdcb7af770cdf903e96ad25d55ccbc0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:36:01 + docker inspect -f . ci-base-image-x86_64 22:36:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:36:01 prd-ubuntu20.04-docker-8c-8g-7589 does not seem to be running inside a container 22:36:01 $ 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 ******** ci-base-image-x86_64 cat 22:36:02 $ docker top d06b37cef4f07a4b7557cfac40d2148d98f8ee0a76a95ac01578b6cc4de0e9b9 -eo pid,comm [Pipeline] { [Pipeline] sh 22:36:02 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 22:36:02 + make test 22:36:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:36:03 ? github.com/edgexfoundry/device-rest-go [no test files] 22:36:13 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:36:13 ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 55.2% of statements 22:36:21 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." 22:36:21 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:36:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:36:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:36:23 ./bin/test-attribution-txt.sh [Pipeline] echo 22:36:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:36:23 $ docker stop --time=1 d06b37cef4f07a4b7557cfac40d2148d98f8ee0a76a95ac01578b6cc4de0e9b9 22:36:28 $ docker rm -f d06b37cef4f07a4b7557cfac40d2148d98f8ee0a76a95ac01578b6cc4de0e9b9 [Pipeline] // withDockerContainer [Pipeline] sh 22:36:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:36:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:36:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:36:29 + ls -al . 22:36:29 total 180 22:36:29 drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 22:36 . 22:36:29 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 22:35 .. 22:36:29 -rw-rw-r-- 1 jenkins jenkins 151 Oct 10 22:35 .dockerignore 22:36:29 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 22:36 .git 22:36:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 22:35 .github 22:36:29 -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 22:35 .gitignore 22:36:29 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 22:35 .golangci.yml 22:36:29 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 22:35 .semver 22:36:29 -rw-rw-r-- 1 jenkins jenkins 9100 Oct 10 22:35 Attribution.txt 22:36:29 -rw-rw-r-- 1 jenkins jenkins 11736 Oct 10 22:35 CHANGELOG.md 22:36:29 -rw-rw-r-- 1 jenkins jenkins 1730 Oct 10 22:35 Dockerfile 22:36:29 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 22:35 GOVERNANCE.md 22:36:29 -rw-rw-r-- 1 jenkins jenkins 680 Oct 10 22:35 Jenkinsfile 22:36:29 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 22:35 LICENSE 22:36:29 -rw-rw-r-- 1 jenkins jenkins 2173 Oct 10 22:35 Makefile 22:36:29 -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 22:35 OWNERS.md 22:36:29 -rw-rw-r-- 1 jenkins jenkins 8667 Oct 10 22:35 README.md 22:36:29 -rw-rw-r-- 1 jenkins jenkins 12 Oct 10 22:35 VERSION 22:36:29 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 22:35 bin 22:36:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 22:35 cmd 22:36:29 -rw-r--r-- 1 jenkins jenkins 9355 Oct 10 22:36 coverage.out 22:36:29 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 22:35 driver 22:36:29 -rw-rw-r-- 1 jenkins jenkins 3547 Oct 10 22:35 go.mod 22:36:29 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 22:35 go.sum 22:36:29 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 22:35 snap 22:36:29 -rw-rw-r-- 1 jenkins jenkins 713 Oct 10 22:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:36:29 + 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=da0fc691370f2a0b0463f80469643f152cdbe902 --label arch=amd64 --label version=2.3.0-dev.18 . 22:36:29 Sending build context to Docker daemon 10.74MB 22:36:29 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 22:36:29 Step 2/26 : FROM ${BASE} AS builder 22:36:29 ---> 7cfbda567176 22:36:29 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:36:29 ---> Running in 87966e430384 22:36:29 Removing intermediate container 87966e430384 22:36:29 ---> 945fcbb57ada 22:36:29 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:36:29 ---> Running in d2c767023574 22:36:29 Removing intermediate container d2c767023574 22:36:29 ---> e0fcf4579309 22:36:29 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:36:30 ---> Running in b70c3511ea61 22:36:30 Removing intermediate container b70c3511ea61 22:36:30 ---> 531effa467bc 22:36:30 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:36:30 ---> Running in b47b92e9ddf3 22:36:30 Removing intermediate container b47b92e9ddf3 22:36:30 ---> 6bd77b21924d 22:36:30 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:36:30 ---> Running in f7be15cc2a2e 22:36:30 Removing intermediate container f7be15cc2a2e 22:36:30 ---> a00d6bc549ea 22:36:30 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:36:30 ---> Running in 88a1f32c9af5 22:36:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:36:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:36:32 OK: 216 MiB in 55 packages 22:36:32 Removing intermediate container 88a1f32c9af5 22:36:32 ---> 5d61935157f1 22:36:32 Step 9/26 : WORKDIR /device-rest-go 22:36:32 ---> Running in cc2f3c78fe67 22:36:32 Removing intermediate container cc2f3c78fe67 22:36:32 ---> 7d81eba2ce1c 22:36:32 Step 10/26 : COPY go.mod vendor* ./ 22:36:32 ---> 6ab0c705dccb 22:36:32 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:36:32 ---> Running in 8d6a42bfc1f1 22:36:33 Removing intermediate container 8d6a42bfc1f1 22:36:33 ---> bed858c5a266 22:36:33 Step 12/26 : COPY . . 22:36:33 ---> 7425f0ce2214 22:36:33 Step 13/26 : RUN $MAKE 22:36:33 ---> Running in de63851bf3f0 22:36:34 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 22:37:00 Removing intermediate container de63851bf3f0 22:37:00 ---> bdccaa740f8c 22:37:00 Step 14/26 : FROM alpine:3.16 22:37:00 3.16: Pulling from library/alpine 22:37:00 213ec9aee27d: Already exists 22:37:00 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:37:00 Status: Downloaded newer image for alpine:3.16 22:37:00 ---> 9c6f07244728 22:37:00 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:37:00 ---> Running in dba9195b7cc9 22:37:00 Removing intermediate container dba9195b7cc9 22:37:00 ---> e03af9504341 22:37:00 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 22:37:01 ---> Running in ce610f944952 22:37:01 Removing intermediate container ce610f944952 22:37:01 ---> 9889b90b9aab 22:37:01 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 22:37:01 ---> Running in bc255a10ba3b 22:37:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:37:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:37:02 (1/6) Installing dumb-init (1.2.5-r1) 22:37:02 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:37:03 (3/6) Installing libsodium (1.0.18-r0) 22:37:03 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:37:03 (5/6) Installing libzmq (4.3.4-r0) 22:37:03 (6/6) Installing zeromq (4.3.4-r0) 22:37:03 Executing busybox-1.35.0-r17.trigger 22:37:03 OK: 8 MiB in 20 packages 22:37:03 Removing intermediate container bc255a10ba3b 22:37:03 ---> 7042df6b130b 22:37:03 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 22:37:04 ---> 43bdde7d8551 22:37:04 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 22:37:04 ---> f4e11096f36e 22:37:04 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 22:37:04 ---> 92a8b1d5abc4 22:37:04 Step 21/26 : EXPOSE 59986 22:37:04 ---> Running in 0070fcceadbf 22:37:04 Removing intermediate container 0070fcceadbf 22:37:04 ---> 264e9d7a91a0 22:37:04 Step 22/26 : ENTRYPOINT ["/device-rest"] 22:37:04 ---> Running in ed9b23bdc9ed 22:37:04 Removing intermediate container ed9b23bdc9ed 22:37:04 ---> 8da7db9ef632 22:37:04 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:37:04 ---> Running in 230e6997f7bc 22:37:04 Removing intermediate container 230e6997f7bc 22:37:04 ---> 466f4c0e426a 22:37:04 Step 24/26 : LABEL arch=amd64 22:37:04 ---> Running in 78519eb06d78 22:37:04 Removing intermediate container 78519eb06d78 22:37:04 ---> fee307dc3e92 22:37:04 Step 25/26 : LABEL git_sha=da0fc691370f2a0b0463f80469643f152cdbe902 22:37:04 ---> Running in ab1173eb1222 22:37:04 Removing intermediate container ab1173eb1222 22:37:04 ---> 7ad8038bfd4e 22:37:04 Step 26/26 : LABEL version=2.3.0-dev.18 22:37:04 ---> Running in 81ec911ed11b 22:37:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7590 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 22:37:05 Running in /w/workspace/device-rest-go/62 [Pipeline] { [Pipeline] checkout 22:37:05 The recommended git tool is: git 22:37:05 Removing intermediate container 81ec911ed11b 22:37:05 ---> baba9cf2a687 22:37:05 [Warning] One or more build-args [ARCH] were not consumed 22:37:05 Successfully built baba9cf2a687 22:37:05 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:37:05 provisioning config files... 22:37:05 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15510679966300063628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:37:05 ---> docker-login.sh 22:37:05 nexus3.edgexfoundry.org:10001 22:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:05 Configure a credential helper to remove this warning. See 22:37:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:05 22:37:05 Login Succeeded 22:37:05 nexus3.edgexfoundry.org:10002 22:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:05 Configure a credential helper to remove this warning. See 22:37:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:05 22:37:05 Login Succeeded 22:37:05 nexus3.edgexfoundry.org:10003 22:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:05 Configure a credential helper to remove this warning. See 22:37:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:05 22:37:05 Login Succeeded 22:37:05 nexus3.edgexfoundry.org:10004 22:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:05 Configure a credential helper to remove this warning. See 22:37:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:05 22:37:05 Login Succeeded 22:37:05 docker.io 22:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:06 Configure a credential helper to remove this warning. See 22:37:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:06 22:37:06 Login Succeeded 22:37:06 ---> docker-login.sh ends [Pipeline] } 22:37:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:37:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:37:06 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 22:37:06 da0fc691370f2a0b0463f80469643f152cdbe902 22:37:06 latest 22:37:06 2.3.0-dev.18 22:37:06 da0fc691370f2a0b0463f80469643f152cdbe902-2.3.0-dev.18 22:37:06 main 22:37:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:06 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:da0fc691370f2a0b0463f80469643f152cdbe902 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:07 + docker push nexus3.edgexfoundry.org:10004/device-rest:da0fc691370f2a0b0463f80469643f152cdbe902 22:37:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:37:07 2ce8544271cc: Preparing 22:37:07 163bd5c2fcfa: Preparing 22:37:07 d8aa1c9f316c: Preparing 22:37:07 8970627484ec: Preparing 22:37:07 994393dc58e7: Preparing 22:37:07 994393dc58e7: Layer already exists 22:37:07 163bd5c2fcfa: Pushed 22:37:07 2ce8544271cc: Pushed 22:37:07 8970627484ec: Pushed 22:37:09 using credential edgex-jenkins-ssh 22:37:09 Cloning the remote Git repository 22:37:10 d8aa1c9f316c: Pushed 22:37:10 da0fc691370f2a0b0463f80469643f152cdbe902: digest: sha256:4a3f2bac82421ea54b51d0405e2be76de5c68441a724f0532b8c1fd790a39e81 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:09 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:37:10 > git init /w/workspace/device-rest-go/62 # timeout=10 22:37:10 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:10 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 22:37:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:37:10 2ce8544271cc: Preparing 22:37:10 163bd5c2fcfa: Preparing 22:37:10 d8aa1c9f316c: Preparing 22:37:10 8970627484ec: Preparing 22:37:10 994393dc58e7: Preparing 22:37:10 994393dc58e7: Layer already exists 22:37:10 d8aa1c9f316c: Layer already exists 22:37:10 8970627484ec: Layer already exists 22:37:10 163bd5c2fcfa: Layer already exists 22:37:10 2ce8544271cc: Layer already exists 22:37:10 latest: digest: sha256:4a3f2bac82421ea54b51d0405e2be76de5c68441a724f0532b8c1fd790a39e81 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:10 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:11 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.18 22:37:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:37:11 2ce8544271cc: Preparing 22:37:11 163bd5c2fcfa: Preparing 22:37:11 d8aa1c9f316c: Preparing 22:37:11 8970627484ec: Preparing 22:37:11 994393dc58e7: Preparing 22:37:11 994393dc58e7: Layer already exists 22:37:11 163bd5c2fcfa: Layer already exists 22:37:11 d8aa1c9f316c: Layer already exists 22:37:11 8970627484ec: Layer already exists 22:37:11 2ce8544271cc: Layer already exists 22:37:11 2.3.0-dev.18: digest: sha256:4a3f2bac82421ea54b51d0405e2be76de5c68441a724f0532b8c1fd790a39e81 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:37:10 > git --version # timeout=10 22:37:10 > git --version # 'git version 2.25.1' 22:37:10 using GIT_SSH to set credentials SSH Credentials for GitHub 22:37:10 Verifying host key using known hosts file 22:37:10 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. 22:37:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:37:11 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:da0fc691370f2a0b0463f80469643f152cdbe902-2.3.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:11 + docker push nexus3.edgexfoundry.org:10004/device-rest:da0fc691370f2a0b0463f80469643f152cdbe902-2.3.0-dev.18 22:37:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:37:11 2ce8544271cc: Preparing 22:37:11 163bd5c2fcfa: Preparing 22:37:11 d8aa1c9f316c: Preparing 22:37:11 8970627484ec: Preparing 22:37:11 994393dc58e7: Preparing 22:37:11 994393dc58e7: Layer already exists 22:37:11 d8aa1c9f316c: Layer already exists 22:37:11 163bd5c2fcfa: Layer already exists 22:37:11 8970627484ec: Layer already exists 22:37:11 2ce8544271cc: Layer already exists 22:37:11 da0fc691370f2a0b0463f80469643f152cdbe902-2.3.0-dev.18: digest: sha256:4a3f2bac82421ea54b51d0405e2be76de5c68441a724f0532b8c1fd790a39e81 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:12 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:12 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 22:37:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:37:12 2ce8544271cc: Preparing 22:37:12 163bd5c2fcfa: Preparing 22:37:12 d8aa1c9f316c: Preparing 22:37:12 8970627484ec: Preparing 22:37:12 994393dc58e7: Preparing 22:37:12 8970627484ec: Layer already exists 22:37:12 d8aa1c9f316c: Layer already exists 22:37:12 994393dc58e7: Layer already exists 22:37:12 2ce8544271cc: Layer already exists 22:37:12 163bd5c2fcfa: Layer already exists 22:37:12 main: digest: sha256:4a3f2bac82421ea54b51d0405e2be76de5c68441a724f0532b8c1fd790a39e81 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:37:12 ===================================================== [Pipeline] echo 22:37:12 taggedImages: 22:37:12 - nexus3.edgexfoundry.org:10004/device-rest:da0fc691370f2a0b0463f80469643f152cdbe902 22:37:12 - nexus3.edgexfoundry.org:10004/device-rest:latest 22:37:12 - nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.18 22:37:12 - nexus3.edgexfoundry.org:10004/device-rest:da0fc691370f2a0b0463f80469643f152cdbe902-2.3.0-dev.18 22:37:12 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 22:37:12 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:37:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [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 22:37:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:37:12 22:37:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:13 Avoid second fetch 22:37:13 Checking out Revision da0fc691370f2a0b0463f80469643f152cdbe902 (main) 22:37:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:37:13 latest: Pulling from edgex-lftools-log-publisher 22:37:13 5eb5b503b376: Pulling fs layer 22:37:13 5c69ac0246d0: Pulling fs layer 22:37:13 ec43610c2a17: Pulling fs layer 22:37:13 3a2ae6a8a46f: Pulling fs layer 22:37:13 33b1e0a273af: Pulling fs layer 22:37:13 5d3b04190fa2: Pulling fs layer 22:37:13 2f39f015ded8: Pulling fs layer 22:37:13 3a2ae6a8a46f: Waiting 22:37:13 5d3b04190fa2: Waiting 22:37:13 33b1e0a273af: Waiting 22:37:13 5c69ac0246d0: Download complete 22:37:13 3a2ae6a8a46f: Download complete 22:37:13 ec43610c2a17: Verifying Checksum 22:37:13 ec43610c2a17: Download complete 22:37:13 33b1e0a273af: Verifying Checksum 22:37:13 33b1e0a273af: Download complete 22:37:13 5d3b04190fa2: Verifying Checksum 22:37:13 5d3b04190fa2: Download complete 22:37:13 5eb5b503b376: Verifying Checksum 22:37:13 5eb5b503b376: Download complete 22:37:13 Commit message: "Merge pull request #218 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.37" 22:37:13 22:37:13 GitHub has been notified of this commit’s build result 22:37:13 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 22:37:13 > git config core.sparsecheckout # timeout=10 22:37:13 > git checkout -f da0fc691370f2a0b0463f80469643f152cdbe902 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh 22:37:14 2f39f015ded8: Download complete 22:37:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:37:14 % Total % Received % Xferd Average Speed Time Time Time Current 22:37:14 Dload Upload Total Spent Left Speed 22:37:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90661 0 --:--:-- --:--:-- --:--:-- 91318 22:37:14 5eb5b503b376: Pull complete [Pipeline] sh 22:37:14 5c69ac0246d0: Pull complete 22:37:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:37:15 ec43610c2a17: Pull complete 22:37:15 3a2ae6a8a46f: Pull complete 22:37:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:37:15 + sudo tee /etc/docker/daemon.new 22:37:15 { 22:37:15 "registry-mirrors": [ 22:37:15 "https://nexus3.edgexfoundry.org:10001" 22:37:15 ], 22:37:15 "bip": "10.250.0.254/24", 22:37:15 "hosts": [ 22:37:15 "tcp://0.0.0.0:5555", 22:37:15 "unix:///var/run/docker.sock" 22:37:15 ], 22:37:15 "mtu": 1458, 22:37:15 "selinux-enabled": true, 22:37:15 "seccomp-profile": "/etc/docker/seccomp.json" 22:37:15 } [Pipeline] sh 22:37:15 33b1e0a273af: Pull complete 22:37:15 5d3b04190fa2: Pull complete 22:37:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:37:15 + sudo service docker restart 22:37:19 2f39f015ded8: Pull complete 22:37:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:37:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:37:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:37:19 prd-ubuntu20.04-docker-8c-8g-7589 does not seem to be running inside a container 22:37:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:37:22 $ docker top c6ca399c30d54582cc7ac4527937ca37a3f657e82c4ae1e3b171f446d0ee085f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:37:22 ---> job-cost.sh 22:37:22 lf-activate-venv: SKIPPING 22:37:22 INFO: No Stack... 22:37:23 INFO: Retrieving Pricing Info for: v3-standard-8 22:37:23 INFO: Archiving Costs [Pipeline] sh 22:37:23 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 22:37:23 + cut -d, -f6 [Pipeline] lock 22:37:23 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-62-stack-cost] 22:37:23 Resource [jenkins-edgexfoundry-device-rest-go-main-62-stack-cost] did not exist. Created. 22:37:23 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-62-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:37:23 + echo total: 0.2199999988079071 [Pipeline] stash 22:37:23 Stashed 1 file(s) [Pipeline] } 22:37:23 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-62-stack-cost] [Pipeline] // lock [Pipeline] } 22:37:23 $ docker stop --time=1 c6ca399c30d54582cc7ac4527937ca37a3f657e82c4ae1e3b171f446d0ee085f 22:37:25 $ docker rm -f c6ca399c30d54582cc7ac4527937ca37a3f657e82c4ae1e3b171f446d0ee085f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:37:34 provisioning config files... 22:37:34 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/62@tmp/config8210566772312245935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:37:34 ---> docker-login.sh 22:37:34 nexus3.edgexfoundry.org:10001 22:37:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:35 Configure a credential helper to remove this warning. See 22:37:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:35 22:37:35 Login Succeeded 22:37:35 nexus3.edgexfoundry.org:10002 22:37:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:35 Configure a credential helper to remove this warning. See 22:37:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:35 22:37:35 Login Succeeded 22:37:35 nexus3.edgexfoundry.org:10003 22:37:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:35 Configure a credential helper to remove this warning. See 22:37:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:35 22:37:35 Login Succeeded 22:37:35 nexus3.edgexfoundry.org:10004 22:37:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:36 Configure a credential helper to remove this warning. See 22:37:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:36 22:37:36 Login Succeeded 22:37:36 docker.io 22:37:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:36 Configure a credential helper to remove this warning. See 22:37:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:36 22:37:36 Login Succeeded 22:37:36 ---> docker-login.sh ends [Pipeline] } 22:37:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:37:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:37:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:37:36 ========================================================= 22:37:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:37:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:37 + 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 . 22:37:37 Sending build context to Docker daemon 127kB 22:37:37 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:37:37 Step 2/13 : FROM ${BASE} AS builder 22:37:37 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:37:37 9b18e9b68314: Pulling fs layer 22:37:37 d32db5db7311: Pulling fs layer 22:37:37 d0c4b47475fc: Pulling fs layer 22:37:37 5831b945b038: Pulling fs layer 22:37:37 86bbec2aaacd: Pulling fs layer 22:37:37 e10730c5d714: Pulling fs layer 22:37:37 5dd5c2283517: Pulling fs layer 22:37:37 d5ac0230b979: Pulling fs layer 22:37:37 86bbec2aaacd: Waiting 22:37:37 e10730c5d714: Waiting 22:37:37 5dd5c2283517: Waiting 22:37:37 d5ac0230b979: Waiting 22:37:37 5831b945b038: Waiting 22:37:37 d0c4b47475fc: Verifying Checksum 22:37:37 d0c4b47475fc: Download complete 22:37:37 d32db5db7311: Download complete 22:37:37 86bbec2aaacd: Download complete 22:37:38 e10730c5d714: Verifying Checksum 22:37:38 e10730c5d714: Download complete 22:37:38 9b18e9b68314: Verifying Checksum 22:37:38 9b18e9b68314: Download complete 22:37:38 9b18e9b68314: Pull complete 22:37:38 d5ac0230b979: Verifying Checksum 22:37:38 d5ac0230b979: Download complete 22:37:39 d32db5db7311: Pull complete 22:37:39 d0c4b47475fc: Pull complete 22:37:40 5dd5c2283517: Verifying Checksum 22:37:40 5dd5c2283517: Download complete 22:37:41 5831b945b038: Verifying Checksum 22:37:41 5831b945b038: Download complete 22:37:53 5831b945b038: Pull complete 22:37:53 86bbec2aaacd: Pull complete 22:37:53 e10730c5d714: Pull complete 22:37:58 5dd5c2283517: Pull complete 22:38:01 d5ac0230b979: Pull complete 22:38:01 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 22:38:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:38:01 ---> 59b3b1a385d4 22:38:01 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:38:02 ---> Running in 45632085625d 22:38:03 Removing intermediate container 45632085625d 22:38:03 ---> 96a09a179ee7 22:38:03 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:38:03 ---> Running in 8f55265bd2ff 22:38:03 Removing intermediate container 8f55265bd2ff 22:38:03 ---> 48840ec871bf 22:38:03 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:38:03 ---> Running in 1ce2033b295f 22:38:03 Removing intermediate container 1ce2033b295f 22:38:03 ---> 2badeb5d5a21 22:38:03 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:38:03 ---> Running in f9e609ba0cf5 22:38:04 Removing intermediate container f9e609ba0cf5 22:38:04 ---> 3c74f68d94ca 22:38:04 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:38:04 ---> Running in 3114af7393b5 22:38:06 Removing intermediate container 3114af7393b5 22:38:06 ---> b477860c8b82 22:38:06 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:38:06 ---> Running in db759f5e0cd9 22:38:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:38:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:38:08 (1/4) Installing openssh-keygen (9.0_p1-r2) 22:38:08 (2/4) Installing libedit (20210910.3.1-r0) 22:38:08 (3/4) Installing openssh-client-common (9.0_p1-r2) 22:38:09 (4/4) Installing openssh-client-default (9.0_p1-r2) 22:38:09 Executing busybox-1.35.0-r17.trigger 22:38:09 OK: 226 MiB in 55 packages 22:38:10 Removing intermediate container db759f5e0cd9 22:38:10 ---> 67f7419c98d2 22:38:10 Step 9/13 : WORKDIR /device-rest-go 22:38:10 ---> Running in b61deba8aded 22:38:10 Removing intermediate container b61deba8aded 22:38:10 ---> 8dc6a0b36df8 22:38:10 Step 10/13 : COPY go.mod vendor* ./ 22:38:11 ---> 7eabbe0ccf68 22:38:11 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:38:11 ---> Running in 825bb2a2cca3 22:38:58 Removing intermediate container 825bb2a2cca3 22:38:58 ---> 9fb0297e1c2b 22:38:58 Step 12/13 : COPY . . 22:38:58 ---> 0e593f503b0d 22:38:58 Step 13/13 : RUN $MAKE 22:38:58 ---> Running in 15af1949dc1f 22:38:58 noop 22:39:00 Removing intermediate container 15af1949dc1f 22:39:00 ---> 26cd3816ea36 22:39:00 Successfully built 26cd3816ea36 22:39:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:00 + docker inspect -f . ci-base-image-arm64 22:39:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:39:00 prd-ubuntu20.04-docker-arm64-4c-16g-7590 does not seem to be running inside a container 22:39:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/62 -v /w/workspace/device-rest-go/62:/w/workspace/device-rest-go/62:rw,z -v /w/workspace/device-rest-go/62@tmp:/w/workspace/device-rest-go/62@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 22:39:02 $ docker top 56a66e544173e2b7f2c3cb653bec10e3e6a722d356497844b33b55f1ef992fa9 -eo pid,comm [Pipeline] { [Pipeline] sh 22:39:03 + go version 22:39:03 go version go1.18.7 linux/arm64 [Pipeline] } 22:39:03 $ docker stop --time=1 56a66e544173e2b7f2c3cb653bec10e3e6a722d356497844b33b55f1ef992fa9 22:39:04 $ docker rm -f 56a66e544173e2b7f2c3cb653bec10e3e6a722d356497844b33b55f1ef992fa9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:05 + docker inspect -f . ci-base-image-arm64 22:39:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:39:05 prd-ubuntu20.04-docker-arm64-4c-16g-7590 does not seem to be running inside a container 22:39:05 $ 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/62 -v /w/workspace/device-rest-go/62:/w/workspace/device-rest-go/62:rw,z -v /w/workspace/device-rest-go/62@tmp:/w/workspace/device-rest-go/62@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 22:39:06 $ docker top 9659bc0e4553610ad1c6f8556507d581dc7117a1da52adf8c848d6d5e8d6e61f -eo pid,comm [Pipeline] { [Pipeline] sh 22:39:07 + git config --global --add safe.directory /w/workspace/device-rest-go/62 [Pipeline] fileExists [Pipeline] sh 22:39:07 + make test 22:39:07 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:39:09 ? github.com/edgexfoundry/device-rest-go [no test files] 22:40:31 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:40:31 ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 55.2% of statements 22:40:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:40:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:40:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:40:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:40:53 ./bin/test-attribution-txt.sh [Pipeline] echo 22:40:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:40:53 $ docker stop --time=1 9659bc0e4553610ad1c6f8556507d581dc7117a1da52adf8c848d6d5e8d6e61f 22:40:55 $ docker rm -f 9659bc0e4553610ad1c6f8556507d581dc7117a1da52adf8c848d6d5e8d6e61f [Pipeline] // withDockerContainer [Pipeline] sh 22:40:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:40:55 Warning: overwriting stash ‘coverage-report’ 22:40:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:40:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:40:56 + ls -al . 22:40:56 total 176 22:40:56 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 22:39 . 22:40:56 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 22:37 .. 22:40:56 -rw-rw-r-- 1 jenkins jenkins 151 Oct 10 22:37 .dockerignore 22:40:56 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 22:37 .git 22:40:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 22:37 .github 22:40:56 -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 22:37 .gitignore 22:40:56 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 22:37 .golangci.yml 22:40:56 -rw-rw-r-- 1 jenkins jenkins 9100 Oct 10 22:37 Attribution.txt 22:40:56 -rw-rw-r-- 1 jenkins jenkins 11736 Oct 10 22:37 CHANGELOG.md 22:40:56 -rw-rw-r-- 1 jenkins jenkins 1730 Oct 10 22:37 Dockerfile 22:40:56 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 22:37 GOVERNANCE.md 22:40:56 -rw-rw-r-- 1 jenkins jenkins 680 Oct 10 22:37 Jenkinsfile 22:40:56 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 22:37 LICENSE 22:40:56 -rw-rw-r-- 1 jenkins jenkins 2173 Oct 10 22:37 Makefile 22:40:56 -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 22:37 OWNERS.md 22:40:56 -rw-rw-r-- 1 jenkins jenkins 8667 Oct 10 22:37 README.md 22:40:56 -rw-rw-r-- 1 jenkins jenkins 12 Oct 10 22:35 VERSION 22:40:56 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 22:37 bin 22:40:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 22:37 cmd 22:40:56 -rw-r--r-- 1 jenkins jenkins 9355 Oct 10 22:40 coverage.out 22:40:56 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 22:37 driver 22:40:56 -rw-rw-r-- 1 jenkins jenkins 3547 Oct 10 22:37 go.mod 22:40:56 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 22:37 go.sum 22:40:56 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 22:37 snap 22:40:56 -rw-rw-r-- 1 jenkins jenkins 713 Oct 10 22:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:57 + 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=da0fc691370f2a0b0463f80469643f152cdbe902 --label arch=arm64 --label version=2.3.0-dev.18 . 22:40:57 Sending build context to Docker daemon 137.2kB 22:40:57 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 22:40:57 Step 2/26 : FROM ${BASE} AS builder 22:40:57 ---> 26cd3816ea36 22:40:57 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:40:57 ---> Running in bdc5aa1f4575 22:40:57 Removing intermediate container bdc5aa1f4575 22:40:57 ---> 2f71de4644e9 22:40:57 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:40:57 ---> Running in d49aad8b1a43 22:40:58 Removing intermediate container d49aad8b1a43 22:40:58 ---> 94787337fd7d 22:40:58 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:40:58 ---> Running in 37b044056b9e 22:40:58 Removing intermediate container 37b044056b9e 22:40:58 ---> 01b4a4dd5108 22:40:58 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:40:58 ---> Running in 10d5043c51c5 22:40:58 Removing intermediate container 10d5043c51c5 22:40:58 ---> 8a2818f134a4 22:40:58 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:40:58 ---> Running in 56d9f0a9c027 22:41:00 Removing intermediate container 56d9f0a9c027 22:41:00 ---> facb2fdff7e7 22:41:00 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:41:00 ---> Running in 21a221fd2675 22:41:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:41:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:41:03 OK: 226 MiB in 55 packages 22:41:03 Removing intermediate container 21a221fd2675 22:41:03 ---> f42d46f42079 22:41:03 Step 9/26 : WORKDIR /device-rest-go 22:41:04 ---> Running in 78abc3d7e8f5 22:41:04 Removing intermediate container 78abc3d7e8f5 22:41:04 ---> 17cf6743f419 22:41:04 Step 10/26 : COPY go.mod vendor* ./ 22:41:04 ---> 3944dc7339a4 22:41:04 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:41:05 ---> Running in 97ab81449c57 22:41:06 Removing intermediate container 97ab81449c57 22:41:06 ---> 44626fc93423 22:41:06 Step 12/26 : COPY . . 22:41:07 ---> 8959392a6969 22:41:07 Step 13/26 : RUN $MAKE 22:41:07 ---> Running in cd1c54eeb16d 22:41:08 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 22:43:44 Removing intermediate container cd1c54eeb16d 22:43:44 ---> 016126f70a5e 22:43:44 Step 14/26 : FROM alpine:3.16 22:43:44 3.16: Pulling from library/alpine 22:43:44 9b18e9b68314: Already exists 22:43:44 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:43:44 Status: Downloaded newer image for alpine:3.16 22:43:44 ---> a6215f271958 22:43:44 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:43:44 ---> Running in 9e180100f259 22:43:44 Removing intermediate container 9e180100f259 22:43:44 ---> 26c82508b8c6 22:43:44 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 22:43:44 ---> Running in fa9519c0a61a 22:43:44 Removing intermediate container fa9519c0a61a 22:43:44 ---> 64bf9b26d8a8 22:43:44 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 22:43:44 ---> Running in ec45c4e235c5 22:43:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:43:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:43:44 (1/6) Installing dumb-init (1.2.5-r1) 22:43:44 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:43:44 (3/6) Installing libsodium (1.0.18-r0) 22:43:44 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:43:44 (5/6) Installing libzmq (4.3.4-r0) 22:43:44 (6/6) Installing zeromq (4.3.4-r0) 22:43:44 Executing busybox-1.35.0-r17.trigger 22:43:44 OK: 8 MiB in 20 packages 22:43:44 Removing intermediate container ec45c4e235c5 22:43:44 ---> 2ffb511ce62a 22:43:44 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 22:43:44 ---> ce15fd037d2c 22:43:44 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 22:43:44 ---> 0c43047907d6 22:43:44 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 22:43:44 ---> b39dfceda0a7 22:43:44 Step 21/26 : EXPOSE 59986 22:43:44 ---> Running in 2965060c939b 22:43:44 Removing intermediate container 2965060c939b 22:43:44 ---> 5b0c8aaf0082 22:43:44 Step 22/26 : ENTRYPOINT ["/device-rest"] 22:43:44 ---> Running in 4563e48f5354 22:43:44 Removing intermediate container 4563e48f5354 22:43:44 ---> 829d34b4faf7 22:43:44 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:43:44 ---> Running in 36cc88c7117e 22:43:44 Removing intermediate container 36cc88c7117e 22:43:44 ---> 4f79fe32b031 22:43:44 Step 24/26 : LABEL arch=arm64 22:43:44 ---> Running in be1e1386465a 22:43:44 Removing intermediate container be1e1386465a 22:43:44 ---> 3f3111eb5f88 22:43:44 Step 25/26 : LABEL git_sha=da0fc691370f2a0b0463f80469643f152cdbe902 22:43:44 ---> Running in d8e662f78cad 22:43:44 Removing intermediate container d8e662f78cad 22:43:44 ---> cc7925fbfb69 22:43:44 Step 26/26 : LABEL version=2.3.0-dev.18 22:43:44 ---> Running in ea68d4d7bf3d 22:43:44 Removing intermediate container ea68d4d7bf3d 22:43:44 ---> 153bb3c8515f 22:43:44 [Warning] One or more build-args [ARCH] were not consumed 22:43:44 Successfully built 153bb3c8515f 22:43:44 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:43:45 provisioning config files... 22:43:45 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/62@tmp/config1516154445021280052tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:43:45 ---> docker-login.sh 22:43:45 nexus3.edgexfoundry.org:10001 22:43:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:45 Configure a credential helper to remove this warning. See 22:43:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:45 22:43:45 Login Succeeded 22:43:45 nexus3.edgexfoundry.org:10002 22:43:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:45 Configure a credential helper to remove this warning. See 22:43:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:45 22:43:45 Login Succeeded 22:43:45 nexus3.edgexfoundry.org:10003 22:43:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:46 Configure a credential helper to remove this warning. See 22:43:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:46 22:43:46 Login Succeeded 22:43:46 nexus3.edgexfoundry.org:10004 22:43:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:46 Configure a credential helper to remove this warning. See 22:43:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:46 22:43:46 Login Succeeded 22:43:46 docker.io 22:43:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:47 Configure a credential helper to remove this warning. See 22:43:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:47 22:43:47 Login Succeeded 22:43:47 ---> docker-login.sh ends [Pipeline] } 22:43:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:43:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:43:47 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 22:43:47 da0fc691370f2a0b0463f80469643f152cdbe902 22:43:47 latest 22:43:47 2.3.0-dev.18 22:43:47 da0fc691370f2a0b0463f80469643f152cdbe902-2.3.0-dev.18 22:43:47 main 22:43:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:47 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:da0fc691370f2a0b0463f80469643f152cdbe902 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:47 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:da0fc691370f2a0b0463f80469643f152cdbe902 22:43:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:43:47 b1c7884fbdf3: Preparing 22:43:47 05d0c7665040: Preparing 22:43:47 e208941a8928: Preparing 22:43:47 a28ac916335e: Preparing 22:43:47 5d3e392a13a0: Preparing 22:43:47 5d3e392a13a0: Layer already exists 22:43:48 05d0c7665040: Pushed 22:43:48 b1c7884fbdf3: Pushed 22:43:48 a28ac916335e: Pushed 22:43:54 e208941a8928: Pushed 22:43:54 da0fc691370f2a0b0463f80469643f152cdbe902: digest: sha256:b8f9b36335e3768b5be45e18153a45fd325167ff6a6142f8d66a5f2bb96fdafe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:54 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:54 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 22:43:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:43:54 b1c7884fbdf3: Preparing 22:43:54 05d0c7665040: Preparing 22:43:54 e208941a8928: Preparing 22:43:54 a28ac916335e: Preparing 22:43:54 5d3e392a13a0: Preparing 22:43:54 5d3e392a13a0: Layer already exists 22:43:54 b1c7884fbdf3: Layer already exists 22:43:54 a28ac916335e: Layer already exists 22:43:54 05d0c7665040: Layer already exists 22:43:54 e208941a8928: Layer already exists 22:43:54 latest: digest: sha256:b8f9b36335e3768b5be45e18153a45fd325167ff6a6142f8d66a5f2bb96fdafe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:55 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:55 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.18 22:43:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:43:55 b1c7884fbdf3: Preparing 22:43:55 05d0c7665040: Preparing 22:43:55 e208941a8928: Preparing 22:43:55 a28ac916335e: Preparing 22:43:55 5d3e392a13a0: Preparing 22:43:55 e208941a8928: Layer already exists 22:43:55 05d0c7665040: Layer already exists 22:43:55 b1c7884fbdf3: Layer already exists 22:43:55 a28ac916335e: Layer already exists 22:43:55 5d3e392a13a0: Layer already exists 22:43:55 2.3.0-dev.18: digest: sha256:b8f9b36335e3768b5be45e18153a45fd325167ff6a6142f8d66a5f2bb96fdafe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:55 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:da0fc691370f2a0b0463f80469643f152cdbe902-2.3.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:56 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:da0fc691370f2a0b0463f80469643f152cdbe902-2.3.0-dev.18 22:43:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:43:56 b1c7884fbdf3: Preparing 22:43:56 05d0c7665040: Preparing 22:43:56 e208941a8928: Preparing 22:43:56 a28ac916335e: Preparing 22:43:56 5d3e392a13a0: Preparing 22:43:56 05d0c7665040: Layer already exists 22:43:56 5d3e392a13a0: Layer already exists 22:43:56 a28ac916335e: Layer already exists 22:43:56 e208941a8928: Layer already exists 22:43:56 b1c7884fbdf3: Layer already exists 22:43:56 da0fc691370f2a0b0463f80469643f152cdbe902-2.3.0-dev.18: digest: sha256:b8f9b36335e3768b5be45e18153a45fd325167ff6a6142f8d66a5f2bb96fdafe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:56 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:58 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 22:43:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:43:58 b1c7884fbdf3: Preparing 22:43:58 05d0c7665040: Preparing 22:43:58 e208941a8928: Preparing 22:43:58 a28ac916335e: Preparing 22:43:58 5d3e392a13a0: Preparing 22:43:58 a28ac916335e: Layer already exists 22:43:58 e208941a8928: Layer already exists 22:43:58 05d0c7665040: Layer already exists 22:43:58 5d3e392a13a0: Layer already exists 22:43:58 b1c7884fbdf3: Layer already exists 22:43:58 main: digest: sha256:b8f9b36335e3768b5be45e18153a45fd325167ff6a6142f8d66a5f2bb96fdafe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:43:58 ===================================================== [Pipeline] echo 22:43:58 taggedImages: 22:43:58 - nexus3.edgexfoundry.org:10004/device-rest-arm64:da0fc691370f2a0b0463f80469643f152cdbe902 22:43:58 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 22:43:58 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.18 22:43:58 - nexus3.edgexfoundry.org:10004/device-rest-arm64:da0fc691370f2a0b0463f80469643f152cdbe902-2.3.0-dev.18 22:43:58 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:43:58 22:43:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:43:58 arm64: Pulling from edgex-lftools-log-publisher 22:43:58 8998bd30e6a1: Pulling fs layer 22:43:58 04944245beec: Pulling fs layer 22:43:58 699f458cf7ca: Pulling fs layer 22:43:58 765212b225bb: Pulling fs layer 22:43:58 f23df028b6ca: Pulling fs layer 22:43:58 d65c8cfc05b1: Pulling fs layer 22:43:58 2437ff75d9bd: Pulling fs layer 22:43:58 f23df028b6ca: Waiting 22:43:58 2437ff75d9bd: Waiting 22:43:58 d65c8cfc05b1: Waiting 22:43:58 765212b225bb: Waiting 22:43:59 04944245beec: Verifying Checksum 22:43:59 04944245beec: Download complete 22:43:59 765212b225bb: Verifying Checksum 22:43:59 765212b225bb: Download complete 22:43:59 f23df028b6ca: Verifying Checksum 22:43:59 f23df028b6ca: Download complete 22:43:59 d65c8cfc05b1: Download complete 22:43:59 699f458cf7ca: Verifying Checksum 22:43:59 699f458cf7ca: Download complete 22:43:59 8998bd30e6a1: Verifying Checksum 22:43:59 8998bd30e6a1: Download complete 22:44:02 2437ff75d9bd: Verifying Checksum 22:44:02 2437ff75d9bd: Download complete 22:44:03 8998bd30e6a1: Pull complete 22:44:04 04944245beec: Pull complete 22:44:05 699f458cf7ca: Pull complete 22:44:05 765212b225bb: Pull complete 22:44:06 f23df028b6ca: Pull complete 22:44:06 d65c8cfc05b1: Pull complete 22:44:21 2437ff75d9bd: Pull complete 22:44:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:44:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:44:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:44:21 prd-ubuntu20.04-docker-arm64-4c-16g-7590 does not seem to be running inside a container 22:44:21 $ 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/62 -v /w/workspace/device-rest-go/62:/w/workspace/device-rest-go/62:rw,z -v /w/workspace/device-rest-go/62@tmp:/w/workspace/device-rest-go/62@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 22:44:24 $ docker top 043a1e429324b932084a248d7adfc0df1b37d22745a57666d07d2a7fa1a250b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:44:25 ---> job-cost.sh 22:44:25 lf-activate-venv: SKIPPING 22:44:25 INFO: No Stack... 22:44:25 INFO: Retrieving Pricing Info for: v3-standard-4 22:44:26 INFO: Archiving Costs [Pipeline] sh 22:44:26 + cut -d, -f6 22:44:26 + cat /w/workspace/device-rest-go/62/archives/cost.csv [Pipeline] lock 22:44:26 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-62-stack-cost] 22:44:26 Resource [jenkins-edgexfoundry-device-rest-go-main-62-stack-cost] did not exist. Created. 22:44:26 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-62-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:44:27 /w/workspace/device-rest-go/62@tmp/durable-03042f6a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:44:28 + echo total: 0.10999999940395355 [Pipeline] stash 22:44:28 Warning: overwriting stash ‘stack-cost’ 22:44:28 Stashed 1 file(s) [Pipeline] } 22:44:28 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-62-stack-cost] [Pipeline] // lock [Pipeline] } 22:44:28 $ docker stop --time=1 043a1e429324b932084a248d7adfc0df1b37d22745a57666d07d2a7fa1a250b4 22:44:29 $ docker rm -f 043a1e429324b932084a248d7adfc0df1b37d22745a57666d07d2a7fa1a250b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 22:44:30 provisioning config files... 22:44:30 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1884801211669994570tmp [Pipeline] { [Pipeline] sh 22:44:30 + set +x 22:44:30 + curl -s https://codecov.io/bash 22:44:30 + bash -s -- 22:44:30 22:44:30 _____ _ 22:44:30 / ____| | | 22:44:30 | | ___ __| | ___ ___ _____ __ 22:44:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:44:30 | |___| (_) | (_| | __/ (_| (_) \ V / 22:44:30 \_____\___/ \__,_|\___|\___\___/ \_/ 22:44:30 Bash-1.0.6 22:44:30 22:44:30 22:44:30 ==> git version 2.25.1 found 22:44:30 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:44:30 Release-Date: 2020-01-08 22:44:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:44:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:44:30 ==> Jenkins CI detected. 22:44:30 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 22:44:30 project root: . 22:44:30 --> token set from env 22:44:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:44:30 ==> Running gcov in . (disable via -X gcov) 22:44:30 ==> Python coveragepy not found 22:44:30 ==> Searching for coverage reports in: 22:44:30 + . 22:44:30 -> Found 1 reports 22:44:30 ==> Detecting git/mercurial file structure 22:44:30 ==> Reading reports 22:44:30 + ./coverage.out bytes=9355 22:44:30 ==> Appending adjustments 22:44:30 https://docs.codecov.io/docs/fixing-reports 22:44:30 + Found adjustments 22:44:30 ==> Gzipping contents 22:44:30 4.0K /tmp/codecov.IRMsXE.gz 22:44:30 ==> Uploading reports 22:44:30 url: https://codecov.io 22:44:30 query: branch=main&commit=da0fc691370f2a0b0463f80469643f152cdbe902&build=62&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F62%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:44:30 -> Pinging Codecov 22:44:30 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=da0fc691370f2a0b0463f80469643f152cdbe902&build=62&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F62%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:44:31 -> Uploading to 22:44:31 https://storage.googleapis.com/codecov/v4/raw/2022-10-10/4E5D53B4F1F92C436F7061BF334D961C/da0fc691370f2a0b0463f80469643f152cdbe902/46a37c4e-bcd3-4c13-9db5-1d097ab3c1c6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T224430Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a01ca22634204f176ba66d36c20c0078d6ed38dfcb5f8f3f5b71d3190c3bcfa1 22:44:31 % Total % Received % Xferd Average Speed Time Time Time Current 22:44:31 Dload Upload Total Spent Left Speed 22:44:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7241 --:--:-- --:--:-- --:--:-- 7241 22:44:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/da0fc691370f2a0b0463f80469643f152cdbe902 [Pipeline] } 22:44:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:44:32 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:44:32 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:44:32 22:44:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:44:32 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:44:32 df9b9388f04a: Pulling fs layer 22:44:32 52dc419b0ee2: Pulling fs layer 22:44:32 25bc292e5bac: Pulling fs layer 22:44:32 114826534d7a: Pulling fs layer 22:44:32 4657fd5d0bcf: Pulling fs layer 22:44:32 6ad1cebc031e: Pulling fs layer 22:44:32 8a3aa393b2d8: Pulling fs layer 22:44:32 4657fd5d0bcf: Waiting 22:44:32 6ad1cebc031e: Waiting 22:44:32 8a3aa393b2d8: Waiting 22:44:32 114826534d7a: Waiting 22:44:32 25bc292e5bac: Download complete 22:44:32 52dc419b0ee2: Download complete 22:44:32 4657fd5d0bcf: Verifying Checksum 22:44:32 4657fd5d0bcf: Download complete 22:44:32 df9b9388f04a: Verifying Checksum 22:44:32 df9b9388f04a: Download complete 22:44:32 df9b9388f04a: Pull complete 22:44:32 6ad1cebc031e: Verifying Checksum 22:44:32 6ad1cebc031e: Download complete 22:44:32 52dc419b0ee2: Pull complete 22:44:32 25bc292e5bac: Pull complete 22:44:33 114826534d7a: Verifying Checksum 22:44:33 114826534d7a: Download complete 22:44:33 8a3aa393b2d8: Verifying Checksum 22:44:33 8a3aa393b2d8: Download complete 22:44:36 114826534d7a: Pull complete 22:44:36 4657fd5d0bcf: Pull complete 22:44:37 6ad1cebc031e: Pull complete 22:44:39 8a3aa393b2d8: Pull complete 22:44:39 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:44:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:44:39 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:44:39 prd-ubuntu20.04-docker-8c-8g-7589 does not seem to be running inside a container 22:44:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:44:42 $ docker top bf1c871c49642f55a1887992dbdb0fb54f26fc3fc8b01d423859534186fd7e41 -eo pid,comm [Pipeline] { [Pipeline] echo 22:44:42 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 22:44:42 + set -o pipefail 22:44:42 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 22:44:48 22:44:48 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 22:44:48 22:44:48 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/16311fe7-3fd3-4ca5-a375-8ed5ca58e6e6 22:44:48 22:44:48 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:44:48 22:44:48 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:44:48 22:44:48 22:44:48 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:44:48 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:44:48 More details here: https://snyk.co/ue1NS [Pipeline] } 22:44:48 $ docker stop --time=1 bf1c871c49642f55a1887992dbdb0fb54f26fc3fc8b01d423859534186fd7e41 22:44:50 $ docker rm -f bf1c871c49642f55a1887992dbdb0fb54f26fc3fc8b01d423859534186fd7e41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:44:51 + git log --format=format:%s -1 da0fc691370f2a0b0463f80469643f152cdbe902 [Pipeline] sh 22:44:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:44:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:44:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:44:52 prd-ubuntu20.04-docker-8c-8g-7589 does not seem to be running inside a container 22:44:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:44:52 $ docker top eb6b8f01bb43be767a6ca5fdb10131fb0a17d9ecee18b3b7ab8428c930eb704d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:44:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:44:52 [ssh-agent] Looking for ssh-agent implementation... 22:44:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:44:52 $ docker exec eb6b8f01bb43be767a6ca5fdb10131fb0a17d9ecee18b3b7ab8428c930eb704d ssh-agent 22:44:53 SSH_AUTH_SOCK=/tmp/ssh-Dv20PaXbb9qT/agent.32 22:44:53 SSH_AGENT_PID=38 22:44:53 Running ssh-add (command line suppressed) 22:44:53 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_906574643269824648.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_906574643269824648.key) 22:44:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:44:53 + git semver tag 22:44:53 2022-10-10 22:44:53,661 [run_tag] DEBUG tag force:False 22:44:53 2022-10-10 22:44:53,661 [check_head_tag] DEBUG check head tag 22:44:53 2022-10-10 22:44:53,662 [execute] INFO git cat-file --batch-check 22:44:53 2022-10-10 22:44:53,662 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 22:44:53 2022-10-10 22:44:53,665 [execute] INFO git cat-file --batch 22:44:53 2022-10-10 22:44:53,666 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 22:44:53 2022-10-10 22:44:53,679 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:44:53 2022-10-10 22:44:53,679 [execute] INFO git tag -a v2.3.0-dev.18 -m v2.3.0-dev.18 22:44:53 2022-10-10 22:44:53,679 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.18', '-m', 'v2.3.0-dev.18'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 22:44:53 2022-10-10 22:44:53,684 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:44:53 2.3.0-dev.18 [Pipeline] } 22:44:53 $ docker exec --env ******** --env ******** eb6b8f01bb43be767a6ca5fdb10131fb0a17d9ecee18b3b7ab8428c930eb704d ssh-agent -k 22:44:53 unset SSH_AUTH_SOCK; 22:44:53 unset SSH_AGENT_PID; 22:44:53 echo Agent pid 38 killed; 22:44:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:44:54 + git semver [Pipeline] } 22:44:54 $ docker stop --time=1 eb6b8f01bb43be767a6ca5fdb10131fb0a17d9ecee18b3b7ab8428c930eb704d 22:44:55 $ docker rm -f eb6b8f01bb43be767a6ca5fdb10131fb0a17d9ecee18b3b7ab8428c930eb704d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:44:56 22:44:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:44:56 0.23.1-centos7: Pulling from edgex-lftools 22:44:56 ab5ef0e58194: Pulling fs layer 22:44:56 9712f1f96733: Pulling fs layer 22:44:56 63f879dbbcfc: Pulling fs layer 22:44:56 0d9ebad4ef96: Pulling fs layer 22:44:56 e9a5061849ea: Pulling fs layer 22:44:56 d747dcd14b5f: Pulling fs layer 22:44:56 2de7ff778b66: Pulling fs layer 22:44:56 0d9ebad4ef96: Waiting 22:44:56 e9a5061849ea: Waiting 22:44:56 d747dcd14b5f: Waiting 22:44:56 2de7ff778b66: Waiting 22:44:56 9712f1f96733: Verifying Checksum 22:44:56 9712f1f96733: Download complete 22:44:56 63f879dbbcfc: Verifying Checksum 22:44:56 63f879dbbcfc: Download complete 22:44:56 ab5ef0e58194: Download complete 22:44:56 e9a5061849ea: Verifying Checksum 22:44:56 e9a5061849ea: Download complete 22:44:56 d747dcd14b5f: Verifying Checksum 22:44:56 d747dcd14b5f: Download complete 22:44:57 0d9ebad4ef96: Verifying Checksum 22:44:57 0d9ebad4ef96: Download complete 22:44:57 2de7ff778b66: Verifying Checksum 22:44:57 2de7ff778b66: Download complete 22:44:59 ab5ef0e58194: Pull complete 22:44:59 9712f1f96733: Pull complete 22:45:00 63f879dbbcfc: Pull complete 22:45:04 0d9ebad4ef96: Pull complete 22:45:04 e9a5061849ea: Pull complete 22:45:04 d747dcd14b5f: Pull complete 22:45:05 2de7ff778b66: Pull complete 22:45:05 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:45:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:45:05 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:45:05 prd-ubuntu20.04-docker-8c-8g-7589 does not seem to be running inside a container 22:45:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:45:09 $ docker top 9c498b4d5fc70bb03300d04605212732656f2f2dc1ae56a9ef99d56899bdb635 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:45:09 provisioning config files... 22:45:09 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config374232329816671693tmp 22:45:09 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1991712887754053108tmp 22:45:09 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4283673247827008832tmp [Pipeline] { [Pipeline] echo 22:45:09 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:45:09 ---> sigul-configuration.sh 22:45:09 gpg: directory `/root/.gnupg' created 22:45:09 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:45:09 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:45:09 gpg: keyring `/root/.gnupg/secring.gpg' created 22:45:09 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:45:09 gpg: CAST5 encrypted data 22:45:09 gpg: encrypted with 1 passphrase 22:45:09 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:45:10 + mkdir /home/jenkins 22:45:10 + mkdir /home/jenkins/sigul [Pipeline] sh 22:45:10 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 22:45:10 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:45:10 ---> sigul-install.sh 22:45:10 Sigul already installed; skipping installation. [Pipeline] sh 22:45:11 + git tag --list 22:45:11 v1.0.0 22:45:11 v1.1.0 22:45:11 v1.1.1 22:45:11 v1.1.2 22:45:11 v1.2.0 22:45:11 v1.2.1 22:45:11 v2.0.0 22:45:11 v2.1.0 22:45:11 v2.1.1 22:45:11 v2.1.1-dev.1 22:45:11 v2.1.1-dev.2 22:45:11 v2.1.1-dev.3 22:45:11 v2.2.0 22:45:11 v2.2.1-dev.1 22:45:11 v2.2.1-dev.2 22:45:11 v2.2.1-dev.3 22:45:11 v2.2.1-dev.4 22:45:11 v2.2.1-dev.5 22:45:11 v2.2.1-dev.6 22:45:11 v2.2.1-dev.7 22:45:11 v2.2.1-dev.8 22:45:11 v2.2.1-dev.9 22:45:11 v2.3.0-dev.10 22:45:11 v2.3.0-dev.11 22:45:11 v2.3.0-dev.12 22:45:11 v2.3.0-dev.13 22:45:11 v2.3.0-dev.14 22:45:11 v2.3.0-dev.15 22:45:11 v2.3.0-dev.16 22:45:11 v2.3.0-dev.17 22:45:11 v2.3.0-dev.18 22:45:11 v2.3.0-dev.9 [Pipeline] sh 22:45:11 + lftools sign git-tag v2.3.0-dev.18 22:45:11 Signing Git tag with Sigul... 22:45:11 Signing v2.3.0-dev.18 [Pipeline] echo 22:45:12 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:45:12 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:45:12 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:45:12 $ docker stop --time=1 9c498b4d5fc70bb03300d04605212732656f2f2dc1ae56a9ef99d56899bdb635 22:45:13 $ docker rm -f 9c498b4d5fc70bb03300d04605212732656f2f2dc1ae56a9ef99d56899bdb635 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:45:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:45:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:45:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:45:14 prd-ubuntu20.04-docker-8c-8g-7589 does not seem to be running inside a container 22:45:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:45:14 $ docker top dea3413da498d7c79c7f8ac2433821fb2c5fa981e1c8368c9b531ab3b1a30275 -eo pid,comm 22:45:14 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). 22:45:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:45:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:45:14 [ssh-agent] Looking for ssh-agent implementation... 22:45:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:45:15 $ docker exec dea3413da498d7c79c7f8ac2433821fb2c5fa981e1c8368c9b531ab3b1a30275 ssh-agent 22:45:15 SSH_AUTH_SOCK=/tmp/ssh-gpIhkmHVDc29/agent.32 22:45:15 SSH_AGENT_PID=38 22:45:15 Running ssh-add (command line suppressed) 22:45:15 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17476152984208226426.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17476152984208226426.key) 22:45:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:45:15 + git semver bump pre 22:45:15 2022-10-10 22:45:15,751 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:45:15 2022-10-10 22:45:15,751 [bump_version] DEBUG bumping version:2.3.0-dev.18 on axis:pre with prefix:dev 22:45:15 2022-10-10 22:45:15,751 [bump_version] DEBUG bumped version:2.3.0-dev.19 22:45:15 2022-10-10 22:45:15,751 [write_version] DEBUG write version:2.3.0-dev.19 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 22:45:15 2022-10-10 22:45:15,751 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:45:15 2022-10-10 22:45:15,751 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:45:15 2022-10-10 22:45:15,753 [execute] INFO git cat-file --batch-check 22:45:15 2022-10-10 22:45:15,754 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:45:15 2022-10-10 22:45:15,759 [execute] INFO git cat-file --batch 22:45:15 2022-10-10 22:45:15,759 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:45:15 2022-10-10 22:45:15,765 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:45:15 2.3.0-dev.19 [Pipeline] } 22:45:15 $ docker exec --env ******** --env ******** dea3413da498d7c79c7f8ac2433821fb2c5fa981e1c8368c9b531ab3b1a30275 ssh-agent -k 22:45:15 unset SSH_AUTH_SOCK; 22:45:15 unset SSH_AGENT_PID; 22:45:15 echo Agent pid 38 killed; 22:45:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:45:16 + git semver [Pipeline] } 22:45:16 $ docker stop --time=1 dea3413da498d7c79c7f8ac2433821fb2c5fa981e1c8368c9b531ab3b1a30275 22:45:17 $ docker rm -f dea3413da498d7c79c7f8ac2433821fb2c5fa981e1c8368c9b531ab3b1a30275 [Pipeline] // withDockerContainer [Pipeline] sh 22:45:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:45:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:45:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:45:18 prd-ubuntu20.04-docker-8c-8g-7589 does not seem to be running inside a container 22:45:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:45:18 $ docker top e10616ac81690eb80322f5c11810aafd6078b5dc0e16294c8ded306e0755a2cd -eo pid,comm 22:45:18 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). 22:45:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:45:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:45:18 [ssh-agent] Looking for ssh-agent implementation... 22:45:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:45:19 $ docker exec e10616ac81690eb80322f5c11810aafd6078b5dc0e16294c8ded306e0755a2cd ssh-agent 22:45:19 SSH_AUTH_SOCK=/tmp/ssh-TbvkOtImoTVS/agent.32 22:45:19 SSH_AGENT_PID=39 22:45:19 Running ssh-add (command line suppressed) 22:45:19 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7302822204344539209.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7302822204344539209.key) 22:45:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:45:19 + git semver push 22:45:19 2022-10-10 22:45:19,810 [run_push] DEBUG push 22:45:19 2022-10-10 22:45:19,811 [execute] INFO git cat-file --batch-check 22:45:19 2022-10-10 22:45:19,811 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:45:19 2022-10-10 22:45:19,815 [execute] INFO git rev-list 57d7ae1029c1794a12fe7a6b3bb7ae3feb9f8f5a -- 22:45:19 2022-10-10 22:45:19,815 [execute] DEBUG Popen(['git', 'rev-list', '57d7ae1029c1794a12fe7a6b3bb7ae3feb9f8f5a', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:45:19 2022-10-10 22:45:19,821 [execute] INFO git fetch -v origin 22:45:19 2022-10-10 22:45:19,822 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:45:20 2022-10-10 22:45:20,466 [run_push] DEBUG no remote changes detected 22:45:20 2022-10-10 22:45:20,467 [execute] INFO git push origin semver 22:45:20 2022-10-10 22:45:20,467 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:45:21 2022-10-10 22:45:21,239 [run_push] DEBUG push all version tags 22:45:21 2022-10-10 22:45:21,240 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:45:21 2022-10-10 22:45:21,240 [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) 22:45:22 2022-10-10 22:45:21,979 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:45:22 2.3.0-dev.19 [Pipeline] } 22:45:22 $ docker exec --env ******** --env ******** e10616ac81690eb80322f5c11810aafd6078b5dc0e16294c8ded306e0755a2cd ssh-agent -k 22:45:22 unset SSH_AUTH_SOCK; 22:45:22 unset SSH_AGENT_PID; 22:45:22 echo Agent pid 39 killed; 22:45:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:45:22 + git semver [Pipeline] } 22:45:22 $ docker stop --time=1 e10616ac81690eb80322f5c11810aafd6078b5dc0e16294c8ded306e0755a2cd 22:45:24 $ docker rm -f e10616ac81690eb80322f5c11810aafd6078b5dc0e16294c8ded306e0755a2cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:45:24 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 22:45:24 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 22:45:24 total 16 22:45:24 drwxr-xr-x 3 root root 4096 Oct 10 22:37 . 22:45:24 drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 22:45 .. 22:45:24 drwxr-xr-x 2 root root 4096 Oct 10 22:37 cost 22:45:24 -rw-r--r-- 1 root root 85 Oct 10 22:37 cost.csv 22:45:24 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 22:45:24 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 22:45:24 total 16 22:45:24 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 22:37 . 22:45:24 drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 22:45 .. 22:45:24 drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 22:37 cost 22:45:24 -rw-r--r-- 1 jenkins jenkins 85 Oct 10 22:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:45:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:45:25 ---> package-listing.sh 22:45:25 ++ facter osfamily 22:45:25 ++ tr '[:upper:]' '[:lower:]' 22:45:26 + OS_FAMILY=debian 22:45:26 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 22:45:26 + START_PACKAGES=/tmp/packages_start.txt 22:45:26 + END_PACKAGES=/tmp/packages_end.txt 22:45:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:45:26 + PACKAGES=/tmp/packages_start.txt 22:45:26 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 22:45:26 + PACKAGES=/tmp/packages_end.txt 22:45:26 + case "${OS_FAMILY}" in 22:45:26 + dpkg -l 22:45:26 + grep '^ii' 22:45:26 + '[' -f /tmp/packages_start.txt ']' 22:45:26 + '[' -f /tmp/packages_end.txt ']' 22:45:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:45:26 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 22:45:26 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 22:45:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 22:45:26 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:45:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:45:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:45:26 prd-ubuntu20.04-docker-8c-8g-7589 does not seem to be running inside a container 22:45:26 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:45:27 $ docker top a8708121af24ba72db0e8b71f22509419c9bc215faa62ffd7d405f67d62befca -eo pid,comm [Pipeline] { [Pipeline] sh 22:45:27 + touch /tmp/pre-build-complete [Pipeline] sh 22:45:27 + mkdir -p /var/log/sysstat [Pipeline] sh 22:45:28 + ls /var/log/sa-host 22:45:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:45:28 provisioning config files... 22:45:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12510024976170402182tmp [Pipeline] { [Pipeline] echo 22:45:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:45:28 ---> create-netrc.sh [Pipeline] } 22:45:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:45:28 ---> python-tools-install.sh [Pipeline] echo 22:45:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:45:29 ---> sudo-logs.sh 22:45:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:45:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:45:29 ---> job-cost.sh 22:45:29 lf-activate-venv: SKIPPING 22:45:29 DEBUG: total: 0.2199999988079071 22:45:29 INFO: Retrieving Stack Cost... 22:45:29 INFO: Retrieving Pricing Info for: v3-standard-8 22:45:30 INFO: Archiving Costs [Pipeline] echo 22:45:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:45:30 ---> logs-deploy.sh 22:45:30 lf-activate-venv: SKIPPING 22:45:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/62 22:45:30 INFO: archiving workspace using pattern(s): 22:45:31 Archives upload complete. 22:45:31 INFO: archiving logs to Nexus