Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 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-ssh5571347707025507846.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh14536088050428567940.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh11361850173444587385.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh1115590269989782190.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-ssh17456799124852598888.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-2214’ Running on prd-ubuntu20.04-docker-8c-8g-2217 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 # timeout=10 Commit message: "refactor(snap): Refactor and upgrade to edgex-snap-hooks v3 (#328)" > git rev-list --no-walk ca0733bb9736aa55b8583960b75f1e287344907e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-13T15:35:59.530Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-13T15:35:59.574Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-13T15:35:59.588Z] ========================================================= [2023-01-13T15:35:59.588Z] EdgeX Global Pipelines Version Info [2023-01-13T15:35:59.588Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:36:00.307Z] ------------------- [2023-01-13T15:36:00.307Z] stable info: [2023-01-13T15:36:00.307Z] ------------------- [2023-01-13T15:36:00.307Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-13T15:36:00.307Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-13T15:36:00.307Z] Message: update stable to v1.0.244 [2023-01-13T15:36:00.877Z] ------------------- [2023-01-13T15:36:00.877Z] experimental info: [2023-01-13T15:36:00.877Z] ------------------- [2023-01-13T15:36:00.877Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-13T15:36:00.877Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-13T15:36:00.877Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-13T15:36:01.051Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-01-13T15:36:01.060Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-01-13T15:36:01.068Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-13T15:36:01.076Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-13T15:36:01.085Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-13T15:36:01.093Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-13T15:36:01.101Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-13T15:36:01.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-13T15:36:01.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-13T15:36:01.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-13T15:36:01.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-13T15:36:01.144Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-01-13T15:36:01.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-13T15:36:01.166Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-13T15:36:01.175Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-13T15:36:01.185Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-13T15:36:01.196Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-13T15:36:01.210Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-13T15:36:01.229Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-13T15:36:01.237Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-13T15:36:01.245Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-13T15:36:01.253Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-13T15:36:01.261Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-13T15:36:01.269Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-13T15:36:01.277Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-13T15:36:01.285Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-13T15:36:01.293Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-13T15:36:01.302Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-01-13T15:36:01.310Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-01-13T15:36:01.319Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-01-13T15:36:01.334Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 [Pipeline] echo [2023-01-13T15:36:01.346Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ade53ff [Pipeline] echo [2023-01-13T15:36:01.362Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-13T15:36:01.401Z] provisioning config files... [2023-01-13T15:36:01.414Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12102144722957472241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:36:01.715Z] ---> docker-login.sh [2023-01-13T15:36:01.715Z] nexus3.edgexfoundry.org:10001 [2023-01-13T15:36:01.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:36:01.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:36:01.976Z] Configure a credential helper to remove this warning. See [2023-01-13T15:36:01.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:36:01.976Z] [2023-01-13T15:36:01.976Z] Login Succeeded [2023-01-13T15:36:01.976Z] nexus3.edgexfoundry.org:10002 [2023-01-13T15:36:01.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:36:02.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:36:02.237Z] Configure a credential helper to remove this warning. See [2023-01-13T15:36:02.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:36:02.237Z] [2023-01-13T15:36:02.237Z] Login Succeeded [2023-01-13T15:36:02.237Z] nexus3.edgexfoundry.org:10003 [2023-01-13T15:36:02.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:36:02.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:36:02.237Z] Configure a credential helper to remove this warning. See [2023-01-13T15:36:02.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:36:02.237Z] [2023-01-13T15:36:02.237Z] Login Succeeded [2023-01-13T15:36:02.237Z] nexus3.edgexfoundry.org:10004 [2023-01-13T15:36:02.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:36:02.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:36:02.237Z] Configure a credential helper to remove this warning. See [2023-01-13T15:36:02.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:36:02.237Z] [2023-01-13T15:36:02.237Z] Login Succeeded [2023-01-13T15:36:02.237Z] docker.io [2023-01-13T15:36:02.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:36:02.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:36:02.758Z] Configure a credential helper to remove this warning. See [2023-01-13T15:36:02.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:36:02.758Z] [2023-01-13T15:36:02.758Z] Login Succeeded [2023-01-13T15:36:02.758Z] ---> docker-login.sh ends [Pipeline] } [2023-01-13T15:36:02.766Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-13T15:36:03.126Z] + git rev-list -1 --merges ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80~1..ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 [Pipeline] echo [2023-01-13T15:36:03.179Z] -----------> git rev-list -1 --merges ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80~1..ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 [false] [Pipeline] sh [2023-01-13T15:36:03.465Z] + git log --format=format:%s -1 ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 [Pipeline] echo [2023-01-13T15:36:03.480Z] ========================================================= [2023-01-13T15:36:03.480Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-13T15:36:03.480Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-13T15:36:03.799Z] + git log --format=format:%s -1 ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 [Pipeline] echo [2023-01-13T15:36:03.837Z] [semverPrep] GIT_COMMIT: ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80, Commit Message: refactor(snap): Refactor and upgrade to edgex-snap-hooks v3 (#328) [Pipeline] echo [2023-01-13T15:36:03.846Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-13T15:36:04.186Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-13T15:36:04.186Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-13T15:36:04.186Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-13T15:36:04.186Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-13T15:36:04.186Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-13T15:36:04.186Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-13T15:36:04.187Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:36:04.539Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-13T15:36:04.539Z] [2023-01-13T15:36:04.539Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:36:04.839Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-13T15:36:05.099Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-13T15:36:05.099Z] b85a868b505f: Pulling fs layer [2023-01-13T15:36:05.099Z] e2be974225ed: Pulling fs layer [2023-01-13T15:36:05.099Z] 339a4e72a1f5: Pulling fs layer [2023-01-13T15:36:05.099Z] 988bab9f4d93: Pulling fs layer [2023-01-13T15:36:05.099Z] 1469e6f7b9e6: Pulling fs layer [2023-01-13T15:36:05.099Z] eaf3925da568: Pulling fs layer [2023-01-13T15:36:05.099Z] bab4dde63d76: Pulling fs layer [2023-01-13T15:36:05.099Z] bde34c3a00c8: Pulling fs layer [2023-01-13T15:36:05.099Z] b352a97aabf1: Pulling fs layer [2023-01-13T15:36:05.099Z] 4872d77fe225: Pulling fs layer [2023-01-13T15:36:05.099Z] 5851b861e8e6: Pulling fs layer [2023-01-13T15:36:05.099Z] 988bab9f4d93: Waiting [2023-01-13T15:36:05.099Z] 1469e6f7b9e6: Waiting [2023-01-13T15:36:05.099Z] eaf3925da568: Waiting [2023-01-13T15:36:05.099Z] bab4dde63d76: Waiting [2023-01-13T15:36:05.099Z] bde34c3a00c8: Waiting [2023-01-13T15:36:05.099Z] b352a97aabf1: Waiting [2023-01-13T15:36:05.099Z] 4872d77fe225: Waiting [2023-01-13T15:36:05.099Z] 5851b861e8e6: Waiting [2023-01-13T15:36:05.099Z] e2be974225ed: Download complete [2023-01-13T15:36:05.099Z] 988bab9f4d93: Verifying Checksum [2023-01-13T15:36:05.099Z] 988bab9f4d93: Download complete [2023-01-13T15:36:05.099Z] 1469e6f7b9e6: Verifying Checksum [2023-01-13T15:36:05.099Z] 1469e6f7b9e6: Download complete [2023-01-13T15:36:05.099Z] eaf3925da568: Verifying Checksum [2023-01-13T15:36:05.099Z] eaf3925da568: Download complete [2023-01-13T15:36:05.099Z] 339a4e72a1f5: Verifying Checksum [2023-01-13T15:36:05.099Z] 339a4e72a1f5: Download complete [2023-01-13T15:36:05.099Z] bde34c3a00c8: Verifying Checksum [2023-01-13T15:36:05.099Z] bde34c3a00c8: Download complete [2023-01-13T15:36:05.099Z] b352a97aabf1: Verifying Checksum [2023-01-13T15:36:05.099Z] b352a97aabf1: Download complete [2023-01-13T15:36:05.358Z] 4872d77fe225: Verifying Checksum [2023-01-13T15:36:05.358Z] 4872d77fe225: Download complete [2023-01-13T15:36:05.358Z] 5851b861e8e6: Verifying Checksum [2023-01-13T15:36:05.358Z] 5851b861e8e6: Download complete [2023-01-13T15:36:05.358Z] b85a868b505f: Download complete [2023-01-13T15:36:05.617Z] bab4dde63d76: Verifying Checksum [2023-01-13T15:36:05.617Z] bab4dde63d76: Download complete [2023-01-13T15:36:06.560Z] b85a868b505f: Pull complete [2023-01-13T15:36:06.560Z] e2be974225ed: Pull complete [2023-01-13T15:36:07.128Z] 339a4e72a1f5: Pull complete [2023-01-13T15:36:07.128Z] 988bab9f4d93: Pull complete [2023-01-13T15:36:07.389Z] 1469e6f7b9e6: Pull complete [2023-01-13T15:36:07.649Z] eaf3925da568: Pull complete [2023-01-13T15:36:09.548Z] bab4dde63d76: Pull complete [2023-01-13T15:36:09.548Z] bde34c3a00c8: Pull complete [2023-01-13T15:36:09.548Z] b352a97aabf1: Pull complete [2023-01-13T15:36:09.808Z] 4872d77fe225: Pull complete [2023-01-13T15:36:09.808Z] 5851b861e8e6: Pull complete [2023-01-13T15:36:09.808Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-13T15:36:09.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-13T15:36:09.808Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T15:36:09.898Z] prd-ubuntu20.04-docker-8c-8g-2217 does not seem to be running inside a container [2023-01-13T15:36:09.931Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-13T15:36:12.706Z] $ docker top 5f63c5c21b893d619fda704530348b43fd55e8b483b4d7b6b4224743f1db6adb -eo pid,comm [2023-01-13T15:36:12.769Z] 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-01-13T15:36:12.769Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-13T15:36:12.803Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-13T15:36:12.803Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-13T15:36:12.918Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-13T15:36:12.924Z] $ docker exec 5f63c5c21b893d619fda704530348b43fd55e8b483b4d7b6b4224743f1db6adb ssh-agent [2023-01-13T15:36:13.035Z] SSH_AUTH_SOCK=/tmp/ssh-4zCPXdIzWhtE/agent.32 [2023-01-13T15:36:13.035Z] SSH_AGENT_PID=38 [2023-01-13T15:36:13.041Z] Running ssh-add (command line suppressed) [2023-01-13T15:36:13.148Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6771524004149701883.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6771524004149701883.key) [2023-01-13T15:36:13.159Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-13T15:36:13.454Z] + git tag --points-at HEAD [Pipeline] } [2023-01-13T15:36:13.469Z] $ docker exec --env ******** --env ******** 5f63c5c21b893d619fda704530348b43fd55e8b483b4d7b6b4224743f1db6adb ssh-agent -k [2023-01-13T15:36:13.573Z] unset SSH_AUTH_SOCK; [2023-01-13T15:36:13.573Z] unset SSH_AGENT_PID; [2023-01-13T15:36:13.574Z] echo Agent pid 38 killed; [2023-01-13T15:36:13.580Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-13T15:36:13.606Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-13T15:36:13.606Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-13T15:36:13.710Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-13T15:36:13.716Z] $ docker exec 5f63c5c21b893d619fda704530348b43fd55e8b483b4d7b6b4224743f1db6adb ssh-agent [2023-01-13T15:36:13.822Z] SSH_AUTH_SOCK=/tmp/ssh-u77oMRo8lPZT/agent.70 [2023-01-13T15:36:13.822Z] SSH_AGENT_PID=76 [2023-01-13T15:36:13.827Z] Running ssh-add (command line suppressed) [2023-01-13T15:36:13.943Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4267925660523059415.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4267925660523059415.key) [2023-01-13T15:36:13.956Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-13T15:36:14.241Z] + git semver init [2023-01-13T15:36:14.502Z] 2023-01-13 15:36:14,440 [run_init] DEBUG init version:0.0.0 force:False [2023-01-13T15:36:14.502Z] 2023-01-13 15:36:14,441 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-01-13T15:36:14.502Z] 2023-01-13 15:36:14,441 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-01-13T15:36:14.502Z] 2023-01-13 15:36:14,442 [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-01-13T15:36:15.884Z] 2023-01-13 15:36:15,614 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-01-13T15:36:15.884Z] 2023-01-13 15:36:15,614 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-01-13T15:36:15.884Z] 2023-01-13 15:36:15,614 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-01-13T15:36:15.884Z] 2023-01-13 15:36:15,615 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-01-13T15:36:15.884Z] 3.0.0-dev.5 [Pipeline] } [2023-01-13T15:36:15.898Z] $ docker exec --env ******** --env ******** 5f63c5c21b893d619fda704530348b43fd55e8b483b4d7b6b4224743f1db6adb ssh-agent -k [2023-01-13T15:36:16.007Z] unset SSH_AUTH_SOCK; [2023-01-13T15:36:16.007Z] unset SSH_AGENT_PID; [2023-01-13T15:36:16.012Z] echo Agent pid 76 killed; [2023-01-13T15:36:16.014Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-13T15:36:16.315Z] + git semver [Pipeline] } [2023-01-13T15:36:16.591Z] $ docker stop --time=1 5f63c5c21b893d619fda704530348b43fd55e8b483b4d7b6b4224743f1db6adb [2023-01-13T15:36:17.866Z] $ docker rm -f --volumes 5f63c5c21b893d619fda704530348b43fd55e8b483b4d7b6b4224743f1db6adb [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-13T15:36:18.200Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-13T15:36:18.409Z] Stashed 1 file(s) [Pipeline] echo [2023-01-13T15:36:18.412Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.5 [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-01-13T15:36:18.564Z] provisioning config files... [2023-01-13T15:36:18.574Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14828042814880145950tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:36:18.882Z] ---> docker-login.sh [2023-01-13T15:36:18.882Z] nexus3.edgexfoundry.org:10001 [2023-01-13T15:36:18.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:36:18.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:36:18.882Z] Configure a credential helper to remove this warning. See [2023-01-13T15:36:18.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:36:18.882Z] [2023-01-13T15:36:18.882Z] Login Succeeded [2023-01-13T15:36:18.882Z] nexus3.edgexfoundry.org:10002 [2023-01-13T15:36:18.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:36:18.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:36:18.882Z] Configure a credential helper to remove this warning. See [2023-01-13T15:36:18.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:36:18.882Z] [2023-01-13T15:36:18.882Z] Login Succeeded [2023-01-13T15:36:18.882Z] nexus3.edgexfoundry.org:10003 [2023-01-13T15:36:19.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:36:19.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:36:19.189Z] Configure a credential helper to remove this warning. See [2023-01-13T15:36:19.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:36:19.189Z] [2023-01-13T15:36:19.189Z] Login Succeeded [2023-01-13T15:36:19.189Z] nexus3.edgexfoundry.org:10004 [2023-01-13T15:36:19.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:36:19.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:36:19.189Z] Configure a credential helper to remove this warning. See [2023-01-13T15:36:19.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:36:19.189Z] [2023-01-13T15:36:19.189Z] Login Succeeded [2023-01-13T15:36:19.189Z] docker.io [2023-01-13T15:36:19.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:36:19.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:36:19.449Z] Configure a credential helper to remove this warning. See [2023-01-13T15:36:19.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:36:19.449Z] [2023-01-13T15:36:19.449Z] Login Succeeded [2023-01-13T15:36:19.449Z] ---> docker-login.sh ends [Pipeline] } [2023-01-13T15:36:19.456Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-13T15:36:19.525Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-13T15:36:19.542Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-13T15:36:19.555Z] ========================================================= [2023-01-13T15:36:19.555Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-13T15:36:19.555Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:36:20.007Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-13T15:36:20.007Z] Sending build context to Docker daemon 23.33MB [2023-01-13T15:36:20.007Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-13T15:36:20.007Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-13T15:36:20.266Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-13T15:36:20.266Z] 213ec9aee27d: Pulling fs layer [2023-01-13T15:36:20.266Z] 4583459ba037: Pulling fs layer [2023-01-13T15:36:20.266Z] 93c1e223e6f2: Pulling fs layer [2023-01-13T15:36:20.266Z] 53926ce57604: Pulling fs layer [2023-01-13T15:36:20.266Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-13T15:36:20.266Z] 22ff95d597cd: Pulling fs layer [2023-01-13T15:36:20.266Z] 12d6caf4c0d1: Pulling fs layer [2023-01-13T15:36:20.266Z] 96b7cbca73a9: Pulling fs layer [2023-01-13T15:36:20.266Z] a7acece74701: Pulling fs layer [2023-01-13T15:36:20.266Z] 12d6caf4c0d1: Waiting [2023-01-13T15:36:20.266Z] 96b7cbca73a9: Waiting [2023-01-13T15:36:20.266Z] a7acece74701: Waiting [2023-01-13T15:36:20.266Z] 53926ce57604: Waiting [2023-01-13T15:36:20.266Z] 21b2b0c7a3f4: Waiting [2023-01-13T15:36:20.266Z] 22ff95d597cd: Waiting [2023-01-13T15:36:20.527Z] 93c1e223e6f2: Verifying Checksum [2023-01-13T15:36:20.527Z] 93c1e223e6f2: Download complete [2023-01-13T15:36:20.527Z] 4583459ba037: Download complete [2023-01-13T15:36:20.527Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-13T15:36:20.527Z] 21b2b0c7a3f4: Download complete [2023-01-13T15:36:20.527Z] 22ff95d597cd: Verifying Checksum [2023-01-13T15:36:20.527Z] 22ff95d597cd: Download complete [2023-01-13T15:36:20.527Z] 213ec9aee27d: Download complete [2023-01-13T15:36:20.527Z] 12d6caf4c0d1: Download complete [2023-01-13T15:36:20.789Z] 213ec9aee27d: Pull complete [2023-01-13T15:36:21.049Z] a7acece74701: Verifying Checksum [2023-01-13T15:36:21.049Z] a7acece74701: Download complete [2023-01-13T15:36:21.049Z] 4583459ba037: Pull complete [2023-01-13T15:36:21.307Z] 93c1e223e6f2: Pull complete [2023-01-13T15:36:21.566Z] 53926ce57604: Verifying Checksum [2023-01-13T15:36:21.566Z] 53926ce57604: Download complete [2023-01-13T15:36:21.566Z] 96b7cbca73a9: Verifying Checksum [2023-01-13T15:36:25.769Z] 53926ce57604: Pull complete [2023-01-13T15:36:25.769Z] 21b2b0c7a3f4: Pull complete [2023-01-13T15:36:25.769Z] 22ff95d597cd: Pull complete [2023-01-13T15:36:25.769Z] 12d6caf4c0d1: Pull complete [2023-01-13T15:36:27.670Z] 96b7cbca73a9: Pull complete [2023-01-13T15:36:28.293Z] a7acece74701: Pull complete [2023-01-13T15:36:28.293Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-13T15:36:28.293Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-13T15:36:28.293Z] ---> db6d94c90886 [2023-01-13T15:36:28.293Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-13T15:36:33.516Z] Still waiting to schedule task [2023-01-13T15:36:33.516Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2215’ [2023-01-13T15:36:34.896Z] ---> Running in fa34e3f8da66 [2023-01-13T15:36:35.155Z] Removing intermediate container fa34e3f8da66 [2023-01-13T15:36:35.155Z] ---> 7106c5adc29e [2023-01-13T15:36:35.155Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-13T15:36:35.155Z] ---> Running in 0b9fa5830392 [2023-01-13T15:36:35.415Z] Removing intermediate container 0b9fa5830392 [2023-01-13T15:36:35.415Z] ---> ee4465ba54bf [2023-01-13T15:36:35.415Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-01-13T15:36:35.674Z] ---> Running in 3e4b965c3c69 [2023-01-13T15:36:35.674Z] Removing intermediate container 3e4b965c3c69 [2023-01-13T15:36:35.674Z] ---> 3e3a1b3acb45 [2023-01-13T15:36:35.674Z] Step 6/12 : WORKDIR /device-virtual-go [2023-01-13T15:36:36.244Z] ---> Running in b875e0e3170a [2023-01-13T15:36:36.244Z] Removing intermediate container b875e0e3170a [2023-01-13T15:36:36.244Z] ---> dc7eb7b7b855 [2023-01-13T15:36:36.244Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-13T15:36:36.244Z] ---> Running in 7c31b6906b5c [2023-01-13T15:36:36.503Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-13T15:36:36.503Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-13T15:36:36.761Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-13T15:36:36.761Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-13T15:36:36.761Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-13T15:36:36.761Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-13T15:36:36.761Z] Executing busybox-1.35.0-r17.trigger [2023-01-13T15:36:36.761Z] OK: 216 MiB in 55 packages [2023-01-13T15:36:38.678Z] Removing intermediate container 7c31b6906b5c [2023-01-13T15:36:38.678Z] ---> 83a51d3c1d7b [2023-01-13T15:36:38.678Z] Step 8/12 : COPY go.mod vendor* ./ [2023-01-13T15:36:38.678Z] ---> 1c2360a4b4f0 [2023-01-13T15:36:38.678Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-13T15:36:38.678Z] ---> Running in f6dc9e5896f5 [2023-01-13T15:37:10.999Z] Removing intermediate container f6dc9e5896f5 [2023-01-13T15:37:10.999Z] ---> 93319f3e865b [2023-01-13T15:37:10.999Z] Step 10/12 : COPY . . [2023-01-13T15:37:10.999Z] ---> ae781d7626c1 [2023-01-13T15:37:10.999Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-13T15:37:10.999Z] ---> Running in a9ad5ce81e3f [2023-01-13T15:37:10.999Z] Removing intermediate container a9ad5ce81e3f [2023-01-13T15:37:10.999Z] ---> c129db4b95b3 [2023-01-13T15:37:10.999Z] Step 12/12 : RUN $MAKE [2023-01-13T15:37:10.999Z] ---> Running in 6d2ff7de196d [2023-01-13T15:37:10.999Z] noop [2023-01-13T15:37:10.999Z] Removing intermediate container 6d2ff7de196d [2023-01-13T15:37:10.999Z] ---> 926dac7e70f8 [2023-01-13T15:37:10.999Z] Successfully built 926dac7e70f8 [2023-01-13T15:37:10.999Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:37:11.320Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-13T15:37:11.320Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T15:37:11.400Z] prd-ubuntu20.04-docker-8c-8g-2217 does not seem to be running inside a container [2023-01-13T15:37:11.435Z] $ 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 ******** ci-base-image-x86_64 cat [2023-01-13T15:37:11.787Z] $ docker top 7abbd5ba76421e625310890743ac45992a31d6a6d0f6c6d3b50f9a05dd1fe5c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-13T15:37:12.133Z] + go version [2023-01-13T15:37:12.133Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-13T15:37:12.147Z] $ docker stop --time=1 7abbd5ba76421e625310890743ac45992a31d6a6d0f6c6d3b50f9a05dd1fe5c2 [2023-01-13T15:37:13.405Z] $ docker rm -f --volumes 7abbd5ba76421e625310890743ac45992a31d6a6d0f6c6d3b50f9a05dd1fe5c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:37:13.812Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-13T15:37:13.812Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T15:37:13.885Z] prd-ubuntu20.04-docker-8c-8g-2217 does not seem to be running inside a container [2023-01-13T15:37:13.920Z] $ 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 ******** ci-base-image-x86_64 cat [2023-01-13T15:37:14.268Z] $ docker top 0d5bb7f7e5a7529022805818973637ec32f23412510a9ee8e48dc886eb04a2cc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-13T15:37:14.613Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-01-13T15:37:14.908Z] + make test [2023-01-13T15:37:14.908Z] go test ./... -coverprofile=coverage.out [2023-01-13T15:37:15.167Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-01-13T15:37:25.133Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-01-13T15:37:25.133Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.033s coverage: 65.7% of statements [2023-01-13T15:37:31.715Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-13T15:37:31.973Z] go vet ./... [2023-01-13T15:37:35.257Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-13T15:37:35.257Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-13T15:37:35.257Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-13T15:37:35.268Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-13T15:37:35.282Z] $ docker stop --time=1 0d5bb7f7e5a7529022805818973637ec32f23412510a9ee8e48dc886eb04a2cc [2023-01-13T15:37:37.757Z] $ docker rm -f --volumes 0d5bb7f7e5a7529022805818973637ec32f23412510a9ee8e48dc886eb04a2cc [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-13T15:37:38.176Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-13T15:37:38.218Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-13T15:37:38.730Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-13T15:37:39.017Z] + ls -al . [2023-01-13T15:37:39.017Z] total 204 [2023-01-13T15:37:39.017Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 13 15:37 . [2023-01-13T15:37:39.017Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 15:35 .. [2023-01-13T15:37:39.017Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 13 15:37 .git [2023-01-13T15:37:39.017Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 15:35 .github [2023-01-13T15:37:39.017Z] -rw-rw-r-- 1 jenkins jenkins 337 Jan 13 15:35 .gitignore [2023-01-13T15:37:39.017Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 13 15:35 .golangci.yml [2023-01-13T15:37:39.017Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 13 15:36 .semver [2023-01-13T15:37:39.017Z] -rw-rw-r-- 1 jenkins jenkins 8423 Jan 13 15:35 Attribution.txt [2023-01-13T15:37:39.017Z] -rw-rw-r-- 1 jenkins jenkins 11367 Jan 13 15:35 CHANGELOG.md [2023-01-13T15:37:39.017Z] -rw-rw-r-- 1 jenkins jenkins 1646 Jan 13 15:35 Dockerfile [2023-01-13T15:37:39.017Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 13 15:35 GOVERNANCE.md [2023-01-13T15:37:39.017Z] -rw-rw-r-- 1 jenkins jenkins 660 Jan 13 15:35 Jenkinsfile [2023-01-13T15:37:39.017Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 13 15:35 LICENSE [2023-01-13T15:37:39.017Z] -rw-rw-r-- 1 jenkins jenkins 1661 Jan 13 15:35 Makefile [2023-01-13T15:37:39.017Z] -rw-rw-r-- 1 jenkins jenkins 623 Jan 13 15:35 OWNERS.md [2023-01-13T15:37:39.017Z] -rw-rw-r-- 1 jenkins jenkins 3578 Jan 13 15:35 README.md [2023-01-13T15:37:39.017Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 13 15:36 VERSION [2023-01-13T15:37:39.017Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 15:35 bin [2023-01-13T15:37:39.017Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 15:35 cmd [2023-01-13T15:37:39.017Z] -rw-r--r-- 1 jenkins jenkins 44128 Jan 13 15:37 coverage.out [2023-01-13T15:37:39.017Z] -rw-rw-r-- 1 jenkins jenkins 3340 Jan 13 15:35 go.mod [2023-01-13T15:37:39.017Z] -rw-rw-r-- 1 jenkins jenkins 44412 Jan 13 15:35 go.sum [2023-01-13T15:37:39.017Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 15:35 internal [2023-01-13T15:37:39.017Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 15:35 snap [2023-01-13T15:37:39.017Z] -rw-rw-r-- 1 jenkins jenkins 235 Jan 13 15:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:37:39.396Z] + 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=ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 --label arch=amd64 --label version=3.0.0-dev.5 . [2023-01-13T15:37:39.397Z] Sending build context to Docker daemon 23.38MB [2023-01-13T15:37:39.397Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-13T15:37:39.397Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-13T15:37:39.397Z] ---> 926dac7e70f8 [2023-01-13T15:37:39.397Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-13T15:37:39.655Z] ---> Running in bb14ee82c926 [2023-01-13T15:37:39.655Z] Removing intermediate container bb14ee82c926 [2023-01-13T15:37:39.655Z] ---> 0e20ba23b5c4 [2023-01-13T15:37:39.655Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-13T15:37:39.655Z] ---> Running in bb2bd94893b0 [2023-01-13T15:37:39.915Z] Removing intermediate container bb2bd94893b0 [2023-01-13T15:37:39.915Z] ---> 4b8756fca9fb [2023-01-13T15:37:39.915Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-01-13T15:37:39.915Z] ---> Running in 198586d9f76e [2023-01-13T15:37:39.915Z] Removing intermediate container 198586d9f76e [2023-01-13T15:37:39.915Z] ---> f29c2d55c51c [2023-01-13T15:37:39.915Z] Step 6/25 : WORKDIR /device-virtual-go [2023-01-13T15:37:39.915Z] ---> Running in 92a1dd9cf953 [2023-01-13T15:37:39.915Z] Removing intermediate container 92a1dd9cf953 [2023-01-13T15:37:39.915Z] ---> d275ee8f90b1 [2023-01-13T15:37:39.915Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-13T15:37:40.175Z] ---> Running in ec49550b438b [2023-01-13T15:37:40.435Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-13T15:37:40.435Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-13T15:37:40.435Z] OK: 216 MiB in 55 packages [2023-01-13T15:37:41.001Z] Removing intermediate container ec49550b438b [2023-01-13T15:37:41.001Z] ---> 2180d9b6cfea [2023-01-13T15:37:41.001Z] Step 8/25 : COPY go.mod vendor* ./ [2023-01-13T15:37:41.001Z] ---> 449b5cbfd255 [2023-01-13T15:37:41.001Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-13T15:37:41.001Z] ---> Running in 0674512306e5 [2023-01-13T15:37:41.568Z] Removing intermediate container 0674512306e5 [2023-01-13T15:37:41.568Z] ---> 25d08126b283 [2023-01-13T15:37:41.568Z] Step 10/25 : COPY . . [2023-01-13T15:37:42.134Z] ---> 606ba8eb09cb [2023-01-13T15:37:42.134Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-13T15:37:42.134Z] ---> Running in ac3c58f03fc5 [2023-01-13T15:37:42.393Z] Removing intermediate container ac3c58f03fc5 [2023-01-13T15:37:42.393Z] ---> a31b63aa3b9c [2023-01-13T15:37:42.393Z] Step 12/25 : RUN $MAKE [2023-01-13T15:37:42.393Z] ---> Running in 2112231ac83f [2023-01-13T15:37:42.653Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.5" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-01-13T15:38:04.717Z] Removing intermediate container 2112231ac83f [2023-01-13T15:38:04.717Z] ---> 0140ee143f2d [2023-01-13T15:38:04.717Z] Step 13/25 : FROM alpine:3.16 [2023-01-13T15:38:04.717Z] 3.16: Pulling from library/alpine [2023-01-13T15:38:04.717Z] ca7dd9ec2225: Pulling fs layer [2023-01-13T15:38:04.717Z] ca7dd9ec2225: Download complete [2023-01-13T15:38:04.717Z] ca7dd9ec2225: Pull complete [2023-01-13T15:38:04.717Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-13T15:38:04.717Z] Status: Downloaded newer image for alpine:3.16 [2023-01-13T15:38:04.717Z] ---> bfe296a52501 [2023-01-13T15:38:04.717Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-01-13T15:38:04.717Z] ---> Running in 3bc0b2a5f29f [2023-01-13T15:38:04.976Z] Removing intermediate container 3bc0b2a5f29f [2023-01-13T15:38:04.976Z] ---> 37d800bc5270 [2023-01-13T15:38:04.976Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-01-13T15:38:04.976Z] ---> Running in 1aab389adf63 [2023-01-13T15:38:05.235Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-13T15:38:05.235Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-13T15:38:05.802Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-13T15:38:05.802Z] Executing busybox-1.35.0-r17.trigger [2023-01-13T15:38:05.802Z] OK: 6 MiB in 15 packages [2023-01-13T15:38:06.060Z] Removing intermediate container 1aab389adf63 [2023-01-13T15:38:06.060Z] ---> 576eadfd6cc7 [2023-01-13T15:38:06.060Z] Step 16/25 : WORKDIR / [2023-01-13T15:38:06.060Z] ---> Running in 9de713bd13ed [2023-01-13T15:38:06.060Z] Removing intermediate container 9de713bd13ed [2023-01-13T15:38:06.060Z] ---> 3de23b6c7e46 [2023-01-13T15:38:06.060Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-01-13T15:38:06.318Z] ---> 23c1d3410c36 [2023-01-13T15:38:06.318Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-01-13T15:38:06.318Z] ---> 0a4fb0e5808a [2023-01-13T15:38:06.318Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-01-13T15:38:07.329Z] ---> a659cd0084a9 [2023-01-13T15:38:07.329Z] Step 20/25 : EXPOSE 59900 [2023-01-13T15:38:07.329Z] ---> Running in 9d428cdf978a [2023-01-13T15:38:07.329Z] Removing intermediate container 9d428cdf978a [2023-01-13T15:38:07.329Z] ---> 981a840e0fc9 [2023-01-13T15:38:07.329Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-01-13T15:38:07.329Z] ---> Running in 2aca0186d244 [2023-01-13T15:38:07.329Z] Removing intermediate container 2aca0186d244 [2023-01-13T15:38:07.329Z] ---> 49ca68809b6c [2023-01-13T15:38:07.329Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-13T15:38:07.329Z] ---> Running in 302a37af0629 [2023-01-13T15:38:07.590Z] Removing intermediate container 302a37af0629 [2023-01-13T15:38:07.590Z] ---> 695dd50dddcd [2023-01-13T15:38:07.590Z] Step 23/25 : LABEL arch=amd64 [2023-01-13T15:38:07.590Z] ---> Running in 2330f7e80521 [2023-01-13T15:38:07.590Z] Removing intermediate container 2330f7e80521 [2023-01-13T15:38:07.590Z] ---> b190b3902c37 [2023-01-13T15:38:07.590Z] Step 24/25 : LABEL git_sha=ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 [2023-01-13T15:38:07.590Z] ---> Running in ba4814d01766 [2023-01-13T15:38:07.590Z] Removing intermediate container ba4814d01766 [2023-01-13T15:38:07.590Z] ---> 27eb18ebded8 [2023-01-13T15:38:07.590Z] Step 25/25 : LABEL version=3.0.0-dev.5 [2023-01-13T15:38:07.590Z] ---> Running in 15812da79d62 [2023-01-13T15:38:07.849Z] Removing intermediate container 15812da79d62 [2023-01-13T15:38:07.849Z] ---> 2aeb33caf965 [2023-01-13T15:38:07.849Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-13T15:38:07.849Z] Successfully built 2aeb33caf965 [2023-01-13T15:38:07.849Z] 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-01-13T15:38:07.949Z] provisioning config files... [2023-01-13T15:38:07.958Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14842092521176171282tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:38:08.256Z] ---> docker-login.sh [2023-01-13T15:38:08.256Z] nexus3.edgexfoundry.org:10001 [2023-01-13T15:38:08.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:38:08.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:38:08.256Z] Configure a credential helper to remove this warning. See [2023-01-13T15:38:08.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:38:08.256Z] [2023-01-13T15:38:08.256Z] Login Succeeded [2023-01-13T15:38:08.256Z] nexus3.edgexfoundry.org:10002 [2023-01-13T15:38:08.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:38:08.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:38:08.515Z] Configure a credential helper to remove this warning. See [2023-01-13T15:38:08.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:38:08.515Z] [2023-01-13T15:38:08.515Z] Login Succeeded [2023-01-13T15:38:08.515Z] nexus3.edgexfoundry.org:10003 [2023-01-13T15:38:08.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:38:08.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:38:08.515Z] Configure a credential helper to remove this warning. See [2023-01-13T15:38:08.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:38:08.515Z] [2023-01-13T15:38:08.515Z] Login Succeeded [2023-01-13T15:38:08.515Z] nexus3.edgexfoundry.org:10004 [2023-01-13T15:38:08.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:38:08.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:38:08.773Z] Configure a credential helper to remove this warning. See [2023-01-13T15:38:08.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:38:08.773Z] [2023-01-13T15:38:08.773Z] Login Succeeded [2023-01-13T15:38:08.773Z] docker.io [2023-01-13T15:38:08.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:38:09.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:38:09.032Z] Configure a credential helper to remove this warning. See [2023-01-13T15:38:09.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:38:09.032Z] [2023-01-13T15:38:09.032Z] Login Succeeded [2023-01-13T15:38:09.032Z] ---> docker-login.sh ends [Pipeline] } [2023-01-13T15:38:09.038Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-13T15:38:09.071Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-13T15:38:09.094Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-01-13T15:38:09.094Z] ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 [2023-01-13T15:38:09.094Z] latest [2023-01-13T15:38:09.094Z] 3.0.0-dev.5 [2023-01-13T15:38:09.094Z] ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80-3.0.0-dev.5 [2023-01-13T15:38:09.094Z] main [2023-01-13T15:38:09.094Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:38:09.434Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:38:09.744Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 [2023-01-13T15:38:09.744Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-01-13T15:38:09.744Z] cef61ca3d792: Preparing [2023-01-13T15:38:09.744Z] b145dcc96e9a: Preparing [2023-01-13T15:38:09.744Z] e6c88776a5b7: Preparing [2023-01-13T15:38:09.744Z] 10669df9db24: Preparing [2023-01-13T15:38:09.744Z] e5e13b0c77cb: Preparing [2023-01-13T15:38:09.744Z] e5e13b0c77cb: Layer already exists [2023-01-13T15:38:09.744Z] 10669df9db24: Pushed [2023-01-13T15:38:09.744Z] e6c88776a5b7: Pushed [2023-01-13T15:38:09.744Z] b145dcc96e9a: Pushed [2023-01-13T15:38:12.293Z] cef61ca3d792: Pushed [2023-01-13T15:38:12.552Z] ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80: digest: sha256:61336b4ab7e9239fb48116f9dbd1b63e7f7a2da29eace8a056cdf1483e746af5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:38:12.882Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:38:13.762Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-01-13T15:38:13.762Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-01-13T15:38:13.762Z] cef61ca3d792: Preparing [2023-01-13T15:38:13.762Z] b145dcc96e9a: Preparing [2023-01-13T15:38:13.762Z] e6c88776a5b7: Preparing [2023-01-13T15:38:13.762Z] 10669df9db24: Preparing [2023-01-13T15:38:13.762Z] e5e13b0c77cb: Preparing [2023-01-13T15:38:13.762Z] e5e13b0c77cb: Layer already exists [2023-01-13T15:38:13.762Z] cef61ca3d792: Layer already exists [2023-01-13T15:38:13.762Z] e6c88776a5b7: Layer already exists [2023-01-13T15:38:13.762Z] b145dcc96e9a: Layer already exists [2023-01-13T15:38:13.762Z] 10669df9db24: Layer already exists [2023-01-13T15:38:13.762Z] latest: digest: sha256:61336b4ab7e9239fb48116f9dbd1b63e7f7a2da29eace8a056cdf1483e746af5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:38:14.077Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:38:14.382Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.5 [2023-01-13T15:38:14.383Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-01-13T15:38:14.383Z] cef61ca3d792: Preparing [2023-01-13T15:38:14.383Z] b145dcc96e9a: Preparing [2023-01-13T15:38:14.383Z] e6c88776a5b7: Preparing [2023-01-13T15:38:14.383Z] 10669df9db24: Preparing [2023-01-13T15:38:14.383Z] e5e13b0c77cb: Preparing [2023-01-13T15:38:14.383Z] b145dcc96e9a: Layer already exists [2023-01-13T15:38:14.383Z] e5e13b0c77cb: Layer already exists [2023-01-13T15:38:14.383Z] 10669df9db24: Layer already exists [2023-01-13T15:38:14.383Z] cef61ca3d792: Layer already exists [2023-01-13T15:38:14.383Z] e6c88776a5b7: Layer already exists [2023-01-13T15:38:14.383Z] 3.0.0-dev.5: digest: sha256:61336b4ab7e9239fb48116f9dbd1b63e7f7a2da29eace8a056cdf1483e746af5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:38:14.802Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80-3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:38:15.364Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80-3.0.0-dev.5 [2023-01-13T15:38:15.364Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-01-13T15:38:15.364Z] cef61ca3d792: Preparing [2023-01-13T15:38:15.364Z] b145dcc96e9a: Preparing [2023-01-13T15:38:15.364Z] e6c88776a5b7: Preparing [2023-01-13T15:38:15.364Z] 10669df9db24: Preparing [2023-01-13T15:38:15.364Z] e5e13b0c77cb: Preparing [2023-01-13T15:38:15.364Z] cef61ca3d792: Layer already exists [2023-01-13T15:38:15.364Z] e6c88776a5b7: Layer already exists [2023-01-13T15:38:15.364Z] b145dcc96e9a: Layer already exists [2023-01-13T15:38:15.364Z] e5e13b0c77cb: Layer already exists [2023-01-13T15:38:15.364Z] 10669df9db24: Layer already exists [2023-01-13T15:38:15.364Z] ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80-3.0.0-dev.5: digest: sha256:61336b4ab7e9239fb48116f9dbd1b63e7f7a2da29eace8a056cdf1483e746af5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:38:15.673Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:38:15.977Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-01-13T15:38:15.977Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-01-13T15:38:15.977Z] cef61ca3d792: Preparing [2023-01-13T15:38:15.977Z] b145dcc96e9a: Preparing [2023-01-13T15:38:15.977Z] e6c88776a5b7: Preparing [2023-01-13T15:38:15.977Z] 10669df9db24: Preparing [2023-01-13T15:38:15.977Z] e5e13b0c77cb: Preparing [2023-01-13T15:38:15.977Z] e6c88776a5b7: Layer already exists [2023-01-13T15:38:15.977Z] b145dcc96e9a: Layer already exists [2023-01-13T15:38:15.977Z] cef61ca3d792: Layer already exists [2023-01-13T15:38:15.977Z] 10669df9db24: Layer already exists [2023-01-13T15:38:15.977Z] e5e13b0c77cb: Layer already exists [2023-01-13T15:38:15.977Z] main: digest: sha256:61336b4ab7e9239fb48116f9dbd1b63e7f7a2da29eace8a056cdf1483e746af5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-13T15:38:16.013Z] ===================================================== [Pipeline] echo [2023-01-13T15:38:16.019Z] taggedImages: [2023-01-13T15:38:16.019Z] - nexus3.edgexfoundry.org:10004/device-virtual:ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 [2023-01-13T15:38:16.019Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-01-13T15:38:16.019Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.5 [2023-01-13T15:38:16.019Z] - nexus3.edgexfoundry.org:10004/device-virtual:ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80-3.0.0-dev.5 [2023-01-13T15:38:16.019Z] - 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-01-13T15:38:16.363Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-13T15:38:16.364Z] [2023-01-13T15:38:16.364Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:38:16.671Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-13T15:38:17.614Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-13T15:38:17.614Z] 5eb5b503b376: Pulling fs layer [2023-01-13T15:38:17.614Z] 5c69ac0246d0: Pulling fs layer [2023-01-13T15:38:17.614Z] ec43610c2a17: Pulling fs layer [2023-01-13T15:38:17.614Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-13T15:38:17.614Z] 33b1e0a273af: Pulling fs layer [2023-01-13T15:38:17.614Z] 3a2ae6a8a46f: Waiting [2023-01-13T15:38:17.614Z] 5d3b04190fa2: Pulling fs layer [2023-01-13T15:38:17.614Z] 33b1e0a273af: Waiting [2023-01-13T15:38:17.614Z] 2f39f015ded8: Pulling fs layer [2023-01-13T15:38:17.614Z] 5d3b04190fa2: Waiting [2023-01-13T15:38:17.614Z] 2f39f015ded8: Waiting [2023-01-13T15:38:17.614Z] 5c69ac0246d0: Verifying Checksum [2023-01-13T15:38:17.614Z] 5c69ac0246d0: Download complete [2023-01-13T15:38:17.614Z] 3a2ae6a8a46f: Download complete [2023-01-13T15:38:17.614Z] ec43610c2a17: Verifying Checksum [2023-01-13T15:38:17.614Z] ec43610c2a17: Download complete [2023-01-13T15:38:17.614Z] 5d3b04190fa2: Verifying Checksum [2023-01-13T15:38:17.614Z] 5d3b04190fa2: Download complete [2023-01-13T15:38:17.614Z] 33b1e0a273af: Verifying Checksum [2023-01-13T15:38:17.614Z] 33b1e0a273af: Download complete [2023-01-13T15:38:17.882Z] 5eb5b503b376: Verifying Checksum [2023-01-13T15:38:17.882Z] 5eb5b503b376: Download complete [2023-01-13T15:38:18.457Z] 2f39f015ded8: Download complete [2023-01-13T15:38:19.022Z] 5eb5b503b376: Pull complete [2023-01-13T15:38:19.280Z] 5c69ac0246d0: Pull complete [2023-01-13T15:38:19.538Z] ec43610c2a17: Pull complete [2023-01-13T15:38:19.538Z] 3a2ae6a8a46f: Pull complete [2023-01-13T15:38:19.797Z] 33b1e0a273af: Pull complete [2023-01-13T15:38:20.055Z] 5d3b04190fa2: Pull complete [2023-01-13T15:38:25.324Z] 2f39f015ded8: Pull complete [2023-01-13T15:38:25.324Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-13T15:38:25.324Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-13T15:38:25.324Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T15:38:25.420Z] prd-ubuntu20.04-docker-8c-8g-2217 does not seem to be running inside a container [2023-01-13T15:38:25.457Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-13T15:38:30.865Z] $ docker top 3ed9800bf5f3ee4c4ffe144f516245fc2b00520c5ba6295fe944257df4ef37ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:38:31.241Z] ---> job-cost.sh [2023-01-13T15:38:31.242Z] lf-activate-venv: SKIPPING [2023-01-13T15:38:31.242Z] INFO: No Stack... [2023-01-13T15:38:31.501Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-13T15:38:31.760Z] INFO: Archiving Costs [Pipeline] sh [2023-01-13T15:38:32.051Z] + cut -d, -f6 [2023-01-13T15:38:32.051Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [Pipeline] lock [2023-01-13T15:38:32.066Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-76-stack-cost] [2023-01-13T15:38:32.074Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-76-stack-cost] did not exist. Created. [2023-01-13T15:38:32.075Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-76-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-13T15:38:32.377Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-13T15:38:32.402Z] Stashed 1 file(s) [Pipeline] } [2023-01-13T15:38:32.408Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-76-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-13T15:38:32.427Z] $ docker stop --time=1 3ed9800bf5f3ee4c4ffe144f516245fc2b00520c5ba6295fe944257df4ef37ed [2023-01-13T15:38:33.569Z] $ docker rm -f --volumes 3ed9800bf5f3ee4c4ffe144f516245fc2b00520c5ba6295fe944257df4ef37ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-13T15:39:37.765Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2220 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-01-13T15:39:37.781Z] Running in /w/workspace/device-virtual-go/76 [Pipeline] { [Pipeline] checkout [2023-01-13T15:39:37.818Z] The recommended git tool is: git [2023-01-13T15:39:43.960Z] using credential edgex-jenkins-ssh [2023-01-13T15:39:43.981Z] Cloning the remote Git repository [2023-01-13T15:39:44.044Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-01-13T15:39:44.136Z] > git init /w/workspace/device-virtual-go/76 # timeout=10 [2023-01-13T15:39:44.354Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-01-13T15:39:44.356Z] > git --version # timeout=10 [2023-01-13T15:39:44.384Z] > git --version # 'git version 2.25.1' [2023-01-13T15:39:44.387Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-13T15:39:44.464Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-13T15:39:46.511Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-01-13T15:39:46.537Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-13T15:39:47.603Z] Avoid second fetch [2023-01-13T15:39:47.604Z] Checking out Revision ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 (main) [2023-01-13T15:39:47.627Z] > git config core.sparsecheckout # timeout=10 [2023-01-13T15:39:47.650Z] > git checkout -f ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 # timeout=10 [2023-01-13T15:39:48.255Z] Commit message: "refactor(snap): Refactor and upgrade to edgex-snap-hooks v3 (#328)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-13T15:39:49.244Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-13T15:39:49.244Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-13T15:39:49.244Z] Dload Upload Total Spent Left Speed [2023-01-13T15:39:49.244Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh [2023-01-13T15:39:49.865Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-13T15:39:50.216Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-13T15:39:50.216Z] + sudo tee /etc/docker/daemon.new [2023-01-13T15:39:50.216Z] { [2023-01-13T15:39:50.216Z] "registry-mirrors": [ [2023-01-13T15:39:50.216Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-13T15:39:50.216Z] ], [2023-01-13T15:39:50.216Z] "bip": "10.250.0.254/24", [2023-01-13T15:39:50.216Z] "hosts": [ [2023-01-13T15:39:50.216Z] "tcp://0.0.0.0:5555", [2023-01-13T15:39:50.216Z] "unix:///var/run/docker.sock" [2023-01-13T15:39:50.216Z] ], [2023-01-13T15:39:50.216Z] "mtu": 1458, [2023-01-13T15:39:50.216Z] "selinux-enabled": true, [2023-01-13T15:39:50.216Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-13T15:39:50.216Z] } [Pipeline] sh [2023-01-13T15:39:50.567Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-13T15:39:50.933Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-13T15:40:09.241Z] provisioning config files... [2023-01-13T15:40:09.270Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/76@tmp/config5878370056699670245tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:40:09.640Z] ---> docker-login.sh [2023-01-13T15:40:09.640Z] nexus3.edgexfoundry.org:10001 [2023-01-13T15:40:10.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:40:10.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:40:10.230Z] Configure a credential helper to remove this warning. See [2023-01-13T15:40:10.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:40:10.230Z] [2023-01-13T15:40:10.230Z] Login Succeeded [2023-01-13T15:40:10.230Z] nexus3.edgexfoundry.org:10002 [2023-01-13T15:40:10.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:40:10.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:40:10.768Z] Configure a credential helper to remove this warning. See [2023-01-13T15:40:10.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:40:10.768Z] [2023-01-13T15:40:10.768Z] Login Succeeded [2023-01-13T15:40:10.768Z] nexus3.edgexfoundry.org:10003 [2023-01-13T15:40:11.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:40:11.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:40:11.039Z] Configure a credential helper to remove this warning. See [2023-01-13T15:40:11.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:40:11.039Z] [2023-01-13T15:40:11.039Z] Login Succeeded [2023-01-13T15:40:11.039Z] nexus3.edgexfoundry.org:10004 [2023-01-13T15:40:11.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:40:11.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:40:11.312Z] Configure a credential helper to remove this warning. See [2023-01-13T15:40:11.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:40:11.312Z] [2023-01-13T15:40:11.312Z] Login Succeeded [2023-01-13T15:40:11.312Z] docker.io [2023-01-13T15:40:11.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:40:11.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:40:11.855Z] Configure a credential helper to remove this warning. See [2023-01-13T15:40:11.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:40:11.855Z] [2023-01-13T15:40:11.855Z] Login Succeeded [2023-01-13T15:40:11.855Z] ---> docker-login.sh ends [Pipeline] } [2023-01-13T15:40:11.874Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-13T15:40:12.188Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-13T15:40:12.202Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-13T15:40:12.212Z] ========================================================= [2023-01-13T15:40:12.212Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-13T15:40:12.212Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:40:12.567Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-13T15:40:12.855Z] Sending build context to Docker daemon 11.82MB [2023-01-13T15:40:13.130Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-13T15:40:13.130Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-13T15:40:13.130Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-13T15:40:13.130Z] 9b18e9b68314: Pulling fs layer [2023-01-13T15:40:13.130Z] 35d82f9e3411: Pulling fs layer [2023-01-13T15:40:13.130Z] e16973657156: Pulling fs layer [2023-01-13T15:40:13.130Z] fc693d55d65f: Pulling fs layer [2023-01-13T15:40:13.130Z] 7e9fc2657dce: Pulling fs layer [2023-01-13T15:40:13.130Z] dda99020689f: Pulling fs layer [2023-01-13T15:40:13.130Z] db1c61fa0a46: Pulling fs layer [2023-01-13T15:40:13.130Z] 891c053d2c06: Pulling fs layer [2023-01-13T15:40:13.130Z] dda99020689f: Waiting [2023-01-13T15:40:13.130Z] db1c61fa0a46: Waiting [2023-01-13T15:40:13.130Z] 891c053d2c06: Waiting [2023-01-13T15:40:13.130Z] fc693d55d65f: Waiting [2023-01-13T15:40:13.403Z] e16973657156: Verifying Checksum [2023-01-13T15:40:13.403Z] e16973657156: Download complete [2023-01-13T15:40:13.403Z] 35d82f9e3411: Verifying Checksum [2023-01-13T15:40:13.403Z] 35d82f9e3411: Download complete [2023-01-13T15:40:13.403Z] 7e9fc2657dce: Download complete [2023-01-13T15:40:13.403Z] dda99020689f: Verifying Checksum [2023-01-13T15:40:13.403Z] dda99020689f: Download complete [2023-01-13T15:40:13.403Z] 9b18e9b68314: Download complete [2023-01-13T15:40:14.396Z] 9b18e9b68314: Pull complete [2023-01-13T15:40:14.667Z] 891c053d2c06: Verifying Checksum [2023-01-13T15:40:14.667Z] 891c053d2c06: Download complete [2023-01-13T15:40:14.947Z] 35d82f9e3411: Pull complete [2023-01-13T15:40:15.223Z] e16973657156: Pull complete [2023-01-13T15:40:15.823Z] db1c61fa0a46: Verifying Checksum [2023-01-13T15:40:15.823Z] db1c61fa0a46: Download complete [2023-01-13T15:40:16.420Z] fc693d55d65f: Verifying Checksum [2023-01-13T15:40:16.420Z] fc693d55d65f: Download complete [2023-01-13T15:40:28.801Z] fc693d55d65f: Pull complete [2023-01-13T15:40:28.801Z] 7e9fc2657dce: Pull complete [2023-01-13T15:40:29.072Z] dda99020689f: Pull complete [2023-01-13T15:40:35.777Z] db1c61fa0a46: Pull complete [2023-01-13T15:40:37.202Z] 891c053d2c06: Pull complete [2023-01-13T15:40:37.202Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-13T15:40:37.202Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-13T15:40:37.474Z] ---> f96f9c87975a [2023-01-13T15:40:37.474Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-13T15:40:39.450Z] ---> Running in 8eb783f48ec2 [2023-01-13T15:40:39.721Z] Removing intermediate container 8eb783f48ec2 [2023-01-13T15:40:39.721Z] ---> 01e679f1d410 [2023-01-13T15:40:39.721Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-13T15:40:39.993Z] ---> Running in 94e1126fd277 [2023-01-13T15:40:40.266Z] Removing intermediate container 94e1126fd277 [2023-01-13T15:40:40.266Z] ---> ee22c3fa4006 [2023-01-13T15:40:40.266Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-01-13T15:40:40.266Z] ---> Running in fe3d488ba6ef [2023-01-13T15:40:40.538Z] Removing intermediate container fe3d488ba6ef [2023-01-13T15:40:40.538Z] ---> 0ac03c6cdf1f [2023-01-13T15:40:40.538Z] Step 6/12 : WORKDIR /device-virtual-go [2023-01-13T15:40:40.814Z] ---> Running in 8a292fba636d [2023-01-13T15:40:41.085Z] Removing intermediate container 8a292fba636d [2023-01-13T15:40:41.085Z] ---> ec0ef84e1b49 [2023-01-13T15:40:41.085Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-13T15:40:41.085Z] ---> Running in 8f9fd5fb13ad [2023-01-13T15:40:42.514Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-13T15:40:42.782Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-13T15:40:43.746Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-13T15:40:43.746Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-13T15:40:43.746Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-13T15:40:44.017Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-13T15:40:44.017Z] Executing busybox-1.35.0-r17.trigger [2023-01-13T15:40:44.017Z] OK: 226 MiB in 55 packages [2023-01-13T15:40:45.445Z] Removing intermediate container 8f9fd5fb13ad [2023-01-13T15:40:45.445Z] ---> bbc1fefb1682 [2023-01-13T15:40:45.445Z] Step 8/12 : COPY go.mod vendor* ./ [2023-01-13T15:40:45.720Z] ---> 6485ae7b6123 [2023-01-13T15:40:45.720Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-13T15:40:45.720Z] ---> Running in 8f43ba72b8de [2023-01-13T15:41:42.307Z] Removing intermediate container 8f43ba72b8de [2023-01-13T15:41:42.307Z] ---> e8035e2ba4b1 [2023-01-13T15:41:42.307Z] Step 10/12 : COPY . . [2023-01-13T15:41:42.307Z] ---> 3e0ba2704c77 [2023-01-13T15:41:42.307Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-13T15:41:42.307Z] ---> Running in 33b50b743f38 [2023-01-13T15:41:42.307Z] Removing intermediate container 33b50b743f38 [2023-01-13T15:41:42.307Z] ---> ea051dd91934 [2023-01-13T15:41:42.307Z] Step 12/12 : RUN $MAKE [2023-01-13T15:41:42.307Z] ---> Running in adad8f4c19ae [2023-01-13T15:41:42.307Z] noop [2023-01-13T15:41:44.907Z] Removing intermediate container adad8f4c19ae [2023-01-13T15:41:44.908Z] ---> c3af3fb7a39a [2023-01-13T15:41:44.908Z] Successfully built c3af3fb7a39a [2023-01-13T15:41:44.908Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:41:45.260Z] + docker inspect -f . ci-base-image-arm64 [2023-01-13T15:41:45.260Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T15:41:45.473Z] prd-ubuntu20.04-docker-arm64-4c-16g-2220 does not seem to be running inside a container [2023-01-13T15:41:45.549Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/76 -v /w/workspace/device-virtual-go/76:/w/workspace/device-virtual-go/76:rw,z -v /w/workspace/device-virtual-go/76@tmp:/w/workspace/device-virtual-go/76@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-01-13T15:41:46.858Z] $ docker top afb272a9f4941454398573d14117f98469d9c7780bdfa23880ae386b8fec50a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-13T15:41:47.723Z] + go version [2023-01-13T15:41:47.724Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-13T15:41:47.747Z] $ docker stop --time=1 afb272a9f4941454398573d14117f98469d9c7780bdfa23880ae386b8fec50a3 [2023-01-13T15:41:49.402Z] $ docker rm -f --volumes afb272a9f4941454398573d14117f98469d9c7780bdfa23880ae386b8fec50a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:41:49.973Z] + docker inspect -f . ci-base-image-arm64 [2023-01-13T15:41:49.973Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T15:41:50.164Z] prd-ubuntu20.04-docker-arm64-4c-16g-2220 does not seem to be running inside a container [2023-01-13T15:41:50.232Z] $ 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/76 -v /w/workspace/device-virtual-go/76:/w/workspace/device-virtual-go/76:rw,z -v /w/workspace/device-virtual-go/76@tmp:/w/workspace/device-virtual-go/76@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-01-13T15:41:51.427Z] $ docker top 91d5361031d06b7bc3739893b034eec6b9f9dd9d52d295b0526aed7ba2d78a96 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-13T15:41:52.251Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/76 [Pipeline] fileExists [Pipeline] sh [2023-01-13T15:41:52.906Z] + make test [2023-01-13T15:41:52.906Z] go test ./... -coverprofile=coverage.out [2023-01-13T15:41:54.870Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-01-13T15:43:31.611Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-01-13T15:43:31.611Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.137s coverage: 65.7% of statements [2023-01-13T15:43:31.611Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-13T15:43:31.611Z] go vet ./... [2023-01-13T15:43:46.658Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-13T15:43:46.658Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-13T15:43:46.925Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-13T15:43:47.210Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-13T15:43:47.222Z] $ docker stop --time=1 91d5361031d06b7bc3739893b034eec6b9f9dd9d52d295b0526aed7ba2d78a96 [2023-01-13T15:43:49.121Z] $ docker rm -f --volumes 91d5361031d06b7bc3739893b034eec6b9f9dd9d52d295b0526aed7ba2d78a96 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-13T15:43:50.111Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-13T15:43:50.135Z] Warning: overwriting stash ‘coverage-report’ [2023-01-13T15:43:50.659Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-13T15:43:51.031Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-13T15:43:51.367Z] + ls -al . [2023-01-13T15:43:51.367Z] total 200 [2023-01-13T15:43:51.367Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 13 15:41 . [2023-01-13T15:43:51.367Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 15:39 .. [2023-01-13T15:43:51.367Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 13 15:39 .git [2023-01-13T15:43:51.367Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 15:39 .github [2023-01-13T15:43:51.367Z] -rw-rw-r-- 1 jenkins jenkins 337 Jan 13 15:39 .gitignore [2023-01-13T15:43:51.367Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 13 15:39 .golangci.yml [2023-01-13T15:43:51.367Z] -rw-rw-r-- 1 jenkins jenkins 8423 Jan 13 15:39 Attribution.txt [2023-01-13T15:43:51.367Z] -rw-rw-r-- 1 jenkins jenkins 11367 Jan 13 15:39 CHANGELOG.md [2023-01-13T15:43:51.367Z] -rw-rw-r-- 1 jenkins jenkins 1646 Jan 13 15:39 Dockerfile [2023-01-13T15:43:51.367Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 13 15:39 GOVERNANCE.md [2023-01-13T15:43:51.367Z] -rw-rw-r-- 1 jenkins jenkins 660 Jan 13 15:39 Jenkinsfile [2023-01-13T15:43:51.367Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 13 15:39 LICENSE [2023-01-13T15:43:51.367Z] -rw-rw-r-- 1 jenkins jenkins 1661 Jan 13 15:39 Makefile [2023-01-13T15:43:51.367Z] -rw-rw-r-- 1 jenkins jenkins 623 Jan 13 15:39 OWNERS.md [2023-01-13T15:43:51.367Z] -rw-rw-r-- 1 jenkins jenkins 3578 Jan 13 15:39 README.md [2023-01-13T15:43:51.367Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 13 15:36 VERSION [2023-01-13T15:43:51.367Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 15:39 bin [2023-01-13T15:43:51.367Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 15:39 cmd [2023-01-13T15:43:51.367Z] -rw-r--r-- 1 jenkins jenkins 44128 Jan 13 15:43 coverage.out [2023-01-13T15:43:51.367Z] -rw-rw-r-- 1 jenkins jenkins 3340 Jan 13 15:39 go.mod [2023-01-13T15:43:51.367Z] -rw-rw-r-- 1 jenkins jenkins 44412 Jan 13 15:39 go.sum [2023-01-13T15:43:51.367Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 15:39 internal [2023-01-13T15:43:51.367Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 15:39 snap [2023-01-13T15:43:51.367Z] -rw-rw-r-- 1 jenkins jenkins 235 Jan 13 15:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:43:51.722Z] + 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=ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 --label arch=arm64 --label version=3.0.0-dev.5 . [2023-01-13T15:43:52.311Z] Sending build context to Docker daemon 11.87MB [2023-01-13T15:43:52.311Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-13T15:43:52.311Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-13T15:43:52.311Z] ---> c3af3fb7a39a [2023-01-13T15:43:52.311Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-13T15:43:52.311Z] ---> Running in fcc42107636c [2023-01-13T15:43:52.898Z] Removing intermediate container fcc42107636c [2023-01-13T15:43:52.898Z] ---> 824ef7a69e12 [2023-01-13T15:43:52.898Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-13T15:43:52.898Z] ---> Running in d17d6508e686 [2023-01-13T15:43:53.169Z] Removing intermediate container d17d6508e686 [2023-01-13T15:43:53.169Z] ---> 2e408f782c7e [2023-01-13T15:43:53.169Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-01-13T15:43:53.440Z] ---> Running in ae8ad9424d84 [2023-01-13T15:43:53.710Z] Removing intermediate container ae8ad9424d84 [2023-01-13T15:43:53.710Z] ---> 6bffea51a36e [2023-01-13T15:43:53.710Z] Step 6/25 : WORKDIR /device-virtual-go [2023-01-13T15:43:53.710Z] ---> Running in d60ce0bef8f4 [2023-01-13T15:43:55.667Z] Removing intermediate container d60ce0bef8f4 [2023-01-13T15:43:55.667Z] ---> 0af5aa912b2e [2023-01-13T15:43:55.667Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-13T15:43:55.667Z] ---> Running in 5916f2b5c447 [2023-01-13T15:43:56.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-13T15:43:57.215Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-13T15:43:58.180Z] OK: 226 MiB in 55 packages [2023-01-13T15:43:59.146Z] Removing intermediate container 5916f2b5c447 [2023-01-13T15:43:59.146Z] ---> f19350d52b41 [2023-01-13T15:43:59.146Z] Step 8/25 : COPY go.mod vendor* ./ [2023-01-13T15:43:59.748Z] ---> f505debeeaaa [2023-01-13T15:43:59.748Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-13T15:43:59.748Z] ---> Running in bfcc13fb15e8 [2023-01-13T15:44:02.352Z] Removing intermediate container bfcc13fb15e8 [2023-01-13T15:44:02.352Z] ---> c5fb69e94cd4 [2023-01-13T15:44:02.352Z] Step 10/25 : COPY . . [2023-01-13T15:44:03.315Z] ---> 32c327e5ee95 [2023-01-13T15:44:03.315Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-13T15:44:03.583Z] ---> Running in d24ff602986f [2023-01-13T15:44:03.852Z] Removing intermediate container d24ff602986f [2023-01-13T15:44:03.852Z] ---> 42fd22d204fd [2023-01-13T15:44:03.852Z] Step 12/25 : RUN $MAKE [2023-01-13T15:44:03.852Z] ---> Running in 77f2325bd593 [2023-01-13T15:44:04.817Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.5" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-01-13T15:46:26.576Z] Removing intermediate container 77f2325bd593 [2023-01-13T15:46:26.576Z] ---> 1ba8fbba58f3 [2023-01-13T15:46:26.576Z] Step 13/25 : FROM alpine:3.16 [2023-01-13T15:46:26.576Z] 3.16: Pulling from library/alpine [2023-01-13T15:46:26.576Z] 6875df1f5354: Pulling fs layer [2023-01-13T15:46:26.576Z] 6875df1f5354: Verifying Checksum [2023-01-13T15:46:26.576Z] 6875df1f5354: Download complete [2023-01-13T15:46:26.576Z] 6875df1f5354: Pull complete [2023-01-13T15:46:26.576Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-13T15:46:26.576Z] Status: Downloaded newer image for alpine:3.16 [2023-01-13T15:46:26.576Z] ---> 2b4661558fb8 [2023-01-13T15:46:26.576Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-01-13T15:46:26.576Z] ---> Running in b34612520f30 [2023-01-13T15:46:26.576Z] Removing intermediate container b34612520f30 [2023-01-13T15:46:26.576Z] ---> 50fc1ab41a56 [2023-01-13T15:46:26.576Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-01-13T15:46:26.576Z] ---> Running in 723124c43a3b [2023-01-13T15:46:26.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-13T15:46:26.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-13T15:46:26.844Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-13T15:46:26.844Z] Executing busybox-1.35.0-r17.trigger [2023-01-13T15:46:26.844Z] OK: 5 MiB in 15 packages [2023-01-13T15:46:27.811Z] Removing intermediate container 723124c43a3b [2023-01-13T15:46:27.811Z] ---> a8ae46a21a9b [2023-01-13T15:46:27.811Z] Step 16/25 : WORKDIR / [2023-01-13T15:46:27.811Z] ---> Running in c8d0913802b7 [2023-01-13T15:46:28.079Z] Removing intermediate container c8d0913802b7 [2023-01-13T15:46:28.079Z] ---> 0a25cf72d42a [2023-01-13T15:46:28.079Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-01-13T15:46:28.666Z] ---> 804081dc3e4c [2023-01-13T15:46:28.666Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-01-13T15:46:29.250Z] ---> f4fa371a419c [2023-01-13T15:46:29.250Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-01-13T15:46:30.665Z] ---> 17731b1ad7fe [2023-01-13T15:46:30.665Z] Step 20/25 : EXPOSE 59900 [2023-01-13T15:46:30.665Z] ---> Running in 988635ad5744 [2023-01-13T15:46:30.934Z] Removing intermediate container 988635ad5744 [2023-01-13T15:46:30.934Z] ---> 0359b72dfaf9 [2023-01-13T15:46:30.934Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-01-13T15:46:30.934Z] ---> Running in 774b853819c4 [2023-01-13T15:46:31.202Z] Removing intermediate container 774b853819c4 [2023-01-13T15:46:31.202Z] ---> 03339ca94b74 [2023-01-13T15:46:31.202Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-13T15:46:31.473Z] ---> Running in 24662a9886d4 [2023-01-13T15:46:31.742Z] Removing intermediate container 24662a9886d4 [2023-01-13T15:46:31.742Z] ---> be238c87425d [2023-01-13T15:46:31.742Z] Step 23/25 : LABEL arch=arm64 [2023-01-13T15:46:31.742Z] ---> Running in 355b19fd7c85 [2023-01-13T15:46:32.011Z] Removing intermediate container 355b19fd7c85 [2023-01-13T15:46:32.011Z] ---> b857c385e103 [2023-01-13T15:46:32.011Z] Step 24/25 : LABEL git_sha=ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 [2023-01-13T15:46:32.011Z] ---> Running in d4da2a2ec708 [2023-01-13T15:46:32.279Z] Removing intermediate container d4da2a2ec708 [2023-01-13T15:46:32.279Z] ---> 862760d7daa7 [2023-01-13T15:46:32.279Z] Step 25/25 : LABEL version=3.0.0-dev.5 [2023-01-13T15:46:32.279Z] ---> Running in d94743731c8f [2023-01-13T15:46:32.548Z] Removing intermediate container d94743731c8f [2023-01-13T15:46:32.548Z] ---> 3a95f057b483 [2023-01-13T15:46:32.548Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-13T15:46:32.815Z] Successfully built 3a95f057b483 [2023-01-13T15:46:32.815Z] 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-01-13T15:46:32.936Z] provisioning config files... [2023-01-13T15:46:32.951Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/76@tmp/config13630367997429266972tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:46:33.284Z] ---> docker-login.sh [2023-01-13T15:46:33.284Z] nexus3.edgexfoundry.org:10001 [2023-01-13T15:46:33.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:46:33.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:46:33.550Z] Configure a credential helper to remove this warning. See [2023-01-13T15:46:33.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:46:33.550Z] [2023-01-13T15:46:33.550Z] Login Succeeded [2023-01-13T15:46:33.550Z] nexus3.edgexfoundry.org:10002 [2023-01-13T15:46:33.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:46:33.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:46:33.819Z] Configure a credential helper to remove this warning. See [2023-01-13T15:46:33.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:46:33.819Z] [2023-01-13T15:46:33.819Z] Login Succeeded [2023-01-13T15:46:33.819Z] nexus3.edgexfoundry.org:10003 [2023-01-13T15:46:34.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:46:34.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:46:34.357Z] Configure a credential helper to remove this warning. See [2023-01-13T15:46:34.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:46:34.357Z] [2023-01-13T15:46:34.357Z] Login Succeeded [2023-01-13T15:46:34.357Z] nexus3.edgexfoundry.org:10004 [2023-01-13T15:46:34.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:46:34.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:46:34.626Z] Configure a credential helper to remove this warning. See [2023-01-13T15:46:34.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:46:34.626Z] [2023-01-13T15:46:34.626Z] Login Succeeded [2023-01-13T15:46:34.626Z] docker.io [2023-01-13T15:46:34.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T15:46:35.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T15:46:35.160Z] Configure a credential helper to remove this warning. See [2023-01-13T15:46:35.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T15:46:35.160Z] [2023-01-13T15:46:35.160Z] Login Succeeded [2023-01-13T15:46:35.160Z] ---> docker-login.sh ends [Pipeline] } [2023-01-13T15:46:35.171Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-13T15:46:35.197Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-13T15:46:35.212Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-01-13T15:46:35.212Z] ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 [2023-01-13T15:46:35.212Z] latest [2023-01-13T15:46:35.212Z] 3.0.0-dev.5 [2023-01-13T15:46:35.212Z] ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80-3.0.0-dev.5 [2023-01-13T15:46:35.212Z] main [2023-01-13T15:46:35.212Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:46:35.541Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:46:35.877Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 [2023-01-13T15:46:35.877Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-01-13T15:46:35.877Z] 56109bc4990a: Preparing [2023-01-13T15:46:35.877Z] 6deca1c55fe4: Preparing [2023-01-13T15:46:35.877Z] 36e4a099de3b: Preparing [2023-01-13T15:46:35.877Z] da1062e26f58: Preparing [2023-01-13T15:46:35.877Z] 17bec77d7fdc: Preparing [2023-01-13T15:46:35.877Z] 17bec77d7fdc: Layer already exists [2023-01-13T15:46:36.143Z] 6deca1c55fe4: Pushed [2023-01-13T15:46:36.143Z] 36e4a099de3b: Pushed [2023-01-13T15:46:36.143Z] da1062e26f58: Pushed [2023-01-13T15:46:40.412Z] 56109bc4990a: Pushed [2023-01-13T15:46:40.678Z] ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80: digest: sha256:06c5851e0f58ddc434a0eb00611d7f02da367210b41bb5bcd517e7ca9f335904 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:46:41.020Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:46:41.357Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-01-13T15:46:41.357Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-01-13T15:46:41.357Z] 56109bc4990a: Preparing [2023-01-13T15:46:41.357Z] 6deca1c55fe4: Preparing [2023-01-13T15:46:41.357Z] 36e4a099de3b: Preparing [2023-01-13T15:46:41.357Z] da1062e26f58: Preparing [2023-01-13T15:46:41.357Z] 17bec77d7fdc: Preparing [2023-01-13T15:46:41.357Z] da1062e26f58: Layer already exists [2023-01-13T15:46:41.357Z] 36e4a099de3b: Layer already exists [2023-01-13T15:46:41.357Z] 56109bc4990a: Layer already exists [2023-01-13T15:46:41.357Z] 17bec77d7fdc: Layer already exists [2023-01-13T15:46:41.357Z] 6deca1c55fe4: Layer already exists [2023-01-13T15:46:41.420Z] latest: digest: sha256:06c5851e0f58ddc434a0eb00611d7f02da367210b41bb5bcd517e7ca9f335904 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:46:41.781Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:46:42.141Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.5 [2023-01-13T15:46:42.141Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-01-13T15:46:42.141Z] 56109bc4990a: Preparing [2023-01-13T15:46:42.141Z] 6deca1c55fe4: Preparing [2023-01-13T15:46:42.141Z] 36e4a099de3b: Preparing [2023-01-13T15:46:42.141Z] da1062e26f58: Preparing [2023-01-13T15:46:42.141Z] 17bec77d7fdc: Preparing [2023-01-13T15:46:42.141Z] 36e4a099de3b: Layer already exists [2023-01-13T15:46:42.141Z] 17bec77d7fdc: Layer already exists [2023-01-13T15:46:42.141Z] da1062e26f58: Layer already exists [2023-01-13T15:46:42.141Z] 6deca1c55fe4: Layer already exists [2023-01-13T15:46:42.141Z] 56109bc4990a: Layer already exists [2023-01-13T15:46:42.141Z] 3.0.0-dev.5: digest: sha256:06c5851e0f58ddc434a0eb00611d7f02da367210b41bb5bcd517e7ca9f335904 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:46:42.512Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80-3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:46:42.874Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80-3.0.0-dev.5 [2023-01-13T15:46:42.874Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-01-13T15:46:42.874Z] 56109bc4990a: Preparing [2023-01-13T15:46:42.874Z] 6deca1c55fe4: Preparing [2023-01-13T15:46:42.874Z] 36e4a099de3b: Preparing [2023-01-13T15:46:42.874Z] da1062e26f58: Preparing [2023-01-13T15:46:42.874Z] 17bec77d7fdc: Preparing [2023-01-13T15:46:42.874Z] 36e4a099de3b: Layer already exists [2023-01-13T15:46:42.874Z] 6deca1c55fe4: Layer already exists [2023-01-13T15:46:42.874Z] da1062e26f58: Layer already exists [2023-01-13T15:46:42.874Z] 17bec77d7fdc: Layer already exists [2023-01-13T15:46:42.874Z] 56109bc4990a: Layer already exists [2023-01-13T15:46:42.874Z] ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80-3.0.0-dev.5: digest: sha256:06c5851e0f58ddc434a0eb00611d7f02da367210b41bb5bcd517e7ca9f335904 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:46:43.506Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:46:43.848Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-01-13T15:46:43.848Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-01-13T15:46:43.848Z] 56109bc4990a: Preparing [2023-01-13T15:46:43.848Z] 6deca1c55fe4: Preparing [2023-01-13T15:46:43.848Z] 36e4a099de3b: Preparing [2023-01-13T15:46:43.848Z] da1062e26f58: Preparing [2023-01-13T15:46:43.848Z] 17bec77d7fdc: Preparing [2023-01-13T15:46:43.848Z] 6deca1c55fe4: Layer already exists [2023-01-13T15:46:43.848Z] 56109bc4990a: Layer already exists [2023-01-13T15:46:43.848Z] 17bec77d7fdc: Layer already exists [2023-01-13T15:46:43.848Z] 36e4a099de3b: Layer already exists [2023-01-13T15:46:43.848Z] da1062e26f58: Layer already exists [2023-01-13T15:46:44.115Z] main: digest: sha256:06c5851e0f58ddc434a0eb00611d7f02da367210b41bb5bcd517e7ca9f335904 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-13T15:46:44.158Z] ===================================================== [Pipeline] echo [2023-01-13T15:46:44.164Z] taggedImages: [2023-01-13T15:46:44.164Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 [2023-01-13T15:46:44.164Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-01-13T15:46:44.164Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.5 [2023-01-13T15:46:44.164Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80-3.0.0-dev.5 [2023-01-13T15:46:44.164Z] - 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-01-13T15:46:44.510Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-13T15:46:44.510Z] [2023-01-13T15:46:44.510Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:46:44.841Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-13T15:46:44.841Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-13T15:46:44.841Z] 8998bd30e6a1: Pulling fs layer [2023-01-13T15:46:44.841Z] 04944245beec: Pulling fs layer [2023-01-13T15:46:44.841Z] 699f458cf7ca: Pulling fs layer [2023-01-13T15:46:44.841Z] 765212b225bb: Pulling fs layer [2023-01-13T15:46:44.841Z] f23df028b6ca: Pulling fs layer [2023-01-13T15:46:44.841Z] d65c8cfc05b1: Pulling fs layer [2023-01-13T15:46:44.841Z] 2437ff75d9bd: Pulling fs layer [2023-01-13T15:46:44.841Z] f23df028b6ca: Waiting [2023-01-13T15:46:44.841Z] d65c8cfc05b1: Waiting [2023-01-13T15:46:44.841Z] 2437ff75d9bd: Waiting [2023-01-13T15:46:44.841Z] 765212b225bb: Waiting [2023-01-13T15:46:45.111Z] 04944245beec: Verifying Checksum [2023-01-13T15:46:45.111Z] 04944245beec: Download complete [2023-01-13T15:46:45.111Z] 765212b225bb: Verifying Checksum [2023-01-13T15:46:45.111Z] 765212b225bb: Download complete [2023-01-13T15:46:45.111Z] f23df028b6ca: Verifying Checksum [2023-01-13T15:46:45.111Z] f23df028b6ca: Download complete [2023-01-13T15:46:45.111Z] d65c8cfc05b1: Verifying Checksum [2023-01-13T15:46:45.111Z] d65c8cfc05b1: Download complete [2023-01-13T15:46:45.379Z] 699f458cf7ca: Verifying Checksum [2023-01-13T15:46:45.379Z] 699f458cf7ca: Download complete [2023-01-13T15:46:45.647Z] 8998bd30e6a1: Verifying Checksum [2023-01-13T15:46:45.647Z] 8998bd30e6a1: Download complete [2023-01-13T15:46:48.236Z] 2437ff75d9bd: Verifying Checksum [2023-01-13T15:46:48.236Z] 2437ff75d9bd: Download complete [2023-01-13T15:46:49.648Z] 8998bd30e6a1: Pull complete [2023-01-13T15:46:49.918Z] 04944245beec: Pull complete [2023-01-13T15:46:51.333Z] 699f458cf7ca: Pull complete [2023-01-13T15:46:51.602Z] 765212b225bb: Pull complete [2023-01-13T15:46:52.567Z] f23df028b6ca: Pull complete [2023-01-13T15:46:52.567Z] d65c8cfc05b1: Pull complete [2023-01-13T15:47:07.576Z] 2437ff75d9bd: Pull complete [2023-01-13T15:47:07.576Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-13T15:47:07.576Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-13T15:47:07.576Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T15:47:07.758Z] prd-ubuntu20.04-docker-arm64-4c-16g-2220 does not seem to be running inside a container [2023-01-13T15:47:07.821Z] $ 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/76 -v /w/workspace/device-virtual-go/76:/w/workspace/device-virtual-go/76:rw,z -v /w/workspace/device-virtual-go/76@tmp:/w/workspace/device-virtual-go/76@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-01-13T15:47:10.459Z] $ docker top 6dc0587eb59a6f7a15c15b6df318a6df96c0b5461ba71b181ddb534a269b5239 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:47:11.303Z] ---> job-cost.sh [2023-01-13T15:47:11.303Z] lf-activate-venv: SKIPPING [2023-01-13T15:47:11.303Z] INFO: No Stack... [2023-01-13T15:47:12.261Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-13T15:47:12.842Z] INFO: Archiving Costs [Pipeline] sh [2023-01-13T15:47:13.480Z] + cat /w/workspace/device-virtual-go/76/archives/cost.csv [2023-01-13T15:47:13.480Z] + cut -d, -f6 [Pipeline] lock [2023-01-13T15:47:13.547Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-76-stack-cost] [2023-01-13T15:47:13.554Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-76-stack-cost] did not exist. Created. [2023-01-13T15:47:13.554Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-76-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-13T15:47:14.213Z] /w/workspace/device-virtual-go/76@tmp/durable-bf79de3a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-13T15:47:14.862Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-13T15:47:14.885Z] Warning: overwriting stash ‘stack-cost’ [2023-01-13T15:47:14.933Z] Stashed 1 file(s) [Pipeline] } [2023-01-13T15:47:14.940Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-76-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-13T15:47:14.955Z] $ docker stop --time=1 6dc0587eb59a6f7a15c15b6df318a6df96c0b5461ba71b181ddb534a269b5239 [2023-01-13T15:47:16.451Z] $ docker rm -f --volumes 6dc0587eb59a6f7a15c15b6df318a6df96c0b5461ba71b181ddb534a269b5239 [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-01-13T15:47:16.868Z] provisioning config files... [2023-01-13T15:47:16.876Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5128849447365988163tmp [Pipeline] { [Pipeline] sh [2023-01-13T15:47:17.174Z] + set +x [2023-01-13T15:47:17.174Z] + + curl -s https://codecov.io/bash [2023-01-13T15:47:17.174Z] bash -s -- [2023-01-13T15:47:17.174Z] [2023-01-13T15:47:17.174Z] _____ _ [2023-01-13T15:47:17.174Z] / ____| | | [2023-01-13T15:47:17.174Z] | | ___ __| | ___ ___ _____ __ [2023-01-13T15:47:17.174Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-13T15:47:17.174Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-13T15:47:17.174Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-13T15:47:17.174Z] Bash-1.0.6 [2023-01-13T15:47:17.174Z] [2023-01-13T15:47:17.174Z] [2023-01-13T15:47:17.174Z] ==> git version 2.25.1 found [2023-01-13T15:47:17.174Z] ==> 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-01-13T15:47:17.174Z] Release-Date: 2020-01-08 [2023-01-13T15:47:17.174Z] 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-01-13T15:47:17.174Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-13T15:47:17.174Z] ==> Jenkins CI detected. [2023-01-13T15:47:17.174Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-01-13T15:47:17.174Z] project root: . [2023-01-13T15:47:17.174Z] --> token set from env [2023-01-13T15:47:17.174Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-13T15:47:17.174Z] ==> Running gcov in . (disable via -X gcov) [2023-01-13T15:47:17.174Z] ==> Python coveragepy not found [2023-01-13T15:47:17.174Z] ==> Searching for coverage reports in: [2023-01-13T15:47:17.174Z] + . [2023-01-13T15:47:17.174Z] -> Found 1 reports [2023-01-13T15:47:17.174Z] ==> Detecting git/mercurial file structure [2023-01-13T15:47:17.174Z] ==> Reading reports [2023-01-13T15:47:17.174Z] + ./coverage.out bytes=44128 [2023-01-13T15:47:17.174Z] ==> Appending adjustments [2023-01-13T15:47:17.174Z] https://docs.codecov.io/docs/fixing-reports [2023-01-13T15:47:17.434Z] + Found adjustments [2023-01-13T15:47:17.434Z] ==> Gzipping contents [2023-01-13T15:47:17.434Z] 8.0K /tmp/codecov.EoOpXp.gz [2023-01-13T15:47:17.434Z] ==> Uploading reports [2023-01-13T15:47:17.434Z] url: https://codecov.io [2023-01-13T15:47:17.434Z] query: branch=main&commit=ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80&build=76&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F76%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-13T15:47:17.434Z] -> Pinging Codecov [2023-01-13T15:47:17.434Z] 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=ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80&build=76&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F76%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-13T15:47:18.003Z] -> Uploading to [2023-01-13T15:47:18.003Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-13/5E52B4B073DB2E39498172D8E973AA87/ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80/f76cbf06-6324-4b05-b2be-8f08ca9da825.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230113%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230113T154717Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=070495e196e272398bfe887a70f61203bbe93f5ebe796dd0e0d35a2ae41f4b10 [2023-01-13T15:47:18.003Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-13T15:47:18.003Z] Dload Upload Total Spent Left Speed [2023-01-13T15:47:18.003Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5491 0 0 100 5491 0 22879 --:--:-- --:--:-- --:--:-- 22879 [2023-01-13T15:47:18.003Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 [Pipeline] } [2023-01-13T15:47:18.010Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-01-13T15:47:18.223Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-01-13T15:47:18.233Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:47:18.530Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-13T15:47:18.530Z] [2023-01-13T15:47:18.530Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:47:18.829Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-13T15:47:18.829Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-01-13T15:47:18.829Z] df9b9388f04a: Pulling fs layer [2023-01-13T15:47:18.829Z] 52dc419b0ee2: Pulling fs layer [2023-01-13T15:47:18.829Z] 25bc292e5bac: Pulling fs layer [2023-01-13T15:47:18.829Z] 114826534d7a: Pulling fs layer [2023-01-13T15:47:18.829Z] 4657fd5d0bcf: Pulling fs layer [2023-01-13T15:47:18.829Z] 6ad1cebc031e: Pulling fs layer [2023-01-13T15:47:18.829Z] 8a3aa393b2d8: Pulling fs layer [2023-01-13T15:47:18.829Z] 114826534d7a: Waiting [2023-01-13T15:47:18.829Z] 4657fd5d0bcf: Waiting [2023-01-13T15:47:18.829Z] 6ad1cebc031e: Waiting [2023-01-13T15:47:18.829Z] 8a3aa393b2d8: Waiting [2023-01-13T15:47:18.829Z] 25bc292e5bac: Verifying Checksum [2023-01-13T15:47:18.829Z] 25bc292e5bac: Download complete [2023-01-13T15:47:18.829Z] 52dc419b0ee2: Download complete [2023-01-13T15:47:18.829Z] 4657fd5d0bcf: Verifying Checksum [2023-01-13T15:47:18.829Z] 4657fd5d0bcf: Download complete [2023-01-13T15:47:18.829Z] df9b9388f04a: Verifying Checksum [2023-01-13T15:47:18.829Z] df9b9388f04a: Download complete [2023-01-13T15:47:19.088Z] 6ad1cebc031e: Verifying Checksum [2023-01-13T15:47:19.088Z] 6ad1cebc031e: Download complete [2023-01-13T15:47:19.088Z] df9b9388f04a: Pull complete [2023-01-13T15:47:19.088Z] 52dc419b0ee2: Pull complete [2023-01-13T15:47:19.360Z] 25bc292e5bac: Pull complete [2023-01-13T15:47:19.949Z] 114826534d7a: Verifying Checksum [2023-01-13T15:47:19.949Z] 114826534d7a: Download complete [2023-01-13T15:47:20.207Z] 8a3aa393b2d8: Download complete [2023-01-13T15:47:23.488Z] 114826534d7a: Pull complete [2023-01-13T15:47:23.488Z] 4657fd5d0bcf: Pull complete [2023-01-13T15:47:23.488Z] 6ad1cebc031e: Pull complete [2023-01-13T15:47:26.016Z] 8a3aa393b2d8: Pull complete [2023-01-13T15:47:26.016Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-01-13T15:47:26.016Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-13T15:47:26.016Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T15:47:26.091Z] prd-ubuntu20.04-docker-8c-8g-2217 does not seem to be running inside a container [2023-01-13T15:47:26.124Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-01-13T15:47:28.117Z] $ docker top 2dda646b1fbc5a8b3e1126f2c798503a73452ca78682e3fecf1bd5fb1d181d8e -eo pid,comm [Pipeline] { [Pipeline] echo [2023-01-13T15:47:28.181Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-01-13T15:47:28.457Z] + set -o pipefail [2023-01-13T15:47:28.457Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-01-13T15:47:35.034Z] [2023-01-13T15:47:35.034Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-01-13T15:47:35.034Z] [2023-01-13T15:47:35.034Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/bb16b898-b839-4449-a047-13700d3e80f5 [2023-01-13T15:47:35.034Z] [2023-01-13T15:47:35.034Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-01-13T15:47:35.034Z] [2023-01-13T15:47:35.034Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-01-13T15:47:35.034Z] [2023-01-13T15:47:35.034Z] [2023-01-13T15:47:35.034Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-01-13T15:47:35.034Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-01-13T15:47:35.034Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-01-13T15:47:35.047Z] $ docker stop --time=1 2dda646b1fbc5a8b3e1126f2c798503a73452ca78682e3fecf1bd5fb1d181d8e [2023-01-13T15:47:37.006Z] $ docker rm -f --volumes 2dda646b1fbc5a8b3e1126f2c798503a73452ca78682e3fecf1bd5fb1d181d8e [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-01-13T15:47:37.669Z] + git log --format=format:%s -1 ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 [Pipeline] sh [2023-01-13T15:47:37.955Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-13T15:47:37.955Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:47:38.251Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-13T15:47:38.251Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T15:47:38.314Z] prd-ubuntu20.04-docker-8c-8g-2217 does not seem to be running inside a container [2023-01-13T15:47:38.342Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-13T15:47:38.754Z] $ docker top e6384222a0c329f2850ee005304ce0d4d742f6739ba48b430a2a09e5ff7ccac3 -eo pid,comm [2023-01-13T15:47:38.796Z] 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-01-13T15:47:38.796Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-13T15:47:38.832Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-13T15:47:38.832Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-13T15:47:38.937Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-13T15:47:38.942Z] $ docker exec e6384222a0c329f2850ee005304ce0d4d742f6739ba48b430a2a09e5ff7ccac3 ssh-agent [2023-01-13T15:47:39.037Z] SSH_AUTH_SOCK=/tmp/ssh-nWtdUxzMCU1M/agent.32 [2023-01-13T15:47:39.037Z] SSH_AGENT_PID=38 [2023-01-13T15:47:39.042Z] Running ssh-add (command line suppressed) [2023-01-13T15:47:39.137Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3151985222299728821.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3151985222299728821.key) [2023-01-13T15:47:39.147Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-13T15:47:39.431Z] + git semver tag [2023-01-13T15:47:39.690Z] 2023-01-13 15:47:39,603 [run_tag] DEBUG tag force:False [2023-01-13T15:47:39.690Z] 2023-01-13 15:47:39,603 [check_head_tag] DEBUG check head tag [2023-01-13T15:47:39.690Z] 2023-01-13 15:47:39,604 [execute] INFO git cat-file --batch-check [2023-01-13T15:47:39.690Z] 2023-01-13 15:47:39,604 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-01-13T15:47:39.690Z] 2023-01-13 15:47:39,608 [execute] INFO git cat-file --batch [2023-01-13T15:47:39.690Z] 2023-01-13 15:47:39,608 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-01-13T15:47:39.690Z] 2023-01-13 15:47:39,625 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-01-13T15:47:39.690Z] 2023-01-13 15:47:39,626 [execute] INFO git tag -a v3.0.0-dev.5 -m v3.0.0-dev.5 [2023-01-13T15:47:39.690Z] 2023-01-13 15:47:39,626 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.5', '-m', 'v3.0.0-dev.5'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-01-13T15:47:39.690Z] 2023-01-13 15:47:39,630 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-01-13T15:47:39.690Z] 3.0.0-dev.5 [Pipeline] } [2023-01-13T15:47:39.702Z] $ docker exec --env ******** --env ******** e6384222a0c329f2850ee005304ce0d4d742f6739ba48b430a2a09e5ff7ccac3 ssh-agent -k [2023-01-13T15:47:39.795Z] unset SSH_AUTH_SOCK; [2023-01-13T15:47:39.795Z] unset SSH_AGENT_PID; [2023-01-13T15:47:39.795Z] echo Agent pid 38 killed; [2023-01-13T15:47:39.803Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-13T15:47:40.104Z] + git semver [Pipeline] } [2023-01-13T15:47:40.379Z] $ docker stop --time=1 e6384222a0c329f2850ee005304ce0d4d742f6739ba48b430a2a09e5ff7ccac3 [2023-01-13T15:47:41.728Z] $ docker rm -f --volumes e6384222a0c329f2850ee005304ce0d4d742f6739ba48b430a2a09e5ff7ccac3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:47:42.139Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-13T15:47:42.139Z] [2023-01-13T15:47:42.139Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:47:42.444Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-13T15:47:42.444Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-01-13T15:47:42.444Z] ab5ef0e58194: Pulling fs layer [2023-01-13T15:47:42.444Z] 9712f1f96733: Pulling fs layer [2023-01-13T15:47:42.444Z] 63f879dbbcfc: Pulling fs layer [2023-01-13T15:47:42.444Z] 0d9ebad4ef96: Pulling fs layer [2023-01-13T15:47:42.444Z] e9a5061849ea: Pulling fs layer [2023-01-13T15:47:42.444Z] d747dcd14b5f: Pulling fs layer [2023-01-13T15:47:42.444Z] 2de7ff778b66: Pulling fs layer [2023-01-13T15:47:42.444Z] d747dcd14b5f: Waiting [2023-01-13T15:47:42.444Z] 0d9ebad4ef96: Waiting [2023-01-13T15:47:42.444Z] e9a5061849ea: Waiting [2023-01-13T15:47:42.444Z] 2de7ff778b66: Waiting [2023-01-13T15:47:42.444Z] 9712f1f96733: Verifying Checksum [2023-01-13T15:47:42.444Z] 9712f1f96733: Download complete [2023-01-13T15:47:43.037Z] 63f879dbbcfc: Verifying Checksum [2023-01-13T15:47:43.037Z] 63f879dbbcfc: Download complete [2023-01-13T15:47:43.298Z] e9a5061849ea: Verifying Checksum [2023-01-13T15:47:43.298Z] e9a5061849ea: Download complete [2023-01-13T15:47:43.298Z] ab5ef0e58194: Verifying Checksum [2023-01-13T15:47:43.298Z] ab5ef0e58194: Download complete [2023-01-13T15:47:43.298Z] d747dcd14b5f: Verifying Checksum [2023-01-13T15:47:43.298Z] d747dcd14b5f: Download complete [2023-01-13T15:47:43.298Z] 0d9ebad4ef96: Verifying Checksum [2023-01-13T15:47:43.298Z] 0d9ebad4ef96: Download complete [2023-01-13T15:47:43.557Z] 2de7ff778b66: Verifying Checksum [2023-01-13T15:47:43.557Z] 2de7ff778b66: Download complete [2023-01-13T15:47:46.085Z] ab5ef0e58194: Pull complete [2023-01-13T15:47:46.085Z] 9712f1f96733: Pull complete [2023-01-13T15:47:46.343Z] 63f879dbbcfc: Pull complete [2023-01-13T15:47:49.624Z] 0d9ebad4ef96: Pull complete [2023-01-13T15:47:49.624Z] e9a5061849ea: Pull complete [2023-01-13T15:47:49.884Z] d747dcd14b5f: Pull complete [2023-01-13T15:47:50.819Z] 2de7ff778b66: Pull complete [2023-01-13T15:47:50.819Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-01-13T15:47:50.819Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-13T15:47:50.819Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T15:47:50.900Z] prd-ubuntu20.04-docker-8c-8g-2217 does not seem to be running inside a container [2023-01-13T15:47:50.930Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-01-13T15:47:53.033Z] $ docker top 3eeaf08f2e42e0888371151910dac85efc12a3751560513010c25f2cb9107055 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-01-13T15:47:53.113Z] provisioning config files... [2023-01-13T15:47:53.119Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7712050734152713656tmp [2023-01-13T15:47:53.128Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5623016146455678907tmp [2023-01-13T15:47:53.136Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16644730126247742856tmp [Pipeline] { [Pipeline] echo [2023-01-13T15:47:53.152Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:47:53.432Z] ---> sigul-configuration.sh [2023-01-13T15:47:53.432Z] gpg: directory `/root/.gnupg' created [2023-01-13T15:47:53.432Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-01-13T15:47:53.432Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-01-13T15:47:53.432Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-01-13T15:47:53.432Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-01-13T15:47:53.432Z] gpg: CAST5 encrypted data [2023-01-13T15:47:53.432Z] gpg: encrypted with 1 passphrase [2023-01-13T15:47:53.432Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-01-13T15:47:53.718Z] + mkdir /home/jenkins [2023-01-13T15:47:53.718Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-01-13T15:47:54.003Z] + 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-01-13T15:47:54.012Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:47:54.295Z] ---> sigul-install.sh [2023-01-13T15:47:54.295Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-01-13T15:47:54.580Z] + git tag --list [2023-01-13T15:47:54.580Z] v1.0.0 [2023-01-13T15:47:54.580Z] v1.1.0 [2023-01-13T15:47:54.580Z] v1.1.1 [2023-01-13T15:47:54.580Z] v1.2.1 [2023-01-13T15:47:54.580Z] v1.2.2 [2023-01-13T15:47:54.580Z] v1.2.3 [2023-01-13T15:47:54.580Z] v1.3.0 [2023-01-13T15:47:54.580Z] v1.3.1 [2023-01-13T15:47:54.580Z] v2.0.0 [2023-01-13T15:47:54.580Z] v2.1.0 [2023-01-13T15:47:54.580Z] v2.1.1 [2023-01-13T15:47:54.580Z] v2.1.1-dev.1 [2023-01-13T15:47:54.580Z] v2.1.1-dev.2 [2023-01-13T15:47:54.580Z] v2.2.0 [2023-01-13T15:47:54.580Z] v2.2.1-dev.1 [2023-01-13T15:47:54.580Z] v2.2.1-dev.2 [2023-01-13T15:47:54.580Z] v2.2.1-dev.3 [2023-01-13T15:47:54.580Z] v2.2.1-dev.4 [2023-01-13T15:47:54.581Z] v2.2.1-dev.5 [2023-01-13T15:47:54.581Z] v2.2.1-dev.6 [2023-01-13T15:47:54.581Z] v2.2.1-dev.7 [2023-01-13T15:47:54.581Z] v2.2.1-dev.8 [2023-01-13T15:47:54.581Z] v2.3.0 [2023-01-13T15:47:54.581Z] v2.3.0-dev.10 [2023-01-13T15:47:54.581Z] v2.3.0-dev.11 [2023-01-13T15:47:54.581Z] v2.3.0-dev.12 [2023-01-13T15:47:54.581Z] v2.3.0-dev.13 [2023-01-13T15:47:54.581Z] v2.3.0-dev.14 [2023-01-13T15:47:54.581Z] v2.3.0-dev.15 [2023-01-13T15:47:54.581Z] v2.3.0-dev.16 [2023-01-13T15:47:54.581Z] v2.3.0-dev.17 [2023-01-13T15:47:54.581Z] v2.3.0-dev.18 [2023-01-13T15:47:54.581Z] v2.3.0-dev.19 [2023-01-13T15:47:54.581Z] v2.3.0-dev.20 [2023-01-13T15:47:54.581Z] v2.3.0-dev.21 [2023-01-13T15:47:54.581Z] v2.3.0-dev.22 [2023-01-13T15:47:54.581Z] v2.3.0-dev.23 [2023-01-13T15:47:54.581Z] v2.3.0-dev.24 [2023-01-13T15:47:54.581Z] v2.3.0-dev.25 [2023-01-13T15:47:54.581Z] v2.3.0-dev.26 [2023-01-13T15:47:54.581Z] v2.3.0-dev.27 [2023-01-13T15:47:54.581Z] v2.3.0-dev.28 [2023-01-13T15:47:54.581Z] v2.3.0-dev.29 [2023-01-13T15:47:54.581Z] v2.3.0-dev.30 [2023-01-13T15:47:54.581Z] v2.3.0-dev.8 [2023-01-13T15:47:54.581Z] v2.3.0-dev.9 [2023-01-13T15:47:54.581Z] v3.0.0-dev.1 [2023-01-13T15:47:54.581Z] v3.0.0-dev.2 [2023-01-13T15:47:54.581Z] v3.0.0-dev.3 [2023-01-13T15:47:54.581Z] v3.0.0-dev.4 [2023-01-13T15:47:54.581Z] v3.0.0-dev.5 [Pipeline] sh [2023-01-13T15:47:54.869Z] + lftools sign git-tag v3.0.0-dev.5 [2023-01-13T15:47:55.436Z] Signing Git tag with Sigul... [2023-01-13T15:47:55.436Z] Signing v3.0.0-dev.5 [Pipeline] echo [2023-01-13T15:47:55.703Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:47:55.991Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-01-13T15:47:55.998Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-01-13T15:47:56.015Z] $ docker stop --time=1 3eeaf08f2e42e0888371151910dac85efc12a3751560513010c25f2cb9107055 [2023-01-13T15:47:57.367Z] $ docker rm -f --volumes 3eeaf08f2e42e0888371151910dac85efc12a3751560513010c25f2cb9107055 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-01-13T15:47:57.770Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-13T15:47:57.770Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:47:58.077Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-13T15:47:58.077Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T15:47:58.147Z] prd-ubuntu20.04-docker-8c-8g-2217 does not seem to be running inside a container [2023-01-13T15:47:58.178Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-13T15:47:58.544Z] $ docker top 92d9988e12bf9bebab75ba75710483748f43d81d1bd0ffe346d9501835fc3d98 -eo pid,comm [2023-01-13T15:47:58.590Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-13T15:47:58.590Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-13T15:47:58.631Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-13T15:47:58.632Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-13T15:47:58.738Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-13T15:47:58.743Z] $ docker exec 92d9988e12bf9bebab75ba75710483748f43d81d1bd0ffe346d9501835fc3d98 ssh-agent [2023-01-13T15:47:58.847Z] SSH_AUTH_SOCK=/tmp/ssh-enNInwNa6pUl/agent.31 [2023-01-13T15:47:58.847Z] SSH_AGENT_PID=37 [2023-01-13T15:47:58.852Z] Running ssh-add (command line suppressed) [2023-01-13T15:47:58.960Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5114646665099359104.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5114646665099359104.key) [2023-01-13T15:47:58.972Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-13T15:47:59.263Z] + git semver bump pre [2023-01-13T15:47:59.523Z] 2023-01-13 15:47:59,431 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-01-13T15:47:59.523Z] 2023-01-13 15:47:59,431 [bump_version] DEBUG bumping version:3.0.0-dev.5 on axis:pre with prefix:dev [2023-01-13T15:47:59.523Z] 2023-01-13 15:47:59,431 [bump_version] DEBUG bumped version:3.0.0-dev.6 [2023-01-13T15:47:59.523Z] 2023-01-13 15:47:59,431 [write_version] DEBUG write version:3.0.0-dev.6 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-01-13T15:47:59.523Z] 2023-01-13 15:47:59,432 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-01-13T15:47:59.523Z] 2023-01-13 15:47:59,432 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-01-13T15:47:59.523Z] 2023-01-13 15:47:59,433 [execute] INFO git cat-file --batch-check [2023-01-13T15:47:59.523Z] 2023-01-13 15:47:59,433 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-13T15:47:59.523Z] 2023-01-13 15:47:59,438 [execute] INFO git cat-file --batch [2023-01-13T15:47:59.523Z] 2023-01-13 15:47:59,438 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-13T15:47:59.523Z] 2023-01-13 15:47:59,443 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-01-13T15:47:59.523Z] 3.0.0-dev.6 [Pipeline] } [2023-01-13T15:47:59.535Z] $ docker exec --env ******** --env ******** 92d9988e12bf9bebab75ba75710483748f43d81d1bd0ffe346d9501835fc3d98 ssh-agent -k [2023-01-13T15:47:59.634Z] unset SSH_AUTH_SOCK; [2023-01-13T15:47:59.634Z] unset SSH_AGENT_PID; [2023-01-13T15:47:59.634Z] echo Agent pid 37 killed; [2023-01-13T15:47:59.640Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-13T15:47:59.950Z] + git semver [Pipeline] } [2023-01-13T15:48:00.226Z] $ docker stop --time=1 92d9988e12bf9bebab75ba75710483748f43d81d1bd0ffe346d9501835fc3d98 [2023-01-13T15:48:01.458Z] $ docker rm -f --volumes 92d9988e12bf9bebab75ba75710483748f43d81d1bd0ffe346d9501835fc3d98 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-13T15:48:01.801Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-13T15:48:01.801Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:48:02.097Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-13T15:48:02.097Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T15:48:02.162Z] prd-ubuntu20.04-docker-8c-8g-2217 does not seem to be running inside a container [2023-01-13T15:48:02.192Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-13T15:48:02.581Z] $ docker top 3f2197a740d832f9356ed2ec953ccc09e2bd70b30556cb8ba2198be9069cb52f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-13T15:48:02.662Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-13T15:48:02.662Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-13T15:48:02.775Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-13T15:48:02.779Z] $ docker exec 3f2197a740d832f9356ed2ec953ccc09e2bd70b30556cb8ba2198be9069cb52f ssh-agent [2023-01-13T15:48:02.894Z] SSH_AUTH_SOCK=/tmp/ssh-TtH9yCjRVZkW/agent.31 [2023-01-13T15:48:02.894Z] SSH_AGENT_PID=37 [2023-01-13T15:48:02.899Z] Running ssh-add (command line suppressed) [2023-01-13T15:48:02.997Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12340408392738787490.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12340408392738787490.key) [2023-01-13T15:48:03.008Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-13T15:48:03.295Z] + git semver push [2023-01-13T15:48:03.554Z] 2023-01-13 15:48:03,465 [run_push] DEBUG push [2023-01-13T15:48:03.554Z] 2023-01-13 15:48:03,466 [execute] INFO git cat-file --batch-check [2023-01-13T15:48:03.554Z] 2023-01-13 15:48:03,466 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-13T15:48:03.554Z] 2023-01-13 15:48:03,469 [execute] INFO git rev-list b28662ce65714000a608dbcf2dcd0603bf53011c -- [2023-01-13T15:48:03.554Z] 2023-01-13 15:48:03,469 [execute] DEBUG Popen(['git', 'rev-list', 'b28662ce65714000a608dbcf2dcd0603bf53011c', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-13T15:48:03.554Z] 2023-01-13 15:48:03,478 [execute] INFO git fetch -v origin [2023-01-13T15:48:03.554Z] 2023-01-13 15:48:03,478 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-01-13T15:48:05.463Z] 2023-01-13 15:48:05,365 [run_push] DEBUG no remote changes detected [2023-01-13T15:48:05.463Z] 2023-01-13 15:48:05,365 [execute] INFO git push origin semver [2023-01-13T15:48:05.463Z] 2023-01-13 15:48:05,366 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-13T15:48:06.400Z] 2023-01-13 15:48:06,278 [run_push] DEBUG push all version tags [2023-01-13T15:48:06.400Z] 2023-01-13 15:48:06,279 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-01-13T15:48:06.400Z] 2023-01-13 15:48:06,279 [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-01-13T15:48:07.339Z] 2023-01-13 15:48:07,104 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-01-13T15:48:07.339Z] 3.0.0-dev.6 [Pipeline] } [2023-01-13T15:48:07.350Z] $ docker exec --env ******** --env ******** 3f2197a740d832f9356ed2ec953ccc09e2bd70b30556cb8ba2198be9069cb52f ssh-agent -k [2023-01-13T15:48:07.442Z] unset SSH_AUTH_SOCK; [2023-01-13T15:48:07.442Z] unset SSH_AGENT_PID; [2023-01-13T15:48:07.442Z] echo Agent pid 37 killed; [2023-01-13T15:48:07.453Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-13T15:48:07.755Z] + git semver [Pipeline] } [2023-01-13T15:48:08.029Z] $ docker stop --time=1 3f2197a740d832f9356ed2ec953ccc09e2bd70b30556cb8ba2198be9069cb52f [2023-01-13T15:48:09.299Z] $ docker rm -f --volumes 3f2197a740d832f9356ed2ec953ccc09e2bd70b30556cb8ba2198be9069cb52f [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-01-13T15:48:09.840Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-01-13T15:48:09.840Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-01-13T15:48:09.840Z] total 16 [2023-01-13T15:48:09.840Z] drwxr-xr-x 3 root root 4096 Jan 13 15:38 . [2023-01-13T15:48:09.840Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 13 15:47 .. [2023-01-13T15:48:09.840Z] drwxr-xr-x 2 root root 4096 Jan 13 15:38 cost [2023-01-13T15:48:09.840Z] -rw-r--r-- 1 root root 88 Jan 13 15:38 cost.csv [2023-01-13T15:48:09.840Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-01-13T15:48:09.840Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-01-13T15:48:09.840Z] total 16 [2023-01-13T15:48:09.840Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 13 15:38 . [2023-01-13T15:48:09.840Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 13 15:47 .. [2023-01-13T15:48:09.840Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 13 15:38 cost [2023-01-13T15:48:09.840Z] -rw-r--r-- 1 jenkins jenkins 88 Jan 13 15:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:48:10.135Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:48:10.992Z] ---> package-listing.sh [2023-01-13T15:48:10.992Z] ++ facter osfamily [2023-01-13T15:48:10.992Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-13T15:48:11.251Z] + OS_FAMILY=debian [2023-01-13T15:48:11.251Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-01-13T15:48:11.251Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-13T15:48:11.251Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-13T15:48:11.251Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-13T15:48:11.251Z] + PACKAGES=/tmp/packages_start.txt [2023-01-13T15:48:11.251Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-01-13T15:48:11.251Z] + PACKAGES=/tmp/packages_end.txt [2023-01-13T15:48:11.251Z] + case "${OS_FAMILY}" in [2023-01-13T15:48:11.251Z] + dpkg -l [2023-01-13T15:48:11.251Z] + grep '^ii' [2023-01-13T15:48:11.251Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-13T15:48:11.251Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-13T15:48:11.251Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-13T15:48:11.251Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-01-13T15:48:11.251Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-01-13T15:48:11.251Z] + 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-01-13T15:48:11.261Z] 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-01-13T15:48:11.538Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T15:48:11.835Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-13T15:48:11.835Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T15:48:11.904Z] prd-ubuntu20.04-docker-8c-8g-2217 does not seem to be running inside a container [2023-01-13T15:48:11.937Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-13T15:48:12.145Z] $ docker top a906f9797cae99740de3e813c262c51f3292967511289d97b81b1b4eaf33f54b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-13T15:48:12.559Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-13T15:48:12.883Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-13T15:48:13.168Z] + ls /var/log/sa-host [2023-01-13T15:48:13.168Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-13T15:48:13.238Z] provisioning config files... [2023-01-13T15:48:13.245Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3060471436455977876tmp [Pipeline] { [Pipeline] echo [2023-01-13T15:48:13.256Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:48:13.540Z] ---> create-netrc.sh [Pipeline] } [2023-01-13T15:48:13.547Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:48:13.869Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-13T15:48:13.877Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:48:14.159Z] ---> sudo-logs.sh [2023-01-13T15:48:14.159Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-13T15:48:14.179Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:48:14.462Z] ---> job-cost.sh [2023-01-13T15:48:14.462Z] lf-activate-venv: SKIPPING [2023-01-13T15:48:14.462Z] DEBUG: total: 0.2199999988079071 [2023-01-13T15:48:14.462Z] INFO: Retrieving Stack Cost... [2023-01-13T15:48:15.032Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-13T15:48:15.292Z] INFO: Archiving Costs [Pipeline] echo [2023-01-13T15:48:15.307Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-13T15:48:15.590Z] ---> logs-deploy.sh [2023-01-13T15:48:15.590Z] lf-activate-venv: SKIPPING [2023-01-13T15:48:15.590Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/76 [2023-01-13T15:48:15.590Z] INFO: archiving workspace using pattern(s): [2023-01-13T15:48:16.527Z] Archives upload complete. [2023-01-13T15:48:16.527Z] INFO: archiving logs to Nexus