Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 167b2b37d553877e8454e5976795d0c3ccee8733 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-ssh12542453991964329476.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh328431520167547917.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh9391422342137772861.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh9450740594722883080.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-ssh16050149297092610523.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2899 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 > 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 Avoid second fetch Checking out Revision 167b2b37d553877e8454e5976795d0c3ccee8733 (main) Commit message: "Merge pull request #417 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.10" > git config core.sparsecheckout # timeout=10 > git checkout -f 167b2b37d553877e8454e5976795d0c3ccee8733 # timeout=10 > git rev-list --no-walk 8ad9699a6dce6de25ce5ac2145c2ba17367dec2a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-04T11:43:42.241Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-04T11:43:42.315Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-04T11:43:42.329Z] ========================================================= [2023-08-04T11:43:42.329Z] EdgeX Global Pipelines Version Info [2023-08-04T11:43:42.329Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:43:43.116Z] ------------------- [2023-08-04T11:43:43.116Z] stable info: [2023-08-04T11:43:43.116Z] ------------------- [2023-08-04T11:43:43.116Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-04T11:43:43.116Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-04T11:43:43.116Z] Message: update stable to v1.0.250 [2023-08-04T11:43:43.689Z] ------------------- [2023-08-04T11:43:43.689Z] experimental info: [2023-08-04T11:43:43.689Z] ------------------- [2023-08-04T11:43:43.689Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-04T11:43:43.689Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-04T11:43:43.689Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-04T11:43:43.877Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-08-04T11:43:43.888Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-08-04T11:43:43.902Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-04T11:43:43.914Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-04T11:43:43.931Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-04T11:43:43.949Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-04T11:43:43.968Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-04T11:43:43.983Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-04T11:43:44.006Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-04T11:43:44.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-04T11:43:44.035Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-04T11:43:44.048Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-08-04T11:43:44.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-04T11:43:44.081Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-04T11:43:44.093Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-04T11:43:44.106Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-04T11:43:44.117Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-04T11:43:44.131Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-04T11:43:44.145Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-04T11:43:44.160Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-04T11:43:44.174Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-04T11:43:44.189Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-04T11:43:44.206Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-04T11:43:44.226Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-04T11:43:44.244Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-04T11:43:44.261Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-04T11:43:44.274Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-04T11:43:44.286Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-04T11:43:44.301Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-04T11:43:44.322Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-04T11:43:44.343Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 167b2b37d553877e8454e5976795d0c3ccee8733 [Pipeline] echo [2023-08-04T11:43:44.361Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 167b2b3 [Pipeline] echo [2023-08-04T11:43:44.379Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-04T11:43:44.424Z] provisioning config files... [2023-08-04T11:43:44.438Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14300905254059064388tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:43:44.744Z] ---> docker-login.sh [2023-08-04T11:43:44.744Z] nexus3.edgexfoundry.org:10001 [2023-08-04T11:43:45.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:43:45.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:43:45.270Z] Configure a credential helper to remove this warning. See [2023-08-04T11:43:45.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:43:45.270Z] [2023-08-04T11:43:45.270Z] Login Succeeded [2023-08-04T11:43:45.270Z] nexus3.edgexfoundry.org:10002 [2023-08-04T11:43:45.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:43:45.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:43:45.530Z] Configure a credential helper to remove this warning. See [2023-08-04T11:43:45.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:43:45.530Z] [2023-08-04T11:43:45.530Z] Login Succeeded [2023-08-04T11:43:45.530Z] nexus3.edgexfoundry.org:10003 [2023-08-04T11:43:45.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:43:45.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:43:45.530Z] Configure a credential helper to remove this warning. See [2023-08-04T11:43:45.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:43:45.530Z] [2023-08-04T11:43:45.530Z] Login Succeeded [2023-08-04T11:43:45.530Z] nexus3.edgexfoundry.org:10004 [2023-08-04T11:43:45.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:43:45.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:43:45.791Z] Configure a credential helper to remove this warning. See [2023-08-04T11:43:45.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:43:45.791Z] [2023-08-04T11:43:45.791Z] Login Succeeded [2023-08-04T11:43:45.791Z] docker.io [2023-08-04T11:43:45.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:43:46.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:43:46.050Z] Configure a credential helper to remove this warning. See [2023-08-04T11:43:46.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:43:46.050Z] [2023-08-04T11:43:46.050Z] Login Succeeded [2023-08-04T11:43:46.050Z] ---> docker-login.sh ends [Pipeline] } [2023-08-04T11:43:46.057Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-04T11:43:46.442Z] + git rev-list -1 --merges 167b2b37d553877e8454e5976795d0c3ccee8733~1..167b2b37d553877e8454e5976795d0c3ccee8733 [Pipeline] echo [2023-08-04T11:43:46.485Z] -----------> git rev-list -1 --merges 167b2b37d553877e8454e5976795d0c3ccee8733~1..167b2b37d553877e8454e5976795d0c3ccee8733 167b2b37d553877e8454e5976795d0c3ccee8733 [2023-08-04T11:43:46.485Z] 167b2b37d553877e8454e5976795d0c3ccee8733 [false] [Pipeline] sh [2023-08-04T11:43:46.772Z] + git log --format=format:%s -1 167b2b37d553877e8454e5976795d0c3ccee8733 [Pipeline] echo [2023-08-04T11:43:46.786Z] ========================================================= [2023-08-04T11:43:46.786Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-04T11:43:46.786Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-04T11:43:47.109Z] + git log --format=format:%s -1 167b2b37d553877e8454e5976795d0c3ccee8733 [Pipeline] echo [2023-08-04T11:43:47.122Z] [semverPrep] GIT_COMMIT: 167b2b37d553877e8454e5976795d0c3ccee8733, Commit Message: Merge pull request #417 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.10 [Pipeline] echo [2023-08-04T11:43:47.130Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-04T11:43:47.485Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-04T11:43:47.485Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-04T11:43:47.485Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-04T11:43:47.485Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-04T11:43:47.485Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-04T11:43:47.485Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-04T11:43:47.485Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:43:47.900Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-04T11:43:47.901Z] [2023-08-04T11:43:47.901Z] 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-04T11:43:48.203Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-04T11:43:48.204Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-04T11:43:48.204Z] b85a868b505f: Pulling fs layer [2023-08-04T11:43:48.204Z] e2be974225ed: Pulling fs layer [2023-08-04T11:43:48.204Z] 339a4e72a1f5: Pulling fs layer [2023-08-04T11:43:48.204Z] 988bab9f4d93: Pulling fs layer [2023-08-04T11:43:48.204Z] 1469e6f7b9e6: Pulling fs layer [2023-08-04T11:43:48.204Z] eaf3925da568: Pulling fs layer [2023-08-04T11:43:48.204Z] bab4dde63d76: Pulling fs layer [2023-08-04T11:43:48.204Z] bde34c3a00c8: Pulling fs layer [2023-08-04T11:43:48.204Z] b352a97aabf1: Pulling fs layer [2023-08-04T11:43:48.204Z] 4872d77fe225: Pulling fs layer [2023-08-04T11:43:48.204Z] 5851b861e8e6: Pulling fs layer [2023-08-04T11:43:48.204Z] 988bab9f4d93: Waiting [2023-08-04T11:43:48.204Z] 1469e6f7b9e6: Waiting [2023-08-04T11:43:48.204Z] bde34c3a00c8: Waiting [2023-08-04T11:43:48.204Z] eaf3925da568: Waiting [2023-08-04T11:43:48.204Z] bab4dde63d76: Waiting [2023-08-04T11:43:48.204Z] b352a97aabf1: Waiting [2023-08-04T11:43:48.204Z] 4872d77fe225: Waiting [2023-08-04T11:43:48.204Z] e2be974225ed: Verifying Checksum [2023-08-04T11:43:48.204Z] e2be974225ed: Download complete [2023-08-04T11:43:48.204Z] 988bab9f4d93: Verifying Checksum [2023-08-04T11:43:48.204Z] 988bab9f4d93: Download complete [2023-08-04T11:43:48.204Z] 1469e6f7b9e6: Verifying Checksum [2023-08-04T11:43:48.204Z] 1469e6f7b9e6: Download complete [2023-08-04T11:43:48.463Z] eaf3925da568: Verifying Checksum [2023-08-04T11:43:48.464Z] eaf3925da568: Download complete [2023-08-04T11:43:48.464Z] 339a4e72a1f5: Verifying Checksum [2023-08-04T11:43:48.464Z] 339a4e72a1f5: Download complete [2023-08-04T11:43:48.464Z] bde34c3a00c8: Download complete [2023-08-04T11:43:48.464Z] b352a97aabf1: Download complete [2023-08-04T11:43:48.464Z] 4872d77fe225: Download complete [2023-08-04T11:43:48.464Z] 5851b861e8e6: Download complete [2023-08-04T11:43:48.464Z] b85a868b505f: Verifying Checksum [2023-08-04T11:43:48.464Z] b85a868b505f: Download complete [2023-08-04T11:43:48.723Z] bab4dde63d76: Verifying Checksum [2023-08-04T11:43:48.723Z] bab4dde63d76: Download complete [2023-08-04T11:43:50.102Z] b85a868b505f: Pull complete [2023-08-04T11:43:50.102Z] e2be974225ed: Pull complete [2023-08-04T11:43:50.674Z] 339a4e72a1f5: Pull complete [2023-08-04T11:43:50.674Z] 988bab9f4d93: Pull complete [2023-08-04T11:43:50.934Z] 1469e6f7b9e6: Pull complete [2023-08-04T11:43:50.934Z] eaf3925da568: Pull complete [2023-08-04T11:43:52.839Z] bab4dde63d76: Pull complete [2023-08-04T11:43:53.102Z] bde34c3a00c8: Pull complete [2023-08-04T11:43:53.102Z] b352a97aabf1: Pull complete [2023-08-04T11:43:53.102Z] 4872d77fe225: Pull complete [2023-08-04T11:43:53.368Z] 5851b861e8e6: Pull complete [2023-08-04T11:43:53.368Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-04T11:43:53.368Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-04T11:43:53.368Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T11:43:53.481Z] prd-ubuntu20.04-docker-8c-8g-2899 does not seem to be running inside a container [2023-08-04T11:43:53.513Z] $ 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-04T11:43:57.717Z] $ docker top ac7bf59e67ef95698f761778d91818325aa9a52da7d47c0fda7c1e6e4fd2b44f -eo pid,comm [2023-08-04T11:43:57.776Z] 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-04T11:43:57.776Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-04T11:43:57.822Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-04T11:43:57.822Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-04T11:43:57.932Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-04T11:43:57.932Z] $ docker exec ac7bf59e67ef95698f761778d91818325aa9a52da7d47c0fda7c1e6e4fd2b44f ssh-agent [2023-08-04T11:43:58.050Z] SSH_AUTH_SOCK=/tmp/ssh-zc1NFbYVuUDn/agent.32 [2023-08-04T11:43:58.050Z] SSH_AGENT_PID=38 [2023-08-04T11:43:58.057Z] Running ssh-add (command line suppressed) [2023-08-04T11:43:58.160Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17960510536725712204.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17960510536725712204.key) [2023-08-04T11:43:58.180Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-04T11:43:58.470Z] + git tag --points-at HEAD [Pipeline] } [2023-08-04T11:43:58.482Z] $ docker exec --env ******** --env ******** ac7bf59e67ef95698f761778d91818325aa9a52da7d47c0fda7c1e6e4fd2b44f ssh-agent -k [2023-08-04T11:43:58.603Z] unset SSH_AUTH_SOCK; [2023-08-04T11:43:58.603Z] unset SSH_AGENT_PID; [2023-08-04T11:43:58.604Z] echo Agent pid 38 killed; [2023-08-04T11:43:58.619Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-04T11:43:58.645Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-04T11:43:58.645Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-04T11:43:58.767Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-04T11:43:58.766Z] $ docker exec ac7bf59e67ef95698f761778d91818325aa9a52da7d47c0fda7c1e6e4fd2b44f ssh-agent [2023-08-04T11:43:58.881Z] SSH_AUTH_SOCK=/tmp/ssh-8XMiFc8Q4JGR/agent.71 [2023-08-04T11:43:58.881Z] SSH_AGENT_PID=77 [2023-08-04T11:43:58.886Z] Running ssh-add (command line suppressed) [2023-08-04T11:43:58.991Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14374366942037409694.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14374366942037409694.key) [2023-08-04T11:43:59.010Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-04T11:43:59.301Z] + git semver init [2023-08-04T11:43:59.560Z] 2023-08-04 11:43:59,482 [run_init] DEBUG init version:0.0.0 force:False [2023-08-04T11:43:59.560Z] 2023-08-04 11:43:59,482 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-08-04T11:43:59.560Z] 2023-08-04 11:43:59,483 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-08-04T11:43:59.560Z] 2023-08-04 11:43:59,483 [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-04T11:44:00.942Z] 2023-08-04 11:44:00,661 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-08-04T11:44:00.942Z] 2023-08-04 11:44:00,661 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-08-04T11:44:00.942Z] 2023-08-04 11:44:00,661 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-04T11:44:00.942Z] 2023-08-04 11:44:00,662 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-04T11:44:00.942Z] 3.1.0-dev.3 [Pipeline] } [2023-08-04T11:44:00.949Z] $ docker exec --env ******** --env ******** ac7bf59e67ef95698f761778d91818325aa9a52da7d47c0fda7c1e6e4fd2b44f ssh-agent -k [2023-08-04T11:44:01.044Z] unset SSH_AUTH_SOCK; [2023-08-04T11:44:01.044Z] unset SSH_AGENT_PID; [2023-08-04T11:44:01.045Z] echo Agent pid 77 killed; [2023-08-04T11:44:01.060Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-04T11:44:01.371Z] + git semver [Pipeline] } [2023-08-04T11:44:01.642Z] $ docker stop --time=1 ac7bf59e67ef95698f761778d91818325aa9a52da7d47c0fda7c1e6e4fd2b44f [2023-08-04T11:44:02.944Z] $ docker rm -f --volumes ac7bf59e67ef95698f761778d91818325aa9a52da7d47c0fda7c1e6e4fd2b44f [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-04T11:44:03.292Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-04T11:44:03.498Z] Stashed 1 file(s) [Pipeline] echo [2023-08-04T11:44:03.502Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.3 [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-04T11:44:03.672Z] provisioning config files... [2023-08-04T11:44:03.681Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config345141195992927166tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:44:03.978Z] ---> docker-login.sh [2023-08-04T11:44:03.979Z] nexus3.edgexfoundry.org:10001 [2023-08-04T11:44:03.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:44:03.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:44:03.979Z] Configure a credential helper to remove this warning. See [2023-08-04T11:44:03.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:44:03.979Z] [2023-08-04T11:44:03.979Z] Login Succeeded [2023-08-04T11:44:03.979Z] nexus3.edgexfoundry.org:10002 [2023-08-04T11:44:03.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:44:03.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:44:03.979Z] Configure a credential helper to remove this warning. See [2023-08-04T11:44:03.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:44:03.979Z] [2023-08-04T11:44:03.979Z] Login Succeeded [2023-08-04T11:44:03.979Z] nexus3.edgexfoundry.org:10003 [2023-08-04T11:44:04.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:44:04.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:44:04.239Z] Configure a credential helper to remove this warning. See [2023-08-04T11:44:04.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:44:04.239Z] [2023-08-04T11:44:04.239Z] Login Succeeded [2023-08-04T11:44:04.239Z] nexus3.edgexfoundry.org:10004 [2023-08-04T11:44:04.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:44:04.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:44:04.239Z] Configure a credential helper to remove this warning. See [2023-08-04T11:44:04.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:44:04.239Z] [2023-08-04T11:44:04.239Z] Login Succeeded [2023-08-04T11:44:04.239Z] docker.io [2023-08-04T11:44:04.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:44:04.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:44:04.760Z] Configure a credential helper to remove this warning. See [2023-08-04T11:44:04.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:44:04.760Z] [2023-08-04T11:44:04.760Z] Login Succeeded [2023-08-04T11:44:04.760Z] ---> docker-login.sh ends [Pipeline] } [2023-08-04T11:44:04.768Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-04T11:44:04.851Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-04T11:44:04.870Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-04T11:44:04.883Z] ========================================================= [2023-08-04T11:44:04.883Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-04T11:44:04.883Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:44:05.221Z] + 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-04T11:44:05.221Z] Sending build context to Docker daemon 23.52MB [2023-08-04T11:44:05.221Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-04T11:44:05.221Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-04T11:44:05.481Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-04T11:44:05.481Z] 4db1b89c0bd1: Pulling fs layer [2023-08-04T11:44:05.481Z] 6911f1a30b25: Pulling fs layer [2023-08-04T11:44:05.481Z] e194b8c5c2a9: Pulling fs layer [2023-08-04T11:44:05.481Z] 6863d3e3a2b1: Pulling fs layer [2023-08-04T11:44:05.481Z] ec0bb842ea78: Pulling fs layer [2023-08-04T11:44:05.481Z] 40a00589a448: Pulling fs layer [2023-08-04T11:44:05.481Z] 6c08303d61cc: Pulling fs layer [2023-08-04T11:44:05.481Z] 798269fcf238: Pulling fs layer [2023-08-04T11:44:05.481Z] ec0bb842ea78: Waiting [2023-08-04T11:44:05.481Z] 40a00589a448: Waiting [2023-08-04T11:44:05.481Z] 6c08303d61cc: Waiting [2023-08-04T11:44:05.481Z] 798269fcf238: Waiting [2023-08-04T11:44:05.481Z] 6863d3e3a2b1: Waiting [2023-08-04T11:44:05.481Z] 6911f1a30b25: Download complete [2023-08-04T11:44:05.481Z] 6863d3e3a2b1: Verifying Checksum [2023-08-04T11:44:05.481Z] 6863d3e3a2b1: Download complete [2023-08-04T11:44:05.481Z] 4db1b89c0bd1: Verifying Checksum [2023-08-04T11:44:05.481Z] 4db1b89c0bd1: Download complete [2023-08-04T11:44:05.481Z] ec0bb842ea78: Verifying Checksum [2023-08-04T11:44:05.481Z] ec0bb842ea78: Download complete [2023-08-04T11:44:05.481Z] 40a00589a448: Verifying Checksum [2023-08-04T11:44:05.481Z] 40a00589a448: Download complete [2023-08-04T11:44:05.742Z] 4db1b89c0bd1: Pull complete [2023-08-04T11:44:05.742Z] 6911f1a30b25: Pull complete [2023-08-04T11:44:06.017Z] 798269fcf238: Verifying Checksum [2023-08-04T11:44:06.017Z] 798269fcf238: Download complete [2023-08-04T11:44:06.017Z] e194b8c5c2a9: Download complete [2023-08-04T11:44:06.277Z] 6c08303d61cc: Verifying Checksum [2023-08-04T11:44:06.277Z] 6c08303d61cc: Download complete [2023-08-04T11:44:10.469Z] e194b8c5c2a9: Pull complete [2023-08-04T11:44:10.469Z] 6863d3e3a2b1: Pull complete [2023-08-04T11:44:10.469Z] ec0bb842ea78: Pull complete [2023-08-04T11:44:10.469Z] 40a00589a448: Pull complete [2023-08-04T11:44:12.382Z] 6c08303d61cc: Pull complete [2023-08-04T11:44:13.315Z] 798269fcf238: Pull complete [2023-08-04T11:44:13.315Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-04T11:44:13.574Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-04T11:44:13.574Z] ---> ec979cd7f677 [2023-08-04T11:44:13.574Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-04T11:44:18.616Z] Still waiting to schedule task [2023-08-04T11:44:18.616Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-04T11:44:18.847Z] ---> Running in f4e966af1e77 [2023-08-04T11:44:18.847Z] Removing intermediate container f4e966af1e77 [2023-08-04T11:44:18.847Z] ---> 39396168ca24 [2023-08-04T11:44:18.847Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-04T11:44:18.847Z] ---> Running in 2d1453789bd2 [2023-08-04T11:44:18.847Z] Removing intermediate container 2d1453789bd2 [2023-08-04T11:44:18.847Z] ---> 3320dbedd794 [2023-08-04T11:44:18.847Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-08-04T11:44:18.847Z] ---> Running in fe1cf2bf80b4 [2023-08-04T11:44:19.106Z] Removing intermediate container fe1cf2bf80b4 [2023-08-04T11:44:19.106Z] ---> a6108caa4d71 [2023-08-04T11:44:19.106Z] Step 6/12 : WORKDIR /device-virtual-go [2023-08-04T11:44:19.106Z] ---> Running in 7b324ccb13ab [2023-08-04T11:44:19.107Z] Removing intermediate container 7b324ccb13ab [2023-08-04T11:44:19.107Z] ---> bd11ec4fab42 [2023-08-04T11:44:19.107Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-04T11:44:19.107Z] ---> Running in b1fa453e62f2 [2023-08-04T11:44:19.366Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-04T11:44:19.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-04T11:44:19.883Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-04T11:44:19.883Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-04T11:44:19.883Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-04T11:44:19.883Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-04T11:44:19.883Z] Executing busybox-1.35.0-r29.trigger [2023-08-04T11:44:19.883Z] OK: 269 MiB in 57 packages [2023-08-04T11:44:20.457Z] Removing intermediate container b1fa453e62f2 [2023-08-04T11:44:20.458Z] ---> 64ba45b58d20 [2023-08-04T11:44:20.458Z] Step 8/12 : COPY go.mod vendor* ./ [2023-08-04T11:44:20.726Z] ---> 7a541cd8c474 [2023-08-04T11:44:20.726Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-04T11:44:20.726Z] ---> Running in 0bdbe5f43757 [2023-08-04T11:45:28.550Z] Removing intermediate container 0bdbe5f43757 [2023-08-04T11:45:28.550Z] ---> 11a12419c556 [2023-08-04T11:45:28.550Z] Step 10/12 : COPY . . [2023-08-04T11:45:28.550Z] ---> 8f398f83ca11 [2023-08-04T11:45:28.550Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-04T11:45:28.550Z] ---> Running in c52d189a2252 [2023-08-04T11:45:28.550Z] Removing intermediate container c52d189a2252 [2023-08-04T11:45:28.550Z] ---> fd3ef53bbbbd [2023-08-04T11:45:28.550Z] Step 12/12 : RUN $MAKE [2023-08-04T11:45:28.550Z] ---> Running in 32a8ce474a46 [2023-08-04T11:45:28.550Z] noop [2023-08-04T11:45:28.550Z] Removing intermediate container 32a8ce474a46 [2023-08-04T11:45:28.550Z] ---> 4c1b63764308 [2023-08-04T11:45:28.550Z] Successfully built 4c1b63764308 [2023-08-04T11:45:28.550Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:45:28.892Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-04T11:45:28.892Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T11:45:28.964Z] prd-ubuntu20.04-docker-8c-8g-2899 does not seem to be running inside a container [2023-08-04T11:45:28.997Z] $ 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-04T11:45:29.316Z] $ docker top 9d791528620b9342cefcbce8de0f37c4d4207ec2ff343df390677a31844ac000 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T11:45:29.667Z] + go version [2023-08-04T11:45:29.667Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-04T11:45:29.677Z] $ docker stop --time=1 9d791528620b9342cefcbce8de0f37c4d4207ec2ff343df390677a31844ac000 [2023-08-04T11:45:30.941Z] $ docker rm -f --volumes 9d791528620b9342cefcbce8de0f37c4d4207ec2ff343df390677a31844ac000 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:45:31.345Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-04T11:45:31.345Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T11:45:31.421Z] prd-ubuntu20.04-docker-8c-8g-2899 does not seem to be running inside a container [2023-08-04T11:45:31.455Z] $ 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-04T11:45:31.772Z] $ docker top ac3e4463fc134b32c5833c705e70d7624d46214eba96d5acbe2523e35f00f362 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T11:45:32.118Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-08-04T11:45:32.414Z] + make test [2023-08-04T11:45:32.414Z] go test ./... -coverprofile=coverage.out [2023-08-04T11:45:37.682Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-08-04T11:45:46.420Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2900 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-08-04T11:45:46.435Z] Running in /w/workspace/device-virtual-go/129 [Pipeline] { [Pipeline] checkout [2023-08-04T11:45:46.469Z] The recommended git tool is: git [2023-08-04T11:45:47.725Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-08-04T11:45:47.725Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.018s coverage: 58.6% of statements [2023-08-04T11:45:51.376Z] using credential edgex-jenkins-ssh [2023-08-04T11:45:51.390Z] Cloning the remote Git repository [2023-08-04T11:45:51.436Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-08-04T11:45:51.522Z] > git init /w/workspace/device-virtual-go/129 # timeout=10 [2023-08-04T11:45:51.657Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-08-04T11:45:51.658Z] > git --version # timeout=10 [2023-08-04T11:45:51.677Z] > git --version # 'git version 2.25.1' [2023-08-04T11:45:51.679Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-04T11:45:51.811Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-04T11:45:52.986Z] go vet ./... [2023-08-04T11:45:53.771Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-08-04T11:45:53.793Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-04T11:45:54.633Z] Avoid second fetch [2023-08-04T11:45:54.634Z] Checking out Revision 167b2b37d553877e8454e5976795d0c3ccee8733 (main) [2023-08-04T11:45:55.176Z] Commit message: "Merge pull request #417 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.10" [2023-08-04T11:45:54.654Z] > git config core.sparsecheckout # timeout=10 [2023-08-04T11:45:54.713Z] > git checkout -f 167b2b37d553877e8454e5976795d0c3ccee8733 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-04T11:45:56.032Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-04T11:45:56.032Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-04T11:45:56.032Z] Dload Upload Total Spent Left Speed [2023-08-04T11:45:56.032Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85006 0 --:--:-- --:--:-- --:--:-- 85006 [2023-08-04T11:45:56.269Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-04T11:45:56.269Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-04T11:45:56.269Z] ./bin/test-attribution-txt.sh [2023-08-04T11:45:56.269Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-04T11:45:56.269Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-08-04T11:45:56.269Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-04T11:45:56.269Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-04T11:45:56.269Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-04T11:45:56.269Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-04T11:45:56.285Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-04T11:45:56.299Z] $ docker stop --time=1 ac3e4463fc134b32c5833c705e70d7624d46214eba96d5acbe2523e35f00f362 [2023-08-04T11:46:00.367Z] $ docker rm -f --volumes ac3e4463fc134b32c5833c705e70d7624d46214eba96d5acbe2523e35f00f362 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2023-08-04T11:46:00.898Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-04T11:46:00.940Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [2023-08-04T11:46:00.949Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-04T11:46:01.272Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-04T11:46:01.272Z] + sudo tee /etc/docker/daemon.new [2023-08-04T11:46:01.272Z] { [2023-08-04T11:46:01.272Z] "registry-mirrors": [ [2023-08-04T11:46:01.272Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-04T11:46:01.272Z] ], [2023-08-04T11:46:01.272Z] "bip": "10.250.0.254/24", [2023-08-04T11:46:01.272Z] "hosts": [ [2023-08-04T11:46:01.272Z] "tcp://0.0.0.0:5555", [2023-08-04T11:46:01.272Z] "unix:///var/run/docker.sock" [2023-08-04T11:46:01.272Z] ], [2023-08-04T11:46:01.272Z] "mtu": 1458, [2023-08-04T11:46:01.272Z] "selinux-enabled": true, [2023-08-04T11:46:01.272Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-04T11:46:01.272Z] } [Pipeline] sh [2023-08-04T11:46:01.535Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-04T11:46:01.602Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-04T11:46:01.822Z] + ls -al . [2023-08-04T11:46:01.822Z] total 204 [2023-08-04T11:46:01.822Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 4 11:45 . [2023-08-04T11:46:01.822Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 11:43 .. [2023-08-04T11:46:01.822Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 11:44 .git [2023-08-04T11:46:01.822Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 11:43 .github [2023-08-04T11:46:01.822Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 4 11:43 .gitignore [2023-08-04T11:46:01.822Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 4 11:43 .golangci.yml [2023-08-04T11:46:01.822Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 11:44 .semver [2023-08-04T11:46:01.822Z] -rw-rw-r-- 1 jenkins jenkins 9050 Aug 4 11:43 Attribution.txt [2023-08-04T11:46:01.822Z] -rw-rw-r-- 1 jenkins jenkins 14372 Aug 4 11:43 CHANGELOG.md [2023-08-04T11:46:01.822Z] -rw-rw-r-- 1 jenkins jenkins 1646 Aug 4 11:43 Dockerfile [2023-08-04T11:46:01.822Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 11:43 GOVERNANCE.md [2023-08-04T11:46:01.822Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 4 11:43 Jenkinsfile [2023-08-04T11:46:01.822Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 4 11:43 LICENSE [2023-08-04T11:46:01.822Z] -rw-rw-r-- 1 jenkins jenkins 1947 Aug 4 11:43 Makefile [2023-08-04T11:46:01.822Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 4 11:43 OWNERS.md [2023-08-04T11:46:01.822Z] -rw-rw-r-- 1 jenkins jenkins 4111 Aug 4 11:43 README.md [2023-08-04T11:46:01.822Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 4 11:44 VERSION [2023-08-04T11:46:01.822Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 11:43 bin [2023-08-04T11:46:01.822Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 11:43 cmd [2023-08-04T11:46:01.822Z] -rw-r--r-- 1 jenkins jenkins 43063 Aug 4 11:45 coverage.out [2023-08-04T11:46:01.822Z] -rw-rw-r-- 1 jenkins jenkins 3636 Aug 4 11:43 go.mod [2023-08-04T11:46:01.822Z] -rw-rw-r-- 1 jenkins jenkins 33427 Aug 4 11:43 go.sum [2023-08-04T11:46:01.822Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 11:43 internal [2023-08-04T11:46:01.823Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 11:43 snap [2023-08-04T11:46:01.823Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 4 11:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:46:01.927Z] + sudo service docker restart [2023-08-04T11:46:02.132Z] + 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=167b2b37d553877e8454e5976795d0c3ccee8733 --label arch=amd64 --label version=3.1.0-dev.3 . [2023-08-04T11:46:02.132Z] Sending build context to Docker daemon 23.57MB [2023-08-04T11:46:02.132Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-04T11:46:02.132Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-04T11:46:02.132Z] ---> 4c1b63764308 [2023-08-04T11:46:02.132Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-04T11:46:02.699Z] ---> Running in 739dad842adc [2023-08-04T11:46:02.699Z] Removing intermediate container 739dad842adc [2023-08-04T11:46:02.699Z] ---> c3868b498e97 [2023-08-04T11:46:02.699Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-04T11:46:02.699Z] ---> Running in 174afdfea359 [2023-08-04T11:46:02.699Z] Removing intermediate container 174afdfea359 [2023-08-04T11:46:02.699Z] ---> ab65bdceac52 [2023-08-04T11:46:02.699Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-08-04T11:46:02.699Z] ---> Running in da4e0eb33bcb [2023-08-04T11:46:02.699Z] Removing intermediate container da4e0eb33bcb [2023-08-04T11:46:02.699Z] ---> d847c90172f7 [2023-08-04T11:46:02.699Z] Step 6/25 : WORKDIR /device-virtual-go [2023-08-04T11:46:02.699Z] ---> Running in 15bd17b36023 [2023-08-04T11:46:02.959Z] Removing intermediate container 15bd17b36023 [2023-08-04T11:46:02.959Z] ---> 1b3a7eea85ce [2023-08-04T11:46:02.959Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-04T11:46:02.959Z] ---> Running in 8ad1fdbea774 [2023-08-04T11:46:03.219Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-04T11:46:03.219Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-04T11:46:03.787Z] OK: 269 MiB in 57 packages [2023-08-04T11:46:03.787Z] Removing intermediate container 8ad1fdbea774 [2023-08-04T11:46:03.787Z] ---> 13f9355aeea0 [2023-08-04T11:46:03.787Z] Step 8/25 : COPY go.mod vendor* ./ [2023-08-04T11:46:04.046Z] ---> d8cc47509006 [2023-08-04T11:46:04.046Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-04T11:46:04.046Z] ---> Running in 3b8573869b57 [2023-08-04T11:46:04.983Z] Removing intermediate container 3b8573869b57 [2023-08-04T11:46:04.983Z] ---> f011fe81bb48 [2023-08-04T11:46:04.983Z] Step 10/25 : COPY . . [2023-08-04T11:46:05.925Z] ---> 41fa5ec495e1 [2023-08-04T11:46:05.925Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-04T11:46:05.925Z] ---> Running in 7049449e4bec [2023-08-04T11:46:05.925Z] Removing intermediate container 7049449e4bec [2023-08-04T11:46:05.925Z] ---> 581eaa0e07e1 [2023-08-04T11:46:05.925Z] Step 12/25 : RUN $MAKE [2023-08-04T11:46:05.925Z] ---> Running in 3e3a1706f55b [2023-08-04T11:46:05.925Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.3 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.10" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-04T11:46:20.176Z] provisioning config files... [2023-08-04T11:46:20.202Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/129@tmp/config10133928997517071259tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:46:20.551Z] ---> docker-login.sh [2023-08-04T11:46:20.551Z] nexus3.edgexfoundry.org:10001 [2023-08-04T11:46:20.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:46:21.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:46:21.089Z] Configure a credential helper to remove this warning. See [2023-08-04T11:46:21.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:46:21.089Z] [2023-08-04T11:46:21.089Z] Login Succeeded [2023-08-04T11:46:21.089Z] nexus3.edgexfoundry.org:10002 [2023-08-04T11:46:21.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:46:21.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:46:21.623Z] Configure a credential helper to remove this warning. See [2023-08-04T11:46:21.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:46:21.623Z] [2023-08-04T11:46:21.623Z] Login Succeeded [2023-08-04T11:46:21.623Z] nexus3.edgexfoundry.org:10003 [2023-08-04T11:46:21.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:46:21.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:46:21.891Z] Configure a credential helper to remove this warning. See [2023-08-04T11:46:21.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:46:21.891Z] [2023-08-04T11:46:21.891Z] Login Succeeded [2023-08-04T11:46:21.891Z] nexus3.edgexfoundry.org:10004 [2023-08-04T11:46:22.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:46:22.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:46:22.160Z] Configure a credential helper to remove this warning. See [2023-08-04T11:46:22.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:46:22.160Z] [2023-08-04T11:46:22.160Z] Login Succeeded [2023-08-04T11:46:22.160Z] docker.io [2023-08-04T11:46:22.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:46:22.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:46:22.696Z] Configure a credential helper to remove this warning. See [2023-08-04T11:46:22.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:46:22.696Z] [2023-08-04T11:46:22.696Z] Login Succeeded [2023-08-04T11:46:22.696Z] ---> docker-login.sh ends [Pipeline] } [2023-08-04T11:46:22.709Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-04T11:46:22.951Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-04T11:46:22.965Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-04T11:46:22.983Z] ========================================================= [2023-08-04T11:46:22.983Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-04T11:46:22.983Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:46:23.347Z] + 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-04T11:46:23.628Z] Sending build context to Docker daemon 11.89MB [2023-08-04T11:46:23.895Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-04T11:46:23.895Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-04T11:46:25.845Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-04T11:46:25.845Z] edb6bdbacee9: Pulling fs layer [2023-08-04T11:46:25.845Z] 5f9638ab2659: Pulling fs layer [2023-08-04T11:46:25.845Z] 8d51d6327a98: Pulling fs layer [2023-08-04T11:46:25.845Z] 8b374f2dd631: Pulling fs layer [2023-08-04T11:46:25.845Z] ec14aa9079de: Pulling fs layer [2023-08-04T11:46:25.845Z] 2f466654f4bb: Pulling fs layer [2023-08-04T11:46:25.845Z] 554e91adad29: Pulling fs layer [2023-08-04T11:46:25.845Z] ec14aa9079de: Waiting [2023-08-04T11:46:25.845Z] 2f466654f4bb: Waiting [2023-08-04T11:46:25.845Z] 8b374f2dd631: Waiting [2023-08-04T11:46:25.845Z] 554e91adad29: Waiting [2023-08-04T11:46:25.845Z] 5f9638ab2659: Download complete [2023-08-04T11:46:25.845Z] 8b374f2dd631: Verifying Checksum [2023-08-04T11:46:25.845Z] 8b374f2dd631: Download complete [2023-08-04T11:46:25.845Z] ec14aa9079de: Verifying Checksum [2023-08-04T11:46:25.845Z] ec14aa9079de: Download complete [2023-08-04T11:46:25.845Z] edb6bdbacee9: Verifying Checksum [2023-08-04T11:46:25.845Z] edb6bdbacee9: Download complete [2023-08-04T11:46:26.822Z] edb6bdbacee9: Pull complete [2023-08-04T11:46:26.822Z] 554e91adad29: Verifying Checksum [2023-08-04T11:46:26.822Z] 554e91adad29: Download complete [2023-08-04T11:46:27.095Z] 5f9638ab2659: Pull complete [2023-08-04T11:46:27.848Z] Removing intermediate container 3e3a1706f55b [2023-08-04T11:46:27.848Z] ---> f543ffe32530 [2023-08-04T11:46:27.848Z] Step 13/25 : FROM alpine:3.17 [2023-08-04T11:46:27.848Z] 3.17: Pulling from library/alpine [2023-08-04T11:46:27.848Z] 4db1b89c0bd1: Already exists [2023-08-04T11:46:27.848Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-08-04T11:46:27.848Z] Status: Downloaded newer image for alpine:3.17 [2023-08-04T11:46:27.848Z] ---> 1f73a9d63274 [2023-08-04T11:46:27.848Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-08-04T11:46:27.848Z] ---> Running in c5cf8fe6d8b2 [2023-08-04T11:46:27.848Z] Removing intermediate container c5cf8fe6d8b2 [2023-08-04T11:46:27.848Z] ---> bd409e7a343a [2023-08-04T11:46:27.848Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-08-04T11:46:27.848Z] ---> Running in 69e0af792bfd [2023-08-04T11:46:27.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-04T11:46:28.060Z] 8d51d6327a98: Verifying Checksum [2023-08-04T11:46:28.060Z] 8d51d6327a98: Download complete [2023-08-04T11:46:28.060Z] 2f466654f4bb: Verifying Checksum [2023-08-04T11:46:28.060Z] 2f466654f4bb: Download complete [2023-08-04T11:46:28.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-04T11:46:28.113Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-04T11:46:28.113Z] Executing busybox-1.35.0-r29.trigger [2023-08-04T11:46:28.113Z] OK: 7 MiB in 16 packages [2023-08-04T11:46:28.380Z] Removing intermediate container 69e0af792bfd [2023-08-04T11:46:28.380Z] ---> 33ed3167b6e8 [2023-08-04T11:46:28.380Z] Step 16/25 : WORKDIR / [2023-08-04T11:46:28.380Z] ---> Running in df8d3d28860f [2023-08-04T11:46:28.639Z] Removing intermediate container df8d3d28860f [2023-08-04T11:46:28.639Z] ---> 0b61b1cbdb58 [2023-08-04T11:46:28.639Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-08-04T11:46:28.639Z] ---> 1bef9342abd4 [2023-08-04T11:46:28.639Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-08-04T11:46:28.897Z] ---> 47ff1f6b856e [2023-08-04T11:46:28.897Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-08-04T11:46:29.850Z] ---> 812188099e9d [2023-08-04T11:46:29.850Z] Step 20/25 : EXPOSE 59900 [2023-08-04T11:46:29.850Z] ---> Running in f48efeddf107 [2023-08-04T11:46:29.850Z] Removing intermediate container f48efeddf107 [2023-08-04T11:46:29.850Z] ---> 9a852392ab75 [2023-08-04T11:46:29.850Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-08-04T11:46:29.850Z] ---> Running in b232ed9d1321 [2023-08-04T11:46:29.850Z] Removing intermediate container b232ed9d1321 [2023-08-04T11:46:29.850Z] ---> d37850377746 [2023-08-04T11:46:29.850Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-04T11:46:29.850Z] ---> Running in efba06b6e3ca [2023-08-04T11:46:30.109Z] Removing intermediate container efba06b6e3ca [2023-08-04T11:46:30.109Z] ---> f06fe9ef0f81 [2023-08-04T11:46:30.109Z] Step 23/25 : LABEL arch=amd64 [2023-08-04T11:46:30.109Z] ---> Running in 9940ef520fcc [2023-08-04T11:46:30.109Z] Removing intermediate container 9940ef520fcc [2023-08-04T11:46:30.109Z] ---> fee162a32fb7 [2023-08-04T11:46:30.109Z] Step 24/25 : LABEL git_sha=167b2b37d553877e8454e5976795d0c3ccee8733 [2023-08-04T11:46:30.109Z] ---> Running in fa51714307d7 [2023-08-04T11:46:30.109Z] Removing intermediate container fa51714307d7 [2023-08-04T11:46:30.109Z] ---> 068880005c7a [2023-08-04T11:46:30.109Z] Step 25/25 : LABEL version=3.1.0-dev.3 [2023-08-04T11:46:30.369Z] ---> Running in 2cacb05ffa09 [2023-08-04T11:46:30.369Z] Removing intermediate container 2cacb05ffa09 [2023-08-04T11:46:30.369Z] ---> f5dda19eddfd [2023-08-04T11:46:30.369Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-04T11:46:30.369Z] Successfully built f5dda19eddfd [2023-08-04T11:46:30.369Z] 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-04T11:46:30.487Z] provisioning config files... [2023-08-04T11:46:30.495Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13714703855629071357tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:46:30.789Z] ---> docker-login.sh [2023-08-04T11:46:30.789Z] nexus3.edgexfoundry.org:10001 [2023-08-04T11:46:30.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:46:30.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:46:30.789Z] Configure a credential helper to remove this warning. See [2023-08-04T11:46:30.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:46:30.789Z] [2023-08-04T11:46:30.789Z] Login Succeeded [2023-08-04T11:46:30.789Z] nexus3.edgexfoundry.org:10002 [2023-08-04T11:46:30.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:46:30.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:46:30.789Z] Configure a credential helper to remove this warning. See [2023-08-04T11:46:30.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:46:30.789Z] [2023-08-04T11:46:30.789Z] Login Succeeded [2023-08-04T11:46:30.789Z] nexus3.edgexfoundry.org:10003 [2023-08-04T11:46:31.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:46:31.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:46:31.049Z] Configure a credential helper to remove this warning. See [2023-08-04T11:46:31.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:46:31.049Z] [2023-08-04T11:46:31.049Z] Login Succeeded [2023-08-04T11:46:31.049Z] nexus3.edgexfoundry.org:10004 [2023-08-04T11:46:31.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:46:31.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:46:31.049Z] Configure a credential helper to remove this warning. See [2023-08-04T11:46:31.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:46:31.049Z] [2023-08-04T11:46:31.049Z] Login Succeeded [2023-08-04T11:46:31.049Z] docker.io [2023-08-04T11:46:31.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:46:31.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:46:31.308Z] Configure a credential helper to remove this warning. See [2023-08-04T11:46:31.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:46:31.308Z] [2023-08-04T11:46:31.308Z] Login Succeeded [2023-08-04T11:46:31.308Z] ---> docker-login.sh ends [Pipeline] } [2023-08-04T11:46:31.316Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-04T11:46:31.351Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-04T11:46:31.377Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-08-04T11:46:31.377Z] 167b2b37d553877e8454e5976795d0c3ccee8733 [2023-08-04T11:46:31.377Z] latest [2023-08-04T11:46:31.377Z] 3.1.0-dev.3 [2023-08-04T11:46:31.377Z] 167b2b37d553877e8454e5976795d0c3ccee8733-3.1.0-dev.3 [2023-08-04T11:46:31.377Z] main [2023-08-04T11:46:31.377Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:46:31.707Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:167b2b37d553877e8454e5976795d0c3ccee8733 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:46:32.018Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:167b2b37d553877e8454e5976795d0c3ccee8733 [2023-08-04T11:46:32.018Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-08-04T11:46:32.018Z] 6a3c0e0b1b60: Preparing [2023-08-04T11:46:32.018Z] a2b71415c018: Preparing [2023-08-04T11:46:32.018Z] 73a26287ce89: Preparing [2023-08-04T11:46:32.018Z] ac65a4286608: Preparing [2023-08-04T11:46:32.018Z] 3dab9f8bf2d2: Preparing [2023-08-04T11:46:32.018Z] 3dab9f8bf2d2: Layer already exists [2023-08-04T11:46:32.018Z] ac65a4286608: Pushed [2023-08-04T11:46:32.018Z] a2b71415c018: Pushed [2023-08-04T11:46:32.018Z] 73a26287ce89: Pushed [2023-08-04T11:46:34.551Z] 6a3c0e0b1b60: Pushed [2023-08-04T11:46:34.810Z] 167b2b37d553877e8454e5976795d0c3ccee8733: digest: sha256:e7c5a57a0d2f1af805c6f56da14ed440be200abff57d1e02feb706d8a17a4d42 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:46:35.127Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:46:35.435Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-08-04T11:46:35.435Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-08-04T11:46:35.435Z] 6a3c0e0b1b60: Preparing [2023-08-04T11:46:35.435Z] a2b71415c018: Preparing [2023-08-04T11:46:35.435Z] 73a26287ce89: Preparing [2023-08-04T11:46:35.435Z] ac65a4286608: Preparing [2023-08-04T11:46:35.435Z] 3dab9f8bf2d2: Preparing [2023-08-04T11:46:35.435Z] ac65a4286608: Layer already exists [2023-08-04T11:46:35.435Z] 3dab9f8bf2d2: Layer already exists [2023-08-04T11:46:35.435Z] 6a3c0e0b1b60: Layer already exists [2023-08-04T11:46:35.435Z] 73a26287ce89: Layer already exists [2023-08-04T11:46:35.435Z] a2b71415c018: Layer already exists [2023-08-04T11:46:35.435Z] latest: digest: sha256:e7c5a57a0d2f1af805c6f56da14ed440be200abff57d1e02feb706d8a17a4d42 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:46:35.750Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:46:36.054Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.3 [2023-08-04T11:46:36.054Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-08-04T11:46:36.054Z] 6a3c0e0b1b60: Preparing [2023-08-04T11:46:36.054Z] a2b71415c018: Preparing [2023-08-04T11:46:36.054Z] 73a26287ce89: Preparing [2023-08-04T11:46:36.054Z] ac65a4286608: Preparing [2023-08-04T11:46:36.054Z] 3dab9f8bf2d2: Preparing [2023-08-04T11:46:36.054Z] a2b71415c018: Layer already exists [2023-08-04T11:46:36.054Z] 73a26287ce89: Layer already exists [2023-08-04T11:46:36.054Z] 6a3c0e0b1b60: Layer already exists [2023-08-04T11:46:36.054Z] ac65a4286608: Layer already exists [2023-08-04T11:46:36.054Z] 3dab9f8bf2d2: Layer already exists [2023-08-04T11:46:36.054Z] 3.1.0-dev.3: digest: sha256:e7c5a57a0d2f1af805c6f56da14ed440be200abff57d1e02feb706d8a17a4d42 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:46:36.360Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:167b2b37d553877e8454e5976795d0c3ccee8733-3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:46:36.668Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:167b2b37d553877e8454e5976795d0c3ccee8733-3.1.0-dev.3 [2023-08-04T11:46:36.668Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-08-04T11:46:36.668Z] 6a3c0e0b1b60: Preparing [2023-08-04T11:46:36.668Z] a2b71415c018: Preparing [2023-08-04T11:46:36.668Z] 73a26287ce89: Preparing [2023-08-04T11:46:36.668Z] ac65a4286608: Preparing [2023-08-04T11:46:36.668Z] 3dab9f8bf2d2: Preparing [2023-08-04T11:46:36.668Z] 73a26287ce89: Layer already exists [2023-08-04T11:46:36.668Z] 3dab9f8bf2d2: Layer already exists [2023-08-04T11:46:36.668Z] a2b71415c018: Layer already exists [2023-08-04T11:46:36.668Z] ac65a4286608: Layer already exists [2023-08-04T11:46:36.668Z] 6a3c0e0b1b60: Layer already exists [2023-08-04T11:46:36.668Z] 167b2b37d553877e8454e5976795d0c3ccee8733-3.1.0-dev.3: digest: sha256:e7c5a57a0d2f1af805c6f56da14ed440be200abff57d1e02feb706d8a17a4d42 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:46:36.982Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:46:37.286Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-08-04T11:46:37.286Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-08-04T11:46:37.286Z] 6a3c0e0b1b60: Preparing [2023-08-04T11:46:37.286Z] a2b71415c018: Preparing [2023-08-04T11:46:37.286Z] 73a26287ce89: Preparing [2023-08-04T11:46:37.286Z] ac65a4286608: Preparing [2023-08-04T11:46:37.286Z] 3dab9f8bf2d2: Preparing [2023-08-04T11:46:37.286Z] a2b71415c018: Layer already exists [2023-08-04T11:46:37.286Z] 3dab9f8bf2d2: Layer already exists [2023-08-04T11:46:37.286Z] 6a3c0e0b1b60: Layer already exists [2023-08-04T11:46:37.286Z] ac65a4286608: Layer already exists [2023-08-04T11:46:37.286Z] 73a26287ce89: Layer already exists [2023-08-04T11:46:37.286Z] main: digest: sha256:e7c5a57a0d2f1af805c6f56da14ed440be200abff57d1e02feb706d8a17a4d42 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-04T11:46:37.325Z] ===================================================== [Pipeline] echo [2023-08-04T11:46:37.331Z] taggedImages: [2023-08-04T11:46:37.331Z] - nexus3.edgexfoundry.org:10004/device-virtual:167b2b37d553877e8454e5976795d0c3ccee8733 [2023-08-04T11:46:37.331Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-08-04T11:46:37.331Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.3 [2023-08-04T11:46:37.331Z] - nexus3.edgexfoundry.org:10004/device-virtual:167b2b37d553877e8454e5976795d0c3ccee8733-3.1.0-dev.3 [2023-08-04T11:46:37.331Z] - 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-04T11:46:37.699Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-04T11:46:37.699Z] [2023-08-04T11:46:37.699Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:46:37.991Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-04T11:46:37.992Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-04T11:46:37.992Z] 5eb5b503b376: Pulling fs layer [2023-08-04T11:46:37.992Z] 5c69ac0246d0: Pulling fs layer [2023-08-04T11:46:37.992Z] ec43610c2a17: Pulling fs layer [2023-08-04T11:46:37.992Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-04T11:46:37.992Z] 33b1e0a273af: Pulling fs layer [2023-08-04T11:46:37.992Z] 5d3b04190fa2: Pulling fs layer [2023-08-04T11:46:37.992Z] 2f39f015ded8: Pulling fs layer [2023-08-04T11:46:37.992Z] 3a2ae6a8a46f: Waiting [2023-08-04T11:46:37.992Z] 5d3b04190fa2: Waiting [2023-08-04T11:46:37.992Z] 33b1e0a273af: Waiting [2023-08-04T11:46:37.992Z] 2f39f015ded8: Waiting [2023-08-04T11:46:37.992Z] 5c69ac0246d0: Verifying Checksum [2023-08-04T11:46:37.992Z] 5c69ac0246d0: Download complete [2023-08-04T11:46:37.992Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-04T11:46:37.992Z] 3a2ae6a8a46f: Download complete [2023-08-04T11:46:37.992Z] 33b1e0a273af: Verifying Checksum [2023-08-04T11:46:37.992Z] 33b1e0a273af: Download complete [2023-08-04T11:46:37.992Z] ec43610c2a17: Verifying Checksum [2023-08-04T11:46:37.992Z] ec43610c2a17: Download complete [2023-08-04T11:46:37.992Z] 5d3b04190fa2: Download complete [2023-08-04T11:46:38.251Z] 5eb5b503b376: Verifying Checksum [2023-08-04T11:46:38.251Z] 5eb5b503b376: Download complete [2023-08-04T11:46:38.820Z] 2f39f015ded8: Download complete [2023-08-04T11:46:39.386Z] 5eb5b503b376: Pull complete [2023-08-04T11:46:39.386Z] 5c69ac0246d0: Pull complete [2023-08-04T11:46:39.951Z] ec43610c2a17: Pull complete [2023-08-04T11:46:39.951Z] 3a2ae6a8a46f: Pull complete [2023-08-04T11:46:40.209Z] 33b1e0a273af: Pull complete [2023-08-04T11:46:40.209Z] 5d3b04190fa2: Pull complete [2023-08-04T11:46:40.377Z] 8d51d6327a98: Pull complete [2023-08-04T11:46:40.377Z] 8b374f2dd631: Pull complete [2023-08-04T11:46:40.377Z] ec14aa9079de: Pull complete [2023-08-04T11:46:44.389Z] 2f39f015ded8: Pull complete [2023-08-04T11:46:44.389Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-04T11:46:44.389Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-04T11:46:44.389Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T11:46:44.526Z] prd-ubuntu20.04-docker-8c-8g-2899 does not seem to be running inside a container [2023-08-04T11:46:44.554Z] $ 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-04T11:46:47.098Z] 2f466654f4bb: Pull complete [2023-08-04T11:46:49.050Z] 554e91adad29: Pull complete [2023-08-04T11:46:49.050Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-04T11:46:49.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-04T11:46:49.050Z] ---> 1e15ea492957 [2023-08-04T11:46:49.050Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-04T11:46:50.758Z] $ docker top 3266ae59fd2e46d6e479bc376a07af7c508a513f0e3a7916bdfd1fb4f1bab6ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:46:51.001Z] ---> Running in 9f907e7274e1 [2023-08-04T11:46:51.001Z] Removing intermediate container 9f907e7274e1 [2023-08-04T11:46:51.001Z] ---> 4cafb06911aa [2023-08-04T11:46:51.001Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-04T11:46:51.153Z] ---> job-cost.sh [2023-08-04T11:46:51.153Z] lf-activate-venv: SKIPPING [2023-08-04T11:46:51.153Z] INFO: No Stack... [2023-08-04T11:46:51.269Z] ---> Running in 6f8b4c6a8112 [2023-08-04T11:46:51.411Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-04T11:46:51.538Z] Removing intermediate container 6f8b4c6a8112 [2023-08-04T11:46:51.538Z] ---> f404c71ac6a2 [2023-08-04T11:46:51.538Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-08-04T11:46:51.538Z] ---> Running in 2217e06da398 [2023-08-04T11:46:51.671Z] INFO: Archiving Costs [Pipeline] sh [2023-08-04T11:46:51.807Z] Removing intermediate container 2217e06da398 [2023-08-04T11:46:51.807Z] ---> eb05191a22b3 [2023-08-04T11:46:51.807Z] Step 6/12 : WORKDIR /device-virtual-go [2023-08-04T11:46:51.807Z] ---> Running in b1183f923c52 [2023-08-04T11:46:51.961Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2023-08-04T11:46:51.961Z] + cut -d, -f6 [Pipeline] lock [2023-08-04T11:46:51.973Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-129-stack-cost] [2023-08-04T11:46:51.979Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-129-stack-cost] did not exist. Created. [2023-08-04T11:46:51.980Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-129-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-04T11:46:52.076Z] Removing intermediate container b1183f923c52 [2023-08-04T11:46:52.076Z] ---> e5580d436f28 [2023-08-04T11:46:52.076Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-04T11:46:52.301Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-04T11:46:52.334Z] Stashed 1 file(s) [Pipeline] } [2023-08-04T11:46:52.340Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-129-stack-cost] [2023-08-04T11:46:52.343Z] ---> Running in 791a3c1b26ef [Pipeline] // lock [Pipeline] } [2023-08-04T11:46:52.361Z] $ docker stop --time=1 3266ae59fd2e46d6e479bc376a07af7c508a513f0e3a7916bdfd1fb4f1bab6ff [2023-08-04T11:46:53.302Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-04T11:46:53.517Z] $ docker rm -f --volumes 3266ae59fd2e46d6e479bc376a07af7c508a513f0e3a7916bdfd1fb4f1bab6ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-04T11:46:53.884Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-04T11:46:54.850Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-04T11:46:54.850Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-04T11:46:54.850Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-04T11:46:54.850Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-04T11:46:54.850Z] Executing busybox-1.35.0-r29.trigger [2023-08-04T11:46:54.850Z] OK: 268 MiB in 57 packages [2023-08-04T11:46:56.264Z] Removing intermediate container 791a3c1b26ef [2023-08-04T11:46:56.264Z] ---> faaea83e8ef2 [2023-08-04T11:46:56.264Z] Step 8/12 : COPY go.mod vendor* ./ [2023-08-04T11:46:56.543Z] ---> b1ffef51da50 [2023-08-04T11:46:56.543Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-04T11:46:56.543Z] ---> Running in 824e16f52798 [2023-08-04T11:48:04.449Z] Removing intermediate container 824e16f52798 [2023-08-04T11:48:04.449Z] ---> 9b423194af41 [2023-08-04T11:48:04.449Z] Step 10/12 : COPY . . [2023-08-04T11:48:04.449Z] ---> 4ef9c3ae0713 [2023-08-04T11:48:04.449Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-04T11:48:04.449Z] ---> Running in c186ccfad569 [2023-08-04T11:48:04.449Z] Removing intermediate container c186ccfad569 [2023-08-04T11:48:04.449Z] ---> 24ba2c1bddf1 [2023-08-04T11:48:04.449Z] Step 12/12 : RUN $MAKE [2023-08-04T11:48:04.449Z] ---> Running in 1108e68eec29 [2023-08-04T11:48:04.449Z] noop [2023-08-04T11:48:04.449Z] Removing intermediate container 1108e68eec29 [2023-08-04T11:48:04.449Z] ---> f785c9e4287d [2023-08-04T11:48:04.449Z] Successfully built f785c9e4287d [2023-08-04T11:48:04.449Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:48:04.805Z] + docker inspect -f . ci-base-image-arm64 [2023-08-04T11:48:04.805Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T11:48:04.997Z] prd-ubuntu20.04-docker-arm64-4c-16g-2900 does not seem to be running inside a container [2023-08-04T11:48:05.066Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/129 -v /w/workspace/device-virtual-go/129:/w/workspace/device-virtual-go/129:rw,z -v /w/workspace/device-virtual-go/129@tmp:/w/workspace/device-virtual-go/129@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-04T11:48:06.210Z] $ docker top 4d675be3924a7bad3e34e73c32bc138926f0f5d03fdc085ce27cf3a50ee023b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T11:48:07.006Z] + go version [2023-08-04T11:48:07.006Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-04T11:48:07.026Z] $ docker stop --time=1 4d675be3924a7bad3e34e73c32bc138926f0f5d03fdc085ce27cf3a50ee023b4 [2023-08-04T11:48:08.581Z] $ docker rm -f --volumes 4d675be3924a7bad3e34e73c32bc138926f0f5d03fdc085ce27cf3a50ee023b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:48:09.105Z] + docker inspect -f . ci-base-image-arm64 [2023-08-04T11:48:09.105Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T11:48:09.278Z] prd-ubuntu20.04-docker-arm64-4c-16g-2900 does not seem to be running inside a container [2023-08-04T11:48:09.340Z] $ 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/129 -v /w/workspace/device-virtual-go/129:/w/workspace/device-virtual-go/129:rw,z -v /w/workspace/device-virtual-go/129@tmp:/w/workspace/device-virtual-go/129@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-04T11:48:10.428Z] $ docker top a69bf735262430c7fe65ce9c51fde4d9a1b6f6d2dfac8908233e829f29d833b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T11:48:10.921Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/129 [Pipeline] fileExists [Pipeline] sh [2023-08-04T11:48:11.254Z] + make test [2023-08-04T11:48:11.254Z] go test ./... -coverprofile=coverage.out [2023-08-04T11:48:43.471Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-08-04T11:50:35.125Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-08-04T11:50:35.125Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.091s coverage: 58.4% of statements [2023-08-04T11:50:36.088Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-04T11:50:36.088Z] go vet ./... [2023-08-04T11:51:14.988Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-04T11:51:14.988Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-04T11:51:14.988Z] ./bin/test-attribution-txt.sh [2023-08-04T11:51:14.988Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-04T11:51:14.988Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-08-04T11:51:14.988Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-04T11:51:14.988Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-04T11:51:14.988Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-04T11:51:14.988Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-04T11:51:15.007Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-04T11:51:15.023Z] $ docker stop --time=1 a69bf735262430c7fe65ce9c51fde4d9a1b6f6d2dfac8908233e829f29d833b0 [2023-08-04T11:51:16.834Z] $ docker rm -f --volumes a69bf735262430c7fe65ce9c51fde4d9a1b6f6d2dfac8908233e829f29d833b0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-04T11:51:17.968Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-04T11:51:17.986Z] Warning: overwriting stash ‘coverage-report’ [2023-08-04T11:51:18.506Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-04T11:51:18.899Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-04T11:51:19.214Z] + ls -al . [2023-08-04T11:51:19.214Z] total 200 [2023-08-04T11:51:19.214Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 11:48 . [2023-08-04T11:51:19.214Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 11:45 .. [2023-08-04T11:51:19.214Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 11:45 .git [2023-08-04T11:51:19.214Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 11:45 .github [2023-08-04T11:51:19.214Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 4 11:45 .gitignore [2023-08-04T11:51:19.214Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 4 11:45 .golangci.yml [2023-08-04T11:51:19.214Z] -rw-rw-r-- 1 jenkins jenkins 9050 Aug 4 11:45 Attribution.txt [2023-08-04T11:51:19.214Z] -rw-rw-r-- 1 jenkins jenkins 14372 Aug 4 11:45 CHANGELOG.md [2023-08-04T11:51:19.214Z] -rw-rw-r-- 1 jenkins jenkins 1646 Aug 4 11:45 Dockerfile [2023-08-04T11:51:19.214Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 11:45 GOVERNANCE.md [2023-08-04T11:51:19.214Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 4 11:45 Jenkinsfile [2023-08-04T11:51:19.214Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 4 11:45 LICENSE [2023-08-04T11:51:19.214Z] -rw-rw-r-- 1 jenkins jenkins 1947 Aug 4 11:45 Makefile [2023-08-04T11:51:19.214Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 4 11:45 OWNERS.md [2023-08-04T11:51:19.214Z] -rw-rw-r-- 1 jenkins jenkins 4111 Aug 4 11:45 README.md [2023-08-04T11:51:19.214Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 4 11:44 VERSION [2023-08-04T11:51:19.214Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 11:45 bin [2023-08-04T11:51:19.214Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 11:45 cmd [2023-08-04T11:51:19.214Z] -rw-r--r-- 1 jenkins jenkins 43063 Aug 4 11:50 coverage.out [2023-08-04T11:51:19.214Z] -rw-rw-r-- 1 jenkins jenkins 3636 Aug 4 11:45 go.mod [2023-08-04T11:51:19.214Z] -rw-rw-r-- 1 jenkins jenkins 33427 Aug 4 11:45 go.sum [2023-08-04T11:51:19.214Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 11:45 internal [2023-08-04T11:51:19.214Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 11:45 snap [2023-08-04T11:51:19.214Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 4 11:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:51:19.572Z] + 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=167b2b37d553877e8454e5976795d0c3ccee8733 --label arch=arm64 --label version=3.1.0-dev.3 . [2023-08-04T11:51:19.856Z] Sending build context to Docker daemon 11.94MB [2023-08-04T11:51:19.856Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-04T11:51:19.856Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-04T11:51:19.856Z] ---> f785c9e4287d [2023-08-04T11:51:19.856Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-04T11:51:21.278Z] ---> Running in 347cc75cd910 [2023-08-04T11:51:21.278Z] Removing intermediate container 347cc75cd910 [2023-08-04T11:51:21.278Z] ---> 35a41c11317c [2023-08-04T11:51:21.278Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-04T11:51:21.278Z] ---> Running in 659badc5b3a0 [2023-08-04T11:51:21.555Z] Removing intermediate container 659badc5b3a0 [2023-08-04T11:51:21.555Z] ---> bead568f3930 [2023-08-04T11:51:21.555Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-08-04T11:51:21.555Z] ---> Running in 509ae20193ed [2023-08-04T11:51:22.140Z] Removing intermediate container 509ae20193ed [2023-08-04T11:51:22.140Z] ---> 4d4475e3192c [2023-08-04T11:51:22.140Z] Step 6/25 : WORKDIR /device-virtual-go [2023-08-04T11:51:22.140Z] ---> Running in caeebdba4f44 [2023-08-04T11:51:22.410Z] Removing intermediate container caeebdba4f44 [2023-08-04T11:51:22.410Z] ---> f6fa8bea296b [2023-08-04T11:51:22.410Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-04T11:51:22.410Z] ---> Running in 11ea9607507c [2023-08-04T11:51:23.370Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-04T11:51:23.953Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-04T11:51:24.910Z] OK: 268 MiB in 57 packages [2023-08-04T11:51:25.495Z] Removing intermediate container 11ea9607507c [2023-08-04T11:51:25.495Z] ---> 2d081e0e4ff7 [2023-08-04T11:51:25.495Z] Step 8/25 : COPY go.mod vendor* ./ [2023-08-04T11:51:26.079Z] ---> be27df38ebe8 [2023-08-04T11:51:26.079Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-04T11:51:26.079Z] ---> Running in 294f109cb952 [2023-08-04T11:51:28.660Z] Removing intermediate container 294f109cb952 [2023-08-04T11:51:28.660Z] ---> e98c25b54cef [2023-08-04T11:51:28.660Z] Step 10/25 : COPY . . [2023-08-04T11:51:29.618Z] ---> a82f8c69e06e [2023-08-04T11:51:29.618Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-04T11:51:29.618Z] ---> Running in aea74b7241f2 [2023-08-04T11:51:29.888Z] Removing intermediate container aea74b7241f2 [2023-08-04T11:51:29.888Z] ---> df65bf898944 [2023-08-04T11:51:29.888Z] Step 12/25 : RUN $MAKE [2023-08-04T11:51:30.157Z] ---> Running in 5948c23c7f25 [2023-08-04T11:51:31.115Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.3 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.10" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-08-04T11:53:38.007Z] Removing intermediate container 5948c23c7f25 [2023-08-04T11:53:38.007Z] ---> 7d1a2b02d602 [2023-08-04T11:53:38.007Z] Step 13/25 : FROM alpine:3.17 [2023-08-04T11:53:38.007Z] 3.17: Pulling from library/alpine [2023-08-04T11:53:38.007Z] edb6bdbacee9: Already exists [2023-08-04T11:53:38.274Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-08-04T11:53:38.274Z] Status: Downloaded newer image for alpine:3.17 [2023-08-04T11:53:38.274Z] ---> 779605e5fbc0 [2023-08-04T11:53:38.274Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-08-04T11:53:38.274Z] ---> Running in 67366c7e0749 [2023-08-04T11:53:38.543Z] Removing intermediate container 67366c7e0749 [2023-08-04T11:53:38.543Z] ---> 5f28a0f802ef [2023-08-04T11:53:38.543Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-08-04T11:53:38.824Z] ---> Running in de30112cf13b [2023-08-04T11:53:39.792Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-04T11:53:40.058Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-04T11:53:41.014Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-04T11:53:41.014Z] Executing busybox-1.35.0-r29.trigger [2023-08-04T11:53:41.014Z] OK: 8 MiB in 16 packages [2023-08-04T11:53:41.975Z] Removing intermediate container de30112cf13b [2023-08-04T11:53:41.975Z] ---> 37534788c789 [2023-08-04T11:53:41.975Z] Step 16/25 : WORKDIR / [2023-08-04T11:53:41.975Z] ---> Running in f583d80ee567 [2023-08-04T11:53:42.241Z] Removing intermediate container f583d80ee567 [2023-08-04T11:53:42.241Z] ---> ee4de53700d3 [2023-08-04T11:53:42.241Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-08-04T11:53:42.822Z] ---> 6418d3134fb0 [2023-08-04T11:53:42.822Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-08-04T11:53:43.088Z] ---> 22a147d7171b [2023-08-04T11:53:43.088Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-08-04T11:53:45.036Z] ---> 7bf1ee65f018 [2023-08-04T11:53:45.036Z] Step 20/25 : EXPOSE 59900 [2023-08-04T11:53:45.036Z] ---> Running in 53757a7576e6 [2023-08-04T11:53:45.036Z] Removing intermediate container 53757a7576e6 [2023-08-04T11:53:45.036Z] ---> eeb2f40097c6 [2023-08-04T11:53:45.036Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-08-04T11:53:45.036Z] ---> Running in c9959e0a1e91 [2023-08-04T11:53:45.302Z] Removing intermediate container c9959e0a1e91 [2023-08-04T11:53:45.302Z] ---> 2fcc42b132cf [2023-08-04T11:53:45.302Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-04T11:53:45.302Z] ---> Running in 50481a338434 [2023-08-04T11:53:45.569Z] Removing intermediate container 50481a338434 [2023-08-04T11:53:45.569Z] ---> 4dcc58343930 [2023-08-04T11:53:45.569Z] Step 23/25 : LABEL arch=arm64 [2023-08-04T11:53:45.569Z] ---> Running in c4e7af6577d7 [2023-08-04T11:53:45.842Z] Removing intermediate container c4e7af6577d7 [2023-08-04T11:53:45.842Z] ---> e3eb0c2aa028 [2023-08-04T11:53:45.842Z] Step 24/25 : LABEL git_sha=167b2b37d553877e8454e5976795d0c3ccee8733 [2023-08-04T11:53:46.110Z] ---> Running in ff4bd5929042 [2023-08-04T11:53:46.379Z] Removing intermediate container ff4bd5929042 [2023-08-04T11:53:46.379Z] ---> f2a30934bff3 [2023-08-04T11:53:46.379Z] Step 25/25 : LABEL version=3.1.0-dev.3 [2023-08-04T11:53:46.379Z] ---> Running in 602314630dca [2023-08-04T11:53:46.644Z] Removing intermediate container 602314630dca [2023-08-04T11:53:46.644Z] ---> 311806a37768 [2023-08-04T11:53:46.644Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-04T11:53:46.644Z] Successfully built 311806a37768 [2023-08-04T11:53:46.644Z] 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-04T11:53:46.777Z] provisioning config files... [2023-08-04T11:53:46.790Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/129@tmp/config17137283409842896214tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:53:47.119Z] ---> docker-login.sh [2023-08-04T11:53:47.119Z] nexus3.edgexfoundry.org:10001 [2023-08-04T11:53:47.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:53:47.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:53:47.386Z] Configure a credential helper to remove this warning. See [2023-08-04T11:53:47.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:53:47.386Z] [2023-08-04T11:53:47.386Z] Login Succeeded [2023-08-04T11:53:47.386Z] nexus3.edgexfoundry.org:10002 [2023-08-04T11:53:47.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:53:47.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:53:47.653Z] Configure a credential helper to remove this warning. See [2023-08-04T11:53:47.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:53:47.653Z] [2023-08-04T11:53:47.653Z] Login Succeeded [2023-08-04T11:53:47.653Z] nexus3.edgexfoundry.org:10003 [2023-08-04T11:53:47.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:53:47.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:53:47.919Z] Configure a credential helper to remove this warning. See [2023-08-04T11:53:47.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:53:47.919Z] [2023-08-04T11:53:47.919Z] Login Succeeded [2023-08-04T11:53:47.919Z] nexus3.edgexfoundry.org:10004 [2023-08-04T11:53:48.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:53:48.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:53:48.455Z] Configure a credential helper to remove this warning. See [2023-08-04T11:53:48.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:53:48.455Z] [2023-08-04T11:53:48.455Z] Login Succeeded [2023-08-04T11:53:48.455Z] docker.io [2023-08-04T11:53:48.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:53:48.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:53:48.985Z] Configure a credential helper to remove this warning. See [2023-08-04T11:53:48.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:53:48.985Z] [2023-08-04T11:53:48.985Z] Login Succeeded [2023-08-04T11:53:48.985Z] ---> docker-login.sh ends [Pipeline] } [2023-08-04T11:53:48.996Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-04T11:53:49.026Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-04T11:53:49.043Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-08-04T11:53:49.043Z] 167b2b37d553877e8454e5976795d0c3ccee8733 [2023-08-04T11:53:49.043Z] latest [2023-08-04T11:53:49.043Z] 3.1.0-dev.3 [2023-08-04T11:53:49.043Z] 167b2b37d553877e8454e5976795d0c3ccee8733-3.1.0-dev.3 [2023-08-04T11:53:49.043Z] main [2023-08-04T11:53:49.043Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:53:49.380Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:167b2b37d553877e8454e5976795d0c3ccee8733 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:53:49.712Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:167b2b37d553877e8454e5976795d0c3ccee8733 [2023-08-04T11:53:49.712Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-08-04T11:53:49.712Z] 9a2d1ba78a08: Preparing [2023-08-04T11:53:49.712Z] af3ceebb6a6f: Preparing [2023-08-04T11:53:49.712Z] 0b001770b221: Preparing [2023-08-04T11:53:49.712Z] 3080ad3ab1d4: Preparing [2023-08-04T11:53:49.712Z] 9386262d7a74: Preparing [2023-08-04T11:53:49.712Z] 9386262d7a74: Layer already exists [2023-08-04T11:53:49.976Z] 0b001770b221: Pushed [2023-08-04T11:53:49.976Z] 3080ad3ab1d4: Pushed [2023-08-04T11:53:49.976Z] af3ceebb6a6f: Pushed [2023-08-04T11:53:55.297Z] 9a2d1ba78a08: Pushed [2023-08-04T11:53:55.560Z] 167b2b37d553877e8454e5976795d0c3ccee8733: digest: sha256:afbed1ca802d3fcc60f958cca31a34260f01df4f79c1e6202eb2edf86622eca4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:53:55.989Z] + 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-04T11:53:56.337Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-08-04T11:53:56.337Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-08-04T11:53:56.337Z] 9a2d1ba78a08: Preparing [2023-08-04T11:53:56.337Z] af3ceebb6a6f: Preparing [2023-08-04T11:53:56.337Z] 0b001770b221: Preparing [2023-08-04T11:53:56.337Z] 3080ad3ab1d4: Preparing [2023-08-04T11:53:56.337Z] 9386262d7a74: Preparing [2023-08-04T11:53:56.337Z] 9386262d7a74: Layer already exists [2023-08-04T11:53:56.337Z] af3ceebb6a6f: Layer already exists [2023-08-04T11:53:56.337Z] 9a2d1ba78a08: Layer already exists [2023-08-04T11:53:56.337Z] 3080ad3ab1d4: Layer already exists [2023-08-04T11:53:56.337Z] 0b001770b221: Layer already exists [2023-08-04T11:53:56.337Z] latest: digest: sha256:afbed1ca802d3fcc60f958cca31a34260f01df4f79c1e6202eb2edf86622eca4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:53:56.701Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:53:57.062Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.3 [2023-08-04T11:53:57.062Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-08-04T11:53:57.062Z] 9a2d1ba78a08: Preparing [2023-08-04T11:53:57.062Z] af3ceebb6a6f: Preparing [2023-08-04T11:53:57.062Z] 0b001770b221: Preparing [2023-08-04T11:53:57.062Z] 3080ad3ab1d4: Preparing [2023-08-04T11:53:57.062Z] 9386262d7a74: Preparing [2023-08-04T11:53:57.062Z] 9a2d1ba78a08: Layer already exists [2023-08-04T11:53:57.062Z] 3080ad3ab1d4: Layer already exists [2023-08-04T11:53:57.062Z] 0b001770b221: Layer already exists [2023-08-04T11:53:57.062Z] 9386262d7a74: Layer already exists [2023-08-04T11:53:57.062Z] af3ceebb6a6f: Layer already exists [2023-08-04T11:53:57.062Z] 3.1.0-dev.3: digest: sha256:afbed1ca802d3fcc60f958cca31a34260f01df4f79c1e6202eb2edf86622eca4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:53:57.417Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:167b2b37d553877e8454e5976795d0c3ccee8733-3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:53:57.762Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:167b2b37d553877e8454e5976795d0c3ccee8733-3.1.0-dev.3 [2023-08-04T11:53:57.763Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-08-04T11:53:57.763Z] 9a2d1ba78a08: Preparing [2023-08-04T11:53:57.763Z] af3ceebb6a6f: Preparing [2023-08-04T11:53:57.763Z] 0b001770b221: Preparing [2023-08-04T11:53:57.763Z] 3080ad3ab1d4: Preparing [2023-08-04T11:53:57.763Z] 9386262d7a74: Preparing [2023-08-04T11:53:57.763Z] 9386262d7a74: Layer already exists [2023-08-04T11:53:57.763Z] 3080ad3ab1d4: Layer already exists [2023-08-04T11:53:57.763Z] af3ceebb6a6f: Layer already exists [2023-08-04T11:53:57.763Z] 0b001770b221: Layer already exists [2023-08-04T11:53:57.763Z] 9a2d1ba78a08: Layer already exists [2023-08-04T11:53:57.763Z] 167b2b37d553877e8454e5976795d0c3ccee8733-3.1.0-dev.3: digest: sha256:afbed1ca802d3fcc60f958cca31a34260f01df4f79c1e6202eb2edf86622eca4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:53:58.096Z] + 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-04T11:53:58.430Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-08-04T11:53:58.430Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-08-04T11:53:58.430Z] 9a2d1ba78a08: Preparing [2023-08-04T11:53:58.430Z] af3ceebb6a6f: Preparing [2023-08-04T11:53:58.430Z] 0b001770b221: Preparing [2023-08-04T11:53:58.430Z] 3080ad3ab1d4: Preparing [2023-08-04T11:53:58.430Z] 9386262d7a74: Preparing [2023-08-04T11:53:58.430Z] 9386262d7a74: Layer already exists [2023-08-04T11:53:58.430Z] 0b001770b221: Layer already exists [2023-08-04T11:53:58.430Z] 3080ad3ab1d4: Layer already exists [2023-08-04T11:53:58.430Z] af3ceebb6a6f: Layer already exists [2023-08-04T11:53:58.430Z] 9a2d1ba78a08: Layer already exists [2023-08-04T11:53:58.430Z] main: digest: sha256:afbed1ca802d3fcc60f958cca31a34260f01df4f79c1e6202eb2edf86622eca4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-04T11:53:58.471Z] ===================================================== [Pipeline] echo [2023-08-04T11:53:58.477Z] taggedImages: [2023-08-04T11:53:58.477Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:167b2b37d553877e8454e5976795d0c3ccee8733 [2023-08-04T11:53:58.477Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-08-04T11:53:58.477Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.3 [2023-08-04T11:53:58.477Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:167b2b37d553877e8454e5976795d0c3ccee8733-3.1.0-dev.3 [2023-08-04T11:53:58.477Z] - 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-04T11:53:58.851Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-04T11:53:58.851Z] [2023-08-04T11:53:58.851Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:53:59.188Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-04T11:53:59.188Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-04T11:53:59.188Z] 8998bd30e6a1: Pulling fs layer [2023-08-04T11:53:59.188Z] 04944245beec: Pulling fs layer [2023-08-04T11:53:59.188Z] 699f458cf7ca: Pulling fs layer [2023-08-04T11:53:59.188Z] 765212b225bb: Pulling fs layer [2023-08-04T11:53:59.188Z] f23df028b6ca: Pulling fs layer [2023-08-04T11:53:59.188Z] d65c8cfc05b1: Pulling fs layer [2023-08-04T11:53:59.188Z] 2437ff75d9bd: Pulling fs layer [2023-08-04T11:53:59.188Z] f23df028b6ca: Waiting [2023-08-04T11:53:59.188Z] d65c8cfc05b1: Waiting [2023-08-04T11:53:59.188Z] 2437ff75d9bd: Waiting [2023-08-04T11:53:59.188Z] 765212b225bb: Waiting [2023-08-04T11:53:59.465Z] 04944245beec: Verifying Checksum [2023-08-04T11:53:59.465Z] 04944245beec: Download complete [2023-08-04T11:53:59.465Z] 765212b225bb: Verifying Checksum [2023-08-04T11:53:59.465Z] 765212b225bb: Download complete [2023-08-04T11:53:59.465Z] f23df028b6ca: Verifying Checksum [2023-08-04T11:53:59.465Z] f23df028b6ca: Download complete [2023-08-04T11:53:59.465Z] d65c8cfc05b1: Verifying Checksum [2023-08-04T11:53:59.465Z] d65c8cfc05b1: Download complete [2023-08-04T11:53:59.465Z] 699f458cf7ca: Verifying Checksum [2023-08-04T11:53:59.465Z] 699f458cf7ca: Download complete [2023-08-04T11:54:00.046Z] 8998bd30e6a1: Verifying Checksum [2023-08-04T11:54:00.046Z] 8998bd30e6a1: Download complete [2023-08-04T11:54:02.619Z] 2437ff75d9bd: Verifying Checksum [2023-08-04T11:54:02.619Z] 2437ff75d9bd: Download complete [2023-08-04T11:54:04.019Z] 8998bd30e6a1: Pull complete [2023-08-04T11:54:04.284Z] 04944245beec: Pull complete [2023-08-04T11:54:05.690Z] 699f458cf7ca: Pull complete [2023-08-04T11:54:05.690Z] 765212b225bb: Pull complete [2023-08-04T11:54:06.274Z] f23df028b6ca: Pull complete [2023-08-04T11:54:06.540Z] d65c8cfc05b1: Pull complete [2023-08-04T11:54:21.523Z] 2437ff75d9bd: Pull complete [2023-08-04T11:54:21.523Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-04T11:54:21.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-04T11:54:21.523Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T11:54:21.706Z] prd-ubuntu20.04-docker-arm64-4c-16g-2900 does not seem to be running inside a container [2023-08-04T11:54:21.764Z] $ 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/129 -v /w/workspace/device-virtual-go/129:/w/workspace/device-virtual-go/129:rw,z -v /w/workspace/device-virtual-go/129@tmp:/w/workspace/device-virtual-go/129@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-04T11:54:24.245Z] $ docker top 4f054f69f911bb3ca90f3b48ed52be89fc820e941e09fc57d302b0dc3a9d0068 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:54:24.758Z] ---> job-cost.sh [2023-08-04T11:54:25.023Z] lf-activate-venv: SKIPPING [2023-08-04T11:54:25.023Z] INFO: No Stack... [2023-08-04T11:54:25.288Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-04T11:54:26.239Z] INFO: Archiving Costs [Pipeline] sh [2023-08-04T11:54:26.555Z] + cat /w/workspace/device-virtual-go/129/archives/cost.csv [2023-08-04T11:54:26.555Z] + cut -d, -f6 [Pipeline] lock [2023-08-04T11:54:26.618Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-129-stack-cost] [2023-08-04T11:54:26.624Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-129-stack-cost] did not exist. Created. [2023-08-04T11:54:26.624Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-129-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-04T11:54:26.961Z] /w/workspace/device-virtual-go/129@tmp/durable-3481c591/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-04T11:54:27.298Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-04T11:54:27.330Z] Warning: overwriting stash ‘stack-cost’ [2023-08-04T11:54:27.383Z] Stashed 1 file(s) [Pipeline] } [2023-08-04T11:54:27.390Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-129-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-04T11:54:27.407Z] $ docker stop --time=1 4f054f69f911bb3ca90f3b48ed52be89fc820e941e09fc57d302b0dc3a9d0068 [2023-08-04T11:54:29.666Z] $ docker rm -f --volumes 4f054f69f911bb3ca90f3b48ed52be89fc820e941e09fc57d302b0dc3a9d0068 [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-04T11:54:30.067Z] provisioning config files... [2023-08-04T11:54:30.074Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10639529268779676233tmp [Pipeline] { [Pipeline] sh [2023-08-04T11:54:30.364Z] + set +x [2023-08-04T11:54:30.364Z] + curl -s https://codecov.io/bash [2023-08-04T11:54:30.364Z] + bash -s -- [2023-08-04T11:54:30.364Z] [2023-08-04T11:54:30.364Z] _____ _ [2023-08-04T11:54:30.364Z] / ____| | | [2023-08-04T11:54:30.364Z] | | ___ __| | ___ ___ _____ __ [2023-08-04T11:54:30.364Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-04T11:54:30.364Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-04T11:54:30.364Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-04T11:54:30.364Z] Bash-1.0.6 [2023-08-04T11:54:30.364Z] [2023-08-04T11:54:30.364Z] [2023-08-04T11:54:30.364Z] ==> git version 2.25.1 found [2023-08-04T11:54:30.364Z] ==> 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-04T11:54:30.364Z] Release-Date: 2020-01-08 [2023-08-04T11:54:30.364Z] 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-04T11:54:30.364Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-04T11:54:30.364Z] ==> Jenkins CI detected. [2023-08-04T11:54:30.364Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-08-04T11:54:30.364Z] project root: . [2023-08-04T11:54:30.364Z] --> token set from env [2023-08-04T11:54:30.364Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-04T11:54:30.364Z] ==> Running gcov in . (disable via -X gcov) [2023-08-04T11:54:30.364Z] ==> Python coveragepy not found [2023-08-04T11:54:30.364Z] ==> Searching for coverage reports in: [2023-08-04T11:54:30.364Z] + . [2023-08-04T11:54:30.364Z] -> Found 1 reports [2023-08-04T11:54:30.364Z] ==> Detecting git/mercurial file structure [2023-08-04T11:54:30.364Z] ==> Reading reports [2023-08-04T11:54:30.623Z] + ./coverage.out bytes=43063 [2023-08-04T11:54:30.623Z] ==> Appending adjustments [2023-08-04T11:54:30.623Z] https://docs.codecov.io/docs/fixing-reports [2023-08-04T11:54:30.623Z] + Found adjustments [2023-08-04T11:54:30.623Z] ==> Gzipping contents [2023-08-04T11:54:30.623Z] 8.0K /tmp/codecov.jqDkxv.gz [2023-08-04T11:54:30.623Z] ==> Uploading reports [2023-08-04T11:54:30.623Z] url: https://codecov.io [2023-08-04T11:54:30.623Z] query: branch=main&commit=167b2b37d553877e8454e5976795d0c3ccee8733&build=129&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F129%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-04T11:54:30.623Z] -> Pinging Codecov [2023-08-04T11:54:30.623Z] 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=167b2b37d553877e8454e5976795d0c3ccee8733&build=129&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F129%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-04T11:54:30.623Z] -> Uploading to [2023-08-04T11:54:30.623Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-04/5E52B4B073DB2E39498172D8E973AA87/167b2b37d553877e8454e5976795d0c3ccee8733/86ffc092-b721-4426-870f-39b3dfd4c108.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230804%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230804T115430Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8de010c68285e778acc9658c03f7b3961228415adaaaf9587a9139c3932369f9 [2023-08-04T11:54:30.623Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-04T11:54:30.623Z] Dload Upload Total Spent Left Speed [2023-08-04T11:54:30.883Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 29622 --:--:-- --:--:-- --:--:-- 29622 [2023-08-04T11:54:30.883Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/167b2b37d553877e8454e5976795d0c3ccee8733 [Pipeline] } [2023-08-04T11:54:30.889Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-04T11:54:31.099Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-04T11:54:31.112Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:54:31.414Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-04T11:54:31.414Z] [2023-08-04T11:54:31.414Z] 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-04T11:54:31.718Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-04T11:54:31.718Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-04T11:54:31.718Z] df9b9388f04a: Pulling fs layer [2023-08-04T11:54:31.718Z] 52dc419b0ee2: Pulling fs layer [2023-08-04T11:54:31.718Z] 25bc292e5bac: Pulling fs layer [2023-08-04T11:54:31.718Z] 114826534d7a: Pulling fs layer [2023-08-04T11:54:31.718Z] 4657fd5d0bcf: Pulling fs layer [2023-08-04T11:54:31.718Z] 6ad1cebc031e: Pulling fs layer [2023-08-04T11:54:31.718Z] 8a3aa393b2d8: Pulling fs layer [2023-08-04T11:54:31.718Z] 4657fd5d0bcf: Waiting [2023-08-04T11:54:31.718Z] 6ad1cebc031e: Waiting [2023-08-04T11:54:31.718Z] 114826534d7a: Waiting [2023-08-04T11:54:31.718Z] 8a3aa393b2d8: Waiting [2023-08-04T11:54:31.718Z] 25bc292e5bac: Verifying Checksum [2023-08-04T11:54:31.718Z] 25bc292e5bac: Download complete [2023-08-04T11:54:31.718Z] 52dc419b0ee2: Verifying Checksum [2023-08-04T11:54:31.718Z] 52dc419b0ee2: Download complete [2023-08-04T11:54:31.718Z] 4657fd5d0bcf: Verifying Checksum [2023-08-04T11:54:31.718Z] 4657fd5d0bcf: Download complete [2023-08-04T11:54:31.718Z] df9b9388f04a: Verifying Checksum [2023-08-04T11:54:31.718Z] df9b9388f04a: Download complete [2023-08-04T11:54:31.976Z] 6ad1cebc031e: Verifying Checksum [2023-08-04T11:54:31.976Z] 6ad1cebc031e: Download complete [2023-08-04T11:54:31.976Z] df9b9388f04a: Pull complete [2023-08-04T11:54:31.976Z] 52dc419b0ee2: Pull complete [2023-08-04T11:54:31.976Z] 25bc292e5bac: Pull complete [2023-08-04T11:54:32.547Z] 114826534d7a: Verifying Checksum [2023-08-04T11:54:32.547Z] 114826534d7a: Download complete [2023-08-04T11:54:32.806Z] 8a3aa393b2d8: Verifying Checksum [2023-08-04T11:54:32.806Z] 8a3aa393b2d8: Download complete [2023-08-04T11:54:36.992Z] 114826534d7a: Pull complete [2023-08-04T11:54:36.992Z] 4657fd5d0bcf: Pull complete [2023-08-04T11:54:37.249Z] 6ad1cebc031e: Pull complete [2023-08-04T11:54:40.542Z] 8a3aa393b2d8: Pull complete [2023-08-04T11:54:40.542Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-04T11:54:40.542Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-04T11:54:40.542Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T11:54:40.628Z] prd-ubuntu20.04-docker-8c-8g-2899 does not seem to be running inside a container [2023-08-04T11:54:40.663Z] $ 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-04T11:54:45.778Z] $ docker top 77c0e2eeb1b2e8c459a525b4a42689d78cebc8f7d808f27e557ef63513b67b0e -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-04T11:54:45.843Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-08-04T11:54:46.130Z] + set -o pipefail [2023-08-04T11:54:46.130Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-08-04T11:54:52.701Z] [2023-08-04T11:54:52.701Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-08-04T11:54:52.701Z] [2023-08-04T11:54:52.701Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/23035c5f-1f84-4549-ba1f-4d2e2cbad9ce [2023-08-04T11:54:52.701Z] [2023-08-04T11:54:52.701Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-08-04T11:54:52.701Z] [2023-08-04T11:54:52.701Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-04T11:54:52.701Z] [2023-08-04T11:54:52.701Z] [2023-08-04T11:54:52.701Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-04T11:54:52.701Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-04T11:54:52.701Z] More details here: https://snyk.co/ue1NS [2023-08-04T11:54:52.701Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-08-04T11:54:52.701Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-08-04T11:54:52.714Z] $ docker stop --time=1 77c0e2eeb1b2e8c459a525b4a42689d78cebc8f7d808f27e557ef63513b67b0e [2023-08-04T11:54:56.831Z] $ docker rm -f --volumes 77c0e2eeb1b2e8c459a525b4a42689d78cebc8f7d808f27e557ef63513b67b0e [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-04T11:54:57.522Z] + git log --format=format:%s -1 167b2b37d553877e8454e5976795d0c3ccee8733 [Pipeline] sh [2023-08-04T11:54:57.810Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-04T11:54:57.810Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:54:58.102Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-04T11:54:58.102Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T11:54:58.179Z] prd-ubuntu20.04-docker-8c-8g-2899 does not seem to be running inside a container [2023-08-04T11:54:58.212Z] $ 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-04T11:54:58.626Z] $ docker top e767d5cd16beb20649c3c167be0d177c86dcc452b7a13c9ac87702042248c153 -eo pid,comm [2023-08-04T11:54:58.669Z] 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-04T11:54:58.669Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-04T11:54:58.711Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-04T11:54:58.711Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-04T11:54:58.817Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-04T11:54:58.821Z] $ docker exec e767d5cd16beb20649c3c167be0d177c86dcc452b7a13c9ac87702042248c153 ssh-agent [2023-08-04T11:54:58.931Z] SSH_AUTH_SOCK=/tmp/ssh-goAoAwOut7vn/agent.32 [2023-08-04T11:54:58.931Z] SSH_AGENT_PID=38 [2023-08-04T11:54:58.936Z] Running ssh-add (command line suppressed) [2023-08-04T11:54:59.049Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13363698466859517417.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13363698466859517417.key) [2023-08-04T11:54:59.060Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-04T11:54:59.344Z] + git semver tag [2023-08-04T11:54:59.605Z] 2023-08-04 11:54:59,515 [run_tag] DEBUG tag force:False [2023-08-04T11:54:59.605Z] 2023-08-04 11:54:59,515 [check_head_tag] DEBUG check head tag [2023-08-04T11:54:59.605Z] 2023-08-04 11:54:59,515 [execute] INFO git cat-file --batch-check [2023-08-04T11:54:59.605Z] 2023-08-04 11:54:59,515 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-08-04T11:54:59.605Z] 2023-08-04 11:54:59,519 [execute] INFO git cat-file --batch [2023-08-04T11:54:59.605Z] 2023-08-04 11:54:59,519 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-08-04T11:54:59.605Z] 2023-08-04 11:54:59,526 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-04T11:54:59.605Z] 2023-08-04 11:54:59,527 [execute] INFO git tag -a v3.1.0-dev.3 -m v3.1.0-dev.3 [2023-08-04T11:54:59.605Z] 2023-08-04 11:54:59,527 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.3', '-m', 'v3.1.0-dev.3'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-04T11:54:59.605Z] 2023-08-04 11:54:59,531 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-04T11:54:59.605Z] 3.1.0-dev.3 [Pipeline] } [2023-08-04T11:54:59.619Z] $ docker exec --env ******** --env ******** e767d5cd16beb20649c3c167be0d177c86dcc452b7a13c9ac87702042248c153 ssh-agent -k [2023-08-04T11:54:59.709Z] unset SSH_AUTH_SOCK; [2023-08-04T11:54:59.710Z] unset SSH_AGENT_PID; [2023-08-04T11:54:59.710Z] echo Agent pid 38 killed; [2023-08-04T11:54:59.718Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-04T11:55:00.027Z] + git semver [Pipeline] } [2023-08-04T11:55:00.298Z] $ docker stop --time=1 e767d5cd16beb20649c3c167be0d177c86dcc452b7a13c9ac87702042248c153 [2023-08-04T11:55:01.566Z] $ docker rm -f --volumes e767d5cd16beb20649c3c167be0d177c86dcc452b7a13c9ac87702042248c153 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:55:01.958Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-04T11:55:01.958Z] [2023-08-04T11:55:01.958Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:55:02.251Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-04T11:55:02.251Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-04T11:55:02.251Z] ab5ef0e58194: Pulling fs layer [2023-08-04T11:55:02.251Z] 9712f1f96733: Pulling fs layer [2023-08-04T11:55:02.251Z] 63f879dbbcfc: Pulling fs layer [2023-08-04T11:55:02.251Z] 0d9ebad4ef96: Pulling fs layer [2023-08-04T11:55:02.251Z] e9a5061849ea: Pulling fs layer [2023-08-04T11:55:02.251Z] d747dcd14b5f: Pulling fs layer [2023-08-04T11:55:02.251Z] 2de7ff778b66: Pulling fs layer [2023-08-04T11:55:02.251Z] 0d9ebad4ef96: Waiting [2023-08-04T11:55:02.251Z] d747dcd14b5f: Waiting [2023-08-04T11:55:02.251Z] 2de7ff778b66: Waiting [2023-08-04T11:55:02.251Z] e9a5061849ea: Waiting [2023-08-04T11:55:02.251Z] 9712f1f96733: Verifying Checksum [2023-08-04T11:55:02.251Z] 9712f1f96733: Download complete [2023-08-04T11:55:02.510Z] 63f879dbbcfc: Verifying Checksum [2023-08-04T11:55:02.510Z] 63f879dbbcfc: Download complete [2023-08-04T11:55:02.767Z] e9a5061849ea: Verifying Checksum [2023-08-04T11:55:02.767Z] e9a5061849ea: Download complete [2023-08-04T11:55:02.767Z] 0d9ebad4ef96: Verifying Checksum [2023-08-04T11:55:02.767Z] 0d9ebad4ef96: Download complete [2023-08-04T11:55:02.767Z] d747dcd14b5f: Download complete [2023-08-04T11:55:02.767Z] ab5ef0e58194: Verifying Checksum [2023-08-04T11:55:02.767Z] ab5ef0e58194: Download complete [2023-08-04T11:55:02.767Z] 2de7ff778b66: Verifying Checksum [2023-08-04T11:55:02.767Z] 2de7ff778b66: Download complete [2023-08-04T11:55:06.047Z] ab5ef0e58194: Pull complete [2023-08-04T11:55:06.047Z] 9712f1f96733: Pull complete [2023-08-04T11:55:06.305Z] 63f879dbbcfc: Pull complete [2023-08-04T11:55:10.484Z] 0d9ebad4ef96: Pull complete [2023-08-04T11:55:10.484Z] e9a5061849ea: Pull complete [2023-08-04T11:55:10.484Z] d747dcd14b5f: Pull complete [2023-08-04T11:55:11.049Z] 2de7ff778b66: Pull complete [2023-08-04T11:55:11.049Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-04T11:55:11.049Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-04T11:55:11.049Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T11:55:11.122Z] prd-ubuntu20.04-docker-8c-8g-2899 does not seem to be running inside a container [2023-08-04T11:55:11.151Z] $ 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-04T11:55:17.177Z] $ docker top 14e9f61ec6851785a1ee11000fa3fb3e978804186634e32d4a3f35be52dc7781 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-04T11:55:17.245Z] provisioning config files... [2023-08-04T11:55:17.251Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15367476057252832873tmp [2023-08-04T11:55:17.261Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16056151768479569915tmp [2023-08-04T11:55:17.269Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9674868789986637917tmp [Pipeline] { [Pipeline] echo [2023-08-04T11:55:17.284Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:55:17.565Z] ---> sigul-configuration.sh [2023-08-04T11:55:17.565Z] gpg: directory `/root/.gnupg' created [2023-08-04T11:55:17.565Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-04T11:55:17.565Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-04T11:55:17.565Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-04T11:55:17.565Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-04T11:55:17.565Z] gpg: CAST5 encrypted data [2023-08-04T11:55:17.565Z] gpg: encrypted with 1 passphrase [2023-08-04T11:55:17.565Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-04T11:55:17.850Z] + mkdir /home/jenkins [2023-08-04T11:55:17.850Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-04T11:55:18.133Z] + 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-04T11:55:18.142Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:55:18.424Z] ---> sigul-install.sh [2023-08-04T11:55:18.424Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-04T11:55:18.706Z] + git tag --list [2023-08-04T11:55:18.706Z] v1.0.0 [2023-08-04T11:55:18.706Z] v1.1.0 [2023-08-04T11:55:18.706Z] v1.1.1 [2023-08-04T11:55:18.706Z] v1.2.1 [2023-08-04T11:55:18.706Z] v1.2.2 [2023-08-04T11:55:18.706Z] v1.2.3 [2023-08-04T11:55:18.706Z] v1.3.0 [2023-08-04T11:55:18.706Z] v1.3.1 [2023-08-04T11:55:18.707Z] v2.0.0 [2023-08-04T11:55:18.707Z] v2.1.0 [2023-08-04T11:55:18.707Z] v2.1.1 [2023-08-04T11:55:18.707Z] v2.2.0 [2023-08-04T11:55:18.707Z] v2.3.0 [2023-08-04T11:55:18.707Z] v3.0 [2023-08-04T11:55:18.707Z] v3.0.0 [2023-08-04T11:55:18.707Z] v3.1.0-dev.1 [2023-08-04T11:55:18.707Z] v3.1.0-dev.2 [2023-08-04T11:55:18.707Z] v3.1.0-dev.3 [Pipeline] sh [2023-08-04T11:55:18.994Z] + lftools sign git-tag v3.1.0-dev.3 [2023-08-04T11:55:19.562Z] Signing Git tag with Sigul... [2023-08-04T11:55:19.562Z] Signing v3.1.0-dev.3 [Pipeline] echo [2023-08-04T11:55:19.828Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:55:20.110Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-04T11:55:20.117Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-04T11:55:20.136Z] $ docker stop --time=1 14e9f61ec6851785a1ee11000fa3fb3e978804186634e32d4a3f35be52dc7781 [2023-08-04T11:55:21.420Z] $ docker rm -f --volumes 14e9f61ec6851785a1ee11000fa3fb3e978804186634e32d4a3f35be52dc7781 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-04T11:55:21.838Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-04T11:55:21.838Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:55:22.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-04T11:55:22.134Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T11:55:22.201Z] prd-ubuntu20.04-docker-8c-8g-2899 does not seem to be running inside a container [2023-08-04T11:55:22.233Z] $ 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-04T11:55:22.544Z] $ docker top 5560d517f461ae1e55f26688f8baad49a39dfdaecff3e0a62acb5651e1205bdc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-04T11:55:22.621Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-04T11:55:22.621Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-04T11:55:22.728Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-04T11:55:22.732Z] $ docker exec 5560d517f461ae1e55f26688f8baad49a39dfdaecff3e0a62acb5651e1205bdc ssh-agent [2023-08-04T11:55:22.837Z] SSH_AUTH_SOCK=/tmp/ssh-Ol5fCdOATJeG/agent.32 [2023-08-04T11:55:22.837Z] SSH_AGENT_PID=38 [2023-08-04T11:55:22.842Z] Running ssh-add (command line suppressed) [2023-08-04T11:55:22.940Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7010644689832920519.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7010644689832920519.key) [2023-08-04T11:55:22.952Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-04T11:55:23.241Z] + git semver bump pre [2023-08-04T11:55:23.501Z] 2023-08-04 11:55:23,420 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-04T11:55:23.501Z] 2023-08-04 11:55:23,420 [bump_version] DEBUG bumping version:3.1.0-dev.3 on axis:pre with prefix:dev [2023-08-04T11:55:23.501Z] 2023-08-04 11:55:23,420 [bump_version] DEBUG bumped version:3.1.0-dev.4 [2023-08-04T11:55:23.501Z] 2023-08-04 11:55:23,420 [write_version] DEBUG write version:3.1.0-dev.4 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-08-04T11:55:23.501Z] 2023-08-04 11:55:23,420 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-04T11:55:23.501Z] 2023-08-04 11:55:23,420 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-04T11:55:23.501Z] 2023-08-04 11:55:23,422 [execute] INFO git cat-file --batch-check [2023-08-04T11:55:23.501Z] 2023-08-04 11:55:23,422 [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-04T11:55:23.501Z] 2023-08-04 11:55:23,427 [execute] INFO git cat-file --batch [2023-08-04T11:55:23.501Z] 2023-08-04 11:55:23,427 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-04T11:55:23.501Z] 2023-08-04 11:55:23,432 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-04T11:55:23.501Z] 3.1.0-dev.4 [Pipeline] } [2023-08-04T11:55:23.512Z] $ docker exec --env ******** --env ******** 5560d517f461ae1e55f26688f8baad49a39dfdaecff3e0a62acb5651e1205bdc ssh-agent -k [2023-08-04T11:55:23.608Z] unset SSH_AUTH_SOCK; [2023-08-04T11:55:23.609Z] unset SSH_AGENT_PID; [2023-08-04T11:55:23.609Z] echo Agent pid 38 killed; [2023-08-04T11:55:23.617Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-04T11:55:23.927Z] + git semver [Pipeline] } [2023-08-04T11:55:24.198Z] $ docker stop --time=1 5560d517f461ae1e55f26688f8baad49a39dfdaecff3e0a62acb5651e1205bdc [2023-08-04T11:55:25.469Z] $ docker rm -f --volumes 5560d517f461ae1e55f26688f8baad49a39dfdaecff3e0a62acb5651e1205bdc [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-04T11:55:25.809Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-04T11:55:25.809Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:55:26.107Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-04T11:55:26.107Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T11:55:26.174Z] prd-ubuntu20.04-docker-8c-8g-2899 does not seem to be running inside a container [2023-08-04T11:55:26.208Z] $ 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-04T11:55:26.543Z] $ docker top 2e3f6da4a8b558d53e856e15379d1cbdc1af40b86cc8689cb2f87cd0fb504a5b -eo pid,comm [2023-08-04T11:55:26.590Z] 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-04T11:55:26.590Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-04T11:55:26.634Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-04T11:55:26.634Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-04T11:55:26.745Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-04T11:55:26.749Z] $ docker exec 2e3f6da4a8b558d53e856e15379d1cbdc1af40b86cc8689cb2f87cd0fb504a5b ssh-agent [2023-08-04T11:55:26.862Z] SSH_AUTH_SOCK=/tmp/ssh-dVX0XM9oL2JB/agent.32 [2023-08-04T11:55:26.862Z] SSH_AGENT_PID=38 [2023-08-04T11:55:26.867Z] Running ssh-add (command line suppressed) [2023-08-04T11:55:26.957Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1453596472284968700.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1453596472284968700.key) [2023-08-04T11:55:26.965Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-04T11:55:27.251Z] + git semver push [2023-08-04T11:55:27.510Z] 2023-08-04 11:55:27,429 [run_push] DEBUG push [2023-08-04T11:55:27.510Z] 2023-08-04 11:55:27,429 [execute] INFO git cat-file --batch-check [2023-08-04T11:55:27.510Z] 2023-08-04 11:55:27,429 [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-04T11:55:27.510Z] 2023-08-04 11:55:27,433 [execute] INFO git rev-list b3795f6b1f596af39a168eddd6c7675c41d8d26a -- [2023-08-04T11:55:27.510Z] 2023-08-04 11:55:27,433 [execute] DEBUG Popen(['git', 'rev-list', 'b3795f6b1f596af39a168eddd6c7675c41d8d26a', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-04T11:55:27.510Z] 2023-08-04 11:55:27,443 [execute] INFO git fetch -v origin [2023-08-04T11:55:27.510Z] 2023-08-04 11:55:27,443 [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-04T11:55:28.077Z] 2023-08-04 11:55:28,011 [run_push] DEBUG no remote changes detected [2023-08-04T11:55:28.077Z] 2023-08-04 11:55:28,011 [execute] INFO git push origin semver [2023-08-04T11:55:28.077Z] 2023-08-04 11:55:28,012 [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-04T11:55:29.014Z] 2023-08-04 11:55:28,910 [run_push] DEBUG push all version tags [2023-08-04T11:55:29.014Z] 2023-08-04 11:55:28,911 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-04T11:55:29.014Z] 2023-08-04 11:55:28,911 [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-04T11:55:29.950Z] 2023-08-04 11:55:29,814 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-04T11:55:29.950Z] 3.1.0-dev.4 [Pipeline] } [2023-08-04T11:55:29.960Z] $ docker exec --env ******** --env ******** 2e3f6da4a8b558d53e856e15379d1cbdc1af40b86cc8689cb2f87cd0fb504a5b ssh-agent -k [2023-08-04T11:55:30.061Z] unset SSH_AUTH_SOCK; [2023-08-04T11:55:30.061Z] unset SSH_AGENT_PID; [2023-08-04T11:55:30.061Z] echo Agent pid 38 killed; [2023-08-04T11:55:30.070Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-04T11:55:30.381Z] + git semver [Pipeline] } [2023-08-04T11:55:30.654Z] $ docker stop --time=1 2e3f6da4a8b558d53e856e15379d1cbdc1af40b86cc8689cb2f87cd0fb504a5b [2023-08-04T11:55:31.943Z] $ docker rm -f --volumes 2e3f6da4a8b558d53e856e15379d1cbdc1af40b86cc8689cb2f87cd0fb504a5b [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-04T11:55:32.502Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-08-04T11:55:32.502Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-08-04T11:55:32.502Z] total 16 [2023-08-04T11:55:32.502Z] drwxr-xr-x 3 root root 4096 Aug 4 11:46 . [2023-08-04T11:55:32.502Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 4 11:55 .. [2023-08-04T11:55:32.502Z] drwxr-xr-x 2 root root 4096 Aug 4 11:46 cost [2023-08-04T11:55:32.502Z] -rw-r--r-- 1 root root 89 Aug 4 11:46 cost.csv [2023-08-04T11:55:32.502Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-08-04T11:55:32.502Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-08-04T11:55:32.502Z] total 16 [2023-08-04T11:55:32.502Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 11:46 . [2023-08-04T11:55:32.502Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 4 11:55 .. [2023-08-04T11:55:32.502Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 4 11:46 cost [2023-08-04T11:55:32.502Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 4 11:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:55:32.796Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:55:33.651Z] ---> package-listing.sh [2023-08-04T11:55:33.651Z] ++ facter osfamily [2023-08-04T11:55:33.651Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-04T11:55:33.910Z] + OS_FAMILY=debian [2023-08-04T11:55:33.910Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-08-04T11:55:33.910Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-04T11:55:33.910Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-04T11:55:33.910Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-04T11:55:33.910Z] + PACKAGES=/tmp/packages_start.txt [2023-08-04T11:55:33.910Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-08-04T11:55:33.910Z] + PACKAGES=/tmp/packages_end.txt [2023-08-04T11:55:33.910Z] + case "${OS_FAMILY}" in [2023-08-04T11:55:33.910Z] + dpkg -l [2023-08-04T11:55:33.910Z] + grep '^ii' [2023-08-04T11:55:33.910Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-04T11:55:33.910Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-04T11:55:33.910Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-04T11:55:33.910Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-08-04T11:55:33.910Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-08-04T11:55:33.910Z] + 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-04T11:55:33.922Z] 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-04T11:55:34.198Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:55:34.756Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-04T11:55:34.756Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T11:55:34.824Z] prd-ubuntu20.04-docker-8c-8g-2899 does not seem to be running inside a container [2023-08-04T11:55:34.855Z] $ 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-04T11:55:35.050Z] $ docker top 2fa12c71922bc9dc4c6c9cbe1d8fcc7b2bc04f2ae9b399627ef06b2189b98093 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T11:55:35.447Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-04T11:55:35.751Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-04T11:55:36.061Z] + ls /var/log/sa-host [2023-08-04T11:55:36.061Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-04T11:55:36.217Z] provisioning config files... [2023-08-04T11:55:36.225Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2001093667535709053tmp [Pipeline] { [Pipeline] echo [2023-08-04T11:55:36.237Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:55:36.519Z] ---> create-netrc.sh [Pipeline] } [2023-08-04T11:55:36.526Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:55:36.854Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-04T11:55:36.863Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:55:37.144Z] ---> sudo-logs.sh [2023-08-04T11:55:37.144Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-04T11:55:37.164Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:55:37.444Z] ---> job-cost.sh [2023-08-04T11:55:37.444Z] lf-activate-venv: SKIPPING [2023-08-04T11:55:37.444Z] DEBUG: total: 0.2199999988079071 [2023-08-04T11:55:37.444Z] INFO: Retrieving Stack Cost... [2023-08-04T11:55:37.704Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-04T11:55:38.271Z] INFO: Archiving Costs [Pipeline] echo [2023-08-04T11:55:38.280Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:55:38.558Z] ---> logs-deploy.sh [2023-08-04T11:55:38.558Z] lf-activate-venv: SKIPPING [2023-08-04T11:55:38.558Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/129 [2023-08-04T11:55:38.558Z] INFO: archiving workspace using pattern(s): [2023-08-04T11:55:39.495Z] Archives upload complete. [2023-08-04T11:55:39.495Z] INFO: archiving logs to Nexus