Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8b8e1bf2b9e06380082507a2409f4790e8b740fe 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-ssh15100689297816223249.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh15023284706607486874.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh11744982122154551083.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh11797723062257819567.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-ssh17168466641415085148.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8137’ Running on prd-ubuntu20.04-docker-8c-8g-8139 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 8b8e1bf2b9e06380082507a2409f4790e8b740fe (main) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b8e1bf2b9e06380082507a2409f4790e8b740fe # timeout=10 Commit message: "Merge pull request #435 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.32" > git rev-list --no-walk f32a3e03ca9b4571ef8ba9c8f47245ce9e6ec012 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-28T13:31:53.115Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-28T13:31:53.177Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-28T13:31:53.189Z] ========================================================= [2023-09-28T13:31:53.189Z] EdgeX Global Pipelines Version Info [2023-09-28T13:31:53.189Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-28T13:31:53.884Z] ------------------- [2023-09-28T13:31:53.884Z] stable info: [2023-09-28T13:31:53.884Z] ------------------- [2023-09-28T13:31:53.884Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-28T13:31:53.884Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-28T13:31:53.884Z] Message: update stable to v1.0.254 [2023-09-28T13:31:54.455Z] ------------------- [2023-09-28T13:31:54.455Z] experimental info: [2023-09-28T13:31:54.455Z] ------------------- [2023-09-28T13:31:54.455Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-28T13:31:54.455Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-28T13:31:54.455Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-28T13:31:54.630Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-09-28T13:31:54.646Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-09-28T13:31:54.664Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-28T13:31:54.684Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-28T13:31:54.700Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-28T13:31:54.711Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-28T13:31:54.729Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-28T13:31:54.747Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-28T13:31:54.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-28T13:31:54.768Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-28T13:31:54.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-28T13:31:54.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-09-28T13:31:54.822Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-28T13:31:54.838Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-28T13:31:54.847Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-28T13:31:54.859Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-28T13:31:54.871Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-28T13:31:54.891Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-28T13:31:54.908Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-28T13:31:54.926Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-28T13:31:54.941Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-28T13:31:54.960Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-28T13:31:54.981Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-28T13:31:54.999Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-28T13:31:55.013Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-28T13:31:55.024Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-28T13:31:55.041Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-28T13:31:55.061Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-28T13:31:55.079Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-28T13:31:55.099Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-28T13:31:55.118Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b8e1bf2b9e06380082507a2409f4790e8b740fe [Pipeline] echo [2023-09-28T13:31:55.128Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b8e1bf [Pipeline] echo [2023-09-28T13:31:55.141Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-28T13:31:55.181Z] provisioning config files... [2023-09-28T13:31:55.194Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10495329908561501285tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T13:31:55.495Z] ---> docker-login.sh [2023-09-28T13:31:55.495Z] nexus3.edgexfoundry.org:10001 [2023-09-28T13:31:55.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T13:31:55.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T13:31:55.754Z] Configure a credential helper to remove this warning. See [2023-09-28T13:31:55.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T13:31:55.754Z] [2023-09-28T13:31:55.754Z] Login Succeeded [2023-09-28T13:31:55.754Z] nexus3.edgexfoundry.org:10002 [2023-09-28T13:31:55.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T13:31:55.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T13:31:55.754Z] Configure a credential helper to remove this warning. See [2023-09-28T13:31:55.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T13:31:55.754Z] [2023-09-28T13:31:55.754Z] Login Succeeded [2023-09-28T13:31:55.754Z] nexus3.edgexfoundry.org:10003 [2023-09-28T13:31:56.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T13:31:56.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T13:31:56.016Z] Configure a credential helper to remove this warning. See [2023-09-28T13:31:56.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T13:31:56.016Z] [2023-09-28T13:31:56.016Z] Login Succeeded [2023-09-28T13:31:56.016Z] nexus3.edgexfoundry.org:10004 [2023-09-28T13:31:56.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T13:31:56.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T13:31:56.016Z] Configure a credential helper to remove this warning. See [2023-09-28T13:31:56.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T13:31:56.016Z] [2023-09-28T13:31:56.016Z] Login Succeeded [2023-09-28T13:31:56.016Z] docker.io [2023-09-28T13:31:56.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T13:31:56.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T13:31:56.276Z] Configure a credential helper to remove this warning. See [2023-09-28T13:31:56.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T13:31:56.276Z] [2023-09-28T13:31:56.276Z] Login Succeeded [2023-09-28T13:31:56.276Z] ---> docker-login.sh ends [Pipeline] } [2023-09-28T13:31:56.283Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-28T13:31:56.653Z] + git rev-list -1 --merges 8b8e1bf2b9e06380082507a2409f4790e8b740fe~1..8b8e1bf2b9e06380082507a2409f4790e8b740fe [Pipeline] echo [2023-09-28T13:31:56.697Z] -----------> git rev-list -1 --merges 8b8e1bf2b9e06380082507a2409f4790e8b740fe~1..8b8e1bf2b9e06380082507a2409f4790e8b740fe 8b8e1bf2b9e06380082507a2409f4790e8b740fe [2023-09-28T13:31:56.697Z] 8b8e1bf2b9e06380082507a2409f4790e8b740fe [false] [Pipeline] sh [2023-09-28T13:31:56.981Z] + git log --format=format:%s -1 8b8e1bf2b9e06380082507a2409f4790e8b740fe [Pipeline] echo [2023-09-28T13:31:56.996Z] ========================================================= [2023-09-28T13:31:56.996Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-28T13:31:56.996Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-28T13:31:57.312Z] + git log --format=format:%s -1 8b8e1bf2b9e06380082507a2409f4790e8b740fe [Pipeline] echo [2023-09-28T13:31:57.338Z] [semverPrep] GIT_COMMIT: 8b8e1bf2b9e06380082507a2409f4790e8b740fe, Commit Message: Merge pull request #435 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.32 [Pipeline] echo [2023-09-28T13:31:57.345Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-28T13:31:57.694Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-28T13:31:57.694Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-28T13:31:57.694Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-28T13:31:57.694Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-28T13:31:57.694Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-28T13:31:57.694Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-28T13:31:57.694Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:31:58.051Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T13:31:58.051Z] [2023-09-28T13:31:58.051Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:31:58.350Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T13:31:58.350Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-28T13:31:58.350Z] b85a868b505f: Pulling fs layer [2023-09-28T13:31:58.350Z] e2be974225ed: Pulling fs layer [2023-09-28T13:31:58.350Z] 339a4e72a1f5: Pulling fs layer [2023-09-28T13:31:58.350Z] 988bab9f4d93: Pulling fs layer [2023-09-28T13:31:58.350Z] 1469e6f7b9e6: Pulling fs layer [2023-09-28T13:31:58.350Z] eaf3925da568: Pulling fs layer [2023-09-28T13:31:58.350Z] bab4dde63d76: Pulling fs layer [2023-09-28T13:31:58.350Z] bde34c3a00c8: Pulling fs layer [2023-09-28T13:31:58.350Z] b352a97aabf1: Pulling fs layer [2023-09-28T13:31:58.350Z] 4872d77fe225: Pulling fs layer [2023-09-28T13:31:58.350Z] 5851b861e8e6: Pulling fs layer [2023-09-28T13:31:58.350Z] 988bab9f4d93: Waiting [2023-09-28T13:31:58.350Z] 1469e6f7b9e6: Waiting [2023-09-28T13:31:58.350Z] eaf3925da568: Waiting [2023-09-28T13:31:58.350Z] bab4dde63d76: Waiting [2023-09-28T13:31:58.350Z] 4872d77fe225: Waiting [2023-09-28T13:31:58.350Z] bde34c3a00c8: Waiting [2023-09-28T13:31:58.350Z] 5851b861e8e6: Waiting [2023-09-28T13:31:58.350Z] b352a97aabf1: Waiting [2023-09-28T13:31:58.350Z] e2be974225ed: Download complete [2023-09-28T13:31:58.350Z] 988bab9f4d93: Download complete [2023-09-28T13:31:58.350Z] 1469e6f7b9e6: Verifying Checksum [2023-09-28T13:31:58.350Z] 1469e6f7b9e6: Download complete [2023-09-28T13:31:58.350Z] 339a4e72a1f5: Verifying Checksum [2023-09-28T13:31:58.350Z] 339a4e72a1f5: Download complete [2023-09-28T13:31:58.610Z] eaf3925da568: Verifying Checksum [2023-09-28T13:31:58.610Z] eaf3925da568: Download complete [2023-09-28T13:31:58.610Z] bde34c3a00c8: Download complete [2023-09-28T13:31:58.610Z] b352a97aabf1: Verifying Checksum [2023-09-28T13:31:58.610Z] b352a97aabf1: Download complete [2023-09-28T13:31:58.610Z] 4872d77fe225: Download complete [2023-09-28T13:31:58.610Z] 5851b861e8e6: Verifying Checksum [2023-09-28T13:31:58.610Z] 5851b861e8e6: Download complete [2023-09-28T13:31:58.610Z] b85a868b505f: Download complete [2023-09-28T13:31:58.868Z] bab4dde63d76: Verifying Checksum [2023-09-28T13:31:58.868Z] bab4dde63d76: Download complete [2023-09-28T13:31:59.803Z] b85a868b505f: Pull complete [2023-09-28T13:32:00.060Z] e2be974225ed: Pull complete [2023-09-28T13:32:02.363Z] 339a4e72a1f5: Pull complete [2023-09-28T13:32:02.363Z] 988bab9f4d93: Pull complete [2023-09-28T13:32:02.363Z] 1469e6f7b9e6: Pull complete [2023-09-28T13:32:02.363Z] eaf3925da568: Pull complete [2023-09-28T13:32:03.741Z] bab4dde63d76: Pull complete [2023-09-28T13:32:03.741Z] bde34c3a00c8: Pull complete [2023-09-28T13:32:04.000Z] b352a97aabf1: Pull complete [2023-09-28T13:32:04.000Z] 4872d77fe225: Pull complete [2023-09-28T13:32:04.000Z] 5851b861e8e6: Pull complete [2023-09-28T13:32:04.000Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-28T13:32:04.000Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T13:32:04.000Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T13:32:04.087Z] prd-ubuntu20.04-docker-8c-8g-8139 does not seem to be running inside a container [2023-09-28T13:32:04.117Z] $ 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-09-28T13:32:04.638Z] $ docker top 8b4a97025c101500c5186a47947e68a8f3855908b77127bd4f496859e62fdfb5 -eo pid,comm [2023-09-28T13:32:04.696Z] 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-09-28T13:32:04.696Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-28T13:32:04.729Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-28T13:32:04.729Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-28T13:32:04.833Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-28T13:32:04.828Z] $ docker exec 8b4a97025c101500c5186a47947e68a8f3855908b77127bd4f496859e62fdfb5 ssh-agent [2023-09-28T13:32:04.962Z] SSH_AUTH_SOCK=/tmp/ssh-qDANZOGqDpmT/agent.32 [2023-09-28T13:32:04.962Z] SSH_AGENT_PID=39 [2023-09-28T13:32:04.969Z] Running ssh-add (command line suppressed) [2023-09-28T13:32:05.064Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17690137623563731977.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17690137623563731977.key) [2023-09-28T13:32:05.088Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-28T13:32:05.372Z] + git tag --points-at HEAD [Pipeline] } [2023-09-28T13:32:05.381Z] $ docker exec --env ******** --env ******** 8b4a97025c101500c5186a47947e68a8f3855908b77127bd4f496859e62fdfb5 ssh-agent -k [2023-09-28T13:32:05.467Z] unset SSH_AUTH_SOCK; [2023-09-28T13:32:05.467Z] unset SSH_AGENT_PID; [2023-09-28T13:32:05.468Z] echo Agent pid 39 killed; [2023-09-28T13:32:05.485Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-28T13:32:05.506Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-28T13:32:05.506Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-28T13:32:05.615Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-28T13:32:05.611Z] $ docker exec 8b4a97025c101500c5186a47947e68a8f3855908b77127bd4f496859e62fdfb5 ssh-agent [2023-09-28T13:32:05.724Z] SSH_AUTH_SOCK=/tmp/ssh-OcjawtAHhvr9/agent.71 [2023-09-28T13:32:05.724Z] SSH_AGENT_PID=78 [2023-09-28T13:32:05.729Z] Running ssh-add (command line suppressed) [2023-09-28T13:32:05.812Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2149295084919093604.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2149295084919093604.key) [2023-09-28T13:32:05.830Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-28T13:32:06.116Z] + git semver init [2023-09-28T13:32:06.375Z] 2023-09-28 13:32:06,290 [run_init] DEBUG init version:0.0.0 force:False [2023-09-28T13:32:06.375Z] 2023-09-28 13:32:06,290 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-09-28T13:32:06.375Z] 2023-09-28 13:32:06,291 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-09-28T13:32:06.375Z] 2023-09-28 13:32:06,291 [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-09-28T13:32:07.757Z] 2023-09-28 13:32:07,425 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-09-28T13:32:07.757Z] 2023-09-28 13:32:07,426 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-09-28T13:32:07.757Z] 2023-09-28 13:32:07,426 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-28T13:32:07.757Z] 2023-09-28 13:32:07,426 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-28T13:32:07.757Z] 3.1.0-dev.20 [Pipeline] } [2023-09-28T13:32:07.761Z] $ docker exec --env ******** --env ******** 8b4a97025c101500c5186a47947e68a8f3855908b77127bd4f496859e62fdfb5 ssh-agent -k [2023-09-28T13:32:07.857Z] unset SSH_AUTH_SOCK; [2023-09-28T13:32:07.857Z] unset SSH_AGENT_PID; [2023-09-28T13:32:07.857Z] echo Agent pid 78 killed; [2023-09-28T13:32:07.871Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-28T13:32:08.165Z] + git semver [Pipeline] } [2023-09-28T13:32:08.436Z] $ docker stop --time=1 8b4a97025c101500c5186a47947e68a8f3855908b77127bd4f496859e62fdfb5 [2023-09-28T13:32:09.828Z] $ docker rm -f --volumes 8b4a97025c101500c5186a47947e68a8f3855908b77127bd4f496859e62fdfb5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-28T13:32:10.170Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-28T13:32:10.411Z] Stashed 1 file(s) [Pipeline] echo [2023-09-28T13:32:10.414Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.20 [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-09-28T13:32:10.582Z] provisioning config files... [2023-09-28T13:32:10.591Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10190417101492595191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T13:32:10.891Z] ---> docker-login.sh [2023-09-28T13:32:10.891Z] nexus3.edgexfoundry.org:10001 [2023-09-28T13:32:10.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T13:32:10.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T13:32:10.891Z] Configure a credential helper to remove this warning. See [2023-09-28T13:32:10.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T13:32:10.891Z] [2023-09-28T13:32:10.891Z] Login Succeeded [2023-09-28T13:32:10.891Z] nexus3.edgexfoundry.org:10002 [2023-09-28T13:32:10.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T13:32:10.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T13:32:10.891Z] Configure a credential helper to remove this warning. See [2023-09-28T13:32:10.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T13:32:10.891Z] [2023-09-28T13:32:10.891Z] Login Succeeded [2023-09-28T13:32:10.891Z] nexus3.edgexfoundry.org:10003 [2023-09-28T13:32:11.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T13:32:11.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T13:32:11.150Z] Configure a credential helper to remove this warning. See [2023-09-28T13:32:11.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T13:32:11.150Z] [2023-09-28T13:32:11.150Z] Login Succeeded [2023-09-28T13:32:11.150Z] nexus3.edgexfoundry.org:10004 [2023-09-28T13:32:11.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T13:32:11.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T13:32:11.150Z] Configure a credential helper to remove this warning. See [2023-09-28T13:32:11.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T13:32:11.150Z] [2023-09-28T13:32:11.150Z] Login Succeeded [2023-09-28T13:32:11.150Z] docker.io [2023-09-28T13:32:11.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T13:32:11.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T13:32:11.409Z] Configure a credential helper to remove this warning. See [2023-09-28T13:32:11.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T13:32:11.409Z] [2023-09-28T13:32:11.409Z] Login Succeeded [2023-09-28T13:32:11.409Z] ---> docker-login.sh ends [Pipeline] } [2023-09-28T13:32:11.414Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-28T13:32:11.463Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T13:32:11.474Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T13:32:11.481Z] ========================================================= [2023-09-28T13:32:11.481Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-28T13:32:11.481Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:32:11.779Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-28T13:32:11.779Z] Sending build context to Docker daemon 23.66MB [2023-09-28T13:32:11.779Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-28T13:32:11.779Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-28T13:32:11.779Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-28T13:32:11.779Z] 7264a8db6415: Pulling fs layer [2023-09-28T13:32:11.779Z] c4d48a809fc2: Pulling fs layer [2023-09-28T13:32:11.779Z] 4f1c88b9dad5: Pulling fs layer [2023-09-28T13:32:11.779Z] ad3a456e5733: Pulling fs layer [2023-09-28T13:32:11.779Z] 33e27b845d1e: Pulling fs layer [2023-09-28T13:32:11.779Z] c68163c4e522: Pulling fs layer [2023-09-28T13:32:11.779Z] 50da416c3ac9: Pulling fs layer [2023-09-28T13:32:11.779Z] 23d2d4c4bb30: Pulling fs layer [2023-09-28T13:32:11.779Z] ad3a456e5733: Waiting [2023-09-28T13:32:11.779Z] 33e27b845d1e: Waiting [2023-09-28T13:32:11.779Z] c68163c4e522: Waiting [2023-09-28T13:32:11.779Z] 50da416c3ac9: Waiting [2023-09-28T13:32:11.779Z] 23d2d4c4bb30: Waiting [2023-09-28T13:32:12.041Z] c4d48a809fc2: Download complete [2023-09-28T13:32:12.041Z] ad3a456e5733: Verifying Checksum [2023-09-28T13:32:12.041Z] ad3a456e5733: Download complete [2023-09-28T13:32:12.041Z] 33e27b845d1e: Verifying Checksum [2023-09-28T13:32:12.041Z] 33e27b845d1e: Download complete [2023-09-28T13:32:12.041Z] 7264a8db6415: Verifying Checksum [2023-09-28T13:32:12.041Z] 7264a8db6415: Download complete [2023-09-28T13:32:12.041Z] c68163c4e522: Download complete [2023-09-28T13:32:12.041Z] 7264a8db6415: Pull complete [2023-09-28T13:32:12.302Z] c4d48a809fc2: Pull complete [2023-09-28T13:32:12.302Z] 23d2d4c4bb30: Verifying Checksum [2023-09-28T13:32:12.302Z] 23d2d4c4bb30: Download complete [2023-09-28T13:32:12.561Z] 4f1c88b9dad5: Verifying Checksum [2023-09-28T13:32:12.561Z] 4f1c88b9dad5: Download complete [2023-09-28T13:32:12.820Z] 50da416c3ac9: Verifying Checksum [2023-09-28T13:32:12.820Z] 50da416c3ac9: Download complete [2023-09-28T13:32:17.010Z] 4f1c88b9dad5: Pull complete [2023-09-28T13:32:17.010Z] ad3a456e5733: Pull complete [2023-09-28T13:32:17.010Z] 33e27b845d1e: Pull complete [2023-09-28T13:32:17.010Z] c68163c4e522: Pull complete [2023-09-28T13:32:19.565Z] 50da416c3ac9: Pull complete [2023-09-28T13:32:19.565Z] 23d2d4c4bb30: Pull complete [2023-09-28T13:32:19.565Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-28T13:32:19.565Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-28T13:32:19.565Z] ---> 0786185ac409 [2023-09-28T13:32:19.565Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-28T13:32:21.473Z] ---> Running in 51804cb173c2 [2023-09-28T13:32:21.473Z] Removing intermediate container 51804cb173c2 [2023-09-28T13:32:21.473Z] ---> 443524448ce5 [2023-09-28T13:32:21.473Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-28T13:32:21.473Z] ---> Running in 98f3855282e6 [2023-09-28T13:32:21.473Z] Removing intermediate container 98f3855282e6 [2023-09-28T13:32:21.473Z] ---> 2f11a9055b9c [2023-09-28T13:32:21.473Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-28T13:32:21.473Z] ---> Running in 76b2d3f40465 [2023-09-28T13:32:21.473Z] Removing intermediate container 76b2d3f40465 [2023-09-28T13:32:21.473Z] ---> 2df0ec2bfa0c [2023-09-28T13:32:21.473Z] Step 6/12 : WORKDIR /device-virtual-go [2023-09-28T13:32:21.473Z] ---> Running in ca19f5f61a28 [2023-09-28T13:32:21.473Z] Removing intermediate container ca19f5f61a28 [2023-09-28T13:32:21.473Z] ---> 717ef5375f4f [2023-09-28T13:32:21.473Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-28T13:32:21.473Z] ---> Running in 965057e4c23b [2023-09-28T13:32:21.731Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-28T13:32:21.991Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-28T13:32:21.991Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-28T13:32:21.991Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-28T13:32:21.991Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-28T13:32:22.251Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-28T13:32:22.251Z] Executing busybox-1.36.1-r2.trigger [2023-09-28T13:32:22.251Z] OK: 268 MiB in 56 packages [2023-09-28T13:32:22.819Z] Removing intermediate container 965057e4c23b [2023-09-28T13:32:22.819Z] ---> 6018e77ee2f1 [2023-09-28T13:32:22.819Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-28T13:32:22.819Z] ---> 1829c61e19de [2023-09-28T13:32:22.819Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-28T13:32:22.819Z] ---> Running in 95f3be1d85a5 [2023-09-28T13:32:25.536Z] Still waiting to schedule task [2023-09-28T13:32:25.536Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8138’ [2023-09-28T13:33:09.504Z] Removing intermediate container 95f3be1d85a5 [2023-09-28T13:33:09.504Z] ---> dd6f5e0aa80c [2023-09-28T13:33:09.504Z] Step 10/12 : COPY . . [2023-09-28T13:33:09.504Z] ---> 8fffb95262cc [2023-09-28T13:33:09.504Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-28T13:33:09.504Z] ---> Running in 72646d1dc3fa [2023-09-28T13:33:09.504Z] Removing intermediate container 72646d1dc3fa [2023-09-28T13:33:09.504Z] ---> 1ddba6d93dbd [2023-09-28T13:33:09.504Z] Step 12/12 : RUN $MAKE [2023-09-28T13:33:09.504Z] ---> Running in 547faed89fbf [2023-09-28T13:33:09.504Z] noop [2023-09-28T13:33:09.504Z] Removing intermediate container 547faed89fbf [2023-09-28T13:33:09.504Z] ---> 22affac3e1d5 [2023-09-28T13:33:09.504Z] Successfully built 22affac3e1d5 [2023-09-28T13:33:09.504Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:33:09.809Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-28T13:33:09.809Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T13:33:09.877Z] prd-ubuntu20.04-docker-8c-8g-8139 does not seem to be running inside a container [2023-09-28T13:33:09.911Z] $ 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-09-28T13:33:10.220Z] $ docker top df5c98ad633974958e692589890c928d77f5888f25c0bac6da367d8422ecd0b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-28T13:33:10.545Z] + go version [2023-09-28T13:33:10.545Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-28T13:33:10.560Z] $ docker stop --time=1 df5c98ad633974958e692589890c928d77f5888f25c0bac6da367d8422ecd0b9 [2023-09-28T13:33:11.827Z] $ docker rm -f --volumes df5c98ad633974958e692589890c928d77f5888f25c0bac6da367d8422ecd0b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:33:12.227Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-28T13:33:12.227Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T13:33:12.302Z] prd-ubuntu20.04-docker-8c-8g-8139 does not seem to be running inside a container [2023-09-28T13:33:12.334Z] $ 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-09-28T13:33:12.655Z] $ docker top 92a9f0dd02eb310fbf38d9e39f8c16f27555e190651a4f135ef38dc82c16ffd0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-28T13:33:12.988Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-28T13:33:13.278Z] + make test [2023-09-28T13:33:13.278Z] go test ./... -coverprofile=coverage.out [2023-09-28T13:33:14.650Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-09-28T13:33:24.605Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-09-28T13:33:24.605Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.018s coverage: 58.6% of statements [2023-09-28T13:33:31.159Z] go vet ./... [2023-09-28T13:33:35.429Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-28T13:33:35.429Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-28T13:33:35.429Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-28T13:33:35.439Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-28T13:33:35.455Z] $ docker stop --time=1 92a9f0dd02eb310fbf38d9e39f8c16f27555e190651a4f135ef38dc82c16ffd0 [2023-09-28T13:33:38.016Z] $ docker rm -f --volumes 92a9f0dd02eb310fbf38d9e39f8c16f27555e190651a4f135ef38dc82c16ffd0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-28T13:33:38.474Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-28T13:33:38.520Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-28T13:33:38.938Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-28T13:33:39.221Z] + ls -al . [2023-09-28T13:33:39.221Z] total 204 [2023-09-28T13:33:39.221Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 13:33 . [2023-09-28T13:33:39.221Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 13:31 .. [2023-09-28T13:33:39.221Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 13:33 .git [2023-09-28T13:33:39.221Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 13:31 .github [2023-09-28T13:33:39.221Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 28 13:31 .gitignore [2023-09-28T13:33:39.221Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 28 13:31 .golangci.yml [2023-09-28T13:33:39.221Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 13:32 .semver [2023-09-28T13:33:39.221Z] -rw-rw-r-- 1 jenkins jenkins 9708 Sep 28 13:31 Attribution.txt [2023-09-28T13:33:39.221Z] -rw-rw-r-- 1 jenkins jenkins 14372 Sep 28 13:31 CHANGELOG.md [2023-09-28T13:33:39.221Z] -rw-rw-r-- 1 jenkins jenkins 1646 Sep 28 13:31 Dockerfile [2023-09-28T13:33:39.221Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 13:31 GOVERNANCE.md [2023-09-28T13:33:39.221Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 28 13:31 Jenkinsfile [2023-09-28T13:33:39.221Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 28 13:31 LICENSE [2023-09-28T13:33:39.221Z] -rw-rw-r-- 1 jenkins jenkins 1947 Sep 28 13:31 Makefile [2023-09-28T13:33:39.221Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 28 13:31 OWNERS.md [2023-09-28T13:33:39.221Z] -rw-rw-r-- 1 jenkins jenkins 4111 Sep 28 13:31 README.md [2023-09-28T13:33:39.221Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 28 13:32 VERSION [2023-09-28T13:33:39.221Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 13:31 bin [2023-09-28T13:33:39.221Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 13:31 cmd [2023-09-28T13:33:39.221Z] -rw-r--r-- 1 jenkins jenkins 43063 Sep 28 13:33 coverage.out [2023-09-28T13:33:39.221Z] -rw-rw-r-- 1 jenkins jenkins 3637 Sep 28 13:31 go.mod [2023-09-28T13:33:39.221Z] -rw-rw-r-- 1 jenkins jenkins 35019 Sep 28 13:31 go.sum [2023-09-28T13:33:39.221Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 13:31 internal [2023-09-28T13:33:39.221Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 13:31 snap [2023-09-28T13:33:39.221Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 28 13:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:33:39.533Z] + 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=8b8e1bf2b9e06380082507a2409f4790e8b740fe --label arch=amd64 --label version=3.1.0-dev.20 . [2023-09-28T13:33:39.533Z] Sending build context to Docker daemon 23.7MB [2023-09-28T13:33:39.533Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-28T13:33:39.533Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-28T13:33:39.533Z] ---> 22affac3e1d5 [2023-09-28T13:33:39.533Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-28T13:33:39.791Z] ---> Running in 2332ad36dec4 [2023-09-28T13:33:40.050Z] Removing intermediate container 2332ad36dec4 [2023-09-28T13:33:40.050Z] ---> aea921212e0f [2023-09-28T13:33:40.050Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-28T13:33:40.050Z] ---> Running in 6a4fedbfe699 [2023-09-28T13:33:40.050Z] Removing intermediate container 6a4fedbfe699 [2023-09-28T13:33:40.050Z] ---> 30a29ba6563b [2023-09-28T13:33:40.050Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-28T13:33:40.050Z] ---> Running in a996ef07d8b1 [2023-09-28T13:33:40.050Z] Removing intermediate container a996ef07d8b1 [2023-09-28T13:33:40.050Z] ---> 004bbc497bd5 [2023-09-28T13:33:40.050Z] Step 6/25 : WORKDIR /device-virtual-go [2023-09-28T13:33:40.050Z] ---> Running in aac7923d4bf0 [2023-09-28T13:33:40.309Z] Removing intermediate container aac7923d4bf0 [2023-09-28T13:33:40.309Z] ---> e0cdbab1a69b [2023-09-28T13:33:40.309Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-28T13:33:40.309Z] ---> Running in c9862a705146 [2023-09-28T13:33:40.566Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-28T13:33:40.566Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-28T13:33:40.823Z] OK: 268 MiB in 56 packages [2023-09-28T13:33:41.081Z] Removing intermediate container c9862a705146 [2023-09-28T13:33:41.081Z] ---> 879b44fe468e [2023-09-28T13:33:41.082Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-28T13:33:41.082Z] ---> e7564fc344b9 [2023-09-28T13:33:41.082Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-28T13:33:41.340Z] ---> Running in bd55c05b0a79 [2023-09-28T13:33:41.908Z] Removing intermediate container bd55c05b0a79 [2023-09-28T13:33:41.908Z] ---> 94c5a3a2a605 [2023-09-28T13:33:41.908Z] Step 10/25 : COPY . . [2023-09-28T13:33:42.496Z] ---> 3ef53652611d [2023-09-28T13:33:42.496Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-28T13:33:42.496Z] ---> Running in c13623d20131 [2023-09-28T13:33:42.754Z] Removing intermediate container c13623d20131 [2023-09-28T13:33:42.754Z] ---> 52ef1a8a9567 [2023-09-28T13:33:42.754Z] Step 12/25 : RUN $MAKE [2023-09-28T13:33:42.754Z] ---> Running in 56cc860eacb4 [2023-09-28T13:33:43.012Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.32" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-09-28T13:34:01.086Z] Removing intermediate container 56cc860eacb4 [2023-09-28T13:34:01.086Z] ---> 0286bcdda9e1 [2023-09-28T13:34:01.086Z] Step 13/25 : FROM alpine:3.18 [2023-09-28T13:34:01.086Z] 3.18: Pulling from library/alpine [2023-09-28T13:34:01.086Z] 7264a8db6415: Already exists [2023-09-28T13:34:01.086Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-28T13:34:01.086Z] Status: Downloaded newer image for alpine:3.18 [2023-09-28T13:34:01.086Z] ---> 7e01a0d0a1dc [2023-09-28T13:34:01.086Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-09-28T13:34:01.086Z] ---> Running in 7216c57a5199 [2023-09-28T13:34:01.086Z] Removing intermediate container 7216c57a5199 [2023-09-28T13:34:01.086Z] ---> 3f8db400a163 [2023-09-28T13:34:01.086Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-28T13:34:01.086Z] ---> Running in d90b2e386e05 [2023-09-28T13:34:01.086Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-28T13:34:01.086Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-28T13:34:01.344Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-28T13:34:01.344Z] Executing busybox-1.36.1-r2.trigger [2023-09-28T13:34:01.344Z] OK: 7 MiB in 16 packages [2023-09-28T13:34:01.602Z] Removing intermediate container d90b2e386e05 [2023-09-28T13:34:01.602Z] ---> 65229a1f3a43 [2023-09-28T13:34:01.602Z] Step 16/25 : WORKDIR / [2023-09-28T13:34:01.602Z] ---> Running in 6454fba26690 [2023-09-28T13:34:01.860Z] Removing intermediate container 6454fba26690 [2023-09-28T13:34:01.860Z] ---> 3a723c1a90c2 [2023-09-28T13:34:01.860Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-09-28T13:34:01.860Z] ---> e15327af4e41 [2023-09-28T13:34:01.860Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-09-28T13:34:02.119Z] ---> 28fcfa246d24 [2023-09-28T13:34:02.119Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-09-28T13:34:03.291Z] ---> 4ed3f2229f1b [2023-09-28T13:34:03.291Z] Step 20/25 : EXPOSE 59900 [2023-09-28T13:34:03.291Z] ---> Running in 3a576f622572 [2023-09-28T13:34:03.291Z] Removing intermediate container 3a576f622572 [2023-09-28T13:34:03.291Z] ---> fa3c895bfd7b [2023-09-28T13:34:03.291Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-09-28T13:34:03.291Z] ---> Running in 023f3d3157ff [2023-09-28T13:34:03.291Z] Removing intermediate container 023f3d3157ff [2023-09-28T13:34:03.291Z] ---> 7329cf15a633 [2023-09-28T13:34:03.291Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-28T13:34:03.291Z] ---> Running in d105f30a85ac [2023-09-28T13:34:03.291Z] Removing intermediate container d105f30a85ac [2023-09-28T13:34:03.291Z] ---> 4179d3ca7ca0 [2023-09-28T13:34:03.291Z] Step 23/25 : LABEL arch=amd64 [2023-09-28T13:34:03.291Z] ---> Running in aa84301aa4d5 [2023-09-28T13:34:03.291Z] Removing intermediate container aa84301aa4d5 [2023-09-28T13:34:03.291Z] ---> 8017e65a9672 [2023-09-28T13:34:03.291Z] Step 24/25 : LABEL git_sha=8b8e1bf2b9e06380082507a2409f4790e8b740fe [2023-09-28T13:34:03.291Z] ---> Running in 276055a3fac9 [2023-09-28T13:34:03.291Z] Removing intermediate container 276055a3fac9 [2023-09-28T13:34:03.291Z] ---> 33935975856d [2023-09-28T13:34:03.291Z] Step 25/25 : LABEL version=3.1.0-dev.20 [2023-09-28T13:34:03.291Z] ---> Running in 73dc1563b92e [2023-09-28T13:34:03.291Z] Removing intermediate container 73dc1563b92e [2023-09-28T13:34:03.291Z] ---> 0f6b14e92555 [2023-09-28T13:34:03.291Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-28T13:34:03.291Z] Successfully built 0f6b14e92555 [2023-09-28T13:34:03.291Z] 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-09-28T13:34:03.412Z] provisioning config files... [2023-09-28T13:34:06.407Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3051987371929815991tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T13:34:06.706Z] ---> docker-login.sh [2023-09-28T13:34:06.706Z] nexus3.edgexfoundry.org:10001 [2023-09-28T13:34:06.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T13:34:06.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T13:34:06.706Z] Configure a credential helper to remove this warning. See [2023-09-28T13:34:06.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T13:34:06.706Z] [2023-09-28T13:34:06.706Z] Login Succeeded [2023-09-28T13:34:06.706Z] nexus3.edgexfoundry.org:10002 [2023-09-28T13:34:06.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T13:34:06.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T13:34:06.706Z] Configure a credential helper to remove this warning. See [2023-09-28T13:34:06.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T13:34:06.706Z] [2023-09-28T13:34:06.706Z] Login Succeeded [2023-09-28T13:34:06.706Z] nexus3.edgexfoundry.org:10003 [2023-09-28T13:34:06.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T13:34:06.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T13:34:06.964Z] Configure a credential helper to remove this warning. See [2023-09-28T13:34:06.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T13:34:06.964Z] [2023-09-28T13:34:06.964Z] Login Succeeded [2023-09-28T13:34:06.964Z] nexus3.edgexfoundry.org:10004 [2023-09-28T13:34:06.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T13:34:06.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T13:34:06.964Z] Configure a credential helper to remove this warning. See [2023-09-28T13:34:06.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T13:34:06.964Z] [2023-09-28T13:34:06.964Z] Login Succeeded [2023-09-28T13:34:06.964Z] docker.io [2023-09-28T13:34:06.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T13:34:07.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T13:34:07.223Z] Configure a credential helper to remove this warning. See [2023-09-28T13:34:07.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T13:34:07.223Z] [2023-09-28T13:34:07.223Z] Login Succeeded [2023-09-28T13:34:07.223Z] ---> docker-login.sh ends [Pipeline] } [2023-09-28T13:34:07.228Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-28T13:34:07.261Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T13:34:07.288Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-09-28T13:34:07.288Z] 8b8e1bf2b9e06380082507a2409f4790e8b740fe [2023-09-28T13:34:07.288Z] latest [2023-09-28T13:34:07.288Z] 3.1.0-dev.20 [2023-09-28T13:34:07.288Z] 8b8e1bf2b9e06380082507a2409f4790e8b740fe-3.1.0-dev.20 [2023-09-28T13:34:07.288Z] main [2023-09-28T13:34:07.288Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:34:07.626Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:8b8e1bf2b9e06380082507a2409f4790e8b740fe [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:34:07.942Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:8b8e1bf2b9e06380082507a2409f4790e8b740fe [2023-09-28T13:34:07.942Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-28T13:34:07.942Z] d7ca62f9dae8: Preparing [2023-09-28T13:34:07.942Z] 5fe63e2005ba: Preparing [2023-09-28T13:34:07.942Z] e5a661f120f0: Preparing [2023-09-28T13:34:07.942Z] 26dc582adebc: Preparing [2023-09-28T13:34:07.942Z] 4693057ce236: Preparing [2023-09-28T13:34:07.942Z] 4693057ce236: Layer already exists [2023-09-28T13:34:07.942Z] e5a661f120f0: Pushed [2023-09-28T13:34:07.942Z] 26dc582adebc: Pushed [2023-09-28T13:34:07.942Z] 5fe63e2005ba: Pushed [2023-09-28T13:34:12.119Z] d7ca62f9dae8: Pushed [2023-09-28T13:34:12.119Z] 8b8e1bf2b9e06380082507a2409f4790e8b740fe: digest: sha256:8894a5d9411d9a90ccd28f3cfaca6ac37c6b3c80b4999de9cb18847c55cf457d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:34:12.438Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:34:12.752Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-09-28T13:34:12.752Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-28T13:34:12.752Z] d7ca62f9dae8: Preparing [2023-09-28T13:34:12.752Z] 5fe63e2005ba: Preparing [2023-09-28T13:34:12.752Z] e5a661f120f0: Preparing [2023-09-28T13:34:12.752Z] 26dc582adebc: Preparing [2023-09-28T13:34:12.752Z] 4693057ce236: Preparing [2023-09-28T13:34:12.752Z] 5fe63e2005ba: Layer already exists [2023-09-28T13:34:12.752Z] 26dc582adebc: Layer already exists [2023-09-28T13:34:12.752Z] e5a661f120f0: Layer already exists [2023-09-28T13:34:12.752Z] 4693057ce236: Layer already exists [2023-09-28T13:34:12.752Z] d7ca62f9dae8: Layer already exists [2023-09-28T13:34:12.752Z] latest: digest: sha256:8894a5d9411d9a90ccd28f3cfaca6ac37c6b3c80b4999de9cb18847c55cf457d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:34:13.066Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:34:13.375Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.20 [2023-09-28T13:34:13.375Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-28T13:34:13.375Z] d7ca62f9dae8: Preparing [2023-09-28T13:34:13.375Z] 5fe63e2005ba: Preparing [2023-09-28T13:34:13.375Z] e5a661f120f0: Preparing [2023-09-28T13:34:13.375Z] 26dc582adebc: Preparing [2023-09-28T13:34:13.375Z] 4693057ce236: Preparing [2023-09-28T13:34:13.375Z] 5fe63e2005ba: Layer already exists [2023-09-28T13:34:13.375Z] e5a661f120f0: Layer already exists [2023-09-28T13:34:13.375Z] d7ca62f9dae8: Layer already exists [2023-09-28T13:34:13.375Z] 4693057ce236: Layer already exists [2023-09-28T13:34:13.375Z] 26dc582adebc: Layer already exists [2023-09-28T13:34:13.375Z] 3.1.0-dev.20: digest: sha256:8894a5d9411d9a90ccd28f3cfaca6ac37c6b3c80b4999de9cb18847c55cf457d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:34:13.682Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:8b8e1bf2b9e06380082507a2409f4790e8b740fe-3.1.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:34:13.989Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:8b8e1bf2b9e06380082507a2409f4790e8b740fe-3.1.0-dev.20 [2023-09-28T13:34:13.989Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-28T13:34:13.989Z] d7ca62f9dae8: Preparing [2023-09-28T13:34:13.989Z] 5fe63e2005ba: Preparing [2023-09-28T13:34:13.989Z] e5a661f120f0: Preparing [2023-09-28T13:34:13.989Z] 26dc582adebc: Preparing [2023-09-28T13:34:13.989Z] 4693057ce236: Preparing [2023-09-28T13:34:13.989Z] 26dc582adebc: Layer already exists [2023-09-28T13:34:13.989Z] d7ca62f9dae8: Layer already exists [2023-09-28T13:34:13.989Z] 4693057ce236: Layer already exists [2023-09-28T13:34:13.989Z] 5fe63e2005ba: Layer already exists [2023-09-28T13:34:13.989Z] e5a661f120f0: Layer already exists [2023-09-28T13:34:13.989Z] 8b8e1bf2b9e06380082507a2409f4790e8b740fe-3.1.0-dev.20: digest: sha256:8894a5d9411d9a90ccd28f3cfaca6ac37c6b3c80b4999de9cb18847c55cf457d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:34:14.299Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:34:14.605Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-09-28T13:34:14.605Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-28T13:34:14.605Z] d7ca62f9dae8: Preparing [2023-09-28T13:34:14.605Z] 5fe63e2005ba: Preparing [2023-09-28T13:34:14.605Z] e5a661f120f0: Preparing [2023-09-28T13:34:14.605Z] 26dc582adebc: Preparing [2023-09-28T13:34:14.605Z] 4693057ce236: Preparing [2023-09-28T13:34:14.605Z] 26dc582adebc: Layer already exists [2023-09-28T13:34:14.605Z] 5fe63e2005ba: Layer already exists [2023-09-28T13:34:14.605Z] 4693057ce236: Layer already exists [2023-09-28T13:34:14.605Z] d7ca62f9dae8: Layer already exists [2023-09-28T13:34:14.605Z] e5a661f120f0: Layer already exists [2023-09-28T13:34:14.605Z] main: digest: sha256:8894a5d9411d9a90ccd28f3cfaca6ac37c6b3c80b4999de9cb18847c55cf457d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-28T13:34:14.650Z] ===================================================== [Pipeline] echo [2023-09-28T13:34:14.658Z] taggedImages: [2023-09-28T13:34:14.658Z] - nexus3.edgexfoundry.org:10004/device-virtual:8b8e1bf2b9e06380082507a2409f4790e8b740fe [2023-09-28T13:34:14.658Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-09-28T13:34:14.658Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.20 [2023-09-28T13:34:14.658Z] - nexus3.edgexfoundry.org:10004/device-virtual:8b8e1bf2b9e06380082507a2409f4790e8b740fe-3.1.0-dev.20 [2023-09-28T13:34:14.658Z] - 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-09-28T13:34:15.031Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-28T13:34:15.031Z] [2023-09-28T13:34:15.031Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:34:15.329Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-28T13:34:15.329Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-28T13:34:15.329Z] 5eb5b503b376: Pulling fs layer [2023-09-28T13:34:15.329Z] 5c69ac0246d0: Pulling fs layer [2023-09-28T13:34:15.329Z] ec43610c2a17: Pulling fs layer [2023-09-28T13:34:15.329Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-28T13:34:15.329Z] 33b1e0a273af: Pulling fs layer [2023-09-28T13:34:15.329Z] 5d3b04190fa2: Pulling fs layer [2023-09-28T13:34:15.329Z] 2f39f015ded8: Pulling fs layer [2023-09-28T13:34:15.329Z] 33b1e0a273af: Waiting [2023-09-28T13:34:15.329Z] 3a2ae6a8a46f: Waiting [2023-09-28T13:34:15.329Z] 2f39f015ded8: Waiting [2023-09-28T13:34:15.329Z] 5d3b04190fa2: Waiting [2023-09-28T13:34:15.329Z] 5c69ac0246d0: Verifying Checksum [2023-09-28T13:34:15.329Z] 5c69ac0246d0: Download complete [2023-09-28T13:34:15.329Z] 3a2ae6a8a46f: Download complete [2023-09-28T13:34:15.329Z] 33b1e0a273af: Verifying Checksum [2023-09-28T13:34:15.329Z] 33b1e0a273af: Download complete [2023-09-28T13:34:15.329Z] ec43610c2a17: Verifying Checksum [2023-09-28T13:34:15.329Z] ec43610c2a17: Download complete [2023-09-28T13:34:15.329Z] 5d3b04190fa2: Verifying Checksum [2023-09-28T13:34:15.329Z] 5d3b04190fa2: Download complete [2023-09-28T13:34:15.587Z] 5eb5b503b376: Verifying Checksum [2023-09-28T13:34:15.587Z] 5eb5b503b376: Download complete [2023-09-28T13:34:16.152Z] 2f39f015ded8: Download complete [2023-09-28T13:34:16.719Z] 5eb5b503b376: Pull complete [2023-09-28T13:34:16.719Z] 5c69ac0246d0: Pull complete [2023-09-28T13:34:17.286Z] ec43610c2a17: Pull complete [2023-09-28T13:34:17.287Z] 3a2ae6a8a46f: Pull complete [2023-09-28T13:34:17.545Z] 33b1e0a273af: Pull complete [2023-09-28T13:34:17.545Z] 5d3b04190fa2: Pull complete [2023-09-28T13:34:21.730Z] 2f39f015ded8: Pull complete [2023-09-28T13:34:21.730Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-28T13:34:21.730Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-28T13:34:21.730Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T13:34:21.805Z] prd-ubuntu20.04-docker-8c-8g-8139 does not seem to be running inside a container [2023-09-28T13:34:21.840Z] $ 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-09-28T13:34:24.780Z] $ docker top 4f60cd9b9f31839b6b29b6db2a665b27204a623015d9c48bf768a34d5f4981c3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T13:34:25.164Z] ---> job-cost.sh [2023-09-28T13:34:25.164Z] lf-activate-venv: SKIPPING [2023-09-28T13:34:25.164Z] INFO: No Stack... [2023-09-28T13:34:26.108Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-28T13:34:26.367Z] INFO: Archiving Costs [Pipeline] sh [2023-09-28T13:34:26.658Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2023-09-28T13:34:26.658Z] + cut -d, -f6 [Pipeline] lock [2023-09-28T13:34:26.670Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-146-stack-cost] [2023-09-28T13:34:26.681Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-146-stack-cost] did not exist. Created. [2023-09-28T13:34:26.681Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-146-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-28T13:34:26.981Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-28T13:34:27.005Z] Stashed 1 file(s) [Pipeline] } [2023-09-28T13:34:27.011Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-146-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-28T13:34:27.036Z] $ docker stop --time=1 4f60cd9b9f31839b6b29b6db2a665b27204a623015d9c48bf768a34d5f4981c3 [2023-09-28T13:34:28.212Z] $ docker rm -f --volumes 4f60cd9b9f31839b6b29b6db2a665b27204a623015d9c48bf768a34d5f4981c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-28T13:35:33.675Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8141 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-09-28T13:35:33.688Z] Running in /w/workspace/device-virtual-go/146 [Pipeline] { [Pipeline] checkout [2023-09-28T13:35:33.727Z] The recommended git tool is: git [2023-09-28T13:35:40.083Z] using credential edgex-jenkins-ssh [2023-09-28T13:35:40.099Z] Cloning the remote Git repository [2023-09-28T13:35:40.145Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-09-28T13:35:40.246Z] > git init /w/workspace/device-virtual-go/146 # timeout=10 [2023-09-28T13:35:40.408Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-09-28T13:35:40.409Z] > git --version # timeout=10 [2023-09-28T13:35:40.430Z] > git --version # 'git version 2.25.1' [2023-09-28T13:35:40.434Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-28T13:35:40.594Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-28T13:35:43.582Z] Avoid second fetch [2023-09-28T13:35:43.583Z] Checking out Revision 8b8e1bf2b9e06380082507a2409f4790e8b740fe (main) [2023-09-28T13:35:42.691Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-09-28T13:35:42.715Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-28T13:35:43.600Z] > git config core.sparsecheckout # timeout=10 [2023-09-28T13:35:43.666Z] > git checkout -f 8b8e1bf2b9e06380082507a2409f4790e8b740fe # timeout=10 [2023-09-28T13:35:44.134Z] Commit message: "Merge pull request #435 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.32" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-28T13:35:45.257Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-28T13:35:45.257Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-28T13:35:45.257Z] Dload Upload Total Spent Left Speed [2023-09-28T13:35:45.257Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh [2023-09-28T13:35:45.922Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-28T13:35:46.244Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2023-09-28T13:35:46.244Z] /etc/docker/daemon.json [2023-09-28T13:35:46.244Z] { [2023-09-28T13:35:46.244Z] "registry-mirrors": [ [2023-09-28T13:35:46.244Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-28T13:35:46.244Z] ], [2023-09-28T13:35:46.244Z] "bip": "10.250.0.254/24", [2023-09-28T13:35:46.244Z] "hosts": [ [2023-09-28T13:35:46.244Z] "tcp://0.0.0.0:5555", [2023-09-28T13:35:46.244Z] "unix:///var/run/docker.sock" [2023-09-28T13:35:46.244Z] ], [2023-09-28T13:35:46.244Z] "mtu": 1458, [2023-09-28T13:35:46.244Z] "selinux-enabled": true, [2023-09-28T13:35:46.244Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-28T13:35:46.244Z] } [Pipeline] sh [2023-09-28T13:35:46.567Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-28T13:35:46.896Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-28T13:36:05.157Z] provisioning config files... [2023-09-28T13:36:05.184Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/146@tmp/config619238959709504421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T13:36:05.546Z] ---> docker-login.sh [2023-09-28T13:36:05.546Z] nexus3.edgexfoundry.org:10001 [2023-09-28T13:36:05.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T13:36:06.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T13:36:06.088Z] Configure a credential helper to remove this warning. See [2023-09-28T13:36:06.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T13:36:06.088Z] [2023-09-28T13:36:06.088Z] Login Succeeded [2023-09-28T13:36:06.088Z] nexus3.edgexfoundry.org:10002 [2023-09-28T13:36:06.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T13:36:06.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T13:36:06.638Z] Configure a credential helper to remove this warning. See [2023-09-28T13:36:06.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T13:36:06.638Z] [2023-09-28T13:36:06.638Z] Login Succeeded [2023-09-28T13:36:06.638Z] nexus3.edgexfoundry.org:10003 [2023-09-28T13:36:06.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T13:36:06.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T13:36:06.907Z] Configure a credential helper to remove this warning. See [2023-09-28T13:36:06.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T13:36:06.907Z] [2023-09-28T13:36:06.907Z] Login Succeeded [2023-09-28T13:36:06.907Z] nexus3.edgexfoundry.org:10004 [2023-09-28T13:36:07.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T13:36:07.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T13:36:07.179Z] Configure a credential helper to remove this warning. See [2023-09-28T13:36:07.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T13:36:07.179Z] [2023-09-28T13:36:07.179Z] Login Succeeded [2023-09-28T13:36:07.179Z] docker.io [2023-09-28T13:36:07.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T13:36:07.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T13:36:07.718Z] Configure a credential helper to remove this warning. See [2023-09-28T13:36:07.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T13:36:07.718Z] [2023-09-28T13:36:07.718Z] Login Succeeded [2023-09-28T13:36:07.718Z] ---> docker-login.sh ends [Pipeline] } [2023-09-28T13:36:07.732Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-28T13:36:08.005Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T13:36:08.018Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T13:36:08.032Z] ========================================================= [2023-09-28T13:36:08.032Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-28T13:36:08.032Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:36:08.385Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-28T13:36:08.654Z] Sending build context to Docker daemon 11.97MB [2023-09-28T13:36:08.654Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-28T13:36:08.654Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-28T13:36:08.924Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-28T13:36:08.924Z] 9fda8d8052c6: Pulling fs layer [2023-09-28T13:36:08.924Z] 5d54e960e981: Pulling fs layer [2023-09-28T13:36:08.924Z] c4a7e357bf2a: Pulling fs layer [2023-09-28T13:36:08.924Z] f0e02332f6b5: Pulling fs layer [2023-09-28T13:36:08.924Z] cefa15bbcfad: Pulling fs layer [2023-09-28T13:36:08.924Z] 17808c966233: Pulling fs layer [2023-09-28T13:36:08.924Z] f4c1fc716caa: Pulling fs layer [2023-09-28T13:36:08.924Z] cefa15bbcfad: Waiting [2023-09-28T13:36:08.924Z] 17808c966233: Waiting [2023-09-28T13:36:08.924Z] f4c1fc716caa: Waiting [2023-09-28T13:36:08.924Z] f0e02332f6b5: Waiting [2023-09-28T13:36:08.924Z] 5d54e960e981: Verifying Checksum [2023-09-28T13:36:08.924Z] 5d54e960e981: Download complete [2023-09-28T13:36:08.924Z] f0e02332f6b5: Verifying Checksum [2023-09-28T13:36:08.924Z] f0e02332f6b5: Download complete [2023-09-28T13:36:08.924Z] cefa15bbcfad: Verifying Checksum [2023-09-28T13:36:08.924Z] cefa15bbcfad: Download complete [2023-09-28T13:36:08.924Z] 9fda8d8052c6: Download complete [2023-09-28T13:36:09.520Z] f4c1fc716caa: Verifying Checksum [2023-09-28T13:36:09.520Z] f4c1fc716caa: Download complete [2023-09-28T13:36:09.792Z] 9fda8d8052c6: Pull complete [2023-09-28T13:36:10.399Z] 5d54e960e981: Pull complete [2023-09-28T13:36:10.686Z] c4a7e357bf2a: Verifying Checksum [2023-09-28T13:36:10.686Z] c4a7e357bf2a: Download complete [2023-09-28T13:36:11.664Z] 17808c966233: Verifying Checksum [2023-09-28T13:36:11.664Z] 17808c966233: Download complete [2023-09-28T13:36:21.839Z] c4a7e357bf2a: Pull complete [2023-09-28T13:36:22.109Z] f0e02332f6b5: Pull complete [2023-09-28T13:36:22.109Z] cefa15bbcfad: Pull complete [2023-09-28T13:36:28.770Z] 17808c966233: Pull complete [2023-09-28T13:36:29.856Z] f4c1fc716caa: Pull complete [2023-09-28T13:36:29.856Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-28T13:36:29.856Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-28T13:36:29.856Z] ---> ea914061e18c [2023-09-28T13:36:29.856Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-28T13:36:31.833Z] ---> Running in 29e24140c44e [2023-09-28T13:36:32.104Z] Removing intermediate container 29e24140c44e [2023-09-28T13:36:32.104Z] ---> 3fc57888c35c [2023-09-28T13:36:32.104Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-28T13:36:32.379Z] ---> Running in e665cb612e43 [2023-09-28T13:36:32.647Z] Removing intermediate container e665cb612e43 [2023-09-28T13:36:32.647Z] ---> 0e2e246d9757 [2023-09-28T13:36:32.647Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-28T13:36:32.647Z] ---> Running in d15461887b49 [2023-09-28T13:36:32.922Z] Removing intermediate container d15461887b49 [2023-09-28T13:36:32.922Z] ---> d5ca481179ef [2023-09-28T13:36:32.922Z] Step 6/12 : WORKDIR /device-virtual-go [2023-09-28T13:36:33.194Z] ---> Running in 756fcce59bc7 [2023-09-28T13:36:33.501Z] Removing intermediate container 756fcce59bc7 [2023-09-28T13:36:33.501Z] ---> b2060968ae64 [2023-09-28T13:36:33.501Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-28T13:36:33.501Z] ---> Running in 4ae27711b354 [2023-09-28T13:36:34.918Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-28T13:36:35.185Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-28T13:36:36.598Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-28T13:36:36.598Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-28T13:36:36.598Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-28T13:36:36.598Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-28T13:36:36.598Z] Executing busybox-1.36.1-r2.trigger [2023-09-28T13:36:36.598Z] OK: 270 MiB in 56 packages [2023-09-28T13:36:37.563Z] Removing intermediate container 4ae27711b354 [2023-09-28T13:36:37.563Z] ---> afc2edba119b [2023-09-28T13:36:37.563Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-28T13:36:37.831Z] ---> 1a031bb33dc3 [2023-09-28T13:36:37.831Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-28T13:36:38.101Z] ---> Running in d02d1e0b0db5 [2023-09-28T13:37:46.035Z] Removing intermediate container d02d1e0b0db5 [2023-09-28T13:37:46.035Z] ---> c16f3ef65403 [2023-09-28T13:37:46.035Z] Step 10/12 : COPY . . [2023-09-28T13:37:46.035Z] ---> a8420cadbd18 [2023-09-28T13:37:46.035Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-28T13:37:46.035Z] ---> Running in ae8c17cc68df [2023-09-28T13:37:46.035Z] Removing intermediate container ae8c17cc68df [2023-09-28T13:37:46.035Z] ---> 974e9401ca5b [2023-09-28T13:37:46.035Z] Step 12/12 : RUN $MAKE [2023-09-28T13:37:46.035Z] ---> Running in 27ab74d34064 [2023-09-28T13:37:47.005Z] noop [2023-09-28T13:37:47.591Z] Removing intermediate container 27ab74d34064 [2023-09-28T13:37:47.591Z] ---> c004b282b1db [2023-09-28T13:37:47.591Z] Successfully built c004b282b1db [2023-09-28T13:37:47.591Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:37:47.941Z] + docker inspect -f . ci-base-image-arm64 [2023-09-28T13:37:47.941Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T13:37:48.156Z] prd-ubuntu20.04-docker-arm64-4c-16g-8141 does not seem to be running inside a container [2023-09-28T13:37:48.219Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/146 -v /w/workspace/device-virtual-go/146:/w/workspace/device-virtual-go/146:rw,z -v /w/workspace/device-virtual-go/146@tmp:/w/workspace/device-virtual-go/146@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-09-28T13:37:49.423Z] $ docker top afb4af73bbea386579f3b31eea7e7fd2fe3b2c974ebd6a83d1b068a46eb25499 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-28T13:37:50.309Z] + go version [2023-09-28T13:37:50.309Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-28T13:37:50.321Z] $ docker stop --time=1 afb4af73bbea386579f3b31eea7e7fd2fe3b2c974ebd6a83d1b068a46eb25499 [2023-09-28T13:37:51.964Z] $ docker rm -f --volumes afb4af73bbea386579f3b31eea7e7fd2fe3b2c974ebd6a83d1b068a46eb25499 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:37:52.533Z] + docker inspect -f . ci-base-image-arm64 [2023-09-28T13:37:52.533Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T13:37:52.714Z] prd-ubuntu20.04-docker-arm64-4c-16g-8141 does not seem to be running inside a container [2023-09-28T13:37:52.781Z] $ 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/146 -v /w/workspace/device-virtual-go/146:/w/workspace/device-virtual-go/146:rw,z -v /w/workspace/device-virtual-go/146@tmp:/w/workspace/device-virtual-go/146@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-09-28T13:37:53.955Z] $ docker top 811106bc5c2c346c4bbb315924421aace08868310b18a2c79cae3979e746c0f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-28T13:37:54.809Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/146 [Pipeline] fileExists [Pipeline] sh [2023-09-28T13:37:55.461Z] + make test [2023-09-28T13:37:55.461Z] go test ./... -coverprofile=coverage.out [2023-09-28T13:37:59.722Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-09-28T13:39:36.398Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-09-28T13:39:36.398Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.068s coverage: 58.4% of statements [2023-09-28T13:39:36.398Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-28T13:39:36.398Z] go vet ./... [2023-09-28T13:39:58.484Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-28T13:39:58.484Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-28T13:39:58.484Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-28T13:39:58.504Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-28T13:39:58.505Z] $ docker stop --time=1 811106bc5c2c346c4bbb315924421aace08868310b18a2c79cae3979e746c0f1 [2023-09-28T13:40:00.620Z] $ docker rm -f --volumes 811106bc5c2c346c4bbb315924421aace08868310b18a2c79cae3979e746c0f1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-28T13:40:01.974Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-28T13:40:01.992Z] Warning: overwriting stash ‘coverage-report’ [2023-09-28T13:40:02.571Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-28T13:40:02.945Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-28T13:40:03.286Z] + ls -al . [2023-09-28T13:40:03.286Z] total 200 [2023-09-28T13:40:03.286Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 13:37 . [2023-09-28T13:40:03.287Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 13:35 .. [2023-09-28T13:40:03.287Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 13:35 .git [2023-09-28T13:40:03.287Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 13:35 .github [2023-09-28T13:40:03.287Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 28 13:35 .gitignore [2023-09-28T13:40:03.287Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 28 13:35 .golangci.yml [2023-09-28T13:40:03.287Z] -rw-rw-r-- 1 jenkins jenkins 9708 Sep 28 13:35 Attribution.txt [2023-09-28T13:40:03.287Z] -rw-rw-r-- 1 jenkins jenkins 14372 Sep 28 13:35 CHANGELOG.md [2023-09-28T13:40:03.287Z] -rw-rw-r-- 1 jenkins jenkins 1646 Sep 28 13:35 Dockerfile [2023-09-28T13:40:03.287Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 13:35 GOVERNANCE.md [2023-09-28T13:40:03.287Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 28 13:35 Jenkinsfile [2023-09-28T13:40:03.287Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 28 13:35 LICENSE [2023-09-28T13:40:03.287Z] -rw-rw-r-- 1 jenkins jenkins 1947 Sep 28 13:35 Makefile [2023-09-28T13:40:03.287Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 28 13:35 OWNERS.md [2023-09-28T13:40:03.287Z] -rw-rw-r-- 1 jenkins jenkins 4111 Sep 28 13:35 README.md [2023-09-28T13:40:03.287Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 28 13:32 VERSION [2023-09-28T13:40:03.287Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 13:35 bin [2023-09-28T13:40:03.287Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 13:35 cmd [2023-09-28T13:40:03.287Z] -rw-r--r-- 1 jenkins jenkins 43063 Sep 28 13:39 coverage.out [2023-09-28T13:40:03.287Z] -rw-rw-r-- 1 jenkins jenkins 3637 Sep 28 13:35 go.mod [2023-09-28T13:40:03.287Z] -rw-rw-r-- 1 jenkins jenkins 35019 Sep 28 13:35 go.sum [2023-09-28T13:40:03.287Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 13:35 internal [2023-09-28T13:40:03.287Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 13:35 snap [2023-09-28T13:40:03.287Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 28 13:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:40:03.633Z] + 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=8b8e1bf2b9e06380082507a2409f4790e8b740fe --label arch=arm64 --label version=3.1.0-dev.20 . [2023-09-28T13:40:04.609Z] Sending build context to Docker daemon 12.01MB [2023-09-28T13:40:04.609Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-28T13:40:04.609Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-28T13:40:04.609Z] ---> c004b282b1db [2023-09-28T13:40:04.609Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-28T13:40:04.891Z] ---> Running in 435b6f9da9ee [2023-09-28T13:40:05.168Z] Removing intermediate container 435b6f9da9ee [2023-09-28T13:40:05.168Z] ---> 48104a4b3a13 [2023-09-28T13:40:05.168Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-28T13:40:05.436Z] ---> Running in 495e6d90096a [2023-09-28T13:40:06.021Z] Removing intermediate container 495e6d90096a [2023-09-28T13:40:06.021Z] ---> 9bfbde419366 [2023-09-28T13:40:06.021Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-28T13:40:06.021Z] ---> Running in 500ea275e044 [2023-09-28T13:40:06.604Z] Removing intermediate container 500ea275e044 [2023-09-28T13:40:06.604Z] ---> 9a998719d136 [2023-09-28T13:40:06.604Z] Step 6/25 : WORKDIR /device-virtual-go [2023-09-28T13:40:06.604Z] ---> Running in a61d2f4e3343 [2023-09-28T13:40:07.216Z] Removing intermediate container a61d2f4e3343 [2023-09-28T13:40:07.216Z] ---> 4125e4fe8f9e [2023-09-28T13:40:07.216Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-28T13:40:07.216Z] ---> Running in 22e2331e26a3 [2023-09-28T13:40:08.725Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-28T13:40:08.993Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-28T13:40:10.402Z] OK: 270 MiB in 56 packages [2023-09-28T13:40:11.830Z] Removing intermediate container 22e2331e26a3 [2023-09-28T13:40:11.830Z] ---> d0c455023f1f [2023-09-28T13:40:11.830Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-28T13:40:13.784Z] ---> be4811a9aaea [2023-09-28T13:40:13.784Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-28T13:40:13.784Z] ---> Running in afb4a36ab62d [2023-09-28T13:40:16.366Z] Removing intermediate container afb4a36ab62d [2023-09-28T13:40:16.366Z] ---> f7adab283143 [2023-09-28T13:40:16.366Z] Step 10/25 : COPY . . [2023-09-28T13:40:17.334Z] ---> 0042c730bb90 [2023-09-28T13:40:17.334Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-28T13:40:17.334Z] ---> Running in ff36a2d7fba5 [2023-09-28T13:40:17.603Z] Removing intermediate container ff36a2d7fba5 [2023-09-28T13:40:17.603Z] ---> d14c7f992277 [2023-09-28T13:40:17.603Z] Step 12/25 : RUN $MAKE [2023-09-28T13:40:17.603Z] ---> Running in 037e49a47a90 [2023-09-28T13:40:18.567Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.32" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-09-28T13:42:10.238Z] Removing intermediate container 037e49a47a90 [2023-09-28T13:42:10.238Z] ---> b9e4eeb0e7a3 [2023-09-28T13:42:10.238Z] Step 13/25 : FROM alpine:3.18 [2023-09-28T13:42:10.238Z] 3.18: Pulling from library/alpine [2023-09-28T13:42:10.238Z] 9fda8d8052c6: Already exists [2023-09-28T13:42:10.238Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-28T13:42:10.238Z] Status: Downloaded newer image for alpine:3.18 [2023-09-28T13:42:10.238Z] ---> f6648c04cd6c [2023-09-28T13:42:10.238Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-09-28T13:42:10.238Z] ---> Running in ca168ac45d79 [2023-09-28T13:42:10.238Z] Removing intermediate container ca168ac45d79 [2023-09-28T13:42:10.238Z] ---> 4cc0e357cbb8 [2023-09-28T13:42:10.238Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-28T13:42:10.238Z] ---> Running in 6f60b350a0f1 [2023-09-28T13:42:10.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-28T13:42:10.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-28T13:42:11.468Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-28T13:42:11.468Z] Executing busybox-1.36.1-r2.trigger [2023-09-28T13:42:11.468Z] OK: 8 MiB in 16 packages [2023-09-28T13:42:15.723Z] Removing intermediate container 6f60b350a0f1 [2023-09-28T13:42:15.723Z] ---> 4deae6fbada8 [2023-09-28T13:42:15.723Z] Step 16/25 : WORKDIR / [2023-09-28T13:42:15.723Z] ---> Running in 6b5c7e21bbb0 [2023-09-28T13:42:15.723Z] Removing intermediate container 6b5c7e21bbb0 [2023-09-28T13:42:15.723Z] ---> 8e7361bdb8bd [2023-09-28T13:42:15.723Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-09-28T13:42:15.991Z] ---> 487c2581184b [2023-09-28T13:42:15.991Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-09-28T13:42:16.574Z] ---> 20904f971727 [2023-09-28T13:42:16.574Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-09-28T13:42:17.984Z] ---> f40ad0490e5a [2023-09-28T13:42:17.984Z] Step 20/25 : EXPOSE 59900 [2023-09-28T13:42:17.984Z] ---> Running in b0d3a6411a4a [2023-09-28T13:42:18.252Z] Removing intermediate container b0d3a6411a4a [2023-09-28T13:42:18.252Z] ---> 06dba5521749 [2023-09-28T13:42:18.252Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-09-28T13:42:18.252Z] ---> Running in 0f0b5dcb4d13 [2023-09-28T13:42:18.520Z] Removing intermediate container 0f0b5dcb4d13 [2023-09-28T13:42:18.520Z] ---> 67b5fa22ea54 [2023-09-28T13:42:18.520Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-28T13:42:18.520Z] ---> Running in fdca2426435f [2023-09-28T13:42:18.788Z] Removing intermediate container fdca2426435f [2023-09-28T13:42:18.788Z] ---> f31fb6674253 [2023-09-28T13:42:18.788Z] Step 23/25 : LABEL arch=arm64 [2023-09-28T13:42:19.065Z] ---> Running in 93adc5380057 [2023-09-28T13:42:19.334Z] Removing intermediate container 93adc5380057 [2023-09-28T13:42:19.334Z] ---> 5d22f7c3e8ba [2023-09-28T13:42:19.334Z] Step 24/25 : LABEL git_sha=8b8e1bf2b9e06380082507a2409f4790e8b740fe [2023-09-28T13:42:19.334Z] ---> Running in 2dc8c730c9b8 [2023-09-28T13:42:19.600Z] Removing intermediate container 2dc8c730c9b8 [2023-09-28T13:42:19.600Z] ---> 500cb363bef7 [2023-09-28T13:42:19.600Z] Step 25/25 : LABEL version=3.1.0-dev.20 [2023-09-28T13:42:19.600Z] ---> Running in 4b7d3648a519 [2023-09-28T13:42:19.868Z] Removing intermediate container 4b7d3648a519 [2023-09-28T13:42:19.868Z] ---> 5e1ed2f750da [2023-09-28T13:42:19.868Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-28T13:42:19.868Z] Successfully built 5e1ed2f750da [2023-09-28T13:42:19.868Z] 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-09-28T13:42:19.974Z] provisioning config files... [2023-09-28T13:42:19.989Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/146@tmp/config18160414490188613873tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T13:42:20.329Z] ---> docker-login.sh [2023-09-28T13:42:20.329Z] nexus3.edgexfoundry.org:10001 [2023-09-28T13:42:20.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T13:42:20.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T13:42:20.597Z] Configure a credential helper to remove this warning. See [2023-09-28T13:42:20.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T13:42:20.597Z] [2023-09-28T13:42:20.597Z] Login Succeeded [2023-09-28T13:42:20.597Z] nexus3.edgexfoundry.org:10002 [2023-09-28T13:42:20.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T13:42:20.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T13:42:20.864Z] Configure a credential helper to remove this warning. See [2023-09-28T13:42:20.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T13:42:20.864Z] [2023-09-28T13:42:20.864Z] Login Succeeded [2023-09-28T13:42:20.864Z] nexus3.edgexfoundry.org:10003 [2023-09-28T13:42:21.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T13:42:21.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T13:42:21.400Z] Configure a credential helper to remove this warning. See [2023-09-28T13:42:21.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T13:42:21.400Z] [2023-09-28T13:42:21.400Z] Login Succeeded [2023-09-28T13:42:21.400Z] nexus3.edgexfoundry.org:10004 [2023-09-28T13:42:21.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T13:42:21.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T13:42:21.668Z] Configure a credential helper to remove this warning. See [2023-09-28T13:42:21.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T13:42:21.668Z] [2023-09-28T13:42:21.668Z] Login Succeeded [2023-09-28T13:42:21.668Z] docker.io [2023-09-28T13:42:21.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T13:42:22.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T13:42:22.517Z] Configure a credential helper to remove this warning. See [2023-09-28T13:42:22.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T13:42:22.517Z] [2023-09-28T13:42:22.517Z] Login Succeeded [2023-09-28T13:42:22.517Z] ---> docker-login.sh ends [Pipeline] } [2023-09-28T13:42:22.530Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-28T13:42:22.557Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T13:42:22.576Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-09-28T13:42:22.576Z] 8b8e1bf2b9e06380082507a2409f4790e8b740fe [2023-09-28T13:42:22.576Z] latest [2023-09-28T13:42:22.576Z] 3.1.0-dev.20 [2023-09-28T13:42:22.576Z] 8b8e1bf2b9e06380082507a2409f4790e8b740fe-3.1.0-dev.20 [2023-09-28T13:42:22.576Z] main [2023-09-28T13:42:22.576Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:42:22.924Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:8b8e1bf2b9e06380082507a2409f4790e8b740fe [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:42:23.268Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:8b8e1bf2b9e06380082507a2409f4790e8b740fe [2023-09-28T13:42:23.268Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-28T13:42:23.268Z] 21dde6764348: Preparing [2023-09-28T13:42:23.268Z] 8db31ca8d277: Preparing [2023-09-28T13:42:23.268Z] cd22f3ac0a68: Preparing [2023-09-28T13:42:23.268Z] 40887bd7d075: Preparing [2023-09-28T13:42:23.268Z] b2191e2be29d: Preparing [2023-09-28T13:42:23.268Z] b2191e2be29d: Layer already exists [2023-09-28T13:42:23.535Z] 8db31ca8d277: Pushed [2023-09-28T13:42:23.535Z] cd22f3ac0a68: Pushed [2023-09-28T13:42:23.535Z] 40887bd7d075: Pushed [2023-09-28T13:42:30.171Z] 21dde6764348: Pushed [2023-09-28T13:42:30.171Z] 8b8e1bf2b9e06380082507a2409f4790e8b740fe: digest: sha256:f3f01ac22b928ad20cea1bb565b81108f48bc6399a81bf24cda6c502bf91a4e3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:42:30.524Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:42:30.940Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-09-28T13:42:30.940Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-28T13:42:30.940Z] 21dde6764348: Preparing [2023-09-28T13:42:30.940Z] 8db31ca8d277: Preparing [2023-09-28T13:42:30.940Z] cd22f3ac0a68: Preparing [2023-09-28T13:42:30.940Z] 40887bd7d075: Preparing [2023-09-28T13:42:30.940Z] b2191e2be29d: Preparing [2023-09-28T13:42:30.940Z] b2191e2be29d: Layer already exists [2023-09-28T13:42:30.940Z] 40887bd7d075: Layer already exists [2023-09-28T13:42:30.940Z] cd22f3ac0a68: Layer already exists [2023-09-28T13:42:30.940Z] 8db31ca8d277: Layer already exists [2023-09-28T13:42:30.940Z] 21dde6764348: Layer already exists [2023-09-28T13:42:31.212Z] latest: digest: sha256:f3f01ac22b928ad20cea1bb565b81108f48bc6399a81bf24cda6c502bf91a4e3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:42:31.570Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:42:31.950Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.20 [2023-09-28T13:42:31.950Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-28T13:42:31.950Z] 21dde6764348: Preparing [2023-09-28T13:42:31.950Z] 8db31ca8d277: Preparing [2023-09-28T13:42:31.950Z] cd22f3ac0a68: Preparing [2023-09-28T13:42:31.950Z] 40887bd7d075: Preparing [2023-09-28T13:42:31.950Z] b2191e2be29d: Preparing [2023-09-28T13:42:31.950Z] 8db31ca8d277: Layer already exists [2023-09-28T13:42:31.950Z] 21dde6764348: Layer already exists [2023-09-28T13:42:31.950Z] cd22f3ac0a68: Layer already exists [2023-09-28T13:42:31.950Z] 40887bd7d075: Layer already exists [2023-09-28T13:42:31.950Z] b2191e2be29d: Layer already exists [2023-09-28T13:42:31.950Z] 3.1.0-dev.20: digest: sha256:f3f01ac22b928ad20cea1bb565b81108f48bc6399a81bf24cda6c502bf91a4e3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:42:32.312Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:8b8e1bf2b9e06380082507a2409f4790e8b740fe-3.1.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:42:32.691Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:8b8e1bf2b9e06380082507a2409f4790e8b740fe-3.1.0-dev.20 [2023-09-28T13:42:32.691Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-28T13:42:32.691Z] 21dde6764348: Preparing [2023-09-28T13:42:32.691Z] 8db31ca8d277: Preparing [2023-09-28T13:42:32.691Z] cd22f3ac0a68: Preparing [2023-09-28T13:42:32.691Z] 40887bd7d075: Preparing [2023-09-28T13:42:32.691Z] b2191e2be29d: Preparing [2023-09-28T13:42:32.691Z] 8db31ca8d277: Layer already exists [2023-09-28T13:42:32.691Z] b2191e2be29d: Layer already exists [2023-09-28T13:42:32.691Z] 21dde6764348: Layer already exists [2023-09-28T13:42:32.691Z] cd22f3ac0a68: Layer already exists [2023-09-28T13:42:32.691Z] 40887bd7d075: Layer already exists [2023-09-28T13:42:32.691Z] 8b8e1bf2b9e06380082507a2409f4790e8b740fe-3.1.0-dev.20: digest: sha256:f3f01ac22b928ad20cea1bb565b81108f48bc6399a81bf24cda6c502bf91a4e3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:42:33.046Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:42:33.394Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-09-28T13:42:33.395Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-28T13:42:33.395Z] 21dde6764348: Preparing [2023-09-28T13:42:33.395Z] 8db31ca8d277: Preparing [2023-09-28T13:42:33.395Z] cd22f3ac0a68: Preparing [2023-09-28T13:42:33.395Z] 40887bd7d075: Preparing [2023-09-28T13:42:33.395Z] b2191e2be29d: Preparing [2023-09-28T13:42:33.395Z] b2191e2be29d: Layer already exists [2023-09-28T13:42:33.395Z] cd22f3ac0a68: Layer already exists [2023-09-28T13:42:33.395Z] 21dde6764348: Layer already exists [2023-09-28T13:42:33.395Z] 40887bd7d075: Layer already exists [2023-09-28T13:42:33.395Z] 8db31ca8d277: Layer already exists [2023-09-28T13:42:33.395Z] main: digest: sha256:f3f01ac22b928ad20cea1bb565b81108f48bc6399a81bf24cda6c502bf91a4e3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-28T13:42:33.457Z] ===================================================== [Pipeline] echo [2023-09-28T13:42:33.467Z] taggedImages: [2023-09-28T13:42:33.467Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:8b8e1bf2b9e06380082507a2409f4790e8b740fe [2023-09-28T13:42:33.467Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-09-28T13:42:33.467Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.20 [2023-09-28T13:42:33.467Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:8b8e1bf2b9e06380082507a2409f4790e8b740fe-3.1.0-dev.20 [2023-09-28T13:42:33.467Z] - 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-09-28T13:42:33.828Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-28T13:42:33.828Z] [2023-09-28T13:42:33.828Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:42:34.161Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-28T13:42:34.161Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-28T13:42:34.161Z] 8998bd30e6a1: Pulling fs layer [2023-09-28T13:42:34.161Z] 04944245beec: Pulling fs layer [2023-09-28T13:42:34.161Z] 699f458cf7ca: Pulling fs layer [2023-09-28T13:42:34.161Z] 765212b225bb: Pulling fs layer [2023-09-28T13:42:34.161Z] f23df028b6ca: Pulling fs layer [2023-09-28T13:42:34.161Z] d65c8cfc05b1: Pulling fs layer [2023-09-28T13:42:34.161Z] 2437ff75d9bd: Pulling fs layer [2023-09-28T13:42:34.161Z] f23df028b6ca: Waiting [2023-09-28T13:42:34.161Z] d65c8cfc05b1: Waiting [2023-09-28T13:42:34.161Z] 2437ff75d9bd: Waiting [2023-09-28T13:42:34.161Z] 765212b225bb: Waiting [2023-09-28T13:42:34.430Z] 04944245beec: Verifying Checksum [2023-09-28T13:42:34.430Z] 04944245beec: Download complete [2023-09-28T13:42:34.430Z] 765212b225bb: Verifying Checksum [2023-09-28T13:42:34.430Z] 765212b225bb: Download complete [2023-09-28T13:42:34.430Z] f23df028b6ca: Verifying Checksum [2023-09-28T13:42:34.430Z] f23df028b6ca: Download complete [2023-09-28T13:42:34.430Z] d65c8cfc05b1: Verifying Checksum [2023-09-28T13:42:34.430Z] d65c8cfc05b1: Download complete [2023-09-28T13:42:34.699Z] 699f458cf7ca: Verifying Checksum [2023-09-28T13:42:34.699Z] 699f458cf7ca: Download complete [2023-09-28T13:42:34.968Z] 8998bd30e6a1: Verifying Checksum [2023-09-28T13:42:34.968Z] 8998bd30e6a1: Download complete [2023-09-28T13:42:37.551Z] 2437ff75d9bd: Verifying Checksum [2023-09-28T13:42:37.551Z] 2437ff75d9bd: Download complete [2023-09-28T13:42:38.960Z] 8998bd30e6a1: Pull complete [2023-09-28T13:42:42.298Z] 04944245beec: Pull complete [2023-09-28T13:42:43.256Z] 699f458cf7ca: Pull complete [2023-09-28T13:42:43.520Z] 765212b225bb: Pull complete [2023-09-28T13:42:44.100Z] f23df028b6ca: Pull complete [2023-09-28T13:42:44.367Z] d65c8cfc05b1: Pull complete [2023-09-28T13:42:59.343Z] 2437ff75d9bd: Pull complete [2023-09-28T13:42:59.343Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-28T13:42:59.343Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-28T13:42:59.343Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T13:42:59.521Z] prd-ubuntu20.04-docker-arm64-4c-16g-8141 does not seem to be running inside a container [2023-09-28T13:42:59.560Z] $ 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/146 -v /w/workspace/device-virtual-go/146:/w/workspace/device-virtual-go/146:rw,z -v /w/workspace/device-virtual-go/146@tmp:/w/workspace/device-virtual-go/146@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-09-28T13:43:01.986Z] $ docker top aa968fa289ab46c6eebc76067da0e6da248b3b815f2fdc40fefa73d070e5f86e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T13:43:02.519Z] ---> job-cost.sh [2023-09-28T13:43:02.783Z] lf-activate-venv: SKIPPING [2023-09-28T13:43:02.783Z] INFO: No Stack... [2023-09-28T13:43:03.050Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-28T13:43:04.010Z] INFO: Archiving Costs [Pipeline] sh [2023-09-28T13:43:04.322Z] + + cut -d,cat -f6 /w/workspace/device-virtual-go/146/archives/cost.csv [2023-09-28T13:43:04.322Z] [Pipeline] lock [2023-09-28T13:43:04.378Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-146-stack-cost] [2023-09-28T13:43:04.383Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-146-stack-cost] did not exist. Created. [2023-09-28T13:43:04.384Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-146-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-28T13:43:04.708Z] /w/workspace/device-virtual-go/146@tmp/durable-e41bc0a5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-28T13:43:05.297Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-28T13:43:05.319Z] Warning: overwriting stash ‘stack-cost’ [2023-09-28T13:43:05.368Z] Stashed 1 file(s) [Pipeline] } [2023-09-28T13:43:05.376Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-146-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-28T13:43:05.369Z] $ docker stop --time=1 aa968fa289ab46c6eebc76067da0e6da248b3b815f2fdc40fefa73d070e5f86e [2023-09-28T13:43:10.521Z] $ docker rm -f --volumes aa968fa289ab46c6eebc76067da0e6da248b3b815f2fdc40fefa73d070e5f86e [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-09-28T13:43:10.936Z] provisioning config files... [2023-09-28T13:43:10.944Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11907293482894779645tmp [Pipeline] { [Pipeline] sh [2023-09-28T13:43:11.239Z] + set +x [2023-09-28T13:43:11.239Z] + curl -s https://codecov.io/bash [2023-09-28T13:43:11.239Z] + bash -s -- [2023-09-28T13:43:11.239Z] [2023-09-28T13:43:11.239Z] _____ _ [2023-09-28T13:43:11.239Z] / ____| | | [2023-09-28T13:43:11.239Z] | | ___ __| | ___ ___ _____ __ [2023-09-28T13:43:11.239Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-28T13:43:11.239Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-28T13:43:11.239Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-28T13:43:11.239Z] Bash-1.0.6 [2023-09-28T13:43:11.239Z] [2023-09-28T13:43:11.239Z] [2023-09-28T13:43:11.239Z] ==> git version 2.25.1 found [2023-09-28T13:43:11.239Z] ==> 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-09-28T13:43:11.239Z] Release-Date: 2020-01-08 [2023-09-28T13:43:11.239Z] 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-09-28T13:43:11.239Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-28T13:43:11.239Z] ==> Jenkins CI detected. [2023-09-28T13:43:11.239Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-09-28T13:43:11.239Z] project root: . [2023-09-28T13:43:11.239Z] --> token set from env [2023-09-28T13:43:11.239Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-28T13:43:11.239Z] ==> Running gcov in . (disable via -X gcov) [2023-09-28T13:43:11.239Z] ==> Python coveragepy not found [2023-09-28T13:43:11.239Z] ==> Searching for coverage reports in: [2023-09-28T13:43:11.239Z] + . [2023-09-28T13:43:11.239Z] -> Found 1 reports [2023-09-28T13:43:11.239Z] ==> Detecting git/mercurial file structure [2023-09-28T13:43:11.499Z] ==> Reading reports [2023-09-28T13:43:11.499Z] + ./coverage.out bytes=43063 [2023-09-28T13:43:11.499Z] ==> Appending adjustments [2023-09-28T13:43:11.499Z] https://docs.codecov.io/docs/fixing-reports [2023-09-28T13:43:11.499Z] + Found adjustments [2023-09-28T13:43:11.499Z] ==> Gzipping contents [2023-09-28T13:43:11.499Z] 8.0K /tmp/codecov.GqTOym.gz [2023-09-28T13:43:11.499Z] ==> Uploading reports [2023-09-28T13:43:11.499Z] url: https://codecov.io [2023-09-28T13:43:11.499Z] query: branch=main&commit=8b8e1bf2b9e06380082507a2409f4790e8b740fe&build=146&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F146%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-28T13:43:11.499Z] -> Pinging Codecov [2023-09-28T13:43:11.499Z] 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=8b8e1bf2b9e06380082507a2409f4790e8b740fe&build=146&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F146%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-28T13:43:11.759Z] -> Uploading to [2023-09-28T13:43:11.759Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-28/5E52B4B073DB2E39498172D8E973AA87/8b8e1bf2b9e06380082507a2409f4790e8b740fe/c0203856-9e26-46ee-b44e-c4d281080845.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230928T134311Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8918b659f7738c5734f6fafb67fecaf067c50a6714831f5ca357feb5e70e8d33 [2023-09-28T13:43:11.759Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-28T13:43:11.759Z] Dload Upload Total Spent Left Speed [2023-09-28T13:43:12.018Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 20171 --:--:-- --:--:-- --:--:-- 20093 [2023-09-28T13:43:12.018Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/8b8e1bf2b9e06380082507a2409f4790e8b740fe [Pipeline] } [2023-09-28T13:43:12.026Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-28T13:43:12.314Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-28T13:43:12.325Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:43:12.624Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-28T13:43:12.624Z] [2023-09-28T13:43:12.624Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:43:12.929Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-28T13:43:12.929Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-28T13:43:12.929Z] df9b9388f04a: Pulling fs layer [2023-09-28T13:43:12.929Z] 52dc419b0ee2: Pulling fs layer [2023-09-28T13:43:12.929Z] 25bc292e5bac: Pulling fs layer [2023-09-28T13:43:12.929Z] 114826534d7a: Pulling fs layer [2023-09-28T13:43:12.929Z] 4657fd5d0bcf: Pulling fs layer [2023-09-28T13:43:12.929Z] 6ad1cebc031e: Pulling fs layer [2023-09-28T13:43:12.929Z] 8a3aa393b2d8: Pulling fs layer [2023-09-28T13:43:12.929Z] 4657fd5d0bcf: Waiting [2023-09-28T13:43:12.929Z] 6ad1cebc031e: Waiting [2023-09-28T13:43:12.929Z] 8a3aa393b2d8: Waiting [2023-09-28T13:43:12.929Z] 114826534d7a: Waiting [2023-09-28T13:43:12.929Z] 25bc292e5bac: Verifying Checksum [2023-09-28T13:43:12.929Z] 25bc292e5bac: Download complete [2023-09-28T13:43:12.929Z] 52dc419b0ee2: Verifying Checksum [2023-09-28T13:43:12.929Z] 52dc419b0ee2: Download complete [2023-09-28T13:43:12.929Z] 4657fd5d0bcf: Verifying Checksum [2023-09-28T13:43:12.929Z] 4657fd5d0bcf: Download complete [2023-09-28T13:43:12.929Z] df9b9388f04a: Download complete [2023-09-28T13:43:13.191Z] df9b9388f04a: Pull complete [2023-09-28T13:43:13.191Z] 6ad1cebc031e: Verifying Checksum [2023-09-28T13:43:13.191Z] 6ad1cebc031e: Download complete [2023-09-28T13:43:13.191Z] 52dc419b0ee2: Pull complete [2023-09-28T13:43:13.191Z] 25bc292e5bac: Pull complete [2023-09-28T13:43:13.760Z] 114826534d7a: Verifying Checksum [2023-09-28T13:43:13.760Z] 114826534d7a: Download complete [2023-09-28T13:43:13.760Z] 8a3aa393b2d8: Verifying Checksum [2023-09-28T13:43:13.760Z] 8a3aa393b2d8: Download complete [2023-09-28T13:43:17.042Z] 114826534d7a: Pull complete [2023-09-28T13:43:17.042Z] 4657fd5d0bcf: Pull complete [2023-09-28T13:43:17.300Z] 6ad1cebc031e: Pull complete [2023-09-28T13:43:19.823Z] 8a3aa393b2d8: Pull complete [2023-09-28T13:43:19.823Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-28T13:43:19.823Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-28T13:43:19.823Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T13:43:19.900Z] prd-ubuntu20.04-docker-8c-8g-8139 does not seem to be running inside a container [2023-09-28T13:43:19.942Z] $ 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-09-28T13:43:23.717Z] $ docker top c6795e09d8b3b849916d99b85c72613598bcdedb347762190bd96424358346bf -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-28T13:43:23.770Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-09-28T13:43:24.046Z] + set -o pipefail [2023-09-28T13:43:24.046Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-09-28T13:43:29.315Z] [2023-09-28T13:43:29.315Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-09-28T13:43:29.315Z] [2023-09-28T13:43:29.315Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/662976f9-e3bf-42e6-9d42-afb2580909c9 [2023-09-28T13:43:29.315Z] [2023-09-28T13:43:29.315Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-28T13:43:29.315Z] [2023-09-28T13:43:29.315Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-28T13:43:29.315Z] [2023-09-28T13:43:29.895Z] [2023-09-28T13:43:29.895Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-28T13:43:29.895Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-28T13:43:29.895Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-28T13:43:29.914Z] $ docker stop --time=1 c6795e09d8b3b849916d99b85c72613598bcdedb347762190bd96424358346bf [2023-09-28T13:43:33.268Z] $ docker rm -f --volumes c6795e09d8b3b849916d99b85c72613598bcdedb347762190bd96424358346bf [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-09-28T13:43:33.960Z] + git log --format=format:%s -1 8b8e1bf2b9e06380082507a2409f4790e8b740fe [Pipeline] sh [2023-09-28T13:43:34.254Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-28T13:43:34.254Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:43:34.554Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T13:43:34.554Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T13:43:34.628Z] prd-ubuntu20.04-docker-8c-8g-8139 does not seem to be running inside a container [2023-09-28T13:43:34.671Z] $ 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-09-28T13:43:35.107Z] $ docker top 327e609d955889b6820bb60405b3add211a376e481652270ac50a4da93bf3725 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-28T13:43:35.185Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-28T13:43:35.185Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-28T13:43:35.294Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-28T13:43:35.306Z] $ docker exec 327e609d955889b6820bb60405b3add211a376e481652270ac50a4da93bf3725 ssh-agent [2023-09-28T13:43:35.402Z] SSH_AUTH_SOCK=/tmp/ssh-BQN7fdYyVpQF/agent.31 [2023-09-28T13:43:35.402Z] SSH_AGENT_PID=37 [2023-09-28T13:43:35.406Z] Running ssh-add (command line suppressed) [2023-09-28T13:43:35.527Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5747707247368390359.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5747707247368390359.key) [2023-09-28T13:43:35.531Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-28T13:43:35.818Z] + git semver tag [2023-09-28T13:43:36.076Z] 2023-09-28 13:43:36,007 [run_tag] DEBUG tag force:False [2023-09-28T13:43:36.076Z] 2023-09-28 13:43:36,008 [check_head_tag] DEBUG check head tag [2023-09-28T13:43:36.077Z] 2023-09-28 13:43:36,008 [execute] INFO git cat-file --batch-check [2023-09-28T13:43:36.077Z] 2023-09-28 13:43:36,009 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-09-28T13:43:36.077Z] 2023-09-28 13:43:36,012 [execute] INFO git cat-file --batch [2023-09-28T13:43:36.077Z] 2023-09-28 13:43:36,012 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-09-28T13:43:36.077Z] 2023-09-28 13:43:36,026 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-28T13:43:36.077Z] 2023-09-28 13:43:36,026 [execute] INFO git tag -a v3.1.0-dev.20 -m v3.1.0-dev.20 [2023-09-28T13:43:36.077Z] 2023-09-28 13:43:36,026 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.20', '-m', 'v3.1.0-dev.20'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-28T13:43:36.077Z] 2023-09-28 13:43:36,031 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-28T13:43:36.077Z] 3.1.0-dev.20 [Pipeline] } [2023-09-28T13:43:36.095Z] $ docker exec --env ******** --env ******** 327e609d955889b6820bb60405b3add211a376e481652270ac50a4da93bf3725 ssh-agent -k [2023-09-28T13:43:36.196Z] unset SSH_AUTH_SOCK; [2023-09-28T13:43:36.196Z] unset SSH_AGENT_PID; [2023-09-28T13:43:36.196Z] echo Agent pid 37 killed; [2023-09-28T13:43:36.197Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-28T13:43:36.508Z] + git semver [Pipeline] } [2023-09-28T13:43:36.790Z] $ docker stop --time=1 327e609d955889b6820bb60405b3add211a376e481652270ac50a4da93bf3725 [2023-09-28T13:43:38.089Z] $ docker rm -f --volumes 327e609d955889b6820bb60405b3add211a376e481652270ac50a4da93bf3725 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:43:38.475Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-28T13:43:38.475Z] [2023-09-28T13:43:38.475Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:43:38.780Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-28T13:43:38.780Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-28T13:43:38.780Z] ab5ef0e58194: Pulling fs layer [2023-09-28T13:43:38.780Z] 9712f1f96733: Pulling fs layer [2023-09-28T13:43:38.780Z] 63f879dbbcfc: Pulling fs layer [2023-09-28T13:43:38.780Z] 0d9ebad4ef96: Pulling fs layer [2023-09-28T13:43:38.780Z] e9a5061849ea: Pulling fs layer [2023-09-28T13:43:38.780Z] d747dcd14b5f: Pulling fs layer [2023-09-28T13:43:38.780Z] 2de7ff778b66: Pulling fs layer [2023-09-28T13:43:38.780Z] 0d9ebad4ef96: Waiting [2023-09-28T13:43:38.780Z] e9a5061849ea: Waiting [2023-09-28T13:43:38.780Z] d747dcd14b5f: Waiting [2023-09-28T13:43:38.780Z] 2de7ff778b66: Waiting [2023-09-28T13:43:38.780Z] 9712f1f96733: Verifying Checksum [2023-09-28T13:43:38.780Z] 9712f1f96733: Download complete [2023-09-28T13:43:39.039Z] 63f879dbbcfc: Verifying Checksum [2023-09-28T13:43:39.039Z] 63f879dbbcfc: Download complete [2023-09-28T13:43:39.297Z] e9a5061849ea: Verifying Checksum [2023-09-28T13:43:39.297Z] e9a5061849ea: Download complete [2023-09-28T13:43:39.297Z] d747dcd14b5f: Download complete [2023-09-28T13:43:39.297Z] ab5ef0e58194: Verifying Checksum [2023-09-28T13:43:39.297Z] ab5ef0e58194: Download complete [2023-09-28T13:43:39.297Z] 0d9ebad4ef96: Verifying Checksum [2023-09-28T13:43:39.297Z] 0d9ebad4ef96: Download complete [2023-09-28T13:43:39.297Z] 2de7ff778b66: Verifying Checksum [2023-09-28T13:43:39.297Z] 2de7ff778b66: Download complete [2023-09-28T13:43:42.577Z] ab5ef0e58194: Pull complete [2023-09-28T13:43:42.577Z] 9712f1f96733: Pull complete [2023-09-28T13:43:42.835Z] 63f879dbbcfc: Pull complete [2023-09-28T13:43:46.118Z] 0d9ebad4ef96: Pull complete [2023-09-28T13:43:46.378Z] e9a5061849ea: Pull complete [2023-09-28T13:43:46.378Z] d747dcd14b5f: Pull complete [2023-09-28T13:43:47.752Z] 2de7ff778b66: Pull complete [2023-09-28T13:43:47.752Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-28T13:43:47.752Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-28T13:43:47.752Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T13:43:47.828Z] prd-ubuntu20.04-docker-8c-8g-8139 does not seem to be running inside a container [2023-09-28T13:43:47.867Z] $ 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-09-28T13:43:52.393Z] $ docker top aae85d3cba9466cbcc3d025d2c5f9b3a0fdaaaedb6583a592b10e673ad59e70d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-28T13:43:52.457Z] provisioning config files... [2023-09-28T13:43:52.463Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5557896256559090574tmp [2023-09-28T13:43:52.472Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5552807268222847175tmp [2023-09-28T13:43:52.481Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14074684766167115680tmp [Pipeline] { [Pipeline] echo [2023-09-28T13:43:52.495Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T13:43:52.774Z] ---> sigul-configuration.sh [2023-09-28T13:43:52.774Z] gpg: directory `/root/.gnupg' created [2023-09-28T13:43:52.774Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-28T13:43:52.774Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-28T13:43:52.774Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-28T13:43:52.774Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-28T13:43:52.774Z] gpg: CAST5 encrypted data [2023-09-28T13:43:52.774Z] gpg: encrypted with 1 passphrase [2023-09-28T13:43:52.774Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-28T13:43:53.056Z] + mkdir /home/jenkins [2023-09-28T13:43:53.056Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-28T13:43:53.339Z] + 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-09-28T13:43:53.347Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T13:43:53.625Z] ---> sigul-install.sh [2023-09-28T13:43:53.625Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-28T13:43:53.908Z] + git tag --list [2023-09-28T13:43:53.908Z] v1.0.0 [2023-09-28T13:43:53.908Z] v1.1.0 [2023-09-28T13:43:53.908Z] v1.1.1 [2023-09-28T13:43:53.908Z] v1.2.1 [2023-09-28T13:43:53.908Z] v1.2.2 [2023-09-28T13:43:53.908Z] v1.2.3 [2023-09-28T13:43:53.908Z] v1.3.0 [2023-09-28T13:43:53.908Z] v1.3.1 [2023-09-28T13:43:53.908Z] v2.0.0 [2023-09-28T13:43:53.908Z] v2.1.0 [2023-09-28T13:43:53.908Z] v2.1.1 [2023-09-28T13:43:53.908Z] v2.2.0 [2023-09-28T13:43:53.908Z] v2.3.0 [2023-09-28T13:43:53.908Z] v3.0 [2023-09-28T13:43:53.908Z] v3.0.0 [2023-09-28T13:43:53.908Z] v3.1.0-dev.1 [2023-09-28T13:43:53.908Z] v3.1.0-dev.10 [2023-09-28T13:43:53.908Z] v3.1.0-dev.11 [2023-09-28T13:43:53.908Z] v3.1.0-dev.12 [2023-09-28T13:43:53.908Z] v3.1.0-dev.13 [2023-09-28T13:43:53.908Z] v3.1.0-dev.14 [2023-09-28T13:43:53.908Z] v3.1.0-dev.15 [2023-09-28T13:43:53.908Z] v3.1.0-dev.16 [2023-09-28T13:43:53.908Z] v3.1.0-dev.17 [2023-09-28T13:43:53.908Z] v3.1.0-dev.18 [2023-09-28T13:43:53.908Z] v3.1.0-dev.19 [2023-09-28T13:43:53.908Z] v3.1.0-dev.2 [2023-09-28T13:43:53.908Z] v3.1.0-dev.20 [2023-09-28T13:43:53.908Z] v3.1.0-dev.3 [2023-09-28T13:43:53.908Z] v3.1.0-dev.4 [2023-09-28T13:43:53.908Z] v3.1.0-dev.5 [2023-09-28T13:43:53.908Z] v3.1.0-dev.6 [2023-09-28T13:43:53.908Z] v3.1.0-dev.7 [2023-09-28T13:43:53.908Z] v3.1.0-dev.8 [2023-09-28T13:43:53.908Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-28T13:43:54.192Z] + lftools sign git-tag v3.1.0-dev.20 [2023-09-28T13:43:54.759Z] Signing Git tag with Sigul... [2023-09-28T13:43:54.759Z] Signing v3.1.0-dev.20 [Pipeline] echo [2023-09-28T13:43:55.025Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T13:43:55.306Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-28T13:43:55.312Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-28T13:43:55.350Z] $ docker stop --time=1 aae85d3cba9466cbcc3d025d2c5f9b3a0fdaaaedb6583a592b10e673ad59e70d [2023-09-28T13:43:56.659Z] $ docker rm -f --volumes aae85d3cba9466cbcc3d025d2c5f9b3a0fdaaaedb6583a592b10e673ad59e70d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-28T13:43:57.070Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-28T13:43:57.070Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:43:57.367Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T13:43:57.367Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T13:43:57.435Z] prd-ubuntu20.04-docker-8c-8g-8139 does not seem to be running inside a container [2023-09-28T13:43:57.474Z] $ 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-09-28T13:43:57.807Z] $ docker top 5dbf0cc72fab0e3a95d901315e4be1af92eab1e0e8afc34d78703e9d2125499f -eo pid,comm [2023-09-28T13:43:57.849Z] 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-09-28T13:43:57.849Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-28T13:43:57.889Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-28T13:43:57.889Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-28T13:43:58.037Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-28T13:43:58.049Z] $ docker exec 5dbf0cc72fab0e3a95d901315e4be1af92eab1e0e8afc34d78703e9d2125499f ssh-agent [2023-09-28T13:43:58.152Z] SSH_AUTH_SOCK=/tmp/ssh-qkV7opZX2d4h/agent.31 [2023-09-28T13:43:58.152Z] SSH_AGENT_PID=37 [2023-09-28T13:43:58.156Z] Running ssh-add (command line suppressed) [2023-09-28T13:43:58.270Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_910210519360313492.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_910210519360313492.key) [2023-09-28T13:43:58.275Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-28T13:43:58.563Z] + git semver bump pre [2023-09-28T13:43:58.823Z] 2023-09-28 13:43:58,745 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-28T13:43:58.823Z] 2023-09-28 13:43:58,746 [bump_version] DEBUG bumping version:3.1.0-dev.20 on axis:pre with prefix:dev [2023-09-28T13:43:58.823Z] 2023-09-28 13:43:58,746 [bump_version] DEBUG bumped version:3.1.0-dev.21 [2023-09-28T13:43:58.823Z] 2023-09-28 13:43:58,746 [write_version] DEBUG write version:3.1.0-dev.21 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-09-28T13:43:58.823Z] 2023-09-28 13:43:58,746 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-28T13:43:58.823Z] 2023-09-28 13:43:58,746 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-28T13:43:58.823Z] 2023-09-28 13:43:58,748 [execute] INFO git cat-file --batch-check [2023-09-28T13:43:58.823Z] 2023-09-28 13:43:58,748 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-28T13:43:58.823Z] 2023-09-28 13:43:58,753 [execute] INFO git cat-file --batch [2023-09-28T13:43:58.823Z] 2023-09-28 13:43:58,753 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-28T13:43:58.823Z] 2023-09-28 13:43:58,758 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-28T13:43:58.823Z] 3.1.0-dev.21 [Pipeline] } [2023-09-28T13:43:58.841Z] $ docker exec --env ******** --env ******** 5dbf0cc72fab0e3a95d901315e4be1af92eab1e0e8afc34d78703e9d2125499f ssh-agent -k [2023-09-28T13:43:58.957Z] unset SSH_AUTH_SOCK; [2023-09-28T13:43:58.957Z] unset SSH_AGENT_PID; [2023-09-28T13:43:58.957Z] echo Agent pid 37 killed; [2023-09-28T13:43:58.958Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-28T13:43:59.262Z] + git semver [Pipeline] } [2023-09-28T13:43:59.540Z] $ docker stop --time=1 5dbf0cc72fab0e3a95d901315e4be1af92eab1e0e8afc34d78703e9d2125499f [2023-09-28T13:44:00.821Z] $ docker rm -f --volumes 5dbf0cc72fab0e3a95d901315e4be1af92eab1e0e8afc34d78703e9d2125499f [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-28T13:44:01.151Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-28T13:44:01.151Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:44:01.446Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T13:44:01.446Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T13:44:01.515Z] prd-ubuntu20.04-docker-8c-8g-8139 does not seem to be running inside a container [2023-09-28T13:44:01.554Z] $ 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-09-28T13:44:01.888Z] $ docker top 3d65f58b23c9fdd2831a86458e06d50d8f7d0b39014bbe40fec236ea8b5b916f -eo pid,comm [2023-09-28T13:44:01.924Z] 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-09-28T13:44:01.924Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-28T13:44:01.965Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-28T13:44:01.965Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-28T13:44:02.076Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-28T13:44:02.088Z] $ docker exec 3d65f58b23c9fdd2831a86458e06d50d8f7d0b39014bbe40fec236ea8b5b916f ssh-agent [2023-09-28T13:44:02.187Z] SSH_AUTH_SOCK=/tmp/ssh-o2CJOk8bkPP9/agent.33 [2023-09-28T13:44:02.187Z] SSH_AGENT_PID=39 [2023-09-28T13:44:02.192Z] Running ssh-add (command line suppressed) [2023-09-28T13:44:02.306Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8698852521290307459.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8698852521290307459.key) [2023-09-28T13:44:02.311Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-28T13:44:02.601Z] + git semver push [2023-09-28T13:44:02.860Z] 2023-09-28 13:44:02,821 [run_push] DEBUG push [2023-09-28T13:44:02.861Z] 2023-09-28 13:44:02,822 [execute] INFO git cat-file --batch-check [2023-09-28T13:44:02.861Z] 2023-09-28 13:44:02,822 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-28T13:44:02.861Z] 2023-09-28 13:44:02,826 [execute] INFO git rev-list c0a026d0b75f6711b89b1f9095734be4334f4578 -- [2023-09-28T13:44:02.861Z] 2023-09-28 13:44:02,826 [execute] DEBUG Popen(['git', 'rev-list', 'c0a026d0b75f6711b89b1f9095734be4334f4578', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-28T13:44:02.861Z] 2023-09-28 13:44:02,836 [execute] INFO git fetch -v origin [2023-09-28T13:44:02.861Z] 2023-09-28 13:44:02,837 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-28T13:44:03.801Z] 2023-09-28 13:44:03,508 [run_push] DEBUG no remote changes detected [2023-09-28T13:44:03.802Z] 2023-09-28 13:44:03,508 [execute] INFO git push origin semver [2023-09-28T13:44:03.802Z] 2023-09-28 13:44:03,509 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-28T13:44:04.738Z] 2023-09-28 13:44:04,393 [run_push] DEBUG push all version tags [2023-09-28T13:44:04.738Z] 2023-09-28 13:44:04,397 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-28T13:44:04.738Z] 2023-09-28 13:44:04,399 [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-09-28T13:44:05.677Z] 2023-09-28 13:44:05,328 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-28T13:44:05.677Z] 3.1.0-dev.21 [Pipeline] } [2023-09-28T13:44:05.693Z] $ docker exec --env ******** --env ******** 3d65f58b23c9fdd2831a86458e06d50d8f7d0b39014bbe40fec236ea8b5b916f ssh-agent -k [2023-09-28T13:44:05.792Z] unset SSH_AUTH_SOCK; [2023-09-28T13:44:05.793Z] unset SSH_AGENT_PID; [2023-09-28T13:44:05.793Z] echo Agent pid 39 killed; [2023-09-28T13:44:05.795Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-28T13:44:06.093Z] + git semver [Pipeline] } [2023-09-28T13:44:06.374Z] $ docker stop --time=1 3d65f58b23c9fdd2831a86458e06d50d8f7d0b39014bbe40fec236ea8b5b916f [2023-09-28T13:44:07.634Z] $ docker rm -f --volumes 3d65f58b23c9fdd2831a86458e06d50d8f7d0b39014bbe40fec236ea8b5b916f [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-09-28T13:44:08.182Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-09-28T13:44:08.183Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-28T13:44:08.183Z] total 16 [2023-09-28T13:44:08.183Z] drwxr-xr-x 3 root root 4096 Sep 28 13:34 . [2023-09-28T13:44:08.183Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 13:43 .. [2023-09-28T13:44:08.183Z] drwxr-xr-x 2 root root 4096 Sep 28 13:34 cost [2023-09-28T13:44:08.183Z] -rw-r--r-- 1 root root 89 Sep 28 13:34 cost.csv [2023-09-28T13:44:08.183Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-28T13:44:08.183Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-28T13:44:08.183Z] total 16 [2023-09-28T13:44:08.183Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 13:34 . [2023-09-28T13:44:08.183Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 13:43 .. [2023-09-28T13:44:08.183Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 28 13:34 cost [2023-09-28T13:44:08.183Z] -rw-r--r-- 1 jenkins jenkins 89 Sep 28 13:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-28T13:44:08.475Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T13:44:09.334Z] ---> package-listing.sh [2023-09-28T13:44:09.334Z] ++ facter osfamily [2023-09-28T13:44:09.334Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-28T13:44:09.594Z] + OS_FAMILY=debian [2023-09-28T13:44:09.594Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-09-28T13:44:09.594Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-28T13:44:09.594Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-28T13:44:09.594Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-28T13:44:09.594Z] + PACKAGES=/tmp/packages_start.txt [2023-09-28T13:44:09.594Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-09-28T13:44:09.594Z] + PACKAGES=/tmp/packages_end.txt [2023-09-28T13:44:09.594Z] + case "${OS_FAMILY}" in [2023-09-28T13:44:09.594Z] + dpkg -l [2023-09-28T13:44:09.594Z] + grep '^ii' [2023-09-28T13:44:09.594Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-28T13:44:09.594Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-28T13:44:09.594Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-28T13:44:09.594Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-09-28T13:44:09.594Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-09-28T13:44:09.594Z] + 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-09-28T13:44:09.603Z] 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-09-28T13:44:09.880Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T13:44:10.443Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-28T13:44:10.444Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T13:44:10.516Z] prd-ubuntu20.04-docker-8c-8g-8139 does not seem to be running inside a container [2023-09-28T13:44:10.554Z] $ 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-09-28T13:44:10.764Z] $ docker top 2e64f49b9bec90e150d352eda65ed03b7dd493dead1d598834a0a8599726990d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-28T13:44:11.194Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-28T13:44:11.560Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-28T13:44:11.842Z] + ls /var/log/sa-host [2023-09-28T13:44:11.842Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-28T13:44:11.930Z] provisioning config files... [2023-09-28T13:44:11.938Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15694539580633662599tmp [Pipeline] { [Pipeline] echo [2023-09-28T13:44:11.953Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T13:44:12.237Z] ---> create-netrc.sh [Pipeline] } [2023-09-28T13:44:12.244Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-28T13:44:12.578Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-28T13:44:12.587Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T13:44:12.870Z] ---> sudo-logs.sh [2023-09-28T13:44:12.870Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-28T13:44:12.900Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T13:44:13.183Z] ---> job-cost.sh [2023-09-28T13:44:13.183Z] lf-activate-venv: SKIPPING [2023-09-28T13:44:13.184Z] DEBUG: total: 0.2199999988079071 [2023-09-28T13:44:13.184Z] INFO: Retrieving Stack Cost... [2023-09-28T13:44:13.751Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-28T13:44:14.011Z] INFO: Archiving Costs [Pipeline] echo [2023-09-28T13:44:14.022Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T13:44:14.309Z] ---> logs-deploy.sh [2023-09-28T13:44:14.309Z] lf-activate-venv: SKIPPING [2023-09-28T13:44:14.309Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/146 [2023-09-28T13:44:14.309Z] INFO: archiving workspace using pattern(s): [2023-09-28T13:44:15.293Z] Archives upload complete. [2023-09-28T13:44:15.293Z] INFO: archiving logs to Nexus