Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa 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-ssh12467585168419238943.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh13882521271684679754.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh4723527915409289447.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh8650427282316187018.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-ssh6743783009537330799.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 ‘prd-ubuntu20.04-docker-8c-8g-3910’ Running on prd-ubuntu20.04-docker-8c-8g-3916 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 cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa (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 cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa # timeout=10 Commit message: "Merge pull request #420 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.13" > git rev-list --no-walk 683d4d4593ac2673fe0867fafc4d548e8a0f2104 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-17T05:20:57.729Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-17T05:20:57.795Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-17T05:20:57.814Z] ========================================================= [2023-08-17T05:20:57.814Z] EdgeX Global Pipelines Version Info [2023-08-17T05:20:57.814Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-17T05:20:58.528Z] ------------------- [2023-08-17T05:20:58.528Z] stable info: [2023-08-17T05:20:58.528Z] ------------------- [2023-08-17T05:20:58.528Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-17T05:20:58.528Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-17T05:20:58.528Z] Message: update stable to v1.0.253 [2023-08-17T05:20:59.099Z] ------------------- [2023-08-17T05:20:59.099Z] experimental info: [2023-08-17T05:20:59.099Z] ------------------- [2023-08-17T05:20:59.099Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-17T05:20:59.099Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-17T05:20:59.099Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-17T05:20:59.262Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-08-17T05:20:59.274Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-08-17T05:20:59.290Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-17T05:20:59.306Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-17T05:20:59.318Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-17T05:20:59.333Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-17T05:20:59.349Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-17T05:20:59.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-17T05:20:59.392Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-17T05:20:59.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-17T05:20:59.425Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-17T05:20:59.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-08-17T05:20:59.462Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-17T05:20:59.481Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-17T05:20:59.496Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-17T05:20:59.516Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-17T05:20:59.533Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-17T05:20:59.546Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-17T05:20:59.557Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-17T05:20:59.568Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-17T05:20:59.582Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-17T05:20:59.594Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-17T05:20:59.609Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-17T05:20:59.628Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-17T05:20:59.647Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-17T05:20:59.664Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-17T05:20:59.680Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-17T05:20:59.696Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-17T05:20:59.715Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-17T05:20:59.732Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-17T05:20:59.746Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa [Pipeline] echo [2023-08-17T05:20:59.760Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cfe6b7c [Pipeline] echo [2023-08-17T05:20:59.773Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-17T05:20:59.815Z] provisioning config files... [2023-08-17T05:20:59.829Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16995387146681089295tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-17T05:21:00.131Z] ---> docker-login.sh [2023-08-17T05:21:00.131Z] nexus3.edgexfoundry.org:10001 [2023-08-17T05:21:00.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-17T05:21:00.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-17T05:21:00.392Z] Configure a credential helper to remove this warning. See [2023-08-17T05:21:00.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-17T05:21:00.392Z] [2023-08-17T05:21:00.392Z] Login Succeeded [2023-08-17T05:21:00.392Z] nexus3.edgexfoundry.org:10002 [2023-08-17T05:21:00.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-17T05:21:00.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-17T05:21:00.651Z] Configure a credential helper to remove this warning. See [2023-08-17T05:21:00.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-17T05:21:00.651Z] [2023-08-17T05:21:00.651Z] Login Succeeded [2023-08-17T05:21:00.651Z] nexus3.edgexfoundry.org:10003 [2023-08-17T05:21:00.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-17T05:21:00.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-17T05:21:00.651Z] Configure a credential helper to remove this warning. See [2023-08-17T05:21:00.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-17T05:21:00.651Z] [2023-08-17T05:21:00.651Z] Login Succeeded [2023-08-17T05:21:00.651Z] nexus3.edgexfoundry.org:10004 [2023-08-17T05:21:00.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-17T05:21:00.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-17T05:21:00.912Z] Configure a credential helper to remove this warning. See [2023-08-17T05:21:00.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-17T05:21:00.912Z] [2023-08-17T05:21:00.912Z] Login Succeeded [2023-08-17T05:21:00.912Z] docker.io [2023-08-17T05:21:00.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-17T05:21:01.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-17T05:21:01.173Z] Configure a credential helper to remove this warning. See [2023-08-17T05:21:01.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-17T05:21:01.173Z] [2023-08-17T05:21:01.173Z] Login Succeeded [2023-08-17T05:21:01.173Z] ---> docker-login.sh ends [Pipeline] } [2023-08-17T05:21:01.181Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-17T05:21:01.553Z] + git rev-list -1 --merges cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa~1..cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa [Pipeline] echo [2023-08-17T05:21:01.599Z] -----------> git rev-list -1 --merges cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa~1..cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa [2023-08-17T05:21:01.599Z] cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa [false] [Pipeline] sh [2023-08-17T05:21:01.888Z] + git log --format=format:%s -1 cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa [Pipeline] echo [2023-08-17T05:21:01.901Z] ========================================================= [2023-08-17T05:21:01.901Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-17T05:21:01.901Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-17T05:21:02.224Z] + git log --format=format:%s -1 cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa [Pipeline] echo [2023-08-17T05:21:02.236Z] [semverPrep] GIT_COMMIT: cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa, Commit Message: Merge pull request #420 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.13 [Pipeline] echo [2023-08-17T05:21:02.246Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-17T05:21:02.620Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-17T05:21:02.620Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-17T05:21:02.620Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-17T05:21:02.620Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-17T05:21:02.620Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-17T05:21:02.620Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-17T05:21:02.620Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:21:03.038Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-17T05:21:03.038Z] [2023-08-17T05:21:03.038Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:21:03.346Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-17T05:21:03.346Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-17T05:21:03.346Z] b85a868b505f: Pulling fs layer [2023-08-17T05:21:03.346Z] e2be974225ed: Pulling fs layer [2023-08-17T05:21:03.346Z] 339a4e72a1f5: Pulling fs layer [2023-08-17T05:21:03.346Z] 988bab9f4d93: Pulling fs layer [2023-08-17T05:21:03.346Z] 988bab9f4d93: Waiting [2023-08-17T05:21:03.346Z] 1469e6f7b9e6: Pulling fs layer [2023-08-17T05:21:03.346Z] eaf3925da568: Pulling fs layer [2023-08-17T05:21:03.346Z] bab4dde63d76: Pulling fs layer [2023-08-17T05:21:03.346Z] 1469e6f7b9e6: Waiting [2023-08-17T05:21:03.346Z] eaf3925da568: Waiting [2023-08-17T05:21:03.346Z] bde34c3a00c8: Pulling fs layer [2023-08-17T05:21:03.346Z] b352a97aabf1: Pulling fs layer [2023-08-17T05:21:03.346Z] bab4dde63d76: Waiting [2023-08-17T05:21:03.346Z] bde34c3a00c8: Waiting [2023-08-17T05:21:03.346Z] 4872d77fe225: Pulling fs layer [2023-08-17T05:21:03.346Z] 5851b861e8e6: Pulling fs layer [2023-08-17T05:21:03.346Z] 4872d77fe225: Waiting [2023-08-17T05:21:03.346Z] b352a97aabf1: Waiting [2023-08-17T05:21:03.346Z] 5851b861e8e6: Waiting [2023-08-17T05:21:03.346Z] e2be974225ed: Download complete [2023-08-17T05:21:03.346Z] 988bab9f4d93: Verifying Checksum [2023-08-17T05:21:03.346Z] 988bab9f4d93: Download complete [2023-08-17T05:21:03.605Z] 1469e6f7b9e6: Verifying Checksum [2023-08-17T05:21:03.605Z] 1469e6f7b9e6: Download complete [2023-08-17T05:21:03.605Z] 339a4e72a1f5: Verifying Checksum [2023-08-17T05:21:03.605Z] 339a4e72a1f5: Download complete [2023-08-17T05:21:03.605Z] eaf3925da568: Download complete [2023-08-17T05:21:03.605Z] bde34c3a00c8: Verifying Checksum [2023-08-17T05:21:03.605Z] bde34c3a00c8: Download complete [2023-08-17T05:21:03.605Z] b352a97aabf1: Verifying Checksum [2023-08-17T05:21:03.605Z] b352a97aabf1: Download complete [2023-08-17T05:21:03.605Z] 4872d77fe225: Download complete [2023-08-17T05:21:03.605Z] 5851b861e8e6: Verifying Checksum [2023-08-17T05:21:03.605Z] 5851b861e8e6: Download complete [2023-08-17T05:21:03.605Z] b85a868b505f: Download complete [2023-08-17T05:21:03.864Z] bab4dde63d76: Verifying Checksum [2023-08-17T05:21:03.864Z] bab4dde63d76: Download complete [2023-08-17T05:21:04.806Z] b85a868b505f: Pull complete [2023-08-17T05:21:04.806Z] e2be974225ed: Pull complete [2023-08-17T05:21:05.373Z] 339a4e72a1f5: Pull complete [2023-08-17T05:21:05.373Z] 988bab9f4d93: Pull complete [2023-08-17T05:21:05.632Z] 1469e6f7b9e6: Pull complete [2023-08-17T05:21:05.632Z] eaf3925da568: Pull complete [2023-08-17T05:21:07.585Z] bab4dde63d76: Pull complete [2023-08-17T05:21:07.586Z] bde34c3a00c8: Pull complete [2023-08-17T05:21:07.586Z] b352a97aabf1: Pull complete [2023-08-17T05:21:07.586Z] 4872d77fe225: Pull complete [2023-08-17T05:21:07.586Z] 5851b861e8e6: Pull complete [2023-08-17T05:21:07.586Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-17T05:21:07.586Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-17T05:21:07.586Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-17T05:21:07.692Z] prd-ubuntu20.04-docker-8c-8g-3916 does not seem to be running inside a container [2023-08-17T05:21:07.726Z] $ 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 [2023-08-17T05:21:10.209Z] $ docker top 71c3a4741c27adbde2cd5f56067602da2beffb1998250e33375d01aefab0fb25 -eo pid,comm [2023-08-17T05:21:10.260Z] 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). [2023-08-17T05:21:10.261Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-17T05:21:10.295Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-17T05:21:10.295Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-17T05:21:10.396Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-17T05:21:10.397Z] $ docker exec 71c3a4741c27adbde2cd5f56067602da2beffb1998250e33375d01aefab0fb25 ssh-agent [2023-08-17T05:21:10.502Z] SSH_AUTH_SOCK=/tmp/ssh-4Zz0sCD6xmUk/agent.32 [2023-08-17T05:21:10.502Z] SSH_AGENT_PID=38 [2023-08-17T05:21:10.509Z] Running ssh-add (command line suppressed) [2023-08-17T05:21:10.614Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11833404806562286263.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11833404806562286263.key) [2023-08-17T05:21:10.629Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-17T05:21:10.912Z] + git tag --points-at HEAD [Pipeline] } [2023-08-17T05:21:10.926Z] $ docker exec --env ******** --env ******** 71c3a4741c27adbde2cd5f56067602da2beffb1998250e33375d01aefab0fb25 ssh-agent -k [2023-08-17T05:21:11.019Z] unset SSH_AUTH_SOCK; [2023-08-17T05:21:11.020Z] unset SSH_AGENT_PID; [2023-08-17T05:21:11.020Z] echo Agent pid 38 killed; [2023-08-17T05:21:11.030Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-17T05:21:11.052Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-17T05:21:11.052Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-17T05:21:11.154Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-17T05:21:11.155Z] $ docker exec 71c3a4741c27adbde2cd5f56067602da2beffb1998250e33375d01aefab0fb25 ssh-agent [2023-08-17T05:21:11.250Z] SSH_AUTH_SOCK=/tmp/ssh-NsGJdir9362y/agent.71 [2023-08-17T05:21:11.250Z] SSH_AGENT_PID=77 [2023-08-17T05:21:11.255Z] Running ssh-add (command line suppressed) [2023-08-17T05:21:11.360Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2798944319807783969.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2798944319807783969.key) [2023-08-17T05:21:11.377Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-17T05:21:11.665Z] + git semver init [2023-08-17T05:21:11.925Z] 2023-08-17 05:21:11,845 [run_init] DEBUG init version:0.0.0 force:False [2023-08-17T05:21:11.925Z] 2023-08-17 05:21:11,846 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-08-17T05:21:11.925Z] 2023-08-17 05:21:11,846 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-08-17T05:21:11.925Z] 2023-08-17 05:21:11,846 [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) [2023-08-17T05:21:13.303Z] 2023-08-17 05:21:12,961 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-08-17T05:21:13.303Z] 2023-08-17 05:21:12,962 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-08-17T05:21:13.303Z] 2023-08-17 05:21:12,962 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-17T05:21:13.303Z] 2023-08-17 05:21:12,962 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-17T05:21:13.303Z] 3.1.0-dev.6 [Pipeline] } [2023-08-17T05:21:13.310Z] $ docker exec --env ******** --env ******** 71c3a4741c27adbde2cd5f56067602da2beffb1998250e33375d01aefab0fb25 ssh-agent -k [2023-08-17T05:21:13.411Z] unset SSH_AUTH_SOCK; [2023-08-17T05:21:13.411Z] unset SSH_AGENT_PID; [2023-08-17T05:21:13.414Z] echo Agent pid 77 killed; [2023-08-17T05:21:13.429Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-17T05:21:13.729Z] + git semver [Pipeline] } [2023-08-17T05:21:13.999Z] $ docker stop --time=1 71c3a4741c27adbde2cd5f56067602da2beffb1998250e33375d01aefab0fb25 [2023-08-17T05:21:15.305Z] $ docker rm -f --volumes 71c3a4741c27adbde2cd5f56067602da2beffb1998250e33375d01aefab0fb25 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-17T05:21:15.642Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-17T05:21:15.859Z] Stashed 1 file(s) [Pipeline] echo [2023-08-17T05:21:15.863Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.6 [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 [2023-08-17T05:21:15.993Z] provisioning config files... [2023-08-17T05:21:16.002Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17387674135922092585tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-17T05:21:16.302Z] ---> docker-login.sh [2023-08-17T05:21:16.303Z] nexus3.edgexfoundry.org:10001 [2023-08-17T05:21:16.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-17T05:21:16.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-17T05:21:16.303Z] Configure a credential helper to remove this warning. See [2023-08-17T05:21:16.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-17T05:21:16.303Z] [2023-08-17T05:21:16.303Z] Login Succeeded [2023-08-17T05:21:16.303Z] nexus3.edgexfoundry.org:10002 [2023-08-17T05:21:16.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-17T05:21:16.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-17T05:21:16.303Z] Configure a credential helper to remove this warning. See [2023-08-17T05:21:16.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-17T05:21:16.303Z] [2023-08-17T05:21:16.303Z] Login Succeeded [2023-08-17T05:21:16.303Z] nexus3.edgexfoundry.org:10003 [2023-08-17T05:21:16.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-17T05:21:16.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-17T05:21:16.562Z] Configure a credential helper to remove this warning. See [2023-08-17T05:21:16.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-17T05:21:16.562Z] [2023-08-17T05:21:16.562Z] Login Succeeded [2023-08-17T05:21:16.562Z] nexus3.edgexfoundry.org:10004 [2023-08-17T05:21:16.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-17T05:21:16.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-17T05:21:16.562Z] Configure a credential helper to remove this warning. See [2023-08-17T05:21:16.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-17T05:21:16.562Z] [2023-08-17T05:21:16.562Z] Login Succeeded [2023-08-17T05:21:16.562Z] docker.io [2023-08-17T05:21:16.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-17T05:21:16.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-17T05:21:16.820Z] Configure a credential helper to remove this warning. See [2023-08-17T05:21:16.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-17T05:21:16.820Z] [2023-08-17T05:21:16.820Z] Login Succeeded [2023-08-17T05:21:16.820Z] ---> docker-login.sh ends [Pipeline] } [2023-08-17T05:21:16.828Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-17T05:21:16.890Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-17T05:21:16.903Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-17T05:21:16.911Z] ========================================================= [2023-08-17T05:21:16.911Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-17T05:21:16.911Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:21:17.213Z] + 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 . [2023-08-17T05:21:17.213Z] Sending build context to Docker daemon 23.55MB [2023-08-17T05:21:17.213Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-17T05:21:17.213Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-17T05:21:17.471Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-17T05:21:17.471Z] 4db1b89c0bd1: Pulling fs layer [2023-08-17T05:21:17.471Z] 6911f1a30b25: Pulling fs layer [2023-08-17T05:21:17.471Z] e194b8c5c2a9: Pulling fs layer [2023-08-17T05:21:17.471Z] 6863d3e3a2b1: Pulling fs layer [2023-08-17T05:21:17.471Z] ec0bb842ea78: Pulling fs layer [2023-08-17T05:21:17.471Z] 40a00589a448: Pulling fs layer [2023-08-17T05:21:17.471Z] 6c08303d61cc: Pulling fs layer [2023-08-17T05:21:17.471Z] 798269fcf238: Pulling fs layer [2023-08-17T05:21:17.471Z] ec0bb842ea78: Waiting [2023-08-17T05:21:17.471Z] 6863d3e3a2b1: Waiting [2023-08-17T05:21:17.471Z] 798269fcf238: Waiting [2023-08-17T05:21:17.471Z] 40a00589a448: Waiting [2023-08-17T05:21:17.471Z] 6c08303d61cc: Waiting [2023-08-17T05:21:17.471Z] 6911f1a30b25: Download complete [2023-08-17T05:21:17.471Z] 6863d3e3a2b1: Verifying Checksum [2023-08-17T05:21:17.471Z] 6863d3e3a2b1: Download complete [2023-08-17T05:21:17.471Z] 4db1b89c0bd1: Verifying Checksum [2023-08-17T05:21:17.471Z] 4db1b89c0bd1: Download complete [2023-08-17T05:21:17.471Z] ec0bb842ea78: Verifying Checksum [2023-08-17T05:21:17.471Z] ec0bb842ea78: Download complete [2023-08-17T05:21:17.471Z] 40a00589a448: Verifying Checksum [2023-08-17T05:21:17.471Z] 40a00589a448: Download complete [2023-08-17T05:21:17.471Z] 4db1b89c0bd1: Pull complete [2023-08-17T05:21:17.731Z] 6911f1a30b25: Pull complete [2023-08-17T05:21:17.988Z] 798269fcf238: Verifying Checksum [2023-08-17T05:21:17.988Z] 798269fcf238: Download complete [2023-08-17T05:21:17.988Z] e194b8c5c2a9: Verifying Checksum [2023-08-17T05:21:17.988Z] e194b8c5c2a9: Download complete [2023-08-17T05:21:18.246Z] 6c08303d61cc: Verifying Checksum [2023-08-17T05:21:18.246Z] 6c08303d61cc: Download complete [2023-08-17T05:21:21.524Z] e194b8c5c2a9: Pull complete [2023-08-17T05:21:21.524Z] 6863d3e3a2b1: Pull complete [2023-08-17T05:21:21.524Z] ec0bb842ea78: Pull complete [2023-08-17T05:21:21.524Z] 40a00589a448: Pull complete [2023-08-17T05:21:23.419Z] 6c08303d61cc: Pull complete [2023-08-17T05:21:24.352Z] 798269fcf238: Pull complete [2023-08-17T05:21:24.352Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-17T05:21:24.352Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-17T05:21:24.352Z] ---> ec979cd7f677 [2023-08-17T05:21:24.352Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-17T05:21:28.541Z] ---> Running in e1825ea630c8 [2023-08-17T05:21:28.541Z] Removing intermediate container e1825ea630c8 [2023-08-17T05:21:28.541Z] ---> 9c8ca5795bf4 [2023-08-17T05:21:28.541Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-17T05:21:28.541Z] ---> Running in 1bb626860929 [2023-08-17T05:21:28.541Z] Removing intermediate container 1bb626860929 [2023-08-17T05:21:28.541Z] ---> 37790c001bd3 [2023-08-17T05:21:28.541Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-08-17T05:21:28.541Z] ---> Running in b5d4ae05cd2e [2023-08-17T05:21:28.541Z] Removing intermediate container b5d4ae05cd2e [2023-08-17T05:21:28.541Z] ---> a2c38d12f2ef [2023-08-17T05:21:28.541Z] Step 6/12 : WORKDIR /device-virtual-go [2023-08-17T05:21:28.541Z] ---> Running in f3fe7786a35a [2023-08-17T05:21:28.541Z] Removing intermediate container f3fe7786a35a [2023-08-17T05:21:28.541Z] ---> acb55c44bf72 [2023-08-17T05:21:28.541Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-17T05:21:28.541Z] ---> Running in c41c0e347068 [2023-08-17T05:21:28.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-17T05:21:29.366Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-17T05:21:29.625Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-17T05:21:29.625Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-17T05:21:29.625Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-17T05:21:29.625Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-17T05:21:29.625Z] Executing busybox-1.35.0-r29.trigger [2023-08-17T05:21:29.625Z] OK: 269 MiB in 57 packages [2023-08-17T05:21:30.189Z] Removing intermediate container c41c0e347068 [2023-08-17T05:21:30.189Z] ---> 1118d929d8bf [2023-08-17T05:21:30.189Z] Step 8/12 : COPY go.mod vendor* ./ [2023-08-17T05:21:30.189Z] ---> 5cd5b7e4db54 [2023-08-17T05:21:30.189Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-17T05:21:30.189Z] ---> Running in 25e0098c6664 [2023-08-17T05:21:30.950Z] Still waiting to schedule task [2023-08-17T05:21:30.951Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-3914’ is offline [2023-08-17T05:22:08.950Z] Removing intermediate container 25e0098c6664 [2023-08-17T05:22:08.950Z] ---> 3fb89a0ba57d [2023-08-17T05:22:08.950Z] Step 10/12 : COPY . . [2023-08-17T05:22:08.950Z] ---> 0dfd0f04b213 [2023-08-17T05:22:08.950Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-17T05:22:08.950Z] ---> Running in 7992a8eac8bd [2023-08-17T05:22:08.950Z] Removing intermediate container 7992a8eac8bd [2023-08-17T05:22:08.950Z] ---> ac05fc80fb35 [2023-08-17T05:22:08.950Z] Step 12/12 : RUN $MAKE [2023-08-17T05:22:08.950Z] ---> Running in a1afe2d605fb [2023-08-17T05:22:08.950Z] noop [2023-08-17T05:22:08.950Z] Removing intermediate container a1afe2d605fb [2023-08-17T05:22:08.951Z] ---> 567d9a8a48b9 [2023-08-17T05:22:08.951Z] Successfully built 567d9a8a48b9 [2023-08-17T05:22:08.951Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:22:09.256Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-17T05:22:09.256Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-17T05:22:09.319Z] prd-ubuntu20.04-docker-8c-8g-3916 does not seem to be running inside a container [2023-08-17T05:22:09.343Z] $ 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 [2023-08-17T05:22:09.678Z] $ docker top c2da2889d372a3083152e708f3595b13ec83aa016fe5e3a6302f5918a9bc7d5f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-17T05:22:10.015Z] + go version [2023-08-17T05:22:10.015Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-17T05:22:10.022Z] $ docker stop --time=1 c2da2889d372a3083152e708f3595b13ec83aa016fe5e3a6302f5918a9bc7d5f [2023-08-17T05:22:11.273Z] $ docker rm -f --volumes c2da2889d372a3083152e708f3595b13ec83aa016fe5e3a6302f5918a9bc7d5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:22:11.672Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-17T05:22:11.672Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-17T05:22:11.735Z] prd-ubuntu20.04-docker-8c-8g-3916 does not seem to be running inside a container [2023-08-17T05:22:11.758Z] $ 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 [2023-08-17T05:22:12.109Z] $ docker top 6fc93e6cd7c76546b10fdbd5479b8c0005cada8c2049ec658f113a9e30557992 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-17T05:22:12.449Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-08-17T05:22:12.747Z] + make test [2023-08-17T05:22:12.747Z] go test ./... -coverprofile=coverage.out [2023-08-17T05:22:16.932Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-08-17T05:22:26.905Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-08-17T05:22:26.905Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.017s coverage: 58.6% of statements [2023-08-17T05:22:32.168Z] go vet ./... [2023-08-17T05:22:35.449Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-17T05:22:35.449Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-17T05:22:35.449Z] ./bin/test-attribution-txt.sh [2023-08-17T05:22:35.449Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-17T05:22:35.449Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-08-17T05:22:35.449Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-17T05:22:35.449Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-17T05:22:35.449Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-17T05:22:35.449Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-17T05:22:35.460Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-17T05:22:35.468Z] $ docker stop --time=1 6fc93e6cd7c76546b10fdbd5479b8c0005cada8c2049ec658f113a9e30557992 [2023-08-17T05:22:38.595Z] $ docker rm -f --volumes 6fc93e6cd7c76546b10fdbd5479b8c0005cada8c2049ec658f113a9e30557992 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-17T05:22:39.049Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-17T05:22:39.102Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-17T05:22:39.595Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-17T05:22:39.879Z] + ls -al . [2023-08-17T05:22:39.879Z] total 204 [2023-08-17T05:22:39.879Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 17 05:22 . [2023-08-17T05:22:39.879Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 05:20 .. [2023-08-17T05:22:39.879Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 17 05:21 .git [2023-08-17T05:22:39.879Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 17 05:20 .github [2023-08-17T05:22:39.879Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 17 05:20 .gitignore [2023-08-17T05:22:39.879Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 17 05:20 .golangci.yml [2023-08-17T05:22:39.879Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 17 05:21 .semver [2023-08-17T05:22:39.879Z] -rw-rw-r-- 1 jenkins jenkins 8950 Aug 17 05:20 Attribution.txt [2023-08-17T05:22:39.879Z] -rw-rw-r-- 1 jenkins jenkins 14372 Aug 17 05:20 CHANGELOG.md [2023-08-17T05:22:39.879Z] -rw-rw-r-- 1 jenkins jenkins 1646 Aug 17 05:20 Dockerfile [2023-08-17T05:22:39.879Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 17 05:20 GOVERNANCE.md [2023-08-17T05:22:39.879Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 17 05:20 Jenkinsfile [2023-08-17T05:22:39.879Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 17 05:20 LICENSE [2023-08-17T05:22:39.879Z] -rw-rw-r-- 1 jenkins jenkins 1947 Aug 17 05:20 Makefile [2023-08-17T05:22:39.879Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 17 05:20 OWNERS.md [2023-08-17T05:22:39.879Z] -rw-rw-r-- 1 jenkins jenkins 4111 Aug 17 05:20 README.md [2023-08-17T05:22:39.879Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 17 05:21 VERSION [2023-08-17T05:22:39.879Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 05:20 bin [2023-08-17T05:22:39.879Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 17 05:20 cmd [2023-08-17T05:22:39.879Z] -rw-r--r-- 1 jenkins jenkins 43063 Aug 17 05:22 coverage.out [2023-08-17T05:22:39.879Z] -rw-rw-r-- 1 jenkins jenkins 3636 Aug 17 05:20 go.mod [2023-08-17T05:22:39.879Z] -rw-rw-r-- 1 jenkins jenkins 33427 Aug 17 05:20 go.sum [2023-08-17T05:22:39.879Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 17 05:20 internal [2023-08-17T05:22:39.879Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 05:20 snap [2023-08-17T05:22:39.879Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 17 05:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:22:40.183Z] + 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=cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa --label arch=amd64 --label version=3.1.0-dev.6 . [2023-08-17T05:22:40.183Z] Sending build context to Docker daemon 23.6MB [2023-08-17T05:22:40.183Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-17T05:22:40.183Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-17T05:22:40.183Z] ---> 567d9a8a48b9 [2023-08-17T05:22:40.183Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-17T05:22:40.441Z] ---> Running in 67b0a6c0da80 [2023-08-17T05:22:40.441Z] Removing intermediate container 67b0a6c0da80 [2023-08-17T05:22:40.441Z] ---> ffb75bcd02a2 [2023-08-17T05:22:40.441Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-17T05:22:40.441Z] ---> Running in 7caea959decd [2023-08-17T05:22:40.700Z] Removing intermediate container 7caea959decd [2023-08-17T05:22:40.700Z] ---> 7f95c67763d8 [2023-08-17T05:22:40.700Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-08-17T05:22:40.700Z] ---> Running in c171eb02ae59 [2023-08-17T05:22:40.700Z] Removing intermediate container c171eb02ae59 [2023-08-17T05:22:40.700Z] ---> 1579b2478b35 [2023-08-17T05:22:40.700Z] Step 6/25 : WORKDIR /device-virtual-go [2023-08-17T05:22:40.700Z] ---> Running in dd415c2cf877 [2023-08-17T05:22:40.700Z] Removing intermediate container dd415c2cf877 [2023-08-17T05:22:40.700Z] ---> 01598c393cdb [2023-08-17T05:22:40.700Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-17T05:22:40.700Z] ---> Running in daea6dfe7c8d [2023-08-17T05:22:40.959Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-17T05:22:41.218Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-17T05:22:41.476Z] OK: 269 MiB in 57 packages [2023-08-17T05:22:41.735Z] Removing intermediate container daea6dfe7c8d [2023-08-17T05:22:41.735Z] ---> 3a97d8969ec1 [2023-08-17T05:22:41.735Z] Step 8/25 : COPY go.mod vendor* ./ [2023-08-17T05:22:41.993Z] ---> 3466b47cae59 [2023-08-17T05:22:41.993Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-17T05:22:41.993Z] ---> Running in 14d041a669d2 [2023-08-17T05:22:42.559Z] Removing intermediate container 14d041a669d2 [2023-08-17T05:22:42.559Z] ---> d2729c9dfb10 [2023-08-17T05:22:42.559Z] Step 10/25 : COPY . . [2023-08-17T05:22:43.495Z] ---> 6e90e2ee8dc6 [2023-08-17T05:22:43.495Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-17T05:22:43.495Z] ---> Running in 788fea82afe6 [2023-08-17T05:22:43.495Z] Removing intermediate container 788fea82afe6 [2023-08-17T05:22:43.495Z] ---> a0ba516527c3 [2023-08-17T05:22:43.495Z] Step 12/25 : RUN $MAKE [2023-08-17T05:22:43.495Z] ---> Running in eb37eb5a7d0e [2023-08-17T05:22:43.753Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.13" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-08-17T05:23:01.888Z] Removing intermediate container eb37eb5a7d0e [2023-08-17T05:23:01.888Z] ---> a2f0ffd87f17 [2023-08-17T05:23:01.888Z] Step 13/25 : FROM alpine:3.17 [2023-08-17T05:23:02.487Z] 3.17: Pulling from library/alpine [2023-08-17T05:23:02.487Z] 9398808236ff: Pulling fs layer [2023-08-17T05:23:02.754Z] 9398808236ff: Download complete [2023-08-17T05:23:02.754Z] 9398808236ff: Pull complete [2023-08-17T05:23:02.755Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-17T05:23:02.755Z] Status: Downloaded newer image for alpine:3.17 [2023-08-17T05:23:02.755Z] ---> 1e0b8b5322fc [2023-08-17T05:23:02.755Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-08-17T05:23:02.755Z] ---> Running in f480dc860535 [2023-08-17T05:23:03.018Z] Removing intermediate container f480dc860535 [2023-08-17T05:23:03.018Z] ---> bdba0a610d32 [2023-08-17T05:23:03.018Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-08-17T05:23:03.018Z] ---> Running in af4d82e450c5 [2023-08-17T05:23:03.300Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-17T05:23:03.300Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-17T05:23:03.572Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-17T05:23:03.572Z] Executing busybox-1.35.0-r29.trigger [2023-08-17T05:23:03.572Z] OK: 7 MiB in 16 packages [2023-08-17T05:23:03.831Z] Removing intermediate container af4d82e450c5 [2023-08-17T05:23:03.831Z] ---> f63e2c0fe323 [2023-08-17T05:23:03.831Z] Step 16/25 : WORKDIR / [2023-08-17T05:23:03.831Z] ---> Running in e32e34057db4 [2023-08-17T05:23:04.089Z] Removing intermediate container e32e34057db4 [2023-08-17T05:23:04.089Z] ---> 7564fb10adcb [2023-08-17T05:23:04.089Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-08-17T05:23:04.089Z] ---> 4ac7d73f4937 [2023-08-17T05:23:04.089Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-08-17T05:23:04.093Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3918 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-08-17T05:23:04.105Z] Running in /w/workspace/device-virtual-go/132 [Pipeline] { [Pipeline] checkout [2023-08-17T05:23:04.137Z] The recommended git tool is: git [2023-08-17T05:23:04.358Z] ---> cdf8dd90f8c1 [2023-08-17T05:23:04.358Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-08-17T05:23:04.922Z] ---> a18696697930 [2023-08-17T05:23:04.923Z] Step 20/25 : EXPOSE 59900 [2023-08-17T05:23:04.923Z] ---> Running in bf41e7b6897c [2023-08-17T05:23:04.923Z] Removing intermediate container bf41e7b6897c [2023-08-17T05:23:04.923Z] ---> 24901d10cd83 [2023-08-17T05:23:04.923Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-08-17T05:23:04.923Z] ---> Running in f42c15ff69c0 [2023-08-17T05:23:04.923Z] Removing intermediate container f42c15ff69c0 [2023-08-17T05:23:04.923Z] ---> d7edf9bd76a3 [2023-08-17T05:23:04.923Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-17T05:23:04.923Z] ---> Running in 38b226698c60 [2023-08-17T05:23:05.180Z] Removing intermediate container 38b226698c60 [2023-08-17T05:23:05.180Z] ---> 83ab2edd7f88 [2023-08-17T05:23:05.180Z] Step 23/25 : LABEL arch=amd64 [2023-08-17T05:23:05.180Z] ---> Running in 7adb83e26ddc [2023-08-17T05:23:05.439Z] Removing intermediate container 7adb83e26ddc [2023-08-17T05:23:05.439Z] ---> c1acb794c7f7 [2023-08-17T05:23:05.439Z] Step 24/25 : LABEL git_sha=cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa [2023-08-17T05:23:05.439Z] ---> Running in 776323850ff0 [2023-08-17T05:23:05.439Z] Removing intermediate container 776323850ff0 [2023-08-17T05:23:05.439Z] ---> 7c28d0214db6 [2023-08-17T05:23:05.439Z] Step 25/25 : LABEL version=3.1.0-dev.6 [2023-08-17T05:23:05.439Z] ---> Running in ec157e4e5c67 [2023-08-17T05:23:05.439Z] Removing intermediate container ec157e4e5c67 [2023-08-17T05:23:05.439Z] ---> bd659e0b7dbd [2023-08-17T05:23:05.439Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-17T05:23:05.439Z] Successfully built bd659e0b7dbd [2023-08-17T05:23:05.439Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-17T05:23:05.550Z] provisioning config files... [2023-08-17T05:23:05.557Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1187178314521445832tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-17T05:23:05.853Z] ---> docker-login.sh [2023-08-17T05:23:05.853Z] nexus3.edgexfoundry.org:10001 [2023-08-17T05:23:05.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-17T05:23:05.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-17T05:23:05.853Z] Configure a credential helper to remove this warning. See [2023-08-17T05:23:05.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-17T05:23:05.853Z] [2023-08-17T05:23:05.853Z] Login Succeeded [2023-08-17T05:23:05.853Z] nexus3.edgexfoundry.org:10002 [2023-08-17T05:23:05.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-17T05:23:05.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-17T05:23:05.853Z] Configure a credential helper to remove this warning. See [2023-08-17T05:23:05.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-17T05:23:05.853Z] [2023-08-17T05:23:05.853Z] Login Succeeded [2023-08-17T05:23:05.853Z] nexus3.edgexfoundry.org:10003 [2023-08-17T05:23:06.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-17T05:23:06.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-17T05:23:06.111Z] Configure a credential helper to remove this warning. See [2023-08-17T05:23:06.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-17T05:23:06.111Z] [2023-08-17T05:23:06.111Z] Login Succeeded [2023-08-17T05:23:06.111Z] nexus3.edgexfoundry.org:10004 [2023-08-17T05:23:06.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-17T05:23:06.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-17T05:23:06.111Z] Configure a credential helper to remove this warning. See [2023-08-17T05:23:06.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-17T05:23:06.111Z] [2023-08-17T05:23:06.111Z] Login Succeeded [2023-08-17T05:23:06.111Z] docker.io [2023-08-17T05:23:06.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-17T05:23:06.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-17T05:23:06.368Z] Configure a credential helper to remove this warning. See [2023-08-17T05:23:06.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-17T05:23:06.368Z] [2023-08-17T05:23:06.368Z] Login Succeeded [2023-08-17T05:23:06.368Z] ---> docker-login.sh ends [Pipeline] } [2023-08-17T05:23:06.375Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-17T05:23:06.408Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-17T05:23:06.433Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-08-17T05:23:06.433Z] cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa [2023-08-17T05:23:06.433Z] latest [2023-08-17T05:23:06.433Z] 3.1.0-dev.6 [2023-08-17T05:23:06.433Z] cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa-3.1.0-dev.6 [2023-08-17T05:23:06.433Z] main [2023-08-17T05:23:06.433Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:23:06.760Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:23:07.072Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa [2023-08-17T05:23:07.072Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-08-17T05:23:07.072Z] c8a53054a362: Preparing [2023-08-17T05:23:07.072Z] 9f7532d28358: Preparing [2023-08-17T05:23:07.072Z] 938763a2393f: Preparing [2023-08-17T05:23:07.072Z] a0887590320a: Preparing [2023-08-17T05:23:07.072Z] 36b50b131297: Preparing [2023-08-17T05:23:07.072Z] 36b50b131297: Layer already exists [2023-08-17T05:23:07.072Z] a0887590320a: Pushed [2023-08-17T05:23:07.072Z] 9f7532d28358: Pushed [2023-08-17T05:23:07.072Z] 938763a2393f: Pushed [2023-08-17T05:23:09.096Z] using credential edgex-jenkins-ssh [2023-08-17T05:23:09.110Z] Cloning the remote Git repository [2023-08-17T05:23:09.601Z] c8a53054a362: Pushed [2023-08-17T05:23:09.860Z] cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa: digest: sha256:d6a130a482ef928504dbca64bf6d200cc549dbf228fc6c9a86e884a12c18e340 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:23:10.166Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:23:09.145Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-08-17T05:23:09.226Z] > git init /w/workspace/device-virtual-go/132 # timeout=10 [2023-08-17T05:23:09.354Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-08-17T05:23:09.355Z] > git --version # timeout=10 [2023-08-17T05:23:09.375Z] > git --version # 'git version 2.25.1' [2023-08-17T05:23:09.377Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-17T05:23:09.512Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-17T05:23:10.479Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-08-17T05:23:10.479Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-08-17T05:23:10.479Z] c8a53054a362: Preparing [2023-08-17T05:23:10.479Z] 9f7532d28358: Preparing [2023-08-17T05:23:10.479Z] 938763a2393f: Preparing [2023-08-17T05:23:10.479Z] a0887590320a: Preparing [2023-08-17T05:23:10.479Z] 36b50b131297: Preparing [2023-08-17T05:23:10.479Z] 9f7532d28358: Layer already exists [2023-08-17T05:23:10.479Z] c8a53054a362: Layer already exists [2023-08-17T05:23:10.479Z] a0887590320a: Layer already exists [2023-08-17T05:23:10.479Z] 36b50b131297: Layer already exists [2023-08-17T05:23:10.479Z] 938763a2393f: Layer already exists [2023-08-17T05:23:10.479Z] latest: digest: sha256:d6a130a482ef928504dbca64bf6d200cc549dbf228fc6c9a86e884a12c18e340 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:23:10.791Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:23:11.102Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.6 [2023-08-17T05:23:11.102Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-08-17T05:23:11.102Z] c8a53054a362: Preparing [2023-08-17T05:23:11.102Z] 9f7532d28358: Preparing [2023-08-17T05:23:11.102Z] 938763a2393f: Preparing [2023-08-17T05:23:11.102Z] a0887590320a: Preparing [2023-08-17T05:23:11.102Z] 36b50b131297: Preparing [2023-08-17T05:23:11.102Z] 36b50b131297: Layer already exists [2023-08-17T05:23:11.102Z] c8a53054a362: Layer already exists [2023-08-17T05:23:11.102Z] 9f7532d28358: Layer already exists [2023-08-17T05:23:11.102Z] a0887590320a: Layer already exists [2023-08-17T05:23:11.102Z] 938763a2393f: Layer already exists [2023-08-17T05:23:11.102Z] 3.1.0-dev.6: digest: sha256:d6a130a482ef928504dbca64bf6d200cc549dbf228fc6c9a86e884a12c18e340 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:23:11.425Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa-3.1.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:23:11.429Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-08-17T05:23:11.451Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-17T05:23:11.732Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa-3.1.0-dev.6 [2023-08-17T05:23:11.732Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-08-17T05:23:11.732Z] c8a53054a362: Preparing [2023-08-17T05:23:11.732Z] 9f7532d28358: Preparing [2023-08-17T05:23:11.732Z] 938763a2393f: Preparing [2023-08-17T05:23:11.732Z] a0887590320a: Preparing [2023-08-17T05:23:11.732Z] 36b50b131297: Preparing [2023-08-17T05:23:11.732Z] c8a53054a362: Layer already exists [2023-08-17T05:23:11.732Z] 9f7532d28358: Layer already exists [2023-08-17T05:23:11.732Z] a0887590320a: Layer already exists [2023-08-17T05:23:11.732Z] 36b50b131297: Layer already exists [2023-08-17T05:23:11.732Z] 938763a2393f: Layer already exists [2023-08-17T05:23:11.732Z] cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa-3.1.0-dev.6: digest: sha256:d6a130a482ef928504dbca64bf6d200cc549dbf228fc6c9a86e884a12c18e340 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:23:12.054Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:23:12.218Z] Avoid second fetch [2023-08-17T05:23:12.219Z] Checking out Revision cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa (main) [2023-08-17T05:23:12.362Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-08-17T05:23:12.362Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-08-17T05:23:12.362Z] c8a53054a362: Preparing [2023-08-17T05:23:12.362Z] 9f7532d28358: Preparing [2023-08-17T05:23:12.362Z] 938763a2393f: Preparing [2023-08-17T05:23:12.362Z] a0887590320a: Preparing [2023-08-17T05:23:12.362Z] 36b50b131297: Preparing [2023-08-17T05:23:12.362Z] 36b50b131297: Layer already exists [2023-08-17T05:23:12.362Z] c8a53054a362: Layer already exists [2023-08-17T05:23:12.362Z] 9f7532d28358: Layer already exists [2023-08-17T05:23:12.362Z] 938763a2393f: Layer already exists [2023-08-17T05:23:12.362Z] a0887590320a: Layer already exists [2023-08-17T05:23:12.362Z] main: digest: sha256:d6a130a482ef928504dbca64bf6d200cc549dbf228fc6c9a86e884a12c18e340 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-17T05:23:12.422Z] ===================================================== [Pipeline] echo [2023-08-17T05:23:12.438Z] taggedImages: [2023-08-17T05:23:12.438Z] - nexus3.edgexfoundry.org:10004/device-virtual:cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa [2023-08-17T05:23:12.438Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-08-17T05:23:12.438Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.6 [2023-08-17T05:23:12.438Z] - nexus3.edgexfoundry.org:10004/device-virtual:cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa-3.1.0-dev.6 [2023-08-17T05:23:12.438Z] - 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 [2023-08-17T05:23:12.712Z] Commit message: "Merge pull request #420 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.13" [2023-08-17T05:23:12.810Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-17T05:23:12.810Z] [2023-08-17T05:23:12.810Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:23:12.227Z] > git config core.sparsecheckout # timeout=10 [2023-08-17T05:23:12.292Z] > git checkout -f cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa # timeout=10 [2023-08-17T05:23:13.114Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-17T05:23:13.114Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-17T05:23:13.114Z] 5eb5b503b376: Pulling fs layer [2023-08-17T05:23:13.114Z] 5c69ac0246d0: Pulling fs layer [2023-08-17T05:23:13.114Z] ec43610c2a17: Pulling fs layer [2023-08-17T05:23:13.114Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-17T05:23:13.114Z] 33b1e0a273af: Pulling fs layer [2023-08-17T05:23:13.114Z] 5d3b04190fa2: Pulling fs layer [2023-08-17T05:23:13.114Z] 2f39f015ded8: Pulling fs layer [2023-08-17T05:23:13.114Z] 33b1e0a273af: Waiting [2023-08-17T05:23:13.114Z] 5d3b04190fa2: Waiting [2023-08-17T05:23:13.114Z] 2f39f015ded8: Waiting [2023-08-17T05:23:13.114Z] 3a2ae6a8a46f: Waiting [2023-08-17T05:23:13.114Z] 5c69ac0246d0: Verifying Checksum [2023-08-17T05:23:13.114Z] 5c69ac0246d0: Download complete [2023-08-17T05:23:13.114Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-17T05:23:13.114Z] 3a2ae6a8a46f: Download complete [2023-08-17T05:23:13.114Z] 33b1e0a273af: Verifying Checksum [2023-08-17T05:23:13.114Z] 33b1e0a273af: Download complete [2023-08-17T05:23:13.114Z] ec43610c2a17: Verifying Checksum [2023-08-17T05:23:13.114Z] ec43610c2a17: Download complete [2023-08-17T05:23:13.114Z] 5d3b04190fa2: Download complete [2023-08-17T05:23:13.151Z] [2023-08-17T05:23:13.151Z] GitHub has been notified of this commit’s build result [2023-08-17T05:23:13.151Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-17T05:23:13.373Z] 5eb5b503b376: Verifying Checksum [2023-08-17T05:23:13.373Z] 5eb5b503b376: Download complete [2023-08-17T05:23:13.692Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-17T05:23:13.692Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-17T05:23:13.692Z] Dload Upload Total Spent Left Speed [2023-08-17T05:23:13.692Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 59863 0 --:--:-- --:--:-- --:--:-- 59863 [2023-08-17T05:23:13.937Z] 2f39f015ded8: Download complete [Pipeline] sh [2023-08-17T05:23:14.303Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-17T05:23:14.504Z] 5eb5b503b376: Pull complete [2023-08-17T05:23:14.504Z] 5c69ac0246d0: Pull complete [2023-08-17T05:23:14.632Z] + sudo tee /etc/docker/daemon.new [2023-08-17T05:23:14.632Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-17T05:23:14.633Z] { [2023-08-17T05:23:14.633Z] "registry-mirrors": [ [2023-08-17T05:23:14.633Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-17T05:23:14.633Z] ], [2023-08-17T05:23:14.633Z] "bip": "10.250.0.254/24", [2023-08-17T05:23:14.633Z] "hosts": [ [2023-08-17T05:23:14.633Z] "tcp://0.0.0.0:5555", [2023-08-17T05:23:14.633Z] "unix:///var/run/docker.sock" [2023-08-17T05:23:14.633Z] ], [2023-08-17T05:23:14.633Z] "mtu": 1458, [2023-08-17T05:23:14.633Z] "selinux-enabled": true, [2023-08-17T05:23:14.633Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-17T05:23:14.633Z] } [Pipeline] sh [2023-08-17T05:23:14.965Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-17T05:23:15.071Z] ec43610c2a17: Pull complete [2023-08-17T05:23:15.071Z] 3a2ae6a8a46f: Pull complete [2023-08-17T05:23:15.071Z] 33b1e0a273af: Pull complete [2023-08-17T05:23:15.307Z] + sudo service docker restart [2023-08-17T05:23:15.327Z] 5d3b04190fa2: Pull complete [2023-08-17T05:23:19.511Z] 2f39f015ded8: Pull complete [2023-08-17T05:23:19.511Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-17T05:23:19.511Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-17T05:23:19.511Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-17T05:23:19.584Z] prd-ubuntu20.04-docker-8c-8g-3916 does not seem to be running inside a container [2023-08-17T05:23:19.611Z] $ 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 [2023-08-17T05:23:22.732Z] $ docker top 7291e889fae8bc42836c5d3a90c39d3ee3cf7022431f1c8be52414cc99910107 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-17T05:23:23.128Z] ---> job-cost.sh [2023-08-17T05:23:23.128Z] lf-activate-venv: SKIPPING [2023-08-17T05:23:23.128Z] INFO: No Stack... [2023-08-17T05:23:23.387Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-17T05:23:23.645Z] INFO: Archiving Costs [Pipeline] sh [2023-08-17T05:23:23.929Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2023-08-17T05:23:23.929Z] + cut -d, -f6 [Pipeline] lock [2023-08-17T05:23:23.941Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-132-stack-cost] [2023-08-17T05:23:23.947Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-132-stack-cost] did not exist. Created. [2023-08-17T05:23:23.947Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-132-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-17T05:23:24.248Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-17T05:23:24.278Z] Stashed 1 file(s) [Pipeline] } [2023-08-17T05:23:24.285Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-132-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-17T05:23:24.300Z] $ docker stop --time=1 7291e889fae8bc42836c5d3a90c39d3ee3cf7022431f1c8be52414cc99910107 [2023-08-17T05:23:25.457Z] $ docker rm -f --volumes 7291e889fae8bc42836c5d3a90c39d3ee3cf7022431f1c8be52414cc99910107 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-17T05:23:33.558Z] provisioning config files... [2023-08-17T05:23:33.579Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/132@tmp/config7615507836145527297tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-17T05:23:33.924Z] ---> docker-login.sh [2023-08-17T05:23:33.924Z] nexus3.edgexfoundry.org:10001 [2023-08-17T05:23:34.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-17T05:23:34.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-17T05:23:34.462Z] Configure a credential helper to remove this warning. See [2023-08-17T05:23:34.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-17T05:23:34.462Z] [2023-08-17T05:23:34.462Z] Login Succeeded [2023-08-17T05:23:34.462Z] nexus3.edgexfoundry.org:10002 [2023-08-17T05:23:34.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-17T05:23:34.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-17T05:23:34.731Z] Configure a credential helper to remove this warning. See [2023-08-17T05:23:34.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-17T05:23:34.731Z] [2023-08-17T05:23:34.731Z] Login Succeeded [2023-08-17T05:23:34.731Z] nexus3.edgexfoundry.org:10003 [2023-08-17T05:23:34.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-17T05:23:35.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-17T05:23:35.271Z] Configure a credential helper to remove this warning. See [2023-08-17T05:23:35.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-17T05:23:35.271Z] [2023-08-17T05:23:35.271Z] Login Succeeded [2023-08-17T05:23:35.271Z] nexus3.edgexfoundry.org:10004 [2023-08-17T05:23:35.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-17T05:23:35.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-17T05:23:35.542Z] Configure a credential helper to remove this warning. See [2023-08-17T05:23:35.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-17T05:23:35.542Z] [2023-08-17T05:23:35.542Z] Login Succeeded [2023-08-17T05:23:35.542Z] docker.io [2023-08-17T05:23:35.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-17T05:23:36.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-17T05:23:36.081Z] Configure a credential helper to remove this warning. See [2023-08-17T05:23:36.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-17T05:23:36.081Z] [2023-08-17T05:23:36.081Z] Login Succeeded [2023-08-17T05:23:36.081Z] ---> docker-login.sh ends [Pipeline] } [2023-08-17T05:23:36.095Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-17T05:23:36.334Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-17T05:23:36.350Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-17T05:23:36.363Z] ========================================================= [2023-08-17T05:23:36.363Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-17T05:23:36.363Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:23:36.719Z] + 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 . [2023-08-17T05:23:36.988Z] Sending build context to Docker daemon 11.91MB [2023-08-17T05:23:36.988Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-17T05:23:36.988Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-17T05:23:37.269Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-17T05:23:37.269Z] edb6bdbacee9: Pulling fs layer [2023-08-17T05:23:37.269Z] 5f9638ab2659: Pulling fs layer [2023-08-17T05:23:37.269Z] 8d51d6327a98: Pulling fs layer [2023-08-17T05:23:37.269Z] 8b374f2dd631: Pulling fs layer [2023-08-17T05:23:37.269Z] ec14aa9079de: Pulling fs layer [2023-08-17T05:23:37.269Z] 2f466654f4bb: Pulling fs layer [2023-08-17T05:23:37.269Z] 554e91adad29: Pulling fs layer [2023-08-17T05:23:37.269Z] 8b374f2dd631: Waiting [2023-08-17T05:23:37.269Z] ec14aa9079de: Waiting [2023-08-17T05:23:37.269Z] 2f466654f4bb: Waiting [2023-08-17T05:23:37.269Z] 554e91adad29: Waiting [2023-08-17T05:23:37.269Z] 5f9638ab2659: Verifying Checksum [2023-08-17T05:23:37.269Z] 5f9638ab2659: Download complete [2023-08-17T05:23:37.269Z] 8b374f2dd631: Verifying Checksum [2023-08-17T05:23:37.269Z] 8b374f2dd631: Download complete [2023-08-17T05:23:37.269Z] ec14aa9079de: Verifying Checksum [2023-08-17T05:23:37.269Z] ec14aa9079de: Download complete [2023-08-17T05:23:37.269Z] edb6bdbacee9: Verifying Checksum [2023-08-17T05:23:37.269Z] edb6bdbacee9: Download complete [2023-08-17T05:23:38.686Z] edb6bdbacee9: Pull complete [2023-08-17T05:23:38.686Z] 554e91adad29: Verifying Checksum [2023-08-17T05:23:38.686Z] 554e91adad29: Download complete [2023-08-17T05:23:38.954Z] 5f9638ab2659: Pull complete [2023-08-17T05:23:39.926Z] 8d51d6327a98: Download complete [2023-08-17T05:23:39.926Z] 2f466654f4bb: Verifying Checksum [2023-08-17T05:23:39.926Z] 2f466654f4bb: Download complete [2023-08-17T05:23:51.499Z] 8d51d6327a98: Pull complete [2023-08-17T05:23:51.499Z] 8b374f2dd631: Pull complete [2023-08-17T05:23:51.499Z] ec14aa9079de: Pull complete [2023-08-17T05:23:59.738Z] 2f466654f4bb: Pull complete [2023-08-17T05:24:00.703Z] 554e91adad29: Pull complete [2023-08-17T05:24:00.703Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-17T05:24:00.703Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-17T05:24:00.703Z] ---> 1e15ea492957 [2023-08-17T05:24:00.703Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-17T05:24:02.662Z] ---> Running in cd1fc573c556 [2023-08-17T05:24:02.662Z] Removing intermediate container cd1fc573c556 [2023-08-17T05:24:02.662Z] ---> ce5acb7d9f96 [2023-08-17T05:24:02.662Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-17T05:24:02.931Z] ---> Running in ca2f2668487e [2023-08-17T05:24:03.197Z] Removing intermediate container ca2f2668487e [2023-08-17T05:24:03.197Z] ---> 7bea13654bb0 [2023-08-17T05:24:03.197Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-08-17T05:24:03.197Z] ---> Running in 8641010a28e5 [2023-08-17T05:24:03.462Z] Removing intermediate container 8641010a28e5 [2023-08-17T05:24:03.462Z] ---> 3995d394faac [2023-08-17T05:24:03.462Z] Step 6/12 : WORKDIR /device-virtual-go [2023-08-17T05:24:03.462Z] ---> Running in dbe3ad9bb941 [2023-08-17T05:24:03.731Z] Removing intermediate container dbe3ad9bb941 [2023-08-17T05:24:03.731Z] ---> 832d2c80550c [2023-08-17T05:24:03.731Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-17T05:24:03.999Z] ---> Running in 5445f52eec9a [2023-08-17T05:24:04.960Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-17T05:24:05.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-17T05:24:06.619Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-17T05:24:06.619Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-17T05:24:06.619Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-17T05:24:06.619Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-17T05:24:06.619Z] Executing busybox-1.35.0-r29.trigger [2023-08-17T05:24:06.619Z] OK: 268 MiB in 57 packages [2023-08-17T05:24:07.612Z] Removing intermediate container 5445f52eec9a [2023-08-17T05:24:07.612Z] ---> 10b6a2761bc1 [2023-08-17T05:24:07.612Z] Step 8/12 : COPY go.mod vendor* ./ [2023-08-17T05:24:08.201Z] ---> 0daf72bb973d [2023-08-17T05:24:08.201Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-17T05:24:08.201Z] ---> Running in 250e0d79ab9e [2023-08-17T05:25:16.087Z] Removing intermediate container 250e0d79ab9e [2023-08-17T05:25:16.087Z] ---> d10f2313e4e0 [2023-08-17T05:25:16.087Z] Step 10/12 : COPY . . [2023-08-17T05:25:16.087Z] ---> 54d203a5221d [2023-08-17T05:25:16.087Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-17T05:25:16.087Z] ---> Running in 09c6eda86e4d [2023-08-17T05:25:16.087Z] Removing intermediate container 09c6eda86e4d [2023-08-17T05:25:16.087Z] ---> 59f60a612769 [2023-08-17T05:25:16.087Z] Step 12/12 : RUN $MAKE [2023-08-17T05:25:16.087Z] ---> Running in be1f733f3e0b [2023-08-17T05:25:16.087Z] noop [2023-08-17T05:25:16.087Z] Removing intermediate container be1f733f3e0b [2023-08-17T05:25:16.087Z] ---> 569e8ec1e86b [2023-08-17T05:25:16.087Z] Successfully built 569e8ec1e86b [2023-08-17T05:25:16.087Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:25:16.439Z] + docker inspect -f . ci-base-image-arm64 [2023-08-17T05:25:16.439Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-17T05:25:16.641Z] prd-ubuntu20.04-docker-arm64-4c-16g-3918 does not seem to be running inside a container [2023-08-17T05:25:16.701Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/132 -v /w/workspace/device-virtual-go/132:/w/workspace/device-virtual-go/132:rw,z -v /w/workspace/device-virtual-go/132@tmp:/w/workspace/device-virtual-go/132@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 [2023-08-17T05:25:17.849Z] $ docker top e22c7eb7bb03ecdd86be629d917cb04db1a94056a6cf0a79fdb7a942610db829 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-17T05:25:18.667Z] + go version [2023-08-17T05:25:18.667Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-17T05:25:18.683Z] $ docker stop --time=1 e22c7eb7bb03ecdd86be629d917cb04db1a94056a6cf0a79fdb7a942610db829 [2023-08-17T05:25:21.956Z] $ docker rm -f --volumes e22c7eb7bb03ecdd86be629d917cb04db1a94056a6cf0a79fdb7a942610db829 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:25:22.477Z] + docker inspect -f . ci-base-image-arm64 [2023-08-17T05:25:22.477Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-17T05:25:22.650Z] prd-ubuntu20.04-docker-arm64-4c-16g-3918 does not seem to be running inside a container [2023-08-17T05:25:22.711Z] $ 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/132 -v /w/workspace/device-virtual-go/132:/w/workspace/device-virtual-go/132:rw,z -v /w/workspace/device-virtual-go/132@tmp:/w/workspace/device-virtual-go/132@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 [2023-08-17T05:25:23.830Z] $ docker top b32beac6178283210fd3829a8d3914c96e4b5bb9aeb84630c6ca39339fcfead7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-17T05:25:24.333Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/132 [Pipeline] fileExists [Pipeline] sh [2023-08-17T05:25:24.927Z] + make test [2023-08-17T05:25:24.927Z] go test ./... -coverprofile=coverage.out [2023-08-17T05:25:57.155Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-08-17T05:27:48.821Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-08-17T05:27:48.821Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.083s coverage: 58.4% of statements [2023-08-17T05:27:48.821Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-17T05:27:48.821Z] go vet ./... [2023-08-17T05:28:21.535Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-17T05:28:21.535Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-17T05:28:21.535Z] ./bin/test-attribution-txt.sh [2023-08-17T05:28:21.535Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-17T05:28:21.535Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-08-17T05:28:21.535Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-17T05:28:21.535Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-17T05:28:21.535Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-17T05:28:21.535Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-17T05:28:21.553Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-17T05:28:21.561Z] $ docker stop --time=1 b32beac6178283210fd3829a8d3914c96e4b5bb9aeb84630c6ca39339fcfead7 [2023-08-17T05:28:23.341Z] $ docker rm -f --volumes b32beac6178283210fd3829a8d3914c96e4b5bb9aeb84630c6ca39339fcfead7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-17T05:28:24.441Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-17T05:28:24.461Z] Warning: overwriting stash ‘coverage-report’ [2023-08-17T05:28:24.887Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-17T05:28:25.264Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-17T05:28:25.578Z] + ls -al . [2023-08-17T05:28:25.578Z] total 200 [2023-08-17T05:28:25.578Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 17 05:25 . [2023-08-17T05:28:25.578Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 05:23 .. [2023-08-17T05:28:25.578Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 17 05:23 .git [2023-08-17T05:28:25.578Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 17 05:23 .github [2023-08-17T05:28:25.578Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 17 05:23 .gitignore [2023-08-17T05:28:25.578Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 17 05:23 .golangci.yml [2023-08-17T05:28:25.578Z] -rw-rw-r-- 1 jenkins jenkins 8950 Aug 17 05:23 Attribution.txt [2023-08-17T05:28:25.578Z] -rw-rw-r-- 1 jenkins jenkins 14372 Aug 17 05:23 CHANGELOG.md [2023-08-17T05:28:25.578Z] -rw-rw-r-- 1 jenkins jenkins 1646 Aug 17 05:23 Dockerfile [2023-08-17T05:28:25.578Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 17 05:23 GOVERNANCE.md [2023-08-17T05:28:25.578Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 17 05:23 Jenkinsfile [2023-08-17T05:28:25.578Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 17 05:23 LICENSE [2023-08-17T05:28:25.578Z] -rw-rw-r-- 1 jenkins jenkins 1947 Aug 17 05:23 Makefile [2023-08-17T05:28:25.578Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 17 05:23 OWNERS.md [2023-08-17T05:28:25.578Z] -rw-rw-r-- 1 jenkins jenkins 4111 Aug 17 05:23 README.md [2023-08-17T05:28:25.578Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 17 05:21 VERSION [2023-08-17T05:28:25.578Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 05:23 bin [2023-08-17T05:28:25.578Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 17 05:23 cmd [2023-08-17T05:28:25.578Z] -rw-r--r-- 1 jenkins jenkins 43063 Aug 17 05:27 coverage.out [2023-08-17T05:28:25.578Z] -rw-rw-r-- 1 jenkins jenkins 3636 Aug 17 05:23 go.mod [2023-08-17T05:28:25.578Z] -rw-rw-r-- 1 jenkins jenkins 33427 Aug 17 05:23 go.sum [2023-08-17T05:28:25.578Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 17 05:23 internal [2023-08-17T05:28:25.578Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 05:23 snap [2023-08-17T05:28:25.578Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 17 05:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:28:25.909Z] + 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=cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa --label arch=arm64 --label version=3.1.0-dev.6 . [2023-08-17T05:28:26.177Z] Sending build context to Docker daemon 11.95MB [2023-08-17T05:28:26.177Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-17T05:28:26.177Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-17T05:28:26.177Z] ---> 569e8ec1e86b [2023-08-17T05:28:26.177Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-17T05:28:26.444Z] ---> Running in 1a722ebc4ed0 [2023-08-17T05:28:26.711Z] Removing intermediate container 1a722ebc4ed0 [2023-08-17T05:28:26.711Z] ---> 1f014025a017 [2023-08-17T05:28:26.711Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-17T05:28:26.711Z] ---> Running in 8d58269d9b51 [2023-08-17T05:28:26.979Z] Removing intermediate container 8d58269d9b51 [2023-08-17T05:28:26.979Z] ---> 334f210d7964 [2023-08-17T05:28:26.979Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-08-17T05:28:26.979Z] ---> Running in 3379d3fb15d2 [2023-08-17T05:28:27.247Z] Removing intermediate container 3379d3fb15d2 [2023-08-17T05:28:27.247Z] ---> 58f010761ffc [2023-08-17T05:28:27.247Z] Step 6/25 : WORKDIR /device-virtual-go [2023-08-17T05:28:27.247Z] ---> Running in 3c7aec01ee7f [2023-08-17T05:28:27.514Z] Removing intermediate container 3c7aec01ee7f [2023-08-17T05:28:27.514Z] ---> 305f066dca89 [2023-08-17T05:28:27.514Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-17T05:28:27.783Z] ---> Running in 64824b7c9a56 [2023-08-17T05:28:28.747Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-17T05:28:29.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-17T05:28:30.296Z] OK: 268 MiB in 57 packages [2023-08-17T05:28:32.246Z] Removing intermediate container 64824b7c9a56 [2023-08-17T05:28:32.246Z] ---> c93e602f41df [2023-08-17T05:28:32.246Z] Step 8/25 : COPY go.mod vendor* ./ [2023-08-17T05:28:32.246Z] ---> 2206258874de [2023-08-17T05:28:32.246Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-17T05:28:32.541Z] ---> Running in b3ded2d929ac [2023-08-17T05:28:35.146Z] Removing intermediate container b3ded2d929ac [2023-08-17T05:28:35.146Z] ---> 0031cd17d255 [2023-08-17T05:28:35.146Z] Step 10/25 : COPY . . [2023-08-17T05:28:35.732Z] ---> 7bd2e5f67569 [2023-08-17T05:28:35.732Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-17T05:28:35.732Z] ---> Running in d4f24fdc4c25 [2023-08-17T05:28:36.003Z] Removing intermediate container d4f24fdc4c25 [2023-08-17T05:28:36.003Z] ---> 6a6b2221e4f3 [2023-08-17T05:28:36.003Z] Step 12/25 : RUN $MAKE [2023-08-17T05:28:36.272Z] ---> Running in 2fae328f9adc [2023-08-17T05:28:37.099Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.13" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-08-17T05:30:43.765Z] Removing intermediate container 2fae328f9adc [2023-08-17T05:30:43.765Z] ---> 8093399026a4 [2023-08-17T05:30:43.765Z] Step 13/25 : FROM alpine:3.17 [2023-08-17T05:30:43.765Z] 3.17: Pulling from library/alpine [2023-08-17T05:30:44.033Z] 4060ece20d7a: Pulling fs layer [2023-08-17T05:30:44.033Z] 4060ece20d7a: Verifying Checksum [2023-08-17T05:30:44.033Z] 4060ece20d7a: Download complete [2023-08-17T05:30:44.615Z] 4060ece20d7a: Pull complete [2023-08-17T05:30:44.615Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-17T05:30:44.615Z] Status: Downloaded newer image for alpine:3.17 [2023-08-17T05:30:44.615Z] ---> 8650cd65339b [2023-08-17T05:30:44.615Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-08-17T05:30:46.556Z] ---> Running in 63903906ebc9 [2023-08-17T05:30:46.556Z] Removing intermediate container 63903906ebc9 [2023-08-17T05:30:46.556Z] ---> 1fc64df623c2 [2023-08-17T05:30:46.556Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-08-17T05:30:46.556Z] ---> Running in 6d1aca8fb78f [2023-08-17T05:30:47.518Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-17T05:30:48.101Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-17T05:30:49.061Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-17T05:30:49.061Z] Executing busybox-1.35.0-r29.trigger [2023-08-17T05:30:49.061Z] OK: 8 MiB in 16 packages [2023-08-17T05:30:50.024Z] Removing intermediate container 6d1aca8fb78f [2023-08-17T05:30:50.024Z] ---> c0d35c11b19b [2023-08-17T05:30:50.024Z] Step 16/25 : WORKDIR / [2023-08-17T05:30:50.024Z] ---> Running in 0ceaeb17570e [2023-08-17T05:30:50.289Z] Removing intermediate container 0ceaeb17570e [2023-08-17T05:30:50.289Z] ---> 040d1322faa6 [2023-08-17T05:30:50.289Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-08-17T05:30:50.872Z] ---> 08cf94bb73e7 [2023-08-17T05:30:50.872Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-08-17T05:30:51.138Z] ---> a6727ef57b4f [2023-08-17T05:30:51.138Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-08-17T05:30:52.546Z] ---> 73869d056173 [2023-08-17T05:30:52.546Z] Step 20/25 : EXPOSE 59900 [2023-08-17T05:30:52.813Z] ---> Running in cd69ceaaeb10 [2023-08-17T05:30:53.080Z] Removing intermediate container cd69ceaaeb10 [2023-08-17T05:30:53.080Z] ---> c424018422f3 [2023-08-17T05:30:53.080Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-08-17T05:30:53.080Z] ---> Running in 45a3b8709ba1 [2023-08-17T05:30:53.346Z] Removing intermediate container 45a3b8709ba1 [2023-08-17T05:30:53.346Z] ---> 809078ad5ee4 [2023-08-17T05:30:53.346Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-17T05:30:53.346Z] ---> Running in 736611f195a9 [2023-08-17T05:30:53.612Z] Removing intermediate container 736611f195a9 [2023-08-17T05:30:53.612Z] ---> ddd01cb6b816 [2023-08-17T05:30:53.612Z] Step 23/25 : LABEL arch=arm64 [2023-08-17T05:30:53.612Z] ---> Running in 5059f7a2185c [2023-08-17T05:30:53.883Z] Removing intermediate container 5059f7a2185c [2023-08-17T05:30:53.883Z] ---> 5fdb34baf62c [2023-08-17T05:30:53.883Z] Step 24/25 : LABEL git_sha=cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa [2023-08-17T05:30:54.152Z] ---> Running in 4c5002a840c8 [2023-08-17T05:30:54.425Z] Removing intermediate container 4c5002a840c8 [2023-08-17T05:30:54.425Z] ---> e1f8bc090bdc [2023-08-17T05:30:54.425Z] Step 25/25 : LABEL version=3.1.0-dev.6 [2023-08-17T05:30:54.425Z] ---> Running in d3d2195bd76b [2023-08-17T05:30:54.689Z] Removing intermediate container d3d2195bd76b [2023-08-17T05:30:54.689Z] ---> 87d3b31b124d [2023-08-17T05:30:54.689Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-17T05:30:54.689Z] Successfully built 87d3b31b124d [2023-08-17T05:30:54.689Z] 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 [2023-08-17T05:30:54.818Z] provisioning config files... [2023-08-17T05:30:54.831Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/132@tmp/config12448753975901053302tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-17T05:30:55.161Z] ---> docker-login.sh [2023-08-17T05:30:55.161Z] nexus3.edgexfoundry.org:10001 [2023-08-17T05:30:55.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-17T05:30:55.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-17T05:30:55.428Z] Configure a credential helper to remove this warning. See [2023-08-17T05:30:55.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-17T05:30:55.428Z] [2023-08-17T05:30:55.428Z] Login Succeeded [2023-08-17T05:30:55.428Z] nexus3.edgexfoundry.org:10002 [2023-08-17T05:30:55.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-17T05:30:55.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-17T05:30:55.696Z] Configure a credential helper to remove this warning. See [2023-08-17T05:30:55.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-17T05:30:55.696Z] [2023-08-17T05:30:55.696Z] Login Succeeded [2023-08-17T05:30:55.696Z] nexus3.edgexfoundry.org:10003 [2023-08-17T05:30:55.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-17T05:30:55.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-17T05:30:55.962Z] Configure a credential helper to remove this warning. See [2023-08-17T05:30:55.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-17T05:30:55.962Z] [2023-08-17T05:30:55.962Z] Login Succeeded [2023-08-17T05:30:56.228Z] nexus3.edgexfoundry.org:10004 [2023-08-17T05:30:56.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-17T05:30:56.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-17T05:30:56.497Z] Configure a credential helper to remove this warning. See [2023-08-17T05:30:56.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-17T05:30:56.497Z] [2023-08-17T05:30:56.497Z] Login Succeeded [2023-08-17T05:30:56.497Z] docker.io [2023-08-17T05:30:56.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-17T05:30:57.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-17T05:30:57.029Z] Configure a credential helper to remove this warning. See [2023-08-17T05:30:57.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-17T05:30:57.029Z] [2023-08-17T05:30:57.029Z] Login Succeeded [2023-08-17T05:30:57.029Z] ---> docker-login.sh ends [Pipeline] } [2023-08-17T05:30:57.041Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-17T05:30:57.081Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-17T05:30:57.103Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-08-17T05:30:57.103Z] cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa [2023-08-17T05:30:57.103Z] latest [2023-08-17T05:30:57.103Z] 3.1.0-dev.6 [2023-08-17T05:30:57.103Z] cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa-3.1.0-dev.6 [2023-08-17T05:30:57.103Z] main [2023-08-17T05:30:57.103Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:30:57.461Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:30:57.807Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa [2023-08-17T05:30:57.807Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-08-17T05:30:57.807Z] 97dc36351017: Preparing [2023-08-17T05:30:57.807Z] 182b55049afd: Preparing [2023-08-17T05:30:57.807Z] f248839bcb92: Preparing [2023-08-17T05:30:57.807Z] b6c85bf37c43: Preparing [2023-08-17T05:30:57.807Z] d2d9d24a8c2a: Preparing [2023-08-17T05:30:58.074Z] 182b55049afd: Pushed [2023-08-17T05:30:58.074Z] f248839bcb92: Pushed [2023-08-17T05:30:58.074Z] b6c85bf37c43: Pushed [2023-08-17T05:31:00.709Z] d2d9d24a8c2a: Layer already exists [2023-08-17T05:31:03.318Z] 97dc36351017: Pushed [2023-08-17T05:31:03.318Z] cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa: digest: sha256:2e437d895e48cb8440f126d9cac7aec0a3e474581a9da702dc2de817ae8a4fb8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:31:03.677Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:31:04.015Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-08-17T05:31:04.015Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-08-17T05:31:04.015Z] 97dc36351017: Preparing [2023-08-17T05:31:04.015Z] 182b55049afd: Preparing [2023-08-17T05:31:04.015Z] f248839bcb92: Preparing [2023-08-17T05:31:04.015Z] b6c85bf37c43: Preparing [2023-08-17T05:31:04.015Z] d2d9d24a8c2a: Preparing [2023-08-17T05:31:04.015Z] f248839bcb92: Layer already exists [2023-08-17T05:31:04.015Z] b6c85bf37c43: Layer already exists [2023-08-17T05:31:04.015Z] 97dc36351017: Layer already exists [2023-08-17T05:31:04.015Z] d2d9d24a8c2a: Layer already exists [2023-08-17T05:31:04.015Z] 182b55049afd: Layer already exists [2023-08-17T05:31:04.015Z] latest: digest: sha256:2e437d895e48cb8440f126d9cac7aec0a3e474581a9da702dc2de817ae8a4fb8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:31:04.623Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:31:04.959Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.6 [2023-08-17T05:31:04.959Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-08-17T05:31:04.959Z] 97dc36351017: Preparing [2023-08-17T05:31:04.959Z] 182b55049afd: Preparing [2023-08-17T05:31:04.959Z] f248839bcb92: Preparing [2023-08-17T05:31:04.959Z] b6c85bf37c43: Preparing [2023-08-17T05:31:04.959Z] d2d9d24a8c2a: Preparing [2023-08-17T05:31:04.959Z] f248839bcb92: Layer already exists [2023-08-17T05:31:04.959Z] d2d9d24a8c2a: Layer already exists [2023-08-17T05:31:04.959Z] 97dc36351017: Layer already exists [2023-08-17T05:31:04.959Z] 182b55049afd: Layer already exists [2023-08-17T05:31:04.959Z] b6c85bf37c43: Layer already exists [2023-08-17T05:31:04.959Z] 3.1.0-dev.6: digest: sha256:2e437d895e48cb8440f126d9cac7aec0a3e474581a9da702dc2de817ae8a4fb8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:31:05.307Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa-3.1.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:31:05.645Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa-3.1.0-dev.6 [2023-08-17T05:31:05.645Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-08-17T05:31:05.645Z] 97dc36351017: Preparing [2023-08-17T05:31:05.645Z] 182b55049afd: Preparing [2023-08-17T05:31:05.645Z] f248839bcb92: Preparing [2023-08-17T05:31:05.645Z] b6c85bf37c43: Preparing [2023-08-17T05:31:05.645Z] d2d9d24a8c2a: Preparing [2023-08-17T05:31:05.645Z] f248839bcb92: Layer already exists [2023-08-17T05:31:05.645Z] d2d9d24a8c2a: Layer already exists [2023-08-17T05:31:05.645Z] 97dc36351017: Layer already exists [2023-08-17T05:31:05.645Z] b6c85bf37c43: Layer already exists [2023-08-17T05:31:05.645Z] 182b55049afd: Layer already exists [2023-08-17T05:31:05.645Z] cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa-3.1.0-dev.6: digest: sha256:2e437d895e48cb8440f126d9cac7aec0a3e474581a9da702dc2de817ae8a4fb8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:31:05.989Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:31:06.326Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-08-17T05:31:06.326Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-08-17T05:31:06.326Z] 97dc36351017: Preparing [2023-08-17T05:31:06.326Z] 182b55049afd: Preparing [2023-08-17T05:31:06.326Z] f248839bcb92: Preparing [2023-08-17T05:31:06.326Z] b6c85bf37c43: Preparing [2023-08-17T05:31:06.326Z] d2d9d24a8c2a: Preparing [2023-08-17T05:31:06.326Z] f248839bcb92: Layer already exists [2023-08-17T05:31:06.326Z] 182b55049afd: Layer already exists [2023-08-17T05:31:06.326Z] d2d9d24a8c2a: Layer already exists [2023-08-17T05:31:06.326Z] 97dc36351017: Layer already exists [2023-08-17T05:31:06.326Z] b6c85bf37c43: Layer already exists [2023-08-17T05:31:06.326Z] main: digest: sha256:2e437d895e48cb8440f126d9cac7aec0a3e474581a9da702dc2de817ae8a4fb8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-17T05:31:06.388Z] ===================================================== [Pipeline] echo [2023-08-17T05:31:06.398Z] taggedImages: [2023-08-17T05:31:06.398Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa [2023-08-17T05:31:06.398Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-08-17T05:31:06.398Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.6 [2023-08-17T05:31:06.398Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa-3.1.0-dev.6 [2023-08-17T05:31:06.398Z] - 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 [2023-08-17T05:31:06.756Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-17T05:31:06.756Z] [2023-08-17T05:31:06.756Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:31:07.082Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-17T05:31:07.082Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-17T05:31:07.082Z] 8998bd30e6a1: Pulling fs layer [2023-08-17T05:31:07.082Z] 04944245beec: Pulling fs layer [2023-08-17T05:31:07.082Z] 699f458cf7ca: Pulling fs layer [2023-08-17T05:31:07.082Z] 765212b225bb: Pulling fs layer [2023-08-17T05:31:07.082Z] f23df028b6ca: Pulling fs layer [2023-08-17T05:31:07.082Z] d65c8cfc05b1: Pulling fs layer [2023-08-17T05:31:07.082Z] 2437ff75d9bd: Pulling fs layer [2023-08-17T05:31:07.083Z] d65c8cfc05b1: Waiting [2023-08-17T05:31:07.083Z] 765212b225bb: Waiting [2023-08-17T05:31:07.083Z] f23df028b6ca: Waiting [2023-08-17T05:31:07.083Z] 2437ff75d9bd: Waiting [2023-08-17T05:31:07.348Z] 04944245beec: Verifying Checksum [2023-08-17T05:31:07.348Z] 04944245beec: Download complete [2023-08-17T05:31:07.348Z] 765212b225bb: Verifying Checksum [2023-08-17T05:31:07.348Z] 765212b225bb: Download complete [2023-08-17T05:31:07.348Z] f23df028b6ca: Verifying Checksum [2023-08-17T05:31:07.348Z] f23df028b6ca: Download complete [2023-08-17T05:31:07.348Z] d65c8cfc05b1: Verifying Checksum [2023-08-17T05:31:07.348Z] d65c8cfc05b1: Download complete [2023-08-17T05:31:07.348Z] 699f458cf7ca: Verifying Checksum [2023-08-17T05:31:07.348Z] 699f458cf7ca: Download complete [2023-08-17T05:31:07.926Z] 8998bd30e6a1: Verifying Checksum [2023-08-17T05:31:07.926Z] 8998bd30e6a1: Download complete [2023-08-17T05:31:09.861Z] 2437ff75d9bd: Verifying Checksum [2023-08-17T05:31:09.861Z] 2437ff75d9bd: Download complete [2023-08-17T05:31:11.804Z] 8998bd30e6a1: Pull complete [2023-08-17T05:31:12.072Z] 04944245beec: Pull complete [2023-08-17T05:31:13.480Z] 699f458cf7ca: Pull complete [2023-08-17T05:31:13.480Z] 765212b225bb: Pull complete [2023-08-17T05:31:14.438Z] f23df028b6ca: Pull complete [2023-08-17T05:31:14.438Z] d65c8cfc05b1: Pull complete [2023-08-17T05:31:29.428Z] 2437ff75d9bd: Pull complete [2023-08-17T05:31:29.428Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-17T05:31:29.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-17T05:31:29.428Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-17T05:31:29.607Z] prd-ubuntu20.04-docker-arm64-4c-16g-3918 does not seem to be running inside a container [2023-08-17T05:31:29.663Z] $ 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/132 -v /w/workspace/device-virtual-go/132:/w/workspace/device-virtual-go/132:rw,z -v /w/workspace/device-virtual-go/132@tmp:/w/workspace/device-virtual-go/132@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 [2023-08-17T05:31:32.029Z] $ docker top b40a835ce3cfeb6f73dae5be61da54c668191aa127ca5a2b10a4b65fff26fe9e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-17T05:31:32.530Z] ---> job-cost.sh [2023-08-17T05:31:32.796Z] lf-activate-venv: SKIPPING [2023-08-17T05:31:32.796Z] INFO: No Stack... [2023-08-17T05:31:33.062Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-17T05:31:34.015Z] INFO: Archiving Costs [Pipeline] sh [2023-08-17T05:31:34.326Z] + cat /w/workspace/device-virtual-go/132/archives/cost.csv [2023-08-17T05:31:34.326Z] + cut -d, -f6 [Pipeline] lock [2023-08-17T05:31:34.382Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-132-stack-cost] [2023-08-17T05:31:34.389Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-132-stack-cost] did not exist. Created. [2023-08-17T05:31:34.389Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-132-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-17T05:31:34.713Z] /w/workspace/device-virtual-go/132@tmp/durable-057e6d85/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-17T05:31:35.040Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-17T05:31:35.060Z] Warning: overwriting stash ‘stack-cost’ [2023-08-17T05:31:35.110Z] Stashed 1 file(s) [Pipeline] } [2023-08-17T05:31:35.117Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-132-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-17T05:31:35.131Z] $ docker stop --time=1 b40a835ce3cfeb6f73dae5be61da54c668191aa127ca5a2b10a4b65fff26fe9e [2023-08-17T05:31:36.589Z] $ docker rm -f --volumes b40a835ce3cfeb6f73dae5be61da54c668191aa127ca5a2b10a4b65fff26fe9e [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 [2023-08-17T05:31:36.963Z] provisioning config files... [2023-08-17T05:31:36.970Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11069779174007675189tmp [Pipeline] { [Pipeline] sh [2023-08-17T05:31:37.259Z] + set +x [2023-08-17T05:31:37.259Z] + curl -s https://codecov.io/bash [2023-08-17T05:31:37.259Z] + bash -s -- [2023-08-17T05:31:37.517Z] [2023-08-17T05:31:37.517Z] _____ _ [2023-08-17T05:31:37.517Z] / ____| | | [2023-08-17T05:31:37.517Z] | | ___ __| | ___ ___ _____ __ [2023-08-17T05:31:37.517Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-17T05:31:37.517Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-17T05:31:37.518Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-17T05:31:37.518Z] Bash-1.0.6 [2023-08-17T05:31:37.518Z] [2023-08-17T05:31:37.518Z] [2023-08-17T05:31:37.518Z] ==> git version 2.25.1 found [2023-08-17T05:31:37.518Z] ==> 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 [2023-08-17T05:31:37.518Z] Release-Date: 2020-01-08 [2023-08-17T05:31:37.518Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-08-17T05:31:37.518Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-17T05:31:37.518Z] ==> Jenkins CI detected. [2023-08-17T05:31:37.518Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-08-17T05:31:37.518Z] project root: . [2023-08-17T05:31:37.518Z] --> token set from env [2023-08-17T05:31:37.518Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-17T05:31:37.518Z] ==> Running gcov in . (disable via -X gcov) [2023-08-17T05:31:37.518Z] ==> Python coveragepy not found [2023-08-17T05:31:37.518Z] ==> Searching for coverage reports in: [2023-08-17T05:31:37.518Z] + . [2023-08-17T05:31:37.518Z] -> Found 1 reports [2023-08-17T05:31:37.518Z] ==> Detecting git/mercurial file structure [2023-08-17T05:31:37.518Z] ==> Reading reports [2023-08-17T05:31:37.518Z] + ./coverage.out bytes=43063 [2023-08-17T05:31:37.518Z] ==> Appending adjustments [2023-08-17T05:31:37.518Z] https://docs.codecov.io/docs/fixing-reports [2023-08-17T05:31:37.777Z] + Found adjustments [2023-08-17T05:31:37.777Z] ==> Gzipping contents [2023-08-17T05:31:37.777Z] 8.0K /tmp/codecov.8fRAcu.gz [2023-08-17T05:31:37.777Z] ==> Uploading reports [2023-08-17T05:31:37.777Z] url: https://codecov.io [2023-08-17T05:31:37.777Z] query: branch=main&commit=cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa&build=132&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F132%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-17T05:31:37.777Z] -> Pinging Codecov [2023-08-17T05:31:37.777Z] 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=cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa&build=132&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F132%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-17T05:31:37.777Z] -> Uploading to [2023-08-17T05:31:37.777Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-17/5E52B4B073DB2E39498172D8E973AA87/cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa/8ce3b7c4-0c59-4efd-8fb1-3bb61eaedcb0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230817%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230817T053137Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=101d0250ecc36316a5a653e7954e2b7e2b99cade2e88dfe32aa97b4b10c65b0e [2023-08-17T05:31:37.777Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-17T05:31:37.777Z] Dload Upload Total Spent Left Speed [2023-08-17T05:31:38.036Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 23563 --:--:-- --:--:-- --:--:-- 23563 [2023-08-17T05:31:38.036Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa [Pipeline] } [2023-08-17T05:31:38.043Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-17T05:31:38.258Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-17T05:31:38.267Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:31:38.559Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-17T05:31:38.559Z] [2023-08-17T05:31:38.559Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:31:38.852Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-17T05:31:38.852Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-17T05:31:38.852Z] df9b9388f04a: Pulling fs layer [2023-08-17T05:31:38.852Z] 52dc419b0ee2: Pulling fs layer [2023-08-17T05:31:38.852Z] 25bc292e5bac: Pulling fs layer [2023-08-17T05:31:38.852Z] 114826534d7a: Pulling fs layer [2023-08-17T05:31:38.852Z] 4657fd5d0bcf: Pulling fs layer [2023-08-17T05:31:38.852Z] 6ad1cebc031e: Pulling fs layer [2023-08-17T05:31:38.852Z] 8a3aa393b2d8: Pulling fs layer [2023-08-17T05:31:38.852Z] 6ad1cebc031e: Waiting [2023-08-17T05:31:38.852Z] 8a3aa393b2d8: Waiting [2023-08-17T05:31:38.852Z] 114826534d7a: Waiting [2023-08-17T05:31:38.852Z] 4657fd5d0bcf: Waiting [2023-08-17T05:31:38.852Z] 25bc292e5bac: Verifying Checksum [2023-08-17T05:31:38.852Z] 25bc292e5bac: Download complete [2023-08-17T05:31:38.852Z] 52dc419b0ee2: Download complete [2023-08-17T05:31:38.852Z] 4657fd5d0bcf: Verifying Checksum [2023-08-17T05:31:38.852Z] 4657fd5d0bcf: Download complete [2023-08-17T05:31:38.852Z] df9b9388f04a: Download complete [2023-08-17T05:31:39.113Z] df9b9388f04a: Pull complete [2023-08-17T05:31:39.113Z] 6ad1cebc031e: Verifying Checksum [2023-08-17T05:31:39.113Z] 6ad1cebc031e: Download complete [2023-08-17T05:31:39.113Z] 52dc419b0ee2: Pull complete [2023-08-17T05:31:39.113Z] 25bc292e5bac: Pull complete [2023-08-17T05:31:39.678Z] 114826534d7a: Verifying Checksum [2023-08-17T05:31:39.678Z] 114826534d7a: Download complete [2023-08-17T05:31:40.244Z] 8a3aa393b2d8: Verifying Checksum [2023-08-17T05:31:40.244Z] 8a3aa393b2d8: Download complete [2023-08-17T05:31:43.528Z] 114826534d7a: Pull complete [2023-08-17T05:31:43.528Z] 4657fd5d0bcf: Pull complete [2023-08-17T05:31:43.528Z] 6ad1cebc031e: Pull complete [2023-08-17T05:31:46.054Z] 8a3aa393b2d8: Pull complete [2023-08-17T05:31:46.054Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-17T05:31:46.054Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-17T05:31:46.054Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-17T05:31:46.132Z] prd-ubuntu20.04-docker-8c-8g-3916 does not seem to be running inside a container [2023-08-17T05:31:46.157Z] $ 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 [2023-08-17T05:31:50.470Z] $ docker top c2e1d011c286cd6462e6935f9688ba935f031dd289067057386a52f7a0bd9ae9 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-17T05:31:50.541Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-08-17T05:31:50.818Z] + set -o pipefail [2023-08-17T05:31:50.818Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-08-17T05:31:56.096Z] [2023-08-17T05:31:56.096Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-08-17T05:31:56.096Z] [2023-08-17T05:31:56.096Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/b4ee8830-995d-4bea-92a9-1ac987407459 [2023-08-17T05:31:56.096Z] [2023-08-17T05:31:56.096Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-08-17T05:31:56.096Z] [2023-08-17T05:31:56.096Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-17T05:31:56.096Z] [2023-08-17T05:31:56.662Z] [2023-08-17T05:31:56.663Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-17T05:31:56.663Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-17T05:31:56.663Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-08-17T05:31:56.667Z] $ docker stop --time=1 c2e1d011c286cd6462e6935f9688ba935f031dd289067057386a52f7a0bd9ae9 [2023-08-17T05:32:00.426Z] $ docker rm -f --volumes c2e1d011c286cd6462e6935f9688ba935f031dd289067057386a52f7a0bd9ae9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-17T05:32:01.171Z] + git log --format=format:%s -1 cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa [Pipeline] sh [2023-08-17T05:32:01.459Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-17T05:32:01.459Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:32:01.760Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-17T05:32:01.760Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-17T05:32:01.835Z] prd-ubuntu20.04-docker-8c-8g-3916 does not seem to be running inside a container [2023-08-17T05:32:01.862Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-17T05:32:02.258Z] $ docker top 09dec4c55fb09c1ab1b99fa3c976cc588052f2935a527493e2234f30207ee235 -eo pid,comm [2023-08-17T05:32:02.311Z] 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). [2023-08-17T05:32:02.311Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-17T05:32:02.342Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-17T05:32:02.342Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-17T05:32:02.454Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-17T05:32:02.451Z] $ docker exec 09dec4c55fb09c1ab1b99fa3c976cc588052f2935a527493e2234f30207ee235 ssh-agent [2023-08-17T05:32:02.557Z] SSH_AUTH_SOCK=/tmp/ssh-wgXlHPtio0Qm/agent.31 [2023-08-17T05:32:02.557Z] SSH_AGENT_PID=38 [2023-08-17T05:32:02.563Z] Running ssh-add (command line suppressed) [2023-08-17T05:32:02.662Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5076000805029970156.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5076000805029970156.key) [2023-08-17T05:32:02.683Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-17T05:32:02.973Z] + git semver tag [2023-08-17T05:32:03.231Z] 2023-08-17 05:32:03,142 [run_tag] DEBUG tag force:False [2023-08-17T05:32:03.231Z] 2023-08-17 05:32:03,142 [check_head_tag] DEBUG check head tag [2023-08-17T05:32:03.231Z] 2023-08-17 05:32:03,142 [execute] INFO git cat-file --batch-check [2023-08-17T05:32:03.231Z] 2023-08-17 05:32:03,142 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-08-17T05:32:03.231Z] 2023-08-17 05:32:03,147 [execute] INFO git cat-file --batch [2023-08-17T05:32:03.231Z] 2023-08-17 05:32:03,147 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-08-17T05:32:03.231Z] 2023-08-17 05:32:03,155 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-17T05:32:03.231Z] 2023-08-17 05:32:03,155 [execute] INFO git tag -a v3.1.0-dev.6 -m v3.1.0-dev.6 [2023-08-17T05:32:03.231Z] 2023-08-17 05:32:03,156 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.6', '-m', 'v3.1.0-dev.6'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-17T05:32:03.231Z] 2023-08-17 05:32:03,160 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-17T05:32:03.231Z] 3.1.0-dev.6 [Pipeline] } [2023-08-17T05:32:03.236Z] $ docker exec --env ******** --env ******** 09dec4c55fb09c1ab1b99fa3c976cc588052f2935a527493e2234f30207ee235 ssh-agent -k [2023-08-17T05:32:03.335Z] unset SSH_AUTH_SOCK; [2023-08-17T05:32:03.336Z] unset SSH_AGENT_PID; [2023-08-17T05:32:03.336Z] echo Agent pid 38 killed; [2023-08-17T05:32:03.351Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-17T05:32:03.653Z] + git semver [Pipeline] } [2023-08-17T05:32:03.917Z] $ docker stop --time=1 09dec4c55fb09c1ab1b99fa3c976cc588052f2935a527493e2234f30207ee235 [2023-08-17T05:32:05.177Z] $ docker rm -f --volumes 09dec4c55fb09c1ab1b99fa3c976cc588052f2935a527493e2234f30207ee235 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:32:05.570Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-17T05:32:05.570Z] [2023-08-17T05:32:05.570Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:32:05.870Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-17T05:32:05.870Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-17T05:32:05.870Z] ab5ef0e58194: Pulling fs layer [2023-08-17T05:32:05.870Z] 9712f1f96733: Pulling fs layer [2023-08-17T05:32:05.870Z] 63f879dbbcfc: Pulling fs layer [2023-08-17T05:32:05.870Z] 0d9ebad4ef96: Pulling fs layer [2023-08-17T05:32:05.870Z] e9a5061849ea: Pulling fs layer [2023-08-17T05:32:05.870Z] d747dcd14b5f: Pulling fs layer [2023-08-17T05:32:05.870Z] 2de7ff778b66: Pulling fs layer [2023-08-17T05:32:05.870Z] 0d9ebad4ef96: Waiting [2023-08-17T05:32:05.870Z] e9a5061849ea: Waiting [2023-08-17T05:32:05.870Z] 2de7ff778b66: Waiting [2023-08-17T05:32:05.870Z] d747dcd14b5f: Waiting [2023-08-17T05:32:05.870Z] 9712f1f96733: Download complete [2023-08-17T05:32:06.130Z] 63f879dbbcfc: Verifying Checksum [2023-08-17T05:32:06.130Z] 63f879dbbcfc: Download complete [2023-08-17T05:32:06.388Z] 0d9ebad4ef96: Verifying Checksum [2023-08-17T05:32:06.388Z] 0d9ebad4ef96: Download complete [2023-08-17T05:32:06.388Z] e9a5061849ea: Verifying Checksum [2023-08-17T05:32:06.388Z] e9a5061849ea: Download complete [2023-08-17T05:32:06.388Z] ab5ef0e58194: Verifying Checksum [2023-08-17T05:32:06.388Z] ab5ef0e58194: Download complete [2023-08-17T05:32:06.388Z] 2de7ff778b66: Verifying Checksum [2023-08-17T05:32:06.388Z] 2de7ff778b66: Download complete [2023-08-17T05:32:08.914Z] ab5ef0e58194: Pull complete [2023-08-17T05:32:08.914Z] 9712f1f96733: Pull complete [2023-08-17T05:32:09.845Z] 63f879dbbcfc: Pull complete [2023-08-17T05:32:13.121Z] 0d9ebad4ef96: Pull complete [2023-08-17T05:32:13.378Z] e9a5061849ea: Pull complete [2023-08-17T05:32:13.378Z] d747dcd14b5f: Pull complete [2023-08-17T05:32:14.754Z] 2de7ff778b66: Pull complete [2023-08-17T05:32:14.754Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-17T05:32:14.754Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-17T05:32:14.754Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-17T05:32:14.827Z] prd-ubuntu20.04-docker-8c-8g-3916 does not seem to be running inside a container [2023-08-17T05:32:14.849Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-08-17T05:32:19.909Z] $ docker top e720ea94139d9ac972e37b10c46e0a92e1b2211ebc97b74aaee09a71ebbc5697 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-17T05:32:19.979Z] provisioning config files... [2023-08-17T05:32:19.985Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16891279326755180969tmp [2023-08-17T05:32:19.991Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15384289013942069062tmp [2023-08-17T05:32:19.997Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7684760746070946272tmp [Pipeline] { [Pipeline] echo [2023-08-17T05:32:20.012Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-17T05:32:20.290Z] ---> sigul-configuration.sh [2023-08-17T05:32:20.290Z] gpg: directory `/root/.gnupg' created [2023-08-17T05:32:20.290Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-17T05:32:20.290Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-17T05:32:20.290Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-17T05:32:20.290Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-17T05:32:20.290Z] gpg: CAST5 encrypted data [2023-08-17T05:32:20.290Z] gpg: encrypted with 1 passphrase [2023-08-17T05:32:20.290Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-17T05:32:20.572Z] + mkdir /home/jenkins [2023-08-17T05:32:20.572Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-17T05:32:20.854Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-08-17T05:32:20.862Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-17T05:32:21.143Z] ---> sigul-install.sh [2023-08-17T05:32:21.143Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-17T05:32:21.428Z] + git tag --list [2023-08-17T05:32:21.428Z] v1.0.0 [2023-08-17T05:32:21.428Z] v1.1.0 [2023-08-17T05:32:21.428Z] v1.1.1 [2023-08-17T05:32:21.428Z] v1.2.1 [2023-08-17T05:32:21.428Z] v1.2.2 [2023-08-17T05:32:21.428Z] v1.2.3 [2023-08-17T05:32:21.428Z] v1.3.0 [2023-08-17T05:32:21.428Z] v1.3.1 [2023-08-17T05:32:21.428Z] v2.0.0 [2023-08-17T05:32:21.428Z] v2.1.0 [2023-08-17T05:32:21.428Z] v2.1.1 [2023-08-17T05:32:21.428Z] v2.2.0 [2023-08-17T05:32:21.428Z] v2.3.0 [2023-08-17T05:32:21.428Z] v3.0 [2023-08-17T05:32:21.428Z] v3.0.0 [2023-08-17T05:32:21.428Z] v3.1.0-dev.1 [2023-08-17T05:32:21.428Z] v3.1.0-dev.2 [2023-08-17T05:32:21.428Z] v3.1.0-dev.3 [2023-08-17T05:32:21.428Z] v3.1.0-dev.4 [2023-08-17T05:32:21.428Z] v3.1.0-dev.5 [2023-08-17T05:32:21.428Z] v3.1.0-dev.6 [Pipeline] sh [2023-08-17T05:32:21.711Z] + lftools sign git-tag v3.1.0-dev.6 [2023-08-17T05:32:22.279Z] Signing Git tag with Sigul... [2023-08-17T05:32:22.279Z] Signing v3.1.0-dev.6 [Pipeline] echo [2023-08-17T05:32:22.547Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-17T05:32:22.832Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-17T05:32:22.839Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-17T05:32:22.851Z] $ docker stop --time=1 e720ea94139d9ac972e37b10c46e0a92e1b2211ebc97b74aaee09a71ebbc5697 [2023-08-17T05:32:24.114Z] $ docker rm -f --volumes e720ea94139d9ac972e37b10c46e0a92e1b2211ebc97b74aaee09a71ebbc5697 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-17T05:32:24.527Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-17T05:32:24.527Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:32:24.829Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-17T05:32:24.829Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-17T05:32:24.903Z] prd-ubuntu20.04-docker-8c-8g-3916 does not seem to be running inside a container [2023-08-17T05:32:24.928Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-17T05:32:25.253Z] $ docker top 4b7946bf37b5575311ab090f920df05dd59dcacbd7e95cd83a48b469c5b92361 -eo pid,comm [2023-08-17T05:32:25.298Z] 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). [2023-08-17T05:32:25.298Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-17T05:32:25.334Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-17T05:32:25.334Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-17T05:32:25.430Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-17T05:32:25.428Z] $ docker exec 4b7946bf37b5575311ab090f920df05dd59dcacbd7e95cd83a48b469c5b92361 ssh-agent [2023-08-17T05:32:25.529Z] SSH_AUTH_SOCK=/tmp/ssh-JeGYitdWno8J/agent.33 [2023-08-17T05:32:25.529Z] SSH_AGENT_PID=39 [2023-08-17T05:32:25.534Z] Running ssh-add (command line suppressed) [2023-08-17T05:32:25.633Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3949147399151409422.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3949147399151409422.key) [2023-08-17T05:32:25.650Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-17T05:32:25.933Z] + git semver bump pre [2023-08-17T05:32:26.193Z] 2023-08-17 05:32:26,105 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-17T05:32:26.193Z] 2023-08-17 05:32:26,105 [bump_version] DEBUG bumping version:3.1.0-dev.6 on axis:pre with prefix:dev [2023-08-17T05:32:26.193Z] 2023-08-17 05:32:26,105 [bump_version] DEBUG bumped version:3.1.0-dev.7 [2023-08-17T05:32:26.193Z] 2023-08-17 05:32:26,105 [write_version] DEBUG write version:3.1.0-dev.7 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-08-17T05:32:26.193Z] 2023-08-17 05:32:26,106 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-17T05:32:26.193Z] 2023-08-17 05:32:26,106 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-17T05:32:26.193Z] 2023-08-17 05:32:26,107 [execute] INFO git cat-file --batch-check [2023-08-17T05:32:26.193Z] 2023-08-17 05:32:26,107 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-17T05:32:26.193Z] 2023-08-17 05:32:26,112 [execute] INFO git cat-file --batch [2023-08-17T05:32:26.193Z] 2023-08-17 05:32:26,112 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-17T05:32:26.193Z] 2023-08-17 05:32:26,118 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-17T05:32:26.193Z] 3.1.0-dev.7 [Pipeline] } [2023-08-17T05:32:26.197Z] $ docker exec --env ******** --env ******** 4b7946bf37b5575311ab090f920df05dd59dcacbd7e95cd83a48b469c5b92361 ssh-agent -k [2023-08-17T05:32:26.298Z] unset SSH_AUTH_SOCK; [2023-08-17T05:32:26.298Z] unset SSH_AGENT_PID; [2023-08-17T05:32:26.298Z] echo Agent pid 39 killed; [2023-08-17T05:32:26.311Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-17T05:32:26.622Z] + git semver [Pipeline] } [2023-08-17T05:32:26.887Z] $ docker stop --time=1 4b7946bf37b5575311ab090f920df05dd59dcacbd7e95cd83a48b469c5b92361 [2023-08-17T05:32:28.157Z] $ docker rm -f --volumes 4b7946bf37b5575311ab090f920df05dd59dcacbd7e95cd83a48b469c5b92361 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-17T05:32:28.501Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-17T05:32:28.501Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:32:28.793Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-17T05:32:28.793Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-17T05:32:28.858Z] prd-ubuntu20.04-docker-8c-8g-3916 does not seem to be running inside a container [2023-08-17T05:32:28.881Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-17T05:32:29.194Z] $ docker top 764a2fe054e47b68163c363bb3a363510fcfbb58f0211a7a3f313727370016d3 -eo pid,comm [2023-08-17T05:32:29.239Z] 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). [2023-08-17T05:32:29.239Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-17T05:32:29.279Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-17T05:32:29.279Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-17T05:32:29.378Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-17T05:32:29.376Z] $ docker exec 764a2fe054e47b68163c363bb3a363510fcfbb58f0211a7a3f313727370016d3 ssh-agent [2023-08-17T05:32:29.479Z] SSH_AUTH_SOCK=/tmp/ssh-bL12DEVXycGq/agent.32 [2023-08-17T05:32:29.479Z] SSH_AGENT_PID=38 [2023-08-17T05:32:29.483Z] Running ssh-add (command line suppressed) [2023-08-17T05:32:29.584Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10070606570773240633.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10070606570773240633.key) [2023-08-17T05:32:29.601Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-17T05:32:29.881Z] + git semver push [2023-08-17T05:32:30.140Z] 2023-08-17 05:32:30,042 [run_push] DEBUG push [2023-08-17T05:32:30.140Z] 2023-08-17 05:32:30,042 [execute] INFO git cat-file --batch-check [2023-08-17T05:32:30.140Z] 2023-08-17 05:32:30,043 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-17T05:32:30.140Z] 2023-08-17 05:32:30,045 [execute] INFO git rev-list f247491931891de8f40f688e7b992a1a6336edf4 -- [2023-08-17T05:32:30.140Z] 2023-08-17 05:32:30,045 [execute] DEBUG Popen(['git', 'rev-list', 'f247491931891de8f40f688e7b992a1a6336edf4', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-17T05:32:30.140Z] 2023-08-17 05:32:30,052 [execute] INFO git fetch -v origin [2023-08-17T05:32:30.140Z] 2023-08-17 05:32:30,053 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-17T05:32:30.708Z] 2023-08-17 05:32:30,515 [run_push] DEBUG no remote changes detected [2023-08-17T05:32:30.708Z] 2023-08-17 05:32:30,516 [execute] INFO git push origin semver [2023-08-17T05:32:30.708Z] 2023-08-17 05:32:30,516 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-17T05:32:31.277Z] 2023-08-17 05:32:31,207 [run_push] DEBUG push all version tags [2023-08-17T05:32:31.277Z] 2023-08-17 05:32:31,207 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-17T05:32:31.277Z] 2023-08-17 05:32:31,208 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-17T05:32:32.215Z] 2023-08-17 05:32:31,922 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-17T05:32:32.215Z] 3.1.0-dev.7 [Pipeline] } [2023-08-17T05:32:32.218Z] $ docker exec --env ******** --env ******** 764a2fe054e47b68163c363bb3a363510fcfbb58f0211a7a3f313727370016d3 ssh-agent -k [2023-08-17T05:32:32.321Z] unset SSH_AUTH_SOCK; [2023-08-17T05:32:32.321Z] unset SSH_AGENT_PID; [2023-08-17T05:32:32.322Z] echo Agent pid 38 killed; [2023-08-17T05:32:32.339Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-17T05:32:32.641Z] + git semver [Pipeline] } [2023-08-17T05:32:32.906Z] $ docker stop --time=1 764a2fe054e47b68163c363bb3a363510fcfbb58f0211a7a3f313727370016d3 [2023-08-17T05:32:34.180Z] $ docker rm -f --volumes 764a2fe054e47b68163c363bb3a363510fcfbb58f0211a7a3f313727370016d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-08-17T05:32:34.755Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-08-17T05:32:34.755Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-08-17T05:32:34.755Z] total 16 [2023-08-17T05:32:34.755Z] drwxr-xr-x 3 root root 4096 Aug 17 05:23 . [2023-08-17T05:32:34.755Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 17 05:32 .. [2023-08-17T05:32:34.755Z] drwxr-xr-x 2 root root 4096 Aug 17 05:23 cost [2023-08-17T05:32:34.755Z] -rw-r--r-- 1 root root 89 Aug 17 05:23 cost.csv [2023-08-17T05:32:34.755Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-08-17T05:32:34.755Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-08-17T05:32:34.755Z] total 16 [2023-08-17T05:32:34.755Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 17 05:23 . [2023-08-17T05:32:34.755Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 17 05:32 .. [2023-08-17T05:32:34.755Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 17 05:23 cost [2023-08-17T05:32:34.755Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 17 05:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-17T05:32:35.041Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-17T05:32:35.900Z] ---> package-listing.sh [2023-08-17T05:32:35.900Z] ++ facter osfamily [2023-08-17T05:32:35.900Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-17T05:32:36.159Z] + OS_FAMILY=debian [2023-08-17T05:32:36.159Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-08-17T05:32:36.159Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-17T05:32:36.159Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-17T05:32:36.159Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-17T05:32:36.159Z] + PACKAGES=/tmp/packages_start.txt [2023-08-17T05:32:36.159Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-08-17T05:32:36.159Z] + PACKAGES=/tmp/packages_end.txt [2023-08-17T05:32:36.159Z] + case "${OS_FAMILY}" in [2023-08-17T05:32:36.159Z] + dpkg -l [2023-08-17T05:32:36.159Z] + grep '^ii' [2023-08-17T05:32:36.159Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-17T05:32:36.159Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-17T05:32:36.159Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-17T05:32:36.159Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-08-17T05:32:36.160Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-08-17T05:32:36.160Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo [2023-08-17T05:32:36.170Z] 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 [2023-08-17T05:32:36.448Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-17T05:32:37.044Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-17T05:32:37.044Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-17T05:32:37.148Z] prd-ubuntu20.04-docker-8c-8g-3916 does not seem to be running inside a container [2023-08-17T05:32:37.215Z] $ 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 [2023-08-17T05:32:37.402Z] $ docker top b3cf08a2512d48add2b52f942b5859a06913f0e1af5b629088bfac804cba7ee0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-17T05:32:37.742Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-17T05:32:38.026Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-17T05:32:38.310Z] + ls /var/log/sa-host [2023-08-17T05:32:38.310Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-17T05:32:38.445Z] provisioning config files... [2023-08-17T05:32:38.453Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5064106892057925776tmp [Pipeline] { [Pipeline] echo [2023-08-17T05:32:38.463Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-17T05:32:38.744Z] ---> create-netrc.sh [Pipeline] } [2023-08-17T05:32:38.752Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-17T05:32:39.071Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-17T05:32:39.079Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-17T05:32:39.362Z] ---> sudo-logs.sh [2023-08-17T05:32:39.362Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-17T05:32:39.391Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-17T05:32:39.671Z] ---> job-cost.sh [2023-08-17T05:32:39.671Z] lf-activate-venv: SKIPPING [2023-08-17T05:32:39.671Z] DEBUG: total: 0.2199999988079071 [2023-08-17T05:32:39.671Z] INFO: Retrieving Stack Cost... [2023-08-17T05:32:39.930Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-17T05:32:40.497Z] INFO: Archiving Costs [Pipeline] echo [2023-08-17T05:32:40.508Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-17T05:32:40.807Z] ---> logs-deploy.sh [2023-08-17T05:32:40.807Z] lf-activate-venv: SKIPPING [2023-08-17T05:32:40.807Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/132 [2023-08-17T05:32:40.807Z] INFO: archiving workspace using pattern(s): [2023-08-17T05:32:41.744Z] Archives upload complete. [2023-08-17T05:32:41.744Z] INFO: archiving logs to Nexus