Started by upstream project "edgexfoundry/cd-management/release" build number 120 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 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-ssh5499501237478602429.key Verifying host key using known hosts file > 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-ssh9189228755029199734.key Verifying host key using known hosts file > 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-ssh8169898269952162351.key Verifying host key using known hosts file > 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-ssh9969774249131423804.key Verifying host key using known hosts file > 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-ssh9783861756815124190.key Verifying host key using known hosts file > 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-118848 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 (main) Commit message: "build: Update to use released SDK and go-mods (#320)" > 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 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 # timeout=10 > git rev-list --no-walk 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-09T22:25:37.566Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-09T22:25:37.625Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-09T22:25:37.642Z] ========================================================= [2022-11-09T22:25:37.642Z] EdgeX Global Pipelines Version Info [2022-11-09T22:25:37.642Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-09T22:25:38.341Z] ------------------- [2022-11-09T22:25:38.341Z] stable info: [2022-11-09T22:25:38.341Z] ------------------- [2022-11-09T22:25:38.341Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-09T22:25:38.341Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-09T22:25:38.341Z] Message: update stable to v1.0.244 [2022-11-09T22:25:38.911Z] ------------------- [2022-11-09T22:25:38.911Z] experimental info: [2022-11-09T22:25:38.911Z] ------------------- [2022-11-09T22:25:38.911Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-09T22:25:38.911Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-09T22:25:38.911Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-09T22:25:39.067Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-11-09T22:25:39.076Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-11-09T22:25:39.089Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-09T22:25:39.100Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-09T22:25:39.112Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-09T22:25:39.126Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-09T22:25:39.135Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-09T22:25:39.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-09T22:25:39.162Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-09T22:25:39.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-09T22:25:39.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-09T22:25:39.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-11-09T22:25:39.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-09T22:25:39.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-09T22:25:39.240Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-09T22:25:39.256Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-09T22:25:39.270Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-09T22:25:39.286Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-09T22:25:39.298Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-09T22:25:39.313Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-09T22:25:39.324Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-09T22:25:39.339Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-09T22:25:39.349Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-09T22:25:39.361Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-09T22:25:39.371Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-09T22:25:39.383Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-09T22:25:39.400Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-09T22:25:39.411Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-11-09T22:25:39.422Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-11-09T22:25:39.436Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-11-09T22:25:39.446Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [Pipeline] echo [2022-11-09T22:25:39.457Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0c2f1e9 [Pipeline] echo [2022-11-09T22:25:39.469Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-09T22:25:39.512Z] provisioning config files... [2022-11-09T22:25:39.525Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11135697250978020700tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-09T22:25:39.826Z] ---> docker-login.sh [2022-11-09T22:25:39.826Z] nexus3.edgexfoundry.org:10001 [2022-11-09T22:25:40.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T22:25:40.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T22:25:40.086Z] Configure a credential helper to remove this warning. See [2022-11-09T22:25:40.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T22:25:40.086Z] [2022-11-09T22:25:40.086Z] Login Succeeded [2022-11-09T22:25:40.086Z] nexus3.edgexfoundry.org:10002 [2022-11-09T22:25:40.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T22:25:40.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T22:25:40.086Z] Configure a credential helper to remove this warning. See [2022-11-09T22:25:40.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T22:25:40.086Z] [2022-11-09T22:25:40.086Z] Login Succeeded [2022-11-09T22:25:40.086Z] nexus3.edgexfoundry.org:10003 [2022-11-09T22:25:40.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T22:25:40.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T22:25:40.345Z] Configure a credential helper to remove this warning. See [2022-11-09T22:25:40.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T22:25:40.345Z] [2022-11-09T22:25:40.345Z] Login Succeeded [2022-11-09T22:25:40.345Z] nexus3.edgexfoundry.org:10004 [2022-11-09T22:25:40.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T22:25:40.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T22:25:40.345Z] Configure a credential helper to remove this warning. See [2022-11-09T22:25:40.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T22:25:40.345Z] [2022-11-09T22:25:40.346Z] Login Succeeded [2022-11-09T22:25:40.346Z] docker.io [2022-11-09T22:25:40.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T22:25:40.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T22:25:40.865Z] Configure a credential helper to remove this warning. See [2022-11-09T22:25:40.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T22:25:40.865Z] [2022-11-09T22:25:40.865Z] Login Succeeded [2022-11-09T22:25:40.865Z] ---> docker-login.sh ends [Pipeline] } [2022-11-09T22:25:40.873Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-09T22:25:41.244Z] + git rev-list -1 --merges 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23~1..0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [Pipeline] echo [2022-11-09T22:25:41.281Z] -----------> git rev-list -1 --merges 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23~1..0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [false] [Pipeline] sh [2022-11-09T22:25:41.567Z] + git log --format=format:%s -1 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [Pipeline] echo [2022-11-09T22:25:41.581Z] ========================================================= [2022-11-09T22:25:41.581Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId [2022-11-09T22:25:41.581Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-09T22:25:41.897Z] + git log --format=format:%s -1 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [Pipeline] echo [2022-11-09T22:25:41.908Z] [semverPrep] GIT_COMMIT: 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23, Commit Message: build: Update to use released SDK and go-mods (#320) [Pipeline] echo [2022-11-09T22:25:41.915Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-09T22:25:42.274Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-09T22:25:42.274Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-09T22:25:42.274Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-09T22:25:42.274Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-09T22:25:42.274Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-09T22:25:42.274Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-09T22:25:42.274Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:25:42.689Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-09T22:25:42.689Z] [2022-11-09T22:25:42.689Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:25:42.992Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-09T22:25:42.992Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-09T22:25:42.992Z] b85a868b505f: Pulling fs layer [2022-11-09T22:25:42.992Z] e2be974225ed: Pulling fs layer [2022-11-09T22:25:42.992Z] 339a4e72a1f5: Pulling fs layer [2022-11-09T22:25:42.992Z] 988bab9f4d93: Pulling fs layer [2022-11-09T22:25:42.992Z] 1469e6f7b9e6: Pulling fs layer [2022-11-09T22:25:42.992Z] eaf3925da568: Pulling fs layer [2022-11-09T22:25:42.992Z] bab4dde63d76: Pulling fs layer [2022-11-09T22:25:42.992Z] bde34c3a00c8: Pulling fs layer [2022-11-09T22:25:42.992Z] b352a97aabf1: Pulling fs layer [2022-11-09T22:25:42.992Z] 4872d77fe225: Pulling fs layer [2022-11-09T22:25:42.992Z] 5851b861e8e6: Pulling fs layer [2022-11-09T22:25:42.992Z] 1469e6f7b9e6: Waiting [2022-11-09T22:25:42.992Z] eaf3925da568: Waiting [2022-11-09T22:25:42.992Z] bab4dde63d76: Waiting [2022-11-09T22:25:42.992Z] 4872d77fe225: Waiting [2022-11-09T22:25:42.992Z] bde34c3a00c8: Waiting [2022-11-09T22:25:42.992Z] 988bab9f4d93: Waiting [2022-11-09T22:25:42.992Z] b352a97aabf1: Waiting [2022-11-09T22:25:42.992Z] 5851b861e8e6: Waiting [2022-11-09T22:25:42.992Z] e2be974225ed: Download complete [2022-11-09T22:25:42.992Z] 988bab9f4d93: Verifying Checksum [2022-11-09T22:25:42.992Z] 988bab9f4d93: Download complete [2022-11-09T22:25:43.253Z] 1469e6f7b9e6: Verifying Checksum [2022-11-09T22:25:43.253Z] 1469e6f7b9e6: Download complete [2022-11-09T22:25:43.253Z] 339a4e72a1f5: Verifying Checksum [2022-11-09T22:25:43.253Z] 339a4e72a1f5: Download complete [2022-11-09T22:25:43.253Z] eaf3925da568: Download complete [2022-11-09T22:25:43.253Z] bde34c3a00c8: Download complete [2022-11-09T22:25:43.253Z] b352a97aabf1: Verifying Checksum [2022-11-09T22:25:43.253Z] b352a97aabf1: Download complete [2022-11-09T22:25:43.253Z] 4872d77fe225: Verifying Checksum [2022-11-09T22:25:43.253Z] 4872d77fe225: Download complete [2022-11-09T22:25:43.253Z] 5851b861e8e6: Verifying Checksum [2022-11-09T22:25:43.253Z] b85a868b505f: Verifying Checksum [2022-11-09T22:25:43.253Z] b85a868b505f: Download complete [2022-11-09T22:25:43.512Z] bab4dde63d76: Verifying Checksum [2022-11-09T22:25:43.512Z] bab4dde63d76: Download complete [2022-11-09T22:25:44.446Z] b85a868b505f: Pull complete [2022-11-09T22:25:44.704Z] e2be974225ed: Pull complete [2022-11-09T22:25:44.967Z] 339a4e72a1f5: Pull complete [2022-11-09T22:25:45.226Z] 988bab9f4d93: Pull complete [2022-11-09T22:25:45.490Z] 1469e6f7b9e6: Pull complete [2022-11-09T22:25:45.490Z] eaf3925da568: Pull complete [2022-11-09T22:25:47.394Z] bab4dde63d76: Pull complete [2022-11-09T22:25:47.394Z] bde34c3a00c8: Pull complete [2022-11-09T22:25:47.394Z] b352a97aabf1: Pull complete [2022-11-09T22:25:47.394Z] 4872d77fe225: Pull complete [2022-11-09T22:25:47.653Z] 5851b861e8e6: Pull complete [2022-11-09T22:25:47.653Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-09T22:25:47.653Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-09T22:25:47.653Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T22:25:47.738Z] prd-ubuntu20.04-docker-8c-8g-118848 does not seem to be running inside a container [2022-11-09T22:25:47.769Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-09T22:25:48.922Z] $ docker top 22235aae1bad5abbbaafd12bcd6b26673390bbdbb70bffb6c171b3ebaa649924 -eo pid,comm [2022-11-09T22:25:48.979Z] 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). [2022-11-09T22:25:48.979Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-09T22:25:49.019Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-09T22:25:49.019Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-09T22:25:49.134Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-09T22:25:49.136Z] $ docker exec 22235aae1bad5abbbaafd12bcd6b26673390bbdbb70bffb6c171b3ebaa649924 ssh-agent [2022-11-09T22:25:49.246Z] SSH_AUTH_SOCK=/tmp/ssh-CRx8mEdwscao/agent.33 [2022-11-09T22:25:49.247Z] SSH_AGENT_PID=39 [2022-11-09T22:25:49.253Z] Running ssh-add (command line suppressed) [2022-11-09T22:25:49.350Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_18350648233273447920.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_18350648233273447920.key) [2022-11-09T22:25:49.364Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-09T22:25:49.650Z] + git tag --points-at 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [Pipeline] } [2022-11-09T22:25:49.660Z] $ docker exec --env ******** --env ******** 22235aae1bad5abbbaafd12bcd6b26673390bbdbb70bffb6c171b3ebaa649924 ssh-agent -k [2022-11-09T22:25:49.759Z] unset SSH_AUTH_SOCK; [2022-11-09T22:25:49.760Z] unset SSH_AGENT_PID; [2022-11-09T22:25:49.760Z] echo Agent pid 39 killed; [2022-11-09T22:25:49.772Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2022-11-09T22:25:49.793Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.3.0|v2.3.0-dev.30' [Pipeline] sshagent [2022-11-09T22:25:49.810Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-09T22:25:49.810Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-09T22:25:49.917Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-09T22:25:49.919Z] $ docker exec 22235aae1bad5abbbaafd12bcd6b26673390bbdbb70bffb6c171b3ebaa649924 ssh-agent [2022-11-09T22:25:50.025Z] SSH_AUTH_SOCK=/tmp/ssh-CpqDArIiaUac/agent.71 [2022-11-09T22:25:50.025Z] SSH_AGENT_PID=77 [2022-11-09T22:25:50.030Z] Running ssh-add (command line suppressed) [2022-11-09T22:25:50.127Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8664729298936945163.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8664729298936945163.key) [2022-11-09T22:25:50.141Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-09T22:25:50.426Z] + git semver init [2022-11-09T22:25:50.687Z] 2022-11-09 22:25:50,616 [run_init] DEBUG init version:0.0.0 force:False [2022-11-09T22:25:50.688Z] 2022-11-09 22:25:50,616 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2022-11-09T22:25:50.688Z] 2022-11-09 22:25:50,617 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2022-11-09T22:25:50.688Z] 2022-11-09 22:25:50,617 [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) [2022-11-09T22:25:52.066Z] 2022-11-09 22:25:51,730 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2022-11-09T22:25:52.066Z] 2022-11-09 22:25:51,730 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2022-11-09T22:25:52.066Z] 2022-11-09 22:25:51,731 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-11-09T22:25:52.066Z] 2022-11-09 22:25:51,731 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-11-09T22:25:52.066Z] 2.3.0 [Pipeline] } [2022-11-09T22:25:52.075Z] $ docker exec --env ******** --env ******** 22235aae1bad5abbbaafd12bcd6b26673390bbdbb70bffb6c171b3ebaa649924 ssh-agent -k [2022-11-09T22:25:52.177Z] unset SSH_AUTH_SOCK; [2022-11-09T22:25:52.177Z] unset SSH_AGENT_PID; [2022-11-09T22:25:52.177Z] echo Agent pid 77 killed; [2022-11-09T22:25:52.191Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-09T22:25:52.490Z] + git semver [Pipeline] } [2022-11-09T22:25:52.766Z] $ docker stop --time=1 22235aae1bad5abbbaafd12bcd6b26673390bbdbb70bffb6c171b3ebaa649924 [2022-11-09T22:25:54.102Z] $ docker rm -f 22235aae1bad5abbbaafd12bcd6b26673390bbdbb70bffb6c171b3ebaa649924 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-09T22:25:54.443Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-09T22:25:54.614Z] Stashed 1 file(s) [Pipeline] echo [2022-11-09T22:25:54.616Z] [edgeXSemver]: initialized semver on version 2.3.0 [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] sh [2022-11-09T22:25:55.022Z] + git checkout 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [2022-11-09T22:25:55.022Z] HEAD is now at 0c2f1e9 build: Update to use released SDK and go-mods (#320) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-09T22:25:55.044Z] provisioning config files... [2022-11-09T22:25:55.053Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12197645889503118525tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-09T22:25:55.351Z] ---> docker-login.sh [2022-11-09T22:25:55.351Z] nexus3.edgexfoundry.org:10001 [2022-11-09T22:25:55.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T22:25:55.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T22:25:55.351Z] Configure a credential helper to remove this warning. See [2022-11-09T22:25:55.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T22:25:55.351Z] [2022-11-09T22:25:55.351Z] Login Succeeded [2022-11-09T22:25:55.351Z] nexus3.edgexfoundry.org:10002 [2022-11-09T22:25:55.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T22:25:55.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T22:25:55.351Z] Configure a credential helper to remove this warning. See [2022-11-09T22:25:55.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T22:25:55.351Z] [2022-11-09T22:25:55.351Z] Login Succeeded [2022-11-09T22:25:55.351Z] nexus3.edgexfoundry.org:10003 [2022-11-09T22:25:55.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T22:25:55.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T22:25:55.611Z] Configure a credential helper to remove this warning. See [2022-11-09T22:25:55.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T22:25:55.611Z] [2022-11-09T22:25:55.611Z] Login Succeeded [2022-11-09T22:25:55.611Z] nexus3.edgexfoundry.org:10004 [2022-11-09T22:25:55.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T22:25:55.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T22:25:55.611Z] Configure a credential helper to remove this warning. See [2022-11-09T22:25:55.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T22:25:55.611Z] [2022-11-09T22:25:55.611Z] Login Succeeded [2022-11-09T22:25:55.611Z] docker.io [2022-11-09T22:25:55.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T22:25:56.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T22:25:56.130Z] Configure a credential helper to remove this warning. See [2022-11-09T22:25:56.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T22:25:56.130Z] [2022-11-09T22:25:56.130Z] Login Succeeded [2022-11-09T22:25:56.130Z] ---> docker-login.sh ends [Pipeline] } [2022-11-09T22:25:56.147Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-09T22:25:56.213Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-09T22:25:56.224Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-09T22:25:56.230Z] ========================================================= [2022-11-09T22:25:56.230Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-09T22:25:56.230Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:25:56.557Z] + 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 . [2022-11-09T22:25:56.557Z] Sending build context to Docker daemon 23.25MB [2022-11-09T22:25:56.557Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-09T22:25:56.557Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-09T22:25:56.818Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-09T22:25:56.818Z] 213ec9aee27d: Pulling fs layer [2022-11-09T22:25:56.818Z] 4583459ba037: Pulling fs layer [2022-11-09T22:25:56.818Z] 93c1e223e6f2: Pulling fs layer [2022-11-09T22:25:56.818Z] 53926ce57604: Pulling fs layer [2022-11-09T22:25:56.818Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-09T22:25:56.818Z] 22ff95d597cd: Pulling fs layer [2022-11-09T22:25:56.818Z] 12d6caf4c0d1: Pulling fs layer [2022-11-09T22:25:56.818Z] 96b7cbca73a9: Pulling fs layer [2022-11-09T22:25:56.818Z] a7acece74701: Pulling fs layer [2022-11-09T22:25:56.818Z] 53926ce57604: Waiting [2022-11-09T22:25:56.818Z] 21b2b0c7a3f4: Waiting [2022-11-09T22:25:56.818Z] 22ff95d597cd: Waiting [2022-11-09T22:25:56.818Z] a7acece74701: Waiting [2022-11-09T22:25:56.818Z] 12d6caf4c0d1: Waiting [2022-11-09T22:25:56.818Z] 96b7cbca73a9: Waiting [2022-11-09T22:25:56.818Z] 93c1e223e6f2: Verifying Checksum [2022-11-09T22:25:56.818Z] 93c1e223e6f2: Download complete [2022-11-09T22:25:56.818Z] 4583459ba037: Download complete [2022-11-09T22:25:56.818Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-09T22:25:56.818Z] 21b2b0c7a3f4: Download complete [2022-11-09T22:25:56.818Z] 22ff95d597cd: Verifying Checksum [2022-11-09T22:25:56.818Z] 22ff95d597cd: Download complete [2022-11-09T22:25:56.818Z] 213ec9aee27d: Verifying Checksum [2022-11-09T22:25:56.818Z] 12d6caf4c0d1: Verifying Checksum [2022-11-09T22:25:56.818Z] 12d6caf4c0d1: Download complete [2022-11-09T22:25:56.818Z] 213ec9aee27d: Pull complete [2022-11-09T22:25:57.090Z] 4583459ba037: Pull complete [2022-11-09T22:25:57.090Z] 93c1e223e6f2: Pull complete [2022-11-09T22:25:57.090Z] a7acece74701: Verifying Checksum [2022-11-09T22:25:57.090Z] a7acece74701: Download complete [2022-11-09T22:25:57.684Z] 96b7cbca73a9: Verifying Checksum [2022-11-09T22:25:57.684Z] 96b7cbca73a9: Download complete [2022-11-09T22:25:57.684Z] 53926ce57604: Verifying Checksum [2022-11-09T22:25:57.684Z] 53926ce57604: Download complete [2022-11-09T22:26:01.874Z] 53926ce57604: Pull complete [2022-11-09T22:26:01.874Z] 21b2b0c7a3f4: Pull complete [2022-11-09T22:26:01.874Z] 22ff95d597cd: Pull complete [2022-11-09T22:26:01.874Z] 12d6caf4c0d1: Pull complete [2022-11-09T22:26:03.783Z] 96b7cbca73a9: Pull complete [2022-11-09T22:26:04.717Z] a7acece74701: Pull complete [2022-11-09T22:26:04.717Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-09T22:26:04.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-09T22:26:04.717Z] ---> db6d94c90886 [2022-11-09T22:26:04.717Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-09T22:26:06.093Z] ---> Running in 1658ada423ae [2022-11-09T22:26:06.093Z] Removing intermediate container 1658ada423ae [2022-11-09T22:26:06.093Z] ---> 3099182a0a40 [2022-11-09T22:26:06.093Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-09T22:26:06.352Z] ---> Running in 5b4b5be5a805 [2022-11-09T22:26:06.352Z] Removing intermediate container 5b4b5be5a805 [2022-11-09T22:26:06.352Z] ---> 9c8e48c5f91a [2022-11-09T22:26:06.352Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2022-11-09T22:26:06.352Z] ---> Running in 8fdf377d9f73 [2022-11-09T22:26:06.352Z] Removing intermediate container 8fdf377d9f73 [2022-11-09T22:26:06.352Z] ---> 7398808295e8 [2022-11-09T22:26:06.352Z] Step 6/12 : WORKDIR /device-virtual-go [2022-11-09T22:26:06.612Z] ---> Running in a2c2e74fa14e [2022-11-09T22:26:06.612Z] Removing intermediate container a2c2e74fa14e [2022-11-09T22:26:06.612Z] ---> ce59b1974867 [2022-11-09T22:26:06.612Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-09T22:26:06.612Z] ---> Running in c87455df4060 [2022-11-09T22:26:06.870Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-09T22:26:07.129Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-09T22:26:07.388Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-09T22:26:07.388Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-09T22:26:07.388Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-09T22:26:07.388Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-09T22:26:07.388Z] Executing busybox-1.35.0-r17.trigger [2022-11-09T22:26:07.388Z] OK: 216 MiB in 55 packages [2022-11-09T22:26:07.959Z] Removing intermediate container c87455df4060 [2022-11-09T22:26:07.959Z] ---> 3b5680fddbf4 [2022-11-09T22:26:07.959Z] Step 8/12 : COPY go.mod vendor* ./ [2022-11-09T22:26:07.959Z] ---> fae19419775f [2022-11-09T22:26:07.959Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-09T22:26:07.959Z] ---> Running in 3d4f50379fe8 [2022-11-09T22:26:09.710Z] Still waiting to schedule task [2022-11-09T22:26:09.711Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-11-09T22:26:26.078Z] Removing intermediate container 3d4f50379fe8 [2022-11-09T22:26:26.078Z] ---> 755ea34084cf [2022-11-09T22:26:26.078Z] Step 10/12 : COPY . . [2022-11-09T22:26:26.078Z] ---> ec163c0aad8e [2022-11-09T22:26:26.078Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-09T22:26:26.078Z] ---> Running in c88711c14ce0 [2022-11-09T22:26:26.078Z] Removing intermediate container c88711c14ce0 [2022-11-09T22:26:26.078Z] ---> 067a634683f7 [2022-11-09T22:26:26.078Z] Step 12/12 : RUN $MAKE [2022-11-09T22:26:26.078Z] ---> Running in acc3147d70b5 [2022-11-09T22:26:26.078Z] noop [2022-11-09T22:26:26.078Z] Removing intermediate container acc3147d70b5 [2022-11-09T22:26:26.078Z] ---> 817a094c8f88 [2022-11-09T22:26:26.078Z] Successfully built 817a094c8f88 [2022-11-09T22:26:26.078Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:26:26.393Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-09T22:26:26.393Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T22:26:26.453Z] prd-ubuntu20.04-docker-8c-8g-118848 does not seem to be running inside a container [2022-11-09T22:26:26.478Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-09T22:26:26.847Z] $ docker top 78a705a78d7065b8561207fb02c5a0a074d73038f6f48b708759ae41d471acbe -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-09T22:26:27.191Z] + go version [2022-11-09T22:26:27.191Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-09T22:26:27.199Z] $ docker stop --time=1 78a705a78d7065b8561207fb02c5a0a074d73038f6f48b708759ae41d471acbe [2022-11-09T22:26:28.489Z] $ docker rm -f 78a705a78d7065b8561207fb02c5a0a074d73038f6f48b708759ae41d471acbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:26:28.891Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-09T22:26:28.891Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T22:26:28.956Z] prd-ubuntu20.04-docker-8c-8g-118848 does not seem to be running inside a container [2022-11-09T22:26:28.982Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-09T22:26:29.352Z] $ docker top a5f4d997b7ac79805256d4bcd31ab2a8fd3df0412475d0221032a4b6211d4d16 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-09T22:26:29.700Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2022-11-09T22:26:29.996Z] + make test [2022-11-09T22:26:29.996Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-09T22:26:30.256Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-11-09T22:26:40.223Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-11-09T22:26:40.223Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements [2022-11-09T22:26:46.787Z] 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." [2022-11-09T22:26:46.787Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-09T22:26:50.071Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-09T22:26:50.071Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-09T22:26:50.071Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-09T22:26:50.082Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-09T22:26:50.093Z] $ docker stop --time=1 a5f4d997b7ac79805256d4bcd31ab2a8fd3df0412475d0221032a4b6211d4d16 [2022-11-09T22:26:52.172Z] $ docker rm -f a5f4d997b7ac79805256d4bcd31ab2a8fd3df0412475d0221032a4b6211d4d16 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-09T22:26:52.601Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-09T22:26:52.646Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-09T22:26:53.144Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-09T22:26:53.427Z] + ls -al . [2022-11-09T22:26:53.427Z] total 204 [2022-11-09T22:26:53.427Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 9 22:26 . [2022-11-09T22:26:53.427Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 22:25 .. [2022-11-09T22:26:53.427Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 22:26 .git [2022-11-09T22:26:53.427Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 22:25 .github [2022-11-09T22:26:53.427Z] -rw-rw-r-- 1 jenkins jenkins 337 Nov 9 22:25 .gitignore [2022-11-09T22:26:53.427Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 9 22:25 .golangci.yml [2022-11-09T22:26:53.427Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 22:25 .semver [2022-11-09T22:26:53.427Z] -rw-rw-r-- 1 jenkins jenkins 8527 Nov 9 22:25 Attribution.txt [2022-11-09T22:26:53.427Z] -rw-rw-r-- 1 jenkins jenkins 11367 Nov 9 22:25 CHANGELOG.md [2022-11-09T22:26:53.427Z] -rw-rw-r-- 1 jenkins jenkins 1709 Nov 9 22:25 Dockerfile [2022-11-09T22:26:53.427Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 22:25 GOVERNANCE.md [2022-11-09T22:26:53.427Z] -rw-rw-r-- 1 jenkins jenkins 660 Nov 9 22:25 Jenkinsfile [2022-11-09T22:26:53.427Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 22:25 LICENSE [2022-11-09T22:26:53.427Z] -rw-rw-r-- 1 jenkins jenkins 2457 Nov 9 22:25 Makefile [2022-11-09T22:26:53.427Z] -rw-rw-r-- 1 jenkins jenkins 623 Nov 9 22:25 OWNERS.md [2022-11-09T22:26:53.427Z] -rw-rw-r-- 1 jenkins jenkins 3578 Nov 9 22:25 README.md [2022-11-09T22:26:53.427Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 22:25 VERSION [2022-11-09T22:26:53.427Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 22:25 bin [2022-11-09T22:26:53.427Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 22:25 cmd [2022-11-09T22:26:53.427Z] -rw-r--r-- 1 jenkins jenkins 44128 Nov 9 22:26 coverage.out [2022-11-09T22:26:53.427Z] -rw-rw-r-- 1 jenkins jenkins 3339 Nov 9 22:25 go.mod [2022-11-09T22:26:53.427Z] -rw-rw-r-- 1 jenkins jenkins 44445 Nov 9 22:25 go.sum [2022-11-09T22:26:53.427Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 22:25 internal [2022-11-09T22:26:53.427Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 22:25 snap [2022-11-09T22:26:53.427Z] -rw-rw-r-- 1 jenkins jenkins 235 Nov 9 22:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:26:53.724Z] + 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=0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 --label arch=amd64 --label version=2.3.0 . [2022-11-09T22:26:53.724Z] Sending build context to Docker daemon 23.3MB [2022-11-09T22:26:53.724Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-11-09T22:26:53.724Z] Step 2/25 : FROM ${BASE} AS builder [2022-11-09T22:26:53.724Z] ---> 817a094c8f88 [2022-11-09T22:26:53.724Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-09T22:26:53.724Z] ---> Running in 9c67476413f3 [2022-11-09T22:26:53.982Z] Removing intermediate container 9c67476413f3 [2022-11-09T22:26:53.982Z] ---> 1d8f0212303f [2022-11-09T22:26:53.982Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-11-09T22:26:53.982Z] ---> Running in c45b9705c4d0 [2022-11-09T22:26:53.982Z] Removing intermediate container c45b9705c4d0 [2022-11-09T22:26:53.982Z] ---> 4e4a750e3fb5 [2022-11-09T22:26:53.982Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2022-11-09T22:26:53.982Z] ---> Running in 2d5314ea80c0 [2022-11-09T22:26:53.982Z] Removing intermediate container 2d5314ea80c0 [2022-11-09T22:26:53.982Z] ---> f81762fd78c6 [2022-11-09T22:26:53.982Z] Step 6/25 : WORKDIR /device-virtual-go [2022-11-09T22:26:53.982Z] ---> Running in 4df89cbaa2c6 [2022-11-09T22:26:54.240Z] Removing intermediate container 4df89cbaa2c6 [2022-11-09T22:26:54.240Z] ---> 2155bcedf028 [2022-11-09T22:26:54.240Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-09T22:26:54.240Z] ---> Running in f29491d401bf [2022-11-09T22:26:54.498Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-09T22:26:54.498Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-09T22:26:54.757Z] OK: 216 MiB in 55 packages [2022-11-09T22:26:55.015Z] Removing intermediate container f29491d401bf [2022-11-09T22:26:55.015Z] ---> 8eb28c8e2dc9 [2022-11-09T22:26:55.015Z] Step 8/25 : COPY go.mod vendor* ./ [2022-11-09T22:26:55.273Z] ---> 02340adf1fc2 [2022-11-09T22:26:55.273Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-09T22:26:55.273Z] ---> Running in 955c2f3f4e12 [2022-11-09T22:26:55.840Z] Removing intermediate container 955c2f3f4e12 [2022-11-09T22:26:55.840Z] ---> 7dbfef3d42f3 [2022-11-09T22:26:55.840Z] Step 10/25 : COPY . . [2022-11-09T22:26:56.409Z] ---> 23dd9622c0df [2022-11-09T22:26:56.409Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-09T22:26:56.409Z] ---> Running in 93f1d1ff1186 [2022-11-09T22:26:56.409Z] Removing intermediate container 93f1d1ff1186 [2022-11-09T22:26:56.409Z] ---> d469f21cb1c0 [2022-11-09T22:26:56.409Z] Step 12/25 : RUN $MAKE [2022-11-09T22:26:56.409Z] ---> Running in 4431f0939beb [2022-11-09T22:26:56.668Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-11-09T22:27:18.617Z] Removing intermediate container 4431f0939beb [2022-11-09T22:27:18.617Z] ---> 541f9c445360 [2022-11-09T22:27:18.617Z] Step 13/25 : FROM alpine:3.16 [2022-11-09T22:27:18.617Z] 3.16: Pulling from library/alpine [2022-11-09T22:27:18.617Z] 213ec9aee27d: Already exists [2022-11-09T22:27:18.617Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-09T22:27:18.617Z] Status: Downloaded newer image for alpine:3.16 [2022-11-09T22:27:18.617Z] ---> 9c6f07244728 [2022-11-09T22:27:18.617Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-11-09T22:27:18.617Z] ---> Running in ada0fb683d6b [2022-11-09T22:27:18.617Z] Removing intermediate container ada0fb683d6b [2022-11-09T22:27:18.617Z] ---> efe477ef5563 [2022-11-09T22:27:18.617Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-09T22:27:18.617Z] ---> Running in 93d587177f55 [2022-11-09T22:27:18.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-09T22:27:18.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-09T22:27:18.617Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-09T22:27:18.617Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-09T22:27:18.617Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-09T22:27:18.617Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-09T22:27:18.617Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-09T22:27:18.617Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-09T22:27:18.617Z] Executing busybox-1.35.0-r17.trigger [2022-11-09T22:27:18.617Z] OK: 8 MiB in 20 packages [2022-11-09T22:27:18.617Z] Removing intermediate container 93d587177f55 [2022-11-09T22:27:18.617Z] ---> bbdaf679ff6d [2022-11-09T22:27:18.617Z] Step 16/25 : WORKDIR / [2022-11-09T22:27:18.617Z] ---> Running in 5c95bb399897 [2022-11-09T22:27:18.617Z] Removing intermediate container 5c95bb399897 [2022-11-09T22:27:18.617Z] ---> 8a8464976616 [2022-11-09T22:27:18.617Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-11-09T22:27:18.617Z] ---> 700c8bdbd36c [2022-11-09T22:27:18.617Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2022-11-09T22:27:18.617Z] ---> 30289c53be6d [2022-11-09T22:27:18.617Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2022-11-09T22:27:18.617Z] ---> 87af6b8732fe [2022-11-09T22:27:18.617Z] Step 20/25 : EXPOSE 59900 [2022-11-09T22:27:18.617Z] ---> Running in 22b1db3c3665 [2022-11-09T22:27:18.617Z] Removing intermediate container 22b1db3c3665 [2022-11-09T22:27:18.617Z] ---> 9ec6b31cc692 [2022-11-09T22:27:18.617Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2022-11-09T22:27:18.617Z] ---> Running in e36bd8fdf60c [2022-11-09T22:27:18.617Z] Removing intermediate container e36bd8fdf60c [2022-11-09T22:27:18.617Z] ---> 74dd129c94f1 [2022-11-09T22:27:18.617Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-09T22:27:18.617Z] ---> Running in cbb0c5c2daf5 [2022-11-09T22:27:18.617Z] Removing intermediate container cbb0c5c2daf5 [2022-11-09T22:27:18.617Z] ---> a5e52dc2564c [2022-11-09T22:27:18.617Z] Step 23/25 : LABEL arch=amd64 [2022-11-09T22:27:18.617Z] ---> Running in de77acc821c2 [2022-11-09T22:27:18.617Z] Removing intermediate container de77acc821c2 [2022-11-09T22:27:18.617Z] ---> 59a4d3bca6c0 [2022-11-09T22:27:18.617Z] Step 24/25 : LABEL git_sha=0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [2022-11-09T22:27:18.617Z] ---> Running in f145171f7f86 [2022-11-09T22:27:18.617Z] Removing intermediate container f145171f7f86 [2022-11-09T22:27:18.617Z] ---> d90e193b6776 [2022-11-09T22:27:18.617Z] Step 25/25 : LABEL version=2.3.0 [2022-11-09T22:27:18.617Z] ---> Running in d5a07e4762d4 [2022-11-09T22:27:18.617Z] Removing intermediate container d5a07e4762d4 [2022-11-09T22:27:18.617Z] ---> d831ce9a1ec2 [2022-11-09T22:27:18.617Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-09T22:27:18.617Z] Successfully built d831ce9a1ec2 [2022-11-09T22:27:18.617Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-09T22:27:18.719Z] provisioning config files... [2022-11-09T22:27:18.731Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10564326497493483810tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-09T22:27:19.025Z] ---> docker-login.sh [2022-11-09T22:27:19.025Z] nexus3.edgexfoundry.org:10001 [2022-11-09T22:27:19.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T22:27:19.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T22:27:19.025Z] Configure a credential helper to remove this warning. See [2022-11-09T22:27:19.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T22:27:19.025Z] [2022-11-09T22:27:19.025Z] Login Succeeded [2022-11-09T22:27:19.025Z] nexus3.edgexfoundry.org:10002 [2022-11-09T22:27:19.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T22:27:19.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T22:27:19.025Z] Configure a credential helper to remove this warning. See [2022-11-09T22:27:19.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T22:27:19.025Z] [2022-11-09T22:27:19.025Z] Login Succeeded [2022-11-09T22:27:19.025Z] nexus3.edgexfoundry.org:10003 [2022-11-09T22:27:19.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T22:27:19.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T22:27:19.284Z] Configure a credential helper to remove this warning. See [2022-11-09T22:27:19.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T22:27:19.284Z] [2022-11-09T22:27:19.284Z] Login Succeeded [2022-11-09T22:27:19.284Z] nexus3.edgexfoundry.org:10004 [2022-11-09T22:27:19.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T22:27:19.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T22:27:19.284Z] Configure a credential helper to remove this warning. See [2022-11-09T22:27:19.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T22:27:19.284Z] [2022-11-09T22:27:19.284Z] Login Succeeded [2022-11-09T22:27:19.284Z] docker.io [2022-11-09T22:27:19.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T22:27:19.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T22:27:19.543Z] Configure a credential helper to remove this warning. See [2022-11-09T22:27:19.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T22:27:19.543Z] [2022-11-09T22:27:19.543Z] Login Succeeded [2022-11-09T22:27:19.543Z] ---> docker-login.sh ends [Pipeline] } [2022-11-09T22:27:19.549Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-09T22:27:19.572Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-09T22:27:19.587Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2022-11-09T22:27:19.587Z] 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [2022-11-09T22:27:19.587Z] latest [2022-11-09T22:27:19.587Z] 2.3.0 [2022-11-09T22:27:19.587Z] 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0 [2022-11-09T22:27:19.587Z] main [2022-11-09T22:27:19.587Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:27:19.889Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:27:20.189Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [2022-11-09T22:27:20.190Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-11-09T22:27:20.190Z] 56c549fbde95: Preparing [2022-11-09T22:27:20.190Z] 50d99aea6236: Preparing [2022-11-09T22:27:20.190Z] 457423b4a798: Preparing [2022-11-09T22:27:20.190Z] a4864a484d90: Preparing [2022-11-09T22:27:20.190Z] 994393dc58e7: Preparing [2022-11-09T22:27:20.190Z] 994393dc58e7: Layer already exists [2022-11-09T22:27:20.190Z] 50d99aea6236: Pushed [2022-11-09T22:27:20.190Z] 457423b4a798: Pushed [2022-11-09T22:27:20.448Z] a4864a484d90: Pushed [2022-11-09T22:27:22.347Z] 56c549fbde95: Pushed [2022-11-09T22:27:22.606Z] 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23: digest: sha256:525b2cd733d4aca4c77268ca1a6347472811f038d3788faad0b597bd19265e97 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:27:22.913Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:27:23.223Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-11-09T22:27:23.223Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-11-09T22:27:23.223Z] 56c549fbde95: Preparing [2022-11-09T22:27:23.223Z] 50d99aea6236: Preparing [2022-11-09T22:27:23.223Z] 457423b4a798: Preparing [2022-11-09T22:27:23.223Z] a4864a484d90: Preparing [2022-11-09T22:27:23.223Z] 994393dc58e7: Preparing [2022-11-09T22:27:23.223Z] 457423b4a798: Layer already exists [2022-11-09T22:27:23.223Z] 56c549fbde95: Layer already exists [2022-11-09T22:27:23.223Z] 50d99aea6236: Layer already exists [2022-11-09T22:27:23.223Z] a4864a484d90: Layer already exists [2022-11-09T22:27:23.223Z] 994393dc58e7: Layer already exists [2022-11-09T22:27:23.223Z] latest: digest: sha256:525b2cd733d4aca4c77268ca1a6347472811f038d3788faad0b597bd19265e97 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:27:23.576Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.3.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:27:23.960Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.3.0 [2022-11-09T22:27:23.961Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-11-09T22:27:23.961Z] 56c549fbde95: Preparing [2022-11-09T22:27:23.961Z] 50d99aea6236: Preparing [2022-11-09T22:27:23.961Z] 457423b4a798: Preparing [2022-11-09T22:27:23.961Z] a4864a484d90: Preparing [2022-11-09T22:27:23.961Z] 994393dc58e7: Preparing [2022-11-09T22:27:23.961Z] 50d99aea6236: Layer already exists [2022-11-09T22:27:23.961Z] 457423b4a798: Layer already exists [2022-11-09T22:27:23.961Z] a4864a484d90: Layer already exists [2022-11-09T22:27:23.961Z] 56c549fbde95: Layer already exists [2022-11-09T22:27:23.961Z] 994393dc58e7: Layer already exists [2022-11-09T22:27:23.961Z] 2.3.0: digest: sha256:525b2cd733d4aca4c77268ca1a6347472811f038d3788faad0b597bd19265e97 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:27:24.293Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:27:24.596Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0 [2022-11-09T22:27:24.596Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-11-09T22:27:24.596Z] 56c549fbde95: Preparing [2022-11-09T22:27:24.596Z] 50d99aea6236: Preparing [2022-11-09T22:27:24.596Z] 457423b4a798: Preparing [2022-11-09T22:27:24.596Z] a4864a484d90: Preparing [2022-11-09T22:27:24.596Z] 994393dc58e7: Preparing [2022-11-09T22:27:24.596Z] a4864a484d90: Layer already exists [2022-11-09T22:27:24.596Z] 994393dc58e7: Layer already exists [2022-11-09T22:27:24.596Z] 50d99aea6236: Layer already exists [2022-11-09T22:27:24.596Z] 56c549fbde95: Layer already exists [2022-11-09T22:27:24.596Z] 457423b4a798: Layer already exists [2022-11-09T22:27:24.596Z] 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0: digest: sha256:525b2cd733d4aca4c77268ca1a6347472811f038d3788faad0b597bd19265e97 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:27:24.905Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:27:25.203Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2022-11-09T22:27:25.203Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-11-09T22:27:25.203Z] 56c549fbde95: Preparing [2022-11-09T22:27:25.203Z] 50d99aea6236: Preparing [2022-11-09T22:27:25.203Z] 457423b4a798: Preparing [2022-11-09T22:27:25.203Z] a4864a484d90: Preparing [2022-11-09T22:27:25.203Z] 994393dc58e7: Preparing [2022-11-09T22:27:25.203Z] a4864a484d90: Layer already exists [2022-11-09T22:27:25.203Z] 56c549fbde95: Layer already exists [2022-11-09T22:27:25.203Z] 50d99aea6236: Layer already exists [2022-11-09T22:27:25.203Z] 457423b4a798: Layer already exists [2022-11-09T22:27:25.203Z] 994393dc58e7: Layer already exists [2022-11-09T22:27:25.203Z] main: digest: sha256:525b2cd733d4aca4c77268ca1a6347472811f038d3788faad0b597bd19265e97 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-09T22:27:25.238Z] ===================================================== [Pipeline] echo [2022-11-09T22:27:25.244Z] taggedImages: [2022-11-09T22:27:25.244Z] - nexus3.edgexfoundry.org:10004/device-virtual:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [2022-11-09T22:27:25.244Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-11-09T22:27:25.244Z] - nexus3.edgexfoundry.org:10004/device-virtual:2.3.0 [2022-11-09T22:27:25.244Z] - nexus3.edgexfoundry.org:10004/device-virtual:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0 [2022-11-09T22:27:25.244Z] - 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 [2022-11-09T22:27:25.604Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-09T22:27:25.604Z] [2022-11-09T22:27:25.604Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:27:25.898Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-09T22:27:25.898Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-09T22:27:25.898Z] 5eb5b503b376: Pulling fs layer [2022-11-09T22:27:25.898Z] 5c69ac0246d0: Pulling fs layer [2022-11-09T22:27:25.898Z] ec43610c2a17: Pulling fs layer [2022-11-09T22:27:25.898Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-09T22:27:25.898Z] 33b1e0a273af: Pulling fs layer [2022-11-09T22:27:25.898Z] 5d3b04190fa2: Pulling fs layer [2022-11-09T22:27:25.898Z] 2f39f015ded8: Pulling fs layer [2022-11-09T22:27:25.898Z] 3a2ae6a8a46f: Waiting [2022-11-09T22:27:25.898Z] 5d3b04190fa2: Waiting [2022-11-09T22:27:25.898Z] 2f39f015ded8: Waiting [2022-11-09T22:27:25.898Z] 33b1e0a273af: Waiting [2022-11-09T22:27:25.898Z] 5c69ac0246d0: Download complete [2022-11-09T22:27:25.898Z] 3a2ae6a8a46f: Download complete [2022-11-09T22:27:25.898Z] 33b1e0a273af: Verifying Checksum [2022-11-09T22:27:25.898Z] 33b1e0a273af: Download complete [2022-11-09T22:27:25.898Z] 5d3b04190fa2: Download complete [2022-11-09T22:27:26.156Z] ec43610c2a17: Verifying Checksum [2022-11-09T22:27:26.156Z] ec43610c2a17: Download complete [2022-11-09T22:27:26.156Z] 5eb5b503b376: Verifying Checksum [2022-11-09T22:27:26.156Z] 5eb5b503b376: Download complete [2022-11-09T22:27:26.727Z] 2f39f015ded8: Download complete [2022-11-09T22:27:27.293Z] 5eb5b503b376: Pull complete [2022-11-09T22:27:27.293Z] 5c69ac0246d0: Pull complete [2022-11-09T22:27:27.859Z] ec43610c2a17: Pull complete [2022-11-09T22:27:27.859Z] 3a2ae6a8a46f: Pull complete [2022-11-09T22:27:28.117Z] 33b1e0a273af: Pull complete [2022-11-09T22:27:28.117Z] 5d3b04190fa2: Pull complete [2022-11-09T22:27:32.300Z] 2f39f015ded8: Pull complete [2022-11-09T22:27:32.300Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-09T22:27:32.300Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-09T22:27:32.300Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T22:27:32.370Z] prd-ubuntu20.04-docker-8c-8g-118848 does not seem to be running inside a container [2022-11-09T22:27:32.396Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-09T22:27:33.601Z] $ docker top 09ec27867cca59e275ac06c124cf03c2346177b15fcd050e15f5d5f9bed5ecce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-09T22:27:33.973Z] ---> job-cost.sh [2022-11-09T22:27:33.973Z] lf-activate-venv: SKIPPING [2022-11-09T22:27:33.973Z] INFO: No Stack... [2022-11-09T22:27:34.230Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-09T22:27:34.488Z] INFO: Archiving Costs [Pipeline] sh [2022-11-09T22:27:35.031Z] + + cut -d, -f6 [2022-11-09T22:27:35.031Z] cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [Pipeline] lock [2022-11-09T22:27:35.044Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-71-stack-cost] [2022-11-09T22:27:35.050Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-71-stack-cost] did not exist. Created. [2022-11-09T22:27:35.050Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-71-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-09T22:27:35.341Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-09T22:27:35.377Z] Stashed 1 file(s) [Pipeline] } [2022-11-09T22:27:35.383Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-71-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-09T22:27:35.396Z] $ docker stop --time=1 09ec27867cca59e275ac06c124cf03c2346177b15fcd050e15f5d5f9bed5ecce [2022-11-09T22:27:36.535Z] $ docker rm -f 09ec27867cca59e275ac06c124cf03c2346177b15fcd050e15f5d5f9bed5ecce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-09T22:27:39.124Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118849 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2022-11-09T22:27:39.141Z] Running in /w/workspace/device-virtual-go/71 [Pipeline] { [Pipeline] checkout [2022-11-09T22:27:39.174Z] The recommended git tool is: git [2022-11-09T22:27:44.041Z] using credential edgex-jenkins-ssh [2022-11-09T22:27:44.065Z] Cloning the remote Git repository [2022-11-09T22:27:44.112Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-11-09T22:27:44.192Z] > git init /w/workspace/device-virtual-go/71 # timeout=10 [2022-11-09T22:27:44.343Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-11-09T22:27:44.344Z] > git --version # timeout=10 [2022-11-09T22:27:44.362Z] > git --version # 'git version 2.25.1' [2022-11-09T22:27:44.364Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-09T22:27:44.408Z] Verifying host key using known hosts file [2022-11-09T22:27:44.586Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-09T22:27:44.599Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-09T22:27:46.550Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-11-09T22:27:47.396Z] Avoid second fetch [2022-11-09T22:27:47.397Z] Checking out Revision 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 (main) [2022-11-09T22:27:47.892Z] Commit message: "build: Update to use released SDK and go-mods (#320)" [2022-11-09T22:27:46.578Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-09T22:27:47.415Z] > git config core.sparsecheckout # timeout=10 [2022-11-09T22:27:47.434Z] > git checkout -f 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-09T22:27:48.904Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-09T22:27:48.904Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-09T22:27:48.904Z] Dload Upload Total Spent Left Speed [2022-11-09T22:27:48.904Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 219k 0 --:--:-- --:--:-- --:--:-- 223k [Pipeline] sh [2022-11-09T22:27:49.552Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-09T22:27:49.888Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-09T22:27:49.889Z] + sudo tee /etc/docker/daemon.new [2022-11-09T22:27:49.889Z] { [2022-11-09T22:27:49.889Z] "registry-mirrors": [ [2022-11-09T22:27:49.889Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-09T22:27:49.889Z] ], [2022-11-09T22:27:49.889Z] "bip": "10.250.0.254/24", [2022-11-09T22:27:49.889Z] "hosts": [ [2022-11-09T22:27:49.889Z] "tcp://0.0.0.0:5555", [2022-11-09T22:27:49.889Z] "unix:///var/run/docker.sock" [2022-11-09T22:27:49.889Z] ], [2022-11-09T22:27:49.889Z] "mtu": 1458, [2022-11-09T22:27:49.889Z] "selinux-enabled": true, [2022-11-09T22:27:49.889Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-09T22:27:49.889Z] } [Pipeline] sh [2022-11-09T22:27:50.223Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-09T22:27:50.566Z] + sudo service docker restart [Pipeline] sh [2022-11-09T22:28:09.120Z] + git checkout 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [2022-11-09T22:28:09.120Z] HEAD is now at 0c2f1e9 build: Update to use released SDK and go-mods (#320) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-09T22:28:09.149Z] provisioning config files... [2022-11-09T22:28:09.172Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/71@tmp/config2758735205817004757tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-09T22:28:09.516Z] ---> docker-login.sh [2022-11-09T22:28:09.516Z] nexus3.edgexfoundry.org:10001 [2022-11-09T22:28:10.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T22:28:10.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T22:28:10.104Z] Configure a credential helper to remove this warning. See [2022-11-09T22:28:10.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T22:28:10.104Z] [2022-11-09T22:28:10.104Z] Login Succeeded [2022-11-09T22:28:10.104Z] nexus3.edgexfoundry.org:10002 [2022-11-09T22:28:10.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T22:28:10.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T22:28:10.375Z] Configure a credential helper to remove this warning. See [2022-11-09T22:28:10.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T22:28:10.375Z] [2022-11-09T22:28:10.375Z] Login Succeeded [2022-11-09T22:28:10.376Z] nexus3.edgexfoundry.org:10003 [2022-11-09T22:28:10.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T22:28:10.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T22:28:10.922Z] Configure a credential helper to remove this warning. See [2022-11-09T22:28:10.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T22:28:10.922Z] [2022-11-09T22:28:10.922Z] Login Succeeded [2022-11-09T22:28:10.922Z] nexus3.edgexfoundry.org:10004 [2022-11-09T22:28:11.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T22:28:11.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T22:28:11.193Z] Configure a credential helper to remove this warning. See [2022-11-09T22:28:11.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T22:28:11.193Z] [2022-11-09T22:28:11.193Z] Login Succeeded [2022-11-09T22:28:11.193Z] docker.io [2022-11-09T22:28:11.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T22:28:11.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T22:28:11.731Z] Configure a credential helper to remove this warning. See [2022-11-09T22:28:11.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T22:28:11.731Z] [2022-11-09T22:28:11.731Z] Login Succeeded [2022-11-09T22:28:11.731Z] ---> docker-login.sh ends [Pipeline] } [2022-11-09T22:28:11.745Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-09T22:28:11.889Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-09T22:28:11.899Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-09T22:28:11.905Z] ========================================================= [2022-11-09T22:28:11.905Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-09T22:28:11.905Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:28:12.249Z] + 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 . [2022-11-09T22:28:12.516Z] Sending build context to Docker daemon 11.77MB [2022-11-09T22:28:12.516Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-09T22:28:12.516Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-09T22:28:12.787Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-09T22:28:12.787Z] 9b18e9b68314: Pulling fs layer [2022-11-09T22:28:12.787Z] 35d82f9e3411: Pulling fs layer [2022-11-09T22:28:12.787Z] e16973657156: Pulling fs layer [2022-11-09T22:28:12.787Z] fc693d55d65f: Pulling fs layer [2022-11-09T22:28:12.787Z] 7e9fc2657dce: Pulling fs layer [2022-11-09T22:28:12.787Z] dda99020689f: Pulling fs layer [2022-11-09T22:28:12.787Z] db1c61fa0a46: Pulling fs layer [2022-11-09T22:28:12.787Z] fc693d55d65f: Waiting [2022-11-09T22:28:12.787Z] 7e9fc2657dce: Waiting [2022-11-09T22:28:12.787Z] dda99020689f: Waiting [2022-11-09T22:28:12.787Z] db1c61fa0a46: Waiting [2022-11-09T22:28:12.787Z] 891c053d2c06: Pulling fs layer [2022-11-09T22:28:12.787Z] 891c053d2c06: Waiting [2022-11-09T22:28:12.787Z] e16973657156: Download complete [2022-11-09T22:28:12.787Z] 35d82f9e3411: Verifying Checksum [2022-11-09T22:28:12.787Z] 35d82f9e3411: Download complete [2022-11-09T22:28:12.787Z] 7e9fc2657dce: Verifying Checksum [2022-11-09T22:28:12.787Z] 7e9fc2657dce: Download complete [2022-11-09T22:28:12.787Z] dda99020689f: Verifying Checksum [2022-11-09T22:28:12.787Z] dda99020689f: Download complete [2022-11-09T22:28:12.787Z] 9b18e9b68314: Download complete [2022-11-09T22:28:13.779Z] 9b18e9b68314: Pull complete [2022-11-09T22:28:14.053Z] 891c053d2c06: Verifying Checksum [2022-11-09T22:28:14.053Z] 891c053d2c06: Download complete [2022-11-09T22:28:14.328Z] 35d82f9e3411: Pull complete [2022-11-09T22:28:14.604Z] e16973657156: Pull complete [2022-11-09T22:28:15.195Z] db1c61fa0a46: Verifying Checksum [2022-11-09T22:28:15.195Z] db1c61fa0a46: Download complete [2022-11-09T22:28:15.782Z] fc693d55d65f: Verifying Checksum [2022-11-09T22:28:15.782Z] fc693d55d65f: Download complete [2022-11-09T22:28:28.107Z] fc693d55d65f: Pull complete [2022-11-09T22:28:28.107Z] 7e9fc2657dce: Pull complete [2022-11-09T22:28:28.107Z] dda99020689f: Pull complete [2022-11-09T22:28:34.780Z] db1c61fa0a46: Pull complete [2022-11-09T22:28:36.210Z] 891c053d2c06: Pull complete [2022-11-09T22:28:36.210Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-09T22:28:36.210Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-09T22:28:36.210Z] ---> f96f9c87975a [2022-11-09T22:28:36.210Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-09T22:28:38.799Z] ---> Running in e71014065f1a [2022-11-09T22:28:38.799Z] Removing intermediate container e71014065f1a [2022-11-09T22:28:38.799Z] ---> 28748ce9959c [2022-11-09T22:28:38.799Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-09T22:28:38.799Z] ---> Running in 52a4fb84fbda [2022-11-09T22:28:39.069Z] Removing intermediate container 52a4fb84fbda [2022-11-09T22:28:39.069Z] ---> 51bee3167cf5 [2022-11-09T22:28:39.069Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2022-11-09T22:28:39.069Z] ---> Running in dd61e5dc0fdf [2022-11-09T22:28:39.341Z] Removing intermediate container dd61e5dc0fdf [2022-11-09T22:28:39.341Z] ---> 0af693f1832d [2022-11-09T22:28:39.341Z] Step 6/12 : WORKDIR /device-virtual-go [2022-11-09T22:28:39.609Z] ---> Running in 2d5cd8f612c4 [2022-11-09T22:28:39.881Z] Removing intermediate container 2d5cd8f612c4 [2022-11-09T22:28:39.881Z] ---> ac3c23838d5b [2022-11-09T22:28:39.881Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-09T22:28:39.881Z] ---> Running in 0619bb36540a [2022-11-09T22:28:40.843Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-09T22:28:41.111Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-09T22:28:42.073Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-09T22:28:42.073Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-09T22:28:42.073Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-09T22:28:42.341Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-09T22:28:42.341Z] Executing busybox-1.35.0-r17.trigger [2022-11-09T22:28:42.341Z] OK: 226 MiB in 55 packages [2022-11-09T22:28:43.309Z] Removing intermediate container 0619bb36540a [2022-11-09T22:28:43.309Z] ---> e0d9e7a73d22 [2022-11-09T22:28:43.309Z] Step 8/12 : COPY go.mod vendor* ./ [2022-11-09T22:28:43.895Z] ---> 6cff27dfddf8 [2022-11-09T22:28:43.895Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-09T22:28:43.895Z] ---> Running in 906e1e138d8a [2022-11-09T22:29:40.462Z] Removing intermediate container 906e1e138d8a [2022-11-09T22:29:40.462Z] ---> 25affd4b98db [2022-11-09T22:29:40.462Z] Step 10/12 : COPY . . [2022-11-09T22:29:40.462Z] ---> 718be833d512 [2022-11-09T22:29:40.462Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-09T22:29:40.462Z] ---> Running in e2810d75b5f8 [2022-11-09T22:29:40.462Z] Removing intermediate container e2810d75b5f8 [2022-11-09T22:29:40.462Z] ---> a8fd87f19392 [2022-11-09T22:29:40.462Z] Step 12/12 : RUN $MAKE [2022-11-09T22:29:40.462Z] ---> Running in 0f8ae3351518 [2022-11-09T22:29:40.462Z] noop [2022-11-09T22:29:41.051Z] Removing intermediate container 0f8ae3351518 [2022-11-09T22:29:41.051Z] ---> 4ebfae9df1b1 [2022-11-09T22:29:41.051Z] Successfully built 4ebfae9df1b1 [2022-11-09T22:29:41.051Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:29:41.406Z] + docker inspect -f . ci-base-image-arm64 [2022-11-09T22:29:41.407Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T22:29:41.591Z] prd-ubuntu20.04-docker-arm64-4c-16g-118849 does not seem to be running inside a container [2022-11-09T22:29:41.665Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/71 -v /w/workspace/device-virtual-go/71:/w/workspace/device-virtual-go/71:rw,z -v /w/workspace/device-virtual-go/71@tmp:/w/workspace/device-virtual-go/71@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 ******** -e ******** ci-base-image-arm64 cat [2022-11-09T22:29:44.193Z] $ docker top 54e799985710242c4b6a0b1f1ef01e423472062fe6fe71c95c8d34afaae58cf5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-09T22:29:45.021Z] + go version [2022-11-09T22:29:45.021Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-09T22:29:45.043Z] $ docker stop --time=1 54e799985710242c4b6a0b1f1ef01e423472062fe6fe71c95c8d34afaae58cf5 [2022-11-09T22:29:46.638Z] $ docker rm -f 54e799985710242c4b6a0b1f1ef01e423472062fe6fe71c95c8d34afaae58cf5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:29:47.175Z] + docker inspect -f . ci-base-image-arm64 [2022-11-09T22:29:47.175Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T22:29:47.360Z] prd-ubuntu20.04-docker-arm64-4c-16g-118849 does not seem to be running inside a container [2022-11-09T22:29:47.424Z] $ 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/71 -v /w/workspace/device-virtual-go/71:/w/workspace/device-virtual-go/71:rw,z -v /w/workspace/device-virtual-go/71@tmp:/w/workspace/device-virtual-go/71@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 ******** -e ******** ci-base-image-arm64 cat [2022-11-09T22:29:48.627Z] $ docker top e40939677f99b8a1f51f2bc50ca916ebf664358546d7debb1be2fbf1f7250667 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-09T22:29:49.127Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/71 [Pipeline] fileExists [Pipeline] sh [2022-11-09T22:29:49.780Z] + make test [2022-11-09T22:29:49.781Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-09T22:29:51.192Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-11-09T22:31:12.861Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-11-09T22:31:12.861Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.132s coverage: 65.7% of statements [2022-11-09T22:31:12.861Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-09T22:31:12.861Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-09T22:31:31.091Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-09T22:31:31.091Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-09T22:31:31.091Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-09T22:31:31.108Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-09T22:31:31.123Z] $ docker stop --time=1 e40939677f99b8a1f51f2bc50ca916ebf664358546d7debb1be2fbf1f7250667 [2022-11-09T22:31:32.853Z] $ docker rm -f e40939677f99b8a1f51f2bc50ca916ebf664358546d7debb1be2fbf1f7250667 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-09T22:31:33.727Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-09T22:31:33.750Z] Warning: overwriting stash ‘coverage-report’ [2022-11-09T22:31:34.137Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-09T22:31:34.522Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-09T22:31:34.846Z] + ls -al . [2022-11-09T22:31:34.846Z] total 200 [2022-11-09T22:31:34.846Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 22:29 . [2022-11-09T22:31:34.846Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 22:27 .. [2022-11-09T22:31:34.846Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 22:28 .git [2022-11-09T22:31:34.846Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 22:27 .github [2022-11-09T22:31:34.846Z] -rw-rw-r-- 1 jenkins jenkins 337 Nov 9 22:27 .gitignore [2022-11-09T22:31:34.846Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 9 22:27 .golangci.yml [2022-11-09T22:31:34.846Z] -rw-rw-r-- 1 jenkins jenkins 8527 Nov 9 22:27 Attribution.txt [2022-11-09T22:31:34.846Z] -rw-rw-r-- 1 jenkins jenkins 11367 Nov 9 22:27 CHANGELOG.md [2022-11-09T22:31:34.846Z] -rw-rw-r-- 1 jenkins jenkins 1709 Nov 9 22:27 Dockerfile [2022-11-09T22:31:34.846Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 22:27 GOVERNANCE.md [2022-11-09T22:31:34.846Z] -rw-rw-r-- 1 jenkins jenkins 660 Nov 9 22:27 Jenkinsfile [2022-11-09T22:31:34.846Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 22:27 LICENSE [2022-11-09T22:31:34.847Z] -rw-rw-r-- 1 jenkins jenkins 2457 Nov 9 22:27 Makefile [2022-11-09T22:31:34.847Z] -rw-rw-r-- 1 jenkins jenkins 623 Nov 9 22:27 OWNERS.md [2022-11-09T22:31:34.847Z] -rw-rw-r-- 1 jenkins jenkins 3578 Nov 9 22:27 README.md [2022-11-09T22:31:34.847Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 22:25 VERSION [2022-11-09T22:31:34.847Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 22:27 bin [2022-11-09T22:31:34.847Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 22:27 cmd [2022-11-09T22:31:34.847Z] -rw-r--r-- 1 jenkins jenkins 44128 Nov 9 22:31 coverage.out [2022-11-09T22:31:34.847Z] -rw-rw-r-- 1 jenkins jenkins 3339 Nov 9 22:27 go.mod [2022-11-09T22:31:34.847Z] -rw-rw-r-- 1 jenkins jenkins 44445 Nov 9 22:27 go.sum [2022-11-09T22:31:34.847Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 22:27 internal [2022-11-09T22:31:34.847Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 22:27 snap [2022-11-09T22:31:34.847Z] -rw-rw-r-- 1 jenkins jenkins 235 Nov 9 22:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:31:35.182Z] + 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=0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 --label arch=arm64 --label version=2.3.0 . [2022-11-09T22:31:35.450Z] Sending build context to Docker daemon 11.82MB [2022-11-09T22:31:35.450Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-11-09T22:31:35.450Z] Step 2/25 : FROM ${BASE} AS builder [2022-11-09T22:31:35.450Z] ---> 4ebfae9df1b1 [2022-11-09T22:31:35.450Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-09T22:31:35.723Z] ---> Running in 80052b58a2b7 [2022-11-09T22:31:35.991Z] Removing intermediate container 80052b58a2b7 [2022-11-09T22:31:35.991Z] ---> 2083cdb5777a [2022-11-09T22:31:35.991Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-11-09T22:31:35.991Z] ---> Running in e63b79fcfecd [2022-11-09T22:31:36.261Z] Removing intermediate container e63b79fcfecd [2022-11-09T22:31:36.261Z] ---> be997b1562ac [2022-11-09T22:31:36.261Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2022-11-09T22:31:36.261Z] ---> Running in 011e331c4ade [2022-11-09T22:31:36.535Z] Removing intermediate container 011e331c4ade [2022-11-09T22:31:36.535Z] ---> 5e591085977f [2022-11-09T22:31:36.535Z] Step 6/25 : WORKDIR /device-virtual-go [2022-11-09T22:31:36.804Z] ---> Running in 5afbb0b7f2f8 [2022-11-09T22:31:37.073Z] Removing intermediate container 5afbb0b7f2f8 [2022-11-09T22:31:37.073Z] ---> 4c92ba3a638a [2022-11-09T22:31:37.073Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-09T22:31:37.073Z] ---> Running in b2d35d031be2 [2022-11-09T22:31:38.036Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-09T22:31:38.305Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-09T22:31:39.272Z] OK: 226 MiB in 55 packages [2022-11-09T22:31:40.235Z] Removing intermediate container b2d35d031be2 [2022-11-09T22:31:40.235Z] ---> e3fbccf2d19f [2022-11-09T22:31:40.235Z] Step 8/25 : COPY go.mod vendor* ./ [2022-11-09T22:31:40.504Z] ---> 73a6290f8791 [2022-11-09T22:31:40.504Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-09T22:31:40.504Z] ---> Running in 39093a7c044d [2022-11-09T22:31:42.451Z] Removing intermediate container 39093a7c044d [2022-11-09T22:31:42.451Z] ---> a3f1083b7321 [2022-11-09T22:31:42.451Z] Step 10/25 : COPY . . [2022-11-09T22:31:43.867Z] ---> b99e1df8294a [2022-11-09T22:31:43.867Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-09T22:31:43.867Z] ---> Running in 56f14b0e399d [2022-11-09T22:31:43.867Z] Removing intermediate container 56f14b0e399d [2022-11-09T22:31:43.867Z] ---> aaceba3c5ad4 [2022-11-09T22:31:43.867Z] Step 12/25 : RUN $MAKE [2022-11-09T22:31:44.138Z] ---> Running in 758a9fab16f3 [2022-11-09T22:31:45.110Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-11-09T22:34:06.839Z] Removing intermediate container 758a9fab16f3 [2022-11-09T22:34:06.839Z] ---> 923898ca80b3 [2022-11-09T22:34:06.839Z] Step 13/25 : FROM alpine:3.16 [2022-11-09T22:34:06.839Z] 3.16: Pulling from library/alpine [2022-11-09T22:34:06.839Z] 9b18e9b68314: Already exists [2022-11-09T22:34:06.839Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-09T22:34:06.839Z] Status: Downloaded newer image for alpine:3.16 [2022-11-09T22:34:06.839Z] ---> a6215f271958 [2022-11-09T22:34:06.839Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-11-09T22:34:06.839Z] ---> Running in 1944928e59ab [2022-11-09T22:34:06.839Z] Removing intermediate container 1944928e59ab [2022-11-09T22:34:06.839Z] ---> 576fea9dbf2d [2022-11-09T22:34:06.839Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-09T22:34:06.839Z] ---> Running in 2595f51f0721 [2022-11-09T22:34:06.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-09T22:34:06.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-09T22:34:07.421Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-09T22:34:07.421Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-09T22:34:07.421Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-09T22:34:07.421Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-09T22:34:07.421Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-09T22:34:07.421Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-09T22:34:07.421Z] Executing busybox-1.35.0-r17.trigger [2022-11-09T22:34:07.421Z] OK: 8 MiB in 20 packages [2022-11-09T22:34:08.379Z] Removing intermediate container 2595f51f0721 [2022-11-09T22:34:08.379Z] ---> 57f7f161d610 [2022-11-09T22:34:08.379Z] Step 16/25 : WORKDIR / [2022-11-09T22:34:08.379Z] ---> Running in 8adb3e0f1ea7 [2022-11-09T22:34:08.648Z] Removing intermediate container 8adb3e0f1ea7 [2022-11-09T22:34:08.648Z] ---> 453b8024805f [2022-11-09T22:34:08.648Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-11-09T22:34:09.231Z] ---> 5c33204e86bc [2022-11-09T22:34:09.231Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2022-11-09T22:34:10.641Z] ---> 5bf53302c4c6 [2022-11-09T22:34:10.641Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2022-11-09T22:34:12.051Z] ---> 520d35f83309 [2022-11-09T22:34:12.051Z] Step 20/25 : EXPOSE 59900 [2022-11-09T22:34:12.051Z] ---> Running in 0a3fc3c0cfba [2022-11-09T22:34:12.317Z] Removing intermediate container 0a3fc3c0cfba [2022-11-09T22:34:12.317Z] ---> 0e7dfcbc1b63 [2022-11-09T22:34:12.317Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2022-11-09T22:34:12.317Z] ---> Running in 15b760b8b944 [2022-11-09T22:34:12.586Z] Removing intermediate container 15b760b8b944 [2022-11-09T22:34:12.586Z] ---> 49c70351e9f4 [2022-11-09T22:34:12.586Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-09T22:34:12.586Z] ---> Running in 51eff1030698 [2022-11-09T22:34:12.854Z] Removing intermediate container 51eff1030698 [2022-11-09T22:34:12.854Z] ---> 2e5ae07e2ca1 [2022-11-09T22:34:12.854Z] Step 23/25 : LABEL arch=arm64 [2022-11-09T22:34:12.854Z] ---> Running in 02f39ead822f [2022-11-09T22:34:13.122Z] Removing intermediate container 02f39ead822f [2022-11-09T22:34:13.122Z] ---> 3196c59d1285 [2022-11-09T22:34:13.122Z] Step 24/25 : LABEL git_sha=0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [2022-11-09T22:34:13.389Z] ---> Running in fa076a7b09ad [2022-11-09T22:34:13.658Z] Removing intermediate container fa076a7b09ad [2022-11-09T22:34:13.658Z] ---> afe83a42ebb4 [2022-11-09T22:34:13.658Z] Step 25/25 : LABEL version=2.3.0 [2022-11-09T22:34:13.658Z] ---> Running in 475f0d8e9e36 [2022-11-09T22:34:13.924Z] Removing intermediate container 475f0d8e9e36 [2022-11-09T22:34:13.924Z] ---> a01b190deeff [2022-11-09T22:34:13.924Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-09T22:34:13.924Z] Successfully built a01b190deeff [2022-11-09T22:34:13.924Z] 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 [2022-11-09T22:34:14.032Z] provisioning config files... [2022-11-09T22:34:14.047Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/71@tmp/config13724443249783368291tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-09T22:34:14.380Z] ---> docker-login.sh [2022-11-09T22:34:14.380Z] nexus3.edgexfoundry.org:10001 [2022-11-09T22:34:14.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T22:34:14.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T22:34:14.648Z] Configure a credential helper to remove this warning. See [2022-11-09T22:34:14.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T22:34:14.648Z] [2022-11-09T22:34:14.648Z] Login Succeeded [2022-11-09T22:34:14.648Z] nexus3.edgexfoundry.org:10002 [2022-11-09T22:34:14.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T22:34:14.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T22:34:14.917Z] Configure a credential helper to remove this warning. See [2022-11-09T22:34:14.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T22:34:14.917Z] [2022-11-09T22:34:14.917Z] Login Succeeded [2022-11-09T22:34:14.917Z] nexus3.edgexfoundry.org:10003 [2022-11-09T22:34:15.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T22:34:15.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T22:34:15.451Z] Configure a credential helper to remove this warning. See [2022-11-09T22:34:15.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T22:34:15.451Z] [2022-11-09T22:34:15.451Z] Login Succeeded [2022-11-09T22:34:15.451Z] nexus3.edgexfoundry.org:10004 [2022-11-09T22:34:15.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T22:34:15.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T22:34:15.718Z] Configure a credential helper to remove this warning. See [2022-11-09T22:34:15.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T22:34:15.718Z] [2022-11-09T22:34:15.718Z] Login Succeeded [2022-11-09T22:34:15.718Z] docker.io [2022-11-09T22:34:15.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T22:34:16.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T22:34:16.249Z] Configure a credential helper to remove this warning. See [2022-11-09T22:34:16.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T22:34:16.249Z] [2022-11-09T22:34:16.249Z] Login Succeeded [2022-11-09T22:34:16.249Z] ---> docker-login.sh ends [Pipeline] } [2022-11-09T22:34:16.262Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-09T22:34:16.288Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-09T22:34:16.302Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2022-11-09T22:34:16.302Z] 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [2022-11-09T22:34:16.302Z] latest [2022-11-09T22:34:16.302Z] 2.3.0 [2022-11-09T22:34:16.302Z] 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0 [2022-11-09T22:34:16.302Z] main [2022-11-09T22:34:16.302Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:34:16.628Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:34:16.957Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [2022-11-09T22:34:16.957Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-11-09T22:34:16.957Z] cf069fba0ba1: Preparing [2022-11-09T22:34:16.957Z] 8cdfb23b2fd0: Preparing [2022-11-09T22:34:16.957Z] 68dc26b84ff1: Preparing [2022-11-09T22:34:16.957Z] 7b220441d16c: Preparing [2022-11-09T22:34:16.957Z] 5d3e392a13a0: Preparing [2022-11-09T22:34:16.957Z] 5d3e392a13a0: Layer already exists [2022-11-09T22:34:17.225Z] 8cdfb23b2fd0: Pushed [2022-11-09T22:34:17.225Z] 68dc26b84ff1: Pushed [2022-11-09T22:34:17.806Z] 7b220441d16c: Pushed [2022-11-09T22:34:23.142Z] cf069fba0ba1: Pushed [2022-11-09T22:34:23.142Z] 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23: digest: sha256:66ecb37d9917af333189bfe4ceef078bb0f4d09aef8d1475ffe819f90d45952f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:34:23.479Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:34:23.814Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-11-09T22:34:23.815Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-11-09T22:34:23.815Z] cf069fba0ba1: Preparing [2022-11-09T22:34:23.815Z] 8cdfb23b2fd0: Preparing [2022-11-09T22:34:23.815Z] 68dc26b84ff1: Preparing [2022-11-09T22:34:23.815Z] 7b220441d16c: Preparing [2022-11-09T22:34:23.815Z] 5d3e392a13a0: Preparing [2022-11-09T22:34:23.815Z] cf069fba0ba1: Layer already exists [2022-11-09T22:34:23.815Z] 68dc26b84ff1: Layer already exists [2022-11-09T22:34:23.815Z] 8cdfb23b2fd0: Layer already exists [2022-11-09T22:34:23.815Z] 5d3e392a13a0: Layer already exists [2022-11-09T22:34:23.815Z] 7b220441d16c: Layer already exists [2022-11-09T22:34:23.815Z] latest: digest: sha256:66ecb37d9917af333189bfe4ceef078bb0f4d09aef8d1475ffe819f90d45952f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:34:24.426Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:34:24.762Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0 [2022-11-09T22:34:24.762Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-11-09T22:34:24.762Z] cf069fba0ba1: Preparing [2022-11-09T22:34:24.762Z] 8cdfb23b2fd0: Preparing [2022-11-09T22:34:24.762Z] 68dc26b84ff1: Preparing [2022-11-09T22:34:24.762Z] 7b220441d16c: Preparing [2022-11-09T22:34:24.762Z] 5d3e392a13a0: Preparing [2022-11-09T22:34:24.762Z] 8cdfb23b2fd0: Layer already exists [2022-11-09T22:34:24.762Z] cf069fba0ba1: Layer already exists [2022-11-09T22:34:24.762Z] 7b220441d16c: Layer already exists [2022-11-09T22:34:24.762Z] 68dc26b84ff1: Layer already exists [2022-11-09T22:34:24.762Z] 5d3e392a13a0: Layer already exists [2022-11-09T22:34:24.762Z] 2.3.0: digest: sha256:66ecb37d9917af333189bfe4ceef078bb0f4d09aef8d1475ffe819f90d45952f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:34:25.095Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:34:25.424Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0 [2022-11-09T22:34:25.424Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-11-09T22:34:25.424Z] cf069fba0ba1: Preparing [2022-11-09T22:34:25.424Z] 8cdfb23b2fd0: Preparing [2022-11-09T22:34:25.424Z] 68dc26b84ff1: Preparing [2022-11-09T22:34:25.424Z] 7b220441d16c: Preparing [2022-11-09T22:34:25.424Z] 5d3e392a13a0: Preparing [2022-11-09T22:34:25.424Z] 7b220441d16c: Layer already exists [2022-11-09T22:34:25.424Z] 5d3e392a13a0: Layer already exists [2022-11-09T22:34:25.424Z] 8cdfb23b2fd0: Layer already exists [2022-11-09T22:34:25.424Z] 68dc26b84ff1: Layer already exists [2022-11-09T22:34:25.424Z] cf069fba0ba1: Layer already exists [2022-11-09T22:34:25.424Z] 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0: digest: sha256:66ecb37d9917af333189bfe4ceef078bb0f4d09aef8d1475ffe819f90d45952f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:34:25.753Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:34:26.081Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2022-11-09T22:34:26.081Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-11-09T22:34:26.081Z] cf069fba0ba1: Preparing [2022-11-09T22:34:26.081Z] 8cdfb23b2fd0: Preparing [2022-11-09T22:34:26.081Z] 68dc26b84ff1: Preparing [2022-11-09T22:34:26.081Z] 7b220441d16c: Preparing [2022-11-09T22:34:26.081Z] 5d3e392a13a0: Preparing [2022-11-09T22:34:26.081Z] 7b220441d16c: Layer already exists [2022-11-09T22:34:26.081Z] cf069fba0ba1: Layer already exists [2022-11-09T22:34:26.081Z] 5d3e392a13a0: Layer already exists [2022-11-09T22:34:26.081Z] 68dc26b84ff1: Layer already exists [2022-11-09T22:34:26.081Z] 8cdfb23b2fd0: Layer already exists [2022-11-09T22:34:26.081Z] main: digest: sha256:66ecb37d9917af333189bfe4ceef078bb0f4d09aef8d1475ffe819f90d45952f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-09T22:34:26.123Z] ===================================================== [Pipeline] echo [2022-11-09T22:34:26.129Z] taggedImages: [2022-11-09T22:34:26.129Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [2022-11-09T22:34:26.129Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-11-09T22:34:26.129Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0 [2022-11-09T22:34:26.129Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0 [2022-11-09T22:34:26.129Z] - 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 [2022-11-09T22:34:26.492Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-09T22:34:26.493Z] [2022-11-09T22:34:26.493Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:34:26.821Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-09T22:34:26.821Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-09T22:34:26.821Z] 8998bd30e6a1: Pulling fs layer [2022-11-09T22:34:26.821Z] 04944245beec: Pulling fs layer [2022-11-09T22:34:26.821Z] 699f458cf7ca: Pulling fs layer [2022-11-09T22:34:26.821Z] 765212b225bb: Pulling fs layer [2022-11-09T22:34:26.821Z] f23df028b6ca: Pulling fs layer [2022-11-09T22:34:26.821Z] d65c8cfc05b1: Pulling fs layer [2022-11-09T22:34:26.821Z] 2437ff75d9bd: Pulling fs layer [2022-11-09T22:34:26.821Z] 765212b225bb: Waiting [2022-11-09T22:34:26.821Z] f23df028b6ca: Waiting [2022-11-09T22:34:26.821Z] d65c8cfc05b1: Waiting [2022-11-09T22:34:26.821Z] 2437ff75d9bd: Waiting [2022-11-09T22:34:27.090Z] 04944245beec: Verifying Checksum [2022-11-09T22:34:27.090Z] 04944245beec: Download complete [2022-11-09T22:34:27.090Z] 765212b225bb: Verifying Checksum [2022-11-09T22:34:27.090Z] 765212b225bb: Download complete [2022-11-09T22:34:27.090Z] f23df028b6ca: Download complete [2022-11-09T22:34:27.090Z] d65c8cfc05b1: Verifying Checksum [2022-11-09T22:34:27.090Z] d65c8cfc05b1: Download complete [2022-11-09T22:34:27.090Z] 699f458cf7ca: Verifying Checksum [2022-11-09T22:34:27.090Z] 699f458cf7ca: Download complete [2022-11-09T22:34:27.673Z] 8998bd30e6a1: Verifying Checksum [2022-11-09T22:34:27.673Z] 8998bd30e6a1: Download complete [2022-11-09T22:34:30.268Z] 2437ff75d9bd: Verifying Checksum [2022-11-09T22:34:30.268Z] 2437ff75d9bd: Download complete [2022-11-09T22:34:31.674Z] 8998bd30e6a1: Pull complete [2022-11-09T22:34:32.255Z] 04944245beec: Pull complete [2022-11-09T22:34:33.663Z] 699f458cf7ca: Pull complete [2022-11-09T22:34:33.663Z] 765212b225bb: Pull complete [2022-11-09T22:34:34.618Z] f23df028b6ca: Pull complete [2022-11-09T22:34:34.618Z] d65c8cfc05b1: Pull complete [2022-11-09T22:34:49.600Z] 2437ff75d9bd: Pull complete [2022-11-09T22:34:49.600Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-09T22:34:49.600Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-09T22:34:49.600Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T22:34:49.781Z] prd-ubuntu20.04-docker-arm64-4c-16g-118849 does not seem to be running inside a container [2022-11-09T22:34:49.840Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/71 -v /w/workspace/device-virtual-go/71:/w/workspace/device-virtual-go/71:rw,z -v /w/workspace/device-virtual-go/71@tmp:/w/workspace/device-virtual-go/71@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-09T22:34:52.220Z] $ docker top 901d338fa8a05ef90b24e8fb4c591f68b02152e9c8ecf86a2735bb7064b525fc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-09T22:34:53.046Z] ---> job-cost.sh [2022-11-09T22:34:53.046Z] lf-activate-venv: SKIPPING [2022-11-09T22:34:53.046Z] INFO: No Stack... [2022-11-09T22:34:53.309Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-09T22:34:54.263Z] INFO: Archiving Costs [Pipeline] sh [2022-11-09T22:34:54.629Z] + cat /w/workspace/device-virtual-go/71/archives/cost.csv [2022-11-09T22:34:54.629Z] + cut -d, -f6 [Pipeline] lock [2022-11-09T22:34:54.691Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-71-stack-cost] [2022-11-09T22:34:54.696Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-71-stack-cost] did not exist. Created. [2022-11-09T22:34:54.696Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-71-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-09T22:34:55.050Z] /w/workspace/device-virtual-go/71@tmp/durable-1bd0d1cc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-09T22:34:55.719Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-09T22:34:55.737Z] Warning: overwriting stash ‘stack-cost’ [2022-11-09T22:34:55.809Z] Stashed 1 file(s) [Pipeline] } [2022-11-09T22:34:55.818Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-71-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-09T22:34:55.835Z] $ docker stop --time=1 901d338fa8a05ef90b24e8fb4c591f68b02152e9c8ecf86a2735bb7064b525fc [2022-11-09T22:34:57.330Z] $ docker rm -f 901d338fa8a05ef90b24e8fb4c591f68b02152e9c8ecf86a2735bb7064b525fc [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 [2022-11-09T22:34:57.727Z] provisioning config files... [2022-11-09T22:34:57.734Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4688575381569439403tmp [Pipeline] { [Pipeline] sh [2022-11-09T22:34:58.022Z] + set +x [2022-11-09T22:34:58.022Z] + curl -s https://codecov.io/bash [2022-11-09T22:34:58.022Z] + bash -s -- [2022-11-09T22:34:58.022Z] [2022-11-09T22:34:58.022Z] _____ _ [2022-11-09T22:34:58.022Z] / ____| | | [2022-11-09T22:34:58.022Z] | | ___ __| | ___ ___ _____ __ [2022-11-09T22:34:58.022Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-09T22:34:58.022Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-09T22:34:58.022Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-09T22:34:58.022Z] Bash-1.0.6 [2022-11-09T22:34:58.022Z] [2022-11-09T22:34:58.022Z] [2022-11-09T22:34:58.022Z] ==> git version 2.25.1 found [2022-11-09T22:34:58.022Z] ==> 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 [2022-11-09T22:34:58.022Z] Release-Date: 2020-01-08 [2022-11-09T22:34:58.022Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-09T22:34:58.022Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-09T22:34:58.022Z] ==> Jenkins CI detected. [2022-11-09T22:34:58.022Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2022-11-09T22:34:58.022Z] project root: . [2022-11-09T22:34:58.022Z] --> token set from env [2022-11-09T22:34:58.022Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-09T22:34:58.022Z] ==> Running gcov in . (disable via -X gcov) [2022-11-09T22:34:58.022Z] ==> Python coveragepy not found [2022-11-09T22:34:58.022Z] ==> Searching for coverage reports in: [2022-11-09T22:34:58.022Z] + . [2022-11-09T22:34:58.282Z] -> Found 1 reports [2022-11-09T22:34:58.282Z] ==> Detecting git/mercurial file structure [2022-11-09T22:34:58.282Z] ==> Reading reports [2022-11-09T22:34:58.282Z] + ./coverage.out bytes=44128 [2022-11-09T22:34:58.282Z] ==> Appending adjustments [2022-11-09T22:34:58.282Z] https://docs.codecov.io/docs/fixing-reports [2022-11-09T22:34:58.282Z] + Found adjustments [2022-11-09T22:34:58.282Z] ==> Gzipping contents [2022-11-09T22:34:58.282Z] 8.0K /tmp/codecov.28nQP5.gz [2022-11-09T22:34:58.282Z] ==> Uploading reports [2022-11-09T22:34:58.282Z] url: https://codecov.io [2022-11-09T22:34:58.282Z] query: branch=main&commit=0c2f1e9213ddf10d1b3316c025c729eab3a2bc23&build=71&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F71%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-11-09T22:34:58.282Z] -> Pinging Codecov [2022-11-09T22:34:58.282Z] 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=0c2f1e9213ddf10d1b3316c025c729eab3a2bc23&build=71&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F71%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-11-09T22:34:58.848Z] -> Uploading to [2022-11-09T22:34:58.848Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-09/5E52B4B073DB2E39498172D8E973AA87/0c2f1e9213ddf10d1b3316c025c729eab3a2bc23/6cbe7fe8-3256-4fa7-acc8-82413f18412d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221109T223458Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=59cbddc2dedcec00653a22a0910145e005f232a94617dc0e56b26caa7abebd25 [2022-11-09T22:34:58.848Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-09T22:34:58.848Z] Dload Upload Total Spent Left Speed [2022-11-09T22:34:59.107Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5492 0 0 100 5492 0 20803 --:--:-- --:--:-- --:--:-- 20803 [2022-11-09T22:34:59.107Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [Pipeline] } [2022-11-09T22:34:59.114Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-11-09T22:34:59.307Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-11-09T22:34:59.319Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:34:59.619Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-11-09T22:34:59.619Z] [2022-11-09T22:34:59.619Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:34:59.916Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-11-09T22:34:59.916Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-11-09T22:34:59.916Z] df9b9388f04a: Pulling fs layer [2022-11-09T22:34:59.916Z] 52dc419b0ee2: Pulling fs layer [2022-11-09T22:34:59.916Z] 25bc292e5bac: Pulling fs layer [2022-11-09T22:34:59.916Z] 114826534d7a: Pulling fs layer [2022-11-09T22:34:59.916Z] 4657fd5d0bcf: Pulling fs layer [2022-11-09T22:34:59.916Z] 6ad1cebc031e: Pulling fs layer [2022-11-09T22:34:59.916Z] 8a3aa393b2d8: Pulling fs layer [2022-11-09T22:34:59.916Z] 4657fd5d0bcf: Waiting [2022-11-09T22:34:59.916Z] 6ad1cebc031e: Waiting [2022-11-09T22:34:59.916Z] 114826534d7a: Waiting [2022-11-09T22:34:59.916Z] 8a3aa393b2d8: Waiting [2022-11-09T22:34:59.916Z] 25bc292e5bac: Verifying Checksum [2022-11-09T22:34:59.916Z] 25bc292e5bac: Download complete [2022-11-09T22:34:59.916Z] 52dc419b0ee2: Verifying Checksum [2022-11-09T22:34:59.916Z] 52dc419b0ee2: Download complete [2022-11-09T22:34:59.916Z] 4657fd5d0bcf: Verifying Checksum [2022-11-09T22:34:59.916Z] 4657fd5d0bcf: Download complete [2022-11-09T22:34:59.916Z] df9b9388f04a: Download complete [2022-11-09T22:35:00.173Z] df9b9388f04a: Pull complete [2022-11-09T22:35:00.174Z] 6ad1cebc031e: Verifying Checksum [2022-11-09T22:35:00.174Z] 6ad1cebc031e: Download complete [2022-11-09T22:35:00.174Z] 52dc419b0ee2: Pull complete [2022-11-09T22:35:00.174Z] 25bc292e5bac: Pull complete [2022-11-09T22:35:00.743Z] 114826534d7a: Verifying Checksum [2022-11-09T22:35:00.743Z] 114826534d7a: Download complete [2022-11-09T22:35:00.743Z] 8a3aa393b2d8: Verifying Checksum [2022-11-09T22:35:00.743Z] 8a3aa393b2d8: Download complete [2022-11-09T22:35:04.923Z] 114826534d7a: Pull complete [2022-11-09T22:35:04.923Z] 4657fd5d0bcf: Pull complete [2022-11-09T22:35:04.923Z] 6ad1cebc031e: Pull complete [2022-11-09T22:35:07.449Z] 8a3aa393b2d8: Pull complete [2022-11-09T22:35:07.707Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-11-09T22:35:07.707Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-11-09T22:35:07.707Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T22:35:07.785Z] prd-ubuntu20.04-docker-8c-8g-118848 does not seem to be running inside a container [2022-11-09T22:35:07.814Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-11-09T22:35:09.572Z] $ docker top 8811da1d015ce08913300915465b1e88cd91c7e10d257d772233c5d45c6f9d65 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-11-09T22:35:09.644Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2022-11-09T22:35:09.925Z] + set -o pipefail [2022-11-09T22:35:09.925Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2022-11-09T22:35:18.048Z] [2022-11-09T22:35:18.048Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2022-11-09T22:35:18.048Z] [2022-11-09T22:35:18.048Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/3b70db3b-ff1f-40c7-a396-dcda3ad41595 [2022-11-09T22:35:18.048Z] [2022-11-09T22:35:18.048Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-11-09T22:35:18.048Z] [2022-11-09T22:35:18.048Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-11-09T22:35:18.048Z] [2022-11-09T22:35:18.048Z] [2022-11-09T22:35:18.048Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2022-11-09T22:35:18.048Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2022-11-09T22:35:18.048Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2022-11-09T22:35:18.057Z] $ docker stop --time=1 8811da1d015ce08913300915465b1e88cd91c7e10d257d772233c5d45c6f9d65 [2022-11-09T22:35:20.145Z] $ docker rm -f 8811da1d015ce08913300915465b1e88cd91c7e10d257d772233c5d45c6f9d65 [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 [2022-11-09T22:35:20.839Z] + git log --format=format:%s -1 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [Pipeline] sh [2022-11-09T22:35:21.126Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-09T22:35:21.126Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:35:21.423Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-09T22:35:21.423Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T22:35:21.489Z] prd-ubuntu20.04-docker-8c-8g-118848 does not seem to be running inside a container [2022-11-09T22:35:21.515Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-09T22:35:21.861Z] $ docker top e482c349545061cd5dfcbe89487411a6b6e81fab7f4a97677c1bb490dc97f9a8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-09T22:35:21.939Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.3.0|v2.3.0-dev.30' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-09T22:35:22.232Z] + git semver [Pipeline] } [2022-11-09T22:35:22.501Z] $ docker stop --time=1 e482c349545061cd5dfcbe89487411a6b6e81fab7f4a97677c1bb490dc97f9a8 [2022-11-09T22:35:23.779Z] $ docker rm -f e482c349545061cd5dfcbe89487411a6b6e81fab7f4a97677c1bb490dc97f9a8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:35:24.149Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-09T22:35:24.150Z] [2022-11-09T22:35:24.150Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:35:24.442Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-09T22:35:24.442Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-11-09T22:35:24.442Z] ab5ef0e58194: Pulling fs layer [2022-11-09T22:35:24.442Z] 9712f1f96733: Pulling fs layer [2022-11-09T22:35:24.442Z] 63f879dbbcfc: Pulling fs layer [2022-11-09T22:35:24.442Z] 0d9ebad4ef96: Pulling fs layer [2022-11-09T22:35:24.442Z] e9a5061849ea: Pulling fs layer [2022-11-09T22:35:24.442Z] d747dcd14b5f: Pulling fs layer [2022-11-09T22:35:24.442Z] 2de7ff778b66: Pulling fs layer [2022-11-09T22:35:24.442Z] 0d9ebad4ef96: Waiting [2022-11-09T22:35:24.442Z] d747dcd14b5f: Waiting [2022-11-09T22:35:24.442Z] 2de7ff778b66: Waiting [2022-11-09T22:35:24.442Z] e9a5061849ea: Waiting [2022-11-09T22:35:24.442Z] 9712f1f96733: Verifying Checksum [2022-11-09T22:35:24.442Z] 9712f1f96733: Download complete [2022-11-09T22:35:24.712Z] 63f879dbbcfc: Verifying Checksum [2022-11-09T22:35:24.712Z] 63f879dbbcfc: Download complete [2022-11-09T22:35:24.976Z] 0d9ebad4ef96: Verifying Checksum [2022-11-09T22:35:24.976Z] 0d9ebad4ef96: Download complete [2022-11-09T22:35:25.233Z] ab5ef0e58194: Verifying Checksum [2022-11-09T22:35:25.233Z] ab5ef0e58194: Download complete [2022-11-09T22:35:25.233Z] e9a5061849ea: Verifying Checksum [2022-11-09T22:35:25.233Z] e9a5061849ea: Download complete [2022-11-09T22:35:25.233Z] 2de7ff778b66: Verifying Checksum [2022-11-09T22:35:25.233Z] 2de7ff778b66: Download complete [2022-11-09T22:35:28.515Z] ab5ef0e58194: Pull complete [2022-11-09T22:35:28.515Z] 9712f1f96733: Pull complete [2022-11-09T22:35:28.773Z] 63f879dbbcfc: Pull complete [2022-11-09T22:35:32.958Z] 0d9ebad4ef96: Pull complete [2022-11-09T22:35:32.958Z] e9a5061849ea: Pull complete [2022-11-09T22:35:32.958Z] d747dcd14b5f: Pull complete [2022-11-09T22:35:34.330Z] 2de7ff778b66: Pull complete [2022-11-09T22:35:34.330Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-11-09T22:35:34.330Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-09T22:35:34.330Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T22:35:34.401Z] prd-ubuntu20.04-docker-8c-8g-118848 does not seem to be running inside a container [2022-11-09T22:35:34.425Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-11-09T22:35:36.016Z] $ docker top 305ab5317006f8500097dede5672dad0ba0631f135f527f71d7700f3a2c1a905 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-11-09T22:35:36.084Z] provisioning config files... [2022-11-09T22:35:36.090Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2864517376675340543tmp [2022-11-09T22:35:36.101Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6693515577062568332tmp [2022-11-09T22:35:36.109Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config720098719192438803tmp [Pipeline] { [Pipeline] echo [2022-11-09T22:35:36.120Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-09T22:35:36.397Z] ---> sigul-configuration.sh [2022-11-09T22:35:36.397Z] gpg: directory `/root/.gnupg' created [2022-11-09T22:35:36.397Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-11-09T22:35:36.397Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-11-09T22:35:36.397Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-11-09T22:35:36.397Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-11-09T22:35:36.397Z] gpg: CAST5 encrypted data [2022-11-09T22:35:36.397Z] gpg: encrypted with 1 passphrase [2022-11-09T22:35:36.397Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-11-09T22:35:36.682Z] + mkdir /home/jenkins [2022-11-09T22:35:36.682Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-11-09T22:35:36.965Z] + 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 [2022-11-09T22:35:36.972Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-09T22:35:37.255Z] ---> sigul-install.sh [2022-11-09T22:35:37.255Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-11-09T22:35:37.539Z] + git tag --list [2022-11-09T22:35:37.539Z] v1.0.0 [2022-11-09T22:35:37.539Z] v1.1.0 [2022-11-09T22:35:37.539Z] v1.1.1 [2022-11-09T22:35:37.539Z] v1.2.1 [2022-11-09T22:35:37.539Z] v1.2.2 [2022-11-09T22:35:37.539Z] v1.2.3 [2022-11-09T22:35:37.539Z] v1.3.0 [2022-11-09T22:35:37.539Z] v1.3.1 [2022-11-09T22:35:37.539Z] v2.0.0 [2022-11-09T22:35:37.539Z] v2.1.0 [2022-11-09T22:35:37.539Z] v2.1.1 [2022-11-09T22:35:37.539Z] v2.1.1-dev.1 [2022-11-09T22:35:37.539Z] v2.1.1-dev.2 [2022-11-09T22:35:37.539Z] v2.2.0 [2022-11-09T22:35:37.539Z] v2.2.1-dev.1 [2022-11-09T22:35:37.539Z] v2.2.1-dev.2 [2022-11-09T22:35:37.539Z] v2.2.1-dev.3 [2022-11-09T22:35:37.539Z] v2.2.1-dev.4 [2022-11-09T22:35:37.539Z] v2.2.1-dev.5 [2022-11-09T22:35:37.539Z] v2.2.1-dev.6 [2022-11-09T22:35:37.539Z] v2.2.1-dev.7 [2022-11-09T22:35:37.539Z] v2.2.1-dev.8 [2022-11-09T22:35:37.539Z] v2.3.0 [2022-11-09T22:35:37.539Z] v2.3.0-dev.10 [2022-11-09T22:35:37.539Z] v2.3.0-dev.11 [2022-11-09T22:35:37.539Z] v2.3.0-dev.12 [2022-11-09T22:35:37.539Z] v2.3.0-dev.13 [2022-11-09T22:35:37.539Z] v2.3.0-dev.14 [2022-11-09T22:35:37.539Z] v2.3.0-dev.15 [2022-11-09T22:35:37.539Z] v2.3.0-dev.16 [2022-11-09T22:35:37.539Z] v2.3.0-dev.17 [2022-11-09T22:35:37.539Z] v2.3.0-dev.18 [2022-11-09T22:35:37.539Z] v2.3.0-dev.19 [2022-11-09T22:35:37.539Z] v2.3.0-dev.20 [2022-11-09T22:35:37.539Z] v2.3.0-dev.21 [2022-11-09T22:35:37.539Z] v2.3.0-dev.22 [2022-11-09T22:35:37.539Z] v2.3.0-dev.23 [2022-11-09T22:35:37.539Z] v2.3.0-dev.24 [2022-11-09T22:35:37.539Z] v2.3.0-dev.25 [2022-11-09T22:35:37.539Z] v2.3.0-dev.26 [2022-11-09T22:35:37.539Z] v2.3.0-dev.27 [2022-11-09T22:35:37.539Z] v2.3.0-dev.28 [2022-11-09T22:35:37.539Z] v2.3.0-dev.29 [2022-11-09T22:35:37.539Z] v2.3.0-dev.30 [2022-11-09T22:35:37.539Z] v2.3.0-dev.8 [2022-11-09T22:35:37.539Z] v2.3.0-dev.9 [Pipeline] sh [2022-11-09T22:35:37.829Z] + lftools sign git-tag v2.3.0 [2022-11-09T22:35:38.397Z] Signing Git tag with Sigul... [2022-11-09T22:35:38.398Z] Signing v2.3.0 [Pipeline] echo [2022-11-09T22:35:38.973Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-09T22:35:39.257Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-11-09T22:35:39.264Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-11-09T22:35:39.279Z] $ docker stop --time=1 305ab5317006f8500097dede5672dad0ba0631f135f527f71d7700f3a2c1a905 [2022-11-09T22:35:40.582Z] $ docker rm -f 305ab5317006f8500097dede5672dad0ba0631f135f527f71d7700f3a2c1a905 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-11-09T22:35:40.983Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-09T22:35:40.983Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:35:41.280Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-09T22:35:41.281Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T22:35:41.344Z] prd-ubuntu20.04-docker-8c-8g-118848 does not seem to be running inside a container [2022-11-09T22:35:41.368Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-09T22:35:41.740Z] $ docker top 4bcc4ee1a5ee299a72d520ceeddb99661109c18e163eab2cc88026e6b139f53c -eo pid,comm [2022-11-09T22:35:41.792Z] 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). [2022-11-09T22:35:41.792Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-09T22:35:41.819Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.3.0|v2.3.0-dev.30' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-09T22:35:42.112Z] + git semver [Pipeline] } [2022-11-09T22:35:42.388Z] $ docker stop --time=1 4bcc4ee1a5ee299a72d520ceeddb99661109c18e163eab2cc88026e6b139f53c [2022-11-09T22:35:43.662Z] $ docker rm -f 4bcc4ee1a5ee299a72d520ceeddb99661109c18e163eab2cc88026e6b139f53c [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-09T22:35:44.008Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-09T22:35:44.008Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:35:44.314Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-09T22:35:44.314Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T22:35:44.384Z] prd-ubuntu20.04-docker-8c-8g-118848 does not seem to be running inside a container [2022-11-09T22:35:44.412Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-09T22:35:44.740Z] $ docker top 5552dc1f2e7168ddbe74fde3d604d9223fdc7e7000294bd2849036c11a69c75c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-09T22:35:44.822Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.3.0|v2.3.0-dev.30' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-09T22:35:45.115Z] + git semver [Pipeline] } [2022-11-09T22:35:45.386Z] $ docker stop --time=1 5552dc1f2e7168ddbe74fde3d604d9223fdc7e7000294bd2849036c11a69c75c [2022-11-09T22:35:46.686Z] $ docker rm -f 5552dc1f2e7168ddbe74fde3d604d9223fdc7e7000294bd2849036c11a69c75c [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 [2022-11-09T22:35:47.252Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2022-11-09T22:35:47.252Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-11-09T22:35:47.252Z] total 16 [2022-11-09T22:35:47.252Z] drwxr-xr-x 3 root root 4096 Nov 9 22:27 . [2022-11-09T22:35:47.252Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 22:35 .. [2022-11-09T22:35:47.252Z] drwxr-xr-x 2 root root 4096 Nov 9 22:27 cost [2022-11-09T22:35:47.252Z] -rw-r--r-- 1 root root 88 Nov 9 22:27 cost.csv [2022-11-09T22:35:47.252Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2022-11-09T22:35:47.252Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-11-09T22:35:47.252Z] total 16 [2022-11-09T22:35:47.252Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 22:27 . [2022-11-09T22:35:47.252Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 22:35 .. [2022-11-09T22:35:47.252Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 9 22:27 cost [2022-11-09T22:35:47.252Z] -rw-r--r-- 1 jenkins jenkins 88 Nov 9 22:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-09T22:35:47.537Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-09T22:35:48.388Z] ---> package-listing.sh [2022-11-09T22:35:48.388Z] ++ facter osfamily [2022-11-09T22:35:48.388Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-09T22:35:48.646Z] + OS_FAMILY=debian [2022-11-09T22:35:48.646Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2022-11-09T22:35:48.646Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-09T22:35:48.646Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-09T22:35:48.646Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-09T22:35:48.646Z] + PACKAGES=/tmp/packages_start.txt [2022-11-09T22:35:48.646Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-11-09T22:35:48.646Z] + PACKAGES=/tmp/packages_end.txt [2022-11-09T22:35:48.646Z] + case "${OS_FAMILY}" in [2022-11-09T22:35:48.646Z] + dpkg -l [2022-11-09T22:35:48.646Z] + grep '^ii' [2022-11-09T22:35:48.646Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-09T22:35:48.646Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-09T22:35:48.646Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-09T22:35:48.646Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-11-09T22:35:48.646Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2022-11-09T22:35:48.646Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo [2022-11-09T22:35:48.656Z] 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 [2022-11-09T22:35:48.939Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T22:35:49.494Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-09T22:35:49.495Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T22:35:49.561Z] prd-ubuntu20.04-docker-8c-8g-118848 does not seem to be running inside a container [2022-11-09T22:35:49.584Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-09T22:35:49.790Z] $ docker top cb94af4c91b816cba794a894effb1b24916d61fe01f712abfcc7e3253af31f6f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-09T22:35:50.122Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-09T22:35:50.403Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-09T22:35:50.682Z] + ls /var/log/sa-host [2022-11-09T22:35:50.682Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-09T22:35:50.818Z] provisioning config files... [2022-11-09T22:35:50.827Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13132082015272025240tmp [Pipeline] { [Pipeline] echo [2022-11-09T22:35:50.837Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-09T22:35:51.112Z] ---> create-netrc.sh [Pipeline] } [2022-11-09T22:35:51.118Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-09T22:35:51.439Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-09T22:35:51.445Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-09T22:35:51.723Z] ---> sudo-logs.sh [2022-11-09T22:35:51.723Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-09T22:35:51.754Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-09T22:35:52.033Z] ---> job-cost.sh [2022-11-09T22:35:52.033Z] lf-activate-venv: SKIPPING [2022-11-09T22:35:52.033Z] DEBUG: total: 0.2199999988079071 [2022-11-09T22:35:52.033Z] INFO: Retrieving Stack Cost... [2022-11-09T22:35:52.293Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-09T22:35:52.860Z] INFO: Archiving Costs [Pipeline] echo [2022-11-09T22:35:52.870Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-09T22:35:53.151Z] ---> logs-deploy.sh [2022-11-09T22:35:53.151Z] lf-activate-venv: SKIPPING [2022-11-09T22:35:53.152Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/71 [2022-11-09T22:35:53.152Z] INFO: archiving workspace using pattern(s): [2022-11-09T22:35:54.088Z] Archives upload complete. [2022-11-09T22:35:54.352Z] INFO: archiving logs to Nexus