Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f37031385f16eefedf40f271103157f893ed69f0 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-ssh5354903634927062012.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-ssh4521812825468145585.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-ssh929912669325462065.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-ssh8457138969078138095.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-ssh10131770470315978404.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8471 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 f37031385f16eefedf40f271103157f893ed69f0 (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 f37031385f16eefedf40f271103157f893ed69f0 # timeout=10 Commit message: "Merge pull request #436 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.33" > git rev-list --no-walk 8b8e1bf2b9e06380082507a2409f4790e8b740fe # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-04T12:26:12.761Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-04T12:26:12.817Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-04T12:26:12.836Z] ========================================================= [2023-10-04T12:26:12.836Z] EdgeX Global Pipelines Version Info [2023-10-04T12:26:12.836Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-04T12:26:13.924Z] ------------------- [2023-10-04T12:26:13.924Z] stable info: [2023-10-04T12:26:13.924Z] ------------------- [2023-10-04T12:26:13.924Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-04T12:26:13.924Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-04T12:26:13.924Z] Message: update stable to v1.0.254 [2023-10-04T12:26:14.496Z] ------------------- [2023-10-04T12:26:14.496Z] experimental info: [2023-10-04T12:26:14.496Z] ------------------- [2023-10-04T12:26:14.496Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-04T12:26:14.496Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-04T12:26:14.496Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-04T12:26:14.665Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-10-04T12:26:14.675Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-10-04T12:26:14.687Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-04T12:26:14.699Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-04T12:26:14.714Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-04T12:26:14.725Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-04T12:26:14.739Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-04T12:26:14.750Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-04T12:26:14.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-04T12:26:14.775Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-04T12:26:14.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-04T12:26:14.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-10-04T12:26:14.821Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-04T12:26:14.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-04T12:26:14.860Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-04T12:26:14.873Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-04T12:26:14.889Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-04T12:26:14.903Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-04T12:26:14.914Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-04T12:26:14.929Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-04T12:26:14.948Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-04T12:26:14.967Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-04T12:26:14.985Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-04T12:26:15.003Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-04T12:26:15.023Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-04T12:26:15.040Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-04T12:26:15.054Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-04T12:26:15.070Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-04T12:26:15.090Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-04T12:26:15.111Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-04T12:26:15.130Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f37031385f16eefedf40f271103157f893ed69f0 [Pipeline] echo [2023-10-04T12:26:15.149Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f370313 [Pipeline] echo [2023-10-04T12:26:15.165Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-04T12:26:15.215Z] provisioning config files... [2023-10-04T12:26:15.236Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16581141696412133839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T12:26:15.545Z] ---> docker-login.sh [2023-10-04T12:26:15.545Z] nexus3.edgexfoundry.org:10001 [2023-10-04T12:26:15.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T12:26:15.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T12:26:15.805Z] Configure a credential helper to remove this warning. See [2023-10-04T12:26:15.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T12:26:15.805Z] [2023-10-04T12:26:15.805Z] Login Succeeded [2023-10-04T12:26:15.805Z] nexus3.edgexfoundry.org:10002 [2023-10-04T12:26:15.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T12:26:16.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T12:26:16.066Z] Configure a credential helper to remove this warning. See [2023-10-04T12:26:16.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T12:26:16.066Z] [2023-10-04T12:26:16.066Z] Login Succeeded [2023-10-04T12:26:16.066Z] nexus3.edgexfoundry.org:10003 [2023-10-04T12:26:16.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T12:26:16.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T12:26:16.066Z] Configure a credential helper to remove this warning. See [2023-10-04T12:26:16.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T12:26:16.066Z] [2023-10-04T12:26:16.066Z] Login Succeeded [2023-10-04T12:26:16.066Z] nexus3.edgexfoundry.org:10004 [2023-10-04T12:26:16.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T12:26:16.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T12:26:16.327Z] Configure a credential helper to remove this warning. See [2023-10-04T12:26:16.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T12:26:16.327Z] [2023-10-04T12:26:16.327Z] Login Succeeded [2023-10-04T12:26:16.327Z] docker.io [2023-10-04T12:26:16.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T12:26:16.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T12:26:16.590Z] Configure a credential helper to remove this warning. See [2023-10-04T12:26:16.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T12:26:16.590Z] [2023-10-04T12:26:16.590Z] Login Succeeded [2023-10-04T12:26:16.590Z] ---> docker-login.sh ends [Pipeline] } [2023-10-04T12:26:16.602Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-04T12:26:16.989Z] + git rev-list -1 --merges f37031385f16eefedf40f271103157f893ed69f0~1..f37031385f16eefedf40f271103157f893ed69f0 [Pipeline] echo [2023-10-04T12:26:17.035Z] -----------> git rev-list -1 --merges f37031385f16eefedf40f271103157f893ed69f0~1..f37031385f16eefedf40f271103157f893ed69f0 f37031385f16eefedf40f271103157f893ed69f0 [2023-10-04T12:26:17.035Z] f37031385f16eefedf40f271103157f893ed69f0 [false] [Pipeline] sh [2023-10-04T12:26:17.326Z] + git log --format=format:%s -1 f37031385f16eefedf40f271103157f893ed69f0 [Pipeline] echo [2023-10-04T12:26:17.340Z] ========================================================= [2023-10-04T12:26:17.340Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-04T12:26:17.340Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-04T12:26:17.688Z] + git log --format=format:%s -1 f37031385f16eefedf40f271103157f893ed69f0 [Pipeline] echo [2023-10-04T12:26:17.699Z] [semverPrep] GIT_COMMIT: f37031385f16eefedf40f271103157f893ed69f0, Commit Message: Merge pull request #436 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.33 [Pipeline] echo [2023-10-04T12:26:17.710Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-04T12:26:18.093Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-04T12:26:18.093Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-04T12:26:18.093Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-04T12:26:18.093Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-04T12:26:18.093Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-04T12:26:18.093Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-04T12:26:18.093Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:26:18.507Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T12:26:18.507Z] [2023-10-04T12:26:18.507Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:26:18.807Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T12:26:18.807Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-04T12:26:18.807Z] b85a868b505f: Pulling fs layer [2023-10-04T12:26:18.807Z] e2be974225ed: Pulling fs layer [2023-10-04T12:26:18.807Z] 339a4e72a1f5: Pulling fs layer [2023-10-04T12:26:18.807Z] 988bab9f4d93: Pulling fs layer [2023-10-04T12:26:18.807Z] 1469e6f7b9e6: Pulling fs layer [2023-10-04T12:26:18.807Z] eaf3925da568: Pulling fs layer [2023-10-04T12:26:18.807Z] bab4dde63d76: Pulling fs layer [2023-10-04T12:26:18.807Z] bde34c3a00c8: Pulling fs layer [2023-10-04T12:26:18.807Z] b352a97aabf1: Pulling fs layer [2023-10-04T12:26:18.807Z] 4872d77fe225: Pulling fs layer [2023-10-04T12:26:18.807Z] 5851b861e8e6: Pulling fs layer [2023-10-04T12:26:18.807Z] bab4dde63d76: Waiting [2023-10-04T12:26:18.807Z] bde34c3a00c8: Waiting [2023-10-04T12:26:18.807Z] b352a97aabf1: Waiting [2023-10-04T12:26:18.807Z] 4872d77fe225: Waiting [2023-10-04T12:26:18.807Z] 5851b861e8e6: Waiting [2023-10-04T12:26:18.807Z] 988bab9f4d93: Waiting [2023-10-04T12:26:18.807Z] 1469e6f7b9e6: Waiting [2023-10-04T12:26:18.807Z] eaf3925da568: Waiting [2023-10-04T12:26:18.807Z] e2be974225ed: Download complete [2023-10-04T12:26:18.807Z] 988bab9f4d93: Download complete [2023-10-04T12:26:19.068Z] 1469e6f7b9e6: Verifying Checksum [2023-10-04T12:26:19.068Z] 1469e6f7b9e6: Download complete [2023-10-04T12:26:19.068Z] 339a4e72a1f5: Verifying Checksum [2023-10-04T12:26:19.068Z] 339a4e72a1f5: Download complete [2023-10-04T12:26:19.068Z] eaf3925da568: Verifying Checksum [2023-10-04T12:26:19.068Z] eaf3925da568: Download complete [2023-10-04T12:26:19.068Z] bde34c3a00c8: Verifying Checksum [2023-10-04T12:26:19.068Z] bde34c3a00c8: Download complete [2023-10-04T12:26:19.068Z] b352a97aabf1: Verifying Checksum [2023-10-04T12:26:19.068Z] b352a97aabf1: Download complete [2023-10-04T12:26:19.068Z] 4872d77fe225: Verifying Checksum [2023-10-04T12:26:19.068Z] 4872d77fe225: Download complete [2023-10-04T12:26:19.068Z] 5851b861e8e6: Download complete [2023-10-04T12:26:19.068Z] b85a868b505f: Download complete [2023-10-04T12:26:19.327Z] bab4dde63d76: Verifying Checksum [2023-10-04T12:26:19.327Z] bab4dde63d76: Download complete [2023-10-04T12:26:20.264Z] b85a868b505f: Pull complete [2023-10-04T12:26:20.524Z] e2be974225ed: Pull complete [2023-10-04T12:26:21.091Z] 339a4e72a1f5: Pull complete [2023-10-04T12:26:21.091Z] 988bab9f4d93: Pull complete [2023-10-04T12:26:21.351Z] 1469e6f7b9e6: Pull complete [2023-10-04T12:26:21.351Z] eaf3925da568: Pull complete [2023-10-04T12:26:23.262Z] bab4dde63d76: Pull complete [2023-10-04T12:26:23.262Z] bde34c3a00c8: Pull complete [2023-10-04T12:26:23.262Z] b352a97aabf1: Pull complete [2023-10-04T12:26:23.523Z] 4872d77fe225: Pull complete [2023-10-04T12:26:23.523Z] 5851b861e8e6: Pull complete [2023-10-04T12:26:23.523Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-04T12:26:23.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T12:26:23.523Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T12:26:23.626Z] prd-ubuntu20.04-docker-8c-8g-8471 does not seem to be running inside a container [2023-10-04T12:26:23.664Z] $ 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-10-04T12:26:24.764Z] $ docker top 5c7d70a6fe121f0316c56522c9e7a46de4a4bc4f29279f06b7cff330a4336859 -eo pid,comm [2023-10-04T12:26:24.821Z] 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-10-04T12:26:24.821Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-04T12:26:24.862Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-04T12:26:24.862Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-04T12:26:24.982Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-04T12:26:24.990Z] $ docker exec 5c7d70a6fe121f0316c56522c9e7a46de4a4bc4f29279f06b7cff330a4336859 ssh-agent [2023-10-04T12:26:25.103Z] SSH_AUTH_SOCK=/tmp/ssh-K0Rb4D2UzXHR/agent.32 [2023-10-04T12:26:25.103Z] SSH_AGENT_PID=38 [2023-10-04T12:26:25.109Z] Running ssh-add (command line suppressed) [2023-10-04T12:26:25.209Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1263778243970025212.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1263778243970025212.key) [2023-10-04T12:26:25.222Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-04T12:26:25.510Z] + git tag --points-at HEAD [Pipeline] } [2023-10-04T12:26:25.534Z] $ docker exec --env ******** --env ******** 5c7d70a6fe121f0316c56522c9e7a46de4a4bc4f29279f06b7cff330a4336859 ssh-agent -k [2023-10-04T12:26:25.626Z] unset SSH_AUTH_SOCK; [2023-10-04T12:26:25.627Z] unset SSH_AGENT_PID; [2023-10-04T12:26:25.629Z] echo Agent pid 38 killed; [2023-10-04T12:26:25.636Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-04T12:26:25.666Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-04T12:26:25.666Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-04T12:26:25.802Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-04T12:26:25.809Z] $ docker exec 5c7d70a6fe121f0316c56522c9e7a46de4a4bc4f29279f06b7cff330a4336859 ssh-agent [2023-10-04T12:26:25.916Z] SSH_AUTH_SOCK=/tmp/ssh-LyM0wLOEqXFY/agent.70 [2023-10-04T12:26:25.916Z] SSH_AGENT_PID=76 [2023-10-04T12:26:25.921Z] Running ssh-add (command line suppressed) [2023-10-04T12:26:26.031Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11191424992747617071.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11191424992747617071.key) [2023-10-04T12:26:26.038Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-04T12:26:26.326Z] + git semver init [2023-10-04T12:26:26.597Z] 2023-10-04 12:26:26,520 [run_init] DEBUG init version:0.0.0 force:False [2023-10-04T12:26:26.597Z] 2023-10-04 12:26:26,520 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-10-04T12:26:26.597Z] 2023-10-04 12:26:26,521 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-10-04T12:26:26.597Z] 2023-10-04 12:26:26,521 [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-10-04T12:26:27.981Z] 2023-10-04 12:26:27,613 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-10-04T12:26:27.981Z] 2023-10-04 12:26:27,613 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-10-04T12:26:27.981Z] 2023-10-04 12:26:27,614 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-04T12:26:27.981Z] 2023-10-04 12:26:27,614 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-04T12:26:27.981Z] 3.1.0-dev.21 [Pipeline] } [2023-10-04T12:26:27.995Z] $ docker exec --env ******** --env ******** 5c7d70a6fe121f0316c56522c9e7a46de4a4bc4f29279f06b7cff330a4336859 ssh-agent -k [2023-10-04T12:26:28.081Z] unset SSH_AUTH_SOCK; [2023-10-04T12:26:28.082Z] unset SSH_AGENT_PID; [2023-10-04T12:26:28.083Z] echo Agent pid 76 killed; [2023-10-04T12:26:28.092Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-04T12:26:28.397Z] + git semver [Pipeline] } [2023-10-04T12:26:28.674Z] $ docker stop --time=1 5c7d70a6fe121f0316c56522c9e7a46de4a4bc4f29279f06b7cff330a4336859 [2023-10-04T12:26:29.994Z] $ docker rm -f --volumes 5c7d70a6fe121f0316c56522c9e7a46de4a4bc4f29279f06b7cff330a4336859 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-04T12:26:30.334Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-04T12:26:30.555Z] Stashed 1 file(s) [Pipeline] echo [2023-10-04T12:26:30.557Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.21 [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-10-04T12:26:30.684Z] provisioning config files... [2023-10-04T12:26:30.693Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14765077019866073012tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T12:26:30.990Z] ---> docker-login.sh [2023-10-04T12:26:30.990Z] nexus3.edgexfoundry.org:10001 [2023-10-04T12:26:30.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T12:26:30.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T12:26:30.990Z] Configure a credential helper to remove this warning. See [2023-10-04T12:26:30.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T12:26:30.990Z] [2023-10-04T12:26:30.990Z] Login Succeeded [2023-10-04T12:26:30.990Z] nexus3.edgexfoundry.org:10002 [2023-10-04T12:26:30.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T12:26:30.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T12:26:30.990Z] Configure a credential helper to remove this warning. See [2023-10-04T12:26:30.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T12:26:30.990Z] [2023-10-04T12:26:30.990Z] Login Succeeded [2023-10-04T12:26:31.250Z] nexus3.edgexfoundry.org:10003 [2023-10-04T12:26:31.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T12:26:31.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T12:26:31.250Z] Configure a credential helper to remove this warning. See [2023-10-04T12:26:31.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T12:26:31.250Z] [2023-10-04T12:26:31.250Z] Login Succeeded [2023-10-04T12:26:31.250Z] nexus3.edgexfoundry.org:10004 [2023-10-04T12:26:31.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T12:26:31.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T12:26:31.250Z] Configure a credential helper to remove this warning. See [2023-10-04T12:26:31.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T12:26:31.250Z] [2023-10-04T12:26:31.250Z] Login Succeeded [2023-10-04T12:26:31.250Z] docker.io [2023-10-04T12:26:31.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T12:26:31.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T12:26:31.771Z] Configure a credential helper to remove this warning. See [2023-10-04T12:26:31.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T12:26:31.771Z] [2023-10-04T12:26:31.771Z] Login Succeeded [2023-10-04T12:26:31.771Z] ---> docker-login.sh ends [Pipeline] } [2023-10-04T12:26:31.779Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-04T12:26:31.836Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T12:26:31.850Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T12:26:31.857Z] ========================================================= [2023-10-04T12:26:31.857Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-04T12:26:31.857Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:26:32.160Z] + 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-10-04T12:26:32.160Z] Sending build context to Docker daemon 23.67MB [2023-10-04T12:26:32.160Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-04T12:26:32.160Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-04T12:26:32.160Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-04T12:26:32.160Z] 7264a8db6415: Pulling fs layer [2023-10-04T12:26:32.160Z] c4d48a809fc2: Pulling fs layer [2023-10-04T12:26:32.160Z] 4f1c88b9dad5: Pulling fs layer [2023-10-04T12:26:32.160Z] ad3a456e5733: Pulling fs layer [2023-10-04T12:26:32.160Z] 33e27b845d1e: Pulling fs layer [2023-10-04T12:26:32.421Z] c68163c4e522: Pulling fs layer [2023-10-04T12:26:32.421Z] 50da416c3ac9: Pulling fs layer [2023-10-04T12:26:32.421Z] 23d2d4c4bb30: Pulling fs layer [2023-10-04T12:26:32.421Z] 33e27b845d1e: Waiting [2023-10-04T12:26:32.421Z] c68163c4e522: Waiting [2023-10-04T12:26:32.421Z] 50da416c3ac9: Waiting [2023-10-04T12:26:32.421Z] ad3a456e5733: Waiting [2023-10-04T12:26:32.421Z] 23d2d4c4bb30: Waiting [2023-10-04T12:26:32.421Z] c4d48a809fc2: Download complete [2023-10-04T12:26:32.421Z] ad3a456e5733: Verifying Checksum [2023-10-04T12:26:32.421Z] ad3a456e5733: Download complete [2023-10-04T12:26:32.421Z] 33e27b845d1e: Download complete [2023-10-04T12:26:32.421Z] 7264a8db6415: Verifying Checksum [2023-10-04T12:26:32.421Z] 7264a8db6415: Download complete [2023-10-04T12:26:32.421Z] c68163c4e522: Verifying Checksum [2023-10-04T12:26:32.421Z] c68163c4e522: Download complete [2023-10-04T12:26:32.421Z] 7264a8db6415: Pull complete [2023-10-04T12:26:32.688Z] c4d48a809fc2: Pull complete [2023-10-04T12:26:32.688Z] 23d2d4c4bb30: Verifying Checksum [2023-10-04T12:26:32.688Z] 23d2d4c4bb30: Download complete [2023-10-04T12:26:32.688Z] 4f1c88b9dad5: Download complete [2023-10-04T12:26:33.271Z] 50da416c3ac9: Verifying Checksum [2023-10-04T12:26:33.271Z] 50da416c3ac9: Download complete [2023-10-04T12:26:36.556Z] 4f1c88b9dad5: Pull complete [2023-10-04T12:26:36.556Z] ad3a456e5733: Pull complete [2023-10-04T12:26:36.556Z] 33e27b845d1e: Pull complete [2023-10-04T12:26:36.556Z] c68163c4e522: Pull complete [2023-10-04T12:26:39.090Z] 50da416c3ac9: Pull complete [2023-10-04T12:26:39.349Z] 23d2d4c4bb30: Pull complete [2023-10-04T12:26:39.349Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-04T12:26:39.349Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-04T12:26:39.349Z] ---> 0786185ac409 [2023-10-04T12:26:39.349Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-04T12:26:40.727Z] ---> Running in 426b89240ab3 [2023-10-04T12:26:40.727Z] Removing intermediate container 426b89240ab3 [2023-10-04T12:26:40.727Z] ---> 739e8b3fed19 [2023-10-04T12:26:40.727Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-04T12:26:40.727Z] ---> Running in 43470ec6da27 [2023-10-04T12:26:40.727Z] Removing intermediate container 43470ec6da27 [2023-10-04T12:26:40.727Z] ---> e8659a09dc15 [2023-10-04T12:26:40.727Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-10-04T12:26:40.727Z] ---> Running in 54c0dfaafac2 [2023-10-04T12:26:40.727Z] Removing intermediate container 54c0dfaafac2 [2023-10-04T12:26:40.727Z] ---> 2d4e7c5ff3e2 [2023-10-04T12:26:40.727Z] Step 6/12 : WORKDIR /device-virtual-go [2023-10-04T12:26:40.727Z] ---> Running in f76f02003b15 [2023-10-04T12:26:40.987Z] Removing intermediate container f76f02003b15 [2023-10-04T12:26:40.987Z] ---> fa1862afe819 [2023-10-04T12:26:40.987Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-04T12:26:40.987Z] ---> Running in 5ef79797ea02 [2023-10-04T12:26:41.246Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-04T12:26:41.246Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-04T12:26:41.505Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-04T12:26:41.505Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-04T12:26:41.505Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-04T12:26:41.505Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-04T12:26:41.505Z] Executing busybox-1.36.1-r2.trigger [2023-10-04T12:26:41.505Z] OK: 268 MiB in 56 packages [2023-10-04T12:26:42.072Z] Removing intermediate container 5ef79797ea02 [2023-10-04T12:26:42.072Z] ---> 0f8d2e84a5f2 [2023-10-04T12:26:42.072Z] Step 8/12 : COPY go.mod vendor* ./ [2023-10-04T12:26:42.072Z] ---> ca12fa4daac6 [2023-10-04T12:26:42.072Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-04T12:26:42.072Z] ---> Running in c31093dd8434 [2023-10-04T12:26:45.652Z] Still waiting to schedule task [2023-10-04T12:26:45.652Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-04T12:27:28.762Z] Removing intermediate container c31093dd8434 [2023-10-04T12:27:28.762Z] ---> 3437d87e1b18 [2023-10-04T12:27:28.762Z] Step 10/12 : COPY . . [2023-10-04T12:27:28.762Z] ---> 4662581a3dbc [2023-10-04T12:27:28.762Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-04T12:27:28.762Z] ---> Running in af6413bcf2e4 [2023-10-04T12:27:28.762Z] Removing intermediate container af6413bcf2e4 [2023-10-04T12:27:28.762Z] ---> d2cc3f75a112 [2023-10-04T12:27:28.762Z] Step 12/12 : RUN $MAKE [2023-10-04T12:27:28.762Z] ---> Running in 8f0dacbb46dd [2023-10-04T12:27:28.762Z] noop [2023-10-04T12:27:28.762Z] Removing intermediate container 8f0dacbb46dd [2023-10-04T12:27:28.762Z] ---> 6a3a8674914e [2023-10-04T12:27:28.762Z] Successfully built 6a3a8674914e [2023-10-04T12:27:28.762Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:27:29.069Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-04T12:27:29.069Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T12:27:29.138Z] prd-ubuntu20.04-docker-8c-8g-8471 does not seem to be running inside a container [2023-10-04T12:27:29.169Z] $ 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-10-04T12:27:29.525Z] $ docker top 2685054a052d31c1570b76280eaa6b72a9564c67348e8dee11a651ff9be3d58c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T12:27:29.870Z] + go version [2023-10-04T12:27:29.870Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-04T12:27:29.884Z] $ docker stop --time=1 2685054a052d31c1570b76280eaa6b72a9564c67348e8dee11a651ff9be3d58c [2023-10-04T12:27:31.177Z] $ docker rm -f --volumes 2685054a052d31c1570b76280eaa6b72a9564c67348e8dee11a651ff9be3d58c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:27:31.583Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-04T12:27:31.583Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T12:27:31.651Z] prd-ubuntu20.04-docker-8c-8g-8471 does not seem to be running inside a container [2023-10-04T12:27:31.684Z] $ 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-10-04T12:27:32.066Z] $ docker top 90d74a1879a4eb394d2a87f9f903d0274597e1a2bdbc6d91446cc7918096b6f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T12:27:32.418Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-10-04T12:27:32.718Z] + make test [2023-10-04T12:27:32.718Z] go test ./... -coverprofile=coverage.out [2023-10-04T12:27:33.653Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-10-04T12:27:44.799Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-10-04T12:27:44.799Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.018s coverage: 58.6% of statements [2023-10-04T12:27:51.349Z] go vet ./... [2023-10-04T12:27:55.539Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-04T12:27:55.539Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-04T12:27:55.539Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-04T12:27:55.550Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-04T12:27:55.568Z] $ docker stop --time=1 90d74a1879a4eb394d2a87f9f903d0274597e1a2bdbc6d91446cc7918096b6f4 [2023-10-04T12:28:00.883Z] $ docker rm -f --volumes 90d74a1879a4eb394d2a87f9f903d0274597e1a2bdbc6d91446cc7918096b6f4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-04T12:28:01.385Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-04T12:28:01.433Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-04T12:28:01.926Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-04T12:28:02.208Z] + ls -al . [2023-10-04T12:28:02.208Z] total 204 [2023-10-04T12:28:02.208Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 12:27 . [2023-10-04T12:28:02.208Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 12:26 .. [2023-10-04T12:28:02.208Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 12:27 .git [2023-10-04T12:28:02.208Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 12:26 .github [2023-10-04T12:28:02.208Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 4 12:26 .gitignore [2023-10-04T12:28:02.208Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 12:26 .golangci.yml [2023-10-04T12:28:02.208Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 12:26 .semver [2023-10-04T12:28:02.208Z] -rw-rw-r-- 1 jenkins jenkins 9708 Oct 4 12:26 Attribution.txt [2023-10-04T12:28:02.208Z] -rw-rw-r-- 1 jenkins jenkins 14372 Oct 4 12:26 CHANGELOG.md [2023-10-04T12:28:02.208Z] -rw-rw-r-- 1 jenkins jenkins 1646 Oct 4 12:26 Dockerfile [2023-10-04T12:28:02.208Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 12:26 GOVERNANCE.md [2023-10-04T12:28:02.208Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 4 12:26 Jenkinsfile [2023-10-04T12:28:02.208Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 12:26 LICENSE [2023-10-04T12:28:02.208Z] -rw-rw-r-- 1 jenkins jenkins 1947 Oct 4 12:26 Makefile [2023-10-04T12:28:02.208Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 4 12:26 OWNERS.md [2023-10-04T12:28:02.208Z] -rw-rw-r-- 1 jenkins jenkins 4111 Oct 4 12:26 README.md [2023-10-04T12:28:02.208Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 4 12:26 VERSION [2023-10-04T12:28:02.208Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 12:26 bin [2023-10-04T12:28:02.208Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 12:26 cmd [2023-10-04T12:28:02.208Z] -rw-r--r-- 1 jenkins jenkins 43063 Oct 4 12:27 coverage.out [2023-10-04T12:28:02.208Z] -rw-rw-r-- 1 jenkins jenkins 3637 Oct 4 12:26 go.mod [2023-10-04T12:28:02.208Z] -rw-rw-r-- 1 jenkins jenkins 35019 Oct 4 12:26 go.sum [2023-10-04T12:28:02.208Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 12:26 internal [2023-10-04T12:28:02.208Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 12:26 snap [2023-10-04T12:28:02.208Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 4 12:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:28:02.511Z] + 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=f37031385f16eefedf40f271103157f893ed69f0 --label arch=amd64 --label version=3.1.0-dev.21 . [2023-10-04T12:28:02.512Z] Sending build context to Docker daemon 23.71MB [2023-10-04T12:28:02.512Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-04T12:28:02.512Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-04T12:28:02.512Z] ---> 6a3a8674914e [2023-10-04T12:28:02.512Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-04T12:28:03.446Z] ---> Running in 9b146355b5be [2023-10-04T12:28:03.446Z] Removing intermediate container 9b146355b5be [2023-10-04T12:28:03.446Z] ---> 4ac08b2ece25 [2023-10-04T12:28:03.446Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-04T12:28:03.446Z] ---> Running in cb3c82248330 [2023-10-04T12:28:03.446Z] Removing intermediate container cb3c82248330 [2023-10-04T12:28:03.446Z] ---> 781a1a90073b [2023-10-04T12:28:03.446Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-10-04T12:28:03.446Z] ---> Running in c60a42cd33fd [2023-10-04T12:28:03.706Z] Removing intermediate container c60a42cd33fd [2023-10-04T12:28:03.706Z] ---> f847be51cbe7 [2023-10-04T12:28:03.706Z] Step 6/25 : WORKDIR /device-virtual-go [2023-10-04T12:28:03.706Z] ---> Running in c460f857b3ac [2023-10-04T12:28:03.706Z] Removing intermediate container c460f857b3ac [2023-10-04T12:28:03.706Z] ---> a0aa8c92121f [2023-10-04T12:28:03.706Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-04T12:28:03.706Z] ---> Running in 0159f58af84a [2023-10-04T12:28:03.965Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-04T12:28:04.225Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-04T12:28:04.225Z] OK: 268 MiB in 56 packages [2023-10-04T12:28:04.794Z] Removing intermediate container 0159f58af84a [2023-10-04T12:28:04.794Z] ---> f4a59c8c5669 [2023-10-04T12:28:04.794Z] Step 8/25 : COPY go.mod vendor* ./ [2023-10-04T12:28:04.794Z] ---> a02b75331ed9 [2023-10-04T12:28:04.794Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-04T12:28:04.794Z] ---> Running in 4697845f9708 [2023-10-04T12:28:05.732Z] Removing intermediate container 4697845f9708 [2023-10-04T12:28:05.732Z] ---> e7eff11b7c91 [2023-10-04T12:28:05.732Z] Step 10/25 : COPY . . [2023-10-04T12:28:06.669Z] ---> 5c3bee817881 [2023-10-04T12:28:06.669Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-04T12:28:06.669Z] ---> Running in fe361a08f1b1 [2023-10-04T12:28:06.927Z] Removing intermediate container fe361a08f1b1 [2023-10-04T12:28:06.927Z] ---> 5374783999a8 [2023-10-04T12:28:06.927Z] Step 12/25 : RUN $MAKE [2023-10-04T12:28:07.189Z] ---> Running in 658f1f2565e2 [2023-10-04T12:28:07.449Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.33" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-10-04T12:28:22.495Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8472 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-10-04T12:28:22.508Z] Running in /w/workspace/device-virtual-go/147 [Pipeline] { [Pipeline] checkout [2023-10-04T12:28:22.576Z] The recommended git tool is: git [2023-10-04T12:28:27.418Z] using credential edgex-jenkins-ssh [2023-10-04T12:28:27.439Z] Cloning the remote Git repository [2023-10-04T12:28:27.480Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-10-04T12:28:27.568Z] > git init /w/workspace/device-virtual-go/147 # timeout=10 [2023-10-04T12:28:27.723Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-10-04T12:28:27.724Z] > git --version # timeout=10 [2023-10-04T12:28:27.742Z] > git --version # 'git version 2.25.1' [2023-10-04T12:28:27.745Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-04T12:28:27.891Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-04T12:28:29.918Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-10-04T12:28:29.936Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-04T12:28:30.715Z] Avoid second fetch [2023-10-04T12:28:30.715Z] Checking out Revision f37031385f16eefedf40f271103157f893ed69f0 (main) [2023-10-04T12:28:31.221Z] Commit message: "Merge pull request #436 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.33" [2023-10-04T12:28:30.729Z] > git config core.sparsecheckout # timeout=10 [2023-10-04T12:28:30.790Z] > git checkout -f f37031385f16eefedf40f271103157f893ed69f0 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-04T12:28:32.127Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-04T12:28:32.127Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-04T12:28:32.127Z] Dload Upload Total Spent Left Speed [2023-10-04T12:28:32.127Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12751 86 11015 0 0 84730 0 --:--:-- --:--:-- --:--:-- 84083 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh [2023-10-04T12:28:32.760Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-04T12:28:33.091Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-04T12:28:33.091Z] + sudo tee /etc/docker/daemon.new [2023-10-04T12:28:33.091Z] { [2023-10-04T12:28:33.091Z] "registry-mirrors": [ [2023-10-04T12:28:33.091Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-04T12:28:33.091Z] ], [2023-10-04T12:28:33.091Z] "bip": "10.250.0.254/24", [2023-10-04T12:28:33.091Z] "hosts": [ [2023-10-04T12:28:33.091Z] "tcp://0.0.0.0:5555", [2023-10-04T12:28:33.091Z] "unix:///var/run/docker.sock" [2023-10-04T12:28:33.091Z] ], [2023-10-04T12:28:33.091Z] "mtu": 1458, [2023-10-04T12:28:33.091Z] "selinux-enabled": true, [2023-10-04T12:28:33.091Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-04T12:28:33.091Z] } [Pipeline] sh [2023-10-04T12:28:33.423Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-04T12:28:33.761Z] + sudo service docker restart [2023-10-04T12:28:34.477Z] Removing intermediate container 658f1f2565e2 [2023-10-04T12:28:34.477Z] ---> e5992dea9ffa [2023-10-04T12:28:34.477Z] Step 13/25 : FROM alpine:3.18 [2023-10-04T12:28:34.477Z] 3.18: Pulling from library/alpine [2023-10-04T12:28:34.477Z] 96526aa774ef: Pulling fs layer [2023-10-04T12:28:34.477Z] 96526aa774ef: Verifying Checksum [2023-10-04T12:28:34.477Z] 96526aa774ef: Download complete [2023-10-04T12:28:34.477Z] 96526aa774ef: Pull complete [2023-10-04T12:28:34.477Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-04T12:28:34.477Z] Status: Downloaded newer image for alpine:3.18 [2023-10-04T12:28:34.477Z] ---> 8ca4688f4f35 [2023-10-04T12:28:34.477Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-10-04T12:28:34.477Z] ---> Running in 3eb57fc9f04a [2023-10-04T12:28:34.477Z] Removing intermediate container 3eb57fc9f04a [2023-10-04T12:28:34.477Z] ---> 6342334c65e9 [2023-10-04T12:28:34.477Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-10-04T12:28:34.477Z] ---> Running in 29fca819b803 [2023-10-04T12:28:34.477Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-04T12:28:34.477Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-04T12:28:34.477Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-04T12:28:34.477Z] Executing busybox-1.36.1-r2.trigger [2023-10-04T12:28:34.477Z] OK: 7 MiB in 16 packages [2023-10-04T12:28:34.477Z] Removing intermediate container 29fca819b803 [2023-10-04T12:28:34.477Z] ---> 42879cd94b65 [2023-10-04T12:28:34.477Z] Step 16/25 : WORKDIR / [2023-10-04T12:28:34.477Z] ---> Running in 18f8ac5880c1 [2023-10-04T12:28:34.477Z] Removing intermediate container 18f8ac5880c1 [2023-10-04T12:28:34.477Z] ---> fcd71581ff8e [2023-10-04T12:28:34.477Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-10-04T12:28:34.477Z] ---> 6f8fde56c4c7 [2023-10-04T12:28:34.477Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-10-04T12:28:34.477Z] ---> 7e02dae1dffb [2023-10-04T12:28:34.477Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-10-04T12:28:35.413Z] ---> fa1489a98421 [2023-10-04T12:28:35.413Z] Step 20/25 : EXPOSE 59900 [2023-10-04T12:28:35.413Z] ---> Running in b1b74b5403de [2023-10-04T12:28:35.413Z] Removing intermediate container b1b74b5403de [2023-10-04T12:28:35.413Z] ---> 96018c791662 [2023-10-04T12:28:35.413Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-10-04T12:28:35.413Z] ---> Running in 31ea6fc33f4f [2023-10-04T12:28:35.674Z] Removing intermediate container 31ea6fc33f4f [2023-10-04T12:28:35.674Z] ---> 8ab92aa05a18 [2023-10-04T12:28:35.674Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-04T12:28:35.674Z] ---> Running in 4982bc5b651e [2023-10-04T12:28:35.674Z] Removing intermediate container 4982bc5b651e [2023-10-04T12:28:35.674Z] ---> 01194217b2b4 [2023-10-04T12:28:35.674Z] Step 23/25 : LABEL arch=amd64 [2023-10-04T12:28:35.674Z] ---> Running in d3d0c37d14c0 [2023-10-04T12:28:35.674Z] Removing intermediate container d3d0c37d14c0 [2023-10-04T12:28:35.674Z] ---> c1502a1c4640 [2023-10-04T12:28:35.674Z] Step 24/25 : LABEL git_sha=f37031385f16eefedf40f271103157f893ed69f0 [2023-10-04T12:28:35.674Z] ---> Running in 15942228e247 [2023-10-04T12:28:35.978Z] Removing intermediate container 15942228e247 [2023-10-04T12:28:35.978Z] ---> d9ccf46a3d07 [2023-10-04T12:28:35.978Z] Step 25/25 : LABEL version=3.1.0-dev.21 [2023-10-04T12:28:35.978Z] ---> Running in 285510413dd3 [2023-10-04T12:28:35.978Z] Removing intermediate container 285510413dd3 [2023-10-04T12:28:35.978Z] ---> 7d25af1b6398 [2023-10-04T12:28:35.978Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-04T12:28:35.978Z] Successfully built 7d25af1b6398 [2023-10-04T12:28:35.978Z] 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-10-04T12:28:36.096Z] provisioning config files... [2023-10-04T12:28:36.110Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config18436073506604837447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T12:28:36.433Z] ---> docker-login.sh [2023-10-04T12:28:36.433Z] nexus3.edgexfoundry.org:10001 [2023-10-04T12:28:36.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T12:28:36.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T12:28:36.433Z] Configure a credential helper to remove this warning. See [2023-10-04T12:28:36.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T12:28:36.433Z] [2023-10-04T12:28:36.433Z] Login Succeeded [2023-10-04T12:28:36.433Z] nexus3.edgexfoundry.org:10002 [2023-10-04T12:28:36.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T12:28:36.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T12:28:36.705Z] Configure a credential helper to remove this warning. See [2023-10-04T12:28:36.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T12:28:36.705Z] [2023-10-04T12:28:36.705Z] Login Succeeded [2023-10-04T12:28:36.705Z] nexus3.edgexfoundry.org:10003 [2023-10-04T12:28:36.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T12:28:36.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T12:28:36.705Z] Configure a credential helper to remove this warning. See [2023-10-04T12:28:36.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T12:28:36.705Z] [2023-10-04T12:28:36.705Z] Login Succeeded [2023-10-04T12:28:36.705Z] nexus3.edgexfoundry.org:10004 [2023-10-04T12:28:36.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T12:28:36.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T12:28:36.966Z] Configure a credential helper to remove this warning. See [2023-10-04T12:28:36.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T12:28:36.966Z] [2023-10-04T12:28:36.966Z] Login Succeeded [2023-10-04T12:28:36.966Z] docker.io [2023-10-04T12:28:36.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T12:28:37.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T12:28:37.225Z] Configure a credential helper to remove this warning. See [2023-10-04T12:28:37.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T12:28:37.225Z] [2023-10-04T12:28:37.225Z] Login Succeeded [2023-10-04T12:28:37.225Z] ---> docker-login.sh ends [Pipeline] } [2023-10-04T12:28:37.232Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-04T12:28:37.263Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T12:28:37.287Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-10-04T12:28:37.287Z] f37031385f16eefedf40f271103157f893ed69f0 [2023-10-04T12:28:37.287Z] latest [2023-10-04T12:28:37.287Z] 3.1.0-dev.21 [2023-10-04T12:28:37.287Z] f37031385f16eefedf40f271103157f893ed69f0-3.1.0-dev.21 [2023-10-04T12:28:37.287Z] main [2023-10-04T12:28:37.287Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:28:37.598Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:f37031385f16eefedf40f271103157f893ed69f0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:28:37.900Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:f37031385f16eefedf40f271103157f893ed69f0 [2023-10-04T12:28:37.901Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-10-04T12:28:37.901Z] 7e55b80e72e7: Preparing [2023-10-04T12:28:37.901Z] 753156483cfc: Preparing [2023-10-04T12:28:37.901Z] d43e643e398e: Preparing [2023-10-04T12:28:37.901Z] 75e5414ff609: Preparing [2023-10-04T12:28:37.901Z] cc2447e1835a: Preparing [2023-10-04T12:28:37.901Z] cc2447e1835a: Layer already exists [2023-10-04T12:28:38.160Z] 753156483cfc: Pushed [2023-10-04T12:28:38.160Z] 75e5414ff609: Pushed [2023-10-04T12:28:38.160Z] d43e643e398e: Pushed [2023-10-04T12:28:40.694Z] 7e55b80e72e7: Pushed [2023-10-04T12:28:40.952Z] f37031385f16eefedf40f271103157f893ed69f0: digest: sha256:7d568d83f7474f2b28dacf40572d5d0a0cb618c038cc2bdb54212357d2c25fe9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:28:41.259Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:28:41.561Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-10-04T12:28:41.561Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-10-04T12:28:41.561Z] 7e55b80e72e7: Preparing [2023-10-04T12:28:41.561Z] 753156483cfc: Preparing [2023-10-04T12:28:41.561Z] d43e643e398e: Preparing [2023-10-04T12:28:41.561Z] 75e5414ff609: Preparing [2023-10-04T12:28:41.561Z] cc2447e1835a: Preparing [2023-10-04T12:28:41.561Z] 75e5414ff609: Layer already exists [2023-10-04T12:28:41.561Z] 7e55b80e72e7: Layer already exists [2023-10-04T12:28:41.561Z] d43e643e398e: Layer already exists [2023-10-04T12:28:41.561Z] 753156483cfc: Layer already exists [2023-10-04T12:28:41.561Z] cc2447e1835a: Layer already exists [2023-10-04T12:28:41.561Z] latest: digest: sha256:7d568d83f7474f2b28dacf40572d5d0a0cb618c038cc2bdb54212357d2c25fe9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:28:41.868Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:28:42.176Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.21 [2023-10-04T12:28:42.176Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-10-04T12:28:42.176Z] 7e55b80e72e7: Preparing [2023-10-04T12:28:42.176Z] 753156483cfc: Preparing [2023-10-04T12:28:42.176Z] d43e643e398e: Preparing [2023-10-04T12:28:42.176Z] 75e5414ff609: Preparing [2023-10-04T12:28:42.176Z] cc2447e1835a: Preparing [2023-10-04T12:28:42.176Z] d43e643e398e: Layer already exists [2023-10-04T12:28:42.176Z] 753156483cfc: Layer already exists [2023-10-04T12:28:42.176Z] 75e5414ff609: Layer already exists [2023-10-04T12:28:42.176Z] 7e55b80e72e7: Layer already exists [2023-10-04T12:28:42.176Z] cc2447e1835a: Layer already exists [2023-10-04T12:28:42.176Z] 3.1.0-dev.21: digest: sha256:7d568d83f7474f2b28dacf40572d5d0a0cb618c038cc2bdb54212357d2c25fe9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:28:42.486Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:f37031385f16eefedf40f271103157f893ed69f0-3.1.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:28:42.789Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:f37031385f16eefedf40f271103157f893ed69f0-3.1.0-dev.21 [2023-10-04T12:28:42.789Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-10-04T12:28:42.789Z] 7e55b80e72e7: Preparing [2023-10-04T12:28:42.789Z] 753156483cfc: Preparing [2023-10-04T12:28:42.789Z] d43e643e398e: Preparing [2023-10-04T12:28:42.789Z] 75e5414ff609: Preparing [2023-10-04T12:28:42.789Z] cc2447e1835a: Preparing [2023-10-04T12:28:42.789Z] d43e643e398e: Layer already exists [2023-10-04T12:28:42.789Z] cc2447e1835a: Layer already exists [2023-10-04T12:28:42.789Z] 7e55b80e72e7: Layer already exists [2023-10-04T12:28:42.789Z] 753156483cfc: Layer already exists [2023-10-04T12:28:42.789Z] 75e5414ff609: Layer already exists [2023-10-04T12:28:42.789Z] f37031385f16eefedf40f271103157f893ed69f0-3.1.0-dev.21: digest: sha256:7d568d83f7474f2b28dacf40572d5d0a0cb618c038cc2bdb54212357d2c25fe9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:28:43.110Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:28:43.427Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-10-04T12:28:43.427Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-10-04T12:28:43.427Z] 7e55b80e72e7: Preparing [2023-10-04T12:28:43.427Z] 753156483cfc: Preparing [2023-10-04T12:28:43.427Z] d43e643e398e: Preparing [2023-10-04T12:28:43.427Z] 75e5414ff609: Preparing [2023-10-04T12:28:43.427Z] cc2447e1835a: Preparing [2023-10-04T12:28:43.427Z] 75e5414ff609: Layer already exists [2023-10-04T12:28:43.427Z] cc2447e1835a: Layer already exists [2023-10-04T12:28:43.427Z] 753156483cfc: Layer already exists [2023-10-04T12:28:43.427Z] d43e643e398e: Layer already exists [2023-10-04T12:28:43.427Z] 7e55b80e72e7: Layer already exists [2023-10-04T12:28:43.427Z] main: digest: sha256:7d568d83f7474f2b28dacf40572d5d0a0cb618c038cc2bdb54212357d2c25fe9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-04T12:28:43.466Z] ===================================================== [Pipeline] echo [2023-10-04T12:28:43.472Z] taggedImages: [2023-10-04T12:28:43.472Z] - nexus3.edgexfoundry.org:10004/device-virtual:f37031385f16eefedf40f271103157f893ed69f0 [2023-10-04T12:28:43.472Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-10-04T12:28:43.472Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.21 [2023-10-04T12:28:43.472Z] - nexus3.edgexfoundry.org:10004/device-virtual:f37031385f16eefedf40f271103157f893ed69f0-3.1.0-dev.21 [2023-10-04T12:28:43.472Z] - 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-10-04T12:28:43.857Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-04T12:28:43.857Z] [2023-10-04T12:28:43.857Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:28:44.166Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-04T12:28:44.166Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-04T12:28:44.166Z] 5eb5b503b376: Pulling fs layer [2023-10-04T12:28:44.166Z] 5c69ac0246d0: Pulling fs layer [2023-10-04T12:28:44.166Z] ec43610c2a17: Pulling fs layer [2023-10-04T12:28:44.166Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-04T12:28:44.166Z] 33b1e0a273af: Pulling fs layer [2023-10-04T12:28:44.166Z] 5d3b04190fa2: Pulling fs layer [2023-10-04T12:28:44.166Z] 2f39f015ded8: Pulling fs layer [2023-10-04T12:28:44.166Z] 2f39f015ded8: Waiting [2023-10-04T12:28:44.166Z] 3a2ae6a8a46f: Waiting [2023-10-04T12:28:44.166Z] 5d3b04190fa2: Waiting [2023-10-04T12:28:44.166Z] 33b1e0a273af: Waiting [2023-10-04T12:28:44.166Z] 5c69ac0246d0: Verifying Checksum [2023-10-04T12:28:44.166Z] 5c69ac0246d0: Download complete [2023-10-04T12:28:44.166Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-04T12:28:44.166Z] 3a2ae6a8a46f: Download complete [2023-10-04T12:28:44.166Z] 33b1e0a273af: Verifying Checksum [2023-10-04T12:28:44.166Z] 33b1e0a273af: Download complete [2023-10-04T12:28:44.425Z] 5d3b04190fa2: Verifying Checksum [2023-10-04T12:28:44.425Z] 5d3b04190fa2: Download complete [2023-10-04T12:28:44.425Z] ec43610c2a17: Verifying Checksum [2023-10-04T12:28:44.425Z] ec43610c2a17: Download complete [2023-10-04T12:28:44.425Z] 5eb5b503b376: Verifying Checksum [2023-10-04T12:28:44.425Z] 5eb5b503b376: Download complete [2023-10-04T12:28:44.996Z] 2f39f015ded8: Download complete [2023-10-04T12:28:45.948Z] 5eb5b503b376: Pull complete [2023-10-04T12:28:45.948Z] 5c69ac0246d0: Pull complete [2023-10-04T12:28:46.207Z] ec43610c2a17: Pull complete [2023-10-04T12:28:46.465Z] 3a2ae6a8a46f: Pull complete [2023-10-04T12:28:46.465Z] 33b1e0a273af: Pull complete [2023-10-04T12:28:46.724Z] 5d3b04190fa2: Pull complete [2023-10-04T12:28:51.989Z] 2f39f015ded8: Pull complete [2023-10-04T12:28:51.989Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-04T12:28:51.989Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-04T12:28:51.989Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T12:28:52.066Z] prd-ubuntu20.04-docker-8c-8g-8471 does not seem to be running inside a container [2023-10-04T12:28:52.100Z] $ 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-10-04T12:29:00.305Z] $ docker top 97626b28d0f775ebf26e2da9458d8eca30ea94c90db2a758562ed89f9a9c726d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-04T12:29:00.370Z] provisioning config files... [2023-10-04T12:29:00.402Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/147@tmp/config6721005648871114914tmp [Pipeline] libraryResource [Pipeline] sh [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T12:29:00.713Z] ---> job-cost.sh [2023-10-04T12:29:00.713Z] lf-activate-venv: SKIPPING [2023-10-04T12:29:00.713Z] INFO: No Stack... [2023-10-04T12:29:00.797Z] ---> docker-login.sh [2023-10-04T12:29:00.797Z] nexus3.edgexfoundry.org:10001 [2023-10-04T12:29:00.973Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-04T12:29:01.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T12:29:01.234Z] INFO: Archiving Costs [Pipeline] sh [2023-10-04T12:29:01.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T12:29:01.336Z] Configure a credential helper to remove this warning. See [2023-10-04T12:29:01.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T12:29:01.336Z] [2023-10-04T12:29:01.336Z] Login Succeeded [2023-10-04T12:29:01.336Z] nexus3.edgexfoundry.org:10002 [2023-10-04T12:29:01.529Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2023-10-04T12:29:01.529Z] + cut -d, -f6 [Pipeline] lock [2023-10-04T12:29:01.543Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-147-stack-cost] [2023-10-04T12:29:01.549Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-147-stack-cost] did not exist. Created. [2023-10-04T12:29:01.549Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-147-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-04T12:29:01.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T12:29:01.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T12:29:01.607Z] Configure a credential helper to remove this warning. See [2023-10-04T12:29:01.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T12:29:01.607Z] [2023-10-04T12:29:01.607Z] Login Succeeded [2023-10-04T12:29:01.607Z] nexus3.edgexfoundry.org:10003 [2023-10-04T12:29:01.861Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-04T12:29:01.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T12:29:01.893Z] Stashed 1 file(s) [Pipeline] } [2023-10-04T12:29:01.900Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-147-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-04T12:29:01.923Z] $ docker stop --time=1 97626b28d0f775ebf26e2da9458d8eca30ea94c90db2a758562ed89f9a9c726d [2023-10-04T12:29:02.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T12:29:02.147Z] Configure a credential helper to remove this warning. See [2023-10-04T12:29:02.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T12:29:02.147Z] [2023-10-04T12:29:02.147Z] Login Succeeded [2023-10-04T12:29:02.147Z] nexus3.edgexfoundry.org:10004 [2023-10-04T12:29:02.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T12:29:02.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T12:29:02.419Z] Configure a credential helper to remove this warning. See [2023-10-04T12:29:02.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T12:29:02.419Z] [2023-10-04T12:29:02.419Z] Login Succeeded [2023-10-04T12:29:02.419Z] docker.io [2023-10-04T12:29:02.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T12:29:02.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T12:29:02.962Z] Configure a credential helper to remove this warning. See [2023-10-04T12:29:02.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T12:29:02.962Z] [2023-10-04T12:29:02.962Z] Login Succeeded [2023-10-04T12:29:02.962Z] ---> docker-login.sh ends [2023-10-04T12:29:03.086Z] $ docker rm -f --volumes 97626b28d0f775ebf26e2da9458d8eca30ea94c90db2a758562ed89f9a9c726d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2023-10-04T12:29:03.132Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2023-10-04T12:29:03.351Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T12:29:03.366Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T12:29:03.381Z] ========================================================= [2023-10-04T12:29:03.382Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-04T12:29:03.382Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:29:03.736Z] + 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-10-04T12:29:04.005Z] Sending build context to Docker daemon 11.97MB [2023-10-04T12:29:04.005Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-04T12:29:04.005Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-04T12:29:04.272Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-04T12:29:04.272Z] 9fda8d8052c6: Pulling fs layer [2023-10-04T12:29:04.272Z] 5d54e960e981: Pulling fs layer [2023-10-04T12:29:04.272Z] c4a7e357bf2a: Pulling fs layer [2023-10-04T12:29:04.272Z] f0e02332f6b5: Pulling fs layer [2023-10-04T12:29:04.272Z] cefa15bbcfad: Pulling fs layer [2023-10-04T12:29:04.272Z] 17808c966233: Pulling fs layer [2023-10-04T12:29:04.272Z] f4c1fc716caa: Pulling fs layer [2023-10-04T12:29:04.272Z] f0e02332f6b5: Waiting [2023-10-04T12:29:04.272Z] cefa15bbcfad: Waiting [2023-10-04T12:29:04.272Z] 17808c966233: Waiting [2023-10-04T12:29:04.272Z] f4c1fc716caa: Waiting [2023-10-04T12:29:04.272Z] 5d54e960e981: Verifying Checksum [2023-10-04T12:29:04.272Z] 5d54e960e981: Download complete [2023-10-04T12:29:04.272Z] f0e02332f6b5: Verifying Checksum [2023-10-04T12:29:04.272Z] f0e02332f6b5: Download complete [2023-10-04T12:29:04.272Z] cefa15bbcfad: Download complete [2023-10-04T12:29:04.272Z] 9fda8d8052c6: Download complete [2023-10-04T12:29:04.875Z] f4c1fc716caa: Verifying Checksum [2023-10-04T12:29:04.875Z] f4c1fc716caa: Download complete [2023-10-04T12:29:05.143Z] 9fda8d8052c6: Pull complete [2023-10-04T12:29:05.729Z] 5d54e960e981: Pull complete [2023-10-04T12:29:06.000Z] c4a7e357bf2a: Verifying Checksum [2023-10-04T12:29:06.000Z] c4a7e357bf2a: Download complete [2023-10-04T12:29:06.589Z] 17808c966233: Verifying Checksum [2023-10-04T12:29:18.929Z] c4a7e357bf2a: Pull complete [2023-10-04T12:29:18.929Z] f0e02332f6b5: Pull complete [2023-10-04T12:29:18.929Z] cefa15bbcfad: Pull complete [2023-10-04T12:29:25.702Z] 17808c966233: Pull complete [2023-10-04T12:29:26.287Z] f4c1fc716caa: Pull complete [2023-10-04T12:29:26.287Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-04T12:29:26.287Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-04T12:29:26.287Z] ---> ea914061e18c [2023-10-04T12:29:26.287Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-04T12:29:27.258Z] ---> Running in da4c4e770b05 [2023-10-04T12:29:27.527Z] Removing intermediate container da4c4e770b05 [2023-10-04T12:29:27.527Z] ---> 6d79b490f2a9 [2023-10-04T12:29:27.527Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-04T12:29:27.796Z] ---> Running in 5f2f350b759d [2023-10-04T12:29:28.068Z] Removing intermediate container 5f2f350b759d [2023-10-04T12:29:28.068Z] ---> 0583d5de2c49 [2023-10-04T12:29:28.068Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-10-04T12:29:28.068Z] ---> Running in 1fa744b78c00 [2023-10-04T12:29:28.338Z] Removing intermediate container 1fa744b78c00 [2023-10-04T12:29:28.338Z] ---> cac3eae88d41 [2023-10-04T12:29:28.338Z] Step 6/12 : WORKDIR /device-virtual-go [2023-10-04T12:29:28.338Z] ---> Running in c8f540e45b48 [2023-10-04T12:29:28.923Z] Removing intermediate container c8f540e45b48 [2023-10-04T12:29:28.923Z] ---> 586fb46ce29c [2023-10-04T12:29:28.923Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-04T12:29:28.923Z] ---> Running in 5992e9bf9e2d [2023-10-04T12:29:29.888Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-04T12:29:30.473Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-04T12:29:31.435Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-04T12:29:31.435Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-04T12:29:31.435Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-04T12:29:31.435Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-04T12:29:31.435Z] Executing busybox-1.36.1-r2.trigger [2023-10-04T12:29:31.435Z] OK: 270 MiB in 56 packages [2023-10-04T12:29:32.847Z] Removing intermediate container 5992e9bf9e2d [2023-10-04T12:29:32.847Z] ---> 12f2e86475e1 [2023-10-04T12:29:32.847Z] Step 8/12 : COPY go.mod vendor* ./ [2023-10-04T12:29:33.115Z] ---> 9283fd5b4ba1 [2023-10-04T12:29:33.115Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-04T12:29:33.115Z] ---> Running in 935559b6450b [2023-10-04T12:30:54.907Z] Removing intermediate container 935559b6450b [2023-10-04T12:30:54.907Z] ---> 9e02b1bf65e4 [2023-10-04T12:30:54.907Z] Step 10/12 : COPY . . [2023-10-04T12:30:54.907Z] ---> 6673e616bd89 [2023-10-04T12:30:54.907Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-04T12:30:54.907Z] ---> Running in 70725c345119 [2023-10-04T12:30:54.907Z] Removing intermediate container 70725c345119 [2023-10-04T12:30:54.907Z] ---> b204eeb03eb1 [2023-10-04T12:30:54.907Z] Step 12/12 : RUN $MAKE [2023-10-04T12:30:54.907Z] ---> Running in 52cc1a770d53 [2023-10-04T12:30:54.907Z] noop [2023-10-04T12:30:54.907Z] Removing intermediate container 52cc1a770d53 [2023-10-04T12:30:54.907Z] ---> a781819d6c3f [2023-10-04T12:30:54.907Z] Successfully built a781819d6c3f [2023-10-04T12:30:54.907Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:30:55.279Z] + docker inspect -f . ci-base-image-arm64 [2023-10-04T12:30:55.279Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T12:30:55.486Z] prd-ubuntu20.04-docker-arm64-4c-16g-8472 does not seem to be running inside a container [2023-10-04T12:30:55.570Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/147 -v /w/workspace/device-virtual-go/147:/w/workspace/device-virtual-go/147:rw,z -v /w/workspace/device-virtual-go/147@tmp:/w/workspace/device-virtual-go/147@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-10-04T12:30:56.714Z] $ docker top 66c6383ccdbe49a0b0c7c5bad621c7274d283d764ad5591e9fee0f1efadda511 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T12:30:57.524Z] + go version [2023-10-04T12:30:57.524Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-04T12:30:57.556Z] $ docker stop --time=1 66c6383ccdbe49a0b0c7c5bad621c7274d283d764ad5591e9fee0f1efadda511 [2023-10-04T12:30:59.120Z] $ docker rm -f --volumes 66c6383ccdbe49a0b0c7c5bad621c7274d283d764ad5591e9fee0f1efadda511 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:30:59.641Z] + docker inspect -f . ci-base-image-arm64 [2023-10-04T12:30:59.641Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T12:30:59.826Z] prd-ubuntu20.04-docker-arm64-4c-16g-8472 does not seem to be running inside a container [2023-10-04T12:30:59.909Z] $ 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/147 -v /w/workspace/device-virtual-go/147:/w/workspace/device-virtual-go/147:rw,z -v /w/workspace/device-virtual-go/147@tmp:/w/workspace/device-virtual-go/147@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-10-04T12:31:00.969Z] $ docker top b40d3dae8756bc8061bc6bf5c37d1906a40938097a7e7a0d65931229a9dbdf42 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T12:31:01.451Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/147 [Pipeline] fileExists [Pipeline] sh [2023-10-04T12:31:01.780Z] + make test [2023-10-04T12:31:01.780Z] go test ./... -coverprofile=coverage.out [2023-10-04T12:31:09.975Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-10-04T12:32:31.591Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-10-04T12:32:31.591Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.067s coverage: 58.4% of statements [2023-10-04T12:32:31.591Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-04T12:32:31.591Z] go vet ./... [2023-10-04T12:32:58.270Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-04T12:32:58.270Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-04T12:32:58.270Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-04T12:32:58.290Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-04T12:32:58.316Z] $ docker stop --time=1 b40d3dae8756bc8061bc6bf5c37d1906a40938097a7e7a0d65931229a9dbdf42 [2023-10-04T12:33:00.238Z] $ docker rm -f --volumes b40d3dae8756bc8061bc6bf5c37d1906a40938097a7e7a0d65931229a9dbdf42 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-04T12:33:01.475Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-04T12:33:01.489Z] Warning: overwriting stash ‘coverage-report’ [2023-10-04T12:33:02.170Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-04T12:33:02.576Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-04T12:33:02.916Z] + ls -al . [2023-10-04T12:33:02.916Z] total 200 [2023-10-04T12:33:02.916Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 12:31 . [2023-10-04T12:33:02.916Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 12:28 .. [2023-10-04T12:33:02.916Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 12:28 .git [2023-10-04T12:33:02.916Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 12:28 .github [2023-10-04T12:33:02.916Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 4 12:28 .gitignore [2023-10-04T12:33:02.916Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 12:28 .golangci.yml [2023-10-04T12:33:02.916Z] -rw-rw-r-- 1 jenkins jenkins 9708 Oct 4 12:28 Attribution.txt [2023-10-04T12:33:02.916Z] -rw-rw-r-- 1 jenkins jenkins 14372 Oct 4 12:28 CHANGELOG.md [2023-10-04T12:33:02.916Z] -rw-rw-r-- 1 jenkins jenkins 1646 Oct 4 12:28 Dockerfile [2023-10-04T12:33:02.916Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 12:28 GOVERNANCE.md [2023-10-04T12:33:02.916Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 4 12:28 Jenkinsfile [2023-10-04T12:33:02.916Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 12:28 LICENSE [2023-10-04T12:33:02.916Z] -rw-rw-r-- 1 jenkins jenkins 1947 Oct 4 12:28 Makefile [2023-10-04T12:33:02.916Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 4 12:28 OWNERS.md [2023-10-04T12:33:02.916Z] -rw-rw-r-- 1 jenkins jenkins 4111 Oct 4 12:28 README.md [2023-10-04T12:33:02.916Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 4 12:26 VERSION [2023-10-04T12:33:02.916Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 12:28 bin [2023-10-04T12:33:02.916Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 12:28 cmd [2023-10-04T12:33:02.916Z] -rw-r--r-- 1 jenkins jenkins 43063 Oct 4 12:32 coverage.out [2023-10-04T12:33:02.916Z] -rw-rw-r-- 1 jenkins jenkins 3637 Oct 4 12:28 go.mod [2023-10-04T12:33:02.916Z] -rw-rw-r-- 1 jenkins jenkins 35019 Oct 4 12:28 go.sum [2023-10-04T12:33:02.916Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 12:28 internal [2023-10-04T12:33:02.916Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 12:28 snap [2023-10-04T12:33:02.916Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 4 12:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:33:03.267Z] + 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=f37031385f16eefedf40f271103157f893ed69f0 --label arch=arm64 --label version=3.1.0-dev.21 . [2023-10-04T12:33:03.861Z] Sending build context to Docker daemon 12.02MB [2023-10-04T12:33:03.861Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-04T12:33:03.861Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-04T12:33:03.861Z] ---> a781819d6c3f [2023-10-04T12:33:03.861Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-04T12:33:06.432Z] ---> Running in f894925b2c9d [2023-10-04T12:33:06.701Z] Removing intermediate container f894925b2c9d [2023-10-04T12:33:06.701Z] ---> 4132e6356dea [2023-10-04T12:33:06.701Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-04T12:33:06.701Z] ---> Running in 8f3781250850 [2023-10-04T12:33:06.977Z] Removing intermediate container 8f3781250850 [2023-10-04T12:33:06.977Z] ---> b699b15cbde2 [2023-10-04T12:33:06.977Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-10-04T12:33:06.977Z] ---> Running in 68644edef079 [2023-10-04T12:33:07.243Z] Removing intermediate container 68644edef079 [2023-10-04T12:33:07.243Z] ---> 07ca25ec6ba7 [2023-10-04T12:33:07.243Z] Step 6/25 : WORKDIR /device-virtual-go [2023-10-04T12:33:07.514Z] ---> Running in 570fc9af6cf4 [2023-10-04T12:33:07.781Z] Removing intermediate container 570fc9af6cf4 [2023-10-04T12:33:07.781Z] ---> 66b1e4da72f5 [2023-10-04T12:33:07.781Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-04T12:33:07.781Z] ---> Running in 31e42fd2f6ec [2023-10-04T12:33:08.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-04T12:33:09.314Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-04T12:33:10.272Z] OK: 270 MiB in 56 packages [2023-10-04T12:33:11.233Z] Removing intermediate container 31e42fd2f6ec [2023-10-04T12:33:11.233Z] ---> 75bad62b5d0e [2023-10-04T12:33:11.233Z] Step 8/25 : COPY go.mod vendor* ./ [2023-10-04T12:33:11.820Z] ---> c540daab797a [2023-10-04T12:33:11.820Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-04T12:33:11.820Z] ---> Running in 4ebc5ddc15c2 [2023-10-04T12:33:14.486Z] Removing intermediate container 4ebc5ddc15c2 [2023-10-04T12:33:14.486Z] ---> b1809ec68276 [2023-10-04T12:33:14.486Z] Step 10/25 : COPY . . [2023-10-04T12:33:15.911Z] ---> c93b6bd6d9e0 [2023-10-04T12:33:15.912Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-04T12:33:15.912Z] ---> Running in 62dec79b1aa9 [2023-10-04T12:33:16.246Z] Removing intermediate container 62dec79b1aa9 [2023-10-04T12:33:16.246Z] ---> 0d93bd2a5ba5 [2023-10-04T12:33:16.246Z] Step 12/25 : RUN $MAKE [2023-10-04T12:33:16.526Z] ---> Running in 69aa72999a09 [2023-10-04T12:33:17.969Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.33" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-10-04T12:35:10.640Z] Removing intermediate container 69aa72999a09 [2023-10-04T12:35:10.640Z] ---> 9e56ed2cbde5 [2023-10-04T12:35:10.640Z] Step 13/25 : FROM alpine:3.18 [2023-10-04T12:35:10.640Z] 3.18: Pulling from library/alpine [2023-10-04T12:35:10.640Z] 579b34f0a95b: Pulling fs layer [2023-10-04T12:35:10.640Z] 579b34f0a95b: Verifying Checksum [2023-10-04T12:35:10.640Z] 579b34f0a95b: Download complete [2023-10-04T12:35:10.640Z] 579b34f0a95b: Pull complete [2023-10-04T12:35:10.640Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-04T12:35:10.640Z] Status: Downloaded newer image for alpine:3.18 [2023-10-04T12:35:10.640Z] ---> 3cc203321400 [2023-10-04T12:35:10.640Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-10-04T12:35:10.640Z] ---> Running in 867401404dd4 [2023-10-04T12:35:10.640Z] Removing intermediate container 867401404dd4 [2023-10-04T12:35:10.640Z] ---> 88653b7312bd [2023-10-04T12:35:10.640Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-10-04T12:35:10.640Z] ---> Running in 679476b8939e [2023-10-04T12:35:10.640Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-04T12:35:10.907Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-04T12:35:11.867Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-04T12:35:11.867Z] Executing busybox-1.36.1-r2.trigger [2023-10-04T12:35:11.867Z] OK: 8 MiB in 16 packages [2023-10-04T12:35:12.829Z] Removing intermediate container 679476b8939e [2023-10-04T12:35:12.829Z] ---> 3317310fb174 [2023-10-04T12:35:12.829Z] Step 16/25 : WORKDIR / [2023-10-04T12:35:12.829Z] ---> Running in 1750a7d471d0 [2023-10-04T12:35:13.099Z] Removing intermediate container 1750a7d471d0 [2023-10-04T12:35:13.099Z] ---> efa0387ca8c7 [2023-10-04T12:35:13.099Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-10-04T12:35:13.686Z] ---> bcdd33cd119d [2023-10-04T12:35:13.686Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-10-04T12:35:14.269Z] ---> a36d26117613 [2023-10-04T12:35:14.269Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-10-04T12:35:15.674Z] ---> a5db74319dfe [2023-10-04T12:35:15.674Z] Step 20/25 : EXPOSE 59900 [2023-10-04T12:35:15.674Z] ---> Running in 439af3b38983 [2023-10-04T12:35:15.941Z] Removing intermediate container 439af3b38983 [2023-10-04T12:35:15.941Z] ---> 7a1a59f1d97a [2023-10-04T12:35:15.941Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-10-04T12:35:15.941Z] ---> Running in aa44b736fe72 [2023-10-04T12:35:16.209Z] Removing intermediate container aa44b736fe72 [2023-10-04T12:35:16.209Z] ---> 89342deba49a [2023-10-04T12:35:16.209Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-04T12:35:16.209Z] ---> Running in b3af3a41660b [2023-10-04T12:35:16.480Z] Removing intermediate container b3af3a41660b [2023-10-04T12:35:16.480Z] ---> e71537f335e6 [2023-10-04T12:35:16.480Z] Step 23/25 : LABEL arch=arm64 [2023-10-04T12:35:16.480Z] ---> Running in 156ae43a52ed [2023-10-04T12:35:17.073Z] Removing intermediate container 156ae43a52ed [2023-10-04T12:35:17.073Z] ---> deef05593f21 [2023-10-04T12:35:17.073Z] Step 24/25 : LABEL git_sha=f37031385f16eefedf40f271103157f893ed69f0 [2023-10-04T12:35:17.073Z] ---> Running in 73f9064c61b1 [2023-10-04T12:35:17.342Z] Removing intermediate container 73f9064c61b1 [2023-10-04T12:35:17.342Z] ---> b854a11599c0 [2023-10-04T12:35:17.342Z] Step 25/25 : LABEL version=3.1.0-dev.21 [2023-10-04T12:35:17.342Z] ---> Running in 80a5803625ae [2023-10-04T12:35:17.608Z] Removing intermediate container 80a5803625ae [2023-10-04T12:35:17.608Z] ---> dbc916f702cb [2023-10-04T12:35:17.608Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-04T12:35:17.608Z] Successfully built dbc916f702cb [2023-10-04T12:35:17.608Z] 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-10-04T12:35:17.734Z] provisioning config files... [2023-10-04T12:35:17.748Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/147@tmp/config12893682779541163468tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T12:35:18.106Z] ---> docker-login.sh [2023-10-04T12:35:18.107Z] nexus3.edgexfoundry.org:10001 [2023-10-04T12:35:18.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T12:35:18.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T12:35:18.375Z] Configure a credential helper to remove this warning. See [2023-10-04T12:35:18.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T12:35:18.375Z] [2023-10-04T12:35:18.375Z] Login Succeeded [2023-10-04T12:35:18.375Z] nexus3.edgexfoundry.org:10002 [2023-10-04T12:35:18.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T12:35:18.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T12:35:18.642Z] Configure a credential helper to remove this warning. See [2023-10-04T12:35:18.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T12:35:18.642Z] [2023-10-04T12:35:18.642Z] Login Succeeded [2023-10-04T12:35:18.642Z] nexus3.edgexfoundry.org:10003 [2023-10-04T12:35:18.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T12:35:19.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T12:35:19.179Z] Configure a credential helper to remove this warning. See [2023-10-04T12:35:19.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T12:35:19.179Z] [2023-10-04T12:35:19.179Z] Login Succeeded [2023-10-04T12:35:19.179Z] nexus3.edgexfoundry.org:10004 [2023-10-04T12:35:19.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T12:35:19.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T12:35:19.453Z] Configure a credential helper to remove this warning. See [2023-10-04T12:35:19.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T12:35:19.453Z] [2023-10-04T12:35:19.453Z] Login Succeeded [2023-10-04T12:35:19.453Z] docker.io [2023-10-04T12:35:19.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T12:35:19.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T12:35:19.985Z] Configure a credential helper to remove this warning. See [2023-10-04T12:35:19.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T12:35:19.985Z] [2023-10-04T12:35:19.985Z] Login Succeeded [2023-10-04T12:35:19.985Z] ---> docker-login.sh ends [Pipeline] } [2023-10-04T12:35:19.996Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-04T12:35:20.028Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T12:35:20.051Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-10-04T12:35:20.051Z] f37031385f16eefedf40f271103157f893ed69f0 [2023-10-04T12:35:20.051Z] latest [2023-10-04T12:35:20.051Z] 3.1.0-dev.21 [2023-10-04T12:35:20.051Z] f37031385f16eefedf40f271103157f893ed69f0-3.1.0-dev.21 [2023-10-04T12:35:20.051Z] main [2023-10-04T12:35:20.051Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:35:20.382Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:f37031385f16eefedf40f271103157f893ed69f0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:35:20.726Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:f37031385f16eefedf40f271103157f893ed69f0 [2023-10-04T12:35:20.726Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-10-04T12:35:20.726Z] a7cb77e67167: Preparing [2023-10-04T12:35:20.726Z] 3976df2c0ae6: Preparing [2023-10-04T12:35:20.726Z] cf54f90c2b4b: Preparing [2023-10-04T12:35:20.726Z] 245430e7521c: Preparing [2023-10-04T12:35:20.726Z] 5f4d9fc4d98d: Preparing [2023-10-04T12:35:20.726Z] 5f4d9fc4d98d: Layer already exists [2023-10-04T12:35:20.993Z] 3976df2c0ae6: Pushed [2023-10-04T12:35:20.993Z] cf54f90c2b4b: Pushed [2023-10-04T12:35:20.993Z] 245430e7521c: Pushed [2023-10-04T12:35:27.622Z] a7cb77e67167: Pushed [2023-10-04T12:35:27.622Z] f37031385f16eefedf40f271103157f893ed69f0: digest: sha256:fb0cf586a8ec47c5cc38f1370c257a1ed98f521b170b80425dcc660a3604dec3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:35:27.962Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:35:28.295Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-10-04T12:35:28.295Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-10-04T12:35:28.295Z] a7cb77e67167: Preparing [2023-10-04T12:35:28.295Z] 3976df2c0ae6: Preparing [2023-10-04T12:35:28.295Z] cf54f90c2b4b: Preparing [2023-10-04T12:35:28.295Z] 245430e7521c: Preparing [2023-10-04T12:35:28.295Z] 5f4d9fc4d98d: Preparing [2023-10-04T12:35:28.295Z] a7cb77e67167: Layer already exists [2023-10-04T12:35:28.295Z] 245430e7521c: Layer already exists [2023-10-04T12:35:28.295Z] 3976df2c0ae6: Layer already exists [2023-10-04T12:35:28.295Z] cf54f90c2b4b: Layer already exists [2023-10-04T12:35:28.295Z] 5f4d9fc4d98d: Layer already exists [2023-10-04T12:35:28.295Z] latest: digest: sha256:fb0cf586a8ec47c5cc38f1370c257a1ed98f521b170b80425dcc660a3604dec3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:35:28.901Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:35:29.239Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.21 [2023-10-04T12:35:29.239Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-10-04T12:35:29.239Z] a7cb77e67167: Preparing [2023-10-04T12:35:29.239Z] 3976df2c0ae6: Preparing [2023-10-04T12:35:29.239Z] cf54f90c2b4b: Preparing [2023-10-04T12:35:29.239Z] 245430e7521c: Preparing [2023-10-04T12:35:29.239Z] 5f4d9fc4d98d: Preparing [2023-10-04T12:35:29.239Z] 3976df2c0ae6: Layer already exists [2023-10-04T12:35:29.239Z] cf54f90c2b4b: Layer already exists [2023-10-04T12:35:29.239Z] 5f4d9fc4d98d: Layer already exists [2023-10-04T12:35:29.239Z] 245430e7521c: Layer already exists [2023-10-04T12:35:29.239Z] a7cb77e67167: Layer already exists [2023-10-04T12:35:29.239Z] 3.1.0-dev.21: digest: sha256:fb0cf586a8ec47c5cc38f1370c257a1ed98f521b170b80425dcc660a3604dec3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:35:29.618Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:f37031385f16eefedf40f271103157f893ed69f0-3.1.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:35:29.981Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:f37031385f16eefedf40f271103157f893ed69f0-3.1.0-dev.21 [2023-10-04T12:35:29.981Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-10-04T12:35:29.981Z] a7cb77e67167: Preparing [2023-10-04T12:35:29.981Z] 3976df2c0ae6: Preparing [2023-10-04T12:35:29.981Z] cf54f90c2b4b: Preparing [2023-10-04T12:35:29.981Z] 245430e7521c: Preparing [2023-10-04T12:35:29.981Z] 5f4d9fc4d98d: Preparing [2023-10-04T12:35:29.981Z] 5f4d9fc4d98d: Layer already exists [2023-10-04T12:35:29.981Z] 245430e7521c: Layer already exists [2023-10-04T12:35:29.981Z] 3976df2c0ae6: Layer already exists [2023-10-04T12:35:29.981Z] cf54f90c2b4b: Layer already exists [2023-10-04T12:35:29.981Z] a7cb77e67167: Layer already exists [2023-10-04T12:35:29.981Z] f37031385f16eefedf40f271103157f893ed69f0-3.1.0-dev.21: digest: sha256:fb0cf586a8ec47c5cc38f1370c257a1ed98f521b170b80425dcc660a3604dec3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:35:30.328Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:35:30.679Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-10-04T12:35:30.679Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-10-04T12:35:30.679Z] a7cb77e67167: Preparing [2023-10-04T12:35:30.679Z] 3976df2c0ae6: Preparing [2023-10-04T12:35:30.679Z] cf54f90c2b4b: Preparing [2023-10-04T12:35:30.679Z] 245430e7521c: Preparing [2023-10-04T12:35:30.679Z] 5f4d9fc4d98d: Preparing [2023-10-04T12:35:30.679Z] a7cb77e67167: Layer already exists [2023-10-04T12:35:30.679Z] 5f4d9fc4d98d: Layer already exists [2023-10-04T12:35:30.679Z] 3976df2c0ae6: Layer already exists [2023-10-04T12:35:30.679Z] cf54f90c2b4b: Layer already exists [2023-10-04T12:35:30.679Z] 245430e7521c: Layer already exists [2023-10-04T12:35:30.679Z] main: digest: sha256:fb0cf586a8ec47c5cc38f1370c257a1ed98f521b170b80425dcc660a3604dec3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-04T12:35:31.012Z] ===================================================== [Pipeline] echo [2023-10-04T12:35:31.024Z] taggedImages: [2023-10-04T12:35:31.024Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:f37031385f16eefedf40f271103157f893ed69f0 [2023-10-04T12:35:31.024Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-10-04T12:35:31.024Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.21 [2023-10-04T12:35:31.024Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:f37031385f16eefedf40f271103157f893ed69f0-3.1.0-dev.21 [2023-10-04T12:35:31.024Z] - 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-10-04T12:35:31.411Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-04T12:35:31.411Z] [2023-10-04T12:35:31.411Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:35:31.774Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-04T12:35:31.774Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-04T12:35:31.774Z] 8998bd30e6a1: Pulling fs layer [2023-10-04T12:35:31.774Z] 04944245beec: Pulling fs layer [2023-10-04T12:35:31.774Z] 699f458cf7ca: Pulling fs layer [2023-10-04T12:35:31.774Z] 765212b225bb: Pulling fs layer [2023-10-04T12:35:31.774Z] f23df028b6ca: Pulling fs layer [2023-10-04T12:35:31.774Z] d65c8cfc05b1: Pulling fs layer [2023-10-04T12:35:31.774Z] 2437ff75d9bd: Pulling fs layer [2023-10-04T12:35:31.774Z] f23df028b6ca: Waiting [2023-10-04T12:35:31.774Z] d65c8cfc05b1: Waiting [2023-10-04T12:35:31.774Z] 2437ff75d9bd: Waiting [2023-10-04T12:35:31.774Z] 765212b225bb: Waiting [2023-10-04T12:35:32.050Z] 04944245beec: Verifying Checksum [2023-10-04T12:35:32.050Z] 04944245beec: Download complete [2023-10-04T12:35:32.050Z] 765212b225bb: Verifying Checksum [2023-10-04T12:35:32.050Z] 765212b225bb: Download complete [2023-10-04T12:35:32.050Z] f23df028b6ca: Download complete [2023-10-04T12:35:32.050Z] d65c8cfc05b1: Verifying Checksum [2023-10-04T12:35:32.050Z] d65c8cfc05b1: Download complete [2023-10-04T12:35:32.319Z] 699f458cf7ca: Verifying Checksum [2023-10-04T12:35:32.319Z] 699f458cf7ca: Download complete [2023-10-04T12:35:32.587Z] 8998bd30e6a1: Verifying Checksum [2023-10-04T12:35:32.587Z] 8998bd30e6a1: Download complete [2023-10-04T12:35:35.172Z] 2437ff75d9bd: Verifying Checksum [2023-10-04T12:35:35.172Z] 2437ff75d9bd: Download complete [2023-10-04T12:35:36.581Z] 8998bd30e6a1: Pull complete [2023-10-04T12:35:36.849Z] 04944245beec: Pull complete [2023-10-04T12:35:38.257Z] 699f458cf7ca: Pull complete [2023-10-04T12:35:38.524Z] 765212b225bb: Pull complete [2023-10-04T12:35:39.109Z] f23df028b6ca: Pull complete [2023-10-04T12:35:39.377Z] d65c8cfc05b1: Pull complete [2023-10-04T12:35:54.362Z] 2437ff75d9bd: Pull complete [2023-10-04T12:35:54.362Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-04T12:35:54.362Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-04T12:35:54.362Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T12:35:54.548Z] prd-ubuntu20.04-docker-arm64-4c-16g-8472 does not seem to be running inside a container [2023-10-04T12:35:54.635Z] $ 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/147 -v /w/workspace/device-virtual-go/147:/w/workspace/device-virtual-go/147:rw,z -v /w/workspace/device-virtual-go/147@tmp:/w/workspace/device-virtual-go/147@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-10-04T12:35:57.103Z] $ docker top 5d7887464b86d46e4350c82bc0ec6fad9c08a002eaac294b06ab5445d3c3c2ef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T12:35:57.599Z] ---> job-cost.sh [2023-10-04T12:35:57.867Z] lf-activate-venv: SKIPPING [2023-10-04T12:35:57.867Z] INFO: No Stack... [2023-10-04T12:35:58.132Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-04T12:35:59.092Z] INFO: Archiving Costs [Pipeline] sh [2023-10-04T12:35:59.411Z] + cut -d, -f6 [2023-10-04T12:35:59.411Z] + cat /w/workspace/device-virtual-go/147/archives/cost.csv [Pipeline] lock [2023-10-04T12:35:59.447Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-147-stack-cost] [2023-10-04T12:35:59.453Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-147-stack-cost] did not exist. Created. [2023-10-04T12:35:59.453Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-147-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-04T12:35:59.786Z] /w/workspace/device-virtual-go/147@tmp/durable-c89b136b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-04T12:36:00.115Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-04T12:36:00.131Z] Warning: overwriting stash ‘stack-cost’ [2023-10-04T12:36:00.183Z] Stashed 1 file(s) [Pipeline] } [2023-10-04T12:36:00.190Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-147-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-04T12:36:00.223Z] $ docker stop --time=1 5d7887464b86d46e4350c82bc0ec6fad9c08a002eaac294b06ab5445d3c3c2ef [2023-10-04T12:36:01.696Z] $ docker rm -f --volumes 5d7887464b86d46e4350c82bc0ec6fad9c08a002eaac294b06ab5445d3c3c2ef [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-10-04T12:36:02.058Z] provisioning config files... [2023-10-04T12:36:02.065Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17566649464417223797tmp [Pipeline] { [Pipeline] sh [2023-10-04T12:36:02.369Z] + set +x [2023-10-04T12:36:02.369Z] + bash -s -- [2023-10-04T12:36:02.369Z] + curl -s https://codecov.io/bash [2023-10-04T12:36:02.369Z] [2023-10-04T12:36:02.369Z] _____ _ [2023-10-04T12:36:02.369Z] / ____| | | [2023-10-04T12:36:02.369Z] | | ___ __| | ___ ___ _____ __ [2023-10-04T12:36:02.369Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-04T12:36:02.369Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-04T12:36:02.369Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-04T12:36:02.369Z] Bash-1.0.6 [2023-10-04T12:36:02.369Z] [2023-10-04T12:36:02.369Z] [2023-10-04T12:36:02.369Z] ==> git version 2.25.1 found [2023-10-04T12:36:02.369Z] ==> 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-10-04T12:36:02.369Z] Release-Date: 2020-01-08 [2023-10-04T12:36:02.369Z] 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-10-04T12:36:02.369Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-04T12:36:02.369Z] ==> Jenkins CI detected. [2023-10-04T12:36:02.369Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-10-04T12:36:02.369Z] project root: . [2023-10-04T12:36:02.369Z] --> token set from env [2023-10-04T12:36:02.369Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-04T12:36:02.628Z] ==> Running gcov in . (disable via -X gcov) [2023-10-04T12:36:02.628Z] ==> Python coveragepy not found [2023-10-04T12:36:02.628Z] ==> Searching for coverage reports in: [2023-10-04T12:36:02.628Z] + . [2023-10-04T12:36:02.628Z] -> Found 1 reports [2023-10-04T12:36:02.628Z] ==> Detecting git/mercurial file structure [2023-10-04T12:36:02.628Z] ==> Reading reports [2023-10-04T12:36:02.628Z] + ./coverage.out bytes=43063 [2023-10-04T12:36:02.628Z] ==> Appending adjustments [2023-10-04T12:36:02.628Z] https://docs.codecov.io/docs/fixing-reports [2023-10-04T12:36:02.628Z] + Found adjustments [2023-10-04T12:36:02.628Z] ==> Gzipping contents [2023-10-04T12:36:02.628Z] 8.0K /tmp/codecov.4ivcZA.gz [2023-10-04T12:36:02.628Z] ==> Uploading reports [2023-10-04T12:36:02.628Z] url: https://codecov.io [2023-10-04T12:36:02.628Z] query: branch=main&commit=f37031385f16eefedf40f271103157f893ed69f0&build=147&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F147%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-04T12:36:02.628Z] -> Pinging Codecov [2023-10-04T12:36:02.628Z] 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=f37031385f16eefedf40f271103157f893ed69f0&build=147&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F147%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-04T12:36:02.886Z] -> Uploading to [2023-10-04T12:36:02.886Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-04/5E52B4B073DB2E39498172D8E973AA87/f37031385f16eefedf40f271103157f893ed69f0/df0b76c0-e810-4394-8b3a-0ff5f65db115.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231004%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231004T123602Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=04622c2d454b114dcc46d4facc323921cee3c94b595d0c8a3b171efecb421370 [2023-10-04T12:36:02.886Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-04T12:36:02.886Z] Dload Upload Total Spent Left Speed [2023-10-04T12:36:03.144Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 22539 --:--:-- --:--:-- --:--:-- 22539 [2023-10-04T12:36:03.144Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/f37031385f16eefedf40f271103157f893ed69f0 [Pipeline] } [2023-10-04T12:36:03.152Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-04T12:36:03.345Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-04T12:36:03.357Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:36:03.651Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-04T12:36:03.651Z] [2023-10-04T12:36:03.651Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:36:03.943Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-04T12:36:03.943Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-04T12:36:03.943Z] df9b9388f04a: Pulling fs layer [2023-10-04T12:36:03.943Z] 52dc419b0ee2: Pulling fs layer [2023-10-04T12:36:03.943Z] 25bc292e5bac: Pulling fs layer [2023-10-04T12:36:03.943Z] 114826534d7a: Pulling fs layer [2023-10-04T12:36:03.943Z] 4657fd5d0bcf: Pulling fs layer [2023-10-04T12:36:03.943Z] 6ad1cebc031e: Pulling fs layer [2023-10-04T12:36:03.943Z] 8a3aa393b2d8: Pulling fs layer [2023-10-04T12:36:03.943Z] 4657fd5d0bcf: Waiting [2023-10-04T12:36:03.943Z] 6ad1cebc031e: Waiting [2023-10-04T12:36:03.943Z] 8a3aa393b2d8: Waiting [2023-10-04T12:36:03.943Z] 114826534d7a: Waiting [2023-10-04T12:36:03.943Z] 25bc292e5bac: Download complete [2023-10-04T12:36:03.943Z] 52dc419b0ee2: Verifying Checksum [2023-10-04T12:36:03.943Z] 52dc419b0ee2: Download complete [2023-10-04T12:36:03.943Z] 4657fd5d0bcf: Verifying Checksum [2023-10-04T12:36:03.943Z] 4657fd5d0bcf: Download complete [2023-10-04T12:36:03.943Z] df9b9388f04a: Verifying Checksum [2023-10-04T12:36:03.943Z] df9b9388f04a: Download complete [2023-10-04T12:36:04.202Z] 6ad1cebc031e: Verifying Checksum [2023-10-04T12:36:04.202Z] 6ad1cebc031e: Download complete [2023-10-04T12:36:04.202Z] df9b9388f04a: Pull complete [2023-10-04T12:36:04.202Z] 52dc419b0ee2: Pull complete [2023-10-04T12:36:04.461Z] 25bc292e5bac: Pull complete [2023-10-04T12:36:04.719Z] 114826534d7a: Verifying Checksum [2023-10-04T12:36:04.719Z] 114826534d7a: Download complete [2023-10-04T12:36:04.977Z] 8a3aa393b2d8: Verifying Checksum [2023-10-04T12:36:04.977Z] 8a3aa393b2d8: Download complete [2023-10-04T12:36:09.155Z] 114826534d7a: Pull complete [2023-10-04T12:36:09.155Z] 4657fd5d0bcf: Pull complete [2023-10-04T12:36:09.155Z] 6ad1cebc031e: Pull complete [2023-10-04T12:36:13.339Z] 8a3aa393b2d8: Pull complete [2023-10-04T12:36:13.339Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-04T12:36:13.339Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-04T12:36:13.339Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T12:36:13.411Z] prd-ubuntu20.04-docker-8c-8g-8471 does not seem to be running inside a container [2023-10-04T12:36:13.447Z] $ 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-10-04T12:36:18.358Z] $ docker top f0631be8ec9fd8092238bb5c77a610d3470182b4267ac21ffb44eaa127aba007 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-04T12:36:18.427Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-10-04T12:36:18.707Z] + set -o pipefail [2023-10-04T12:36:18.707Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-10-04T12:36:23.989Z] [2023-10-04T12:36:23.989Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-10-04T12:36:23.989Z] [2023-10-04T12:36:23.990Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/39fd933d-964a-4295-ad7a-b23526ad6607 [2023-10-04T12:36:23.990Z] [2023-10-04T12:36:23.990Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-10-04T12:36:23.990Z] [2023-10-04T12:36:23.990Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-04T12:36:23.990Z] [2023-10-04T12:36:23.990Z] [2023-10-04T12:36:23.990Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-04T12:36:23.990Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-04T12:36:23.990Z] More details here: https://snyk.co/ue1NS [2023-10-04T12:36:23.990Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-10-04T12:36:23.990Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-10-04T12:36:24.031Z] $ docker stop --time=1 f0631be8ec9fd8092238bb5c77a610d3470182b4267ac21ffb44eaa127aba007 [2023-10-04T12:36:28.811Z] $ docker rm -f --volumes f0631be8ec9fd8092238bb5c77a610d3470182b4267ac21ffb44eaa127aba007 [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-10-04T12:36:29.532Z] + git log --format=format:%s -1 f37031385f16eefedf40f271103157f893ed69f0 [Pipeline] sh [2023-10-04T12:36:29.817Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-04T12:36:29.817Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:36:30.113Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T12:36:30.113Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T12:36:30.178Z] prd-ubuntu20.04-docker-8c-8g-8471 does not seem to be running inside a container [2023-10-04T12:36:30.210Z] $ 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-10-04T12:36:30.579Z] $ docker top 7fb8310dee9a3d0438bcc6af54fcf06f30fab4fc6af5845318ff3ea6a896df4b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-04T12:36:30.660Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-04T12:36:30.660Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-04T12:36:30.776Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-04T12:36:30.782Z] $ docker exec 7fb8310dee9a3d0438bcc6af54fcf06f30fab4fc6af5845318ff3ea6a896df4b ssh-agent [2023-10-04T12:36:30.902Z] SSH_AUTH_SOCK=/tmp/ssh-u0ZcVKMfjCI4/agent.31 [2023-10-04T12:36:30.902Z] SSH_AGENT_PID=37 [2023-10-04T12:36:30.906Z] Running ssh-add (command line suppressed) [2023-10-04T12:36:30.997Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17103248821657575257.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17103248821657575257.key) [2023-10-04T12:36:31.011Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-04T12:36:31.300Z] + git semver tag [2023-10-04T12:36:31.559Z] 2023-10-04 12:36:31,485 [run_tag] DEBUG tag force:False [2023-10-04T12:36:31.559Z] 2023-10-04 12:36:31,485 [check_head_tag] DEBUG check head tag [2023-10-04T12:36:31.559Z] 2023-10-04 12:36:31,486 [execute] INFO git cat-file --batch-check [2023-10-04T12:36:31.559Z] 2023-10-04 12:36:31,486 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-10-04T12:36:31.559Z] 2023-10-04 12:36:31,489 [execute] INFO git cat-file --batch [2023-10-04T12:36:31.559Z] 2023-10-04 12:36:31,490 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-10-04T12:36:31.559Z] 2023-10-04 12:36:31,502 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-04T12:36:31.559Z] 2023-10-04 12:36:31,503 [execute] INFO git tag -a v3.1.0-dev.21 -m v3.1.0-dev.21 [2023-10-04T12:36:31.559Z] 2023-10-04 12:36:31,503 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.21', '-m', 'v3.1.0-dev.21'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-04T12:36:31.559Z] 2023-10-04 12:36:31,507 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-04T12:36:31.559Z] 3.1.0-dev.21 [Pipeline] } [2023-10-04T12:36:31.573Z] $ docker exec --env ******** --env ******** 7fb8310dee9a3d0438bcc6af54fcf06f30fab4fc6af5845318ff3ea6a896df4b ssh-agent -k [2023-10-04T12:36:31.674Z] unset SSH_AUTH_SOCK; [2023-10-04T12:36:31.674Z] unset SSH_AGENT_PID; [2023-10-04T12:36:31.674Z] echo Agent pid 37 killed; [2023-10-04T12:36:31.680Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-04T12:36:31.996Z] + git semver [Pipeline] } [2023-10-04T12:36:32.272Z] $ docker stop --time=1 7fb8310dee9a3d0438bcc6af54fcf06f30fab4fc6af5845318ff3ea6a896df4b [2023-10-04T12:36:33.524Z] $ docker rm -f --volumes 7fb8310dee9a3d0438bcc6af54fcf06f30fab4fc6af5845318ff3ea6a896df4b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:36:33.911Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-04T12:36:33.911Z] [2023-10-04T12:36:33.911Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:36:34.213Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-04T12:36:34.213Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-04T12:36:34.213Z] ab5ef0e58194: Pulling fs layer [2023-10-04T12:36:34.213Z] 9712f1f96733: Pulling fs layer [2023-10-04T12:36:34.213Z] 63f879dbbcfc: Pulling fs layer [2023-10-04T12:36:34.213Z] 0d9ebad4ef96: Pulling fs layer [2023-10-04T12:36:34.213Z] e9a5061849ea: Pulling fs layer [2023-10-04T12:36:34.213Z] d747dcd14b5f: Pulling fs layer [2023-10-04T12:36:34.213Z] 2de7ff778b66: Pulling fs layer [2023-10-04T12:36:34.213Z] 0d9ebad4ef96: Waiting [2023-10-04T12:36:34.213Z] e9a5061849ea: Waiting [2023-10-04T12:36:34.213Z] 2de7ff778b66: Waiting [2023-10-04T12:36:34.213Z] d747dcd14b5f: Waiting [2023-10-04T12:36:34.213Z] 9712f1f96733: Download complete [2023-10-04T12:36:34.473Z] 63f879dbbcfc: Verifying Checksum [2023-10-04T12:36:34.473Z] 63f879dbbcfc: Download complete [2023-10-04T12:36:34.734Z] e9a5061849ea: Verifying Checksum [2023-10-04T12:36:34.734Z] e9a5061849ea: Download complete [2023-10-04T12:36:34.734Z] d747dcd14b5f: Verifying Checksum [2023-10-04T12:36:34.734Z] d747dcd14b5f: Download complete [2023-10-04T12:36:34.734Z] ab5ef0e58194: Verifying Checksum [2023-10-04T12:36:34.734Z] ab5ef0e58194: Download complete [2023-10-04T12:36:34.734Z] 0d9ebad4ef96: Verifying Checksum [2023-10-04T12:36:34.734Z] 0d9ebad4ef96: Download complete [2023-10-04T12:36:34.734Z] 2de7ff778b66: Verifying Checksum [2023-10-04T12:36:34.734Z] 2de7ff778b66: Download complete [2023-10-04T12:36:38.020Z] ab5ef0e58194: Pull complete [2023-10-04T12:36:38.020Z] 9712f1f96733: Pull complete [2023-10-04T12:36:38.280Z] 63f879dbbcfc: Pull complete [2023-10-04T12:36:42.460Z] 0d9ebad4ef96: Pull complete [2023-10-04T12:36:42.460Z] e9a5061849ea: Pull complete [2023-10-04T12:36:42.460Z] d747dcd14b5f: Pull complete [2023-10-04T12:36:43.394Z] 2de7ff778b66: Pull complete [2023-10-04T12:36:43.394Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-04T12:36:43.394Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-04T12:36:43.394Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T12:36:43.464Z] prd-ubuntu20.04-docker-8c-8g-8471 does not seem to be running inside a container [2023-10-04T12:36:43.497Z] $ 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-10-04T12:36:50.366Z] $ docker top 521627acd2a24285fa0ce482f2c924bf32e5bbac23ef683ca31911d27d1150ce -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-04T12:36:50.442Z] provisioning config files... [2023-10-04T12:36:50.449Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14172895537304306438tmp [2023-10-04T12:36:50.458Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5863029456207863300tmp [2023-10-04T12:36:50.467Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15964054441276092441tmp [Pipeline] { [Pipeline] echo [2023-10-04T12:36:50.484Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T12:36:50.767Z] ---> sigul-configuration.sh [2023-10-04T12:36:50.767Z] gpg: directory `/root/.gnupg' created [2023-10-04T12:36:50.767Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-04T12:36:50.767Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-04T12:36:50.767Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-04T12:36:50.767Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-04T12:36:50.767Z] gpg: CAST5 encrypted data [2023-10-04T12:36:50.767Z] gpg: encrypted with 1 passphrase [2023-10-04T12:36:50.767Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-04T12:36:51.054Z] + mkdir /home/jenkins [2023-10-04T12:36:51.055Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-04T12:36:51.338Z] + 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-10-04T12:36:51.347Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T12:36:51.632Z] ---> sigul-install.sh [2023-10-04T12:36:51.632Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-04T12:36:51.918Z] + git tag --list [2023-10-04T12:36:51.918Z] v1.0.0 [2023-10-04T12:36:51.918Z] v1.1.0 [2023-10-04T12:36:51.918Z] v1.1.1 [2023-10-04T12:36:51.918Z] v1.2.1 [2023-10-04T12:36:51.918Z] v1.2.2 [2023-10-04T12:36:51.918Z] v1.2.3 [2023-10-04T12:36:51.918Z] v1.3.0 [2023-10-04T12:36:51.918Z] v1.3.1 [2023-10-04T12:36:51.918Z] v2.0.0 [2023-10-04T12:36:51.918Z] v2.1.0 [2023-10-04T12:36:51.918Z] v2.1.1 [2023-10-04T12:36:51.918Z] v2.2.0 [2023-10-04T12:36:51.918Z] v2.3.0 [2023-10-04T12:36:51.918Z] v3.0 [2023-10-04T12:36:51.918Z] v3.0.0 [2023-10-04T12:36:51.918Z] v3.1.0-dev.1 [2023-10-04T12:36:51.918Z] v3.1.0-dev.10 [2023-10-04T12:36:51.918Z] v3.1.0-dev.11 [2023-10-04T12:36:51.918Z] v3.1.0-dev.12 [2023-10-04T12:36:51.918Z] v3.1.0-dev.13 [2023-10-04T12:36:51.918Z] v3.1.0-dev.14 [2023-10-04T12:36:51.918Z] v3.1.0-dev.15 [2023-10-04T12:36:51.918Z] v3.1.0-dev.16 [2023-10-04T12:36:51.918Z] v3.1.0-dev.17 [2023-10-04T12:36:51.918Z] v3.1.0-dev.18 [2023-10-04T12:36:51.918Z] v3.1.0-dev.19 [2023-10-04T12:36:51.918Z] v3.1.0-dev.2 [2023-10-04T12:36:51.918Z] v3.1.0-dev.20 [2023-10-04T12:36:51.918Z] v3.1.0-dev.21 [2023-10-04T12:36:51.918Z] v3.1.0-dev.3 [2023-10-04T12:36:51.918Z] v3.1.0-dev.4 [2023-10-04T12:36:51.918Z] v3.1.0-dev.5 [2023-10-04T12:36:51.918Z] v3.1.0-dev.6 [2023-10-04T12:36:51.918Z] v3.1.0-dev.7 [2023-10-04T12:36:51.918Z] v3.1.0-dev.8 [2023-10-04T12:36:51.918Z] v3.1.0-dev.9 [Pipeline] sh [2023-10-04T12:36:52.205Z] + lftools sign git-tag v3.1.0-dev.21 [2023-10-04T12:36:52.775Z] Signing Git tag with Sigul... [2023-10-04T12:36:52.775Z] Signing v3.1.0-dev.21 [Pipeline] echo [2023-10-04T12:36:53.351Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T12:36:53.630Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-04T12:36:53.636Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-04T12:36:53.658Z] $ docker stop --time=1 521627acd2a24285fa0ce482f2c924bf32e5bbac23ef683ca31911d27d1150ce [2023-10-04T12:36:54.949Z] $ docker rm -f --volumes 521627acd2a24285fa0ce482f2c924bf32e5bbac23ef683ca31911d27d1150ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-04T12:36:55.372Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-04T12:36:55.372Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:36:55.666Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T12:36:55.666Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T12:36:55.741Z] prd-ubuntu20.04-docker-8c-8g-8471 does not seem to be running inside a container [2023-10-04T12:36:55.776Z] $ 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-10-04T12:36:56.105Z] $ docker top 45e3d9499c95ad9f3f8d1ec22a69a869f16bfc2573e6a1f73c37f4a70308f8d4 -eo pid,comm [2023-10-04T12:36:56.150Z] 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-10-04T12:36:56.150Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-04T12:36:56.183Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-04T12:36:56.183Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-04T12:36:56.298Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-04T12:36:56.304Z] $ docker exec 45e3d9499c95ad9f3f8d1ec22a69a869f16bfc2573e6a1f73c37f4a70308f8d4 ssh-agent [2023-10-04T12:36:56.418Z] SSH_AUTH_SOCK=/tmp/ssh-D2jU9U6LkHUA/agent.32 [2023-10-04T12:36:56.418Z] SSH_AGENT_PID=38 [2023-10-04T12:36:56.423Z] Running ssh-add (command line suppressed) [2023-10-04T12:36:56.526Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13510747334536793933.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13510747334536793933.key) [2023-10-04T12:36:56.537Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-04T12:36:56.824Z] + git semver bump pre [2023-10-04T12:36:57.083Z] 2023-10-04 12:36:57,062 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-04T12:36:57.083Z] 2023-10-04 12:36:57,062 [bump_version] DEBUG bumping version:3.1.0-dev.21 on axis:pre with prefix:dev [2023-10-04T12:36:57.083Z] 2023-10-04 12:36:57,062 [bump_version] DEBUG bumped version:3.1.0-dev.22 [2023-10-04T12:36:57.083Z] 2023-10-04 12:36:57,062 [write_version] DEBUG write version:3.1.0-dev.22 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-10-04T12:36:57.083Z] 2023-10-04 12:36:57,062 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-04T12:36:57.083Z] 2023-10-04 12:36:57,062 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-04T12:36:57.083Z] 2023-10-04 12:36:57,064 [execute] INFO git cat-file --batch-check [2023-10-04T12:36:57.083Z] 2023-10-04 12:36:57,064 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-04T12:36:57.083Z] 2023-10-04 12:36:57,070 [execute] INFO git cat-file --batch [2023-10-04T12:36:57.083Z] 2023-10-04 12:36:57,071 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-04T12:36:57.083Z] 2023-10-04 12:36:57,077 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-04T12:36:57.083Z] 3.1.0-dev.22 [Pipeline] } [2023-10-04T12:36:57.354Z] $ docker exec --env ******** --env ******** 45e3d9499c95ad9f3f8d1ec22a69a869f16bfc2573e6a1f73c37f4a70308f8d4 ssh-agent -k [2023-10-04T12:36:57.437Z] unset SSH_AUTH_SOCK; [2023-10-04T12:36:57.437Z] unset SSH_AGENT_PID; [2023-10-04T12:36:57.437Z] echo Agent pid 38 killed; [2023-10-04T12:36:57.442Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-04T12:36:57.751Z] + git semver [Pipeline] } [2023-10-04T12:36:58.026Z] $ docker stop --time=1 45e3d9499c95ad9f3f8d1ec22a69a869f16bfc2573e6a1f73c37f4a70308f8d4 [2023-10-04T12:36:59.329Z] $ docker rm -f --volumes 45e3d9499c95ad9f3f8d1ec22a69a869f16bfc2573e6a1f73c37f4a70308f8d4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-04T12:36:59.673Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-04T12:36:59.673Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:36:59.975Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T12:36:59.975Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T12:37:00.051Z] prd-ubuntu20.04-docker-8c-8g-8471 does not seem to be running inside a container [2023-10-04T12:37:00.086Z] $ 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-10-04T12:37:00.428Z] $ docker top 1447e96f55af7407d85b909d422c059c8d66558f49a58ddc6e1f6517bbde5962 -eo pid,comm [2023-10-04T12:37:00.474Z] 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-10-04T12:37:00.474Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-04T12:37:00.510Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-04T12:37:00.510Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-04T12:37:00.614Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-04T12:37:00.619Z] $ docker exec 1447e96f55af7407d85b909d422c059c8d66558f49a58ddc6e1f6517bbde5962 ssh-agent [2023-10-04T12:37:00.725Z] SSH_AUTH_SOCK=/tmp/ssh-3mdGb9EbGtjR/agent.34 [2023-10-04T12:37:00.725Z] SSH_AGENT_PID=40 [2023-10-04T12:37:00.730Z] Running ssh-add (command line suppressed) [2023-10-04T12:37:00.839Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12040213542321746239.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12040213542321746239.key) [2023-10-04T12:37:00.852Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-04T12:37:01.196Z] + git semver push [2023-10-04T12:37:01.471Z] 2023-10-04 12:37:01,378 [run_push] DEBUG push [2023-10-04T12:37:01.471Z] 2023-10-04 12:37:01,378 [execute] INFO git cat-file --batch-check [2023-10-04T12:37:01.471Z] 2023-10-04 12:37:01,378 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-04T12:37:01.471Z] 2023-10-04 12:37:01,382 [execute] INFO git rev-list ecd01201ddaa0fc3d61d3fca448d5f94d2a2ac1c -- [2023-10-04T12:37:01.471Z] 2023-10-04 12:37:01,382 [execute] DEBUG Popen(['git', 'rev-list', 'ecd01201ddaa0fc3d61d3fca448d5f94d2a2ac1c', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-04T12:37:01.471Z] 2023-10-04 12:37:01,393 [execute] INFO git fetch -v origin [2023-10-04T12:37:01.471Z] 2023-10-04 12:37:01,394 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-04T12:37:02.086Z] 2023-10-04 12:37:01,972 [run_push] DEBUG no remote changes detected [2023-10-04T12:37:02.086Z] 2023-10-04 12:37:01,972 [execute] INFO git push origin semver [2023-10-04T12:37:02.086Z] 2023-10-04 12:37:01,973 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-04T12:37:03.501Z] 2023-10-04 12:37:03,253 [run_push] DEBUG push all version tags [2023-10-04T12:37:03.501Z] 2023-10-04 12:37:03,255 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-04T12:37:03.501Z] 2023-10-04 12:37:03,256 [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-10-04T12:37:04.439Z] 2023-10-04 12:37:04,166 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-04T12:37:04.439Z] 3.1.0-dev.22 [Pipeline] } [2023-10-04T12:37:04.452Z] $ docker exec --env ******** --env ******** 1447e96f55af7407d85b909d422c059c8d66558f49a58ddc6e1f6517bbde5962 ssh-agent -k [2023-10-04T12:37:04.550Z] unset SSH_AUTH_SOCK; [2023-10-04T12:37:04.550Z] unset SSH_AGENT_PID; [2023-10-04T12:37:04.551Z] echo Agent pid 40 killed; [2023-10-04T12:37:04.557Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-04T12:37:04.868Z] + git semver [Pipeline] } [2023-10-04T12:37:05.140Z] $ docker stop --time=1 1447e96f55af7407d85b909d422c059c8d66558f49a58ddc6e1f6517bbde5962 [2023-10-04T12:37:06.465Z] $ docker rm -f --volumes 1447e96f55af7407d85b909d422c059c8d66558f49a58ddc6e1f6517bbde5962 [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-10-04T12:37:07.030Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-10-04T12:37:07.030Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-10-04T12:37:07.030Z] total 16 [2023-10-04T12:37:07.030Z] drwxr-xr-x 3 root root 4096 Oct 4 12:29 . [2023-10-04T12:37:07.030Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 12:36 .. [2023-10-04T12:37:07.030Z] drwxr-xr-x 2 root root 4096 Oct 4 12:29 cost [2023-10-04T12:37:07.030Z] -rw-r--r-- 1 root root 89 Oct 4 12:29 cost.csv [2023-10-04T12:37:07.030Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-10-04T12:37:07.030Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-10-04T12:37:07.030Z] total 16 [2023-10-04T12:37:07.030Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 12:29 . [2023-10-04T12:37:07.030Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 12:36 .. [2023-10-04T12:37:07.030Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 12:29 cost [2023-10-04T12:37:07.030Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 4 12:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-04T12:37:07.321Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T12:37:08.179Z] ---> package-listing.sh [2023-10-04T12:37:08.179Z] ++ facter osfamily [2023-10-04T12:37:08.179Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-04T12:37:08.439Z] + OS_FAMILY=debian [2023-10-04T12:37:08.439Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-10-04T12:37:08.439Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-04T12:37:08.439Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-04T12:37:08.439Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-04T12:37:08.439Z] + PACKAGES=/tmp/packages_start.txt [2023-10-04T12:37:08.439Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-10-04T12:37:08.439Z] + PACKAGES=/tmp/packages_end.txt [2023-10-04T12:37:08.439Z] + case "${OS_FAMILY}" in [2023-10-04T12:37:08.439Z] + dpkg -l [2023-10-04T12:37:08.439Z] + grep '^ii' [2023-10-04T12:37:08.439Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-04T12:37:08.439Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-04T12:37:08.439Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-04T12:37:08.439Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-10-04T12:37:08.439Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-10-04T12:37:08.439Z] + 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-10-04T12:37:08.449Z] 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-10-04T12:37:08.727Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T12:37:09.285Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-04T12:37:09.285Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T12:37:09.360Z] prd-ubuntu20.04-docker-8c-8g-8471 does not seem to be running inside a container [2023-10-04T12:37:09.397Z] $ 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-10-04T12:37:09.627Z] $ docker top d1df6db57b9912f41364e50697f3199aee3b91378a7c93b4d7f2f368feb07d25 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T12:37:09.975Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-04T12:37:10.260Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-04T12:37:10.543Z] + ls /var/log/sa-host [2023-10-04T12:37:10.543Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-04T12:37:10.689Z] provisioning config files... [2023-10-04T12:37:10.698Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6043594965722940946tmp [Pipeline] { [Pipeline] echo [2023-10-04T12:37:10.713Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T12:37:10.992Z] ---> create-netrc.sh [Pipeline] } [2023-10-04T12:37:10.997Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-04T12:37:11.332Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-04T12:37:11.340Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T12:37:11.625Z] ---> sudo-logs.sh [2023-10-04T12:37:11.625Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-04T12:37:11.653Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T12:37:11.948Z] ---> job-cost.sh [2023-10-04T12:37:11.948Z] lf-activate-venv: SKIPPING [2023-10-04T12:37:11.948Z] DEBUG: total: 0.2199999988079071 [2023-10-04T12:37:11.948Z] INFO: Retrieving Stack Cost... [2023-10-04T12:37:12.517Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-04T12:37:12.776Z] INFO: Archiving Costs [Pipeline] echo [2023-10-04T12:37:12.788Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T12:37:13.071Z] ---> logs-deploy.sh [2023-10-04T12:37:13.071Z] lf-activate-venv: SKIPPING [2023-10-04T12:37:13.071Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/147 [2023-10-04T12:37:13.071Z] INFO: archiving workspace using pattern(s): [2023-10-04T12:37:14.020Z] Archives upload complete. [2023-10-04T12:37:14.020Z] INFO: archiving logs to Nexus