Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a4fb408bd6b294fc41552c8711cc9fe432fefed6 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-ssh3282365238791272637.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-ssh1318816134652171095.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-ssh11793350898494134675.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-ssh11076395099473313743.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-ssh8793676188766428679.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 ‘prd-ubuntu20.04-docker-8c-8g-12648’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-12636’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-12649 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision a4fb408bd6b294fc41552c8711cc9fe432fefed6 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#444)" > git config core.sparsecheckout # timeout=10 > git checkout -f a4fb408bd6b294fc41552c8711cc9fe432fefed6 # timeout=10 > git rev-list --no-walk 105c2ff86687b61d63b26fbbe95b93aee24690dc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-27T20:32:54.875Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-27T20:32:54.932Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-27T20:32:54.952Z] ========================================================= [2023-10-27T20:32:54.952Z] EdgeX Global Pipelines Version Info [2023-10-27T20:32:54.952Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-27T20:32:55.673Z] ------------------- [2023-10-27T20:32:55.673Z] stable info: [2023-10-27T20:32:55.673Z] ------------------- [2023-10-27T20:32:55.673Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-27T20:32:55.673Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-27T20:32:55.673Z] Message: update stable to v1.0.254 [2023-10-27T20:32:56.244Z] ------------------- [2023-10-27T20:32:56.244Z] experimental info: [2023-10-27T20:32:56.244Z] ------------------- [2023-10-27T20:32:56.245Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-27T20:32:56.245Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-27T20:32:56.245Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-27T20:32:56.416Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-10-27T20:32:56.432Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-10-27T20:32:56.444Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-27T20:32:56.459Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-27T20:32:56.474Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-27T20:32:56.486Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-27T20:32:56.501Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-27T20:32:56.519Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-27T20:32:56.536Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-27T20:32:56.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-27T20:32:56.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-27T20:32:56.582Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-10-27T20:32:56.598Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-27T20:32:56.611Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-27T20:32:56.624Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-27T20:32:56.635Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-27T20:32:56.651Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-27T20:32:56.667Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-27T20:32:56.684Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-27T20:32:56.700Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-27T20:32:56.718Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-27T20:32:56.735Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-27T20:32:56.746Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-27T20:32:56.755Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-27T20:32:56.764Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-27T20:32:56.773Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-27T20:32:56.782Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-27T20:32:56.791Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-27T20:32:56.801Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-27T20:32:56.810Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-27T20:32:56.819Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a4fb408bd6b294fc41552c8711cc9fe432fefed6 [Pipeline] echo [2023-10-27T20:32:56.829Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a4fb408 [Pipeline] echo [2023-10-27T20:32:56.839Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-27T20:32:56.887Z] provisioning config files... [2023-10-27T20:32:56.902Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9883338589295154202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T20:32:57.204Z] ---> docker-login.sh [2023-10-27T20:32:57.204Z] nexus3.edgexfoundry.org:10001 [2023-10-27T20:32:57.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T20:32:57.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T20:32:57.464Z] Configure a credential helper to remove this warning. See [2023-10-27T20:32:57.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T20:32:57.464Z] [2023-10-27T20:32:57.464Z] Login Succeeded [2023-10-27T20:32:57.464Z] nexus3.edgexfoundry.org:10002 [2023-10-27T20:32:57.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T20:32:57.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T20:32:57.464Z] Configure a credential helper to remove this warning. See [2023-10-27T20:32:57.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T20:32:57.464Z] [2023-10-27T20:32:57.464Z] Login Succeeded [2023-10-27T20:32:57.464Z] nexus3.edgexfoundry.org:10003 [2023-10-27T20:32:57.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T20:32:57.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T20:32:57.725Z] Configure a credential helper to remove this warning. See [2023-10-27T20:32:57.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T20:32:57.725Z] [2023-10-27T20:32:57.725Z] Login Succeeded [2023-10-27T20:32:57.725Z] nexus3.edgexfoundry.org:10004 [2023-10-27T20:32:57.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T20:32:57.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T20:32:57.725Z] Configure a credential helper to remove this warning. See [2023-10-27T20:32:57.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T20:32:57.725Z] [2023-10-27T20:32:57.725Z] Login Succeeded [2023-10-27T20:32:57.725Z] docker.io [2023-10-27T20:32:57.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T20:32:58.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T20:32:58.246Z] Configure a credential helper to remove this warning. See [2023-10-27T20:32:58.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T20:32:58.246Z] [2023-10-27T20:32:58.246Z] Login Succeeded [2023-10-27T20:32:58.246Z] ---> docker-login.sh ends [Pipeline] } [2023-10-27T20:32:58.254Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-27T20:32:58.644Z] + git rev-list -1 --merges a4fb408bd6b294fc41552c8711cc9fe432fefed6~1..a4fb408bd6b294fc41552c8711cc9fe432fefed6 [Pipeline] echo [2023-10-27T20:32:58.688Z] -----------> git rev-list -1 --merges a4fb408bd6b294fc41552c8711cc9fe432fefed6~1..a4fb408bd6b294fc41552c8711cc9fe432fefed6 a4fb408bd6b294fc41552c8711cc9fe432fefed6 [false] [Pipeline] sh [2023-10-27T20:32:58.975Z] + git log --format=format:%s -1 a4fb408bd6b294fc41552c8711cc9fe432fefed6 [Pipeline] echo [2023-10-27T20:32:58.991Z] ========================================================= [2023-10-27T20:32:58.991Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-27T20:32:58.991Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-27T20:32:59.309Z] + git log --format=format:%s -1 a4fb408bd6b294fc41552c8711cc9fe432fefed6 [Pipeline] echo [2023-10-27T20:32:59.318Z] [semverPrep] GIT_COMMIT: a4fb408bd6b294fc41552c8711cc9fe432fefed6, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#444) [Pipeline] echo [2023-10-27T20:32:59.330Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-27T20:32:59.682Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-27T20:32:59.682Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-27T20:32:59.682Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-27T20:32:59.682Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-27T20:32:59.682Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-27T20:32:59.682Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-27T20:32:59.682Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:33:00.028Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-27T20:33:00.028Z] [2023-10-27T20:33:00.028Z] 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-27T20:33:00.331Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-27T20:33:00.331Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-27T20:33:00.331Z] b85a868b505f: Pulling fs layer [2023-10-27T20:33:00.331Z] e2be974225ed: Pulling fs layer [2023-10-27T20:33:00.331Z] 339a4e72a1f5: Pulling fs layer [2023-10-27T20:33:00.331Z] 988bab9f4d93: Pulling fs layer [2023-10-27T20:33:00.331Z] 1469e6f7b9e6: Pulling fs layer [2023-10-27T20:33:00.331Z] eaf3925da568: Pulling fs layer [2023-10-27T20:33:00.331Z] bab4dde63d76: Pulling fs layer [2023-10-27T20:33:00.331Z] bde34c3a00c8: Pulling fs layer [2023-10-27T20:33:00.331Z] b352a97aabf1: Pulling fs layer [2023-10-27T20:33:00.331Z] 4872d77fe225: Pulling fs layer [2023-10-27T20:33:00.331Z] 5851b861e8e6: Pulling fs layer [2023-10-27T20:33:00.331Z] 988bab9f4d93: Waiting [2023-10-27T20:33:00.331Z] bde34c3a00c8: Waiting [2023-10-27T20:33:00.331Z] b352a97aabf1: Waiting [2023-10-27T20:33:00.331Z] 1469e6f7b9e6: Waiting [2023-10-27T20:33:00.331Z] 4872d77fe225: Waiting [2023-10-27T20:33:00.331Z] eaf3925da568: Waiting [2023-10-27T20:33:00.331Z] bab4dde63d76: Waiting [2023-10-27T20:33:00.331Z] 5851b861e8e6: Waiting [2023-10-27T20:33:00.331Z] e2be974225ed: Verifying Checksum [2023-10-27T20:33:00.331Z] e2be974225ed: Download complete [2023-10-27T20:33:00.331Z] 988bab9f4d93: Verifying Checksum [2023-10-27T20:33:00.331Z] 988bab9f4d93: Download complete [2023-10-27T20:33:00.331Z] 1469e6f7b9e6: Verifying Checksum [2023-10-27T20:33:00.331Z] 1469e6f7b9e6: Download complete [2023-10-27T20:33:00.589Z] 339a4e72a1f5: Verifying Checksum [2023-10-27T20:33:00.589Z] 339a4e72a1f5: Download complete [2023-10-27T20:33:00.589Z] eaf3925da568: Verifying Checksum [2023-10-27T20:33:00.589Z] eaf3925da568: Download complete [2023-10-27T20:33:00.589Z] bde34c3a00c8: Verifying Checksum [2023-10-27T20:33:00.589Z] bde34c3a00c8: Download complete [2023-10-27T20:33:00.589Z] b352a97aabf1: Verifying Checksum [2023-10-27T20:33:00.589Z] b352a97aabf1: Download complete [2023-10-27T20:33:00.589Z] 4872d77fe225: Download complete [2023-10-27T20:33:00.589Z] 5851b861e8e6: Verifying Checksum [2023-10-27T20:33:00.589Z] 5851b861e8e6: Download complete [2023-10-27T20:33:00.589Z] b85a868b505f: Download complete [2023-10-27T20:33:00.848Z] bab4dde63d76: Verifying Checksum [2023-10-27T20:33:00.848Z] bab4dde63d76: Download complete [2023-10-27T20:33:02.280Z] b85a868b505f: Pull complete [2023-10-27T20:33:02.280Z] e2be974225ed: Pull complete [2023-10-27T20:33:03.236Z] 339a4e72a1f5: Pull complete [2023-10-27T20:33:03.236Z] 988bab9f4d93: Pull complete [2023-10-27T20:33:03.494Z] 1469e6f7b9e6: Pull complete [2023-10-27T20:33:03.494Z] eaf3925da568: Pull complete [2023-10-27T20:33:05.430Z] bab4dde63d76: Pull complete [2023-10-27T20:33:05.430Z] bde34c3a00c8: Pull complete [2023-10-27T20:33:05.430Z] b352a97aabf1: Pull complete [2023-10-27T20:33:05.430Z] 4872d77fe225: Pull complete [2023-10-27T20:33:05.430Z] 5851b861e8e6: Pull complete [2023-10-27T20:33:05.430Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-27T20:33:05.689Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-27T20:33:05.689Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T20:33:05.825Z] prd-ubuntu20.04-docker-8c-8g-12649 does not seem to be running inside a container [2023-10-27T20:33:05.869Z] $ 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-27T20:33:10.287Z] $ docker top f47858fa7a50ac2d61dbb80eb5e56eb7b3341b57ffe4efcbeeb28d1eed1d367d -eo pid,comm [2023-10-27T20:33:10.342Z] 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-27T20:33:10.342Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-27T20:33:10.379Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-27T20:33:10.379Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-27T20:33:10.479Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-27T20:33:10.484Z] $ docker exec f47858fa7a50ac2d61dbb80eb5e56eb7b3341b57ffe4efcbeeb28d1eed1d367d ssh-agent [2023-10-27T20:33:10.588Z] SSH_AUTH_SOCK=/tmp/ssh-yzjQ9WOECyME/agent.33 [2023-10-27T20:33:10.588Z] SSH_AGENT_PID=39 [2023-10-27T20:33:10.596Z] Running ssh-add (command line suppressed) [2023-10-27T20:33:10.706Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6833218242616002343.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6833218242616002343.key) [2023-10-27T20:33:10.718Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-27T20:33:11.004Z] + git tag --points-at HEAD [Pipeline] } [2023-10-27T20:33:11.052Z] $ docker exec --env ******** --env ******** f47858fa7a50ac2d61dbb80eb5e56eb7b3341b57ffe4efcbeeb28d1eed1d367d ssh-agent -k [2023-10-27T20:33:11.157Z] unset SSH_AUTH_SOCK; [2023-10-27T20:33:11.158Z] unset SSH_AGENT_PID; [2023-10-27T20:33:11.159Z] echo Agent pid 39 killed; [2023-10-27T20:33:11.165Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-27T20:33:11.191Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-27T20:33:11.191Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-27T20:33:11.315Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-27T20:33:11.320Z] $ docker exec f47858fa7a50ac2d61dbb80eb5e56eb7b3341b57ffe4efcbeeb28d1eed1d367d ssh-agent [2023-10-27T20:33:11.454Z] SSH_AUTH_SOCK=/tmp/ssh-t1FGoArTBYIP/agent.70 [2023-10-27T20:33:11.454Z] SSH_AGENT_PID=76 [2023-10-27T20:33:11.459Z] Running ssh-add (command line suppressed) [2023-10-27T20:33:11.558Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16341797037241997811.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16341797037241997811.key) [2023-10-27T20:33:11.570Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-27T20:33:11.855Z] + git semver init [2023-10-27T20:33:12.114Z] 2023-10-27 20:33:12,079 [run_init] DEBUG init version:0.0.0 force:False [2023-10-27T20:33:12.114Z] 2023-10-27 20:33:12,081 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-10-27T20:33:12.114Z] 2023-10-27 20:33:12,082 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-10-27T20:33:12.114Z] 2023-10-27 20:33:12,082 [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-27T20:33:13.492Z] 2023-10-27 20:33:13,479 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-10-27T20:33:13.492Z] 2023-10-27 20:33:13,480 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-10-27T20:33:13.492Z] 2023-10-27 20:33:13,480 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-27T20:33:13.492Z] 2023-10-27 20:33:13,480 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-27T20:33:13.492Z] 3.1.0-dev.27 [Pipeline] } [2023-10-27T20:33:13.759Z] $ docker exec --env ******** --env ******** f47858fa7a50ac2d61dbb80eb5e56eb7b3341b57ffe4efcbeeb28d1eed1d367d ssh-agent -k [2023-10-27T20:33:13.862Z] unset SSH_AUTH_SOCK; [2023-10-27T20:33:13.863Z] unset SSH_AGENT_PID; [2023-10-27T20:33:13.863Z] echo Agent pid 76 killed; [2023-10-27T20:33:13.872Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-27T20:33:14.183Z] + git semver [Pipeline] } [2023-10-27T20:33:14.455Z] $ docker stop --time=1 f47858fa7a50ac2d61dbb80eb5e56eb7b3341b57ffe4efcbeeb28d1eed1d367d [2023-10-27T20:33:15.938Z] $ docker rm -f --volumes f47858fa7a50ac2d61dbb80eb5e56eb7b3341b57ffe4efcbeeb28d1eed1d367d [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-27T20:33:16.273Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-27T20:33:16.462Z] Stashed 1 file(s) [Pipeline] echo [2023-10-27T20:33:16.466Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.27 [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-27T20:33:16.622Z] provisioning config files... [2023-10-27T20:33:16.630Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11260040257883097375tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T20:33:16.927Z] ---> docker-login.sh [2023-10-27T20:33:16.927Z] nexus3.edgexfoundry.org:10001 [2023-10-27T20:33:16.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T20:33:16.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T20:33:16.928Z] Configure a credential helper to remove this warning. See [2023-10-27T20:33:16.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T20:33:16.928Z] [2023-10-27T20:33:16.928Z] Login Succeeded [2023-10-27T20:33:16.928Z] nexus3.edgexfoundry.org:10002 [2023-10-27T20:33:16.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T20:33:16.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T20:33:16.928Z] Configure a credential helper to remove this warning. See [2023-10-27T20:33:16.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T20:33:16.928Z] [2023-10-27T20:33:16.928Z] Login Succeeded [2023-10-27T20:33:16.928Z] nexus3.edgexfoundry.org:10003 [2023-10-27T20:33:17.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T20:33:17.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T20:33:17.186Z] Configure a credential helper to remove this warning. See [2023-10-27T20:33:17.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T20:33:17.186Z] [2023-10-27T20:33:17.186Z] Login Succeeded [2023-10-27T20:33:17.186Z] nexus3.edgexfoundry.org:10004 [2023-10-27T20:33:17.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T20:33:17.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T20:33:17.186Z] Configure a credential helper to remove this warning. See [2023-10-27T20:33:17.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T20:33:17.186Z] [2023-10-27T20:33:17.186Z] Login Succeeded [2023-10-27T20:33:17.186Z] docker.io [2023-10-27T20:33:17.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T20:33:17.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T20:33:17.445Z] Configure a credential helper to remove this warning. See [2023-10-27T20:33:17.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T20:33:17.445Z] [2023-10-27T20:33:17.445Z] Login Succeeded [2023-10-27T20:33:17.445Z] ---> docker-login.sh ends [Pipeline] } [2023-10-27T20:33:17.453Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-27T20:33:17.518Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T20:33:17.533Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T20:33:17.547Z] ========================================================= [2023-10-27T20:33:17.547Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-27T20:33:17.547Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:33:17.850Z] + 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-27T20:33:17.850Z] Sending build context to Docker daemon 23.67MB [2023-10-27T20:33:17.850Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-27T20:33:17.850Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-27T20:33:18.112Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-27T20:33:18.112Z] 7264a8db6415: Pulling fs layer [2023-10-27T20:33:18.112Z] c4d48a809fc2: Pulling fs layer [2023-10-27T20:33:18.112Z] 4f1c88b9dad5: Pulling fs layer [2023-10-27T20:33:18.112Z] ad3a456e5733: Pulling fs layer [2023-10-27T20:33:18.112Z] 33e27b845d1e: Pulling fs layer [2023-10-27T20:33:18.112Z] c68163c4e522: Pulling fs layer [2023-10-27T20:33:18.112Z] 50da416c3ac9: Pulling fs layer [2023-10-27T20:33:18.112Z] 23d2d4c4bb30: Pulling fs layer [2023-10-27T20:33:18.112Z] ad3a456e5733: Waiting [2023-10-27T20:33:18.112Z] 33e27b845d1e: Waiting [2023-10-27T20:33:18.112Z] c68163c4e522: Waiting [2023-10-27T20:33:18.112Z] 50da416c3ac9: Waiting [2023-10-27T20:33:18.112Z] 23d2d4c4bb30: Waiting [2023-10-27T20:33:18.112Z] c4d48a809fc2: Verifying Checksum [2023-10-27T20:33:18.112Z] c4d48a809fc2: Download complete [2023-10-27T20:33:18.112Z] 33e27b845d1e: Verifying Checksum [2023-10-27T20:33:18.112Z] 33e27b845d1e: Download complete [2023-10-27T20:33:18.112Z] 7264a8db6415: Verifying Checksum [2023-10-27T20:33:18.112Z] 7264a8db6415: Download complete [2023-10-27T20:33:18.112Z] c68163c4e522: Verifying Checksum [2023-10-27T20:33:18.112Z] c68163c4e522: Download complete [2023-10-27T20:33:18.370Z] 7264a8db6415: Pull complete [2023-10-27T20:33:18.370Z] 23d2d4c4bb30: Verifying Checksum [2023-10-27T20:33:18.370Z] 23d2d4c4bb30: Download complete [2023-10-27T20:33:18.370Z] c4d48a809fc2: Pull complete [2023-10-27T20:33:18.628Z] 4f1c88b9dad5: Verifying Checksum [2023-10-27T20:33:18.628Z] 4f1c88b9dad5: Download complete [2023-10-27T20:33:18.889Z] 50da416c3ac9: Verifying Checksum [2023-10-27T20:33:18.889Z] 50da416c3ac9: Download complete [2023-10-27T20:33:22.173Z] 4f1c88b9dad5: Pull complete [2023-10-27T20:33:22.173Z] ad3a456e5733: Pull complete [2023-10-27T20:33:22.173Z] 33e27b845d1e: Pull complete [2023-10-27T20:33:22.173Z] c68163c4e522: Pull complete [2023-10-27T20:33:24.702Z] 50da416c3ac9: Pull complete [2023-10-27T20:33:24.961Z] 23d2d4c4bb30: Pull complete [2023-10-27T20:33:24.961Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-27T20:33:24.961Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-27T20:33:24.961Z] ---> 0786185ac409 [2023-10-27T20:33:24.961Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-27T20:33:31.574Z] Still waiting to schedule task [2023-10-27T20:33:31.575Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-27T20:33:33.119Z] ---> Running in e3f21663cfb7 [2023-10-27T20:33:33.120Z] Removing intermediate container e3f21663cfb7 [2023-10-27T20:33:33.120Z] ---> caa08a329269 [2023-10-27T20:33:33.120Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-27T20:33:33.120Z] ---> Running in 171b82726a1e [2023-10-27T20:33:33.120Z] Removing intermediate container 171b82726a1e [2023-10-27T20:33:33.120Z] ---> e7e4d9cc4abd [2023-10-27T20:33:33.120Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-10-27T20:33:33.120Z] ---> Running in 07d110be9fa7 [2023-10-27T20:33:33.120Z] Removing intermediate container 07d110be9fa7 [2023-10-27T20:33:33.120Z] ---> aef1f6a608cb [2023-10-27T20:33:33.120Z] Step 6/12 : WORKDIR /device-virtual-go [2023-10-27T20:33:33.120Z] ---> Running in 3f222986589c [2023-10-27T20:33:33.120Z] Removing intermediate container 3f222986589c [2023-10-27T20:33:33.120Z] ---> 4f294f021e4f [2023-10-27T20:33:33.120Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-27T20:33:33.120Z] ---> Running in 22ec182bffc0 [2023-10-27T20:33:33.120Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-27T20:33:33.379Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-27T20:33:33.697Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-27T20:33:33.697Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-27T20:33:33.697Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-27T20:33:33.697Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-27T20:33:33.697Z] Executing busybox-1.36.1-r2.trigger [2023-10-27T20:33:33.697Z] OK: 268 MiB in 56 packages [2023-10-27T20:33:36.232Z] Removing intermediate container 22ec182bffc0 [2023-10-27T20:33:36.232Z] ---> f4e108366537 [2023-10-27T20:33:36.232Z] Step 8/12 : COPY go.mod vendor* ./ [2023-10-27T20:33:36.232Z] ---> 8c0b648ef1f5 [2023-10-27T20:33:36.232Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-27T20:33:36.232Z] ---> Running in 45732b4595f4 [2023-10-27T20:34:32.507Z] Removing intermediate container 45732b4595f4 [2023-10-27T20:34:32.507Z] ---> 9e76db17ba5c [2023-10-27T20:34:32.507Z] Step 10/12 : COPY . . [2023-10-27T20:34:32.507Z] ---> 1d13951e368d [2023-10-27T20:34:32.507Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-27T20:34:32.507Z] ---> Running in 4bd33880cd5a [2023-10-27T20:34:32.507Z] Removing intermediate container 4bd33880cd5a [2023-10-27T20:34:32.507Z] ---> 213634347f05 [2023-10-27T20:34:32.507Z] Step 12/12 : RUN $MAKE [2023-10-27T20:34:32.507Z] ---> Running in 1e56e9d6f15a [2023-10-27T20:34:32.507Z] noop [2023-10-27T20:34:32.507Z] Removing intermediate container 1e56e9d6f15a [2023-10-27T20:34:32.507Z] ---> 801c528623b7 [2023-10-27T20:34:32.507Z] Successfully built 801c528623b7 [2023-10-27T20:34:32.507Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:34:32.822Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-27T20:34:32.822Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T20:34:32.888Z] prd-ubuntu20.04-docker-8c-8g-12649 does not seem to be running inside a container [2023-10-27T20:34:32.915Z] $ 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-27T20:34:33.243Z] $ docker top 650e22b2aeef1eb7b708dc7b8c5e04ae544c206d29ace8703bd147498e73d378 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-27T20:34:33.579Z] + go version [2023-10-27T20:34:33.579Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-27T20:34:33.592Z] $ docker stop --time=1 650e22b2aeef1eb7b708dc7b8c5e04ae544c206d29ace8703bd147498e73d378 [2023-10-27T20:34:34.894Z] $ docker rm -f --volumes 650e22b2aeef1eb7b708dc7b8c5e04ae544c206d29ace8703bd147498e73d378 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:34:35.287Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-27T20:34:35.287Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T20:34:35.354Z] prd-ubuntu20.04-docker-8c-8g-12649 does not seem to be running inside a container [2023-10-27T20:34:35.385Z] $ 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-27T20:34:35.691Z] $ docker top f1122d0c7de074c204e6b5a50d08748f922623834f468b605bfc77b5a726b226 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-27T20:34:36.029Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-10-27T20:34:36.327Z] + make test [2023-10-27T20:34:36.327Z] go test ./... -coverprofile=coverage.out [2023-10-27T20:34:37.705Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-10-27T20:34:47.675Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-10-27T20:34:47.676Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.016s coverage: 58.6% of statements [2023-10-27T20:34:54.237Z] go vet ./... [2023-10-27T20:34:57.513Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-27T20:34:57.513Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-27T20:34:57.513Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-27T20:34:57.782Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-27T20:34:57.796Z] $ docker stop --time=1 f1122d0c7de074c204e6b5a50d08748f922623834f468b605bfc77b5a726b226 [2023-10-27T20:35:01.580Z] $ docker rm -f --volumes f1122d0c7de074c204e6b5a50d08748f922623834f468b605bfc77b5a726b226 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-27T20:35:02.170Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-27T20:35:02.233Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-27T20:35:02.680Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-27T20:35:02.963Z] + ls -al . [2023-10-27T20:35:02.964Z] total 200 [2023-10-27T20:35:02.964Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 20:34 . [2023-10-27T20:35:02.964Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 20:32 .. [2023-10-27T20:35:02.964Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 20:34 .git [2023-10-27T20:35:02.964Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 20:32 .github [2023-10-27T20:35:02.964Z] -rw-rw-r-- 1 jenkins jenkins 272 Oct 27 20:32 .gitignore [2023-10-27T20:35:02.964Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 27 20:32 .golangci.yml [2023-10-27T20:35:02.964Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 20:33 .semver [2023-10-27T20:35:02.964Z] -rw-rw-r-- 1 jenkins jenkins 9708 Oct 27 20:32 Attribution.txt [2023-10-27T20:35:02.964Z] -rw-rw-r-- 1 jenkins jenkins 14372 Oct 27 20:32 CHANGELOG.md [2023-10-27T20:35:02.964Z] -rw-rw-r-- 1 jenkins jenkins 1646 Oct 27 20:32 Dockerfile [2023-10-27T20:35:02.964Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 20:32 GOVERNANCE.md [2023-10-27T20:35:02.964Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 27 20:32 Jenkinsfile [2023-10-27T20:35:02.964Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 27 20:32 LICENSE [2023-10-27T20:35:02.964Z] -rw-rw-r-- 1 jenkins jenkins 1947 Oct 27 20:32 Makefile [2023-10-27T20:35:02.964Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 27 20:32 OWNERS.md [2023-10-27T20:35:02.964Z] -rw-rw-r-- 1 jenkins jenkins 4103 Oct 27 20:32 README.md [2023-10-27T20:35:02.964Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 27 20:33 VERSION [2023-10-27T20:35:02.964Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 20:32 bin [2023-10-27T20:35:02.964Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 20:32 cmd [2023-10-27T20:35:02.964Z] -rw-r--r-- 1 jenkins jenkins 43063 Oct 27 20:34 coverage.out [2023-10-27T20:35:02.964Z] -rw-rw-r-- 1 jenkins jenkins 3638 Oct 27 20:32 go.mod [2023-10-27T20:35:02.964Z] -rw-rw-r-- 1 jenkins jenkins 34490 Oct 27 20:32 go.sum [2023-10-27T20:35:02.964Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 20:32 internal [2023-10-27T20:35:02.964Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 27 20:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:35:03.291Z] + 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=a4fb408bd6b294fc41552c8711cc9fe432fefed6 --label arch=amd64 --label version=3.1.0-dev.27 . [2023-10-27T20:35:03.291Z] Sending build context to Docker daemon 23.71MB [2023-10-27T20:35:03.291Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-27T20:35:03.291Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-27T20:35:03.291Z] ---> 801c528623b7 [2023-10-27T20:35:03.291Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-27T20:35:03.860Z] ---> Running in 35a7569fddfd [2023-10-27T20:35:03.860Z] Removing intermediate container 35a7569fddfd [2023-10-27T20:35:03.860Z] ---> 0548f4280c7a [2023-10-27T20:35:03.860Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-27T20:35:03.860Z] ---> Running in 15405cb11f85 [2023-10-27T20:35:03.860Z] Removing intermediate container 15405cb11f85 [2023-10-27T20:35:03.860Z] ---> ece36b898ede [2023-10-27T20:35:03.860Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-10-27T20:35:03.860Z] ---> Running in ff83e23ec58e [2023-10-27T20:35:04.118Z] Removing intermediate container ff83e23ec58e [2023-10-27T20:35:04.118Z] ---> 7eefffd49055 [2023-10-27T20:35:04.118Z] Step 6/25 : WORKDIR /device-virtual-go [2023-10-27T20:35:04.118Z] ---> Running in 6592e8f88255 [2023-10-27T20:35:04.118Z] Removing intermediate container 6592e8f88255 [2023-10-27T20:35:04.118Z] ---> f8df641cc0c5 [2023-10-27T20:35:04.118Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-27T20:35:04.118Z] ---> Running in 18c9cbd860c2 [2023-10-27T20:35:04.375Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-27T20:35:04.635Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-27T20:35:04.897Z] OK: 268 MiB in 56 packages [2023-10-27T20:35:05.155Z] Removing intermediate container 18c9cbd860c2 [2023-10-27T20:35:05.155Z] ---> 6a8e24d80f3a [2023-10-27T20:35:05.155Z] Step 8/25 : COPY go.mod vendor* ./ [2023-10-27T20:35:05.155Z] ---> 14d35c190cd3 [2023-10-27T20:35:05.155Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-27T20:35:05.415Z] ---> Running in b06058ac32e1 [2023-10-27T20:35:05.984Z] Removing intermediate container b06058ac32e1 [2023-10-27T20:35:05.984Z] ---> 3c30725c3e47 [2023-10-27T20:35:05.984Z] Step 10/25 : COPY . . [2023-10-27T20:35:06.918Z] ---> f939038cc3eb [2023-10-27T20:35:06.918Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-27T20:35:06.918Z] ---> Running in d995740212c7 [2023-10-27T20:35:06.918Z] Removing intermediate container d995740212c7 [2023-10-27T20:35:06.918Z] ---> 864e314fd9c1 [2023-10-27T20:35:06.918Z] Step 12/25 : RUN $MAKE [2023-10-27T20:35:06.918Z] ---> Running in 9e06023c2eb2 [2023-10-27T20:35:07.175Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.27 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-10-27T20:35:29.180Z] Removing intermediate container 9e06023c2eb2 [2023-10-27T20:35:29.180Z] ---> 9a7420a4ae4e [2023-10-27T20:35:29.180Z] Step 13/25 : FROM alpine:3.18 [2023-10-27T20:35:29.180Z] 3.18: Pulling from library/alpine [2023-10-27T20:35:29.180Z] 96526aa774ef: Pulling fs layer [2023-10-27T20:35:29.180Z] 96526aa774ef: Download complete [2023-10-27T20:35:29.180Z] 96526aa774ef: Pull complete [2023-10-27T20:35:29.180Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-27T20:35:29.180Z] Status: Downloaded newer image for alpine:3.18 [2023-10-27T20:35:29.180Z] ---> 8ca4688f4f35 [2023-10-27T20:35:29.180Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-10-27T20:35:29.180Z] ---> Running in fcf2a776134b [2023-10-27T20:35:29.180Z] Removing intermediate container fcf2a776134b [2023-10-27T20:35:29.180Z] ---> 4bd86d7abe1c [2023-10-27T20:35:29.180Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-10-27T20:35:29.180Z] ---> Running in 6b7d1af67b85 [2023-10-27T20:35:29.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-27T20:35:29.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-27T20:35:29.180Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-27T20:35:29.180Z] Executing busybox-1.36.1-r2.trigger [2023-10-27T20:35:29.180Z] OK: 7 MiB in 16 packages [2023-10-27T20:35:29.180Z] Removing intermediate container 6b7d1af67b85 [2023-10-27T20:35:29.180Z] ---> f8ad2bb8c60e [2023-10-27T20:35:29.180Z] Step 16/25 : WORKDIR / [2023-10-27T20:35:29.180Z] ---> Running in ce2993db1313 [2023-10-27T20:35:29.180Z] Removing intermediate container ce2993db1313 [2023-10-27T20:35:29.180Z] ---> 8613731b334a [2023-10-27T20:35:29.180Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-10-27T20:35:29.180Z] ---> 596f166c6a55 [2023-10-27T20:35:29.180Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-10-27T20:35:29.437Z] ---> d03b8c6c29af [2023-10-27T20:35:29.437Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-10-27T20:35:30.371Z] ---> 0bc87623e498 [2023-10-27T20:35:30.371Z] Step 20/25 : EXPOSE 59900 [2023-10-27T20:35:30.371Z] ---> Running in 2aa53bcda26e [2023-10-27T20:35:30.371Z] Removing intermediate container 2aa53bcda26e [2023-10-27T20:35:30.371Z] ---> 1e8993fb06e1 [2023-10-27T20:35:30.371Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-10-27T20:35:30.371Z] ---> Running in 4504be550878 [2023-10-27T20:35:30.371Z] Removing intermediate container 4504be550878 [2023-10-27T20:35:30.371Z] ---> cb491f4e3515 [2023-10-27T20:35:30.371Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-27T20:35:30.371Z] ---> Running in 3890e4c6c84d [2023-10-27T20:35:30.371Z] Removing intermediate container 3890e4c6c84d [2023-10-27T20:35:30.371Z] ---> 4479674b035b [2023-10-27T20:35:30.371Z] Step 23/25 : LABEL arch=amd64 [2023-10-27T20:35:30.633Z] ---> Running in 81cb2a53b9be [2023-10-27T20:35:30.633Z] Removing intermediate container 81cb2a53b9be [2023-10-27T20:35:30.633Z] ---> cdfd7c4b1d50 [2023-10-27T20:35:30.633Z] Step 24/25 : LABEL git_sha=a4fb408bd6b294fc41552c8711cc9fe432fefed6 [2023-10-27T20:35:30.633Z] ---> Running in a2b8d3bc37fb [2023-10-27T20:35:30.633Z] Removing intermediate container a2b8d3bc37fb [2023-10-27T20:35:30.633Z] ---> 6ff036b3e6b6 [2023-10-27T20:35:30.633Z] Step 25/25 : LABEL version=3.1.0-dev.27 [2023-10-27T20:35:30.633Z] ---> Running in 35d66999d8f4 [2023-10-27T20:35:30.895Z] Removing intermediate container 35d66999d8f4 [2023-10-27T20:35:30.895Z] ---> 3731dfb0b701 [2023-10-27T20:35:30.895Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-27T20:35:30.895Z] Successfully built 3731dfb0b701 [2023-10-27T20:35:30.895Z] 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-27T20:35:30.996Z] provisioning config files... [2023-10-27T20:35:31.003Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2751482870304478587tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T20:35:31.294Z] ---> docker-login.sh [2023-10-27T20:35:31.294Z] nexus3.edgexfoundry.org:10001 [2023-10-27T20:35:31.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T20:35:31.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T20:35:31.294Z] Configure a credential helper to remove this warning. See [2023-10-27T20:35:31.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T20:35:31.294Z] [2023-10-27T20:35:31.294Z] Login Succeeded [2023-10-27T20:35:31.294Z] nexus3.edgexfoundry.org:10002 [2023-10-27T20:35:31.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T20:35:31.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T20:35:31.294Z] Configure a credential helper to remove this warning. See [2023-10-27T20:35:31.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T20:35:31.294Z] [2023-10-27T20:35:31.294Z] Login Succeeded [2023-10-27T20:35:31.294Z] nexus3.edgexfoundry.org:10003 [2023-10-27T20:35:31.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T20:35:31.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T20:35:31.553Z] Configure a credential helper to remove this warning. See [2023-10-27T20:35:31.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T20:35:31.553Z] [2023-10-27T20:35:31.553Z] Login Succeeded [2023-10-27T20:35:31.553Z] nexus3.edgexfoundry.org:10004 [2023-10-27T20:35:31.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T20:35:31.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T20:35:31.553Z] Configure a credential helper to remove this warning. See [2023-10-27T20:35:31.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T20:35:31.553Z] [2023-10-27T20:35:31.553Z] Login Succeeded [2023-10-27T20:35:31.553Z] docker.io [2023-10-27T20:35:31.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T20:35:31.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T20:35:31.812Z] Configure a credential helper to remove this warning. See [2023-10-27T20:35:31.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T20:35:31.812Z] [2023-10-27T20:35:31.812Z] Login Succeeded [2023-10-27T20:35:31.812Z] ---> docker-login.sh ends [Pipeline] } [2023-10-27T20:35:31.820Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-27T20:35:31.846Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T20:35:31.862Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-10-27T20:35:31.862Z] a4fb408bd6b294fc41552c8711cc9fe432fefed6 [2023-10-27T20:35:31.862Z] latest [2023-10-27T20:35:31.862Z] 3.1.0-dev.27 [2023-10-27T20:35:31.862Z] a4fb408bd6b294fc41552c8711cc9fe432fefed6-3.1.0-dev.27 [2023-10-27T20:35:31.862Z] main [2023-10-27T20:35:31.862Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:35:32.165Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:a4fb408bd6b294fc41552c8711cc9fe432fefed6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:35:32.471Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:a4fb408bd6b294fc41552c8711cc9fe432fefed6 [2023-10-27T20:35:32.471Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-10-27T20:35:32.471Z] c83c598c7630: Preparing [2023-10-27T20:35:32.471Z] 1ab0428c9ea0: Preparing [2023-10-27T20:35:32.471Z] b965481cda1f: Preparing [2023-10-27T20:35:32.471Z] 0e92cc022671: Preparing [2023-10-27T20:35:32.471Z] cc2447e1835a: Preparing [2023-10-27T20:35:32.471Z] cc2447e1835a: Layer already exists [2023-10-27T20:35:32.471Z] 1ab0428c9ea0: Pushed [2023-10-27T20:35:32.471Z] b965481cda1f: Pushed [2023-10-27T20:35:32.471Z] 0e92cc022671: Pushed [2023-10-27T20:35:35.000Z] c83c598c7630: Pushed [2023-10-27T20:35:35.258Z] a4fb408bd6b294fc41552c8711cc9fe432fefed6: digest: sha256:cc836dca4d350f08a4ed181f3611ff9589dc88d609ff00f90042425f0183cc17 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:35:35.559Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:35:35.870Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-10-27T20:35:35.870Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-10-27T20:35:35.870Z] c83c598c7630: Preparing [2023-10-27T20:35:35.870Z] 1ab0428c9ea0: Preparing [2023-10-27T20:35:35.870Z] b965481cda1f: Preparing [2023-10-27T20:35:35.870Z] 0e92cc022671: Preparing [2023-10-27T20:35:35.870Z] cc2447e1835a: Preparing [2023-10-27T20:35:35.870Z] cc2447e1835a: Layer already exists [2023-10-27T20:35:35.870Z] 0e92cc022671: Layer already exists [2023-10-27T20:35:35.870Z] 1ab0428c9ea0: Layer already exists [2023-10-27T20:35:35.870Z] b965481cda1f: Layer already exists [2023-10-27T20:35:35.870Z] c83c598c7630: Layer already exists [2023-10-27T20:35:35.870Z] latest: digest: sha256:cc836dca4d350f08a4ed181f3611ff9589dc88d609ff00f90042425f0183cc17 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:35:36.184Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:35:36.493Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.27 [2023-10-27T20:35:36.493Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-10-27T20:35:36.493Z] c83c598c7630: Preparing [2023-10-27T20:35:36.493Z] 1ab0428c9ea0: Preparing [2023-10-27T20:35:36.493Z] b965481cda1f: Preparing [2023-10-27T20:35:36.493Z] 0e92cc022671: Preparing [2023-10-27T20:35:36.493Z] cc2447e1835a: Preparing [2023-10-27T20:35:36.493Z] 0e92cc022671: Layer already exists [2023-10-27T20:35:36.493Z] c83c598c7630: Layer already exists [2023-10-27T20:35:36.493Z] cc2447e1835a: Layer already exists [2023-10-27T20:35:36.494Z] 1ab0428c9ea0: Layer already exists [2023-10-27T20:35:36.494Z] b965481cda1f: Layer already exists [2023-10-27T20:35:36.494Z] 3.1.0-dev.27: digest: sha256:cc836dca4d350f08a4ed181f3611ff9589dc88d609ff00f90042425f0183cc17 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:35:36.796Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:a4fb408bd6b294fc41552c8711cc9fe432fefed6-3.1.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:35:37.105Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:a4fb408bd6b294fc41552c8711cc9fe432fefed6-3.1.0-dev.27 [2023-10-27T20:35:37.105Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-10-27T20:35:37.105Z] c83c598c7630: Preparing [2023-10-27T20:35:37.105Z] 1ab0428c9ea0: Preparing [2023-10-27T20:35:37.105Z] b965481cda1f: Preparing [2023-10-27T20:35:37.105Z] 0e92cc022671: Preparing [2023-10-27T20:35:37.105Z] cc2447e1835a: Preparing [2023-10-27T20:35:37.105Z] cc2447e1835a: Layer already exists [2023-10-27T20:35:37.105Z] b965481cda1f: Layer already exists [2023-10-27T20:35:37.105Z] c83c598c7630: Layer already exists [2023-10-27T20:35:37.105Z] 0e92cc022671: Layer already exists [2023-10-27T20:35:37.105Z] 1ab0428c9ea0: Layer already exists [2023-10-27T20:35:37.105Z] a4fb408bd6b294fc41552c8711cc9fe432fefed6-3.1.0-dev.27: digest: sha256:cc836dca4d350f08a4ed181f3611ff9589dc88d609ff00f90042425f0183cc17 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:35:37.420Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:35:37.723Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-10-27T20:35:37.724Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-10-27T20:35:37.724Z] c83c598c7630: Preparing [2023-10-27T20:35:37.724Z] 1ab0428c9ea0: Preparing [2023-10-27T20:35:37.724Z] b965481cda1f: Preparing [2023-10-27T20:35:37.724Z] 0e92cc022671: Preparing [2023-10-27T20:35:37.724Z] cc2447e1835a: Preparing [2023-10-27T20:35:37.724Z] 0e92cc022671: Layer already exists [2023-10-27T20:35:37.724Z] cc2447e1835a: Layer already exists [2023-10-27T20:35:37.724Z] b965481cda1f: Layer already exists [2023-10-27T20:35:37.724Z] 1ab0428c9ea0: Layer already exists [2023-10-27T20:35:37.724Z] c83c598c7630: Layer already exists [2023-10-27T20:35:37.724Z] main: digest: sha256:cc836dca4d350f08a4ed181f3611ff9589dc88d609ff00f90042425f0183cc17 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-27T20:35:37.776Z] ===================================================== [Pipeline] echo [2023-10-27T20:35:37.787Z] taggedImages: [2023-10-27T20:35:37.787Z] - nexus3.edgexfoundry.org:10004/device-virtual:a4fb408bd6b294fc41552c8711cc9fe432fefed6 [2023-10-27T20:35:37.787Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-10-27T20:35:37.787Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.27 [2023-10-27T20:35:37.787Z] - nexus3.edgexfoundry.org:10004/device-virtual:a4fb408bd6b294fc41552c8711cc9fe432fefed6-3.1.0-dev.27 [2023-10-27T20:35:37.787Z] - 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-27T20:35:38.149Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-27T20:35:38.149Z] [2023-10-27T20:35:38.149Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:35:38.446Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-27T20:35:38.447Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-27T20:35:38.447Z] 5eb5b503b376: Pulling fs layer [2023-10-27T20:35:38.447Z] 5c69ac0246d0: Pulling fs layer [2023-10-27T20:35:38.447Z] ec43610c2a17: Pulling fs layer [2023-10-27T20:35:38.447Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-27T20:35:38.447Z] 33b1e0a273af: Pulling fs layer [2023-10-27T20:35:38.447Z] 5d3b04190fa2: Pulling fs layer [2023-10-27T20:35:38.447Z] 2f39f015ded8: Pulling fs layer [2023-10-27T20:35:38.447Z] 3a2ae6a8a46f: Waiting [2023-10-27T20:35:38.447Z] 33b1e0a273af: Waiting [2023-10-27T20:35:38.447Z] 5d3b04190fa2: Waiting [2023-10-27T20:35:38.447Z] 2f39f015ded8: Waiting [2023-10-27T20:35:38.447Z] 5c69ac0246d0: Verifying Checksum [2023-10-27T20:35:38.447Z] 5c69ac0246d0: Download complete [2023-10-27T20:35:38.447Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-27T20:35:38.447Z] 3a2ae6a8a46f: Download complete [2023-10-27T20:35:38.447Z] ec43610c2a17: Verifying Checksum [2023-10-27T20:35:38.447Z] ec43610c2a17: Download complete [2023-10-27T20:35:38.447Z] 33b1e0a273af: Verifying Checksum [2023-10-27T20:35:38.447Z] 33b1e0a273af: Download complete [2023-10-27T20:35:38.447Z] 5d3b04190fa2: Verifying Checksum [2023-10-27T20:35:38.447Z] 5d3b04190fa2: Download complete [2023-10-27T20:35:38.705Z] 5eb5b503b376: Verifying Checksum [2023-10-27T20:35:38.705Z] 5eb5b503b376: Download complete [2023-10-27T20:35:39.269Z] 2f39f015ded8: Verifying Checksum [2023-10-27T20:35:39.269Z] 2f39f015ded8: Download complete [2023-10-27T20:35:39.834Z] 5eb5b503b376: Pull complete [2023-10-27T20:35:40.092Z] 5c69ac0246d0: Pull complete [2023-10-27T20:35:40.350Z] ec43610c2a17: Pull complete [2023-10-27T20:35:40.350Z] 3a2ae6a8a46f: Pull complete [2023-10-27T20:35:40.608Z] 33b1e0a273af: Pull complete [2023-10-27T20:35:40.866Z] 5d3b04190fa2: Pull complete [2023-10-27T20:35:45.045Z] 2f39f015ded8: Pull complete [2023-10-27T20:35:45.045Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-27T20:35:45.045Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-27T20:35:45.045Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T20:35:45.120Z] prd-ubuntu20.04-docker-8c-8g-12649 does not seem to be running inside a container [2023-10-27T20:35:45.144Z] $ 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-27T20:35:49.869Z] $ docker top ca62b702b9f0baef96d10b58385f597c74c62f51bcb65419be010c151adb3a80 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T20:35:50.244Z] ---> job-cost.sh [2023-10-27T20:35:50.245Z] lf-activate-venv: SKIPPING [2023-10-27T20:35:50.245Z] INFO: No Stack... [2023-10-27T20:35:50.504Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-27T20:35:51.071Z] INFO: Archiving Costs [Pipeline] sh [2023-10-27T20:35:51.358Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2023-10-27T20:35:51.358Z] + cut -d, -f6 [Pipeline] lock [2023-10-27T20:35:51.371Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-153-stack-cost] [2023-10-27T20:35:51.377Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-153-stack-cost] did not exist. Created. [2023-10-27T20:35:51.377Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-153-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-27T20:35:51.675Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-27T20:35:51.697Z] Stashed 1 file(s) [Pipeline] } [2023-10-27T20:35:51.703Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-153-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-27T20:35:51.721Z] $ docker stop --time=1 ca62b702b9f0baef96d10b58385f597c74c62f51bcb65419be010c151adb3a80 [2023-10-27T20:35:52.882Z] $ docker rm -f --volumes ca62b702b9f0baef96d10b58385f597c74c62f51bcb65419be010c151adb3a80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-27T20:39:52.464Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12662 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-10-27T20:39:52.477Z] Running in /w/workspace/device-virtual-go/153 [Pipeline] { [Pipeline] checkout [2023-10-27T20:39:52.509Z] The recommended git tool is: git [2023-10-27T20:39:59.231Z] using credential edgex-jenkins-ssh [2023-10-27T20:39:59.252Z] Cloning the remote Git repository [2023-10-27T20:39:59.313Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-10-27T20:39:59.431Z] > git init /w/workspace/device-virtual-go/153 # timeout=10 [2023-10-27T20:39:59.619Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-10-27T20:39:59.620Z] > git --version # timeout=10 [2023-10-27T20:39:59.644Z] > git --version # 'git version 2.25.1' [2023-10-27T20:39:59.650Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-27T20:39:59.853Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-27T20:40:03.922Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-10-27T20:40:03.958Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-27T20:40:05.077Z] Avoid second fetch [2023-10-27T20:40:05.078Z] Checking out Revision a4fb408bd6b294fc41552c8711cc9fe432fefed6 (main) [2023-10-27T20:40:05.101Z] > git config core.sparsecheckout # timeout=10 [2023-10-27T20:40:05.184Z] > git checkout -f a4fb408bd6b294fc41552c8711cc9fe432fefed6 # timeout=10 [2023-10-27T20:40:05.841Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#444)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-27T20:40:06.884Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-27T20:40:06.884Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-27T20:40:06.884Z] Dload Upload Total Spent Left Speed [2023-10-27T20:40:06.884Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh [2023-10-27T20:40:07.539Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-27T20:40:07.878Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-27T20:40:07.878Z] + sudo tee /etc/docker/daemon.new [2023-10-27T20:40:07.878Z] { [2023-10-27T20:40:07.878Z] "registry-mirrors": [ [2023-10-27T20:40:07.878Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-27T20:40:07.878Z] ], [2023-10-27T20:40:07.878Z] "bip": "10.250.0.254/24", [2023-10-27T20:40:07.878Z] "hosts": [ [2023-10-27T20:40:07.878Z] "tcp://0.0.0.0:5555", [2023-10-27T20:40:07.878Z] "unix:///var/run/docker.sock" [2023-10-27T20:40:07.878Z] ], [2023-10-27T20:40:07.878Z] "mtu": 1458, [2023-10-27T20:40:07.878Z] "selinux-enabled": true, [2023-10-27T20:40:07.878Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-27T20:40:07.878Z] } [Pipeline] sh [2023-10-27T20:40:08.245Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-27T20:40:08.588Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-27T20:40:26.902Z] provisioning config files... [2023-10-27T20:40:27.016Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/153@tmp/config2862737842693215700tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T20:40:27.536Z] ---> docker-login.sh [2023-10-27T20:40:27.536Z] nexus3.edgexfoundry.org:10001 [2023-10-27T20:40:28.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T20:40:28.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T20:40:28.408Z] Configure a credential helper to remove this warning. See [2023-10-27T20:40:28.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T20:40:28.409Z] [2023-10-27T20:40:28.409Z] Login Succeeded [2023-10-27T20:40:28.409Z] nexus3.edgexfoundry.org:10002 [2023-10-27T20:40:28.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T20:40:28.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T20:40:28.680Z] Configure a credential helper to remove this warning. See [2023-10-27T20:40:28.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T20:40:28.680Z] [2023-10-27T20:40:28.680Z] Login Succeeded [2023-10-27T20:40:28.680Z] nexus3.edgexfoundry.org:10003 [2023-10-27T20:40:28.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T20:40:29.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T20:40:29.228Z] Configure a credential helper to remove this warning. See [2023-10-27T20:40:29.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T20:40:29.228Z] [2023-10-27T20:40:29.228Z] Login Succeeded [2023-10-27T20:40:29.228Z] nexus3.edgexfoundry.org:10004 [2023-10-27T20:40:29.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T20:40:29.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T20:40:29.501Z] Configure a credential helper to remove this warning. See [2023-10-27T20:40:29.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T20:40:29.501Z] [2023-10-27T20:40:29.501Z] Login Succeeded [2023-10-27T20:40:29.501Z] docker.io [2023-10-27T20:40:29.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T20:40:30.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T20:40:30.046Z] Configure a credential helper to remove this warning. See [2023-10-27T20:40:30.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T20:40:30.046Z] [2023-10-27T20:40:30.046Z] Login Succeeded [2023-10-27T20:40:30.046Z] ---> docker-login.sh ends [Pipeline] } [2023-10-27T20:40:30.066Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-27T20:40:30.449Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T20:40:30.462Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T20:40:30.478Z] ========================================================= [2023-10-27T20:40:30.478Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-27T20:40:30.478Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:40:30.844Z] + 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-27T20:40:34.229Z] Sending build context to Docker daemon 11.97MB [2023-10-27T20:40:34.229Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-27T20:40:34.229Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-27T20:40:34.229Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-27T20:40:34.229Z] 9fda8d8052c6: Pulling fs layer [2023-10-27T20:40:34.229Z] 5d54e960e981: Pulling fs layer [2023-10-27T20:40:34.229Z] c4a7e357bf2a: Pulling fs layer [2023-10-27T20:40:34.229Z] f0e02332f6b5: Pulling fs layer [2023-10-27T20:40:34.229Z] cefa15bbcfad: Pulling fs layer [2023-10-27T20:40:34.229Z] 17808c966233: Pulling fs layer [2023-10-27T20:40:34.229Z] f4c1fc716caa: Pulling fs layer [2023-10-27T20:40:34.229Z] f0e02332f6b5: Waiting [2023-10-27T20:40:34.229Z] 17808c966233: Waiting [2023-10-27T20:40:34.229Z] f4c1fc716caa: Waiting [2023-10-27T20:40:34.229Z] cefa15bbcfad: Waiting [2023-10-27T20:40:34.229Z] 5d54e960e981: Verifying Checksum [2023-10-27T20:40:34.229Z] 5d54e960e981: Download complete [2023-10-27T20:40:34.229Z] f0e02332f6b5: Verifying Checksum [2023-10-27T20:40:34.229Z] f0e02332f6b5: Download complete [2023-10-27T20:40:34.229Z] cefa15bbcfad: Verifying Checksum [2023-10-27T20:40:34.229Z] cefa15bbcfad: Download complete [2023-10-27T20:40:34.229Z] 9fda8d8052c6: Verifying Checksum [2023-10-27T20:40:34.229Z] 9fda8d8052c6: Download complete [2023-10-27T20:40:34.833Z] f4c1fc716caa: Verifying Checksum [2023-10-27T20:40:34.833Z] f4c1fc716caa: Download complete [2023-10-27T20:40:35.107Z] 9fda8d8052c6: Pull complete [2023-10-27T20:40:35.706Z] 5d54e960e981: Pull complete [2023-10-27T20:40:36.299Z] c4a7e357bf2a: Download complete [2023-10-27T20:40:37.292Z] 17808c966233: Verifying Checksum [2023-10-27T20:40:37.292Z] 17808c966233: Download complete [2023-10-27T20:40:49.675Z] c4a7e357bf2a: Pull complete [2023-10-27T20:40:49.949Z] f0e02332f6b5: Pull complete [2023-10-27T20:40:50.237Z] cefa15bbcfad: Pull complete [2023-10-27T20:41:02.804Z] 17808c966233: Pull complete [2023-10-27T20:41:03.075Z] f4c1fc716caa: Pull complete [2023-10-27T20:41:03.075Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-27T20:41:03.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-27T20:41:03.075Z] ---> ea914061e18c [2023-10-27T20:41:03.075Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-27T20:41:04.503Z] ---> Running in f5d3c432e8d6 [2023-10-27T20:41:04.503Z] Removing intermediate container f5d3c432e8d6 [2023-10-27T20:41:04.503Z] ---> 3f6870d1079d [2023-10-27T20:41:04.503Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-27T20:41:04.771Z] ---> Running in 7b0ffe3c19cf [2023-10-27T20:41:05.041Z] Removing intermediate container 7b0ffe3c19cf [2023-10-27T20:41:05.041Z] ---> 104403f78353 [2023-10-27T20:41:05.041Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-10-27T20:41:05.041Z] ---> Running in 34f221a4f0e1 [2023-10-27T20:41:05.628Z] Removing intermediate container 34f221a4f0e1 [2023-10-27T20:41:05.628Z] ---> 06349f3d79e8 [2023-10-27T20:41:05.628Z] Step 6/12 : WORKDIR /device-virtual-go [2023-10-27T20:41:05.628Z] ---> Running in efb71e1ccef3 [2023-10-27T20:41:05.900Z] Removing intermediate container efb71e1ccef3 [2023-10-27T20:41:05.900Z] ---> ec4c85613e1c [2023-10-27T20:41:05.900Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-27T20:41:06.169Z] ---> Running in d8e34d140e94 [2023-10-27T20:41:07.140Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-27T20:41:07.727Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-27T20:41:09.145Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-27T20:41:09.145Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-27T20:41:09.145Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-27T20:41:09.145Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-27T20:41:09.145Z] Executing busybox-1.36.1-r2.trigger [2023-10-27T20:41:09.145Z] OK: 270 MiB in 56 packages [2023-10-27T20:41:10.113Z] Removing intermediate container d8e34d140e94 [2023-10-27T20:41:10.113Z] ---> a2ec78748b64 [2023-10-27T20:41:10.113Z] Step 8/12 : COPY go.mod vendor* ./ [2023-10-27T20:41:10.712Z] ---> 1bcca728db90 [2023-10-27T20:41:10.712Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-27T20:41:10.712Z] ---> Running in 34eecf0d3e71 [2023-10-27T20:42:47.514Z] Removing intermediate container 34eecf0d3e71 [2023-10-27T20:42:47.514Z] ---> 175ded577a60 [2023-10-27T20:42:47.514Z] Step 10/12 : COPY . . [2023-10-27T20:42:47.514Z] ---> 5584ff8a61e6 [2023-10-27T20:42:47.514Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-27T20:42:47.514Z] ---> Running in 87ae781f6777 [2023-10-27T20:42:47.514Z] Removing intermediate container 87ae781f6777 [2023-10-27T20:42:47.514Z] ---> c75c7e203398 [2023-10-27T20:42:47.514Z] Step 12/12 : RUN $MAKE [2023-10-27T20:42:47.514Z] ---> Running in 82e8f1e00414 [2023-10-27T20:42:47.783Z] noop [2023-10-27T20:42:48.751Z] Removing intermediate container 82e8f1e00414 [2023-10-27T20:42:48.751Z] ---> 87892f50ba3a [2023-10-27T20:42:48.751Z] Successfully built 87892f50ba3a [2023-10-27T20:42:48.751Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:42:49.111Z] + docker inspect -f . ci-base-image-arm64 [2023-10-27T20:42:49.111Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T20:42:49.354Z] prd-ubuntu20.04-docker-arm64-4c-16g-12662 does not seem to be running inside a container [2023-10-27T20:42:49.447Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/153 -v /w/workspace/device-virtual-go/153:/w/workspace/device-virtual-go/153:rw,z -v /w/workspace/device-virtual-go/153@tmp:/w/workspace/device-virtual-go/153@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-27T20:42:50.783Z] $ docker top e7fae0093eaec182f260a0b09edf00b26a9acdfee24a86b145d0ba986c08d2a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-27T20:42:51.646Z] + go version [2023-10-27T20:42:51.646Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-27T20:42:51.677Z] $ docker stop --time=1 e7fae0093eaec182f260a0b09edf00b26a9acdfee24a86b145d0ba986c08d2a0 [2023-10-27T20:42:53.379Z] $ docker rm -f --volumes e7fae0093eaec182f260a0b09edf00b26a9acdfee24a86b145d0ba986c08d2a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:42:53.954Z] + docker inspect -f . ci-base-image-arm64 [2023-10-27T20:42:53.954Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T20:42:54.163Z] prd-ubuntu20.04-docker-arm64-4c-16g-12662 does not seem to be running inside a container [2023-10-27T20:42:54.252Z] $ 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/153 -v /w/workspace/device-virtual-go/153:/w/workspace/device-virtual-go/153:rw,z -v /w/workspace/device-virtual-go/153@tmp:/w/workspace/device-virtual-go/153@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-27T20:42:57.842Z] $ docker top 8c223b38610e0fbc1ee8c300e4adc34b3b34d54089e6f22b4b76e922b2a389ab -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-27T20:42:58.697Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/153 [Pipeline] fileExists [Pipeline] sh [2023-10-27T20:42:59.364Z] + make test [2023-10-27T20:42:59.364Z] go test ./... -coverprofile=coverage.out [2023-10-27T20:43:04.732Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-10-27T20:44:56.424Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-10-27T20:44:56.424Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.090s coverage: 58.4% of statements [2023-10-27T20:44:56.424Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-27T20:44:56.424Z] go vet ./... [2023-10-27T20:45:28.717Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-27T20:45:28.717Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-27T20:45:28.717Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-27T20:45:28.741Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-27T20:45:28.766Z] $ docker stop --time=1 8c223b38610e0fbc1ee8c300e4adc34b3b34d54089e6f22b4b76e922b2a389ab [2023-10-27T20:45:30.694Z] $ docker rm -f --volumes 8c223b38610e0fbc1ee8c300e4adc34b3b34d54089e6f22b4b76e922b2a389ab [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-27T20:45:31.936Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-27T20:45:31.958Z] Warning: overwriting stash ‘coverage-report’ [2023-10-27T20:45:32.470Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-27T20:45:32.850Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-27T20:45:33.182Z] + ls -al . [2023-10-27T20:45:33.182Z] total 196 [2023-10-27T20:45:33.182Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 27 20:43 . [2023-10-27T20:45:33.182Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 20:39 .. [2023-10-27T20:45:33.182Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 20:40 .git [2023-10-27T20:45:33.182Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 20:40 .github [2023-10-27T20:45:33.182Z] -rw-rw-r-- 1 jenkins jenkins 272 Oct 27 20:40 .gitignore [2023-10-27T20:45:33.182Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 27 20:40 .golangci.yml [2023-10-27T20:45:33.182Z] -rw-rw-r-- 1 jenkins jenkins 9708 Oct 27 20:40 Attribution.txt [2023-10-27T20:45:33.182Z] -rw-rw-r-- 1 jenkins jenkins 14372 Oct 27 20:40 CHANGELOG.md [2023-10-27T20:45:33.182Z] -rw-rw-r-- 1 jenkins jenkins 1646 Oct 27 20:40 Dockerfile [2023-10-27T20:45:33.182Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 20:40 GOVERNANCE.md [2023-10-27T20:45:33.182Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 27 20:40 Jenkinsfile [2023-10-27T20:45:33.182Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 27 20:40 LICENSE [2023-10-27T20:45:33.182Z] -rw-rw-r-- 1 jenkins jenkins 1947 Oct 27 20:40 Makefile [2023-10-27T20:45:33.182Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 27 20:40 OWNERS.md [2023-10-27T20:45:33.182Z] -rw-rw-r-- 1 jenkins jenkins 4103 Oct 27 20:40 README.md [2023-10-27T20:45:33.182Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 27 20:33 VERSION [2023-10-27T20:45:33.182Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 20:40 bin [2023-10-27T20:45:33.182Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 20:40 cmd [2023-10-27T20:45:33.182Z] -rw-r--r-- 1 jenkins jenkins 43063 Oct 27 20:44 coverage.out [2023-10-27T20:45:33.182Z] -rw-rw-r-- 1 jenkins jenkins 3638 Oct 27 20:40 go.mod [2023-10-27T20:45:33.182Z] -rw-rw-r-- 1 jenkins jenkins 34490 Oct 27 20:40 go.sum [2023-10-27T20:45:33.182Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 20:40 internal [2023-10-27T20:45:33.182Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 27 20:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:45:33.536Z] + 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=a4fb408bd6b294fc41552c8711cc9fe432fefed6 --label arch=arm64 --label version=3.1.0-dev.27 . [2023-10-27T20:45:34.125Z] Sending build context to Docker daemon 12.01MB [2023-10-27T20:45:34.125Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-27T20:45:34.125Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-27T20:45:34.125Z] ---> 87892f50ba3a [2023-10-27T20:45:34.125Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-27T20:45:34.396Z] ---> Running in b06b77ac51c5 [2023-10-27T20:45:34.996Z] Removing intermediate container b06b77ac51c5 [2023-10-27T20:45:34.996Z] ---> 14c756a2991f [2023-10-27T20:45:34.996Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-27T20:45:34.996Z] ---> Running in 4ac974cf9441 [2023-10-27T20:45:35.267Z] Removing intermediate container 4ac974cf9441 [2023-10-27T20:45:35.267Z] ---> a9352cc71b43 [2023-10-27T20:45:35.267Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-10-27T20:45:35.267Z] ---> Running in b0f8fad86e43 [2023-10-27T20:45:35.884Z] Removing intermediate container b0f8fad86e43 [2023-10-27T20:45:35.885Z] ---> a8052a19b047 [2023-10-27T20:45:35.885Z] Step 6/25 : WORKDIR /device-virtual-go [2023-10-27T20:45:35.885Z] ---> Running in c3679af3fdcb [2023-10-27T20:45:36.156Z] Removing intermediate container c3679af3fdcb [2023-10-27T20:45:36.156Z] ---> 75f7bb2240f4 [2023-10-27T20:45:36.156Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-27T20:45:36.425Z] ---> Running in e9bf4197301e [2023-10-27T20:45:37.397Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-27T20:45:37.980Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-27T20:45:39.400Z] OK: 270 MiB in 56 packages [2023-10-27T20:45:39.985Z] Removing intermediate container e9bf4197301e [2023-10-27T20:45:39.985Z] ---> 73b8a942026d [2023-10-27T20:45:39.985Z] Step 8/25 : COPY go.mod vendor* ./ [2023-10-27T20:45:40.572Z] ---> 370f808ae9f3 [2023-10-27T20:45:40.572Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-27T20:45:40.841Z] ---> Running in 43f00cc12fad [2023-10-27T20:45:43.454Z] Removing intermediate container 43f00cc12fad [2023-10-27T20:45:43.454Z] ---> b6d5b6703133 [2023-10-27T20:45:43.454Z] Step 10/25 : COPY . . [2023-10-27T20:45:44.873Z] ---> 6b6158080e61 [2023-10-27T20:45:44.873Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-27T20:45:44.873Z] ---> Running in df2049a7efa7 [2023-10-27T20:45:45.142Z] Removing intermediate container df2049a7efa7 [2023-10-27T20:45:45.142Z] ---> 37f09811be39 [2023-10-27T20:45:45.142Z] Step 12/25 : RUN $MAKE [2023-10-27T20:45:45.142Z] ---> Running in 7120b11b1a7c [2023-10-27T20:45:46.109Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.27 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-10-27T20:47:52.821Z] Removing intermediate container 7120b11b1a7c [2023-10-27T20:47:52.822Z] ---> f0e4b85e3735 [2023-10-27T20:47:52.822Z] Step 13/25 : FROM alpine:3.18 [2023-10-27T20:47:52.822Z] 3.18: Pulling from library/alpine [2023-10-27T20:47:52.822Z] 579b34f0a95b: Pulling fs layer [2023-10-27T20:47:52.822Z] 579b34f0a95b: Verifying Checksum [2023-10-27T20:47:52.822Z] 579b34f0a95b: Download complete [2023-10-27T20:47:52.822Z] 579b34f0a95b: Pull complete [2023-10-27T20:47:52.822Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-27T20:47:52.822Z] Status: Downloaded newer image for alpine:3.18 [2023-10-27T20:47:52.822Z] ---> 3cc203321400 [2023-10-27T20:47:52.822Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-10-27T20:47:52.822Z] ---> Running in ceb89a8171b0 [2023-10-27T20:47:52.822Z] Removing intermediate container ceb89a8171b0 [2023-10-27T20:47:52.822Z] ---> 06bdc1bf04d1 [2023-10-27T20:47:52.822Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-10-27T20:47:52.822Z] ---> Running in 657404345cd6 [2023-10-27T20:47:52.822Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-27T20:47:52.822Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-27T20:47:52.822Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-27T20:47:52.822Z] Executing busybox-1.36.1-r2.trigger [2023-10-27T20:47:52.822Z] OK: 8 MiB in 16 packages [2023-10-27T20:47:53.090Z] Removing intermediate container 657404345cd6 [2023-10-27T20:47:53.090Z] ---> 31675c8fad82 [2023-10-27T20:47:53.090Z] Step 16/25 : WORKDIR / [2023-10-27T20:47:53.090Z] ---> Running in 2583ea55a998 [2023-10-27T20:47:53.359Z] Removing intermediate container 2583ea55a998 [2023-10-27T20:47:53.359Z] ---> c132173d4f52 [2023-10-27T20:47:53.359Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-10-27T20:47:53.944Z] ---> 3dc079272d61 [2023-10-27T20:47:53.944Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-10-27T20:47:54.529Z] ---> 0f09d39e4b4e [2023-10-27T20:47:54.529Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-10-27T20:47:55.944Z] ---> a69614839973 [2023-10-27T20:47:55.944Z] Step 20/25 : EXPOSE 59900 [2023-10-27T20:47:56.219Z] ---> Running in 626d63552ce4 [2023-10-27T20:47:56.501Z] Removing intermediate container 626d63552ce4 [2023-10-27T20:47:56.501Z] ---> 20f3e462c4a2 [2023-10-27T20:47:56.501Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-10-27T20:47:56.501Z] ---> Running in 36b59baa1d7a [2023-10-27T20:47:56.775Z] Removing intermediate container 36b59baa1d7a [2023-10-27T20:47:56.775Z] ---> 9d89bb9cdef8 [2023-10-27T20:47:56.775Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-27T20:47:57.049Z] ---> Running in 3349578c78ef [2023-10-27T20:47:57.321Z] Removing intermediate container 3349578c78ef [2023-10-27T20:47:57.321Z] ---> 7369e265a34d [2023-10-27T20:47:57.321Z] Step 23/25 : LABEL arch=arm64 [2023-10-27T20:47:57.321Z] ---> Running in 7a9275d1ab78 [2023-10-27T20:47:57.587Z] Removing intermediate container 7a9275d1ab78 [2023-10-27T20:47:57.587Z] ---> 68b2fa5b7827 [2023-10-27T20:47:57.587Z] Step 24/25 : LABEL git_sha=a4fb408bd6b294fc41552c8711cc9fe432fefed6 [2023-10-27T20:47:57.856Z] ---> Running in ee7981386aad [2023-10-27T20:47:58.125Z] Removing intermediate container ee7981386aad [2023-10-27T20:47:58.125Z] ---> 41fce4fa8685 [2023-10-27T20:47:58.125Z] Step 25/25 : LABEL version=3.1.0-dev.27 [2023-10-27T20:47:58.125Z] ---> Running in 81957ea3798f [2023-10-27T20:47:58.394Z] Removing intermediate container 81957ea3798f [2023-10-27T20:47:58.394Z] ---> a1c02ec05fbb [2023-10-27T20:47:58.394Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-27T20:47:58.664Z] Successfully built a1c02ec05fbb [2023-10-27T20:47:58.664Z] 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-27T20:47:58.790Z] provisioning config files... [2023-10-27T20:47:58.805Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/153@tmp/config18367220532890547009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T20:47:59.148Z] ---> docker-login.sh [2023-10-27T20:47:59.148Z] nexus3.edgexfoundry.org:10001 [2023-10-27T20:47:59.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T20:47:59.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T20:47:59.420Z] Configure a credential helper to remove this warning. See [2023-10-27T20:47:59.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T20:47:59.420Z] [2023-10-27T20:47:59.420Z] Login Succeeded [2023-10-27T20:47:59.420Z] nexus3.edgexfoundry.org:10002 [2023-10-27T20:47:59.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T20:47:59.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T20:47:59.955Z] Configure a credential helper to remove this warning. See [2023-10-27T20:47:59.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T20:47:59.956Z] [2023-10-27T20:47:59.956Z] Login Succeeded [2023-10-27T20:47:59.956Z] nexus3.edgexfoundry.org:10003 [2023-10-27T20:48:00.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T20:48:00.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T20:48:00.225Z] Configure a credential helper to remove this warning. See [2023-10-27T20:48:00.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T20:48:00.225Z] [2023-10-27T20:48:00.225Z] Login Succeeded [2023-10-27T20:48:00.225Z] nexus3.edgexfoundry.org:10004 [2023-10-27T20:48:00.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T20:48:00.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T20:48:00.762Z] Configure a credential helper to remove this warning. See [2023-10-27T20:48:00.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T20:48:00.762Z] [2023-10-27T20:48:00.762Z] Login Succeeded [2023-10-27T20:48:00.762Z] docker.io [2023-10-27T20:48:01.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T20:48:01.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T20:48:01.614Z] Configure a credential helper to remove this warning. See [2023-10-27T20:48:01.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T20:48:01.614Z] [2023-10-27T20:48:01.614Z] Login Succeeded [2023-10-27T20:48:01.614Z] ---> docker-login.sh ends [Pipeline] } [2023-10-27T20:48:01.628Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-27T20:48:01.657Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T20:48:01.674Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-10-27T20:48:01.674Z] a4fb408bd6b294fc41552c8711cc9fe432fefed6 [2023-10-27T20:48:01.674Z] latest [2023-10-27T20:48:01.674Z] 3.1.0-dev.27 [2023-10-27T20:48:01.674Z] a4fb408bd6b294fc41552c8711cc9fe432fefed6-3.1.0-dev.27 [2023-10-27T20:48:01.674Z] main [2023-10-27T20:48:01.674Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:48:02.006Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:a4fb408bd6b294fc41552c8711cc9fe432fefed6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:48:02.361Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:a4fb408bd6b294fc41552c8711cc9fe432fefed6 [2023-10-27T20:48:02.361Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-10-27T20:48:02.361Z] ddf45002ceb3: Preparing [2023-10-27T20:48:02.361Z] 0dc8d811b455: Preparing [2023-10-27T20:48:02.361Z] 16a3baf256ac: Preparing [2023-10-27T20:48:02.361Z] f39e051e15a0: Preparing [2023-10-27T20:48:02.361Z] 5f4d9fc4d98d: Preparing [2023-10-27T20:48:02.361Z] 5f4d9fc4d98d: Layer already exists [2023-10-27T20:48:02.627Z] 0dc8d811b455: Pushed [2023-10-27T20:48:02.627Z] 16a3baf256ac: Pushed [2023-10-27T20:48:02.627Z] f39e051e15a0: Pushed [2023-10-27T20:48:09.359Z] ddf45002ceb3: Pushed [2023-10-27T20:48:09.359Z] a4fb408bd6b294fc41552c8711cc9fe432fefed6: digest: sha256:b62660d195e48b1562b49e51cba9493329b864fac096312e89752b7413299c90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:48:09.721Z] + 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-27T20:48:10.090Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-10-27T20:48:10.090Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-10-27T20:48:10.090Z] ddf45002ceb3: Preparing [2023-10-27T20:48:10.090Z] 0dc8d811b455: Preparing [2023-10-27T20:48:10.090Z] 16a3baf256ac: Preparing [2023-10-27T20:48:10.090Z] f39e051e15a0: Preparing [2023-10-27T20:48:10.090Z] 5f4d9fc4d98d: Preparing [2023-10-27T20:48:10.090Z] 16a3baf256ac: Layer already exists [2023-10-27T20:48:10.090Z] 0dc8d811b455: Layer already exists [2023-10-27T20:48:10.090Z] 5f4d9fc4d98d: Layer already exists [2023-10-27T20:48:10.090Z] f39e051e15a0: Layer already exists [2023-10-27T20:48:10.090Z] ddf45002ceb3: Layer already exists [2023-10-27T20:48:10.090Z] latest: digest: sha256:b62660d195e48b1562b49e51cba9493329b864fac096312e89752b7413299c90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:48:10.737Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:48:11.106Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.27 [2023-10-27T20:48:11.107Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-10-27T20:48:11.107Z] ddf45002ceb3: Preparing [2023-10-27T20:48:11.107Z] 0dc8d811b455: Preparing [2023-10-27T20:48:11.107Z] 16a3baf256ac: Preparing [2023-10-27T20:48:11.107Z] f39e051e15a0: Preparing [2023-10-27T20:48:11.107Z] 5f4d9fc4d98d: Preparing [2023-10-27T20:48:11.107Z] 16a3baf256ac: Layer already exists [2023-10-27T20:48:11.107Z] 5f4d9fc4d98d: Layer already exists [2023-10-27T20:48:11.107Z] 0dc8d811b455: Layer already exists [2023-10-27T20:48:11.107Z] f39e051e15a0: Layer already exists [2023-10-27T20:48:11.107Z] ddf45002ceb3: Layer already exists [2023-10-27T20:48:11.107Z] 3.1.0-dev.27: digest: sha256:b62660d195e48b1562b49e51cba9493329b864fac096312e89752b7413299c90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:48:11.730Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:a4fb408bd6b294fc41552c8711cc9fe432fefed6-3.1.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:48:12.075Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:a4fb408bd6b294fc41552c8711cc9fe432fefed6-3.1.0-dev.27 [2023-10-27T20:48:12.075Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-10-27T20:48:12.075Z] ddf45002ceb3: Preparing [2023-10-27T20:48:12.075Z] 0dc8d811b455: Preparing [2023-10-27T20:48:12.075Z] 16a3baf256ac: Preparing [2023-10-27T20:48:12.075Z] f39e051e15a0: Preparing [2023-10-27T20:48:12.075Z] 5f4d9fc4d98d: Preparing [2023-10-27T20:48:12.075Z] 5f4d9fc4d98d: Layer already exists [2023-10-27T20:48:12.075Z] f39e051e15a0: Layer already exists [2023-10-27T20:48:12.075Z] 0dc8d811b455: Layer already exists [2023-10-27T20:48:12.075Z] 16a3baf256ac: Layer already exists [2023-10-27T20:48:12.075Z] ddf45002ceb3: Layer already exists [2023-10-27T20:48:12.075Z] a4fb408bd6b294fc41552c8711cc9fe432fefed6-3.1.0-dev.27: digest: sha256:b62660d195e48b1562b49e51cba9493329b864fac096312e89752b7413299c90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:48:12.692Z] + 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-27T20:48:13.032Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-10-27T20:48:13.032Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-10-27T20:48:13.032Z] ddf45002ceb3: Preparing [2023-10-27T20:48:13.032Z] 0dc8d811b455: Preparing [2023-10-27T20:48:13.032Z] 16a3baf256ac: Preparing [2023-10-27T20:48:13.032Z] f39e051e15a0: Preparing [2023-10-27T20:48:13.032Z] 5f4d9fc4d98d: Preparing [2023-10-27T20:48:13.032Z] 16a3baf256ac: Layer already exists [2023-10-27T20:48:13.032Z] 0dc8d811b455: Layer already exists [2023-10-27T20:48:13.032Z] ddf45002ceb3: Layer already exists [2023-10-27T20:48:13.032Z] f39e051e15a0: Layer already exists [2023-10-27T20:48:13.032Z] 5f4d9fc4d98d: Layer already exists [2023-10-27T20:48:13.032Z] main: digest: sha256:b62660d195e48b1562b49e51cba9493329b864fac096312e89752b7413299c90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-27T20:48:13.348Z] ===================================================== [Pipeline] echo [2023-10-27T20:48:13.354Z] taggedImages: [2023-10-27T20:48:13.354Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:a4fb408bd6b294fc41552c8711cc9fe432fefed6 [2023-10-27T20:48:13.354Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-10-27T20:48:13.354Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.27 [2023-10-27T20:48:13.354Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:a4fb408bd6b294fc41552c8711cc9fe432fefed6-3.1.0-dev.27 [2023-10-27T20:48:13.354Z] - 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-27T20:48:13.721Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-27T20:48:13.721Z] [2023-10-27T20:48:13.721Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:48:14.060Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-27T20:48:14.060Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-27T20:48:14.060Z] 8998bd30e6a1: Pulling fs layer [2023-10-27T20:48:14.060Z] 04944245beec: Pulling fs layer [2023-10-27T20:48:14.060Z] 699f458cf7ca: Pulling fs layer [2023-10-27T20:48:14.060Z] 765212b225bb: Pulling fs layer [2023-10-27T20:48:14.060Z] f23df028b6ca: Pulling fs layer [2023-10-27T20:48:14.060Z] d65c8cfc05b1: Pulling fs layer [2023-10-27T20:48:14.060Z] 2437ff75d9bd: Pulling fs layer [2023-10-27T20:48:14.060Z] f23df028b6ca: Waiting [2023-10-27T20:48:14.060Z] 2437ff75d9bd: Waiting [2023-10-27T20:48:14.060Z] d65c8cfc05b1: Waiting [2023-10-27T20:48:14.060Z] 765212b225bb: Waiting [2023-10-27T20:48:14.327Z] 04944245beec: Verifying Checksum [2023-10-27T20:48:14.327Z] 04944245beec: Download complete [2023-10-27T20:48:14.327Z] 765212b225bb: Verifying Checksum [2023-10-27T20:48:14.327Z] 765212b225bb: Download complete [2023-10-27T20:48:14.327Z] f23df028b6ca: Verifying Checksum [2023-10-27T20:48:14.327Z] f23df028b6ca: Download complete [2023-10-27T20:48:14.327Z] d65c8cfc05b1: Verifying Checksum [2023-10-27T20:48:14.327Z] d65c8cfc05b1: Download complete [2023-10-27T20:48:14.594Z] 699f458cf7ca: Verifying Checksum [2023-10-27T20:48:14.594Z] 699f458cf7ca: Download complete [2023-10-27T20:48:14.861Z] 8998bd30e6a1: Verifying Checksum [2023-10-27T20:48:14.861Z] 8998bd30e6a1: Download complete [2023-10-27T20:48:17.455Z] 2437ff75d9bd: Verifying Checksum [2023-10-27T20:48:17.455Z] 2437ff75d9bd: Download complete [2023-10-27T20:48:20.058Z] 8998bd30e6a1: Pull complete [2023-10-27T20:48:20.326Z] 04944245beec: Pull complete [2023-10-27T20:48:21.735Z] 699f458cf7ca: Pull complete [2023-10-27T20:48:22.003Z] 765212b225bb: Pull complete [2023-10-27T20:48:22.963Z] f23df028b6ca: Pull complete [2023-10-27T20:48:22.963Z] d65c8cfc05b1: Pull complete [2023-10-27T20:48:41.187Z] 2437ff75d9bd: Pull complete [2023-10-27T20:48:41.187Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-27T20:48:41.187Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-27T20:48:41.187Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T20:48:41.380Z] prd-ubuntu20.04-docker-arm64-4c-16g-12662 does not seem to be running inside a container [2023-10-27T20:48:41.467Z] $ 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/153 -v /w/workspace/device-virtual-go/153:/w/workspace/device-virtual-go/153:rw,z -v /w/workspace/device-virtual-go/153@tmp:/w/workspace/device-virtual-go/153@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-27T20:48:44.664Z] $ docker top be938edf3d44784b7d214f1ceb2bc861c3d226e456fd60f61fe6755cccaeaab0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T20:48:45.559Z] ---> job-cost.sh [2023-10-27T20:48:45.559Z] lf-activate-venv: SKIPPING [2023-10-27T20:48:45.559Z] INFO: No Stack... [2023-10-27T20:48:46.147Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-27T20:48:47.114Z] INFO: Archiving Costs [Pipeline] sh [2023-10-27T20:48:47.775Z] + cat /w/workspace/device-virtual-go/153/archives/cost.csv [2023-10-27T20:48:47.775Z] + cut -d, -f6 [Pipeline] lock [2023-10-27T20:48:47.883Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-153-stack-cost] [2023-10-27T20:48:47.889Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-153-stack-cost] did not exist. Created. [2023-10-27T20:48:47.889Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-153-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-27T20:48:48.590Z] /w/workspace/device-virtual-go/153@tmp/durable-86eb28f4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-27T20:48:49.282Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-27T20:48:49.307Z] Warning: overwriting stash ‘stack-cost’ [2023-10-27T20:48:49.369Z] Stashed 1 file(s) [Pipeline] } [2023-10-27T20:48:49.375Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-153-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-27T20:48:49.405Z] $ docker stop --time=1 be938edf3d44784b7d214f1ceb2bc861c3d226e456fd60f61fe6755cccaeaab0 [2023-10-27T20:48:54.385Z] $ docker rm -f --volumes be938edf3d44784b7d214f1ceb2bc861c3d226e456fd60f61fe6755cccaeaab0 [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-27T20:48:54.794Z] provisioning config files... [2023-10-27T20:48:54.800Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7755447134114745518tmp [Pipeline] { [Pipeline] sh [2023-10-27T20:48:55.092Z] + set +x [2023-10-27T20:48:55.093Z] + curl -s https://codecov.io/bash [2023-10-27T20:48:55.093Z] + bash -s -- [2023-10-27T20:48:55.093Z] [2023-10-27T20:48:55.093Z] _____ _ [2023-10-27T20:48:55.093Z] / ____| | | [2023-10-27T20:48:55.093Z] | | ___ __| | ___ ___ _____ __ [2023-10-27T20:48:55.093Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-27T20:48:55.093Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-27T20:48:55.093Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-27T20:48:55.093Z] Bash-1.0.6 [2023-10-27T20:48:55.093Z] [2023-10-27T20:48:55.093Z] [2023-10-27T20:48:55.093Z] ==> git version 2.25.1 found [2023-10-27T20:48:55.093Z] ==> 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-27T20:48:55.093Z] Release-Date: 2020-01-08 [2023-10-27T20:48:55.093Z] 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-27T20:48:55.093Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-27T20:48:55.093Z] ==> Jenkins CI detected. [2023-10-27T20:48:55.093Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-10-27T20:48:55.093Z] project root: . [2023-10-27T20:48:55.093Z] --> token set from env [2023-10-27T20:48:55.093Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-27T20:48:55.093Z] ==> Running gcov in . (disable via -X gcov) [2023-10-27T20:48:55.093Z] ==> Python coveragepy not found [2023-10-27T20:48:55.093Z] ==> Searching for coverage reports in: [2023-10-27T20:48:55.093Z] + . [2023-10-27T20:48:55.093Z] -> Found 1 reports [2023-10-27T20:48:55.093Z] ==> Detecting git/mercurial file structure [2023-10-27T20:48:55.352Z] ==> Reading reports [2023-10-27T20:48:55.352Z] + ./coverage.out bytes=43063 [2023-10-27T20:48:55.352Z] ==> Appending adjustments [2023-10-27T20:48:55.352Z] https://docs.codecov.io/docs/fixing-reports [2023-10-27T20:48:55.352Z] + Found adjustments [2023-10-27T20:48:55.352Z] ==> Gzipping contents [2023-10-27T20:48:55.352Z] 8.0K /tmp/codecov.W2txji.gz [2023-10-27T20:48:55.352Z] ==> Uploading reports [2023-10-27T20:48:55.352Z] url: https://codecov.io [2023-10-27T20:48:55.352Z] query: branch=main&commit=a4fb408bd6b294fc41552c8711cc9fe432fefed6&build=153&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F153%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-27T20:48:55.352Z] -> Pinging Codecov [2023-10-27T20:48:55.352Z] 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=a4fb408bd6b294fc41552c8711cc9fe432fefed6&build=153&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F153%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-27T20:48:55.352Z] -> Uploading to [2023-10-27T20:48:55.352Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-27/5E52B4B073DB2E39498172D8E973AA87/a4fb408bd6b294fc41552c8711cc9fe432fefed6/c7c3d6bf-80fb-4736-9d10-634ebe672836.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231027%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231027T204855Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=904b213b7167b4e8f6f9e6d2e114e095a69e45bc850876c763c0d230d9589af6 [2023-10-27T20:48:55.611Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-27T20:48:55.611Z] Dload Upload Total Spent Left Speed [2023-10-27T20:48:55.611Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 19912 --:--:-- --:--:-- --:--:-- 19912 [2023-10-27T20:48:55.870Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/a4fb408bd6b294fc41552c8711cc9fe432fefed6 [Pipeline] } [2023-10-27T20:48:55.877Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-27T20:48:56.007Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-27T20:48:56.016Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:48:56.318Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-27T20:48:56.318Z] [2023-10-27T20:48:56.318Z] 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-27T20:48:56.619Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-27T20:48:56.619Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-27T20:48:56.619Z] df9b9388f04a: Pulling fs layer [2023-10-27T20:48:56.619Z] 52dc419b0ee2: Pulling fs layer [2023-10-27T20:48:56.619Z] 25bc292e5bac: Pulling fs layer [2023-10-27T20:48:56.619Z] 114826534d7a: Pulling fs layer [2023-10-27T20:48:56.619Z] 4657fd5d0bcf: Pulling fs layer [2023-10-27T20:48:56.619Z] 6ad1cebc031e: Pulling fs layer [2023-10-27T20:48:56.619Z] 8a3aa393b2d8: Pulling fs layer [2023-10-27T20:48:56.619Z] 4657fd5d0bcf: Waiting [2023-10-27T20:48:56.619Z] 114826534d7a: Waiting [2023-10-27T20:48:56.619Z] 8a3aa393b2d8: Waiting [2023-10-27T20:48:56.619Z] 6ad1cebc031e: Waiting [2023-10-27T20:48:56.619Z] 25bc292e5bac: Verifying Checksum [2023-10-27T20:48:56.619Z] 25bc292e5bac: Download complete [2023-10-27T20:48:56.619Z] 52dc419b0ee2: Download complete [2023-10-27T20:48:56.619Z] 4657fd5d0bcf: Verifying Checksum [2023-10-27T20:48:56.619Z] 4657fd5d0bcf: Download complete [2023-10-27T20:48:56.619Z] df9b9388f04a: Download complete [2023-10-27T20:48:56.880Z] df9b9388f04a: Pull complete [2023-10-27T20:48:56.880Z] 6ad1cebc031e: Verifying Checksum [2023-10-27T20:48:56.880Z] 6ad1cebc031e: Download complete [2023-10-27T20:48:56.880Z] 52dc419b0ee2: Pull complete [2023-10-27T20:48:56.880Z] 25bc292e5bac: Pull complete [2023-10-27T20:48:57.450Z] 114826534d7a: Verifying Checksum [2023-10-27T20:48:57.450Z] 114826534d7a: Download complete [2023-10-27T20:48:57.450Z] 8a3aa393b2d8: Download complete [2023-10-27T20:49:00.728Z] 114826534d7a: Pull complete [2023-10-27T20:49:00.728Z] 4657fd5d0bcf: Pull complete [2023-10-27T20:49:00.985Z] 6ad1cebc031e: Pull complete [2023-10-27T20:49:03.513Z] 8a3aa393b2d8: Pull complete [2023-10-27T20:49:03.513Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-27T20:49:03.513Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-27T20:49:03.513Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T20:49:03.584Z] prd-ubuntu20.04-docker-8c-8g-12649 does not seem to be running inside a container [2023-10-27T20:49:03.613Z] $ 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-27T20:49:08.199Z] $ docker top 17329aa22853ba0ac7a36d899960bbe09d13cc7ed441e7fcc2c0d83caeaeec94 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-27T20:49:08.262Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-10-27T20:49:08.540Z] + set -o pipefail [2023-10-27T20:49:08.540Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-10-27T20:49:15.102Z] [2023-10-27T20:49:15.102Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-10-27T20:49:15.102Z] [2023-10-27T20:49:15.102Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/0067ee55-0665-4883-b3d2-8ff645925737 [2023-10-27T20:49:15.102Z] [2023-10-27T20:49:15.102Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-27T20:49:15.102Z] [2023-10-27T20:49:15.102Z] [2023-10-27T20:49:15.102Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-27T20:49:15.102Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-27T20:49:15.102Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-10-27T20:49:15.112Z] $ docker stop --time=1 17329aa22853ba0ac7a36d899960bbe09d13cc7ed441e7fcc2c0d83caeaeec94 [2023-10-27T20:49:18.800Z] $ docker rm -f --volumes 17329aa22853ba0ac7a36d899960bbe09d13cc7ed441e7fcc2c0d83caeaeec94 [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-27T20:49:19.494Z] + git log --format=format:%s -1 a4fb408bd6b294fc41552c8711cc9fe432fefed6 [Pipeline] sh [2023-10-27T20:49:19.785Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-27T20:49:19.785Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:49:20.085Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-27T20:49:20.085Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T20:49:20.160Z] prd-ubuntu20.04-docker-8c-8g-12649 does not seem to be running inside a container [2023-10-27T20:49:20.195Z] $ 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-27T20:49:20.635Z] $ docker top 7e6bab3e2146ccac5a626c016c3bc3895dac746eca3d8bc5522634fe66c5e759 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-27T20:49:20.718Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-27T20:49:20.718Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-27T20:49:20.827Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-27T20:49:20.830Z] $ docker exec 7e6bab3e2146ccac5a626c016c3bc3895dac746eca3d8bc5522634fe66c5e759 ssh-agent [2023-10-27T20:49:20.938Z] SSH_AUTH_SOCK=/tmp/ssh-I8c3nvs2vdFf/agent.32 [2023-10-27T20:49:20.938Z] SSH_AGENT_PID=38 [2023-10-27T20:49:20.942Z] Running ssh-add (command line suppressed) [2023-10-27T20:49:21.043Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_206523165913756544.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_206523165913756544.key) [2023-10-27T20:49:21.056Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-27T20:49:21.347Z] + git semver tag [2023-10-27T20:49:21.606Z] 2023-10-27 20:49:21,524 [run_tag] DEBUG tag force:False [2023-10-27T20:49:21.606Z] 2023-10-27 20:49:21,524 [check_head_tag] DEBUG check head tag [2023-10-27T20:49:21.606Z] 2023-10-27 20:49:21,525 [execute] INFO git cat-file --batch-check [2023-10-27T20:49:21.606Z] 2023-10-27 20:49:21,525 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-10-27T20:49:21.606Z] 2023-10-27 20:49:21,529 [execute] INFO git cat-file --batch [2023-10-27T20:49:21.606Z] 2023-10-27 20:49:21,529 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-10-27T20:49:21.606Z] 2023-10-27 20:49:21,544 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-27T20:49:21.606Z] 2023-10-27 20:49:21,545 [execute] INFO git tag -a v3.1.0-dev.27 -m v3.1.0-dev.27 [2023-10-27T20:49:21.606Z] 2023-10-27 20:49:21,545 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.27', '-m', 'v3.1.0-dev.27'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-27T20:49:21.606Z] 2023-10-27 20:49:21,549 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-27T20:49:21.606Z] 3.1.0-dev.27 [Pipeline] } [2023-10-27T20:49:21.615Z] $ docker exec --env ******** --env ******** 7e6bab3e2146ccac5a626c016c3bc3895dac746eca3d8bc5522634fe66c5e759 ssh-agent -k [2023-10-27T20:49:21.708Z] unset SSH_AUTH_SOCK; [2023-10-27T20:49:21.709Z] unset SSH_AGENT_PID; [2023-10-27T20:49:21.709Z] echo Agent pid 38 killed; [2023-10-27T20:49:21.718Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-27T20:49:22.015Z] + git semver [Pipeline] } [2023-10-27T20:49:22.286Z] $ docker stop --time=1 7e6bab3e2146ccac5a626c016c3bc3895dac746eca3d8bc5522634fe66c5e759 [2023-10-27T20:49:23.538Z] $ docker rm -f --volumes 7e6bab3e2146ccac5a626c016c3bc3895dac746eca3d8bc5522634fe66c5e759 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:49:23.910Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-27T20:49:23.910Z] [2023-10-27T20:49:23.910Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:49:24.208Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-27T20:49:24.208Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-27T20:49:24.208Z] ab5ef0e58194: Pulling fs layer [2023-10-27T20:49:24.208Z] 9712f1f96733: Pulling fs layer [2023-10-27T20:49:24.208Z] 63f879dbbcfc: Pulling fs layer [2023-10-27T20:49:24.208Z] 0d9ebad4ef96: Pulling fs layer [2023-10-27T20:49:24.208Z] e9a5061849ea: Pulling fs layer [2023-10-27T20:49:24.208Z] d747dcd14b5f: Pulling fs layer [2023-10-27T20:49:24.208Z] 2de7ff778b66: Pulling fs layer [2023-10-27T20:49:24.208Z] e9a5061849ea: Waiting [2023-10-27T20:49:24.208Z] 0d9ebad4ef96: Waiting [2023-10-27T20:49:24.208Z] d747dcd14b5f: Waiting [2023-10-27T20:49:24.208Z] 2de7ff778b66: Waiting [2023-10-27T20:49:24.208Z] 9712f1f96733: Verifying Checksum [2023-10-27T20:49:24.208Z] 9712f1f96733: Download complete [2023-10-27T20:49:24.468Z] 63f879dbbcfc: Download complete [2023-10-27T20:49:24.727Z] e9a5061849ea: Verifying Checksum [2023-10-27T20:49:24.727Z] e9a5061849ea: Download complete [2023-10-27T20:49:24.727Z] d747dcd14b5f: Verifying Checksum [2023-10-27T20:49:24.727Z] d747dcd14b5f: Download complete [2023-10-27T20:49:24.727Z] 0d9ebad4ef96: Download complete [2023-10-27T20:49:24.727Z] ab5ef0e58194: Verifying Checksum [2023-10-27T20:49:24.727Z] ab5ef0e58194: Download complete [2023-10-27T20:49:24.727Z] 2de7ff778b66: Verifying Checksum [2023-10-27T20:49:24.727Z] 2de7ff778b66: Download complete [2023-10-27T20:49:27.255Z] ab5ef0e58194: Pull complete [2023-10-27T20:49:27.255Z] 9712f1f96733: Pull complete [2023-10-27T20:49:27.821Z] 63f879dbbcfc: Pull complete [2023-10-27T20:49:31.106Z] 0d9ebad4ef96: Pull complete [2023-10-27T20:49:31.106Z] e9a5061849ea: Pull complete [2023-10-27T20:49:31.495Z] d747dcd14b5f: Pull complete [2023-10-27T20:49:32.431Z] 2de7ff778b66: Pull complete [2023-10-27T20:49:32.431Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-27T20:49:32.431Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-27T20:49:32.431Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T20:49:32.517Z] prd-ubuntu20.04-docker-8c-8g-12649 does not seem to be running inside a container [2023-10-27T20:49:32.550Z] $ 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-27T20:49:37.992Z] $ docker top 50bcf9cdf8476073ef1f6efb3623e7de9eab019e6991e063761309cca1fce257 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-27T20:49:38.063Z] provisioning config files... [2023-10-27T20:49:38.070Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1800344739121648304tmp [2023-10-27T20:49:38.090Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5207526353803021163tmp [2023-10-27T20:49:38.100Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config823692460947834962tmp [Pipeline] { [Pipeline] echo [2023-10-27T20:49:38.115Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T20:49:38.399Z] ---> sigul-configuration.sh [2023-10-27T20:49:38.400Z] gpg: directory `/root/.gnupg' created [2023-10-27T20:49:38.400Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-27T20:49:38.400Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-27T20:49:38.400Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-27T20:49:38.400Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-27T20:49:38.400Z] gpg: CAST5 encrypted data [2023-10-27T20:49:38.400Z] gpg: encrypted with 1 passphrase [2023-10-27T20:49:38.400Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-27T20:49:38.689Z] + mkdir /home/jenkins [2023-10-27T20:49:38.689Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-27T20:49:38.973Z] + 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-27T20:49:38.981Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T20:49:39.265Z] ---> sigul-install.sh [2023-10-27T20:49:39.265Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-27T20:49:39.548Z] + git tag --list [2023-10-27T20:49:39.548Z] v1.0.0 [2023-10-27T20:49:39.548Z] v1.1.0 [2023-10-27T20:49:39.548Z] v1.1.1 [2023-10-27T20:49:39.548Z] v1.2.1 [2023-10-27T20:49:39.548Z] v1.2.2 [2023-10-27T20:49:39.548Z] v1.2.3 [2023-10-27T20:49:39.548Z] v1.3.0 [2023-10-27T20:49:39.548Z] v1.3.1 [2023-10-27T20:49:39.548Z] v2.0.0 [2023-10-27T20:49:39.548Z] v2.1.0 [2023-10-27T20:49:39.548Z] v2.1.1 [2023-10-27T20:49:39.548Z] v2.2.0 [2023-10-27T20:49:39.548Z] v2.3.0 [2023-10-27T20:49:39.548Z] v3.0 [2023-10-27T20:49:39.548Z] v3.0.0 [2023-10-27T20:49:39.548Z] v3.1.0-dev.1 [2023-10-27T20:49:39.548Z] v3.1.0-dev.10 [2023-10-27T20:49:39.548Z] v3.1.0-dev.11 [2023-10-27T20:49:39.548Z] v3.1.0-dev.12 [2023-10-27T20:49:39.548Z] v3.1.0-dev.13 [2023-10-27T20:49:39.548Z] v3.1.0-dev.14 [2023-10-27T20:49:39.548Z] v3.1.0-dev.15 [2023-10-27T20:49:39.548Z] v3.1.0-dev.16 [2023-10-27T20:49:39.548Z] v3.1.0-dev.17 [2023-10-27T20:49:39.548Z] v3.1.0-dev.18 [2023-10-27T20:49:39.548Z] v3.1.0-dev.19 [2023-10-27T20:49:39.548Z] v3.1.0-dev.2 [2023-10-27T20:49:39.548Z] v3.1.0-dev.20 [2023-10-27T20:49:39.548Z] v3.1.0-dev.21 [2023-10-27T20:49:39.548Z] v3.1.0-dev.22 [2023-10-27T20:49:39.548Z] v3.1.0-dev.23 [2023-10-27T20:49:39.548Z] v3.1.0-dev.24 [2023-10-27T20:49:39.548Z] v3.1.0-dev.25 [2023-10-27T20:49:39.548Z] v3.1.0-dev.26 [2023-10-27T20:49:39.548Z] v3.1.0-dev.27 [2023-10-27T20:49:39.548Z] v3.1.0-dev.3 [2023-10-27T20:49:39.548Z] v3.1.0-dev.4 [2023-10-27T20:49:39.548Z] v3.1.0-dev.5 [2023-10-27T20:49:39.548Z] v3.1.0-dev.6 [2023-10-27T20:49:39.548Z] v3.1.0-dev.7 [2023-10-27T20:49:39.548Z] v3.1.0-dev.8 [2023-10-27T20:49:39.548Z] v3.1.0-dev.9 [Pipeline] sh [2023-10-27T20:49:39.832Z] + lftools sign git-tag v3.1.0-dev.27 [2023-10-27T20:49:40.399Z] Signing Git tag with Sigul... [2023-10-27T20:49:40.399Z] Signing v3.1.0-dev.27 [Pipeline] echo [2023-10-27T20:49:40.666Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T20:49:40.951Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-27T20:49:40.958Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-27T20:49:40.979Z] $ docker stop --time=1 50bcf9cdf8476073ef1f6efb3623e7de9eab019e6991e063761309cca1fce257 [2023-10-27T20:49:42.277Z] $ docker rm -f --volumes 50bcf9cdf8476073ef1f6efb3623e7de9eab019e6991e063761309cca1fce257 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-27T20:49:42.691Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-27T20:49:42.692Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:49:42.988Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-27T20:49:42.988Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T20:49:43.055Z] prd-ubuntu20.04-docker-8c-8g-12649 does not seem to be running inside a container [2023-10-27T20:49:43.084Z] $ 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-27T20:49:43.413Z] $ docker top 33eb970e731eb8962585b88b7ab75e48c8f68c0e242ab0ce24bd5a2dc219f9ed -eo pid,comm [2023-10-27T20:49:43.455Z] 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-27T20:49:43.455Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-27T20:49:43.486Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-27T20:49:43.486Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-27T20:49:43.603Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-27T20:49:43.606Z] $ docker exec 33eb970e731eb8962585b88b7ab75e48c8f68c0e242ab0ce24bd5a2dc219f9ed ssh-agent [2023-10-27T20:49:43.761Z] SSH_AUTH_SOCK=/tmp/ssh-PDnacIOAGOgr/agent.32 [2023-10-27T20:49:43.761Z] SSH_AGENT_PID=38 [2023-10-27T20:49:43.767Z] Running ssh-add (command line suppressed) [2023-10-27T20:49:43.877Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_18234929535445887626.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_18234929535445887626.key) [2023-10-27T20:49:43.888Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-27T20:49:44.174Z] + git semver bump pre [2023-10-27T20:49:44.433Z] 2023-10-27 20:49:44,330 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-27T20:49:44.433Z] 2023-10-27 20:49:44,330 [bump_version] DEBUG bumping version:3.1.0-dev.27 on axis:pre with prefix:dev [2023-10-27T20:49:44.433Z] 2023-10-27 20:49:44,330 [bump_version] DEBUG bumped version:3.1.0-dev.28 [2023-10-27T20:49:44.433Z] 2023-10-27 20:49:44,330 [write_version] DEBUG write version:3.1.0-dev.28 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-10-27T20:49:44.433Z] 2023-10-27 20:49:44,330 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-27T20:49:44.433Z] 2023-10-27 20:49:44,330 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-27T20:49:44.433Z] 2023-10-27 20:49:44,333 [execute] INFO git cat-file --batch-check [2023-10-27T20:49:44.433Z] 2023-10-27 20:49:44,333 [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-27T20:49:44.433Z] 2023-10-27 20:49:44,337 [execute] INFO git cat-file --batch [2023-10-27T20:49:44.433Z] 2023-10-27 20:49:44,337 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-27T20:49:44.433Z] 2023-10-27 20:49:44,341 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-27T20:49:44.433Z] 3.1.0-dev.28 [Pipeline] } [2023-10-27T20:49:44.443Z] $ docker exec --env ******** --env ******** 33eb970e731eb8962585b88b7ab75e48c8f68c0e242ab0ce24bd5a2dc219f9ed ssh-agent -k [2023-10-27T20:49:44.542Z] unset SSH_AUTH_SOCK; [2023-10-27T20:49:44.542Z] unset SSH_AGENT_PID; [2023-10-27T20:49:44.542Z] echo Agent pid 38 killed; [2023-10-27T20:49:44.550Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-27T20:49:44.858Z] + git semver [Pipeline] } [2023-10-27T20:49:45.130Z] $ docker stop --time=1 33eb970e731eb8962585b88b7ab75e48c8f68c0e242ab0ce24bd5a2dc219f9ed [2023-10-27T20:49:46.417Z] $ docker rm -f --volumes 33eb970e731eb8962585b88b7ab75e48c8f68c0e242ab0ce24bd5a2dc219f9ed [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-27T20:49:46.762Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-27T20:49:46.762Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:49:47.061Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-27T20:49:47.062Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T20:49:47.131Z] prd-ubuntu20.04-docker-8c-8g-12649 does not seem to be running inside a container [2023-10-27T20:49:47.163Z] $ 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-27T20:49:47.494Z] $ docker top 6981c08662603eb6d10434f34701dfa9c3909fad31b08d6cd531e4e106e1788c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-27T20:49:47.576Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-27T20:49:47.576Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-27T20:49:47.693Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-27T20:49:47.697Z] $ docker exec 6981c08662603eb6d10434f34701dfa9c3909fad31b08d6cd531e4e106e1788c ssh-agent [2023-10-27T20:49:47.807Z] SSH_AUTH_SOCK=/tmp/ssh-LebnKj00SYro/agent.32 [2023-10-27T20:49:47.807Z] SSH_AGENT_PID=38 [2023-10-27T20:49:47.812Z] Running ssh-add (command line suppressed) [2023-10-27T20:49:47.909Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11509957786683203086.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11509957786683203086.key) [2023-10-27T20:49:47.924Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-27T20:49:48.211Z] + git semver push [2023-10-27T20:49:48.470Z] 2023-10-27 20:49:48,404 [run_push] DEBUG push [2023-10-27T20:49:48.470Z] 2023-10-27 20:49:48,405 [execute] INFO git cat-file --batch-check [2023-10-27T20:49:48.470Z] 2023-10-27 20:49:48,405 [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-27T20:49:48.470Z] 2023-10-27 20:49:48,409 [execute] INFO git rev-list 292a50c8bfaf34d0cff2356e89b83fdafba7909c -- [2023-10-27T20:49:48.470Z] 2023-10-27 20:49:48,409 [execute] DEBUG Popen(['git', 'rev-list', '292a50c8bfaf34d0cff2356e89b83fdafba7909c', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-27T20:49:48.470Z] 2023-10-27 20:49:48,420 [execute] INFO git fetch -v origin [2023-10-27T20:49:48.470Z] 2023-10-27 20:49:48,421 [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-27T20:49:49.037Z] 2023-10-27 20:49:48,959 [run_push] DEBUG no remote changes detected [2023-10-27T20:49:49.037Z] 2023-10-27 20:49:48,959 [execute] INFO git push origin semver [2023-10-27T20:49:49.037Z] 2023-10-27 20:49:48,960 [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-27T20:49:49.976Z] 2023-10-27 20:49:49,740 [run_push] DEBUG push all version tags [2023-10-27T20:49:49.976Z] 2023-10-27 20:49:49,741 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-27T20:49:49.976Z] 2023-10-27 20:49:49,741 [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-27T20:49:50.915Z] 2023-10-27 20:49:50,549 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-10-27T20:49:50.915Z] 3.1.0-dev.28 [Pipeline] } [2023-10-27T20:49:50.926Z] $ docker exec --env ******** --env ******** 6981c08662603eb6d10434f34701dfa9c3909fad31b08d6cd531e4e106e1788c ssh-agent -k [2023-10-27T20:49:51.034Z] unset SSH_AUTH_SOCK; [2023-10-27T20:49:51.035Z] unset SSH_AGENT_PID; [2023-10-27T20:49:51.035Z] echo Agent pid 38 killed; [2023-10-27T20:49:51.043Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-27T20:49:51.352Z] + git semver [Pipeline] } [2023-10-27T20:49:51.623Z] $ docker stop --time=1 6981c08662603eb6d10434f34701dfa9c3909fad31b08d6cd531e4e106e1788c [2023-10-27T20:49:52.877Z] $ docker rm -f --volumes 6981c08662603eb6d10434f34701dfa9c3909fad31b08d6cd531e4e106e1788c [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-27T20:49:53.478Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-10-27T20:49:53.478Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-10-27T20:49:53.478Z] total 16 [2023-10-27T20:49:53.478Z] drwxr-xr-x 3 root root 4096 Oct 27 20:35 . [2023-10-27T20:49:53.478Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 27 20:49 .. [2023-10-27T20:49:53.478Z] drwxr-xr-x 2 root root 4096 Oct 27 20:35 cost [2023-10-27T20:49:53.478Z] -rw-r--r-- 1 root root 89 Oct 27 20:35 cost.csv [2023-10-27T20:49:53.478Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-10-27T20:49:53.478Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-10-27T20:49:53.478Z] total 16 [2023-10-27T20:49:53.478Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 20:35 . [2023-10-27T20:49:53.478Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 27 20:49 .. [2023-10-27T20:49:53.478Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 27 20:35 cost [2023-10-27T20:49:53.478Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 27 20:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-27T20:49:53.769Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T20:49:54.619Z] ---> package-listing.sh [2023-10-27T20:49:54.619Z] ++ facter osfamily [2023-10-27T20:49:54.619Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-27T20:49:54.876Z] + OS_FAMILY=debian [2023-10-27T20:49:54.876Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-10-27T20:49:54.876Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-27T20:49:54.876Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-27T20:49:54.876Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-27T20:49:54.876Z] + PACKAGES=/tmp/packages_start.txt [2023-10-27T20:49:54.876Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-10-27T20:49:54.876Z] + PACKAGES=/tmp/packages_end.txt [2023-10-27T20:49:54.876Z] + case "${OS_FAMILY}" in [2023-10-27T20:49:54.876Z] + dpkg -l [2023-10-27T20:49:54.876Z] + grep '^ii' [2023-10-27T20:49:54.876Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-27T20:49:54.876Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-27T20:49:54.876Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-27T20:49:54.876Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-10-27T20:49:54.876Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-10-27T20:49:54.876Z] + 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-27T20:49:54.887Z] 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-27T20:49:55.162Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T20:49:55.724Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-27T20:49:55.724Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T20:49:55.860Z] prd-ubuntu20.04-docker-8c-8g-12649 does not seem to be running inside a container [2023-10-27T20:49:55.916Z] $ 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-27T20:49:56.132Z] $ docker top 0fc75a3fc7e5f714a435b53c3eb4f419860de8d5c961fa7a1beab659d0825a53 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-27T20:49:56.519Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-27T20:49:56.802Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-27T20:49:57.087Z] + ls /var/log/sa-host [2023-10-27T20:49:57.087Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-27T20:49:57.258Z] provisioning config files... [2023-10-27T20:49:57.267Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13278390373814024380tmp [Pipeline] { [Pipeline] echo [2023-10-27T20:49:57.285Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T20:49:57.569Z] ---> create-netrc.sh [Pipeline] } [2023-10-27T20:49:57.576Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-27T20:49:57.909Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-27T20:49:57.916Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T20:49:58.199Z] ---> sudo-logs.sh [2023-10-27T20:49:58.199Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-27T20:49:58.229Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T20:49:58.509Z] ---> job-cost.sh [2023-10-27T20:49:58.509Z] lf-activate-venv: SKIPPING [2023-10-27T20:49:58.509Z] DEBUG: total: 0.2199999988079071 [2023-10-27T20:49:58.509Z] INFO: Retrieving Stack Cost... [2023-10-27T20:49:58.768Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-27T20:49:59.336Z] INFO: Archiving Costs [Pipeline] echo [2023-10-27T20:49:59.347Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T20:49:59.631Z] ---> logs-deploy.sh [2023-10-27T20:49:59.631Z] lf-activate-venv: SKIPPING [2023-10-27T20:49:59.631Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/153 [2023-10-27T20:49:59.631Z] INFO: archiving workspace using pattern(s): [2023-10-27T20:50:00.566Z] Archives upload complete. [2023-10-27T20:50:00.566Z] INFO: archiving logs to Nexus