Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 213c59a90fa2a9f25f91c2628b566ab82c721a2b 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-ssh16487788271569665519.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13493342448648009216.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-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-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9238142466501699378.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11228925013437956843.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-virtual-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-virtual-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3974795385954264192.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-virtual-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-virtual-go-settings PROJECT: device-virtual-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-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9311 in /w/workspace/exfoundry_device-virtual-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-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-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-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 213c59a90fa2a9f25f91c2628b566ab82c721a2b (main) Commit message: "Merge pull request #316 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.46" > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-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 213c59a90fa2a9f25f91c2628b566ab82c721a2b # timeout=10 > git rev-list --no-walk 9a1b535985cde1136af0b2835ff927b495d73fc1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:57:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:57:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:57:32 ========================================================= 14:57:32 EdgeX Global Pipelines Version Info 14:57:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:57:33 ------------------- 14:57:33 stable info: 14:57:33 ------------------- 14:57:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:57:33 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 14:57:33 Message: update stable to v1.0.243 14:57:33 ------------------- 14:57:33 experimental info: 14:57:33 ------------------- 14:57:33 Commited By: **** collab-it+edgex@linuxfoundation.org 14:57:33 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 14:57:33 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 213c59a90fa2a9f25f91c2628b566ab82c721a2b [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 213c59a [Pipeline] echo 14:57:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:57:34 provisioning config files... 14:57:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12421588552105141375tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:57:34 ---> docker-login.sh 14:57:34 nexus3.edgexfoundry.org:10001 14:57:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:35 Configure a credential helper to remove this warning. See 14:57:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:35 14:57:35 Login Succeeded 14:57:35 nexus3.edgexfoundry.org:10002 14:57:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:35 Configure a credential helper to remove this warning. See 14:57:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:35 14:57:35 Login Succeeded 14:57:35 nexus3.edgexfoundry.org:10003 14:57:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:35 Configure a credential helper to remove this warning. See 14:57:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:35 14:57:35 Login Succeeded 14:57:35 nexus3.edgexfoundry.org:10004 14:57:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:35 Configure a credential helper to remove this warning. See 14:57:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:35 14:57:35 Login Succeeded 14:57:35 docker.io 14:57:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:36 Configure a credential helper to remove this warning. See 14:57:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:36 14:57:36 Login Succeeded 14:57:36 ---> docker-login.sh ends [Pipeline] } 14:57:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:57:36 + git rev-list -1 --merges 213c59a90fa2a9f25f91c2628b566ab82c721a2b~1..213c59a90fa2a9f25f91c2628b566ab82c721a2b [Pipeline] echo 14:57:36 -----------> git rev-list -1 --merges 213c59a90fa2a9f25f91c2628b566ab82c721a2b~1..213c59a90fa2a9f25f91c2628b566ab82c721a2b 213c59a90fa2a9f25f91c2628b566ab82c721a2b 14:57:36 213c59a90fa2a9f25f91c2628b566ab82c721a2b [false] [Pipeline] sh 14:57:37 + git log --format=format:%s -1 213c59a90fa2a9f25f91c2628b566ab82c721a2b [Pipeline] echo 14:57:37 ========================================================= 14:57:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:57:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:57:37 + git log --format=format:%s -1 213c59a90fa2a9f25f91c2628b566ab82c721a2b [Pipeline] echo 14:57:37 [semverPrep] GIT_COMMIT: 213c59a90fa2a9f25f91c2628b566ab82c721a2b, Commit Message: Merge pull request #316 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.46 [Pipeline] echo 14:57:37 [semverPrep] This is not a build commit. [Pipeline] sh 14:57:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:57:37 + grep -v github /etc/ssh/ssh_known_hosts 14:57:37 + [ -e /tmp/ssh_known_hosts ] 14:57:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:57:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:57:37 + sudo tee -a /etc/ssh/ssh_known_hosts 14:57:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:57:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:57:38 14:57:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:57:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:57:38 0.1.4: Pulling from edgex-devops/py-git-semver 14:57:38 b85a868b505f: Pulling fs layer 14:57:38 e2be974225ed: Pulling fs layer 14:57:38 339a4e72a1f5: Pulling fs layer 14:57:38 988bab9f4d93: Pulling fs layer 14:57:38 1469e6f7b9e6: Pulling fs layer 14:57:38 eaf3925da568: Pulling fs layer 14:57:38 bab4dde63d76: Pulling fs layer 14:57:38 bde34c3a00c8: Pulling fs layer 14:57:38 b352a97aabf1: Pulling fs layer 14:57:38 4872d77fe225: Pulling fs layer 14:57:38 5851b861e8e6: Pulling fs layer 14:57:38 988bab9f4d93: Waiting 14:57:38 bde34c3a00c8: Waiting 14:57:38 4872d77fe225: Waiting 14:57:38 b352a97aabf1: Waiting 14:57:38 5851b861e8e6: Waiting 14:57:38 1469e6f7b9e6: Waiting 14:57:38 bab4dde63d76: Waiting 14:57:38 e2be974225ed: Verifying Checksum 14:57:38 e2be974225ed: Download complete 14:57:38 988bab9f4d93: Verifying Checksum 14:57:38 988bab9f4d93: Download complete 14:57:38 1469e6f7b9e6: Verifying Checksum 14:57:38 1469e6f7b9e6: Download complete 14:57:38 eaf3925da568: Verifying Checksum 14:57:38 eaf3925da568: Download complete 14:57:38 339a4e72a1f5: Verifying Checksum 14:57:38 339a4e72a1f5: Download complete 14:57:38 bde34c3a00c8: Download complete 14:57:39 b352a97aabf1: Verifying Checksum 14:57:39 b352a97aabf1: Download complete 14:57:39 4872d77fe225: Verifying Checksum 14:57:39 4872d77fe225: Download complete 14:57:39 5851b861e8e6: Verifying Checksum 14:57:39 5851b861e8e6: Download complete 14:57:39 b85a868b505f: Verifying Checksum 14:57:39 b85a868b505f: Download complete 14:57:39 bab4dde63d76: Verifying Checksum 14:57:39 bab4dde63d76: Download complete 14:57:40 b85a868b505f: Pull complete 14:57:40 e2be974225ed: Pull complete 14:57:41 339a4e72a1f5: Pull complete 14:57:41 988bab9f4d93: Pull complete 14:57:41 1469e6f7b9e6: Pull complete 14:57:41 eaf3925da568: Pull complete 14:57:43 bab4dde63d76: Pull complete 14:57:43 bde34c3a00c8: Pull complete 14:57:43 b352a97aabf1: Pull complete 14:57:43 4872d77fe225: Pull complete 14:57:43 5851b861e8e6: Pull complete 14:57:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:57:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:57:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:57:44 prd-ubuntu20.04-docker-8c-8g-9311 does not seem to be running inside a container 14:57:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:57:46 $ docker top dd157d412b1a4173b80202b4b01dd8ed5c79149e1c91f76aa38afb72cbf7fe73 -eo pid,comm 14:57:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 14:57:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:57:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:57:46 [ssh-agent] Looking for ssh-agent implementation... 14:57:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:57:46 $ docker exec dd157d412b1a4173b80202b4b01dd8ed5c79149e1c91f76aa38afb72cbf7fe73 ssh-agent 14:57:46 SSH_AUTH_SOCK=/tmp/ssh-p5XsUord5djJ/agent.33 14:57:46 SSH_AGENT_PID=39 14:57:46 Running ssh-add (command line suppressed) 14:57:46 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17428378180721193203.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17428378180721193203.key) 14:57:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:57:47 + git tag --points-at HEAD [Pipeline] } 14:57:47 $ docker exec --env ******** --env ******** dd157d412b1a4173b80202b4b01dd8ed5c79149e1c91f76aa38afb72cbf7fe73 ssh-agent -k 14:57:47 unset SSH_AUTH_SOCK; 14:57:47 unset SSH_AGENT_PID; 14:57:47 echo Agent pid 39 killed; 14:57:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:57:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:57:47 [ssh-agent] Looking for ssh-agent implementation... 14:57:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:57:47 $ docker exec dd157d412b1a4173b80202b4b01dd8ed5c79149e1c91f76aa38afb72cbf7fe73 ssh-agent 14:57:47 SSH_AUTH_SOCK=/tmp/ssh-RrCwEI9dewCj/agent.71 14:57:47 SSH_AGENT_PID=77 14:57:47 Running ssh-add (command line suppressed) 14:57:47 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8610719146454780428.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8610719146454780428.key) 14:57:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:57:47 + git semver init 14:57:48 2022-10-24 14:57:48,151 [run_init] DEBUG init version:0.0.0 force:False 14:57:48 2022-10-24 14:57:48,152 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 14:57:48 2022-10-24 14:57:48,152 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 14:57:48 2022-10-24 14:57:48,152 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/exfoundry_device-virtual-go_main/.semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 14:57:49 2022-10-24 14:57:49,362 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 14:57:49 2022-10-24 14:57:49,362 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 14:57:49 2022-10-24 14:57:49,362 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:57:49 2022-10-24 14:57:49,363 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:57:49 2.3.0-dev.27 [Pipeline] } 14:57:49 $ docker exec --env ******** --env ******** dd157d412b1a4173b80202b4b01dd8ed5c79149e1c91f76aa38afb72cbf7fe73 ssh-agent -k 14:57:49 unset SSH_AUTH_SOCK; 14:57:49 unset SSH_AGENT_PID; 14:57:49 echo Agent pid 77 killed; 14:57:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:57:50 + git semver [Pipeline] } 14:57:50 $ docker stop --time=1 dd157d412b1a4173b80202b4b01dd8ed5c79149e1c91f76aa38afb72cbf7fe73 14:57:51 $ docker rm -f dd157d412b1a4173b80202b4b01dd8ed5c79149e1c91f76aa38afb72cbf7fe73 [Pipeline] // withDockerContainer [Pipeline] sh 14:57:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:57:52 Stashed 1 file(s) [Pipeline] echo 14:57:52 [edgeXSemver]: initialized semver on version 2.3.0-dev.27 [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 14:57:52 provisioning config files... 14:57:52 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4923531413866377850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:57:52 ---> docker-login.sh 14:57:52 nexus3.edgexfoundry.org:10001 14:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:52 Configure a credential helper to remove this warning. See 14:57:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:52 14:57:52 Login Succeeded 14:57:52 nexus3.edgexfoundry.org:10002 14:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:52 Configure a credential helper to remove this warning. See 14:57:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:52 14:57:52 Login Succeeded 14:57:52 nexus3.edgexfoundry.org:10003 14:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:52 Configure a credential helper to remove this warning. See 14:57:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:52 14:57:52 Login Succeeded 14:57:52 nexus3.edgexfoundry.org:10004 14:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:52 Configure a credential helper to remove this warning. See 14:57:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:52 14:57:52 Login Succeeded 14:57:52 docker.io 14:57:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:53 Configure a credential helper to remove this warning. See 14:57:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:53 14:57:53 Login Succeeded 14:57:53 ---> docker-login.sh ends [Pipeline] } 14:57:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:57:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:57:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:57:53 ========================================================= 14:57:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 14:57:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:57:53 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 14:57:53 Sending build context to Docker daemon 23.22MB 14:57:53 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 14:57:53 Step 2/13 : FROM ${BASE} AS builder 14:57:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 14:57:53 213ec9aee27d: Pulling fs layer 14:57:53 4583459ba037: Pulling fs layer 14:57:53 93c1e223e6f2: Pulling fs layer 14:57:53 53926ce57604: Pulling fs layer 14:57:53 21b2b0c7a3f4: Pulling fs layer 14:57:53 30f14e443154: Pulling fs layer 14:57:53 53926ce57604: Waiting 14:57:53 21b2b0c7a3f4: Waiting 14:57:53 801331c1e519: Pulling fs layer 14:57:53 99cc6dd402b0: Pulling fs layer 14:57:53 7d9ed39f4882: Pulling fs layer 14:57:53 30f14e443154: Waiting 14:57:53 801331c1e519: Waiting 14:57:53 99cc6dd402b0: Waiting 14:57:53 7d9ed39f4882: Waiting 14:57:53 93c1e223e6f2: Verifying Checksum 14:57:53 93c1e223e6f2: Download complete 14:57:53 4583459ba037: Verifying Checksum 14:57:53 4583459ba037: Download complete 14:57:53 21b2b0c7a3f4: Verifying Checksum 14:57:53 21b2b0c7a3f4: Download complete 14:57:53 30f14e443154: Download complete 14:57:53 213ec9aee27d: Verifying Checksum 14:57:53 213ec9aee27d: Download complete 14:57:53 801331c1e519: Download complete 14:57:53 213ec9aee27d: Pull complete 14:57:54 4583459ba037: Pull complete 14:57:54 93c1e223e6f2: Pull complete 14:57:54 7d9ed39f4882: Verifying Checksum 14:57:54 7d9ed39f4882: Download complete 14:57:54 53926ce57604: Verifying Checksum 14:57:54 53926ce57604: Download complete 14:57:54 99cc6dd402b0: Verifying Checksum 14:57:54 99cc6dd402b0: Download complete 14:57:58 53926ce57604: Pull complete 14:57:58 21b2b0c7a3f4: Pull complete 14:57:58 30f14e443154: Pull complete 14:57:58 801331c1e519: Pull complete 14:58:00 99cc6dd402b0: Pull complete 14:58:00 7d9ed39f4882: Pull complete 14:58:00 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 14:58:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 14:58:00 ---> 1dedd983c030 14:58:00 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:58:04 ---> Running in f27c9eaf321c 14:58:04 Removing intermediate container f27c9eaf321c 14:58:04 ---> ac324d8a2a13 14:58:04 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 14:58:04 ---> Running in 305f444bdedd 14:58:04 Removing intermediate container 305f444bdedd 14:58:04 ---> dcce4b4e2b97 14:58:04 Step 5/13 : ARG ADD_BUILD_TAGS="" 14:58:04 ---> Running in db4df5e3700d 14:58:04 Removing intermediate container db4df5e3700d 14:58:04 ---> e2d1e34d8389 14:58:04 Step 6/13 : WORKDIR /device-virtual-go 14:58:04 ---> Running in 3b24508cade2 14:58:04 Removing intermediate container 3b24508cade2 14:58:04 ---> 51701638d3c4 14:58:04 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:58:04 ---> Running in b2d6c68b7f26 14:58:05 Removing intermediate container b2d6c68b7f26 14:58:05 ---> c71e12ac1558 14:58:05 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:58:05 ---> Running in 79a1fffe9ecc 14:58:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:58:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:58:06 (1/4) Installing openssh-keygen (9.0_p1-r2) 14:58:06 (2/4) Installing libedit (20210910.3.1-r0) 14:58:06 (3/4) Installing openssh-client-common (9.0_p1-r2) 14:58:07 Still waiting to schedule task 14:58:07 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 14:58:07 (4/4) Installing openssh-client-default (9.0_p1-r2) 14:58:07 Executing busybox-1.35.0-r17.trigger 14:58:07 OK: 216 MiB in 55 packages 14:58:07 Removing intermediate container 79a1fffe9ecc 14:58:07 ---> d773969fd936 14:58:07 Step 9/13 : COPY go.mod vendor* ./ 14:58:08 ---> 854b8c393abd 14:58:08 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:58:08 ---> Running in 1f298837a8aa 14:58:34 Removing intermediate container 1f298837a8aa 14:58:34 ---> 62ef306d4e86 14:58:34 Step 11/13 : COPY . . 14:58:34 ---> d97f427988d3 14:58:34 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:58:34 ---> Running in fd4918484930 14:58:34 Removing intermediate container fd4918484930 14:58:34 ---> b1bb08c9b15b 14:58:34 Step 13/13 : RUN $MAKE 14:58:34 ---> Running in 0ee71c49dc90 14:58:34 noop 14:58:34 Removing intermediate container 0ee71c49dc90 14:58:34 ---> f6cd7afba916 14:58:34 Successfully built f6cd7afba916 14:58:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:58:34 + docker inspect -f . ci-base-image-x86_64 14:58:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:58:34 prd-ubuntu20.04-docker-8c-8g-9311 does not seem to be running inside a container 14:58:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:58:35 $ docker top 8a041526eebb1c44a65865ec8852e39c546a2b84d558b8a27a2cc698725f7d06 -eo pid,comm [Pipeline] { [Pipeline] sh 14:58:35 + go version 14:58:35 go version go1.18.7 linux/amd64 [Pipeline] } 14:58:35 $ docker stop --time=1 8a041526eebb1c44a65865ec8852e39c546a2b84d558b8a27a2cc698725f7d06 14:58:37 $ docker rm -f 8a041526eebb1c44a65865ec8852e39c546a2b84d558b8a27a2cc698725f7d06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:58:37 + docker inspect -f . ci-base-image-x86_64 14:58:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:58:37 prd-ubuntu20.04-docker-8c-8g-9311 does not seem to be running inside a container 14:58:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:58:38 $ docker top 2ee044a9ec103fe8c76ae0f98df3071724e5e3f71875e7cf970a30669564b444 -eo pid,comm [Pipeline] { [Pipeline] sh 14:58:38 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 14:58:39 + make test 14:58:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:58:39 ? github.com/edgexfoundry/device-virtual-go [no test files] 14:58:49 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 14:58:50 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.045s coverage: 65.7% of statements 14:58:58 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." 14:58:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:59:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:59:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:59:02 ./bin/test-attribution-txt.sh [Pipeline] echo 14:59:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:59:02 $ docker stop --time=1 2ee044a9ec103fe8c76ae0f98df3071724e5e3f71875e7cf970a30669564b444 14:59:04 $ docker rm -f 2ee044a9ec103fe8c76ae0f98df3071724e5e3f71875e7cf970a30669564b444 [Pipeline] // withDockerContainer [Pipeline] sh 14:59:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:59:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:59:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:59:05 + ls -al . 14:59:05 total 204 14:59:05 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 14:58 . 14:59:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 14:57 .. 14:59:05 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 14:58 .git 14:59:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 14:57 .github 14:59:05 -rw-rw-r-- 1 jenkins jenkins 337 Oct 24 14:57 .gitignore 14:59:05 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 14:57 .golangci.yml 14:59:05 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 14:57 .semver 14:59:05 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 24 14:57 Attribution.txt 14:59:05 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 24 14:57 CHANGELOG.md 14:59:05 -rw-rw-r-- 1 jenkins jenkins 2034 Oct 24 14:57 Dockerfile 14:59:05 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 14:57 GOVERNANCE.md 14:59:05 -rw-rw-r-- 1 jenkins jenkins 660 Oct 24 14:57 Jenkinsfile 14:59:05 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 14:57 LICENSE 14:59:05 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 24 14:57 Makefile 14:59:05 -rw-rw-r-- 1 jenkins jenkins 623 Oct 24 14:57 OWNERS.md 14:59:05 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 24 14:57 README.md 14:59:05 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 14:57 VERSION 14:59:05 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 14:57 bin 14:59:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 14:57 cmd 14:59:05 -rw-r--r-- 1 jenkins jenkins 44128 Oct 24 14:58 coverage.out 14:59:05 -rw-rw-r-- 1 jenkins jenkins 3387 Oct 24 14:57 go.mod 14:59:05 -rw-rw-r-- 1 jenkins jenkins 44541 Oct 24 14:57 go.sum 14:59:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 14:57 internal 14:59:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 14:57 snap 14:59:05 -rw-rw-r-- 1 jenkins jenkins 235 Oct 24 14:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:06 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=213c59a90fa2a9f25f91c2628b566ab82c721a2b --label arch=amd64 --label version=2.3.0-dev.27 . 14:59:06 Sending build context to Docker daemon 23.26MB 14:59:06 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 14:59:06 Step 2/27 : FROM ${BASE} AS builder 14:59:06 ---> f6cd7afba916 14:59:06 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:59:06 ---> Running in 9c6e8bdf02d4 14:59:06 Removing intermediate container 9c6e8bdf02d4 14:59:06 ---> 07fc343a6d34 14:59:06 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 14:59:06 ---> Running in 09bcd1196ed7 14:59:06 Removing intermediate container 09bcd1196ed7 14:59:06 ---> 24d21dde609a 14:59:06 Step 5/27 : ARG ADD_BUILD_TAGS="" 14:59:06 ---> Running in b4bbe27d644a 14:59:06 Removing intermediate container b4bbe27d644a 14:59:06 ---> 311f2c05aa8b 14:59:06 Step 6/27 : WORKDIR /device-virtual-go 14:59:06 ---> Running in 78cedd308103 14:59:06 Removing intermediate container 78cedd308103 14:59:06 ---> 4ef32ef88444 14:59:06 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:59:06 ---> Running in b99fcd278ae0 14:59:07 Removing intermediate container b99fcd278ae0 14:59:07 ---> 32152170b6de 14:59:07 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:59:07 ---> Running in 7708486991b7 14:59:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:59:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:59:08 OK: 216 MiB in 55 packages 14:59:09 Removing intermediate container 7708486991b7 14:59:09 ---> 0e6244cc8623 14:59:09 Step 9/27 : COPY go.mod vendor* ./ 14:59:09 ---> 60fc3583372c 14:59:09 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:59:09 ---> Running in c275a8eb60ff 14:59:09 Removing intermediate container c275a8eb60ff 14:59:09 ---> 2ecd5df5a145 14:59:09 Step 11/27 : COPY . . 14:59:10 ---> 705b144983a3 14:59:10 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:59:10 ---> Running in b4ad1b86ecf8 14:59:10 Removing intermediate container b4ad1b86ecf8 14:59:10 ---> 90300dac591a 14:59:10 Step 13/27 : RUN $MAKE 14:59:10 ---> Running in cb742f4fbda8 14:59:11 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0-dev.27" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 14:59:32 Removing intermediate container cb742f4fbda8 14:59:32 ---> 1e5fb387c108 14:59:32 Step 14/27 : FROM alpine:3.16 14:59:32 3.16: Pulling from library/alpine 14:59:32 213ec9aee27d: Already exists 14:59:32 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 14:59:32 Status: Downloaded newer image for alpine:3.16 14:59:32 ---> 9c6f07244728 14:59:32 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 14:59:32 ---> Running in b4c284116d40 14:59:32 Removing intermediate container b4c284116d40 14:59:32 ---> dc106d35d3a4 14:59:32 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:59:32 ---> Running in 60d2fcbdb467 14:59:32 Removing intermediate container 60d2fcbdb467 14:59:32 ---> 3c194e6d624a 14:59:32 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 14:59:32 ---> Running in a47c15789b6a 14:59:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:59:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:59:33 (1/6) Installing dumb-init (1.2.5-r1) 14:59:34 (2/6) Installing libgcc (11.2.1_git20220219-r2) 14:59:34 (3/6) Installing libsodium (1.0.18-r0) 14:59:34 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 14:59:34 (5/6) Installing libzmq (4.3.4-r0) 14:59:34 (6/6) Installing zeromq (4.3.4-r0) 14:59:34 Executing busybox-1.35.0-r17.trigger 14:59:34 OK: 8 MiB in 20 packages 14:59:34 Removing intermediate container a47c15789b6a 14:59:34 ---> 8e340f93df80 14:59:34 Step 18/27 : WORKDIR / 14:59:34 ---> Running in fe9604316f99 14:59:34 Removing intermediate container fe9604316f99 14:59:34 ---> 0cac560b9296 14:59:34 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 14:59:35 ---> 3294de965a69 14:59:35 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 14:59:35 ---> 08d5e7b5f450 14:59:35 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 14:59:35 ---> 7323835102f6 14:59:35 Step 22/27 : EXPOSE 59900 14:59:35 ---> Running in c4e344c76859 14:59:35 Removing intermediate container c4e344c76859 14:59:35 ---> c228e08d9c1c 14:59:35 Step 23/27 : ENTRYPOINT ["/device-virtual"] 14:59:35 ---> Running in 67a95b93e01b 14:59:35 Removing intermediate container 67a95b93e01b 14:59:35 ---> 064257adba4e 14:59:35 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:59:35 ---> Running in ed036f113e18 14:59:35 Removing intermediate container ed036f113e18 14:59:35 ---> 2598605346fa 14:59:35 Step 25/27 : LABEL arch=amd64 14:59:36 ---> Running in da144d969b92 14:59:36 Removing intermediate container da144d969b92 14:59:36 ---> 7ee0a677dc40 14:59:36 Step 26/27 : LABEL git_sha=213c59a90fa2a9f25f91c2628b566ab82c721a2b 14:59:36 ---> Running in 822ef1f3415f 14:59:36 Removing intermediate container 822ef1f3415f 14:59:36 ---> 80257d5cc9b8 14:59:36 Step 27/27 : LABEL version=2.3.0-dev.27 14:59:36 ---> Running in 3c8d17d62366 14:59:36 Removing intermediate container 3c8d17d62366 14:59:36 ---> a6c27449955d 14:59:36 [Warning] One or more build-args [ARCH] were not consumed 14:59:36 Successfully built a6c27449955d 14:59:36 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:59:36 provisioning config files... 14:59:36 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3215919264152516846tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:59:36 ---> docker-login.sh 14:59:36 nexus3.edgexfoundry.org:10001 14:59:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:59:36 Configure a credential helper to remove this warning. See 14:59:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:59:36 14:59:36 Login Succeeded 14:59:36 nexus3.edgexfoundry.org:10002 14:59:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:59:36 Configure a credential helper to remove this warning. See 14:59:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:59:36 14:59:36 Login Succeeded 14:59:36 nexus3.edgexfoundry.org:10003 14:59:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:59:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:59:37 Configure a credential helper to remove this warning. See 14:59:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:59:37 14:59:37 Login Succeeded 14:59:37 nexus3.edgexfoundry.org:10004 14:59:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:59:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:59:37 Configure a credential helper to remove this warning. See 14:59:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:59:37 14:59:37 Login Succeeded 14:59:37 docker.io 14:59:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:59:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:59:37 Configure a credential helper to remove this warning. See 14:59:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:59:37 14:59:37 Login Succeeded 14:59:37 ---> docker-login.sh ends [Pipeline] } 14:59:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:59:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:59:37 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 14:59:37 213c59a90fa2a9f25f91c2628b566ab82c721a2b 14:59:37 latest 14:59:37 2.3.0-dev.27 14:59:37 213c59a90fa2a9f25f91c2628b566ab82c721a2b-2.3.0-dev.27 14:59:37 main 14:59:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:38 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:213c59a90fa2a9f25f91c2628b566ab82c721a2b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:38 + docker push nexus3.edgexfoundry.org:10004/device-virtual:213c59a90fa2a9f25f91c2628b566ab82c721a2b 14:59:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 14:59:38 70024dc2fc4a: Preparing 14:59:38 ba7b4d6d8452: Preparing 14:59:38 9ecb81388c6f: Preparing 14:59:38 e2c3ae75138f: Preparing 14:59:38 10b5d55a7fc0: Preparing 14:59:38 994393dc58e7: Preparing 14:59:38 994393dc58e7: Waiting 14:59:38 10b5d55a7fc0: Pushed 14:59:38 ba7b4d6d8452: Pushed 14:59:38 9ecb81388c6f: Pushed 14:59:38 994393dc58e7: Layer already exists 14:59:38 e2c3ae75138f: Pushed 14:59:40 70024dc2fc4a: Pushed 14:59:40 213c59a90fa2a9f25f91c2628b566ab82c721a2b: digest: sha256:7f7c229c95fb809e684351d539454cf2f1efc791eb60049ecd7aa4892808ef52 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:41 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:41 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 14:59:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 14:59:41 70024dc2fc4a: Preparing 14:59:41 ba7b4d6d8452: Preparing 14:59:41 9ecb81388c6f: Preparing 14:59:41 e2c3ae75138f: Preparing 14:59:41 10b5d55a7fc0: Preparing 14:59:41 994393dc58e7: Preparing 14:59:41 994393dc58e7: Waiting 14:59:41 10b5d55a7fc0: Layer already exists 14:59:41 e2c3ae75138f: Layer already exists 14:59:41 9ecb81388c6f: Layer already exists 14:59:41 ba7b4d6d8452: Layer already exists 14:59:41 70024dc2fc4a: Layer already exists 14:59:41 994393dc58e7: Layer already exists 14:59:41 latest: digest: sha256:7f7c229c95fb809e684351d539454cf2f1efc791eb60049ecd7aa4892808ef52 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:41 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:42 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.27 14:59:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 14:59:42 70024dc2fc4a: Preparing 14:59:42 ba7b4d6d8452: Preparing 14:59:42 9ecb81388c6f: Preparing 14:59:42 e2c3ae75138f: Preparing 14:59:42 10b5d55a7fc0: Preparing 14:59:42 994393dc58e7: Preparing 14:59:42 994393dc58e7: Waiting 14:59:42 e2c3ae75138f: Layer already exists 14:59:42 ba7b4d6d8452: Layer already exists 14:59:42 9ecb81388c6f: Layer already exists 14:59:42 70024dc2fc4a: Layer already exists 14:59:42 10b5d55a7fc0: Layer already exists 14:59:42 994393dc58e7: Layer already exists 14:59:42 2.3.0-dev.27: digest: sha256:7f7c229c95fb809e684351d539454cf2f1efc791eb60049ecd7aa4892808ef52 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:42 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:213c59a90fa2a9f25f91c2628b566ab82c721a2b-2.3.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:42 + docker push nexus3.edgexfoundry.org:10004/device-virtual:213c59a90fa2a9f25f91c2628b566ab82c721a2b-2.3.0-dev.27 14:59:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 14:59:42 70024dc2fc4a: Preparing 14:59:42 ba7b4d6d8452: Preparing 14:59:42 9ecb81388c6f: Preparing 14:59:42 e2c3ae75138f: Preparing 14:59:42 10b5d55a7fc0: Preparing 14:59:42 994393dc58e7: Preparing 14:59:42 994393dc58e7: Waiting 14:59:42 ba7b4d6d8452: Layer already exists 14:59:42 e2c3ae75138f: Layer already exists 14:59:42 10b5d55a7fc0: Layer already exists 14:59:42 9ecb81388c6f: Layer already exists 14:59:42 70024dc2fc4a: Layer already exists 14:59:42 994393dc58e7: Layer already exists 14:59:42 213c59a90fa2a9f25f91c2628b566ab82c721a2b-2.3.0-dev.27: digest: sha256:7f7c229c95fb809e684351d539454cf2f1efc791eb60049ecd7aa4892808ef52 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:42 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 14:59:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 14:59:43 70024dc2fc4a: Preparing 14:59:43 ba7b4d6d8452: Preparing 14:59:43 9ecb81388c6f: Preparing 14:59:43 e2c3ae75138f: Preparing 14:59:43 10b5d55a7fc0: Preparing 14:59:43 994393dc58e7: Preparing 14:59:43 994393dc58e7: Waiting 14:59:43 9ecb81388c6f: Layer already exists 14:59:43 ba7b4d6d8452: Layer already exists 14:59:43 70024dc2fc4a: Layer already exists 14:59:43 10b5d55a7fc0: Layer already exists 14:59:43 e2c3ae75138f: Layer already exists 14:59:43 994393dc58e7: Layer already exists 14:59:43 main: digest: sha256:7f7c229c95fb809e684351d539454cf2f1efc791eb60049ecd7aa4892808ef52 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:59:43 ===================================================== [Pipeline] echo 14:59:43 taggedImages: 14:59:43 - nexus3.edgexfoundry.org:10004/device-virtual:213c59a90fa2a9f25f91c2628b566ab82c721a2b 14:59:43 - nexus3.edgexfoundry.org:10004/device-virtual:latest 14:59:43 - nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.27 14:59:43 - nexus3.edgexfoundry.org:10004/device-virtual:213c59a90fa2a9f25f91c2628b566ab82c721a2b-2.3.0-dev.27 14:59:43 - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:59:43 14:59:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:59:43 latest: Pulling from edgex-lftools-log-publisher 14:59:43 5eb5b503b376: Pulling fs layer 14:59:43 5c69ac0246d0: Pulling fs layer 14:59:43 ec43610c2a17: Pulling fs layer 14:59:43 3a2ae6a8a46f: Pulling fs layer 14:59:43 33b1e0a273af: Pulling fs layer 14:59:43 5d3b04190fa2: Pulling fs layer 14:59:43 2f39f015ded8: Pulling fs layer 14:59:43 5d3b04190fa2: Waiting 14:59:43 3a2ae6a8a46f: Waiting 14:59:43 2f39f015ded8: Waiting 14:59:43 33b1e0a273af: Waiting 14:59:43 5c69ac0246d0: Verifying Checksum 14:59:43 5c69ac0246d0: Download complete 14:59:43 3a2ae6a8a46f: Verifying Checksum 14:59:43 3a2ae6a8a46f: Download complete 14:59:44 33b1e0a273af: Verifying Checksum 14:59:44 33b1e0a273af: Download complete 14:59:44 ec43610c2a17: Verifying Checksum 14:59:44 ec43610c2a17: Download complete 14:59:44 5d3b04190fa2: Verifying Checksum 14:59:44 5d3b04190fa2: Download complete 14:59:44 5eb5b503b376: Verifying Checksum 14:59:44 5eb5b503b376: Download complete 14:59:44 2f39f015ded8: Download complete 14:59:45 5eb5b503b376: Pull complete 14:59:45 5c69ac0246d0: Pull complete 14:59:46 ec43610c2a17: Pull complete 14:59:46 3a2ae6a8a46f: Pull complete 14:59:46 33b1e0a273af: Pull complete 14:59:46 5d3b04190fa2: Pull complete 14:59:50 2f39f015ded8: Pull complete 14:59:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:59:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:59:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:59:51 prd-ubuntu20.04-docker-8c-8g-9311 does not seem to be running inside a container 14:59:51 $ 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/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:59:53 $ docker top 5b194ce00073147c92f217dc7cfb820975814868afada25667cb4cdb6e722d76 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:59:54 ---> job-cost.sh 14:59:54 lf-activate-venv: SKIPPING 14:59:54 INFO: No Stack... 14:59:54 INFO: Retrieving Pricing Info for: v3-standard-8 14:59:54 INFO: Archiving Costs [Pipeline] sh 14:59:55 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 14:59:55 + cut -d, -f6 [Pipeline] lock 14:59:55 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-63-stack-cost] 14:59:55 Resource [jenkins-edgexfoundry-device-virtual-go-main-63-stack-cost] did not exist. Created. 14:59:55 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-63-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:59:55 + echo total: 0.2199999988079071 [Pipeline] stash 14:59:55 Stashed 1 file(s) [Pipeline] } 14:59:55 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-63-stack-cost] [Pipeline] // lock [Pipeline] } 14:59:55 $ docker stop --time=1 5b194ce00073147c92f217dc7cfb820975814868afada25667cb4cdb6e722d76 14:59:56 $ docker rm -f 5b194ce00073147c92f217dc7cfb820975814868afada25667cb4cdb6e722d76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:01:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9314 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 15:01:04 Running in /w/workspace/device-virtual-go/63 [Pipeline] { [Pipeline] checkout 15:01:04 The recommended git tool is: git 15:01:10 using credential edgex-jenkins-ssh 15:01:10 Cloning the remote Git repository 15:01:10 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 15:01:11 > git init /w/workspace/device-virtual-go/63 # timeout=10 15:01:11 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 15:01:11 > git --version # timeout=10 15:01:11 > git --version # 'git version 2.25.1' 15:01:11 using GIT_SSH to set credentials SSH Credentials for GitHub 15:01:11 Verifying host key using known hosts file 15:01:11 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. 15:01:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:01:13 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 15:01:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:01:14 Avoid second fetch 15:01:14 Checking out Revision 213c59a90fa2a9f25f91c2628b566ab82c721a2b (main) 15:01:15 Commit message: "Merge pull request #316 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.46" 15:01:14 > git config core.sparsecheckout # timeout=10 15:01:14 > git checkout -f 213c59a90fa2a9f25f91c2628b566ab82c721a2b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:01:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:01:16 % Total % Received % Xferd Average Speed Time Time Time Current 15:01:16 Dload Upload Total Spent Left Speed 15:01:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 170k 0 --:--:-- --:--:-- --:--:-- 173k [Pipeline] sh 15:01:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:01:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:01:17 + sudo tee /etc/docker/daemon.new 15:01:17 { 15:01:17 "registry-mirrors": [ 15:01:17 "https://nexus3.edgexfoundry.org:10001" 15:01:17 ], 15:01:17 "bip": "10.250.0.254/24", 15:01:17 "hosts": [ 15:01:17 "tcp://0.0.0.0:5555", 15:01:17 "unix:///var/run/docker.sock" 15:01:17 ], 15:01:17 "mtu": 1458, 15:01:17 "selinux-enabled": true, 15:01:17 "seccomp-profile": "/etc/docker/seccomp.json" 15:01:17 } [Pipeline] sh 15:01:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:01:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:01:36 provisioning config files... 15:01:36 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/63@tmp/config16193529419270748506tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:01:36 ---> docker-login.sh 15:01:36 nexus3.edgexfoundry.org:10001 15:01:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:37 Configure a credential helper to remove this warning. See 15:01:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:37 15:01:37 Login Succeeded 15:01:37 nexus3.edgexfoundry.org:10002 15:01:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:37 Configure a credential helper to remove this warning. See 15:01:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:37 15:01:37 Login Succeeded 15:01:37 nexus3.edgexfoundry.org:10003 15:01:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:38 Configure a credential helper to remove this warning. See 15:01:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:38 15:01:38 Login Succeeded 15:01:38 nexus3.edgexfoundry.org:10004 15:01:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:38 Configure a credential helper to remove this warning. See 15:01:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:38 15:01:38 Login Succeeded 15:01:38 docker.io 15:01:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:38 Configure a credential helper to remove this warning. See 15:01:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:38 15:01:38 Login Succeeded 15:01:38 ---> docker-login.sh ends [Pipeline] } 15:01:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:01:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:01:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:01:39 ========================================================= 15:01:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 15:01:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:01:39 + 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 . 15:01:39 Sending build context to Docker daemon 11.75MB 15:01:39 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 15:01:39 Step 2/13 : FROM ${BASE} AS builder 15:01:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:01:40 9b18e9b68314: Pulling fs layer 15:01:40 d32db5db7311: Pulling fs layer 15:01:40 d0c4b47475fc: Pulling fs layer 15:01:40 5831b945b038: Pulling fs layer 15:01:40 86bbec2aaacd: Pulling fs layer 15:01:40 e10730c5d714: Pulling fs layer 15:01:40 5dd5c2283517: Pulling fs layer 15:01:40 d5ac0230b979: Pulling fs layer 15:01:40 5831b945b038: Waiting 15:01:40 86bbec2aaacd: Waiting 15:01:40 e10730c5d714: Waiting 15:01:40 5dd5c2283517: Waiting 15:01:40 d5ac0230b979: Waiting 15:01:40 d0c4b47475fc: Download complete 15:01:40 d32db5db7311: Verifying Checksum 15:01:40 d32db5db7311: Download complete 15:01:40 86bbec2aaacd: Verifying Checksum 15:01:40 86bbec2aaacd: Download complete 15:01:40 e10730c5d714: Verifying Checksum 15:01:40 e10730c5d714: Download complete 15:01:40 9b18e9b68314: Download complete 15:01:41 9b18e9b68314: Pull complete 15:01:41 d5ac0230b979: Verifying Checksum 15:01:41 d5ac0230b979: Download complete 15:01:41 d32db5db7311: Pull complete 15:01:42 d0c4b47475fc: Pull complete 15:01:42 5dd5c2283517: Verifying Checksum 15:01:42 5dd5c2283517: Download complete 15:01:43 5831b945b038: Verifying Checksum 15:01:43 5831b945b038: Download complete 15:01:55 5831b945b038: Pull complete 15:01:56 86bbec2aaacd: Pull complete 15:01:56 e10730c5d714: Pull complete 15:02:03 5dd5c2283517: Pull complete 15:02:05 d5ac0230b979: Pull complete 15:02:05 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 15:02:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:02:05 ---> 59b3b1a385d4 15:02:05 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:02:06 ---> Running in 9273c12b7310 15:02:06 Removing intermediate container 9273c12b7310 15:02:06 ---> 84efffda6a82 15:02:06 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 15:02:06 ---> Running in 4b94b656b134 15:02:06 Removing intermediate container 4b94b656b134 15:02:06 ---> fabcf32a95cf 15:02:06 Step 5/13 : ARG ADD_BUILD_TAGS="" 15:02:07 ---> Running in 4428265e5d05 15:02:07 Removing intermediate container 4428265e5d05 15:02:07 ---> 4c4c430355e1 15:02:07 Step 6/13 : WORKDIR /device-virtual-go 15:02:07 ---> Running in c2191025ba2a 15:02:07 Removing intermediate container c2191025ba2a 15:02:07 ---> c54dfd39e018 15:02:07 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:02:07 ---> Running in 8230706e9576 15:02:09 Removing intermediate container 8230706e9576 15:02:09 ---> 52f9b9b1e282 15:02:09 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:02:09 ---> Running in ec731a640f3f 15:02:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:02:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:02:12 (1/4) Installing openssh-keygen (9.0_p1-r2) 15:02:12 (2/4) Installing libedit (20210910.3.1-r0) 15:02:12 (3/4) Installing openssh-client-common (9.0_p1-r2) 15:02:13 (4/4) Installing openssh-client-default (9.0_p1-r2) 15:02:13 Executing busybox-1.35.0-r17.trigger 15:02:13 OK: 226 MiB in 55 packages 15:02:14 Removing intermediate container ec731a640f3f 15:02:14 ---> 3a3b19951a9c 15:02:14 Step 9/13 : COPY go.mod vendor* ./ 15:02:14 ---> 81e89c8046ef 15:02:14 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:02:14 ---> Running in 24860c3ff1b1 15:03:11 Removing intermediate container 24860c3ff1b1 15:03:11 ---> d272dde33160 15:03:11 Step 11/13 : COPY . . 15:03:11 ---> 162045cf3779 15:03:11 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:03:11 ---> Running in af83b97e6f5c 15:03:11 Removing intermediate container af83b97e6f5c 15:03:11 ---> 95dc23aa4f16 15:03:11 Step 13/13 : RUN $MAKE 15:03:11 ---> Running in aa9ea0ca04a9 15:03:11 noop 15:03:11 Removing intermediate container aa9ea0ca04a9 15:03:11 ---> eee5ad0e5342 15:03:11 Successfully built eee5ad0e5342 15:03:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:03:12 + docker inspect -f . ci-base-image-arm64 15:03:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:03:12 prd-ubuntu20.04-docker-arm64-4c-16g-9314 does not seem to be running inside a container 15:03:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/63 -v /w/workspace/device-virtual-go/63:/w/workspace/device-virtual-go/63:rw,z -v /w/workspace/device-virtual-go/63@tmp:/w/workspace/device-virtual-go/63@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 15:03:13 $ docker top 993a18c02adefd096209ccf67f7224c531e9492b26228f3b46dae868d7847e00 -eo pid,comm [Pipeline] { [Pipeline] sh 15:03:14 + go version 15:03:14 go version go1.18.7 linux/arm64 [Pipeline] } 15:03:14 $ docker stop --time=1 993a18c02adefd096209ccf67f7224c531e9492b26228f3b46dae868d7847e00 15:03:16 $ docker rm -f 993a18c02adefd096209ccf67f7224c531e9492b26228f3b46dae868d7847e00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:03:16 + docker inspect -f . ci-base-image-arm64 15:03:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:03:17 prd-ubuntu20.04-docker-arm64-4c-16g-9314 does not seem to be running inside a container 15:03:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/63 -v /w/workspace/device-virtual-go/63:/w/workspace/device-virtual-go/63:rw,z -v /w/workspace/device-virtual-go/63@tmp:/w/workspace/device-virtual-go/63@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 15:03:18 $ docker top cfb294b6a5f0f45f7779c19b9e1a4feec17848b0a899f3a024d99e387d7eb2c0 -eo pid,comm [Pipeline] { [Pipeline] sh 15:03:19 + git config --global --add safe.directory /w/workspace/device-virtual-go/63 [Pipeline] fileExists [Pipeline] sh 15:03:19 + make test 15:03:19 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 15:03:21 ? github.com/edgexfoundry/device-virtual-go [no test files] 15:04:58 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 15:04:58 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.148s coverage: 65.7% of statements 15:04:58 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:04:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:05:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:05:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:05:24 ./bin/test-attribution-txt.sh [Pipeline] echo 15:05:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:05:24 $ docker stop --time=1 cfb294b6a5f0f45f7779c19b9e1a4feec17848b0a899f3a024d99e387d7eb2c0 15:05:26 $ docker rm -f cfb294b6a5f0f45f7779c19b9e1a4feec17848b0a899f3a024d99e387d7eb2c0 [Pipeline] // withDockerContainer [Pipeline] sh 15:05:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:05:27 Warning: overwriting stash ‘coverage-report’ 15:05:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:05:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:05:28 + ls -al . 15:05:28 total 200 15:05:28 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 15:03 . 15:05:28 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:01 .. 15:05:28 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 15:01 .git 15:05:28 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:01 .github 15:05:28 -rw-rw-r-- 1 jenkins jenkins 337 Oct 24 15:01 .gitignore 15:05:28 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 15:01 .golangci.yml 15:05:28 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 24 15:01 Attribution.txt 15:05:28 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 24 15:01 CHANGELOG.md 15:05:28 -rw-rw-r-- 1 jenkins jenkins 2034 Oct 24 15:01 Dockerfile 15:05:28 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 15:01 GOVERNANCE.md 15:05:28 -rw-rw-r-- 1 jenkins jenkins 660 Oct 24 15:01 Jenkinsfile 15:05:28 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 15:01 LICENSE 15:05:28 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 24 15:01 Makefile 15:05:28 -rw-rw-r-- 1 jenkins jenkins 623 Oct 24 15:01 OWNERS.md 15:05:28 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 24 15:01 README.md 15:05:28 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 14:57 VERSION 15:05:28 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:01 bin 15:05:28 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:01 cmd 15:05:28 -rw-r--r-- 1 jenkins jenkins 44128 Oct 24 15:04 coverage.out 15:05:28 -rw-rw-r-- 1 jenkins jenkins 3387 Oct 24 15:01 go.mod 15:05:28 -rw-rw-r-- 1 jenkins jenkins 44541 Oct 24 15:01 go.sum 15:05:28 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:01 internal 15:05:28 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:01 snap 15:05:28 -rw-rw-r-- 1 jenkins jenkins 235 Oct 24 15:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:29 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=213c59a90fa2a9f25f91c2628b566ab82c721a2b --label arch=arm64 --label version=2.3.0-dev.27 . 15:05:29 Sending build context to Docker daemon 11.8MB 15:05:29 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 15:05:29 Step 2/27 : FROM ${BASE} AS builder 15:05:29 ---> eee5ad0e5342 15:05:29 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:05:30 ---> Running in 8be2af92d7c4 15:05:30 Removing intermediate container 8be2af92d7c4 15:05:30 ---> 1d5e27f731ad 15:05:30 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 15:05:30 ---> Running in b404653a5c49 15:05:30 Removing intermediate container b404653a5c49 15:05:30 ---> 1a923a225ab4 15:05:30 Step 5/27 : ARG ADD_BUILD_TAGS="" 15:05:30 ---> Running in 439f50911be5 15:05:31 Removing intermediate container 439f50911be5 15:05:31 ---> 2d8b679a0cda 15:05:31 Step 6/27 : WORKDIR /device-virtual-go 15:05:31 ---> Running in 4e699546cbcb 15:05:31 Removing intermediate container 4e699546cbcb 15:05:31 ---> 819017330f7d 15:05:31 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:05:32 ---> Running in 28322e068957 15:05:34 Removing intermediate container 28322e068957 15:05:34 ---> 1674485db62e 15:05:34 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:05:34 ---> Running in 3d704ae9d182 15:05:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:05:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:05:37 OK: 226 MiB in 55 packages 15:05:38 Removing intermediate container 3d704ae9d182 15:05:38 ---> 7cbdf9cf76cd 15:05:38 Step 9/27 : COPY go.mod vendor* ./ 15:05:39 ---> 693fbcf8f28d 15:05:39 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:05:39 ---> Running in 9b4d400e07de 15:05:43 Removing intermediate container 9b4d400e07de 15:05:43 ---> 72be4afc3d64 15:05:43 Step 11/27 : COPY . . 15:05:44 ---> 762ef18dda00 15:05:44 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:05:44 ---> Running in a8da2fdbb733 15:05:44 Removing intermediate container a8da2fdbb733 15:05:44 ---> 6e09a8d4777a 15:05:44 Step 13/27 : RUN $MAKE 15:05:45 ---> Running in b85980f9f3c0 15:05:46 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0-dev.27" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 15:08:38 Removing intermediate container b85980f9f3c0 15:08:38 ---> cafbcc2380a4 15:08:38 Step 14/27 : FROM alpine:3.16 15:08:38 3.16: Pulling from library/alpine 15:08:38 9b18e9b68314: Already exists 15:08:38 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 15:08:38 Status: Downloaded newer image for alpine:3.16 15:08:38 ---> a6215f271958 15:08:38 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 15:08:38 ---> Running in 8f01966f310b 15:08:38 Removing intermediate container 8f01966f310b 15:08:38 ---> 35ac8fa96f1f 15:08:38 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:08:38 ---> Running in f71b1738db12 15:08:38 Removing intermediate container f71b1738db12 15:08:38 ---> b51a48e8a686 15:08:38 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 15:08:38 ---> Running in efe16d5a63bf 15:08:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:08:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:08:38 (1/6) Installing dumb-init (1.2.5-r1) 15:08:38 (2/6) Installing libgcc (11.2.1_git20220219-r2) 15:08:38 (3/6) Installing libsodium (1.0.18-r0) 15:08:38 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 15:08:38 (5/6) Installing libzmq (4.3.4-r0) 15:08:38 (6/6) Installing zeromq (4.3.4-r0) 15:08:38 Executing busybox-1.35.0-r17.trigger 15:08:38 OK: 8 MiB in 20 packages 15:08:38 Removing intermediate container efe16d5a63bf 15:08:38 ---> a9d56c881d25 15:08:38 Step 18/27 : WORKDIR / 15:08:38 ---> Running in c1e31b63c468 15:08:39 Removing intermediate container c1e31b63c468 15:08:39 ---> 982710f5ab1b 15:08:39 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 15:08:39 ---> 1967be48c8f6 15:08:39 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 15:08:40 ---> c6f9c4ca2768 15:08:40 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 15:08:41 ---> 08d7369cb8c8 15:08:41 Step 22/27 : EXPOSE 59900 15:08:41 ---> Running in 0934142172a0 15:08:41 Removing intermediate container 0934142172a0 15:08:41 ---> 7bca1cc7af54 15:08:41 Step 23/27 : ENTRYPOINT ["/device-virtual"] 15:08:42 ---> Running in 5fe35efa8cbc 15:08:42 Removing intermediate container 5fe35efa8cbc 15:08:42 ---> 30daa333f5e9 15:08:42 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:08:42 ---> Running in 8a3e3295b1a6 15:08:42 Removing intermediate container 8a3e3295b1a6 15:08:42 ---> 4ae66791cffa 15:08:42 Step 25/27 : LABEL arch=arm64 15:08:43 ---> Running in 8aba3c91e9d1 15:08:43 Removing intermediate container 8aba3c91e9d1 15:08:43 ---> cc985937ce26 15:08:43 Step 26/27 : LABEL git_sha=213c59a90fa2a9f25f91c2628b566ab82c721a2b 15:08:43 ---> Running in 70d195502239 15:08:43 Removing intermediate container 70d195502239 15:08:43 ---> 55986c3bb646 15:08:43 Step 27/27 : LABEL version=2.3.0-dev.27 15:08:43 ---> Running in 204d71976e6f 15:08:44 Removing intermediate container 204d71976e6f 15:08:44 ---> 2d1cb70548ee 15:08:44 [Warning] One or more build-args [ARCH] were not consumed 15:08:44 Successfully built 2d1cb70548ee 15:08:44 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:08:44 provisioning config files... 15:08:44 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/63@tmp/config12403764743955939567tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:08:44 ---> docker-login.sh 15:08:44 nexus3.edgexfoundry.org:10001 15:08:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:44 Configure a credential helper to remove this warning. See 15:08:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:44 15:08:44 Login Succeeded 15:08:44 nexus3.edgexfoundry.org:10002 15:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:45 Configure a credential helper to remove this warning. See 15:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:45 15:08:45 Login Succeeded 15:08:45 nexus3.edgexfoundry.org:10003 15:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:45 Configure a credential helper to remove this warning. See 15:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:45 15:08:45 Login Succeeded 15:08:45 nexus3.edgexfoundry.org:10004 15:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:45 Configure a credential helper to remove this warning. See 15:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:45 15:08:45 Login Succeeded 15:08:45 docker.io 15:08:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:46 Configure a credential helper to remove this warning. See 15:08:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:46 15:08:46 Login Succeeded 15:08:46 ---> docker-login.sh ends [Pipeline] } 15:08:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:08:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:08:46 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 15:08:46 213c59a90fa2a9f25f91c2628b566ab82c721a2b 15:08:46 latest 15:08:46 2.3.0-dev.27 15:08:46 213c59a90fa2a9f25f91c2628b566ab82c721a2b-2.3.0-dev.27 15:08:46 main 15:08:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:47 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:213c59a90fa2a9f25f91c2628b566ab82c721a2b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:47 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:213c59a90fa2a9f25f91c2628b566ab82c721a2b 15:08:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 15:08:47 204ea8c1a62b: Preparing 15:08:47 3ab1bf28ae67: Preparing 15:08:47 f3c15bf1176b: Preparing 15:08:47 1e48b8b9fe0a: Preparing 15:08:47 8f7400b45d67: Preparing 15:08:47 5d3e392a13a0: Preparing 15:08:47 5d3e392a13a0: Waiting 15:08:47 8f7400b45d67: Pushed 15:08:47 3ab1bf28ae67: Pushed 15:08:47 f3c15bf1176b: Pushed 15:08:47 5d3e392a13a0: Layer already exists 15:08:48 1e48b8b9fe0a: Pushed 15:08:53 204ea8c1a62b: Pushed 15:08:53 213c59a90fa2a9f25f91c2628b566ab82c721a2b: digest: sha256:25c95c50a87306516b258390d8649dd4bd3f03a30253e314035df5addaf05246 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:54 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:54 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 15:08:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 15:08:54 204ea8c1a62b: Preparing 15:08:54 3ab1bf28ae67: Preparing 15:08:54 f3c15bf1176b: Preparing 15:08:54 1e48b8b9fe0a: Preparing 15:08:54 8f7400b45d67: Preparing 15:08:54 5d3e392a13a0: Preparing 15:08:54 5d3e392a13a0: Waiting 15:08:54 1e48b8b9fe0a: Layer already exists 15:08:54 204ea8c1a62b: Layer already exists 15:08:54 8f7400b45d67: Layer already exists 15:08:54 f3c15bf1176b: Layer already exists 15:08:54 3ab1bf28ae67: Layer already exists 15:08:54 5d3e392a13a0: Layer already exists 15:08:54 latest: digest: sha256:25c95c50a87306516b258390d8649dd4bd3f03a30253e314035df5addaf05246 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:55 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:55 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.27 15:08:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 15:08:55 204ea8c1a62b: Preparing 15:08:55 3ab1bf28ae67: Preparing 15:08:55 f3c15bf1176b: Preparing 15:08:55 1e48b8b9fe0a: Preparing 15:08:55 8f7400b45d67: Preparing 15:08:55 5d3e392a13a0: Preparing 15:08:55 1e48b8b9fe0a: Layer already exists 15:08:55 3ab1bf28ae67: Layer already exists 15:08:55 8f7400b45d67: Layer already exists 15:08:55 f3c15bf1176b: Layer already exists 15:08:55 204ea8c1a62b: Layer already exists 15:08:55 5d3e392a13a0: Layer already exists 15:08:55 2.3.0-dev.27: digest: sha256:25c95c50a87306516b258390d8649dd4bd3f03a30253e314035df5addaf05246 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:55 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:213c59a90fa2a9f25f91c2628b566ab82c721a2b-2.3.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:56 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:213c59a90fa2a9f25f91c2628b566ab82c721a2b-2.3.0-dev.27 15:08:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 15:08:56 204ea8c1a62b: Preparing 15:08:56 3ab1bf28ae67: Preparing 15:08:56 f3c15bf1176b: Preparing 15:08:56 1e48b8b9fe0a: Preparing 15:08:56 8f7400b45d67: Preparing 15:08:56 5d3e392a13a0: Preparing 15:08:56 5d3e392a13a0: Waiting 15:08:56 1e48b8b9fe0a: Layer already exists 15:08:56 204ea8c1a62b: Layer already exists 15:08:56 8f7400b45d67: Layer already exists 15:08:56 3ab1bf28ae67: Layer already exists 15:08:56 f3c15bf1176b: Layer already exists 15:08:56 5d3e392a13a0: Layer already exists 15:08:56 213c59a90fa2a9f25f91c2628b566ab82c721a2b-2.3.0-dev.27: digest: sha256:25c95c50a87306516b258390d8649dd4bd3f03a30253e314035df5addaf05246 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:56 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:57 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 15:08:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 15:08:57 204ea8c1a62b: Preparing 15:08:57 3ab1bf28ae67: Preparing 15:08:57 f3c15bf1176b: Preparing 15:08:57 1e48b8b9fe0a: Preparing 15:08:57 8f7400b45d67: Preparing 15:08:57 5d3e392a13a0: Preparing 15:08:57 5d3e392a13a0: Waiting 15:08:57 3ab1bf28ae67: Layer already exists 15:08:57 204ea8c1a62b: Layer already exists 15:08:57 8f7400b45d67: Layer already exists 15:08:57 f3c15bf1176b: Layer already exists 15:08:57 1e48b8b9fe0a: Layer already exists 15:08:57 5d3e392a13a0: Layer already exists 15:08:57 main: digest: sha256:25c95c50a87306516b258390d8649dd4bd3f03a30253e314035df5addaf05246 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:08:57 ===================================================== [Pipeline] echo 15:08:57 taggedImages: 15:08:57 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:213c59a90fa2a9f25f91c2628b566ab82c721a2b 15:08:57 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 15:08:57 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.27 15:08:57 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:213c59a90fa2a9f25f91c2628b566ab82c721a2b-2.3.0-dev.27 15:08:57 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:08:57 15:08:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:08:58 arm64: Pulling from edgex-lftools-log-publisher 15:08:58 8998bd30e6a1: Pulling fs layer 15:08:58 04944245beec: Pulling fs layer 15:08:58 699f458cf7ca: Pulling fs layer 15:08:58 765212b225bb: Pulling fs layer 15:08:58 f23df028b6ca: Pulling fs layer 15:08:58 d65c8cfc05b1: Pulling fs layer 15:08:58 2437ff75d9bd: Pulling fs layer 15:08:58 f23df028b6ca: Waiting 15:08:58 d65c8cfc05b1: Waiting 15:08:58 2437ff75d9bd: Waiting 15:08:58 04944245beec: Verifying Checksum 15:08:58 04944245beec: Download complete 15:08:58 765212b225bb: Verifying Checksum 15:08:58 765212b225bb: Download complete 15:08:58 f23df028b6ca: Verifying Checksum 15:08:58 f23df028b6ca: Download complete 15:08:58 d65c8cfc05b1: Verifying Checksum 15:08:58 d65c8cfc05b1: Download complete 15:08:58 699f458cf7ca: Verifying Checksum 15:08:58 699f458cf7ca: Download complete 15:08:59 8998bd30e6a1: Verifying Checksum 15:08:59 8998bd30e6a1: Download complete 15:09:01 2437ff75d9bd: Verifying Checksum 15:09:01 2437ff75d9bd: Download complete 15:09:03 8998bd30e6a1: Pull complete 15:09:03 04944245beec: Pull complete 15:09:05 699f458cf7ca: Pull complete 15:09:05 765212b225bb: Pull complete 15:09:06 f23df028b6ca: Pull complete 15:09:06 d65c8cfc05b1: Pull complete 15:09:21 2437ff75d9bd: Pull complete 15:09:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:09:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:09:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:09:21 prd-ubuntu20.04-docker-arm64-4c-16g-9314 does not seem to be running inside a container 15:09: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-virtual-go/63 -v /w/workspace/device-virtual-go/63:/w/workspace/device-virtual-go/63:rw,z -v /w/workspace/device-virtual-go/63@tmp:/w/workspace/device-virtual-go/63@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 15:09:24 $ docker top 6c90f79e0c5dbbb1dfcb881441c2455a4c941ab19fa4245f7bbd31382f071292 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:09:25 ---> job-cost.sh 15:09:25 lf-activate-venv: SKIPPING 15:09:25 INFO: No Stack... 15:09:25 INFO: Retrieving Pricing Info for: v3-standard-4 15:09:26 INFO: Archiving Costs [Pipeline] sh 15:09:27 + + cut -d, -f6 15:09:27 cat /w/workspace/device-virtual-go/63/archives/cost.csv [Pipeline] lock 15:09:27 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-63-stack-cost] 15:09:27 Resource [jenkins-edgexfoundry-device-virtual-go-main-63-stack-cost] did not exist. Created. 15:09:27 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-63-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:09:28 /w/workspace/device-virtual-go/63@tmp/durable-e4f6342a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:09:28 + echo total: 0.10999999940395355 [Pipeline] stash 15:09:28 Warning: overwriting stash ‘stack-cost’ 15:09:28 Stashed 1 file(s) [Pipeline] } 15:09:28 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-63-stack-cost] [Pipeline] // lock [Pipeline] } 15:09:28 $ docker stop --time=1 6c90f79e0c5dbbb1dfcb881441c2455a4c941ab19fa4245f7bbd31382f071292 15:09:30 $ docker rm -f 6c90f79e0c5dbbb1dfcb881441c2455a4c941ab19fa4245f7bbd31382f071292 [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 15:09:30 provisioning config files... 15:09:30 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14728837365672092633tmp [Pipeline] { [Pipeline] sh 15:09:30 + set +x 15:09:30 + curl -s https://codecov.io/bash 15:09:30 + bash -s -- 15:09:30 15:09:30 _____ _ 15:09:30 / ____| | | 15:09:30 | | ___ __| | ___ ___ _____ __ 15:09:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:09:30 | |___| (_) | (_| | __/ (_| (_) \ V / 15:09:30 \_____\___/ \__,_|\___|\___\___/ \_/ 15:09:30 Bash-1.0.6 15:09:30 15:09:30 15:09:30 ==> git version 2.25.1 found 15:09: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 15:09:30 Release-Date: 2020-01-08 15:09: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 15:09:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:09:30 ==> Jenkins CI detected. 15:09:30 current dir:  /w/workspace/exfoundry_device-virtual-go_main 15:09:30 project root: . 15:09:30 --> token set from env 15:09:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:09:30 ==> Running gcov in . (disable via -X gcov) 15:09:30 ==> Python coveragepy not found 15:09:30 ==> Searching for coverage reports in: 15:09:30 + . 15:09:30 -> Found 1 reports 15:09:30 ==> Detecting git/mercurial file structure 15:09:30 ==> Reading reports 15:09:30 + ./coverage.out bytes=44128 15:09:30 ==> Appending adjustments 15:09:30 https://docs.codecov.io/docs/fixing-reports 15:09:31 + Found adjustments 15:09:31 ==> Gzipping contents 15:09:31 8.0K /tmp/codecov.EqBn2B.gz 15:09:31 ==> Uploading reports 15:09:31 url: https://codecov.io 15:09:31 query: branch=main&commit=213c59a90fa2a9f25f91c2628b566ab82c721a2b&build=63&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F63%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:09:31 -> Pinging Codecov 15:09:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=main&commit=213c59a90fa2a9f25f91c2628b566ab82c721a2b&build=63&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F63%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:09:31 -> Uploading to 15:09:31 https://storage.googleapis.com/codecov/v4/raw/2022-10-24/5E52B4B073DB2E39498172D8E973AA87/213c59a90fa2a9f25f91c2628b566ab82c721a2b/c68c782b-ad36-4b47-a752-5bdab3305c9d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T150931Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e2611fb45072c8aef0eee0b34f6c248deca99bc25a8266e0eeaf101af776c979 15:09:31 % Total % Received % Xferd Average Speed Time Time Time Current 15:09:31 Dload Upload Total Spent Left Speed 15:09:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5496 0 0 100 5496 0 24981 --:--:-- --:--:-- --:--:-- 24981 15:09:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/213c59a90fa2a9f25f91c2628b566ab82c721a2b [Pipeline] } 15:09:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:09:31 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:09:31 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:09:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:09:32 15:09:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:09:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:09:32 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:09:32 df9b9388f04a: Pulling fs layer 15:09:32 52dc419b0ee2: Pulling fs layer 15:09:32 25bc292e5bac: Pulling fs layer 15:09:32 114826534d7a: Pulling fs layer 15:09:32 4657fd5d0bcf: Pulling fs layer 15:09:32 6ad1cebc031e: Pulling fs layer 15:09:32 8a3aa393b2d8: Pulling fs layer 15:09:32 4657fd5d0bcf: Waiting 15:09:32 114826534d7a: Waiting 15:09:32 6ad1cebc031e: Waiting 15:09:32 8a3aa393b2d8: Waiting 15:09:32 25bc292e5bac: Verifying Checksum 15:09:32 25bc292e5bac: Download complete 15:09:32 52dc419b0ee2: Verifying Checksum 15:09:32 52dc419b0ee2: Download complete 15:09:32 4657fd5d0bcf: Verifying Checksum 15:09:32 4657fd5d0bcf: Download complete 15:09:32 df9b9388f04a: Download complete 15:09:32 6ad1cebc031e: Download complete 15:09:32 df9b9388f04a: Pull complete 15:09:32 52dc419b0ee2: Pull complete 15:09:32 25bc292e5bac: Pull complete 15:09:33 114826534d7a: Verifying Checksum 15:09:33 114826534d7a: Download complete 15:09:33 8a3aa393b2d8: Verifying Checksum 15:09:33 8a3aa393b2d8: Download complete 15:09:36 114826534d7a: Pull complete 15:09:36 4657fd5d0bcf: Pull complete 15:09:36 6ad1cebc031e: Pull complete 15:09:39 8a3aa393b2d8: Pull complete 15:09:39 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:09:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:09:39 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:09:39 prd-ubuntu20.04-docker-8c-8g-9311 does not seem to be running inside a container 15:09: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/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:09:42 $ docker top 4e32b7e674c3626259bd12be6c52b4718b38e5aa16a7420fd90196c3a2d92dd8 -eo pid,comm [Pipeline] { [Pipeline] echo 15:09:43 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 15:09:43 + set -o pipefail 15:09:43 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 15:09:48 15:09:48 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 15:09:48 15:09:48 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/2733aaa1-5533-47b4-8523-73825a6f95cd 15:09:48 15:09:48 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 15:09:48 15:09:48 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:09:48 15:09:48 15:09:48 A medium severity vulnerability was found in the Snyk CLI versions you are using. 15:09:48 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 15:09:48 More details here: https://snyk.co/ue1NS [Pipeline] } 15:09:48 $ docker stop --time=1 4e32b7e674c3626259bd12be6c52b4718b38e5aa16a7420fd90196c3a2d92dd8 15:09:51 $ docker rm -f 4e32b7e674c3626259bd12be6c52b4718b38e5aa16a7420fd90196c3a2d92dd8 [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 15:09:52 + git log --format=format:%s -1 213c59a90fa2a9f25f91c2628b566ab82c721a2b [Pipeline] sh 15:09:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:09:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:09:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:09:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:09:53 prd-ubuntu20.04-docker-8c-8g-9311 does not seem to be running inside a container 15:09:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:09:53 $ docker top 4d20e016e8a21e261b71e0258a49ebdaee3958ee8c2db41b0661263403909ead -eo pid,comm 15:09:53 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:09:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:09:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:09:53 [ssh-agent] Looking for ssh-agent implementation... 15:09:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:09:53 $ docker exec 4d20e016e8a21e261b71e0258a49ebdaee3958ee8c2db41b0661263403909ead ssh-agent 15:09:53 SSH_AUTH_SOCK=/tmp/ssh-LZ7l9QrpDO8b/agent.33 15:09:53 SSH_AGENT_PID=39 15:09:53 Running ssh-add (command line suppressed) 15:09:54 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4414602862109626145.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4414602862109626145.key) 15:09:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:09:54 + git semver tag 15:09:54 2022-10-24 15:09:54,548 [run_tag] DEBUG tag force:False 15:09:54 2022-10-24 15:09:54,548 [check_head_tag] DEBUG check head tag 15:09:54 2022-10-24 15:09:54,549 [execute] INFO git cat-file --batch-check 15:09:54 2022-10-24 15:09:54,549 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 15:09:54 2022-10-24 15:09:54,552 [execute] INFO git cat-file --batch 15:09:54 2022-10-24 15:09:54,552 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 15:09:54 2022-10-24 15:09:54,563 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:09:54 2022-10-24 15:09:54,563 [execute] INFO git tag -a v2.3.0-dev.27 -m v2.3.0-dev.27 15:09:54 2022-10-24 15:09:54,563 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.27', '-m', 'v2.3.0-dev.27'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 15:09:54 2022-10-24 15:09:54,567 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:09:54 2.3.0-dev.27 [Pipeline] } 15:09:54 $ docker exec --env ******** --env ******** 4d20e016e8a21e261b71e0258a49ebdaee3958ee8c2db41b0661263403909ead ssh-agent -k 15:09:54 unset SSH_AUTH_SOCK; 15:09:54 unset SSH_AGENT_PID; 15:09:54 echo Agent pid 39 killed; 15:09:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:09:55 + git semver [Pipeline] } 15:09:55 $ docker stop --time=1 4d20e016e8a21e261b71e0258a49ebdaee3958ee8c2db41b0661263403909ead 15:09:56 $ docker rm -f 4d20e016e8a21e261b71e0258a49ebdaee3958ee8c2db41b0661263403909ead [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:09:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:09:56 15:09:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:09:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:09:57 0.23.1-centos7: Pulling from edgex-lftools 15:09:57 ab5ef0e58194: Pulling fs layer 15:09:57 9712f1f96733: Pulling fs layer 15:09:57 63f879dbbcfc: Pulling fs layer 15:09:57 0d9ebad4ef96: Pulling fs layer 15:09:57 e9a5061849ea: Pulling fs layer 15:09:57 d747dcd14b5f: Pulling fs layer 15:09:57 2de7ff778b66: Pulling fs layer 15:09:57 d747dcd14b5f: Waiting 15:09:57 0d9ebad4ef96: Waiting 15:09:57 2de7ff778b66: Waiting 15:09:57 e9a5061849ea: Waiting 15:09:57 9712f1f96733: Verifying Checksum 15:09:57 9712f1f96733: Download complete 15:09:57 63f879dbbcfc: Verifying Checksum 15:09:57 63f879dbbcfc: Download complete 15:09:57 e9a5061849ea: Verifying Checksum 15:09:57 e9a5061849ea: Download complete 15:09:57 ab5ef0e58194: Verifying Checksum 15:09:57 ab5ef0e58194: Download complete 15:09:57 d747dcd14b5f: Download complete 15:09:57 0d9ebad4ef96: Verifying Checksum 15:09:57 0d9ebad4ef96: Download complete 15:09:58 2de7ff778b66: Verifying Checksum 15:09:58 2de7ff778b66: Download complete 15:10:00 ab5ef0e58194: Pull complete 15:10:00 9712f1f96733: Pull complete 15:10:01 63f879dbbcfc: Pull complete 15:10:05 0d9ebad4ef96: Pull complete 15:10:05 e9a5061849ea: Pull complete 15:10:05 d747dcd14b5f: Pull complete 15:10:06 2de7ff778b66: Pull complete 15:10:06 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:10:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:10:06 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:10:06 prd-ubuntu20.04-docker-8c-8g-9311 does not seem to be running inside a container 15:10:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:10:11 $ docker top b2335a62ab90d3137d22f76f5b8090193cc1466735c00989ddfcbe0773517c0d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:10:11 provisioning config files... 15:10:11 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15549484193428102301tmp 15:10:11 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11756457200036103700tmp 15:10:11 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6063787638492577843tmp [Pipeline] { [Pipeline] echo 15:10:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:10:11 ---> sigul-configuration.sh 15:10:11 gpg: directory `/root/.gnupg' created 15:10:11 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:10:11 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:10:11 gpg: keyring `/root/.gnupg/secring.gpg' created 15:10:11 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:10:11 gpg: CAST5 encrypted data 15:10:11 gpg: encrypted with 1 passphrase 15:10:11 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:10:12 + mkdir /home/jenkins 15:10:12 + mkdir /home/jenkins/sigul [Pipeline] sh 15:10:12 + 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 15:10:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:10:12 ---> sigul-install.sh 15:10:12 Sigul already installed; skipping installation. [Pipeline] sh 15:10:13 + git tag --list 15:10:13 v1.0.0 15:10:13 v1.1.0 15:10:13 v1.1.1 15:10:13 v1.2.1 15:10:13 v1.2.2 15:10:13 v1.2.3 15:10:13 v1.3.0 15:10:13 v1.3.1 15:10:13 v2.0.0 15:10:13 v2.1.0 15:10:13 v2.1.1 15:10:13 v2.1.1-dev.1 15:10:13 v2.1.1-dev.2 15:10:13 v2.2.0 15:10:13 v2.2.1-dev.1 15:10:13 v2.2.1-dev.2 15:10:13 v2.2.1-dev.3 15:10:13 v2.2.1-dev.4 15:10:13 v2.2.1-dev.5 15:10:13 v2.2.1-dev.6 15:10:13 v2.2.1-dev.7 15:10:13 v2.2.1-dev.8 15:10:13 v2.3.0-dev.10 15:10:13 v2.3.0-dev.11 15:10:13 v2.3.0-dev.12 15:10:13 v2.3.0-dev.13 15:10:13 v2.3.0-dev.14 15:10:13 v2.3.0-dev.15 15:10:13 v2.3.0-dev.16 15:10:13 v2.3.0-dev.17 15:10:13 v2.3.0-dev.18 15:10:13 v2.3.0-dev.19 15:10:13 v2.3.0-dev.20 15:10:13 v2.3.0-dev.21 15:10:13 v2.3.0-dev.22 15:10:13 v2.3.0-dev.23 15:10:13 v2.3.0-dev.24 15:10:13 v2.3.0-dev.25 15:10:13 v2.3.0-dev.26 15:10:13 v2.3.0-dev.27 15:10:13 v2.3.0-dev.8 15:10:13 v2.3.0-dev.9 [Pipeline] sh 15:10:13 + lftools sign git-tag v2.3.0-dev.27 15:10:13 Signing Git tag with Sigul... 15:10:13 Signing v2.3.0-dev.27 [Pipeline] echo 15:10:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:10:14 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:10:14 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:10:14 $ docker stop --time=1 b2335a62ab90d3137d22f76f5b8090193cc1466735c00989ddfcbe0773517c0d 15:10:15 $ docker rm -f b2335a62ab90d3137d22f76f5b8090193cc1466735c00989ddfcbe0773517c0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:10:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:10:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:10:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:10:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:10:16 prd-ubuntu20.04-docker-8c-8g-9311 does not seem to be running inside a container 15:10:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:10:17 $ docker top 08de1c304d1e90c53f08e06258fcf276b0aaf67c4c2930f17403ae9b46758a6f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:10:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:10:17 [ssh-agent] Looking for ssh-agent implementation... 15:10:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:10:17 $ docker exec 08de1c304d1e90c53f08e06258fcf276b0aaf67c4c2930f17403ae9b46758a6f ssh-agent 15:10:17 SSH_AUTH_SOCK=/tmp/ssh-vgjiBghKmJkp/agent.32 15:10:17 SSH_AGENT_PID=38 15:10:17 Running ssh-add (command line suppressed) 15:10:17 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8019394838122296705.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8019394838122296705.key) 15:10:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:10:17 + git semver bump pre 15:10:18 2022-10-24 15:10:18,049 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:10:18 2022-10-24 15:10:18,049 [bump_version] DEBUG bumping version:2.3.0-dev.27 on axis:pre with prefix:dev 15:10:18 2022-10-24 15:10:18,049 [bump_version] DEBUG bumped version:2.3.0-dev.28 15:10:18 2022-10-24 15:10:18,049 [write_version] DEBUG write version:2.3.0-dev.28 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 15:10:18 2022-10-24 15:10:18,049 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:10:18 2022-10-24 15:10:18,049 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:10:18 2022-10-24 15:10:18,051 [execute] INFO git cat-file --batch-check 15:10:18 2022-10-24 15:10:18,051 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:10:18 2022-10-24 15:10:18,056 [execute] INFO git cat-file --batch 15:10:18 2022-10-24 15:10:18,056 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:10:18 2022-10-24 15:10:18,061 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:10:18 2.3.0-dev.28 [Pipeline] } 15:10:18 $ docker exec --env ******** --env ******** 08de1c304d1e90c53f08e06258fcf276b0aaf67c4c2930f17403ae9b46758a6f ssh-agent -k 15:10:18 unset SSH_AUTH_SOCK; 15:10:18 unset SSH_AGENT_PID; 15:10:18 echo Agent pid 38 killed; 15:10:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:10:18 + git semver [Pipeline] } 15:10:18 $ docker stop --time=1 08de1c304d1e90c53f08e06258fcf276b0aaf67c4c2930f17403ae9b46758a6f 15:10:20 $ docker rm -f 08de1c304d1e90c53f08e06258fcf276b0aaf67c4c2930f17403ae9b46758a6f [Pipeline] // withDockerContainer [Pipeline] sh 15:10:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:10:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:10:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:10:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:10:20 prd-ubuntu20.04-docker-8c-8g-9311 does not seem to be running inside a container 15:10:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:10:21 $ docker top ef2e7e64ce043cdb43771f4630c99a2b8a424f9a9c10df1ea7f31ac1c1514941 -eo pid,comm 15:10:21 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). 15:10:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:10:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:10:21 [ssh-agent] Looking for ssh-agent implementation... 15:10:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:10:21 $ docker exec ef2e7e64ce043cdb43771f4630c99a2b8a424f9a9c10df1ea7f31ac1c1514941 ssh-agent 15:10:21 SSH_AUTH_SOCK=/tmp/ssh-wxON8sDh2AAB/agent.32 15:10:21 SSH_AGENT_PID=38 15:10:21 Running ssh-add (command line suppressed) 15:10:21 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9661346121328452134.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9661346121328452134.key) 15:10:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:10:21 + git semver push 15:10:22 2022-10-24 15:10:22,116 [run_push] DEBUG push 15:10:22 2022-10-24 15:10:22,117 [execute] INFO git cat-file --batch-check 15:10:22 2022-10-24 15:10:22,117 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:10:22 2022-10-24 15:10:22,121 [execute] INFO git rev-list 117c1f783058caf845695878346ea1f2198c2c3b -- 15:10:22 2022-10-24 15:10:22,121 [execute] DEBUG Popen(['git', 'rev-list', '117c1f783058caf845695878346ea1f2198c2c3b', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:10:22 2022-10-24 15:10:22,128 [execute] INFO git fetch -v origin 15:10:22 2022-10-24 15:10:22,128 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 15:10:22 2022-10-24 15:10:22,721 [run_push] DEBUG no remote changes detected 15:10:22 2022-10-24 15:10:22,721 [execute] INFO git push origin semver 15:10:22 2022-10-24 15:10:22,722 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:10:23 2022-10-24 15:10:23,628 [run_push] DEBUG push all version tags 15:10:23 2022-10-24 15:10:23,629 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:10:23 2022-10-24 15:10:23,629 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 15:10:24 2022-10-24 15:10:24,491 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:10:24 2.3.0-dev.28 [Pipeline] } 15:10:24 $ docker exec --env ******** --env ******** ef2e7e64ce043cdb43771f4630c99a2b8a424f9a9c10df1ea7f31ac1c1514941 ssh-agent -k 15:10:24 unset SSH_AUTH_SOCK; 15:10:24 unset SSH_AGENT_PID; 15:10:24 echo Agent pid 38 killed; 15:10:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:10:25 + git semver [Pipeline] } 15:10:25 $ docker stop --time=1 ef2e7e64ce043cdb43771f4630c99a2b8a424f9a9c10df1ea7f31ac1c1514941 15:10:26 $ docker rm -f ef2e7e64ce043cdb43771f4630c99a2b8a424f9a9c10df1ea7f31ac1c1514941 [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 15:10:27 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 15:10:27 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 15:10:27 total 16 15:10:27 drwxr-xr-x 3 root root 4096 Oct 24 14:59 . 15:10:27 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 15:10 .. 15:10:27 drwxr-xr-x 2 root root 4096 Oct 24 14:59 cost 15:10:27 -rw-r--r-- 1 root root 88 Oct 24 14:59 cost.csv 15:10:27 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 15:10:27 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 15:10:27 total 16 15:10:27 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 14:59 . 15:10:27 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 15:10 .. 15:10:27 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 14:59 cost 15:10:27 -rw-r--r-- 1 jenkins jenkins 88 Oct 24 14:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:10:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:10:28 ---> package-listing.sh 15:10:28 ++ facter osfamily 15:10:28 ++ tr '[:upper:]' '[:lower:]' 15:10:28 + OS_FAMILY=debian 15:10:28 + workspace=/w/workspace/exfoundry_device-virtual-go_main 15:10:28 + START_PACKAGES=/tmp/packages_start.txt 15:10:28 + END_PACKAGES=/tmp/packages_end.txt 15:10:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:10:28 + PACKAGES=/tmp/packages_start.txt 15:10:28 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 15:10:28 + PACKAGES=/tmp/packages_end.txt 15:10:28 + case "${OS_FAMILY}" in 15:10:28 + dpkg -l 15:10:28 + grep '^ii' 15:10:28 + '[' -f /tmp/packages_start.txt ']' 15:10:28 + '[' -f /tmp/packages_end.txt ']' 15:10:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:10:28 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 15:10:28 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 15:10:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 15:10:28 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/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:10:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:10:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:10:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:10:29 prd-ubuntu20.04-docker-8c-8g-9311 does not seem to be running inside a container 15:10:29 $ 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/exfoundry_device-virtual-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/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-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 15:10:29 $ docker top 001fcbe9c361a625a82fe21c5115dc4995cf52a3893933594eb8740407a2ff1c -eo pid,comm [Pipeline] { [Pipeline] sh 15:10:30 + touch /tmp/pre-build-complete [Pipeline] sh 15:10:30 + mkdir -p /var/log/sysstat [Pipeline] sh 15:10:30 + ls /var/log/sa-host 15:10:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:10:30 provisioning config files... 15:10:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15821930548043213528tmp [Pipeline] { [Pipeline] echo 15:10:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:10:31 ---> create-netrc.sh [Pipeline] } 15:10:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:10:31 ---> python-tools-install.sh [Pipeline] echo 15:10:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:10:31 ---> sudo-logs.sh 15:10:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:10:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:10:32 ---> job-cost.sh 15:10:32 lf-activate-venv: SKIPPING 15:10:32 DEBUG: total: 0.2199999988079071 15:10:32 INFO: Retrieving Stack Cost... 15:10:32 INFO: Retrieving Pricing Info for: v3-standard-8 15:10:33 INFO: Archiving Costs [Pipeline] echo 15:10:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:10:33 ---> logs-deploy.sh 15:10:33 lf-activate-venv: SKIPPING 15:10:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/63 15:10:33 INFO: archiving workspace using pattern(s): 15:10:34 Archives upload complete. 15:10:34 INFO: archiving logs to Nexus 15:10:34 ---> uname -a: 15:10:34 Linux prd-ubuntu20-04-docker-8c-8g-9311 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 15:10:34 15:10:34