Pull request #339 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 091ab2d3bb7f0aaedbe9b4865c4d152eb69feffd+36cfc47f60822cf39bc0d17e26bed27cbab57cb6 (38e3167ae3ed62ff2be7583e85e31151accf24a5) 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-ssh5598337543560318049.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1155280111391733069.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-339/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/PR-339/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17220662338430434187.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7354163495442441713.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-339/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/PR-339/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11161792352405125858.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6121’ Running on prd-ubuntu20.04-docker-8c-8g-6123 in /w/workspace/foundry_device-virtual-go_PR-339 [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/foundry_device-virtual-go_PR-339 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/339/head:refs/remotes/origin/PR-339 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 into PR head commit 091ab2d3bb7f0aaedbe9b4865c4d152eb69feffd Merge succeeded, producing 091ab2d3bb7f0aaedbe9b4865c4d152eb69feffd Checking out Revision 091ab2d3bb7f0aaedbe9b4865c4d152eb69feffd (PR-339) > git config core.sparsecheckout # timeout=10 > git checkout -f 091ab2d3bb7f0aaedbe9b4865c4d152eb69feffd # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 091ab2d3bb7f0aaedbe9b4865c4d152eb69feffd # timeout=10 Commit message: "fix: update go.sum" > git rev-list --no-walk fc42b966f0474ad9fbc2e6a19fb51b9228138983 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-15T15:18:03.136Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-15T15:18:03.175Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-15T15:18:03.188Z] ========================================================= [2023-02-15T15:18:03.188Z] EdgeX Global Pipelines Version Info [2023-02-15T15:18:03.188Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-15T15:18:03.897Z] ------------------- [2023-02-15T15:18:03.897Z] stable info: [2023-02-15T15:18:03.897Z] ------------------- [2023-02-15T15:18:03.897Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-15T15:18:03.897Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T15:18:03.897Z] Message: update stable to v1.0.244 [2023-02-15T15:18:04.467Z] ------------------- [2023-02-15T15:18:04.467Z] experimental info: [2023-02-15T15:18:04.467Z] ------------------- [2023-02-15T15:18:04.467Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-15T15:18:04.467Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T15:18:04.467Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-15T15:18:04.617Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-02-15T15:18:04.626Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-02-15T15:18:04.635Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-15T15:18:04.644Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-15T15:18:04.653Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-15T15:18:04.661Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-15T15:18:04.670Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-15T15:18:04.678Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-15T15:18:04.686Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-15T15:18:04.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-15T15:18:04.703Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-15T15:18:04.712Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-02-15T15:18:04.727Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-15T15:18:04.737Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-15T15:18:04.752Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T15:18:04.766Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T15:18:04.776Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T15:18:04.788Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T15:18:04.803Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-15T15:18:04.819Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-15T15:18:04.835Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-15T15:18:04.850Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-15T15:18:04.862Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-15T15:18:04.874Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-15T15:18:04.889Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-15T15:18:04.905Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-15T15:18:04.922Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-15T15:18:04.939Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-339 [Pipeline] echo [2023-02-15T15:18:04.956Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-339 [Pipeline] echo [2023-02-15T15:18:04.965Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-339 [Pipeline] echo [2023-02-15T15:18:04.976Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 091ab2d3bb7f0aaedbe9b4865c4d152eb69feffd [Pipeline] echo [2023-02-15T15:18:04.988Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 091ab2d [Pipeline] echo [2023-02-15T15:18:05.000Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T15:18:05.043Z] provisioning config files... [2023-02-15T15:18:05.057Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-339@tmp/config4246255507002535028tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T15:18:05.356Z] ---> docker-login.sh [2023-02-15T15:18:05.356Z] nexus3.edgexfoundry.org:10001 [2023-02-15T15:18:05.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T15:18:05.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T15:18:05.617Z] Configure a credential helper to remove this warning. See [2023-02-15T15:18:05.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T15:18:05.617Z] [2023-02-15T15:18:05.617Z] Login Succeeded [2023-02-15T15:18:05.617Z] nexus3.edgexfoundry.org:10002 [2023-02-15T15:18:05.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T15:18:05.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T15:18:05.878Z] Configure a credential helper to remove this warning. See [2023-02-15T15:18:05.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T15:18:05.878Z] [2023-02-15T15:18:05.878Z] Login Succeeded [2023-02-15T15:18:05.878Z] nexus3.edgexfoundry.org:10003 [2023-02-15T15:18:05.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T15:18:05.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T15:18:05.878Z] Configure a credential helper to remove this warning. See [2023-02-15T15:18:05.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T15:18:05.878Z] [2023-02-15T15:18:05.878Z] Login Succeeded [2023-02-15T15:18:05.878Z] nexus3.edgexfoundry.org:10004 [2023-02-15T15:18:06.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T15:18:06.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T15:18:06.140Z] Configure a credential helper to remove this warning. See [2023-02-15T15:18:06.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T15:18:06.140Z] [2023-02-15T15:18:06.140Z] Login Succeeded [2023-02-15T15:18:06.140Z] docker.io [2023-02-15T15:18:06.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T15:18:06.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T15:18:06.401Z] Configure a credential helper to remove this warning. See [2023-02-15T15:18:06.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T15:18:06.401Z] [2023-02-15T15:18:06.401Z] Login Succeeded [2023-02-15T15:18:06.401Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T15:18:06.415Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-15T15:18:06.784Z] + git rev-list -1 --merges 091ab2d3bb7f0aaedbe9b4865c4d152eb69feffd~1..091ab2d3bb7f0aaedbe9b4865c4d152eb69feffd [Pipeline] echo [2023-02-15T15:18:06.835Z] -----------> git rev-list -1 --merges 091ab2d3bb7f0aaedbe9b4865c4d152eb69feffd~1..091ab2d3bb7f0aaedbe9b4865c4d152eb69feffd 091ab2d3bb7f0aaedbe9b4865c4d152eb69feffd [false] [Pipeline] sh [2023-02-15T15:18:07.125Z] + git log --format=format:%s -1 091ab2d3bb7f0aaedbe9b4865c4d152eb69feffd [Pipeline] echo [2023-02-15T15:18:07.140Z] ========================================================= [2023-02-15T15:18:07.140Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-15T15:18:07.140Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T15:18:07.476Z] + git log --format=format:%s -1 091ab2d3bb7f0aaedbe9b4865c4d152eb69feffd [Pipeline] echo [2023-02-15T15:18:07.489Z] [semverPrep] GIT_COMMIT: 091ab2d3bb7f0aaedbe9b4865c4d152eb69feffd, Commit Message: fix: update go.sum [Pipeline] echo [2023-02-15T15:18:07.500Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-15T15:18:07.845Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T15:18:07.845Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-15T15:18:07.845Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-15T15:18:07.845Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-15T15:18:07.845Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-15T15:18:07.845Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-15T15:18:07.845Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T15:18:08.191Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T15:18:08.191Z] [2023-02-15T15:18:08.191Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T15:18:08.500Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T15:18:08.500Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-15T15:18:08.500Z] b85a868b505f: Pulling fs layer [2023-02-15T15:18:08.500Z] e2be974225ed: Pulling fs layer [2023-02-15T15:18:08.500Z] 339a4e72a1f5: Pulling fs layer [2023-02-15T15:18:08.500Z] 988bab9f4d93: Pulling fs layer [2023-02-15T15:18:08.500Z] 1469e6f7b9e6: Pulling fs layer [2023-02-15T15:18:08.500Z] eaf3925da568: Pulling fs layer [2023-02-15T15:18:08.500Z] bab4dde63d76: Pulling fs layer [2023-02-15T15:18:08.500Z] bde34c3a00c8: Pulling fs layer [2023-02-15T15:18:08.500Z] b352a97aabf1: Pulling fs layer [2023-02-15T15:18:08.500Z] 4872d77fe225: Pulling fs layer [2023-02-15T15:18:08.500Z] 5851b861e8e6: Pulling fs layer [2023-02-15T15:18:08.500Z] b352a97aabf1: Waiting [2023-02-15T15:18:08.500Z] bde34c3a00c8: Waiting [2023-02-15T15:18:08.500Z] 988bab9f4d93: Waiting [2023-02-15T15:18:08.500Z] eaf3925da568: Waiting [2023-02-15T15:18:08.500Z] 4872d77fe225: Waiting [2023-02-15T15:18:08.500Z] bab4dde63d76: Waiting [2023-02-15T15:18:08.500Z] 5851b861e8e6: Waiting [2023-02-15T15:18:08.500Z] 1469e6f7b9e6: Waiting [2023-02-15T15:18:08.500Z] e2be974225ed: Verifying Checksum [2023-02-15T15:18:08.500Z] e2be974225ed: Download complete [2023-02-15T15:18:08.500Z] 988bab9f4d93: Download complete [2023-02-15T15:18:08.771Z] 1469e6f7b9e6: Verifying Checksum [2023-02-15T15:18:08.771Z] 1469e6f7b9e6: Download complete [2023-02-15T15:18:08.771Z] eaf3925da568: Verifying Checksum [2023-02-15T15:18:08.771Z] eaf3925da568: Download complete [2023-02-15T15:18:08.771Z] 339a4e72a1f5: Verifying Checksum [2023-02-15T15:18:08.771Z] 339a4e72a1f5: Download complete [2023-02-15T15:18:08.771Z] bde34c3a00c8: Download complete [2023-02-15T15:18:09.035Z] b352a97aabf1: Download complete [2023-02-15T15:18:09.035Z] 4872d77fe225: Verifying Checksum [2023-02-15T15:18:09.035Z] 4872d77fe225: Download complete [2023-02-15T15:18:09.035Z] b85a868b505f: Verifying Checksum [2023-02-15T15:18:09.035Z] b85a868b505f: Download complete [2023-02-15T15:18:09.035Z] 5851b861e8e6: Download complete [2023-02-15T15:18:09.294Z] bab4dde63d76: Verifying Checksum [2023-02-15T15:18:09.294Z] bab4dde63d76: Download complete [2023-02-15T15:18:10.232Z] b85a868b505f: Pull complete [2023-02-15T15:18:10.491Z] e2be974225ed: Pull complete [2023-02-15T15:18:11.061Z] 339a4e72a1f5: Pull complete [2023-02-15T15:18:11.061Z] 988bab9f4d93: Pull complete [2023-02-15T15:18:11.321Z] 1469e6f7b9e6: Pull complete [2023-02-15T15:18:11.321Z] eaf3925da568: Pull complete [2023-02-15T15:18:13.231Z] bab4dde63d76: Pull complete [2023-02-15T15:18:13.231Z] bde34c3a00c8: Pull complete [2023-02-15T15:18:13.490Z] b352a97aabf1: Pull complete [2023-02-15T15:18:13.490Z] 4872d77fe225: Pull complete [2023-02-15T15:18:13.750Z] 5851b861e8e6: Pull complete [2023-02-15T15:18:13.750Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-15T15:18:13.750Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T15:18:13.750Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T15:18:13.884Z] prd-ubuntu20.04-docker-8c-8g-6123 does not seem to be running inside a container [2023-02-15T15:18:13.913Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-339 -v /w/workspace/foundry_device-virtual-go_PR-339:/w/workspace/foundry_device-virtual-go_PR-339:rw,z -v /w/workspace/foundry_device-virtual-go_PR-339@tmp:/w/workspace/foundry_device-virtual-go_PR-339@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-15T15:18:15.288Z] $ docker top a3ddb3a22522c2ce25742df5fded9f3838c69b7968ccd27fa5f267ca3fcdccc1 -eo pid,comm [2023-02-15T15:18:15.349Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-15T15:18:15.349Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T15:18:15.500Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T15:18:15.500Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T15:18:15.624Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T15:18:15.626Z] $ docker exec a3ddb3a22522c2ce25742df5fded9f3838c69b7968ccd27fa5f267ca3fcdccc1 ssh-agent [2023-02-15T15:18:15.745Z] SSH_AUTH_SOCK=/tmp/ssh-TP482H03zmVT/agent.33 [2023-02-15T15:18:15.745Z] SSH_AGENT_PID=39 [2023-02-15T15:18:15.753Z] Running ssh-add (command line suppressed) [2023-02-15T15:18:15.858Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-339@tmp/private_key_12121160618196919404.key (/w/workspace/foundry_device-virtual-go_PR-339@tmp/private_key_12121160618196919404.key) [2023-02-15T15:18:15.873Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T15:18:16.165Z] + git tag --points-at HEAD [Pipeline] } [2023-02-15T15:18:16.176Z] $ docker exec --env ******** --env ******** a3ddb3a22522c2ce25742df5fded9f3838c69b7968ccd27fa5f267ca3fcdccc1 ssh-agent -k [2023-02-15T15:18:16.300Z] unset SSH_AUTH_SOCK; [2023-02-15T15:18:16.300Z] unset SSH_AGENT_PID; [2023-02-15T15:18:16.301Z] echo Agent pid 39 killed; [2023-02-15T15:18:16.313Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-15T15:18:16.340Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T15:18:16.340Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T15:18:16.464Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T15:18:16.466Z] $ docker exec a3ddb3a22522c2ce25742df5fded9f3838c69b7968ccd27fa5f267ca3fcdccc1 ssh-agent [2023-02-15T15:18:16.583Z] SSH_AUTH_SOCK=/tmp/ssh-YjBBeehiiQXk/agent.71 [2023-02-15T15:18:16.583Z] SSH_AGENT_PID=77 [2023-02-15T15:18:16.588Z] Running ssh-add (command line suppressed) [2023-02-15T15:18:16.688Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-339@tmp/private_key_8381744734392541496.key (/w/workspace/foundry_device-virtual-go_PR-339@tmp/private_key_8381744734392541496.key) [2023-02-15T15:18:16.704Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T15:18:16.995Z] + git semver init [2023-02-15T15:18:17.256Z] 2023-02-15 15:18:17,180 [run_init] DEBUG init version:0.0.0 force:False [2023-02-15T15:18:17.256Z] 2023-02-15 15:18:17,181 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-339/.semver [2023-02-15T15:18:17.256Z] 2023-02-15 15:18:17,182 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-339/.semver [2023-02-15T15:18:17.257Z] 2023-02-15 15:18:17,182 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-339/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-339, universal_newlines=False, shell=None, istream=None) [2023-02-15T15:18:18.657Z] 2023-02-15 15:18:18,399 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-339/.git/info/exclude [2023-02-15T15:18:18.657Z] 2023-02-15 15:18:18,399 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-339/.semver/PR-339 with force:False [2023-02-15T15:18:18.657Z] 2023-02-15 15:18:18,400 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-339/.semver/PR-339 [2023-02-15T15:18:18.657Z] 2023-02-15 15:18:18,403 [execute] INFO git cat-file --batch-check [2023-02-15T15:18:18.657Z] 2023-02-15 15:18:18,404 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-339/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T15:18:18.657Z] 2023-02-15 15:18:18,410 [execute] INFO git cat-file --batch [2023-02-15T15:18:18.657Z] 2023-02-15 15:18:18,410 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-339/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T15:18:18.657Z] 2023-02-15 15:18:18,416 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-339/.semver/PR-339 [2023-02-15T15:18:18.657Z] 0.0.0 [Pipeline] } [2023-02-15T15:18:18.666Z] $ docker exec --env ******** --env ******** a3ddb3a22522c2ce25742df5fded9f3838c69b7968ccd27fa5f267ca3fcdccc1 ssh-agent -k [2023-02-15T15:18:18.759Z] unset SSH_AUTH_SOCK; [2023-02-15T15:18:18.759Z] unset SSH_AGENT_PID; [2023-02-15T15:18:18.759Z] echo Agent pid 77 killed; [2023-02-15T15:18:18.770Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T15:18:19.076Z] + git semver [Pipeline] } [2023-02-15T15:18:19.348Z] $ docker stop --time=1 a3ddb3a22522c2ce25742df5fded9f3838c69b7968ccd27fa5f267ca3fcdccc1 [2023-02-15T15:18:20.974Z] $ docker rm -f --volumes a3ddb3a22522c2ce25742df5fded9f3838c69b7968ccd27fa5f267ca3fcdccc1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T15:18:21.321Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-15T15:18:21.538Z] Stashed 1 file(s) [Pipeline] echo [2023-02-15T15:18:21.542Z] [edgeXSemver]: initialized semver on version 0.0.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] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T15:18:21.679Z] provisioning config files... [2023-02-15T15:18:21.688Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-339@tmp/config697203262827689124tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T15:18:21.984Z] ---> docker-login.sh [2023-02-15T15:18:21.984Z] nexus3.edgexfoundry.org:10001 [2023-02-15T15:18:21.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T15:18:21.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T15:18:21.984Z] Configure a credential helper to remove this warning. See [2023-02-15T15:18:21.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T15:18:21.984Z] [2023-02-15T15:18:21.984Z] Login Succeeded [2023-02-15T15:18:21.984Z] nexus3.edgexfoundry.org:10002 [2023-02-15T15:18:21.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T15:18:21.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T15:18:21.984Z] Configure a credential helper to remove this warning. See [2023-02-15T15:18:21.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T15:18:21.984Z] [2023-02-15T15:18:21.984Z] Login Succeeded [2023-02-15T15:18:22.242Z] nexus3.edgexfoundry.org:10003 [2023-02-15T15:18:22.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T15:18:22.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T15:18:22.243Z] Configure a credential helper to remove this warning. See [2023-02-15T15:18:22.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T15:18:22.243Z] [2023-02-15T15:18:22.243Z] Login Succeeded [2023-02-15T15:18:22.243Z] nexus3.edgexfoundry.org:10004 [2023-02-15T15:18:22.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T15:18:22.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T15:18:22.509Z] Configure a credential helper to remove this warning. See [2023-02-15T15:18:22.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T15:18:22.509Z] [2023-02-15T15:18:22.509Z] Login Succeeded [2023-02-15T15:18:22.509Z] docker.io [2023-02-15T15:18:22.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T15:18:22.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T15:18:22.769Z] Configure a credential helper to remove this warning. See [2023-02-15T15:18:22.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T15:18:22.769Z] [2023-02-15T15:18:22.769Z] Login Succeeded [2023-02-15T15:18:22.769Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T15:18:22.777Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T15:18:22.843Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T15:18:22.853Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T15:18:22.859Z] ========================================================= [2023-02-15T15:18:22.859Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-15T15:18:22.859Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T15:18:23.162Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T15:18:23.162Z] Sending build context to Docker daemon 23.44MB [2023-02-15T15:18:23.162Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T15:18:23.162Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-15T15:18:23.425Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-15T15:18:23.425Z] 213ec9aee27d: Pulling fs layer [2023-02-15T15:18:23.425Z] 4583459ba037: Pulling fs layer [2023-02-15T15:18:23.425Z] 93c1e223e6f2: Pulling fs layer [2023-02-15T15:18:23.425Z] 53926ce57604: Pulling fs layer [2023-02-15T15:18:23.425Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-15T15:18:23.425Z] 22ff95d597cd: Pulling fs layer [2023-02-15T15:18:23.425Z] 12d6caf4c0d1: Pulling fs layer [2023-02-15T15:18:23.425Z] 53926ce57604: Waiting [2023-02-15T15:18:23.425Z] 21b2b0c7a3f4: Waiting [2023-02-15T15:18:23.425Z] 22ff95d597cd: Waiting [2023-02-15T15:18:23.425Z] 96b7cbca73a9: Pulling fs layer [2023-02-15T15:18:23.425Z] a7acece74701: Pulling fs layer [2023-02-15T15:18:23.425Z] 12d6caf4c0d1: Waiting [2023-02-15T15:18:23.425Z] 96b7cbca73a9: Waiting [2023-02-15T15:18:23.425Z] a7acece74701: Waiting [2023-02-15T15:18:23.425Z] 93c1e223e6f2: Download complete [2023-02-15T15:18:23.425Z] 4583459ba037: Verifying Checksum [2023-02-15T15:18:23.425Z] 4583459ba037: Download complete [2023-02-15T15:18:23.425Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-15T15:18:23.425Z] 21b2b0c7a3f4: Download complete [2023-02-15T15:18:23.425Z] 22ff95d597cd: Verifying Checksum [2023-02-15T15:18:23.425Z] 22ff95d597cd: Download complete [2023-02-15T15:18:23.425Z] 213ec9aee27d: Verifying Checksum [2023-02-15T15:18:23.425Z] 213ec9aee27d: Download complete [2023-02-15T15:18:23.425Z] 12d6caf4c0d1: Verifying Checksum [2023-02-15T15:18:23.425Z] 12d6caf4c0d1: Download complete [2023-02-15T15:18:23.699Z] 213ec9aee27d: Pull complete [2023-02-15T15:18:23.699Z] 4583459ba037: Pull complete [2023-02-15T15:18:23.981Z] 93c1e223e6f2: Pull complete [2023-02-15T15:18:25.010Z] a7acece74701: Verifying Checksum [2023-02-15T15:18:25.010Z] a7acece74701: Download complete [2023-02-15T15:18:25.274Z] 53926ce57604: Verifying Checksum [2023-02-15T15:18:25.274Z] 53926ce57604: Download complete [2023-02-15T15:18:25.274Z] 96b7cbca73a9: Verifying Checksum [2023-02-15T15:18:25.274Z] 96b7cbca73a9: Download complete [2023-02-15T15:18:29.456Z] 53926ce57604: Pull complete [2023-02-15T15:18:29.456Z] 21b2b0c7a3f4: Pull complete [2023-02-15T15:18:29.456Z] 22ff95d597cd: Pull complete [2023-02-15T15:18:29.456Z] 12d6caf4c0d1: Pull complete [2023-02-15T15:18:31.359Z] 96b7cbca73a9: Pull complete [2023-02-15T15:18:32.297Z] a7acece74701: Pull complete [2023-02-15T15:18:32.297Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-15T15:18:32.297Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-15T15:18:32.297Z] ---> db6d94c90886 [2023-02-15T15:18:32.297Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T15:18:34.214Z] ---> Running in a2823687b766 [2023-02-15T15:18:34.214Z] Removing intermediate container a2823687b766 [2023-02-15T15:18:34.214Z] ---> 86f0f05d81bd [2023-02-15T15:18:34.214Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T15:18:34.488Z] ---> Running in d869fb007e97 [2023-02-15T15:18:34.488Z] Removing intermediate container d869fb007e97 [2023-02-15T15:18:34.488Z] ---> b88057c83faa [2023-02-15T15:18:34.488Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-15T15:18:34.488Z] ---> Running in 86d74b36690d [2023-02-15T15:18:34.748Z] Removing intermediate container 86d74b36690d [2023-02-15T15:18:34.748Z] ---> 350889235bd2 [2023-02-15T15:18:34.748Z] Step 6/12 : WORKDIR /device-virtual-go [2023-02-15T15:18:34.748Z] ---> Running in f194a198b6f2 [2023-02-15T15:18:34.748Z] Removing intermediate container f194a198b6f2 [2023-02-15T15:18:34.748Z] ---> 81f70922fe72 [2023-02-15T15:18:34.748Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T15:18:34.748Z] ---> Running in d904a77c2232 [2023-02-15T15:18:35.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T15:18:35.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T15:18:35.577Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T15:18:35.577Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-15T15:18:35.577Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T15:18:35.836Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T15:18:35.836Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T15:18:35.836Z] OK: 216 MiB in 55 packages [2023-02-15T15:18:36.095Z] Removing intermediate container d904a77c2232 [2023-02-15T15:18:36.095Z] ---> 70fd522f0cd8 [2023-02-15T15:18:36.095Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-15T15:18:36.353Z] ---> e9733d4c457e [2023-02-15T15:18:36.353Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T15:18:36.353Z] ---> Running in ff59f9a8a5a9 [2023-02-15T15:18:36.641Z] Still waiting to schedule task [2023-02-15T15:18:36.642Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6122’ [2023-02-15T15:19:08.446Z] Removing intermediate container ff59f9a8a5a9 [2023-02-15T15:19:08.446Z] ---> 6f0227cbc624 [2023-02-15T15:19:08.446Z] Step 10/12 : COPY . . [2023-02-15T15:19:08.446Z] ---> 655481ca6a04 [2023-02-15T15:19:08.446Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T15:19:08.446Z] ---> Running in 1e3eccc5d1a8 [2023-02-15T15:19:08.446Z] Removing intermediate container 1e3eccc5d1a8 [2023-02-15T15:19:08.446Z] ---> 747dc39a1652 [2023-02-15T15:19:08.446Z] Step 12/12 : RUN $MAKE [2023-02-15T15:19:08.446Z] ---> Running in 6f9914eabe2b [2023-02-15T15:19:08.446Z] noop [2023-02-15T15:19:08.446Z] Removing intermediate container 6f9914eabe2b [2023-02-15T15:19:08.446Z] ---> 3ebf117864e3 [2023-02-15T15:19:08.446Z] Successfully built 3ebf117864e3 [2023-02-15T15:19:08.446Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T15:19:08.752Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T15:19:08.752Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T15:19:08.824Z] prd-ubuntu20.04-docker-8c-8g-6123 does not seem to be running inside a container [2023-02-15T15:19:08.851Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-339 -v /w/workspace/foundry_device-virtual-go_PR-339:/w/workspace/foundry_device-virtual-go_PR-339:rw,z -v /w/workspace/foundry_device-virtual-go_PR-339@tmp:/w/workspace/foundry_device-virtual-go_PR-339@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-15T15:19:09.240Z] $ docker top 422983b3fdd0f31491c930763d16df5066a1bbfbf10a8cbf5c20db437f059ed2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T15:19:09.582Z] + go version [2023-02-15T15:19:09.582Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-15T15:19:09.591Z] $ docker stop --time=1 422983b3fdd0f31491c930763d16df5066a1bbfbf10a8cbf5c20db437f059ed2 [2023-02-15T15:19:10.882Z] $ docker rm -f --volumes 422983b3fdd0f31491c930763d16df5066a1bbfbf10a8cbf5c20db437f059ed2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T15:19:11.291Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T15:19:11.291Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T15:19:11.361Z] prd-ubuntu20.04-docker-8c-8g-6123 does not seem to be running inside a container [2023-02-15T15:19:11.391Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-339 -v /w/workspace/foundry_device-virtual-go_PR-339:/w/workspace/foundry_device-virtual-go_PR-339:rw,z -v /w/workspace/foundry_device-virtual-go_PR-339@tmp:/w/workspace/foundry_device-virtual-go_PR-339@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-15T15:19:11.773Z] $ docker top f0d10d8af036e2adb44c11ee33cc6fa0cd79a441fb1d76d05586acacfea544d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T15:19:12.122Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-339 [Pipeline] fileExists [Pipeline] sh [2023-02-15T15:19:12.418Z] + make test [2023-02-15T15:19:12.418Z] go test ./... -coverprofile=coverage.out [2023-02-15T15:19:12.676Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-02-15T15:19:22.662Z] # github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers [2023-02-15T15:19:22.662Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:113:19: assignment mismatch: 2 variables but clientsMessaging.NewCommandClient returns 1 value [2023-02-15T15:19:22.662Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:113:68: cannot use serviceInfo.Topics (variable of type map[string]string) as type string in argument to clientsMessaging.NewCommandClient [2023-02-15T15:19:22.662Z] FAIL github.com/edgexfoundry/device-virtual-go/internal/driver [build failed] [2023-02-15T15:19:22.662Z] make: *** [Makefile:30: unittest] Error 2 [Pipeline] } [2023-02-15T15:19:22.674Z] $ docker stop --time=1 f0d10d8af036e2adb44c11ee33cc6fa0cd79a441fb1d76d05586acacfea544d3 [2023-02-15T15:19:24.377Z] $ docker rm -f --volumes f0d10d8af036e2adb44c11ee33cc6fa0cd79a441fb1d76d05586acacfea544d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T15:19:24.916Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T15:19:24.916Z] [2023-02-15T15:19:24.916Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T15:19:25.227Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T15:19:25.227Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-15T15:19:25.227Z] 5eb5b503b376: Pulling fs layer [2023-02-15T15:19:25.227Z] 5c69ac0246d0: Pulling fs layer [2023-02-15T15:19:25.227Z] ec43610c2a17: Pulling fs layer [2023-02-15T15:19:25.227Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-15T15:19:25.227Z] 33b1e0a273af: Pulling fs layer [2023-02-15T15:19:25.227Z] 5d3b04190fa2: Pulling fs layer [2023-02-15T15:19:25.227Z] 2f39f015ded8: Pulling fs layer [2023-02-15T15:19:25.227Z] 3a2ae6a8a46f: Waiting [2023-02-15T15:19:25.227Z] 33b1e0a273af: Waiting [2023-02-15T15:19:25.227Z] 2f39f015ded8: Waiting [2023-02-15T15:19:25.227Z] 5d3b04190fa2: Waiting [2023-02-15T15:19:25.227Z] 5c69ac0246d0: Verifying Checksum [2023-02-15T15:19:25.227Z] 5c69ac0246d0: Download complete [2023-02-15T15:19:25.227Z] 3a2ae6a8a46f: Download complete [2023-02-15T15:19:25.490Z] 33b1e0a273af: Verifying Checksum [2023-02-15T15:19:25.490Z] 33b1e0a273af: Download complete [2023-02-15T15:19:25.490Z] 5d3b04190fa2: Verifying Checksum [2023-02-15T15:19:25.490Z] 5d3b04190fa2: Download complete [2023-02-15T15:19:25.490Z] ec43610c2a17: Verifying Checksum [2023-02-15T15:19:25.490Z] ec43610c2a17: Download complete [2023-02-15T15:19:25.750Z] 5eb5b503b376: Verifying Checksum [2023-02-15T15:19:25.750Z] 5eb5b503b376: Download complete [2023-02-15T15:19:26.317Z] 2f39f015ded8: Download complete [2023-02-15T15:19:26.884Z] 5eb5b503b376: Pull complete [2023-02-15T15:19:27.143Z] 5c69ac0246d0: Pull complete [2023-02-15T15:19:27.710Z] ec43610c2a17: Pull complete [2023-02-15T15:19:27.710Z] 3a2ae6a8a46f: Pull complete [2023-02-15T15:19:27.970Z] 33b1e0a273af: Pull complete [2023-02-15T15:19:27.970Z] 5d3b04190fa2: Pull complete [2023-02-15T15:19:32.151Z] 2f39f015ded8: Pull complete [2023-02-15T15:19:32.151Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-15T15:19:32.152Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T15:19:32.152Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T15:19:32.235Z] prd-ubuntu20.04-docker-8c-8g-6123 does not seem to be running inside a container [2023-02-15T15:19:32.260Z] $ 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/foundry_device-virtual-go_PR-339 -v /w/workspace/foundry_device-virtual-go_PR-339:/w/workspace/foundry_device-virtual-go_PR-339:rw,z -v /w/workspace/foundry_device-virtual-go_PR-339@tmp:/w/workspace/foundry_device-virtual-go_PR-339@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T15:19:34.003Z] $ docker top 900535fa94fea28380eb890e523135ce5c4e3c55f4613fc076196b3bde12ded3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T15:19:34.413Z] ---> job-cost.sh [2023-02-15T15:19:34.413Z] lf-activate-venv: SKIPPING [2023-02-15T15:19:34.413Z] INFO: No Stack... [2023-02-15T15:19:34.672Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T15:19:35.240Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T15:19:35.530Z] + cat /w/workspace/foundry_device-virtual-go_PR-339/archives/cost.csv [2023-02-15T15:19:35.530Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T15:19:35.544Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-339-6-stack-cost] [2023-02-15T15:19:35.553Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-339-6-stack-cost] did not exist. Created. [2023-02-15T15:19:35.553Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-339-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T15:19:35.859Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-15T15:19:35.897Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T15:19:35.904Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-339-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T15:19:35.917Z] $ docker stop --time=1 900535fa94fea28380eb890e523135ce5c4e3c55f4613fc076196b3bde12ded3 [2023-02-15T15:19:37.096Z] $ docker rm -f --volumes 900535fa94fea28380eb890e523135ce5c4e3c55f4613fc076196b3bde12ded3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T15:19:37.197Z] Failed in branch amd64 [2023-02-15T15:21:17.290Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6125 in /w/workspace/foundry_device-virtual-go_PR-339 [Pipeline] { [Pipeline] ws [2023-02-15T15:21:17.302Z] Running in /w/workspace/device-virtual-go/6 [Pipeline] { [Pipeline] checkout [2023-02-15T15:21:17.336Z] The recommended git tool is: git [2023-02-15T15:21:22.856Z] using credential edgex-jenkins-ssh [2023-02-15T15:21:22.876Z] Cloning the remote Git repository [2023-02-15T15:21:22.924Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-02-15T15:21:23.019Z] > git init /w/workspace/device-virtual-go/6 # timeout=10 [2023-02-15T15:21:23.199Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-02-15T15:21:23.200Z] > git --version # timeout=10 [2023-02-15T15:21:23.223Z] > git --version # 'git version 2.25.1' [2023-02-15T15:21:23.226Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T15:21:23.299Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T15:21:25.435Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-02-15T15:21:25.463Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T15:21:27.178Z] Merging remotes/origin/main commit 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 into PR head commit 091ab2d3bb7f0aaedbe9b4865c4d152eb69feffd [2023-02-15T15:21:27.430Z] Merge succeeded, producing 091ab2d3bb7f0aaedbe9b4865c4d152eb69feffd [2023-02-15T15:21:27.431Z] Checking out Revision 091ab2d3bb7f0aaedbe9b4865c4d152eb69feffd (PR-339) [2023-02-15T15:21:26.447Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-02-15T15:21:26.492Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-02-15T15:21:26.493Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T15:21:26.514Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/339/head:refs/remotes/origin/PR-339 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-15T15:21:27.200Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T15:21:27.224Z] > git checkout -f 091ab2d3bb7f0aaedbe9b4865c4d152eb69feffd # timeout=10 [2023-02-15T15:21:27.320Z] > git remote # timeout=10 [2023-02-15T15:21:27.343Z] > git config --get remote.origin.url # timeout=10 [2023-02-15T15:21:27.360Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T15:21:27.376Z] > git merge 36cfc47f60822cf39bc0d17e26bed27cbab57cb6 # timeout=10 [2023-02-15T15:21:27.408Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-15T15:21:27.440Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T15:21:27.454Z] > git checkout -f 091ab2d3bb7f0aaedbe9b4865c4d152eb69feffd # timeout=10 [2023-02-15T15:21:30.998Z] Commit message: "fix: update go.sum" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T15:21:32.048Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-15T15:21:32.048Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T15:21:32.048Z] Dload Upload Total Spent Left Speed [2023-02-15T15:21:32.049Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 78709 0 --:--:-- --:--:-- --:--:-- 79198 [Pipeline] sh [2023-02-15T15:21:32.888Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-15T15:21:33.251Z] + sudo tee /etc/docker/daemon.new [2023-02-15T15:21:33.251Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-15T15:21:33.251Z] { [2023-02-15T15:21:33.252Z] "registry-mirrors": [ [2023-02-15T15:21:33.252Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-15T15:21:33.252Z] ], [2023-02-15T15:21:33.252Z] "bip": "10.250.0.254/24", [2023-02-15T15:21:33.252Z] "hosts": [ [2023-02-15T15:21:33.252Z] "tcp://0.0.0.0:5555", [2023-02-15T15:21:33.252Z] "unix:///var/run/docker.sock" [2023-02-15T15:21:33.252Z] ], [2023-02-15T15:21:33.252Z] "mtu": 1458, [2023-02-15T15:21:33.252Z] "selinux-enabled": true, [2023-02-15T15:21:33.252Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-15T15:21:33.252Z] } [Pipeline] sh [2023-02-15T15:21:33.585Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-15T15:21:33.921Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T15:21:52.186Z] provisioning config files... [2023-02-15T15:21:52.211Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/6@tmp/config1554763928460601706tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T15:21:52.560Z] ---> docker-login.sh [2023-02-15T15:21:52.560Z] nexus3.edgexfoundry.org:10001 [2023-02-15T15:21:53.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T15:21:53.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T15:21:53.145Z] Configure a credential helper to remove this warning. See [2023-02-15T15:21:53.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T15:21:53.145Z] [2023-02-15T15:21:53.145Z] Login Succeeded [2023-02-15T15:21:53.145Z] nexus3.edgexfoundry.org:10002 [2023-02-15T15:21:53.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T15:21:53.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T15:21:53.413Z] Configure a credential helper to remove this warning. See [2023-02-15T15:21:53.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T15:21:53.413Z] [2023-02-15T15:21:53.413Z] Login Succeeded [2023-02-15T15:21:53.413Z] nexus3.edgexfoundry.org:10003 [2023-02-15T15:21:53.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T15:21:53.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T15:21:53.948Z] Configure a credential helper to remove this warning. See [2023-02-15T15:21:53.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T15:21:53.948Z] [2023-02-15T15:21:53.948Z] Login Succeeded [2023-02-15T15:21:53.948Z] nexus3.edgexfoundry.org:10004 [2023-02-15T15:21:53.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T15:21:54.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T15:21:54.216Z] Configure a credential helper to remove this warning. See [2023-02-15T15:21:54.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T15:21:54.216Z] [2023-02-15T15:21:54.216Z] Login Succeeded [2023-02-15T15:21:54.216Z] docker.io [2023-02-15T15:21:54.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T15:21:54.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T15:21:54.757Z] Configure a credential helper to remove this warning. See [2023-02-15T15:21:54.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T15:21:54.757Z] [2023-02-15T15:21:54.757Z] Login Succeeded [2023-02-15T15:21:54.757Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T15:21:54.772Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T15:21:55.016Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T15:21:55.034Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T15:21:55.048Z] ========================================================= [2023-02-15T15:21:55.048Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-15T15:21:55.048Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T15:21:55.387Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T15:21:55.654Z] Sending build context to Docker daemon 11.9MB [2023-02-15T15:21:55.654Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T15:21:55.654Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-15T15:21:55.936Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-15T15:21:55.936Z] 9b18e9b68314: Pulling fs layer [2023-02-15T15:21:55.936Z] 35d82f9e3411: Pulling fs layer [2023-02-15T15:21:55.936Z] e16973657156: Pulling fs layer [2023-02-15T15:21:55.936Z] fc693d55d65f: Pulling fs layer [2023-02-15T15:21:55.936Z] 7e9fc2657dce: Pulling fs layer [2023-02-15T15:21:55.936Z] dda99020689f: Pulling fs layer [2023-02-15T15:21:55.936Z] db1c61fa0a46: Pulling fs layer [2023-02-15T15:21:55.936Z] 891c053d2c06: Pulling fs layer [2023-02-15T15:21:55.936Z] dda99020689f: Waiting [2023-02-15T15:21:55.936Z] db1c61fa0a46: Waiting [2023-02-15T15:21:55.936Z] 891c053d2c06: Waiting [2023-02-15T15:21:55.936Z] fc693d55d65f: Waiting [2023-02-15T15:21:55.936Z] 7e9fc2657dce: Waiting [2023-02-15T15:21:55.936Z] e16973657156: Download complete [2023-02-15T15:21:55.936Z] 35d82f9e3411: Download complete [2023-02-15T15:21:55.936Z] 7e9fc2657dce: Verifying Checksum [2023-02-15T15:21:55.936Z] 7e9fc2657dce: Download complete [2023-02-15T15:21:55.936Z] dda99020689f: Download complete [2023-02-15T15:21:55.936Z] 9b18e9b68314: Verifying Checksum [2023-02-15T15:21:56.912Z] 9b18e9b68314: Pull complete [2023-02-15T15:21:57.188Z] 891c053d2c06: Verifying Checksum [2023-02-15T15:21:57.188Z] 891c053d2c06: Download complete [2023-02-15T15:21:57.459Z] 35d82f9e3411: Pull complete [2023-02-15T15:21:57.729Z] e16973657156: Pull complete [2023-02-15T15:21:58.315Z] db1c61fa0a46: Verifying Checksum [2023-02-15T15:21:58.315Z] db1c61fa0a46: Download complete [2023-02-15T15:21:58.899Z] fc693d55d65f: Verifying Checksum [2023-02-15T15:21:58.899Z] fc693d55d65f: Download complete [2023-02-15T15:22:11.214Z] fc693d55d65f: Pull complete [2023-02-15T15:22:11.214Z] 7e9fc2657dce: Pull complete [2023-02-15T15:22:11.214Z] dda99020689f: Pull complete [2023-02-15T15:22:16.558Z] db1c61fa0a46: Pull complete [2023-02-15T15:22:17.519Z] 891c053d2c06: Pull complete [2023-02-15T15:22:17.788Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-15T15:22:17.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-15T15:22:17.788Z] ---> f96f9c87975a [2023-02-15T15:22:17.788Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T15:22:19.744Z] ---> Running in e9783f971ff1 [2023-02-15T15:22:20.012Z] Removing intermediate container e9783f971ff1 [2023-02-15T15:22:20.012Z] ---> 5b6200030f1d [2023-02-15T15:22:20.012Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T15:22:20.012Z] ---> Running in f93553b3a06f [2023-02-15T15:22:20.597Z] Removing intermediate container f93553b3a06f [2023-02-15T15:22:20.597Z] ---> 049c41e54a8b [2023-02-15T15:22:20.597Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-15T15:22:20.597Z] ---> Running in ae668b39aaee [2023-02-15T15:22:20.865Z] Removing intermediate container ae668b39aaee [2023-02-15T15:22:20.865Z] ---> 396b8c07b723 [2023-02-15T15:22:20.865Z] Step 6/12 : WORKDIR /device-virtual-go [2023-02-15T15:22:20.865Z] ---> Running in 89e45899fccb [2023-02-15T15:22:21.133Z] Removing intermediate container 89e45899fccb [2023-02-15T15:22:21.133Z] ---> 7705fd1a1df6 [2023-02-15T15:22:21.133Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T15:22:21.401Z] ---> Running in 40f55f1a11cf [2023-02-15T15:22:22.370Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T15:22:22.960Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T15:22:23.921Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T15:22:23.921Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-15T15:22:23.921Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T15:22:24.191Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T15:22:24.191Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T15:22:24.191Z] OK: 226 MiB in 55 packages [2023-02-15T15:22:25.156Z] Removing intermediate container 40f55f1a11cf [2023-02-15T15:22:25.156Z] ---> 5f06e4202743 [2023-02-15T15:22:25.156Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-15T15:22:25.750Z] ---> bf454fc2bf28 [2023-02-15T15:22:25.750Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T15:22:25.750Z] ---> Running in 5464811140a5 [2023-02-15T15:23:33.640Z] Removing intermediate container 5464811140a5 [2023-02-15T15:23:33.640Z] ---> f1ab85ca9dc1 [2023-02-15T15:23:33.640Z] Step 10/12 : COPY . . [2023-02-15T15:23:33.640Z] ---> e08bbc5d673c [2023-02-15T15:23:33.640Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T15:23:33.640Z] ---> Running in 71f3485e7e42 [2023-02-15T15:23:33.640Z] Removing intermediate container 71f3485e7e42 [2023-02-15T15:23:33.640Z] ---> efb76e46c8db [2023-02-15T15:23:33.640Z] Step 12/12 : RUN $MAKE [2023-02-15T15:23:33.640Z] ---> Running in 094b09e9f104 [2023-02-15T15:23:33.640Z] noop [2023-02-15T15:23:33.640Z] Removing intermediate container 094b09e9f104 [2023-02-15T15:23:33.640Z] ---> 967bfbd9f935 [2023-02-15T15:23:33.640Z] Successfully built 967bfbd9f935 [2023-02-15T15:23:33.640Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T15:23:33.998Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T15:23:33.998Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T15:23:34.185Z] prd-ubuntu20.04-docker-arm64-4c-16g-6125 does not seem to be running inside a container [2023-02-15T15:23:34.260Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/6 -v /w/workspace/device-virtual-go/6:/w/workspace/device-virtual-go/6:rw,z -v /w/workspace/device-virtual-go/6@tmp:/w/workspace/device-virtual-go/6@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-15T15:23:35.420Z] $ docker top 955ce442dd54f238e7d343f2c238093bcde0aefb1759460bed01c44fdeaf6320 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T15:23:36.255Z] + go version [2023-02-15T15:23:36.255Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-15T15:23:36.278Z] $ docker stop --time=1 955ce442dd54f238e7d343f2c238093bcde0aefb1759460bed01c44fdeaf6320 [2023-02-15T15:23:37.878Z] $ docker rm -f --volumes 955ce442dd54f238e7d343f2c238093bcde0aefb1759460bed01c44fdeaf6320 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T15:23:38.415Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T15:23:38.415Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T15:23:38.595Z] prd-ubuntu20.04-docker-arm64-4c-16g-6125 does not seem to be running inside a container [2023-02-15T15:23:38.660Z] $ 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/6 -v /w/workspace/device-virtual-go/6:/w/workspace/device-virtual-go/6:rw,z -v /w/workspace/device-virtual-go/6@tmp:/w/workspace/device-virtual-go/6@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-15T15:23:39.817Z] $ docker top 5f479ec49d1ba23daea3418eedd60dff717e9ce79cf9d23451c9c3b60830b621 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T15:23:40.656Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/6 [Pipeline] fileExists [Pipeline] sh [2023-02-15T15:23:41.313Z] + make test [2023-02-15T15:23:41.313Z] go test ./... -coverprofile=coverage.out [2023-02-15T15:23:42.734Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-02-15T15:25:04.497Z] # github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers [2023-02-15T15:25:04.497Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:113:19: assignment mismatch: 2 variables but clientsMessaging.NewCommandClient returns 1 value [2023-02-15T15:25:04.497Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:113:68: cannot use serviceInfo.Topics (variable of type map[string]string) as type string in argument to clientsMessaging.NewCommandClient [2023-02-15T15:25:04.497Z] FAIL github.com/edgexfoundry/device-virtual-go/internal/driver [build failed] [2023-02-15T15:25:04.497Z] make: *** [Makefile:30: unittest] Error 2 [Pipeline] } [2023-02-15T15:25:04.517Z] $ docker stop --time=1 5f479ec49d1ba23daea3418eedd60dff717e9ce79cf9d23451c9c3b60830b621 [2023-02-15T15:25:06.269Z] $ docker rm -f --volumes 5f479ec49d1ba23daea3418eedd60dff717e9ce79cf9d23451c9c3b60830b621 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T15:25:07.283Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T15:25:07.283Z] [2023-02-15T15:25:07.284Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T15:25:07.615Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T15:25:08.581Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-15T15:25:08.581Z] 8998bd30e6a1: Pulling fs layer [2023-02-15T15:25:08.581Z] 04944245beec: Pulling fs layer [2023-02-15T15:25:08.581Z] 699f458cf7ca: Pulling fs layer [2023-02-15T15:25:08.581Z] 765212b225bb: Pulling fs layer [2023-02-15T15:25:08.581Z] f23df028b6ca: Pulling fs layer [2023-02-15T15:25:08.581Z] d65c8cfc05b1: Pulling fs layer [2023-02-15T15:25:08.581Z] 2437ff75d9bd: Pulling fs layer [2023-02-15T15:25:08.581Z] f23df028b6ca: Waiting [2023-02-15T15:25:08.581Z] d65c8cfc05b1: Waiting [2023-02-15T15:25:08.581Z] 765212b225bb: Waiting [2023-02-15T15:25:08.581Z] 2437ff75d9bd: Waiting [2023-02-15T15:25:08.581Z] 04944245beec: Verifying Checksum [2023-02-15T15:25:08.581Z] 04944245beec: Download complete [2023-02-15T15:25:08.581Z] 765212b225bb: Verifying Checksum [2023-02-15T15:25:08.581Z] 765212b225bb: Download complete [2023-02-15T15:25:08.852Z] f23df028b6ca: Verifying Checksum [2023-02-15T15:25:08.852Z] f23df028b6ca: Download complete [2023-02-15T15:25:08.852Z] d65c8cfc05b1: Download complete [2023-02-15T15:25:08.852Z] 699f458cf7ca: Verifying Checksum [2023-02-15T15:25:08.852Z] 699f458cf7ca: Download complete [2023-02-15T15:25:09.433Z] 8998bd30e6a1: Verifying Checksum [2023-02-15T15:25:09.433Z] 8998bd30e6a1: Download complete [2023-02-15T15:25:11.378Z] 2437ff75d9bd: Verifying Checksum [2023-02-15T15:25:11.378Z] 2437ff75d9bd: Download complete [2023-02-15T15:25:13.325Z] 8998bd30e6a1: Pull complete [2023-02-15T15:25:13.594Z] 04944245beec: Pull complete [2023-02-15T15:25:14.555Z] 699f458cf7ca: Pull complete [2023-02-15T15:25:14.822Z] 765212b225bb: Pull complete [2023-02-15T15:25:15.406Z] f23df028b6ca: Pull complete [2023-02-15T15:25:15.679Z] d65c8cfc05b1: Pull complete [2023-02-15T15:25:30.684Z] 2437ff75d9bd: Pull complete [2023-02-15T15:25:30.684Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-15T15:25:30.684Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T15:25:30.684Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T15:25:30.888Z] prd-ubuntu20.04-docker-arm64-4c-16g-6125 does not seem to be running inside a container [2023-02-15T15:25:30.988Z] $ 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/6 -v /w/workspace/device-virtual-go/6:/w/workspace/device-virtual-go/6:rw,z -v /w/workspace/device-virtual-go/6@tmp:/w/workspace/device-virtual-go/6@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-15T15:25:33.564Z] $ docker top 8118093e1e03cf4a689b5b8d34ff9af0361d51f2a7310fa7d9b67815451dcdf5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T15:25:34.432Z] ---> job-cost.sh [2023-02-15T15:25:34.701Z] lf-activate-venv: SKIPPING [2023-02-15T15:25:34.701Z] INFO: No Stack... [2023-02-15T15:25:34.970Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-15T15:25:35.937Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T15:25:36.577Z] + cat /w/workspace/device-virtual-go/6/archives/cost.csv [2023-02-15T15:25:36.577Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T15:25:36.665Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-339-6-stack-cost] [2023-02-15T15:25:36.677Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-339-6-stack-cost] did not exist. Created. [2023-02-15T15:25:36.677Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-339-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T15:25:37.420Z] /w/workspace/device-virtual-go/6@tmp/durable-b47091b8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-15T15:25:38.130Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-15T15:25:38.159Z] Warning: overwriting stash ‘stack-cost’ [2023-02-15T15:25:38.906Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T15:25:38.917Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-339-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T15:25:38.941Z] $ docker stop --time=1 8118093e1e03cf4a689b5b8d34ff9af0361d51f2a7310fa7d9b67815451dcdf5 [2023-02-15T15:25:40.528Z] $ docker rm -f --volumes 8118093e1e03cf4a689b5b8d34ff9af0361d51f2a7310fa7d9b67815451dcdf5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T15:25:40.763Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-15T15:25:41.487Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-339/archives ] [2023-02-15T15:25:41.487Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-339/archives [2023-02-15T15:25:41.487Z] total 16 [2023-02-15T15:25:41.487Z] drwxr-xr-x 3 root root 4096 Feb 15 15:19 . [2023-02-15T15:25:41.487Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 15:19 .. [2023-02-15T15:25:41.487Z] drwxr-xr-x 2 root root 4096 Feb 15 15:19 cost [2023-02-15T15:25:41.487Z] -rw-r--r-- 1 root root 89 Feb 15 15:19 cost.csv [2023-02-15T15:25:41.487Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-339/archives [2023-02-15T15:25:41.487Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-339/archives [2023-02-15T15:25:41.487Z] total 16 [2023-02-15T15:25:41.487Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 15:19 . [2023-02-15T15:25:41.487Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 15:19 .. [2023-02-15T15:25:41.487Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 15:19 cost [2023-02-15T15:25:41.487Z] -rw-r--r-- 1 jenkins jenkins 89 Feb 15 15:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-15T15:25:41.779Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T15:25:42.648Z] ---> package-listing.sh [2023-02-15T15:25:42.648Z] ++ facter osfamily [2023-02-15T15:25:42.648Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-15T15:25:42.908Z] + OS_FAMILY=debian [2023-02-15T15:25:42.908Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-339 [2023-02-15T15:25:42.908Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-15T15:25:42.908Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-15T15:25:42.908Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-15T15:25:42.908Z] + PACKAGES=/tmp/packages_start.txt [2023-02-15T15:25:42.908Z] + '[' /w/workspace/foundry_device-virtual-go_PR-339 ']' [2023-02-15T15:25:42.908Z] + PACKAGES=/tmp/packages_end.txt [2023-02-15T15:25:42.908Z] + case "${OS_FAMILY}" in [2023-02-15T15:25:42.908Z] + dpkg -l [2023-02-15T15:25:42.908Z] + grep '^ii' [2023-02-15T15:25:42.908Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-15T15:25:42.908Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-15T15:25:42.908Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-15T15:25:42.908Z] + '[' /w/workspace/foundry_device-virtual-go_PR-339 ']' [2023-02-15T15:25:42.908Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-339/archives/ [2023-02-15T15:25:42.908Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-339/archives/ [Pipeline] echo [2023-02-15T15:25:42.917Z] 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/foundry_device-virtual-go_PR-339/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-15T15:25:43.189Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T15:25:43.745Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T15:25:43.745Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T15:25:43.815Z] prd-ubuntu20.04-docker-8c-8g-6123 does not seem to be running inside a container [2023-02-15T15:25:43.839Z] $ 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/foundry_device-virtual-go_PR-339/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-339 -v /w/workspace/foundry_device-virtual-go_PR-339:/w/workspace/foundry_device-virtual-go_PR-339:rw,z -v /w/workspace/foundry_device-virtual-go_PR-339@tmp:/w/workspace/foundry_device-virtual-go_PR-339@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T15:25:44.076Z] $ docker top 48f246aff64d94c480331eca49ded8b0a3b3cca94da2dadad02b6a938fc1ca53 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T15:25:44.417Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-15T15:25:44.699Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-15T15:25:44.982Z] + ls /var/log/sa-host [2023-02-15T15:25:44.982Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T15:25:45.118Z] provisioning config files... [2023-02-15T15:25:45.126Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-339@tmp/config10868788224547336988tmp [Pipeline] { [Pipeline] echo [2023-02-15T15:25:45.142Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T15:25:45.424Z] ---> create-netrc.sh [Pipeline] } [2023-02-15T15:25:45.430Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-15T15:25:45.763Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-15T15:25:45.771Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T15:25:46.057Z] ---> sudo-logs.sh [2023-02-15T15:25:46.058Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-15T15:25:46.090Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T15:25:46.376Z] ---> job-cost.sh [2023-02-15T15:25:46.376Z] lf-activate-venv: SKIPPING [2023-02-15T15:25:46.376Z] DEBUG: total: 0.2199999988079071 [2023-02-15T15:25:46.376Z] INFO: Retrieving Stack Cost... [2023-02-15T15:25:46.944Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T15:25:47.584Z] INFO: Archiving Costs [Pipeline] echo [2023-02-15T15:25:47.595Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T15:25:47.878Z] ---> logs-deploy.sh [2023-02-15T15:25:47.878Z] lf-activate-venv: SKIPPING [2023-02-15T15:25:47.878Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-339/6 [2023-02-15T15:25:47.878Z] INFO: archiving workspace using pattern(s): [2023-02-15T15:25:48.823Z] Archives upload complete. [2023-02-15T15:25:49.083Z] INFO: archiving logs to Nexus