Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1705bfbb6261e298477ee3ade5426f3d03c5e783 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-ssh14826028176297937717.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh3283620347901168506.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh5242965475126591849.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh8197657257465900414.key > 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-ssh3442608962689573136.key > 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.20 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-323 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 > 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 1705bfbb6261e298477ee3ade5426f3d03c5e783 (main) > 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 1705bfbb6261e298477ee3ade5426f3d03c5e783 # timeout=10 Commit message: "Merge pull request #357 from lenny-intel/go-1.20" > git rev-list --no-walk 3f1e673898a8ef42faca444c63d377d06123e36f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:25:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:25:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:25:54 ========================================================= 02:25:54 EdgeX Global Pipelines Version Info 02:25:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:25:55 ------------------- 02:25:55 stable info: 02:25:55 ------------------- 02:25:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:25:55 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 02:25:55 Message: update stable to v1.0.245 02:25:55 ------------------- 02:25:55 experimental info: 02:25:55 ------------------- 02:25:55 Commited By: **** collab-it+edgex@linuxfoundation.org 02:25:55 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 02:25:55 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:25:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 02:25:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 02:25:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:25:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:25:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:25:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 02:25:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:25:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:25:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:25:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:25:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:25:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 02:25:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:25:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:25:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:25:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:25:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:25:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:25:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:25:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:25:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:25:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:25:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:25:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:25:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:25:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:25:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:25:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:25:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:25:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:25:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1705bfbb6261e298477ee3ade5426f3d03c5e783 [Pipeline] echo 02:25:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1705bfb [Pipeline] echo 02:25:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:25:56 provisioning config files... 02:25:56 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16598426520558225714tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:25:56 ---> docker-login.sh 02:25:56 nexus3.edgexfoundry.org:10001 02:25:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:25:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:25:56 Configure a credential helper to remove this warning. See 02:25:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:25:56 02:25:56 Login Succeeded 02:25:56 nexus3.edgexfoundry.org:10002 02:25:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:25:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:25:57 Configure a credential helper to remove this warning. See 02:25:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:25:57 02:25:57 Login Succeeded 02:25:57 nexus3.edgexfoundry.org:10003 02:25:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:25:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:25:57 Configure a credential helper to remove this warning. See 02:25:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:25:57 02:25:57 Login Succeeded 02:25:57 nexus3.edgexfoundry.org:10004 02:25:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:25:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:25:57 Configure a credential helper to remove this warning. See 02:25:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:25:57 02:25:57 Login Succeeded 02:25:57 docker.io 02:25:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:25:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:25:57 Configure a credential helper to remove this warning. See 02:25:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:25:57 02:25:57 Login Succeeded 02:25:57 ---> docker-login.sh ends [Pipeline] } 02:25:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:25:57 + git rev-list -1 --merges 1705bfbb6261e298477ee3ade5426f3d03c5e783~1..1705bfbb6261e298477ee3ade5426f3d03c5e783 [Pipeline] echo 02:25:57 -----------> git rev-list -1 --merges 1705bfbb6261e298477ee3ade5426f3d03c5e783~1..1705bfbb6261e298477ee3ade5426f3d03c5e783 1705bfbb6261e298477ee3ade5426f3d03c5e783 02:25:57 1705bfbb6261e298477ee3ade5426f3d03c5e783 [false] [Pipeline] sh 02:25:58 + git log --format=format:%s -1 1705bfbb6261e298477ee3ade5426f3d03c5e783 [Pipeline] echo 02:25:58 ========================================================= 02:25:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:25:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:25:58 + git log --format=format:%s -1 1705bfbb6261e298477ee3ade5426f3d03c5e783 [Pipeline] echo 02:25:58 [semverPrep] GIT_COMMIT: 1705bfbb6261e298477ee3ade5426f3d03c5e783, Commit Message: Merge pull request #357 from lenny-intel/go-1.20 [Pipeline] echo 02:25:58 [semverPrep] This is not a build commit. [Pipeline] sh 02:25:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:25:58 + grep -v github /etc/ssh/ssh_known_hosts 02:25:58 + [ -e /tmp/ssh_known_hosts ] 02:25:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:25:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:25:58 + sudo tee -a /etc/ssh/ssh_known_hosts 02:25:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:25:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:25:59 02:25:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:25:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:25:59 0.1.4: Pulling from edgex-devops/py-git-semver 02:25:59 b85a868b505f: Pulling fs layer 02:25:59 e2be974225ed: Pulling fs layer 02:25:59 339a4e72a1f5: Pulling fs layer 02:25:59 988bab9f4d93: Pulling fs layer 02:25:59 1469e6f7b9e6: Pulling fs layer 02:25:59 eaf3925da568: Pulling fs layer 02:25:59 bab4dde63d76: Pulling fs layer 02:25:59 bde34c3a00c8: Pulling fs layer 02:25:59 b352a97aabf1: Pulling fs layer 02:25:59 4872d77fe225: Pulling fs layer 02:25:59 5851b861e8e6: Pulling fs layer 02:25:59 988bab9f4d93: Waiting 02:25:59 1469e6f7b9e6: Waiting 02:25:59 eaf3925da568: Waiting 02:25:59 bab4dde63d76: Waiting 02:25:59 bde34c3a00c8: Waiting 02:25:59 b352a97aabf1: Waiting 02:25:59 4872d77fe225: Waiting 02:25:59 5851b861e8e6: Waiting 02:25:59 e2be974225ed: Verifying Checksum 02:25:59 e2be974225ed: Download complete 02:25:59 988bab9f4d93: Verifying Checksum 02:25:59 988bab9f4d93: Download complete 02:25:59 1469e6f7b9e6: Verifying Checksum 02:25:59 1469e6f7b9e6: Download complete 02:25:59 339a4e72a1f5: Verifying Checksum 02:25:59 339a4e72a1f5: Download complete 02:25:59 eaf3925da568: Verifying Checksum 02:25:59 eaf3925da568: Download complete 02:25:59 bde34c3a00c8: Download complete 02:25:59 b352a97aabf1: Download complete 02:25:59 4872d77fe225: Verifying Checksum 02:25:59 4872d77fe225: Download complete 02:25:59 5851b861e8e6: Verifying Checksum 02:25:59 5851b861e8e6: Download complete 02:25:59 b85a868b505f: Download complete 02:26:00 bab4dde63d76: Verifying Checksum 02:26:00 bab4dde63d76: Download complete 02:26:01 b85a868b505f: Pull complete 02:26:01 e2be974225ed: Pull complete 02:26:02 339a4e72a1f5: Pull complete 02:26:02 988bab9f4d93: Pull complete 02:26:02 1469e6f7b9e6: Pull complete 02:26:02 eaf3925da568: Pull complete 02:26:04 bab4dde63d76: Pull complete 02:26:04 bde34c3a00c8: Pull complete 02:26:04 b352a97aabf1: Pull complete 02:26:04 4872d77fe225: Pull complete 02:26:04 5851b861e8e6: Pull complete 02:26:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:26:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:26:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:26:04 prd-ubuntu20.04-docker-8c-8g-323 does not seem to be running inside a container 02:26:04 $ 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 02:26:08 $ docker top cf3a34022cf2c333fdd4258a986ee9c6598b0e8718053d1553c918a64ddae421 -eo pid,comm 02:26:08 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). 02:26:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:26:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:26:08 [ssh-agent] Looking for ssh-agent implementation... 02:26:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:26:08 $ docker exec cf3a34022cf2c333fdd4258a986ee9c6598b0e8718053d1553c918a64ddae421 ssh-agent 02:26:08 SSH_AUTH_SOCK=/tmp/ssh-oPr86o8gkasj/agent.32 02:26:08 SSH_AGENT_PID=39 02:26:08 Running ssh-add (command line suppressed) 02:26:08 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10035172346045996071.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10035172346045996071.key) 02:26:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:26:09 + git tag --points-at HEAD [Pipeline] } 02:26:09 $ docker exec --env ******** --env ******** cf3a34022cf2c333fdd4258a986ee9c6598b0e8718053d1553c918a64ddae421 ssh-agent -k 02:26:09 unset SSH_AUTH_SOCK; 02:26:09 unset SSH_AGENT_PID; 02:26:09 echo Agent pid 39 killed; 02:26:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:26:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:26:09 [ssh-agent] Looking for ssh-agent implementation... 02:26:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:26:09 $ docker exec cf3a34022cf2c333fdd4258a986ee9c6598b0e8718053d1553c918a64ddae421 ssh-agent 02:26:09 SSH_AUTH_SOCK=/tmp/ssh-rv5BcSjJIu0U/agent.71 02:26:09 SSH_AGENT_PID=77 02:26:09 Running ssh-add (command line suppressed) 02:26:09 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11599369131175869962.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11599369131175869962.key) 02:26:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:26:09 + git semver init 02:26:10 2023-03-15 02:26:10,043 [run_init] DEBUG init version:0.0.0 force:False 02:26:10 2023-03-15 02:26:10,044 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 02:26:10 2023-03-15 02:26:10,044 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 02:26:10 2023-03-15 02:26:10,045 [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) 02:26:11 2023-03-15 02:26:11,107 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 02:26:11 2023-03-15 02:26:11,107 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 02:26:11 2023-03-15 02:26:11,107 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:26:11 2023-03-15 02:26:11,107 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:26:11 3.0.0-dev.22 [Pipeline] } 02:26:11 $ docker exec --env ******** --env ******** cf3a34022cf2c333fdd4258a986ee9c6598b0e8718053d1553c918a64ddae421 ssh-agent -k 02:26:11 unset SSH_AUTH_SOCK; 02:26:11 unset SSH_AGENT_PID; 02:26:11 echo Agent pid 77 killed; 02:26:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:26:11 + git semver [Pipeline] } 02:26:12 $ docker stop --time=1 cf3a34022cf2c333fdd4258a986ee9c6598b0e8718053d1553c918a64ddae421 02:26:13 $ docker rm -f --volumes cf3a34022cf2c333fdd4258a986ee9c6598b0e8718053d1553c918a64ddae421 [Pipeline] // withDockerContainer [Pipeline] sh 02:26:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:26:14 Stashed 1 file(s) [Pipeline] echo 02:26:14 [edgeXSemver]: initialized semver on version 3.0.0-dev.22 [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 02:26:14 provisioning config files... 02:26:14 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7923389536417519441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:26:14 ---> docker-login.sh 02:26:14 nexus3.edgexfoundry.org:10001 02:26:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:26:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:26:14 Configure a credential helper to remove this warning. See 02:26:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:26:14 02:26:14 Login Succeeded 02:26:14 nexus3.edgexfoundry.org:10002 02:26:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:26:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:26:14 Configure a credential helper to remove this warning. See 02:26:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:26:14 02:26:14 Login Succeeded 02:26:14 nexus3.edgexfoundry.org:10003 02:26:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:26:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:26:14 Configure a credential helper to remove this warning. See 02:26:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:26:14 02:26:14 Login Succeeded 02:26:14 nexus3.edgexfoundry.org:10004 02:26:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:26:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:26:14 Configure a credential helper to remove this warning. See 02:26:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:26:14 02:26:14 Login Succeeded 02:26:14 docker.io 02:26:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:26:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:26:14 Configure a credential helper to remove this warning. See 02:26:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:26:14 02:26:14 Login Succeeded 02:26:14 ---> docker-login.sh ends [Pipeline] } 02:26:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:26:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:26:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:26:15 ========================================================= 02:26:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:26:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:26:15 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 02:26:15 Sending build context to Docker daemon 23.43MB 02:26:15 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:26:15 Step 2/12 : FROM ${BASE} AS builder 02:26:15 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:26:15 63b65145d645: Pulling fs layer 02:26:15 a2d21d5440eb: Pulling fs layer 02:26:15 935e6c44a52c: Pulling fs layer 02:26:15 94cc34f8dd06: Pulling fs layer 02:26:15 30dea6a524f1: Pulling fs layer 02:26:15 a2aff8979fd8: Pulling fs layer 02:26:15 6808be2612f2: Pulling fs layer 02:26:15 f25807f1079a: Pulling fs layer 02:26:15 94cc34f8dd06: Waiting 02:26:15 30dea6a524f1: Waiting 02:26:15 a2aff8979fd8: Waiting 02:26:15 f25807f1079a: Waiting 02:26:15 6808be2612f2: Waiting 02:26:15 a2d21d5440eb: Verifying Checksum 02:26:15 a2d21d5440eb: Download complete 02:26:15 94cc34f8dd06: Verifying Checksum 02:26:15 30dea6a524f1: Verifying Checksum 02:26:15 30dea6a524f1: Download complete 02:26:15 63b65145d645: Verifying Checksum 02:26:15 63b65145d645: Download complete 02:26:15 a2aff8979fd8: Download complete 02:26:15 63b65145d645: Pull complete 02:26:15 a2d21d5440eb: Pull complete 02:26:16 f25807f1079a: Verifying Checksum 02:26:16 f25807f1079a: Download complete 02:26:16 935e6c44a52c: Download complete 02:26:16 6808be2612f2: Verifying Checksum 02:26:16 6808be2612f2: Download complete 02:26:19 935e6c44a52c: Pull complete 02:26:19 94cc34f8dd06: Pull complete 02:26:19 30dea6a524f1: Pull complete 02:26:19 a2aff8979fd8: Pull complete 02:26:22 6808be2612f2: Pull complete 02:26:22 f25807f1079a: Pull complete 02:26:22 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 02:26:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:26:22 ---> 3b553350e43f 02:26:22 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:26:28 ---> Running in 2610531ab366 02:26:28 Removing intermediate container 2610531ab366 02:26:28 ---> 6e6918f59e99 02:26:28 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:26:28 ---> Running in 12c705c70f2b 02:26:28 Removing intermediate container 12c705c70f2b 02:26:28 ---> 2bfc1c3dac13 02:26:28 Step 5/12 : ARG ADD_BUILD_TAGS="" 02:26:28 ---> Running in a87adabcb269 02:26:28 Removing intermediate container a87adabcb269 02:26:28 ---> ab27ebada117 02:26:28 Step 6/12 : WORKDIR /device-virtual-go 02:26:28 ---> Running in 4bcda7fc4eca 02:26:28 Removing intermediate container 4bcda7fc4eca 02:26:28 ---> 4733b38065fe 02:26:28 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:26:28 ---> Running in 108a76629402 02:26:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:26:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:26:29 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:26:29 (2/4) Installing libedit (20221030.3.1-r0) 02:26:29 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:26:29 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:26:29 Executing busybox-1.35.0-r29.trigger 02:26:29 OK: 269 MiB in 57 packages 02:26:29 Still waiting to schedule task 02:26:29 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-319’ 02:26:29 Removing intermediate container 108a76629402 02:26:29 ---> 091ca0b50e84 02:26:29 Step 8/12 : COPY go.mod vendor* ./ 02:26:29 ---> ebe5daad3aaf 02:26:29 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:26:29 ---> Running in b7df1c6e1ea0 02:27:08 Removing intermediate container b7df1c6e1ea0 02:27:08 ---> cb95267305df 02:27:08 Step 10/12 : COPY . . 02:27:08 ---> 310561f5b27c 02:27:08 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:27:08 ---> Running in 46df40694517 02:27:08 Removing intermediate container 46df40694517 02:27:08 ---> b88b36eab1de 02:27:08 Step 12/12 : RUN $MAKE 02:27:08 ---> Running in b71543eb1e8b 02:27:08 noop 02:27:08 Removing intermediate container b71543eb1e8b 02:27:08 ---> 5439b5aa7c21 02:27:08 Successfully built 5439b5aa7c21 02:27:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:27:08 + docker inspect -f . ci-base-image-x86_64 02:27:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:27:08 prd-ubuntu20.04-docker-8c-8g-323 does not seem to be running inside a container 02:27:08 $ 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 02:27:09 $ docker top 2c881c5362aee57ab1ce2e9a862710cec540efcb44d3bf1d52bc6f0529e9b2a0 -eo pid,comm [Pipeline] { [Pipeline] sh 02:27:09 + go version 02:27:09 go version go1.20.2 linux/amd64 [Pipeline] } 02:27:09 $ docker stop --time=1 2c881c5362aee57ab1ce2e9a862710cec540efcb44d3bf1d52bc6f0529e9b2a0 02:27:10 $ docker rm -f --volumes 2c881c5362aee57ab1ce2e9a862710cec540efcb44d3bf1d52bc6f0529e9b2a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:27:11 + docker inspect -f . ci-base-image-x86_64 02:27:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:27:11 prd-ubuntu20.04-docker-8c-8g-323 does not seem to be running inside a container 02:27:11 $ 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 02:27:11 $ docker top 2acdd2493bae67a594c027d4ce36cc4fb1668b2b46d06b232b630274ab64a00e -eo pid,comm [Pipeline] { [Pipeline] sh 02:27:11 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 02:27:12 + make test 02:27:12 go test ./... -coverprofile=coverage.out 02:27:17 ? github.com/edgexfoundry/device-virtual-go [no test files] 02:27:27 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 02:27:27 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.034s coverage: 65.7% of statements 02:27:33 go vet ./... 02:27:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:27:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:27:38 ./bin/test-attribution-txt.sh [Pipeline] echo 02:27:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:27:38 $ docker stop --time=1 2acdd2493bae67a594c027d4ce36cc4fb1668b2b46d06b232b630274ab64a00e 02:27:41 $ docker rm -f --volumes 2acdd2493bae67a594c027d4ce36cc4fb1668b2b46d06b232b630274ab64a00e [Pipeline] // withDockerContainer [Pipeline] sh 02:27:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:27:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:27:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:27:42 + ls -al . 02:27:42 total 192 02:27:42 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 02:27 . 02:27:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 02:25 .. 02:27:42 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 02:26 .git 02:27:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:25 .github 02:27:42 -rw-rw-r-- 1 jenkins jenkins 337 Mar 15 02:25 .gitignore 02:27:42 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 02:25 .golangci.yml 02:27:42 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 02:26 .semver 02:27:42 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 15 02:25 Attribution.txt 02:27:42 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 15 02:25 CHANGELOG.md 02:27:42 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 15 02:25 Dockerfile 02:27:42 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 02:25 GOVERNANCE.md 02:27:42 -rw-rw-r-- 1 jenkins jenkins 660 Mar 15 02:25 Jenkinsfile 02:27:42 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 02:25 LICENSE 02:27:42 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 15 02:25 Makefile 02:27:42 -rw-rw-r-- 1 jenkins jenkins 623 Mar 15 02:25 OWNERS.md 02:27:42 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 15 02:25 README.md 02:27:42 -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 02:26 VERSION 02:27:42 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 02:25 bin 02:27:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:25 cmd 02:27:42 -rw-r--r-- 1 jenkins jenkins 44311 Mar 15 02:27 coverage.out 02:27:42 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 15 02:25 go.mod 02:27:42 -rw-rw-r-- 1 jenkins jenkins 30608 Mar 15 02:25 go.sum 02:27:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:25 internal 02:27:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 02:25 snap 02:27:42 -rw-rw-r-- 1 jenkins jenkins 235 Mar 15 02:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:27:42 + 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=1705bfbb6261e298477ee3ade5426f3d03c5e783 --label arch=amd64 --label version=3.0.0-dev.22 . 02:27:42 Sending build context to Docker daemon 23.48MB 02:27:42 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 02:27:42 Step 2/25 : FROM ${BASE} AS builder 02:27:42 ---> 5439b5aa7c21 02:27:42 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:27:43 ---> Running in 62de3d8f5bca 02:27:43 Removing intermediate container 62de3d8f5bca 02:27:43 ---> f95f31ca3ec8 02:27:43 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 02:27:43 ---> Running in f717a3c88658 02:27:43 Removing intermediate container f717a3c88658 02:27:43 ---> c3e8c54b88a0 02:27:43 Step 5/25 : ARG ADD_BUILD_TAGS="" 02:27:43 ---> Running in 7a57b6cd17fa 02:27:43 Removing intermediate container 7a57b6cd17fa 02:27:43 ---> f92cb637366f 02:27:43 Step 6/25 : WORKDIR /device-virtual-go 02:27:43 ---> Running in a618d6334513 02:27:43 Removing intermediate container a618d6334513 02:27:43 ---> 7187365f07d5 02:27:43 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:27:43 ---> Running in e528086366d4 02:27:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:27:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:27:44 OK: 269 MiB in 57 packages 02:27:44 Removing intermediate container e528086366d4 02:27:44 ---> 09c4f6f6a822 02:27:44 Step 8/25 : COPY go.mod vendor* ./ 02:27:44 ---> 07aff97b5f07 02:27:44 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:27:44 ---> Running in db3b80f68a7e 02:27:45 Removing intermediate container db3b80f68a7e 02:27:45 ---> c720124a52c6 02:27:45 Step 10/25 : COPY . . 02:27:46 ---> 3652d2ed2fd6 02:27:46 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:27:46 ---> Running in 4939ee820228 02:27:46 Removing intermediate container 4939ee820228 02:27:46 ---> 071d09ba9d93 02:27:46 Step 12/25 : RUN $MAKE 02:27:46 ---> Running in 7832332e80af 02:27:46 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.22" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 02:28:08 Removing intermediate container 7832332e80af 02:28:08 ---> 98da92bd3d82 02:28:08 Step 13/25 : FROM alpine:3.17 02:28:08 3.17: Pulling from library/alpine 02:28:08 63b65145d645: Already exists 02:28:08 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 02:28:08 Status: Downloaded newer image for alpine:3.17 02:28:08 ---> b2aa39c304c2 02:28:08 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 02:28:08 ---> Running in 1d38bba887a6 02:28:08 Removing intermediate container 1d38bba887a6 02:28:08 ---> 6a46111be5f7 02:28:08 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:28:08 ---> Running in fc6e1ed2893f 02:28:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:28:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:28:08 (1/1) Installing dumb-init (1.2.5-r2) 02:28:08 Executing busybox-1.35.0-r29.trigger 02:28:08 OK: 7 MiB in 16 packages 02:28:09 Removing intermediate container fc6e1ed2893f 02:28:09 ---> 47696c2035cb 02:28:09 Step 16/25 : WORKDIR / 02:28:09 ---> Running in 79901e9e4cb9 02:28:09 Removing intermediate container 79901e9e4cb9 02:28:09 ---> 40599970b419 02:28:09 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 02:28:09 ---> ff39e509933f 02:28:09 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 02:28:09 ---> 6438412158ba 02:28:09 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 02:28:10 ---> 1e21e7b0217c 02:28:10 Step 20/25 : EXPOSE 59900 02:28:10 ---> Running in 0399011e8520 02:28:10 Removing intermediate container 0399011e8520 02:28:10 ---> 4aab3434eb20 02:28:10 Step 21/25 : ENTRYPOINT ["/device-virtual"] 02:28:10 ---> Running in c22c39ad372b 02:28:10 Removing intermediate container c22c39ad372b 02:28:10 ---> 5ecac04c2536 02:28:10 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 02:28:10 ---> Running in 9f185ce431f6 02:28:10 Removing intermediate container 9f185ce431f6 02:28:10 ---> 7e9e7c97867e 02:28:10 Step 23/25 : LABEL arch=amd64 02:28:10 ---> Running in 28faee90ebb2 02:28:10 Removing intermediate container 28faee90ebb2 02:28:10 ---> b262e4dfcd9f 02:28:10 Step 24/25 : LABEL git_sha=1705bfbb6261e298477ee3ade5426f3d03c5e783 02:28:10 ---> Running in 346d09616e3d 02:28:10 Removing intermediate container 346d09616e3d 02:28:10 ---> 8de937b297a0 02:28:10 Step 25/25 : LABEL version=3.0.0-dev.22 02:28:10 ---> Running in fefb35dc7c6b 02:28:10 Removing intermediate container fefb35dc7c6b 02:28:10 ---> 96abb60eeddd 02:28:10 [Warning] One or more build-args [ARCH] were not consumed 02:28:10 Successfully built 96abb60eeddd 02:28:10 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:28:10 provisioning config files... 02:28:10 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1330361880673580669tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:28:11 ---> docker-login.sh 02:28:11 nexus3.edgexfoundry.org:10001 02:28:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:28:11 Configure a credential helper to remove this warning. See 02:28:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:28:11 02:28:11 Login Succeeded 02:28:11 nexus3.edgexfoundry.org:10002 02:28:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:28:11 Configure a credential helper to remove this warning. See 02:28:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:28:11 02:28:11 Login Succeeded 02:28:11 nexus3.edgexfoundry.org:10003 02:28:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:28:11 Configure a credential helper to remove this warning. See 02:28:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:28:11 02:28:11 Login Succeeded 02:28:11 nexus3.edgexfoundry.org:10004 02:28:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:28:11 Configure a credential helper to remove this warning. See 02:28:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:28:11 02:28:11 Login Succeeded 02:28:11 docker.io 02:28:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:28:11 Configure a credential helper to remove this warning. See 02:28:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:28:11 02:28:11 Login Succeeded 02:28:11 ---> docker-login.sh ends [Pipeline] } 02:28:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:28:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:28:11 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 02:28:11 1705bfbb6261e298477ee3ade5426f3d03c5e783 02:28:11 latest 02:28:11 3.0.0-dev.22 02:28:11 1705bfbb6261e298477ee3ade5426f3d03c5e783-3.0.0-dev.22 02:28:11 main 02:28:11 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:12 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:1705bfbb6261e298477ee3ade5426f3d03c5e783 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:12 + docker push nexus3.edgexfoundry.org:10004/device-virtual:1705bfbb6261e298477ee3ade5426f3d03c5e783 02:28:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:28:12 e3b71b2b8dd1: Preparing 02:28:12 e213253f18f2: Preparing 02:28:12 8dda6d5613c9: Preparing 02:28:12 3835de1c3256: Preparing 02:28:12 7cd52847ad77: Preparing 02:28:12 7cd52847ad77: Layer already exists 02:28:12 e213253f18f2: Pushed 02:28:12 3835de1c3256: Pushed 02:28:12 8dda6d5613c9: Pushed 02:28:15 e3b71b2b8dd1: Pushed 02:28:15 1705bfbb6261e298477ee3ade5426f3d03c5e783: digest: sha256:ea7deec69af2c6d3b0807b2d9895c82458b837828715e77aa7aed64450ae7c2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:15 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:16 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 02:28:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:28:16 e3b71b2b8dd1: Preparing 02:28:16 e213253f18f2: Preparing 02:28:16 8dda6d5613c9: Preparing 02:28:16 3835de1c3256: Preparing 02:28:16 7cd52847ad77: Preparing 02:28:16 8dda6d5613c9: Layer already exists 02:28:16 e3b71b2b8dd1: Layer already exists 02:28:16 7cd52847ad77: Layer already exists 02:28:16 3835de1c3256: Layer already exists 02:28:16 e213253f18f2: Layer already exists 02:28:16 latest: digest: sha256:ea7deec69af2c6d3b0807b2d9895c82458b837828715e77aa7aed64450ae7c2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:16 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:16 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.22 02:28:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:28:16 e3b71b2b8dd1: Preparing 02:28:16 e213253f18f2: Preparing 02:28:16 8dda6d5613c9: Preparing 02:28:16 3835de1c3256: Preparing 02:28:16 7cd52847ad77: Preparing 02:28:16 e3b71b2b8dd1: Layer already exists 02:28:16 3835de1c3256: Layer already exists 02:28:16 8dda6d5613c9: Layer already exists 02:28:16 7cd52847ad77: Layer already exists 02:28:16 e213253f18f2: Layer already exists 02:28:16 3.0.0-dev.22: digest: sha256:ea7deec69af2c6d3b0807b2d9895c82458b837828715e77aa7aed64450ae7c2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:17 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:1705bfbb6261e298477ee3ade5426f3d03c5e783-3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:17 + docker push nexus3.edgexfoundry.org:10004/device-virtual:1705bfbb6261e298477ee3ade5426f3d03c5e783-3.0.0-dev.22 02:28:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:28:17 e3b71b2b8dd1: Preparing 02:28:17 e213253f18f2: Preparing 02:28:17 8dda6d5613c9: Preparing 02:28:17 3835de1c3256: Preparing 02:28:17 7cd52847ad77: Preparing 02:28:17 7cd52847ad77: Layer already exists 02:28:17 8dda6d5613c9: Layer already exists 02:28:17 e213253f18f2: Layer already exists 02:28:17 3835de1c3256: Layer already exists 02:28:17 e3b71b2b8dd1: Layer already exists 02:28:17 1705bfbb6261e298477ee3ade5426f3d03c5e783-3.0.0-dev.22: digest: sha256:ea7deec69af2c6d3b0807b2d9895c82458b837828715e77aa7aed64450ae7c2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:17 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:18 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 02:28:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:28:18 e3b71b2b8dd1: Preparing 02:28:18 e213253f18f2: Preparing 02:28:18 8dda6d5613c9: Preparing 02:28:18 3835de1c3256: Preparing 02:28:18 7cd52847ad77: Preparing 02:28:18 8dda6d5613c9: Layer already exists 02:28:18 7cd52847ad77: Layer already exists 02:28:18 e3b71b2b8dd1: Layer already exists 02:28:18 3835de1c3256: Layer already exists 02:28:18 e213253f18f2: Layer already exists 02:28:18 main: digest: sha256:ea7deec69af2c6d3b0807b2d9895c82458b837828715e77aa7aed64450ae7c2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:28:18 ===================================================== [Pipeline] echo 02:28:18 taggedImages: 02:28:18 - nexus3.edgexfoundry.org:10004/device-virtual:1705bfbb6261e298477ee3ade5426f3d03c5e783 02:28:18 - nexus3.edgexfoundry.org:10004/device-virtual:latest 02:28:18 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.22 02:28:18 - nexus3.edgexfoundry.org:10004/device-virtual:1705bfbb6261e298477ee3ade5426f3d03c5e783-3.0.0-dev.22 02:28:18 - 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 02:28:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:28:18 02:28:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:28:18 latest: Pulling from edgex-lftools-log-publisher 02:28:18 5eb5b503b376: Pulling fs layer 02:28:18 5c69ac0246d0: Pulling fs layer 02:28:18 ec43610c2a17: Pulling fs layer 02:28:18 3a2ae6a8a46f: Pulling fs layer 02:28:18 33b1e0a273af: Pulling fs layer 02:28:18 5d3b04190fa2: Pulling fs layer 02:28:18 2f39f015ded8: Pulling fs layer 02:28:18 3a2ae6a8a46f: Waiting 02:28:18 33b1e0a273af: Waiting 02:28:18 5d3b04190fa2: Waiting 02:28:18 2f39f015ded8: Waiting 02:28:18 5c69ac0246d0: Verifying Checksum 02:28:18 5c69ac0246d0: Download complete 02:28:18 3a2ae6a8a46f: Verifying Checksum 02:28:18 3a2ae6a8a46f: Download complete 02:28:18 33b1e0a273af: Verifying Checksum 02:28:18 33b1e0a273af: Download complete 02:28:19 5d3b04190fa2: Verifying Checksum 02:28:19 5d3b04190fa2: Download complete 02:28:19 ec43610c2a17: Verifying Checksum 02:28:19 ec43610c2a17: Download complete 02:28:19 5eb5b503b376: Download complete 02:28:19 2f39f015ded8: Download complete 02:28:20 5eb5b503b376: Pull complete 02:28:20 5c69ac0246d0: Pull complete 02:28:20 ec43610c2a17: Pull complete 02:28:21 3a2ae6a8a46f: Pull complete 02:28:21 33b1e0a273af: Pull complete 02:28:21 5d3b04190fa2: Pull complete 02:28:25 2f39f015ded8: Pull complete 02:28:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:28:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:28:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:28:25 prd-ubuntu20.04-docker-8c-8g-323 does not seem to be running inside a container 02:28:25 $ 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 02:28:29 $ docker top fbc62c6810cb305287131fc6bf5561ff3cb22a533eeeffa5f72338bfe1dc6a44 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:28:30 ---> job-cost.sh 02:28:30 lf-activate-venv: SKIPPING 02:28:30 INFO: No Stack... 02:28:30 INFO: Retrieving Pricing Info for: v3-standard-8 02:28:30 INFO: Archiving Costs [Pipeline] sh 02:28:31 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 02:28:31 + cut -d, -f6 [Pipeline] lock 02:28:31 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-93-stack-cost] 02:28:31 Resource [jenkins-edgexfoundry-device-virtual-go-main-93-stack-cost] did not exist. Created. 02:28:31 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-93-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:28:31 + echo total: 0.2199999988079071 [Pipeline] stash 02:28:31 Stashed 1 file(s) [Pipeline] } 02:28:31 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-93-stack-cost] [Pipeline] // lock [Pipeline] } 02:28:31 $ docker stop --time=1 fbc62c6810cb305287131fc6bf5561ff3cb22a533eeeffa5f72338bfe1dc6a44 02:28:32 $ docker rm -f --volumes fbc62c6810cb305287131fc6bf5561ff3cb22a533eeeffa5f72338bfe1dc6a44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:30:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-324 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 02:30:00 Running in /w/workspace/device-virtual-go/93 [Pipeline] { [Pipeline] checkout 02:30:00 The recommended git tool is: git 02:30:05 using credential edgex-jenkins-ssh 02:30:05 Cloning the remote Git repository 02:30:05 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 02:30:05 > git init /w/workspace/device-virtual-go/93 # timeout=10 02:30:06 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 02:30:06 > git --version # timeout=10 02:30:06 > git --version # 'git version 2.25.1' 02:30:06 using GIT_SSH to set credentials SSH Credentials for GitHub 02:30:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:30:10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 02:30:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:30:11 Avoid second fetch 02:30:11 Checking out Revision 1705bfbb6261e298477ee3ade5426f3d03c5e783 (main) 02:30:12 Commit message: "Merge pull request #357 from lenny-intel/go-1.20" 02:30:11 > git config core.sparsecheckout # timeout=10 02:30:11 > git checkout -f 1705bfbb6261e298477ee3ade5426f3d03c5e783 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:30:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:30:13 % Total % Received % Xferd Average Speed Time Time Time Current 02:30:13 Dload Upload Total Spent Left Speed 02:30:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh 02:30:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:30:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:30:14 + sudo tee /etc/docker/daemon.new 02:30:14 { 02:30:14 "registry-mirrors": [ 02:30:14 "https://nexus3.edgexfoundry.org:10001" 02:30:14 ], 02:30:14 "bip": "10.250.0.254/24", 02:30:14 "hosts": [ 02:30:14 "tcp://0.0.0.0:5555", 02:30:14 "unix:///var/run/docker.sock" 02:30:14 ], 02:30:14 "mtu": 1458, 02:30:14 "selinux-enabled": true, 02:30:14 "seccomp-profile": "/etc/docker/seccomp.json" 02:30:14 } [Pipeline] sh 02:30:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:30:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:30:33 provisioning config files... 02:30:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/93@tmp/config4161680844075523328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:30:33 ---> docker-login.sh 02:30:33 nexus3.edgexfoundry.org:10001 02:30:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:34 Configure a credential helper to remove this warning. See 02:30:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:34 02:30:34 Login Succeeded 02:30:34 nexus3.edgexfoundry.org:10002 02:30:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:34 Configure a credential helper to remove this warning. See 02:30:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:34 02:30:34 Login Succeeded 02:30:34 nexus3.edgexfoundry.org:10003 02:30:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:34 Configure a credential helper to remove this warning. See 02:30:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:34 02:30:34 Login Succeeded 02:30:34 nexus3.edgexfoundry.org:10004 02:30:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:35 Configure a credential helper to remove this warning. See 02:30:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:35 02:30:35 Login Succeeded 02:30:35 docker.io 02:30:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:35 Configure a credential helper to remove this warning. See 02:30:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:35 02:30:35 Login Succeeded 02:30:35 ---> docker-login.sh ends [Pipeline] } 02:30:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:30:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:30:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:30:35 ========================================================= 02:30:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:30:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:36 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 02:30:36 Sending build context to Docker daemon 11.87MB 02:30:36 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:30:36 Step 2/12 : FROM ${BASE} AS builder 02:30:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:30:37 af6eaf76a39c: Pulling fs layer 02:30:37 55522c791124: Pulling fs layer 02:30:37 ce5c4a1c91eb: Pulling fs layer 02:30:37 169dfbe0d373: Pulling fs layer 02:30:37 e1ff8fa3b103: Pulling fs layer 02:30:37 52ebb69f0ebf: Pulling fs layer 02:30:37 5abe8eddf0d5: Pulling fs layer 02:30:37 e1ff8fa3b103: Waiting 02:30:37 52ebb69f0ebf: Waiting 02:30:37 5abe8eddf0d5: Waiting 02:30:37 169dfbe0d373: Waiting 02:30:37 55522c791124: Verifying Checksum 02:30:37 55522c791124: Download complete 02:30:37 169dfbe0d373: Verifying Checksum 02:30:37 169dfbe0d373: Download complete 02:30:37 e1ff8fa3b103: Verifying Checksum 02:30:37 e1ff8fa3b103: Download complete 02:30:37 af6eaf76a39c: Verifying Checksum 02:30:38 af6eaf76a39c: Pull complete 02:30:38 5abe8eddf0d5: Verifying Checksum 02:30:39 55522c791124: Pull complete 02:30:40 ce5c4a1c91eb: Verifying Checksum 02:30:40 ce5c4a1c91eb: Download complete 02:30:40 52ebb69f0ebf: Verifying Checksum 02:30:40 52ebb69f0ebf: Download complete 02:30:52 ce5c4a1c91eb: Pull complete 02:30:52 169dfbe0d373: Pull complete 02:30:52 e1ff8fa3b103: Pull complete 02:30:57 52ebb69f0ebf: Pull complete 02:30:59 5abe8eddf0d5: Pull complete 02:30:59 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 02:30:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:30:59 ---> 6cb57ee374ae 02:30:59 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:31:01 ---> Running in 8e7f71b7cd9d 02:31:01 Removing intermediate container 8e7f71b7cd9d 02:31:01 ---> 7f3db9dbea3e 02:31:01 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:31:01 ---> Running in d4a32221fa13 02:31:02 Removing intermediate container d4a32221fa13 02:31:02 ---> a347ff4641bd 02:31:02 Step 5/12 : ARG ADD_BUILD_TAGS="" 02:31:02 ---> Running in 51b2453321fb 02:31:02 Removing intermediate container 51b2453321fb 02:31:02 ---> 23ffbdd0cd5c 02:31:02 Step 6/12 : WORKDIR /device-virtual-go 02:31:02 ---> Running in 5a8849d3b0ec 02:31:02 Removing intermediate container 5a8849d3b0ec 02:31:02 ---> e98d6282ba44 02:31:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:31:02 ---> Running in 29cd2ae5737a 02:31:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:31:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:31:05 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:31:05 (2/4) Installing libedit (20221030.3.1-r0) 02:31:05 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:31:05 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:31:05 Executing busybox-1.35.0-r29.trigger 02:31:05 OK: 268 MiB in 57 packages 02:31:06 Removing intermediate container 29cd2ae5737a 02:31:06 ---> ce4e29ed0498 02:31:06 Step 8/12 : COPY go.mod vendor* ./ 02:31:07 ---> d66029d5da9d 02:31:07 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:31:07 ---> Running in 5db3da180377 02:32:15 Removing intermediate container 5db3da180377 02:32:15 ---> 9afc3ccdbde1 02:32:15 Step 10/12 : COPY . . 02:32:15 ---> ef3619f900b5 02:32:15 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:32:15 ---> Running in 39ef3f250eff 02:32:15 Removing intermediate container 39ef3f250eff 02:32:15 ---> 91d9ec76c855 02:32:15 Step 12/12 : RUN $MAKE 02:32:15 ---> Running in e591062c4303 02:32:15 noop 02:32:15 Removing intermediate container e591062c4303 02:32:15 ---> 41ce2e48673e 02:32:15 Successfully built 41ce2e48673e 02:32:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:15 + docker inspect -f . ci-base-image-arm64 02:32:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:15 prd-ubuntu20.04-docker-arm64-4c-16g-324 does not seem to be running inside a container 02:32:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/93 -v /w/workspace/device-virtual-go/93:/w/workspace/device-virtual-go/93:rw,z -v /w/workspace/device-virtual-go/93@tmp:/w/workspace/device-virtual-go/93@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 02:32:17 $ docker top e377fa8183db639036491a15c3d8d913bbbf10d01d4504f2c309f65d531ed55b -eo pid,comm [Pipeline] { [Pipeline] sh 02:32:17 + go version 02:32:17 go version go1.20.2 linux/arm64 [Pipeline] } 02:32:17 $ docker stop --time=1 e377fa8183db639036491a15c3d8d913bbbf10d01d4504f2c309f65d531ed55b 02:32:21 $ docker rm -f --volumes e377fa8183db639036491a15c3d8d913bbbf10d01d4504f2c309f65d531ed55b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:22 + docker inspect -f . ci-base-image-arm64 02:32:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:22 prd-ubuntu20.04-docker-arm64-4c-16g-324 does not seem to be running inside a container 02:32:22 $ 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/93 -v /w/workspace/device-virtual-go/93:/w/workspace/device-virtual-go/93:rw,z -v /w/workspace/device-virtual-go/93@tmp:/w/workspace/device-virtual-go/93@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 02:32:23 $ docker top d78bdf5beab2381817526ab07f85fa121445cddc6bca856a5453594fb203928f -eo pid,comm [Pipeline] { [Pipeline] sh 02:32:24 + git config --global --add safe.directory /w/workspace/device-virtual-go/93 [Pipeline] fileExists [Pipeline] sh 02:32:25 + make test 02:32:25 go test ./... -coverprofile=coverage.out 02:32:57 ? github.com/edgexfoundry/device-virtual-go [no test files] 02:34:48 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 02:34:48 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.167s coverage: 65.7% of statements 02:34:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:34:49 go vet ./... 02:35:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:35:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:35:28 ./bin/test-attribution-txt.sh [Pipeline] echo 02:35:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:35:28 $ docker stop --time=1 d78bdf5beab2381817526ab07f85fa121445cddc6bca856a5453594fb203928f 02:35:30 $ docker rm -f --volumes d78bdf5beab2381817526ab07f85fa121445cddc6bca856a5453594fb203928f [Pipeline] // withDockerContainer [Pipeline] sh 02:35:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:35:31 Warning: overwriting stash ‘coverage-report’ 02:35:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:35:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:35:32 + ls -al . 02:35:32 total 188 02:35:32 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 02:32 . 02:35:32 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 02:30 .. 02:35:32 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 02:30 .git 02:35:32 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:30 .github 02:35:32 -rw-rw-r-- 1 jenkins jenkins 337 Mar 15 02:30 .gitignore 02:35:32 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 02:30 .golangci.yml 02:35:32 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 15 02:30 Attribution.txt 02:35:32 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 15 02:30 CHANGELOG.md 02:35:32 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 15 02:30 Dockerfile 02:35:32 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 02:30 GOVERNANCE.md 02:35:32 -rw-rw-r-- 1 jenkins jenkins 660 Mar 15 02:30 Jenkinsfile 02:35:32 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 02:30 LICENSE 02:35:32 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 15 02:30 Makefile 02:35:32 -rw-rw-r-- 1 jenkins jenkins 623 Mar 15 02:30 OWNERS.md 02:35:32 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 15 02:30 README.md 02:35:32 -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 02:26 VERSION 02:35:32 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 02:30 bin 02:35:32 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:30 cmd 02:35:32 -rw-r--r-- 1 jenkins jenkins 44311 Mar 15 02:34 coverage.out 02:35:32 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 15 02:30 go.mod 02:35:32 -rw-rw-r-- 1 jenkins jenkins 30608 Mar 15 02:30 go.sum 02:35:32 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:30 internal 02:35:32 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 02:30 snap 02:35:32 -rw-rw-r-- 1 jenkins jenkins 235 Mar 15 02:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:33 + 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=1705bfbb6261e298477ee3ade5426f3d03c5e783 --label arch=arm64 --label version=3.0.0-dev.22 . 02:35:33 Sending build context to Docker daemon 11.91MB 02:35:33 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 02:35:33 Step 2/25 : FROM ${BASE} AS builder 02:35:33 ---> 41ce2e48673e 02:35:33 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:35:33 ---> Running in ca094ba0bf9c 02:35:34 Removing intermediate container ca094ba0bf9c 02:35:34 ---> dab97763a919 02:35:34 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 02:35:34 ---> Running in 2adddcd9f65e 02:35:34 Removing intermediate container 2adddcd9f65e 02:35:34 ---> 94ef61ed81ba 02:35:34 Step 5/25 : ARG ADD_BUILD_TAGS="" 02:35:34 ---> Running in a145e4b4ec54 02:35:34 Removing intermediate container a145e4b4ec54 02:35:34 ---> 3094f03de4ce 02:35:34 Step 6/25 : WORKDIR /device-virtual-go 02:35:34 ---> Running in cd9576169613 02:35:35 Removing intermediate container cd9576169613 02:35:35 ---> 955a5ab7de9a 02:35:35 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:35:35 ---> Running in 8d52c023f65f 02:35:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:35:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:35:37 OK: 268 MiB in 57 packages 02:35:38 Removing intermediate container 8d52c023f65f 02:35:38 ---> 8ec3a10f7312 02:35:38 Step 8/25 : COPY go.mod vendor* ./ 02:35:39 ---> a2eb811aa541 02:35:39 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:35:39 ---> Running in 5e0c5230dbd8 02:35:42 Removing intermediate container 5e0c5230dbd8 02:35:42 ---> 6b035511415c 02:35:42 Step 10/25 : COPY . . 02:35:43 ---> eebd6509dcf5 02:35:43 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:35:43 ---> Running in 099f16458f98 02:35:43 Removing intermediate container 099f16458f98 02:35:43 ---> 98fbfdfdebf1 02:35:43 Step 12/25 : RUN $MAKE 02:35:43 ---> Running in 5712e0520257 02:35:44 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.22" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 02:38:06 Removing intermediate container 5712e0520257 02:38:06 ---> 1b6f2d2912f2 02:38:06 Step 13/25 : FROM alpine:3.17 02:38:06 3.17: Pulling from library/alpine 02:38:06 af6eaf76a39c: Already exists 02:38:06 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 02:38:06 Status: Downloaded newer image for alpine:3.17 02:38:06 ---> d74e625d9115 02:38:06 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 02:38:06 ---> Running in bc2d2f4845b8 02:38:06 Removing intermediate container bc2d2f4845b8 02:38:06 ---> a34bed3a432d 02:38:06 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:38:06 ---> Running in 8b37e23c1227 02:38:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:38:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:38:06 (1/1) Installing dumb-init (1.2.5-r2) 02:38:06 Executing busybox-1.35.0-r29.trigger 02:38:06 OK: 8 MiB in 16 packages 02:38:06 Removing intermediate container 8b37e23c1227 02:38:06 ---> c54f84a21888 02:38:06 Step 16/25 : WORKDIR / 02:38:06 ---> Running in e3b4c943035d 02:38:06 Removing intermediate container e3b4c943035d 02:38:06 ---> 7badf8dae1d5 02:38:06 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 02:38:06 ---> 066fa69c2ae8 02:38:06 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 02:38:06 ---> 691115de7da6 02:38:06 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 02:38:06 ---> 65176426c3c9 02:38:06 Step 20/25 : EXPOSE 59900 02:38:06 ---> Running in 7a59c785a6cb 02:38:06 Removing intermediate container 7a59c785a6cb 02:38:06 ---> cf553b934d00 02:38:06 Step 21/25 : ENTRYPOINT ["/device-virtual"] 02:38:06 ---> Running in a60423225336 02:38:06 Removing intermediate container a60423225336 02:38:06 ---> 619f7caad4e6 02:38:06 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 02:38:06 ---> Running in 09a28a5f9468 02:38:06 Removing intermediate container 09a28a5f9468 02:38:06 ---> 95602c19a3b5 02:38:06 Step 23/25 : LABEL arch=arm64 02:38:06 ---> Running in 0dded392f9d9 02:38:06 Removing intermediate container 0dded392f9d9 02:38:06 ---> 0dd8e39d6257 02:38:06 Step 24/25 : LABEL git_sha=1705bfbb6261e298477ee3ade5426f3d03c5e783 02:38:06 ---> Running in 46f6245184c2 02:38:06 Removing intermediate container 46f6245184c2 02:38:06 ---> 59f34e833f0c 02:38:06 Step 25/25 : LABEL version=3.0.0-dev.22 02:38:06 ---> Running in 602ffe3dae3e 02:38:06 Removing intermediate container 602ffe3dae3e 02:38:06 ---> fc962b6466a2 02:38:06 [Warning] One or more build-args [ARCH] were not consumed 02:38:06 Successfully built fc962b6466a2 02:38:06 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 02:38:06 provisioning config files... 02:38:06 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/93@tmp/config8768983780591330778tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:38:06 ---> docker-login.sh 02:38:06 nexus3.edgexfoundry.org:10001 02:38:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:38:07 Configure a credential helper to remove this warning. See 02:38:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:38:07 02:38:07 Login Succeeded 02:38:07 nexus3.edgexfoundry.org:10002 02:38:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:38:07 Configure a credential helper to remove this warning. See 02:38:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:38:07 02:38:07 Login Succeeded 02:38:07 nexus3.edgexfoundry.org:10003 02:38:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:38:07 Configure a credential helper to remove this warning. See 02:38:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:38:07 02:38:07 Login Succeeded 02:38:07 nexus3.edgexfoundry.org:10004 02:38:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:38:08 Configure a credential helper to remove this warning. See 02:38:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:38:08 02:38:08 Login Succeeded 02:38:08 docker.io 02:38:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:38:08 Configure a credential helper to remove this warning. See 02:38:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:38:08 02:38:08 Login Succeeded 02:38:08 ---> docker-login.sh ends [Pipeline] } 02:38:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:38:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:38:08 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 02:38:08 1705bfbb6261e298477ee3ade5426f3d03c5e783 02:38:08 latest 02:38:08 3.0.0-dev.22 02:38:08 1705bfbb6261e298477ee3ade5426f3d03c5e783-3.0.0-dev.22 02:38:08 main 02:38:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:09 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:1705bfbb6261e298477ee3ade5426f3d03c5e783 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:09 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:1705bfbb6261e298477ee3ade5426f3d03c5e783 02:38:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:38:09 f2a7479c4ce9: Preparing 02:38:09 d493b98f88e8: Preparing 02:38:09 2f0f8694ad64: Preparing 02:38:09 5266a41edca0: Preparing 02:38:09 edf70074bd40: Preparing 02:38:09 edf70074bd40: Layer already exists 02:38:09 d493b98f88e8: Pushed 02:38:09 5266a41edca0: Pushed 02:38:09 2f0f8694ad64: Pushed 02:38:15 f2a7479c4ce9: Pushed 02:38:15 1705bfbb6261e298477ee3ade5426f3d03c5e783: digest: sha256:0100d03829da45e0835dca6ee5b5c06373739d34fce02b5dae3a8c8e94488376 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:15 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:16 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 02:38:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:38:16 f2a7479c4ce9: Preparing 02:38:16 d493b98f88e8: Preparing 02:38:16 2f0f8694ad64: Preparing 02:38:16 5266a41edca0: Preparing 02:38:16 edf70074bd40: Preparing 02:38:16 d493b98f88e8: Layer already exists 02:38:16 2f0f8694ad64: Layer already exists 02:38:16 edf70074bd40: Layer already exists 02:38:16 5266a41edca0: Layer already exists 02:38:16 f2a7479c4ce9: Layer already exists 02:38:16 latest: digest: sha256:0100d03829da45e0835dca6ee5b5c06373739d34fce02b5dae3a8c8e94488376 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:16 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:16 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.22 02:38:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:38:16 f2a7479c4ce9: Preparing 02:38:16 d493b98f88e8: Preparing 02:38:16 2f0f8694ad64: Preparing 02:38:16 5266a41edca0: Preparing 02:38:16 edf70074bd40: Preparing 02:38:16 edf70074bd40: Layer already exists 02:38:16 f2a7479c4ce9: Layer already exists 02:38:16 d493b98f88e8: Layer already exists 02:38:16 5266a41edca0: Layer already exists 02:38:16 2f0f8694ad64: Layer already exists 02:38:16 3.0.0-dev.22: digest: sha256:0100d03829da45e0835dca6ee5b5c06373739d34fce02b5dae3a8c8e94488376 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:17 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:1705bfbb6261e298477ee3ade5426f3d03c5e783-3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:17 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:1705bfbb6261e298477ee3ade5426f3d03c5e783-3.0.0-dev.22 02:38:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:38:17 f2a7479c4ce9: Preparing 02:38:17 d493b98f88e8: Preparing 02:38:17 2f0f8694ad64: Preparing 02:38:17 5266a41edca0: Preparing 02:38:17 edf70074bd40: Preparing 02:38:17 d493b98f88e8: Layer already exists 02:38:17 f2a7479c4ce9: Layer already exists 02:38:17 5266a41edca0: Layer already exists 02:38:17 2f0f8694ad64: Layer already exists 02:38:17 edf70074bd40: Layer already exists 02:38:17 1705bfbb6261e298477ee3ade5426f3d03c5e783-3.0.0-dev.22: digest: sha256:0100d03829da45e0835dca6ee5b5c06373739d34fce02b5dae3a8c8e94488376 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:17 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:18 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 02:38:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:38:18 f2a7479c4ce9: Preparing 02:38:18 d493b98f88e8: Preparing 02:38:18 2f0f8694ad64: Preparing 02:38:18 5266a41edca0: Preparing 02:38:18 edf70074bd40: Preparing 02:38:18 5266a41edca0: Layer already exists 02:38:18 f2a7479c4ce9: Layer already exists 02:38:18 d493b98f88e8: Layer already exists 02:38:18 2f0f8694ad64: Layer already exists 02:38:18 edf70074bd40: Layer already exists 02:38:18 main: digest: sha256:0100d03829da45e0835dca6ee5b5c06373739d34fce02b5dae3a8c8e94488376 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:38:18 ===================================================== [Pipeline] echo 02:38:18 taggedImages: 02:38:18 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:1705bfbb6261e298477ee3ade5426f3d03c5e783 02:38:18 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 02:38:18 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.22 02:38:18 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:1705bfbb6261e298477ee3ade5426f3d03c5e783-3.0.0-dev.22 02:38:18 - 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 02:38:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:38:18 02:38:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:38:18 arm64: Pulling from edgex-lftools-log-publisher 02:38:18 8998bd30e6a1: Pulling fs layer 02:38:18 04944245beec: Pulling fs layer 02:38:18 699f458cf7ca: Pulling fs layer 02:38:18 765212b225bb: Pulling fs layer 02:38:18 f23df028b6ca: Pulling fs layer 02:38:18 d65c8cfc05b1: Pulling fs layer 02:38:18 2437ff75d9bd: Pulling fs layer 02:38:18 f23df028b6ca: Waiting 02:38:18 d65c8cfc05b1: Waiting 02:38:18 2437ff75d9bd: Waiting 02:38:18 765212b225bb: Waiting 02:38:19 04944245beec: Verifying Checksum 02:38:19 04944245beec: Download complete 02:38:19 765212b225bb: Verifying Checksum 02:38:19 765212b225bb: Download complete 02:38:19 f23df028b6ca: Verifying Checksum 02:38:19 f23df028b6ca: Download complete 02:38:19 d65c8cfc05b1: Verifying Checksum 02:38:19 d65c8cfc05b1: Download complete 02:38:19 699f458cf7ca: Verifying Checksum 02:38:19 699f458cf7ca: Download complete 02:38:19 8998bd30e6a1: Verifying Checksum 02:38:19 8998bd30e6a1: Download complete 02:38:21 2437ff75d9bd: Verifying Checksum 02:38:21 2437ff75d9bd: Download complete 02:38:23 8998bd30e6a1: Pull complete 02:38:23 04944245beec: Pull complete 02:38:24 699f458cf7ca: Pull complete 02:38:25 765212b225bb: Pull complete 02:38:27 f23df028b6ca: Pull complete 02:38:27 d65c8cfc05b1: Pull complete 02:38:42 2437ff75d9bd: Pull complete 02:38:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:38:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:38:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:42 prd-ubuntu20.04-docker-arm64-4c-16g-324 does not seem to be running inside a container 02:38:42 $ 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/93 -v /w/workspace/device-virtual-go/93:/w/workspace/device-virtual-go/93:rw,z -v /w/workspace/device-virtual-go/93@tmp:/w/workspace/device-virtual-go/93@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 02:38:44 $ docker top 4713e87005cf917a0a1f702c18e52e694ded984900053a435cb977c61b7e22f4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:38:45 ---> job-cost.sh 02:38:45 lf-activate-venv: SKIPPING 02:38:45 INFO: No Stack... 02:38:46 INFO: Retrieving Pricing Info for: v3-standard-4 02:38:47 INFO: Archiving Costs [Pipeline] sh 02:38:47 + cat /w/workspace/device-virtual-go/93/archives/cost.csv 02:38:47 + cut -d, -f6 [Pipeline] lock 02:38:47 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-93-stack-cost] 02:38:47 Resource [jenkins-edgexfoundry-device-virtual-go-main-93-stack-cost] did not exist. Created. 02:38:47 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-93-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:38:48 /w/workspace/device-virtual-go/93@tmp/durable-216460c8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:38:48 + echo total: 0.10999999940395355 [Pipeline] stash 02:38:48 Warning: overwriting stash ‘stack-cost’ 02:38:48 Stashed 1 file(s) [Pipeline] } 02:38:48 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-93-stack-cost] [Pipeline] // lock [Pipeline] } 02:38:49 $ docker stop --time=1 4713e87005cf917a0a1f702c18e52e694ded984900053a435cb977c61b7e22f4 02:38:50 $ docker rm -f --volumes 4713e87005cf917a0a1f702c18e52e694ded984900053a435cb977c61b7e22f4 [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 02:38:50 provisioning config files... 02:38:50 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1135948151139463913tmp [Pipeline] { [Pipeline] sh 02:38:51 + set +x 02:38:51 + curl -s https://codecov.io/bash 02:38:51 + bash -s -- 02:38:51 02:38:51 _____ _ 02:38:51 / ____| | | 02:38:51 | | ___ __| | ___ ___ _____ __ 02:38:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:38:51 | |___| (_) | (_| | __/ (_| (_) \ V / 02:38:51 \_____\___/ \__,_|\___|\___\___/ \_/ 02:38:51 Bash-1.0.6 02:38:51 02:38:51 02:38:51 ==> git version 2.25.1 found 02:38:51 ==> 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 02:38:51 Release-Date: 2020-01-08 02:38:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:38:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:38:51 ==> Jenkins CI detected. 02:38:51 current dir:  /w/workspace/exfoundry_device-virtual-go_main 02:38:51 project root: . 02:38:51 --> token set from env 02:38:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:38:51 ==> Running gcov in . (disable via -X gcov) 02:38:51 ==> Python coveragepy not found 02:38:51 ==> Searching for coverage reports in: 02:38:51 + . 02:38:51 -> Found 1 reports 02:38:51 ==> Detecting git/mercurial file structure 02:38:51 ==> Reading reports 02:38:51 + ./coverage.out bytes=44311 02:38:51 ==> Appending adjustments 02:38:51 https://docs.codecov.io/docs/fixing-reports 02:38:51 + Found adjustments 02:38:51 ==> Gzipping contents 02:38:51 8.0K /tmp/codecov.o6Nr7n.gz 02:38:51 ==> Uploading reports 02:38:51 url: https://codecov.io 02:38:51 query: branch=main&commit=1705bfbb6261e298477ee3ade5426f3d03c5e783&build=93&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F93%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:38:51 -> Pinging Codecov 02:38:51 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=1705bfbb6261e298477ee3ade5426f3d03c5e783&build=93&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F93%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:38:51 -> Uploading to 02:38:51 https://storage.googleapis.com/codecov/v4/raw/2023-03-15/5E52B4B073DB2E39498172D8E973AA87/1705bfbb6261e298477ee3ade5426f3d03c5e783/8249d678-88ba-4205-b289-9adf9bab8f94.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T023851Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=708a92748f9fcc3711153e2fc34e71aea26d5bad02340496f31fdbbf9b389764 02:38:51 % Total % Received % Xferd Average Speed Time Time Time Current 02:38:51 Dload Upload Total Spent Left Speed 02:38:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5428 0 0 100 5428 0 24561 --:--:-- --:--:-- --:--:-- 24450 100 5428 0 0 100 5428 0 20957 --:--:-- --:--:-- --:--:-- 20957 02:38:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/1705bfbb6261e298477ee3ade5426f3d03c5e783 [Pipeline] } 02:38:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:38:52 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:38:52 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:38:52 02:38:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:38:52 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:38:52 df9b9388f04a: Pulling fs layer 02:38:52 52dc419b0ee2: Pulling fs layer 02:38:52 25bc292e5bac: Pulling fs layer 02:38:52 114826534d7a: Pulling fs layer 02:38:52 4657fd5d0bcf: Pulling fs layer 02:38:52 6ad1cebc031e: Pulling fs layer 02:38:52 8a3aa393b2d8: Pulling fs layer 02:38:52 114826534d7a: Waiting 02:38:52 8a3aa393b2d8: Waiting 02:38:52 6ad1cebc031e: Waiting 02:38:52 25bc292e5bac: Verifying Checksum 02:38:52 25bc292e5bac: Download complete 02:38:52 52dc419b0ee2: Verifying Checksum 02:38:52 52dc419b0ee2: Download complete 02:38:52 4657fd5d0bcf: Verifying Checksum 02:38:52 4657fd5d0bcf: Download complete 02:38:52 df9b9388f04a: Verifying Checksum 02:38:52 df9b9388f04a: Download complete 02:38:52 df9b9388f04a: Pull complete 02:38:52 6ad1cebc031e: Verifying Checksum 02:38:52 6ad1cebc031e: Download complete 02:38:52 52dc419b0ee2: Pull complete 02:38:52 25bc292e5bac: Pull complete 02:38:53 114826534d7a: Verifying Checksum 02:38:53 114826534d7a: Download complete 02:38:53 8a3aa393b2d8: Verifying Checksum 02:38:53 8a3aa393b2d8: Download complete 02:38:57 114826534d7a: Pull complete 02:38:57 4657fd5d0bcf: Pull complete 02:38:58 6ad1cebc031e: Pull complete 02:39:01 8a3aa393b2d8: Pull complete 02:39:01 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 02:39:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:39:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:01 prd-ubuntu20.04-docker-8c-8g-323 does not seem to be running inside a container 02:39:01 $ 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 02:39:05 $ docker top 5bf9dc3f2c0d052630a931e153151db912a9c4d29ff2beb379ddbdb0b6943d7d -eo pid,comm [Pipeline] { [Pipeline] echo 02:39:05 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 02:39:06 + set -o pipefail 02:39:06 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 02:44:12 02:44:12 Monitoring /w/workspace/exfoundry_device-virtual-go_main... 02:44:12 02:44:12 Connection timeout. 02:44:12 [Pipeline] } 02:44:13 $ docker stop --time=1 5bf9dc3f2c0d052630a931e153151db912a9c4d29ff2beb379ddbdb0b6943d7d 02:44:15 $ docker rm -f --volumes 5bf9dc3f2c0d052630a931e153151db912a9c4d29ff2beb379ddbdb0b6943d7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:44:15 [edgeXSnyk] Exit Code: 2 [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:44:15 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 02:44:15 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 02:44:15 total 16 02:44:15 drwxr-xr-x 3 root root 4096 Mar 15 02:28 . 02:44:15 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 02:28 .. 02:44:15 drwxr-xr-x 2 root root 4096 Mar 15 02:28 cost 02:44:15 -rw-r--r-- 1 root root 88 Mar 15 02:28 cost.csv 02:44:15 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 02:44:15 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 02:44:15 total 16 02:44:15 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 02:28 . 02:44:15 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 02:28 .. 02:44:15 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 02:28 cost 02:44:15 -rw-r--r-- 1 jenkins jenkins 88 Mar 15 02:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:44:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:44:17 ---> package-listing.sh 02:44:17 ++ facter osfamily 02:44:17 ++ tr '[:upper:]' '[:lower:]' 02:44:17 + OS_FAMILY=debian 02:44:17 + workspace=/w/workspace/exfoundry_device-virtual-go_main 02:44:17 + START_PACKAGES=/tmp/packages_start.txt 02:44:17 + END_PACKAGES=/tmp/packages_end.txt 02:44:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:44:17 + PACKAGES=/tmp/packages_start.txt 02:44:17 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 02:44:17 + PACKAGES=/tmp/packages_end.txt 02:44:17 + case "${OS_FAMILY}" in 02:44:17 + dpkg -l 02:44:17 + grep '^ii' 02:44:17 + '[' -f /tmp/packages_start.txt ']' 02:44:17 + '[' -f /tmp/packages_end.txt ']' 02:44:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:44:17 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 02:44:17 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 02:44:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 02:44:17 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 02:44:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:44:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:44:18 prd-ubuntu20.04-docker-8c-8g-323 does not seem to be running inside a container 02:44:18 $ 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 02:44:18 $ docker top a7c840c57d9b9846be3127151650b7112a040645915366d119e2b71ed87d9140 -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:18 + touch /tmp/pre-build-complete [Pipeline] sh 02:44:19 + mkdir -p /var/log/sysstat [Pipeline] sh 02:44:19 + ls /var/log/sa-host 02:44:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:44:19 provisioning config files... 02:44:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16884797005707841524tmp [Pipeline] { [Pipeline] echo 02:44:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:44:19 ---> create-netrc.sh [Pipeline] } 02:44:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:44:20 ---> python-tools-install.sh [Pipeline] echo 02:44:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:44:20 ---> sudo-logs.sh 02:44:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:44:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:44:20 ---> job-cost.sh 02:44:20 lf-activate-venv: SKIPPING 02:44:20 DEBUG: total: 0.2199999988079071 02:44:20 INFO: Retrieving Stack Cost... 02:44:21 INFO: Retrieving Pricing Info for: v3-standard-8 02:44:21 INFO: Archiving Costs [Pipeline] echo 02:44:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:44:21 ---> logs-deploy.sh 02:44:21 lf-activate-venv: SKIPPING 02:44:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/93 02:44:21 INFO: archiving workspace using pattern(s): 02:44:22 Archives upload complete. 02:44:23 INFO: archiving logs to Nexus