Pull request #320 opened 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 lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 057a1dd692cb57415318ec4c6084d5f03d04d2b3+bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 (0e194ab90a610bdb70f1661dad9637ad977688e2) 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-ssh7012495537541445102.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-ssh9802583544979114353.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-320/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-320/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13288112402528101491.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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-320/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16742204490753613759.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh3371793310953693713.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-320/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-320/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16614134793103212762.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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118613 in /w/workspace/foundry_device-virtual-go_PR-320 [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-320 # 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 > 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 Merging remotes/origin/main commit bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 into PR head commit 057a1dd692cb57415318ec4c6084d5f03d04d2b3 Merge succeeded, producing 057a1dd692cb57415318ec4c6084d5f03d04d2b3 Checking out Revision 057a1dd692cb57415318ec4c6084d5f03d04d2b3 (PR-320) > 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 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/pull/320/head:refs/remotes/origin/PR-320 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 057a1dd692cb57415318ec4c6084d5f03d04d2b3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 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 merge bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 057a1dd692cb57415318ec4c6084d5f03d04d2b3 # timeout=10 Commit message: "build: Update to use released SDK and go-mods" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-08T15:58:43.733Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-08T15:58:43.918Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-08T15:58:44.022Z] ========================================================= [2022-11-08T15:58:44.022Z] EdgeX Global Pipelines Version Info [2022-11-08T15:58:44.022Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-08T15:58:44.772Z] ------------------- [2022-11-08T15:58:44.772Z] stable info: [2022-11-08T15:58:44.772Z] ------------------- [2022-11-08T15:58:44.772Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-08T15:58:44.772Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T15:58:44.772Z] Message: update stable to v1.0.244 [2022-11-08T15:58:45.348Z] ------------------- [2022-11-08T15:58:45.348Z] experimental info: [2022-11-08T15:58:45.348Z] ------------------- [2022-11-08T15:58:45.348Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-08T15:58:45.348Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T15:58:45.348Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-08T15:58:45.652Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-11-08T15:58:45.689Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-11-08T15:58:45.730Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-08T15:58:45.767Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-08T15:58:45.807Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-08T15:58:45.850Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-08T15:58:45.899Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-08T15:58:45.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-08T15:58:46.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-08T15:58:46.043Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-08T15:58:46.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-08T15:58:46.127Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-11-08T15:58:46.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-08T15:58:46.207Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-08T15:58:46.251Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-08T15:58:46.288Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-08T15:58:46.328Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T15:58:46.369Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T15:58:46.408Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-08T15:58:46.503Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-08T15:58:46.542Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-08T15:58:46.581Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-08T15:58:46.623Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-08T15:58:46.662Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-08T15:58:46.702Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-08T15:58:46.743Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-08T15:58:46.786Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-08T15:58:46.831Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-320 [Pipeline] echo [2022-11-08T15:58:46.872Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-320 [Pipeline] echo [2022-11-08T15:58:46.911Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-320 [Pipeline] echo [2022-11-08T15:58:46.945Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 057a1dd692cb57415318ec4c6084d5f03d04d2b3 [Pipeline] echo [2022-11-08T15:58:46.994Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 057a1dd [Pipeline] echo [2022-11-08T15:58:47.032Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T15:58:47.151Z] provisioning config files... [2022-11-08T15:58:47.167Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-320@tmp/config5117343984969295849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T15:58:47.514Z] ---> docker-login.sh [2022-11-08T15:58:47.514Z] nexus3.edgexfoundry.org:10001 [2022-11-08T15:58:47.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T15:58:47.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T15:58:47.777Z] Configure a credential helper to remove this warning. See [2022-11-08T15:58:47.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T15:58:47.777Z] [2022-11-08T15:58:47.777Z] Login Succeeded [2022-11-08T15:58:47.777Z] nexus3.edgexfoundry.org:10002 [2022-11-08T15:58:47.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T15:58:48.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T15:58:48.037Z] Configure a credential helper to remove this warning. See [2022-11-08T15:58:48.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T15:58:48.037Z] [2022-11-08T15:58:48.037Z] Login Succeeded [2022-11-08T15:58:48.037Z] nexus3.edgexfoundry.org:10003 [2022-11-08T15:58:48.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T15:58:48.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T15:58:48.037Z] Configure a credential helper to remove this warning. See [2022-11-08T15:58:48.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T15:58:48.037Z] [2022-11-08T15:58:48.037Z] Login Succeeded [2022-11-08T15:58:48.037Z] nexus3.edgexfoundry.org:10004 [2022-11-08T15:58:48.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T15:58:48.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T15:58:48.037Z] Configure a credential helper to remove this warning. See [2022-11-08T15:58:48.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T15:58:48.037Z] [2022-11-08T15:58:48.037Z] Login Succeeded [2022-11-08T15:58:48.037Z] docker.io [2022-11-08T15:58:48.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T15:58:48.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T15:58:48.559Z] Configure a credential helper to remove this warning. See [2022-11-08T15:58:48.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T15:58:48.559Z] [2022-11-08T15:58:48.559Z] Login Succeeded [2022-11-08T15:58:48.559Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T15:58:48.587Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-08T15:58:49.202Z] + git rev-list -1 --merges 057a1dd692cb57415318ec4c6084d5f03d04d2b3~1..057a1dd692cb57415318ec4c6084d5f03d04d2b3 [Pipeline] echo [2022-11-08T15:58:49.248Z] -----------> git rev-list -1 --merges 057a1dd692cb57415318ec4c6084d5f03d04d2b3~1..057a1dd692cb57415318ec4c6084d5f03d04d2b3 057a1dd692cb57415318ec4c6084d5f03d04d2b3 [false] [Pipeline] sh [2022-11-08T15:58:49.561Z] + git log --format=format:%s -1 057a1dd692cb57415318ec4c6084d5f03d04d2b3 [Pipeline] echo [2022-11-08T15:58:49.674Z] ========================================================= [2022-11-08T15:58:49.674Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-08T15:58:49.674Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T15:58:50.099Z] + git log --format=format:%s -1 057a1dd692cb57415318ec4c6084d5f03d04d2b3 [Pipeline] echo [2022-11-08T15:58:50.130Z] [semverPrep] GIT_COMMIT: 057a1dd692cb57415318ec4c6084d5f03d04d2b3, Commit Message: build: Update to use released SDK and go-mods [Pipeline] echo [2022-11-08T15:58:50.160Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-08T15:58:50.550Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-08T15:58:50.550Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-08T15:58:50.550Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-08T15:58:50.550Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-08T15:58:50.550Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-08T15:58:50.550Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-08T15:58:50.550Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T15:58:50.976Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T15:58:50.976Z] [2022-11-08T15:58:50.976Z] 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-08T15:58:51.350Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T15:58:51.350Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-08T15:58:51.350Z] b85a868b505f: Pulling fs layer [2022-11-08T15:58:51.350Z] e2be974225ed: Pulling fs layer [2022-11-08T15:58:51.350Z] 339a4e72a1f5: Pulling fs layer [2022-11-08T15:58:51.350Z] 988bab9f4d93: Pulling fs layer [2022-11-08T15:58:51.350Z] 1469e6f7b9e6: Pulling fs layer [2022-11-08T15:58:51.350Z] eaf3925da568: Pulling fs layer [2022-11-08T15:58:51.350Z] 1469e6f7b9e6: Waiting [2022-11-08T15:58:51.350Z] 988bab9f4d93: Waiting [2022-11-08T15:58:51.350Z] bab4dde63d76: Pulling fs layer [2022-11-08T15:58:51.350Z] eaf3925da568: Waiting [2022-11-08T15:58:51.350Z] bde34c3a00c8: Pulling fs layer [2022-11-08T15:58:51.350Z] b352a97aabf1: Pulling fs layer [2022-11-08T15:58:51.350Z] 4872d77fe225: Pulling fs layer [2022-11-08T15:58:51.350Z] 5851b861e8e6: Pulling fs layer [2022-11-08T15:58:51.350Z] bab4dde63d76: Waiting [2022-11-08T15:58:51.350Z] bde34c3a00c8: Waiting [2022-11-08T15:58:51.350Z] b352a97aabf1: Waiting [2022-11-08T15:58:51.350Z] 4872d77fe225: Waiting [2022-11-08T15:58:51.350Z] e2be974225ed: Verifying Checksum [2022-11-08T15:58:51.350Z] e2be974225ed: Download complete [2022-11-08T15:58:51.350Z] 988bab9f4d93: Download complete [2022-11-08T15:58:51.622Z] 1469e6f7b9e6: Verifying Checksum [2022-11-08T15:58:51.622Z] 1469e6f7b9e6: Download complete [2022-11-08T15:58:51.622Z] eaf3925da568: Download complete [2022-11-08T15:58:51.622Z] 339a4e72a1f5: Verifying Checksum [2022-11-08T15:58:51.622Z] 339a4e72a1f5: Download complete [2022-11-08T15:58:51.622Z] bde34c3a00c8: Download complete [2022-11-08T15:58:51.622Z] b352a97aabf1: Download complete [2022-11-08T15:58:51.622Z] 4872d77fe225: Verifying Checksum [2022-11-08T15:58:51.622Z] 5851b861e8e6: Verifying Checksum [2022-11-08T15:58:51.622Z] 5851b861e8e6: Download complete [2022-11-08T15:58:51.622Z] b85a868b505f: Download complete [2022-11-08T15:58:51.882Z] bab4dde63d76: Verifying Checksum [2022-11-08T15:58:51.882Z] bab4dde63d76: Download complete [2022-11-08T15:58:52.827Z] b85a868b505f: Pull complete [2022-11-08T15:58:53.086Z] e2be974225ed: Pull complete [2022-11-08T15:58:53.655Z] 339a4e72a1f5: Pull complete [2022-11-08T15:58:53.655Z] 988bab9f4d93: Pull complete [2022-11-08T15:58:53.916Z] 1469e6f7b9e6: Pull complete [2022-11-08T15:58:53.916Z] eaf3925da568: Pull complete [2022-11-08T15:58:55.889Z] bab4dde63d76: Pull complete [2022-11-08T15:58:56.149Z] bde34c3a00c8: Pull complete [2022-11-08T15:58:56.149Z] b352a97aabf1: Pull complete [2022-11-08T15:58:56.149Z] 4872d77fe225: Pull complete [2022-11-08T15:58:56.408Z] 5851b861e8e6: Pull complete [2022-11-08T15:58:56.408Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-08T15:58:56.408Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T15:58:56.408Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T15:58:56.609Z] prd-ubuntu20.04-docker-8c-8g-118613 does not seem to be running inside a container [2022-11-08T15:58:56.642Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-320 -v /w/workspace/foundry_device-virtual-go_PR-320:/w/workspace/foundry_device-virtual-go_PR-320:rw,z -v /w/workspace/foundry_device-virtual-go_PR-320@tmp:/w/workspace/foundry_device-virtual-go_PR-320@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-08T15:58:58.438Z] $ docker top 7d84410f4c283c5365b75407f630e95f76e6b1776add0e7258bd4b06735298c1 -eo pid,comm [2022-11-08T15:58:58.504Z] 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-08T15:58:58.504Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-08T15:58:58.631Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T15:58:58.631Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T15:58:58.765Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T15:58:58.768Z] $ docker exec 7d84410f4c283c5365b75407f630e95f76e6b1776add0e7258bd4b06735298c1 ssh-agent [2022-11-08T15:58:58.896Z] SSH_AUTH_SOCK=/tmp/ssh-LVOJYUZOEZnJ/agent.33 [2022-11-08T15:58:58.896Z] SSH_AGENT_PID=39 [2022-11-08T15:58:58.903Z] Running ssh-add (command line suppressed) [2022-11-08T15:58:59.013Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-320@tmp/private_key_5963318097726909044.key (/w/workspace/foundry_device-virtual-go_PR-320@tmp/private_key_5963318097726909044.key) [2022-11-08T15:58:59.030Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T15:58:59.359Z] + git tag --points-at HEAD [Pipeline] } [2022-11-08T15:58:59.387Z] $ docker exec --env ******** --env ******** 7d84410f4c283c5365b75407f630e95f76e6b1776add0e7258bd4b06735298c1 ssh-agent -k [2022-11-08T15:58:59.503Z] unset SSH_AUTH_SOCK; [2022-11-08T15:58:59.504Z] unset SSH_AGENT_PID; [2022-11-08T15:58:59.504Z] echo Agent pid 39 killed; [2022-11-08T15:58:59.513Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-08T15:58:59.599Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T15:58:59.599Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T15:58:59.729Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T15:58:59.732Z] $ docker exec 7d84410f4c283c5365b75407f630e95f76e6b1776add0e7258bd4b06735298c1 ssh-agent [2022-11-08T15:58:59.880Z] SSH_AUTH_SOCK=/tmp/ssh-1KgnPMG7lCW9/agent.72 [2022-11-08T15:58:59.880Z] SSH_AGENT_PID=78 [2022-11-08T15:58:59.885Z] Running ssh-add (command line suppressed) [2022-11-08T15:58:59.999Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-320@tmp/private_key_11290140145167007690.key (/w/workspace/foundry_device-virtual-go_PR-320@tmp/private_key_11290140145167007690.key) [2022-11-08T15:59:00.012Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T15:59:00.350Z] + git semver init [2022-11-08T15:59:00.611Z] 2022-11-08 15:59:00,555 [run_init] DEBUG init version:0.0.0 force:False [2022-11-08T15:59:00.611Z] 2022-11-08 15:59:00,556 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-320/.semver [2022-11-08T15:59:00.611Z] 2022-11-08 15:59:00,557 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-320/.semver [2022-11-08T15:59:00.611Z] 2022-11-08 15:59:00,558 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-320/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-320, universal_newlines=False, shell=None, istream=None) [2022-11-08T15:59:01.995Z] 2022-11-08 15:59:01,831 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-320/.git/info/exclude [2022-11-08T15:59:01.995Z] 2022-11-08 15:59:01,831 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-320/.semver/PR-320 with force:False [2022-11-08T15:59:01.995Z] 2022-11-08 15:59:01,832 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-320/.semver/PR-320 [2022-11-08T15:59:01.995Z] 2022-11-08 15:59:01,836 [execute] INFO git cat-file --batch-check [2022-11-08T15:59:01.995Z] 2022-11-08 15:59:01,836 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-320/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T15:59:01.995Z] 2022-11-08 15:59:01,844 [execute] INFO git cat-file --batch [2022-11-08T15:59:01.995Z] 2022-11-08 15:59:01,844 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-320/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T15:59:01.995Z] 2022-11-08 15:59:01,850 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-320/.semver/PR-320 [2022-11-08T15:59:01.995Z] 0.0.0 [Pipeline] } [2022-11-08T15:59:02.022Z] $ docker exec --env ******** --env ******** 7d84410f4c283c5365b75407f630e95f76e6b1776add0e7258bd4b06735298c1 ssh-agent -k [2022-11-08T15:59:02.114Z] unset SSH_AUTH_SOCK; [2022-11-08T15:59:02.115Z] unset SSH_AGENT_PID; [2022-11-08T15:59:02.115Z] echo Agent pid 78 killed; [2022-11-08T15:59:02.124Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-08T15:59:02.546Z] + git semver [Pipeline] } [2022-11-08T15:59:02.834Z] $ docker stop --time=1 7d84410f4c283c5365b75407f630e95f76e6b1776add0e7258bd4b06735298c1 [2022-11-08T15:59:04.162Z] $ docker rm -f 7d84410f4c283c5365b75407f630e95f76e6b1776add0e7258bd4b06735298c1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T15:59:04.571Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-08T15:59:04.805Z] Stashed 1 file(s) [Pipeline] echo [2022-11-08T15:59:04.822Z] [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 [2022-11-08T15:59:05.389Z] provisioning config files... [2022-11-08T15:59:05.400Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-320@tmp/config6283449596030365595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T15:59:05.749Z] ---> docker-login.sh [2022-11-08T15:59:05.749Z] nexus3.edgexfoundry.org:10001 [2022-11-08T15:59:05.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T15:59:05.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T15:59:05.749Z] Configure a credential helper to remove this warning. See [2022-11-08T15:59:05.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T15:59:05.749Z] [2022-11-08T15:59:05.749Z] Login Succeeded [2022-11-08T15:59:05.749Z] nexus3.edgexfoundry.org:10002 [2022-11-08T15:59:05.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T15:59:06.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T15:59:06.008Z] Configure a credential helper to remove this warning. See [2022-11-08T15:59:06.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T15:59:06.008Z] [2022-11-08T15:59:06.008Z] Login Succeeded [2022-11-08T15:59:06.008Z] nexus3.edgexfoundry.org:10003 [2022-11-08T15:59:06.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T15:59:06.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T15:59:06.008Z] Configure a credential helper to remove this warning. See [2022-11-08T15:59:06.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T15:59:06.008Z] [2022-11-08T15:59:06.008Z] Login Succeeded [2022-11-08T15:59:06.008Z] nexus3.edgexfoundry.org:10004 [2022-11-08T15:59:06.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T15:59:06.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T15:59:06.265Z] Configure a credential helper to remove this warning. See [2022-11-08T15:59:06.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T15:59:06.265Z] [2022-11-08T15:59:06.265Z] Login Succeeded [2022-11-08T15:59:06.265Z] docker.io [2022-11-08T15:59:06.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T15:59:06.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T15:59:06.524Z] Configure a credential helper to remove this warning. See [2022-11-08T15:59:06.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T15:59:06.524Z] [2022-11-08T15:59:06.524Z] Login Succeeded [2022-11-08T15:59:06.524Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T15:59:06.559Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T15:59:06.751Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T15:59:06.786Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T15:59:06.823Z] ========================================================= [2022-11-08T15:59:06.823Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-08T15:59:06.823Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T15:59:07.298Z] + 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-08T15:59:07.299Z] Sending build context to Docker daemon 23.28MB [2022-11-08T15:59:07.299Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T15:59:07.299Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-08T15:59:07.570Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-08T15:59:07.570Z] 213ec9aee27d: Pulling fs layer [2022-11-08T15:59:07.570Z] 4583459ba037: Pulling fs layer [2022-11-08T15:59:07.570Z] 93c1e223e6f2: Pulling fs layer [2022-11-08T15:59:07.570Z] 53926ce57604: Pulling fs layer [2022-11-08T15:59:07.570Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-08T15:59:07.570Z] 22ff95d597cd: Pulling fs layer [2022-11-08T15:59:07.570Z] 12d6caf4c0d1: Pulling fs layer [2022-11-08T15:59:07.570Z] 96b7cbca73a9: Pulling fs layer [2022-11-08T15:59:07.570Z] a7acece74701: Pulling fs layer [2022-11-08T15:59:07.570Z] 12d6caf4c0d1: Waiting [2022-11-08T15:59:07.570Z] 21b2b0c7a3f4: Waiting [2022-11-08T15:59:07.570Z] 96b7cbca73a9: Waiting [2022-11-08T15:59:07.570Z] 22ff95d597cd: Waiting [2022-11-08T15:59:07.570Z] a7acece74701: Waiting [2022-11-08T15:59:07.570Z] 53926ce57604: Waiting [2022-11-08T15:59:07.570Z] 93c1e223e6f2: Verifying Checksum [2022-11-08T15:59:07.570Z] 93c1e223e6f2: Download complete [2022-11-08T15:59:07.570Z] 4583459ba037: Verifying Checksum [2022-11-08T15:59:07.570Z] 4583459ba037: Download complete [2022-11-08T15:59:07.570Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-08T15:59:07.570Z] 21b2b0c7a3f4: Download complete [2022-11-08T15:59:07.570Z] 22ff95d597cd: Download complete [2022-11-08T15:59:07.570Z] 213ec9aee27d: Verifying Checksum [2022-11-08T15:59:07.570Z] 213ec9aee27d: Download complete [2022-11-08T15:59:07.570Z] 12d6caf4c0d1: Download complete [2022-11-08T15:59:07.843Z] 213ec9aee27d: Pull complete [2022-11-08T15:59:07.843Z] 4583459ba037: Pull complete [2022-11-08T15:59:07.843Z] 93c1e223e6f2: Pull complete [2022-11-08T15:59:08.118Z] a7acece74701: Verifying Checksum [2022-11-08T15:59:08.118Z] a7acece74701: Download complete [2022-11-08T15:59:08.378Z] 53926ce57604: Verifying Checksum [2022-11-08T15:59:08.378Z] 53926ce57604: Download complete [2022-11-08T15:59:08.378Z] 96b7cbca73a9: Verifying Checksum [2022-11-08T15:59:08.378Z] 96b7cbca73a9: Download complete [2022-11-08T15:59:12.575Z] 53926ce57604: Pull complete [2022-11-08T15:59:12.576Z] 21b2b0c7a3f4: Pull complete [2022-11-08T15:59:12.576Z] 22ff95d597cd: Pull complete [2022-11-08T15:59:12.576Z] 12d6caf4c0d1: Pull complete [2022-11-08T15:59:14.474Z] 96b7cbca73a9: Pull complete [2022-11-08T15:59:15.038Z] a7acece74701: Pull complete [2022-11-08T15:59:15.038Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-08T15:59:15.038Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-08T15:59:15.038Z] ---> db6d94c90886 [2022-11-08T15:59:15.038Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T15:59:17.573Z] ---> Running in 32eb913ae8b2 [2022-11-08T15:59:17.832Z] Removing intermediate container 32eb913ae8b2 [2022-11-08T15:59:17.832Z] ---> c90cb4ae5d1e [2022-11-08T15:59:17.832Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T15:59:17.832Z] ---> Running in deb94d6640db [2022-11-08T15:59:17.832Z] Removing intermediate container deb94d6640db [2022-11-08T15:59:17.832Z] ---> cb20fddbd7b2 [2022-11-08T15:59:17.832Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2022-11-08T15:59:17.832Z] ---> Running in d77121b72db0 [2022-11-08T15:59:18.091Z] Removing intermediate container d77121b72db0 [2022-11-08T15:59:18.091Z] ---> 4a890db692e8 [2022-11-08T15:59:18.091Z] Step 6/12 : WORKDIR /device-virtual-go [2022-11-08T15:59:18.091Z] ---> Running in f4d3b64d3d63 [2022-11-08T15:59:18.091Z] Removing intermediate container f4d3b64d3d63 [2022-11-08T15:59:18.091Z] ---> 22236907aaee [2022-11-08T15:59:18.091Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T15:59:18.091Z] ---> Running in 415719d96b40 [2022-11-08T15:59:18.351Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T15:59:18.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T15:59:18.609Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-08T15:59:18.609Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-08T15:59:18.867Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-08T15:59:18.867Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-08T15:59:18.867Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T15:59:18.867Z] OK: 216 MiB in 55 packages [2022-11-08T15:59:19.435Z] Removing intermediate container 415719d96b40 [2022-11-08T15:59:19.435Z] ---> daf855a6c2f5 [2022-11-08T15:59:19.435Z] Step 8/12 : COPY go.mod vendor* ./ [2022-11-08T15:59:19.435Z] ---> a698e9fb8ceb [2022-11-08T15:59:19.435Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T15:59:19.435Z] ---> Running in bd770e0dc282 [2022-11-08T15:59:20.256Z] Still waiting to schedule task [2022-11-08T15:59:20.257Z] ‘prd-centos7-blackbox-4c-2g-118274’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-11-08T15:59:20.257Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-118608’ is offline [2022-11-08T15:59:20.257Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-118609’ is offline [2022-11-08T15:59:20.257Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-118612’ is offline [2022-11-08T15:59:37.526Z] Removing intermediate container bd770e0dc282 [2022-11-08T15:59:37.526Z] ---> ba126b5615ef [2022-11-08T15:59:37.526Z] Step 10/12 : COPY . . [2022-11-08T15:59:37.785Z] ---> b111780b188e [2022-11-08T15:59:37.785Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T15:59:37.785Z] ---> Running in 062419ac0d71 [2022-11-08T15:59:37.785Z] Removing intermediate container 062419ac0d71 [2022-11-08T15:59:37.785Z] ---> d4e20434ebb4 [2022-11-08T15:59:37.785Z] Step 12/12 : RUN $MAKE [2022-11-08T15:59:38.044Z] ---> Running in 4ff05ab7bab5 [2022-11-08T15:59:38.302Z] noop [2022-11-08T15:59:38.562Z] Removing intermediate container 4ff05ab7bab5 [2022-11-08T15:59:38.562Z] ---> 77a8de6d8e83 [2022-11-08T15:59:38.562Z] Successfully built 77a8de6d8e83 [2022-11-08T15:59:38.562Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T15:59:39.012Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T15:59:39.012Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T15:59:39.152Z] prd-ubuntu20.04-docker-8c-8g-118613 does not seem to be running inside a container [2022-11-08T15:59:39.183Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-320 -v /w/workspace/foundry_device-virtual-go_PR-320:/w/workspace/foundry_device-virtual-go_PR-320:rw,z -v /w/workspace/foundry_device-virtual-go_PR-320@tmp:/w/workspace/foundry_device-virtual-go_PR-320@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 ******** ci-base-image-x86_64 cat [2022-11-08T15:59:39.512Z] $ docker top f001b5ea988c81c01db1cce0dca8de3439db10c266712d15d08193b83f71bd3e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T15:59:39.895Z] + go version [2022-11-08T15:59:39.895Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-08T15:59:39.927Z] $ docker stop --time=1 f001b5ea988c81c01db1cce0dca8de3439db10c266712d15d08193b83f71bd3e [2022-11-08T15:59:41.174Z] $ docker rm -f f001b5ea988c81c01db1cce0dca8de3439db10c266712d15d08193b83f71bd3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T15:59:41.879Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T15:59:41.879Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T15:59:42.016Z] prd-ubuntu20.04-docker-8c-8g-118613 does not seem to be running inside a container [2022-11-08T15:59:42.045Z] $ 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-320 -v /w/workspace/foundry_device-virtual-go_PR-320:/w/workspace/foundry_device-virtual-go_PR-320:rw,z -v /w/workspace/foundry_device-virtual-go_PR-320@tmp:/w/workspace/foundry_device-virtual-go_PR-320@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 ******** ci-base-image-x86_64 cat [2022-11-08T15:59:42.343Z] $ docker top 32df789c3f17e61ae2a6b74fb0212a4424e4f3e457f6d0dae3e4555aa33d8331 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T15:59:42.733Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-320 [Pipeline] fileExists [Pipeline] sh [2022-11-08T15:59:43.093Z] + make test [2022-11-08T15:59:43.093Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-08T15:59:43.351Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-11-08T15:59:53.315Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-11-08T15:59:53.315Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements [2022-11-08T15:59:59.871Z] 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-08T15:59:59.871Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-08T16:00:01.776Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-08T16:00:01.776Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-08T16:00:01.776Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-08T16:00:02.061Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-08T16:00:02.092Z] $ docker stop --time=1 32df789c3f17e61ae2a6b74fb0212a4424e4f3e457f6d0dae3e4555aa33d8331 [2022-11-08T16:00:04.238Z] $ docker rm -f 32df789c3f17e61ae2a6b74fb0212a4424e4f3e457f6d0dae3e4555aa33d8331 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T16:00:04.740Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-08T16:00:04.805Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-08T16:00:05.424Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-08T16:00:05.732Z] + ls -al . [2022-11-08T16:00:05.733Z] total 204 [2022-11-08T16:00:05.733Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 15:59 . [2022-11-08T16:00:05.733Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 15:58 .. [2022-11-08T16:00:05.733Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 15:59 .git [2022-11-08T16:00:05.733Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 15:58 .github [2022-11-08T16:00:05.733Z] -rw-rw-r-- 1 jenkins jenkins 337 Nov 8 15:58 .gitignore [2022-11-08T16:00:05.733Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 15:58 .golangci.yml [2022-11-08T16:00:05.733Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 15:59 .semver [2022-11-08T16:00:05.733Z] -rw-rw-r-- 1 jenkins jenkins 8527 Nov 8 15:58 Attribution.txt [2022-11-08T16:00:05.733Z] -rw-rw-r-- 1 jenkins jenkins 11367 Nov 8 15:58 CHANGELOG.md [2022-11-08T16:00:05.733Z] -rw-rw-r-- 1 jenkins jenkins 1709 Nov 8 15:58 Dockerfile [2022-11-08T16:00:05.733Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 15:58 GOVERNANCE.md [2022-11-08T16:00:05.733Z] -rw-rw-r-- 1 jenkins jenkins 660 Nov 8 15:58 Jenkinsfile [2022-11-08T16:00:05.733Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 15:58 LICENSE [2022-11-08T16:00:05.733Z] -rw-rw-r-- 1 jenkins jenkins 2457 Nov 8 15:58 Makefile [2022-11-08T16:00:05.733Z] -rw-rw-r-- 1 jenkins jenkins 623 Nov 8 15:58 OWNERS.md [2022-11-08T16:00:05.733Z] -rw-rw-r-- 1 jenkins jenkins 3578 Nov 8 15:58 README.md [2022-11-08T16:00:05.733Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 15:59 VERSION [2022-11-08T16:00:05.733Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 15:58 bin [2022-11-08T16:00:05.733Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 15:58 cmd [2022-11-08T16:00:05.733Z] -rw-r--r-- 1 jenkins jenkins 44128 Nov 8 15:59 coverage.out [2022-11-08T16:00:05.733Z] -rw-rw-r-- 1 jenkins jenkins 3339 Nov 8 15:58 go.mod [2022-11-08T16:00:05.733Z] -rw-rw-r-- 1 jenkins jenkins 44445 Nov 8 15:58 go.sum [2022-11-08T16:00:05.733Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 15:58 internal [2022-11-08T16:00:05.733Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 15:58 snap [2022-11-08T16:00:05.733Z] -rw-rw-r-- 1 jenkins jenkins 235 Nov 8 15:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:00:06.176Z] + 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=057a1dd692cb57415318ec4c6084d5f03d04d2b3 --label arch=amd64 --label version=0.0.0 . [2022-11-08T16:00:06.176Z] Sending build context to Docker daemon 23.32MB [2022-11-08T16:00:06.176Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T16:00:06.176Z] Step 2/25 : FROM ${BASE} AS builder [2022-11-08T16:00:06.176Z] ---> 77a8de6d8e83 [2022-11-08T16:00:06.176Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T16:00:06.437Z] ---> Running in f1d269295d7b [2022-11-08T16:00:06.437Z] Removing intermediate container f1d269295d7b [2022-11-08T16:00:06.437Z] ---> a63ea434d286 [2022-11-08T16:00:06.437Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T16:00:06.437Z] ---> Running in 109f0092fcfa [2022-11-08T16:00:06.437Z] Removing intermediate container 109f0092fcfa [2022-11-08T16:00:06.437Z] ---> 0dabb554274a [2022-11-08T16:00:06.437Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2022-11-08T16:00:06.437Z] ---> Running in f48e5c229639 [2022-11-08T16:00:06.695Z] Removing intermediate container f48e5c229639 [2022-11-08T16:00:06.695Z] ---> 40c0ddb7fc4b [2022-11-08T16:00:06.695Z] Step 6/25 : WORKDIR /device-virtual-go [2022-11-08T16:00:06.695Z] ---> Running in 5a1b431693ea [2022-11-08T16:00:06.695Z] Removing intermediate container 5a1b431693ea [2022-11-08T16:00:06.695Z] ---> 83b51cb05435 [2022-11-08T16:00:06.695Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T16:00:06.695Z] ---> Running in 907f06c6db55 [2022-11-08T16:00:06.955Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T16:00:07.215Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T16:00:07.474Z] OK: 216 MiB in 55 packages [2022-11-08T16:00:07.735Z] Removing intermediate container 907f06c6db55 [2022-11-08T16:00:07.735Z] ---> 7e760ae7b5ca [2022-11-08T16:00:07.735Z] Step 8/25 : COPY go.mod vendor* ./ [2022-11-08T16:00:07.735Z] ---> 92543a4802f2 [2022-11-08T16:00:07.735Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T16:00:07.994Z] ---> Running in 29f1b1f9cf9e [2022-11-08T16:00:08.567Z] Removing intermediate container 29f1b1f9cf9e [2022-11-08T16:00:08.568Z] ---> 76e4bee0a598 [2022-11-08T16:00:08.568Z] Step 10/25 : COPY . . [2022-11-08T16:00:09.135Z] ---> 120ade1ca216 [2022-11-08T16:00:09.135Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T16:00:09.135Z] ---> Running in c038690a149c [2022-11-08T16:00:09.135Z] Removing intermediate container c038690a149c [2022-11-08T16:00:09.135Z] ---> 6cc64c68ed2f [2022-11-08T16:00:09.135Z] Step 12/25 : RUN $MAKE [2022-11-08T16:00:09.135Z] ---> Running in 9ac1a0cbf80f [2022-11-08T16:00:09.393Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-11-08T16:00:31.322Z] Removing intermediate container 9ac1a0cbf80f [2022-11-08T16:00:31.322Z] ---> 60cd69e11944 [2022-11-08T16:00:31.322Z] Step 13/25 : FROM alpine:3.16 [2022-11-08T16:00:31.322Z] 3.16: Pulling from library/alpine [2022-11-08T16:00:31.322Z] 213ec9aee27d: Already exists [2022-11-08T16:00:31.322Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-08T16:00:31.322Z] Status: Downloaded newer image for alpine:3.16 [2022-11-08T16:00:31.322Z] ---> 9c6f07244728 [2022-11-08T16:00:31.322Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-11-08T16:00:31.322Z] ---> Running in 363fcfb38cc0 [2022-11-08T16:00:31.322Z] Removing intermediate container 363fcfb38cc0 [2022-11-08T16:00:31.322Z] ---> b573d235f9e1 [2022-11-08T16:00:31.322Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-08T16:00:31.322Z] ---> Running in 179e3dcd6bc6 [2022-11-08T16:00:31.322Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T16:00:31.322Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T16:00:31.580Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-08T16:00:31.580Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-08T16:00:31.580Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-08T16:00:31.580Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-08T16:00:31.580Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-08T16:00:31.580Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-08T16:00:31.580Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T16:00:31.580Z] OK: 8 MiB in 20 packages [2022-11-08T16:00:32.159Z] Removing intermediate container 179e3dcd6bc6 [2022-11-08T16:00:32.159Z] ---> 497023848099 [2022-11-08T16:00:32.159Z] Step 16/25 : WORKDIR / [2022-11-08T16:00:32.159Z] ---> Running in 029ccfb0304e [2022-11-08T16:00:32.159Z] Removing intermediate container 029ccfb0304e [2022-11-08T16:00:32.159Z] ---> fa914875d464 [2022-11-08T16:00:32.159Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-11-08T16:00:32.159Z] ---> e7438f9e46d9 [2022-11-08T16:00:32.159Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2022-11-08T16:00:32.419Z] ---> 51ce222616e0 [2022-11-08T16:00:32.419Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2022-11-08T16:00:33.360Z] ---> e0739838d435 [2022-11-08T16:00:33.360Z] Step 20/25 : EXPOSE 59900 [2022-11-08T16:00:33.360Z] ---> Running in 2a9c6af077af [2022-11-08T16:00:33.360Z] Removing intermediate container 2a9c6af077af [2022-11-08T16:00:33.360Z] ---> 42992421c60c [2022-11-08T16:00:33.360Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2022-11-08T16:00:33.360Z] ---> Running in 64abaf12e76e [2022-11-08T16:00:33.360Z] Removing intermediate container 64abaf12e76e [2022-11-08T16:00:33.360Z] ---> 2d68672f49ea [2022-11-08T16:00:33.360Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-08T16:00:33.360Z] ---> Running in 841ec0e79523 [2022-11-08T16:00:33.360Z] Removing intermediate container 841ec0e79523 [2022-11-08T16:00:33.360Z] ---> c6e0aca9a002 [2022-11-08T16:00:33.360Z] Step 23/25 : LABEL arch=amd64 [2022-11-08T16:00:33.360Z] ---> Running in 713eeb88f832 [2022-11-08T16:00:33.621Z] Removing intermediate container 713eeb88f832 [2022-11-08T16:00:33.621Z] ---> 1a7424d5b4e0 [2022-11-08T16:00:33.621Z] Step 24/25 : LABEL git_sha=057a1dd692cb57415318ec4c6084d5f03d04d2b3 [2022-11-08T16:00:33.621Z] ---> Running in 85755741a9c9 [2022-11-08T16:00:33.622Z] Removing intermediate container 85755741a9c9 [2022-11-08T16:00:33.622Z] ---> 66ac637e3fbe [2022-11-08T16:00:33.622Z] Step 25/25 : LABEL version=0.0.0 [2022-11-08T16:00:33.622Z] ---> Running in 71dbf9ffbda6 [2022-11-08T16:00:33.622Z] Removing intermediate container 71dbf9ffbda6 [2022-11-08T16:00:33.622Z] ---> ab077d90d61a [2022-11-08T16:00:33.622Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-08T16:00:33.622Z] Successfully built ab077d90d61a [2022-11-08T16:00:33.622Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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-08T16:00:34.516Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T16:00:34.516Z] [2022-11-08T16:00:34.516Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:00:34.888Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T16:00:34.888Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-08T16:00:34.888Z] 5eb5b503b376: Pulling fs layer [2022-11-08T16:00:34.888Z] 5c69ac0246d0: Pulling fs layer [2022-11-08T16:00:34.888Z] ec43610c2a17: Pulling fs layer [2022-11-08T16:00:34.888Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-08T16:00:34.888Z] 33b1e0a273af: Pulling fs layer [2022-11-08T16:00:34.888Z] 5d3b04190fa2: Pulling fs layer [2022-11-08T16:00:34.888Z] 2f39f015ded8: Pulling fs layer [2022-11-08T16:00:34.888Z] 3a2ae6a8a46f: Waiting [2022-11-08T16:00:34.888Z] 33b1e0a273af: Waiting [2022-11-08T16:00:34.888Z] 5d3b04190fa2: Waiting [2022-11-08T16:00:34.888Z] 2f39f015ded8: Waiting [2022-11-08T16:00:34.888Z] 5c69ac0246d0: Verifying Checksum [2022-11-08T16:00:34.888Z] 5c69ac0246d0: Download complete [2022-11-08T16:00:34.888Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-08T16:00:34.888Z] 3a2ae6a8a46f: Download complete [2022-11-08T16:00:35.147Z] 33b1e0a273af: Verifying Checksum [2022-11-08T16:00:35.147Z] 33b1e0a273af: Download complete [2022-11-08T16:00:35.147Z] 5d3b04190fa2: Verifying Checksum [2022-11-08T16:00:35.147Z] 5d3b04190fa2: Download complete [2022-11-08T16:00:35.147Z] ec43610c2a17: Verifying Checksum [2022-11-08T16:00:35.147Z] ec43610c2a17: Download complete [2022-11-08T16:00:35.147Z] 5eb5b503b376: Verifying Checksum [2022-11-08T16:00:35.147Z] 5eb5b503b376: Download complete [2022-11-08T16:00:35.713Z] 2f39f015ded8: Download complete [2022-11-08T16:00:36.278Z] 5eb5b503b376: Pull complete [2022-11-08T16:00:36.536Z] 5c69ac0246d0: Pull complete [2022-11-08T16:00:37.102Z] ec43610c2a17: Pull complete [2022-11-08T16:00:37.102Z] 3a2ae6a8a46f: Pull complete [2022-11-08T16:00:37.102Z] 33b1e0a273af: Pull complete [2022-11-08T16:00:37.361Z] 5d3b04190fa2: Pull complete [2022-11-08T16:00:41.546Z] 2f39f015ded8: Pull complete [2022-11-08T16:00:41.546Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-08T16:00:41.546Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T16:00:41.546Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:00:41.764Z] prd-ubuntu20.04-docker-8c-8g-118613 does not seem to be running inside a container [2022-11-08T16:00:41.795Z] $ 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-320 -v /w/workspace/foundry_device-virtual-go_PR-320:/w/workspace/foundry_device-virtual-go_PR-320:rw,z -v /w/workspace/foundry_device-virtual-go_PR-320@tmp:/w/workspace/foundry_device-virtual-go_PR-320@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-08T16:00:44.606Z] $ docker top 064e9307e291b455580350ae506a753a3a65cb29df581074f0dd3961f00b0e69 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:00:45.033Z] ---> job-cost.sh [2022-11-08T16:00:45.033Z] lf-activate-venv: SKIPPING [2022-11-08T16:00:45.033Z] INFO: No Stack... [2022-11-08T16:00:45.293Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T16:00:45.552Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T16:00:45.865Z] + cat /w/workspace/foundry_device-virtual-go_PR-320/archives/cost.csv [2022-11-08T16:00:45.865Z] + cut -d, -f6 [Pipeline] lock [2022-11-08T16:00:45.903Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-320-1-stack-cost] [2022-11-08T16:00:45.908Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-320-1-stack-cost] did not exist. Created. [2022-11-08T16:00:45.908Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-320-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T16:00:46.295Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-08T16:00:46.348Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T16:00:46.376Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-320-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T16:00:46.459Z] $ docker stop --time=1 064e9307e291b455580350ae506a753a3a65cb29df581074f0dd3961f00b0e69 [2022-11-08T16:00:47.616Z] $ docker rm -f 064e9307e291b455580350ae506a753a3a65cb29df581074f0dd3961f00b0e69 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-08T16:02:02.854Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118615 in /w/workspace/foundry_device-virtual-go_PR-320 [Pipeline] { [Pipeline] ws [2022-11-08T16:02:02.897Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-11-08T16:02:02.973Z] The recommended git tool is: git [2022-11-08T16:02:09.180Z] using credential edgex-jenkins-ssh [2022-11-08T16:02:09.201Z] Cloning the remote Git repository [2022-11-08T16:02:09.256Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-11-08T16:02:09.344Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-11-08T16:02:09.516Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-11-08T16:02:09.517Z] > git --version # timeout=10 [2022-11-08T16:02:09.537Z] > git --version # 'git version 2.25.1' [2022-11-08T16:02:09.539Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T16:02:09.589Z] Verifying host key using known hosts file [2022-11-08T16:02:09.839Z] 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-08T16:02:09.859Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T16:02:12.197Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-11-08T16:02:12.223Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T16:02:13.210Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-11-08T16:02:13.251Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-11-08T16:02:13.252Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T16:02:13.258Z] Verifying host key using known hosts file [2022-11-08T16:02:13.265Z] 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-08T16:02:13.277Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/320/head:refs/remotes/origin/PR-320 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-08T16:02:13.931Z] Merging remotes/origin/main commit bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 into PR head commit 057a1dd692cb57415318ec4c6084d5f03d04d2b3 [2022-11-08T16:02:14.210Z] Merge succeeded, producing 057a1dd692cb57415318ec4c6084d5f03d04d2b3 [2022-11-08T16:02:14.210Z] Checking out Revision 057a1dd692cb57415318ec4c6084d5f03d04d2b3 (PR-320) [2022-11-08T16:02:13.952Z] > git config core.sparsecheckout # timeout=10 [2022-11-08T16:02:13.979Z] > git checkout -f 057a1dd692cb57415318ec4c6084d5f03d04d2b3 # timeout=10 [2022-11-08T16:02:14.082Z] > git remote # timeout=10 [2022-11-08T16:02:14.109Z] > git config --get remote.origin.url # timeout=10 [2022-11-08T16:02:14.134Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T16:02:14.140Z] Verifying host key using known hosts file [2022-11-08T16:02:14.146Z] 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-08T16:02:14.158Z] > git merge bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 # timeout=10 [2022-11-08T16:02:14.185Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-08T16:02:14.219Z] > git config core.sparsecheckout # timeout=10 [2022-11-08T16:02:14.236Z] > git checkout -f 057a1dd692cb57415318ec4c6084d5f03d04d2b3 # timeout=10 [2022-11-08T16:02:17.778Z] Commit message: "build: Update to use released SDK and go-mods" [2022-11-08T16:02:17.833Z] > git --version # timeout=10 [2022-11-08T16:02:17.846Z] > git --version # 'git version 2.25.1' [2022-11-08T16:02:17.859Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T16:02:18.967Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-08T16:02:18.967Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-08T16:02:18.967Z] Dload Upload Total Spent Left Speed [2022-11-08T16:02:18.967Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 208k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh [2022-11-08T16:02:19.681Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-08T16:02:20.019Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-08T16:02:20.019Z] + sudo tee /etc/docker/daemon.new [2022-11-08T16:02:20.019Z] { [2022-11-08T16:02:20.019Z] "registry-mirrors": [ [2022-11-08T16:02:20.019Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-08T16:02:20.019Z] ], [2022-11-08T16:02:20.019Z] "bip": "10.250.0.254/24", [2022-11-08T16:02:20.019Z] "hosts": [ [2022-11-08T16:02:20.019Z] "tcp://0.0.0.0:5555", [2022-11-08T16:02:20.019Z] "unix:///var/run/docker.sock" [2022-11-08T16:02:20.019Z] ], [2022-11-08T16:02:20.019Z] "mtu": 1458, [2022-11-08T16:02:20.019Z] "selinux-enabled": true, [2022-11-08T16:02:20.020Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-08T16:02:20.020Z] } [Pipeline] sh [2022-11-08T16:02:20.371Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-08T16:02:20.737Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T16:02:39.076Z] provisioning config files... [2022-11-08T16:02:39.106Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config10005824446702871876tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:02:39.501Z] ---> docker-login.sh [2022-11-08T16:02:39.501Z] nexus3.edgexfoundry.org:10001 [2022-11-08T16:02:40.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:02:40.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:02:40.096Z] Configure a credential helper to remove this warning. See [2022-11-08T16:02:40.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:02:40.096Z] [2022-11-08T16:02:40.096Z] Login Succeeded [2022-11-08T16:02:40.096Z] nexus3.edgexfoundry.org:10002 [2022-11-08T16:02:40.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:02:40.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:02:40.643Z] Configure a credential helper to remove this warning. See [2022-11-08T16:02:40.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:02:40.643Z] [2022-11-08T16:02:40.643Z] Login Succeeded [2022-11-08T16:02:40.643Z] nexus3.edgexfoundry.org:10003 [2022-11-08T16:02:40.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:02:40.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:02:40.915Z] Configure a credential helper to remove this warning. See [2022-11-08T16:02:40.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:02:40.915Z] [2022-11-08T16:02:40.915Z] Login Succeeded [2022-11-08T16:02:40.915Z] nexus3.edgexfoundry.org:10004 [2022-11-08T16:02:41.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:02:41.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:02:41.468Z] Configure a credential helper to remove this warning. See [2022-11-08T16:02:41.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:02:41.468Z] [2022-11-08T16:02:41.468Z] Login Succeeded [2022-11-08T16:02:41.468Z] docker.io [2022-11-08T16:02:41.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:02:42.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:02:42.008Z] Configure a credential helper to remove this warning. See [2022-11-08T16:02:42.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:02:42.008Z] [2022-11-08T16:02:42.008Z] Login Succeeded [2022-11-08T16:02:42.008Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T16:02:42.039Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T16:02:42.343Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T16:02:42.378Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T16:02:42.411Z] ========================================================= [2022-11-08T16:02:42.411Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-08T16:02:42.411Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:02:42.921Z] + 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-08T16:02:43.196Z] Sending build context to Docker daemon 11.8MB [2022-11-08T16:02:43.474Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T16:02:43.474Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-08T16:02:43.474Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-08T16:02:43.474Z] 9b18e9b68314: Pulling fs layer [2022-11-08T16:02:43.474Z] 35d82f9e3411: Pulling fs layer [2022-11-08T16:02:43.474Z] e16973657156: Pulling fs layer [2022-11-08T16:02:43.474Z] fc693d55d65f: Pulling fs layer [2022-11-08T16:02:43.474Z] 7e9fc2657dce: Pulling fs layer [2022-11-08T16:02:43.474Z] dda99020689f: Pulling fs layer [2022-11-08T16:02:43.474Z] db1c61fa0a46: Pulling fs layer [2022-11-08T16:02:43.474Z] 891c053d2c06: Pulling fs layer [2022-11-08T16:02:43.474Z] dda99020689f: Waiting [2022-11-08T16:02:43.474Z] db1c61fa0a46: Waiting [2022-11-08T16:02:43.474Z] fc693d55d65f: Waiting [2022-11-08T16:02:43.474Z] 7e9fc2657dce: Waiting [2022-11-08T16:02:43.474Z] 891c053d2c06: Waiting [2022-11-08T16:02:43.474Z] e16973657156: Verifying Checksum [2022-11-08T16:02:43.474Z] e16973657156: Download complete [2022-11-08T16:02:43.474Z] 35d82f9e3411: Verifying Checksum [2022-11-08T16:02:43.474Z] 35d82f9e3411: Download complete [2022-11-08T16:02:43.763Z] 7e9fc2657dce: Verifying Checksum [2022-11-08T16:02:43.763Z] 7e9fc2657dce: Download complete [2022-11-08T16:02:43.763Z] dda99020689f: Verifying Checksum [2022-11-08T16:02:43.763Z] dda99020689f: Download complete [2022-11-08T16:02:43.763Z] 9b18e9b68314: Verifying Checksum [2022-11-08T16:02:43.763Z] 9b18e9b68314: Download complete [2022-11-08T16:02:44.741Z] 9b18e9b68314: Pull complete [2022-11-08T16:02:45.014Z] 891c053d2c06: Verifying Checksum [2022-11-08T16:02:45.014Z] 891c053d2c06: Download complete [2022-11-08T16:02:45.611Z] 35d82f9e3411: Pull complete [2022-11-08T16:02:45.611Z] e16973657156: Pull complete [2022-11-08T16:02:46.583Z] db1c61fa0a46: Verifying Checksum [2022-11-08T16:02:46.583Z] db1c61fa0a46: Download complete [2022-11-08T16:02:46.853Z] fc693d55d65f: Verifying Checksum [2022-11-08T16:02:46.853Z] fc693d55d65f: Download complete [2022-11-08T16:03:01.880Z] fc693d55d65f: Pull complete [2022-11-08T16:03:01.881Z] 7e9fc2657dce: Pull complete [2022-11-08T16:03:01.881Z] dda99020689f: Pull complete [2022-11-08T16:03:07.297Z] db1c61fa0a46: Pull complete [2022-11-08T16:03:08.712Z] 891c053d2c06: Pull complete [2022-11-08T16:03:08.981Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-08T16:03:08.981Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-08T16:03:08.981Z] ---> f96f9c87975a [2022-11-08T16:03:08.981Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T16:03:10.410Z] ---> Running in 5ac67ac732d9 [2022-11-08T16:03:10.680Z] Removing intermediate container 5ac67ac732d9 [2022-11-08T16:03:10.680Z] ---> 25294b10e627 [2022-11-08T16:03:10.680Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T16:03:10.680Z] ---> Running in a60246bbc742 [2022-11-08T16:03:11.267Z] Removing intermediate container a60246bbc742 [2022-11-08T16:03:11.267Z] ---> d6cf3f83268d [2022-11-08T16:03:11.267Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2022-11-08T16:03:11.267Z] ---> Running in 4a27dbc32291 [2022-11-08T16:03:11.536Z] Removing intermediate container 4a27dbc32291 [2022-11-08T16:03:11.536Z] ---> 1bd205764da7 [2022-11-08T16:03:11.536Z] Step 6/12 : WORKDIR /device-virtual-go [2022-11-08T16:03:11.536Z] ---> Running in f2ccb1db9c13 [2022-11-08T16:03:12.127Z] Removing intermediate container f2ccb1db9c13 [2022-11-08T16:03:12.127Z] ---> fec307f8f69d [2022-11-08T16:03:12.127Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T16:03:12.127Z] ---> Running in 64f592248e18 [2022-11-08T16:03:13.542Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T16:03:13.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T16:03:14.781Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-08T16:03:14.781Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-08T16:03:15.051Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-08T16:03:15.051Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-08T16:03:15.051Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T16:03:15.051Z] OK: 226 MiB in 55 packages [2022-11-08T16:03:16.473Z] Removing intermediate container 64f592248e18 [2022-11-08T16:03:16.473Z] ---> 046d895dee33 [2022-11-08T16:03:16.473Z] Step 8/12 : COPY go.mod vendor* ./ [2022-11-08T16:03:16.744Z] ---> c7236defe269 [2022-11-08T16:03:16.744Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T16:03:17.016Z] ---> Running in fe76c1a416c0 [2022-11-08T16:04:13.619Z] Removing intermediate container fe76c1a416c0 [2022-11-08T16:04:13.619Z] ---> 056a40f64b42 [2022-11-08T16:04:13.619Z] Step 10/12 : COPY . . [2022-11-08T16:04:13.619Z] ---> 1cfcb5dc5697 [2022-11-08T16:04:13.619Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T16:04:13.619Z] ---> Running in e8e737d2e2ec [2022-11-08T16:04:13.619Z] Removing intermediate container e8e737d2e2ec [2022-11-08T16:04:13.619Z] ---> d434bf8a2aa2 [2022-11-08T16:04:13.619Z] Step 12/12 : RUN $MAKE [2022-11-08T16:04:13.619Z] ---> Running in 9c66abfb22a2 [2022-11-08T16:04:13.619Z] noop [2022-11-08T16:04:14.208Z] Removing intermediate container 9c66abfb22a2 [2022-11-08T16:04:14.208Z] ---> b47d2afb58f9 [2022-11-08T16:04:14.208Z] Successfully built b47d2afb58f9 [2022-11-08T16:04:14.208Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:04:14.676Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T16:04:14.676Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:04:14.947Z] prd-ubuntu20.04-docker-arm64-4c-16g-118615 does not seem to be running inside a container [2022-11-08T16:04:15.024Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** ci-base-image-arm64 cat [2022-11-08T16:04:16.325Z] $ docker top 68901c5a6fcaebfe52ebc8f17d70ce065fd2d04e3c3b49f0fd2b457696e88b60 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T16:04:17.255Z] + go version [2022-11-08T16:04:17.255Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-08T16:04:17.302Z] $ docker stop --time=1 68901c5a6fcaebfe52ebc8f17d70ce065fd2d04e3c3b49f0fd2b457696e88b60 [2022-11-08T16:04:19.070Z] $ docker rm -f 68901c5a6fcaebfe52ebc8f17d70ce065fd2d04e3c3b49f0fd2b457696e88b60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:04:19.960Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T16:04:19.961Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:04:20.239Z] prd-ubuntu20.04-docker-arm64-4c-16g-118615 does not seem to be running inside a container [2022-11-08T16:04:20.325Z] $ 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/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** ci-base-image-arm64 cat [2022-11-08T16:04:21.725Z] $ docker top 68da7daa222ed0874484a4a576d67d03cd0dffe43dbc05065f0aba24032e17e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T16:04:22.655Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2022-11-08T16:04:23.375Z] + make test [2022-11-08T16:04:23.375Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-08T16:04:25.328Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-11-08T16:06:02.045Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-11-08T16:06:04.002Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.145s coverage: 65.7% of statements [2022-11-08T16:06:04.593Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-08T16:06:04.593Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-08T16:06:36.839Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-08T16:06:36.839Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-08T16:06:36.839Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-08T16:06:36.879Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-08T16:06:36.918Z] $ docker stop --time=1 68da7daa222ed0874484a4a576d67d03cd0dffe43dbc05065f0aba24032e17e2 [2022-11-08T16:06:38.890Z] $ docker rm -f 68da7daa222ed0874484a4a576d67d03cd0dffe43dbc05065f0aba24032e17e2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T16:06:40.259Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-08T16:06:40.292Z] Warning: overwriting stash ‘coverage-report’ [2022-11-08T16:06:40.967Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T16:06:41.582Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-08T16:06:41.943Z] + ls -al . [2022-11-08T16:06:41.943Z] total 200 [2022-11-08T16:06:41.943Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 16:04 . [2022-11-08T16:06:41.943Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:02 .. [2022-11-08T16:06:41.943Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 16:02 .git [2022-11-08T16:06:41.943Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:02 .github [2022-11-08T16:06:41.943Z] -rw-rw-r-- 1 jenkins jenkins 337 Nov 8 16:02 .gitignore [2022-11-08T16:06:41.943Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 16:02 .golangci.yml [2022-11-08T16:06:41.943Z] -rw-rw-r-- 1 jenkins jenkins 8527 Nov 8 16:02 Attribution.txt [2022-11-08T16:06:41.943Z] -rw-rw-r-- 1 jenkins jenkins 11367 Nov 8 16:02 CHANGELOG.md [2022-11-08T16:06:41.943Z] -rw-rw-r-- 1 jenkins jenkins 1709 Nov 8 16:02 Dockerfile [2022-11-08T16:06:41.943Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 16:02 GOVERNANCE.md [2022-11-08T16:06:41.943Z] -rw-rw-r-- 1 jenkins jenkins 660 Nov 8 16:02 Jenkinsfile [2022-11-08T16:06:41.943Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 16:02 LICENSE [2022-11-08T16:06:41.943Z] -rw-rw-r-- 1 jenkins jenkins 2457 Nov 8 16:02 Makefile [2022-11-08T16:06:41.943Z] -rw-rw-r-- 1 jenkins jenkins 623 Nov 8 16:02 OWNERS.md [2022-11-08T16:06:41.943Z] -rw-rw-r-- 1 jenkins jenkins 3578 Nov 8 16:02 README.md [2022-11-08T16:06:41.943Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 15:59 VERSION [2022-11-08T16:06:41.943Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 16:02 bin [2022-11-08T16:06:41.943Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:02 cmd [2022-11-08T16:06:41.943Z] -rw-r--r-- 1 jenkins jenkins 44128 Nov 8 16:06 coverage.out [2022-11-08T16:06:41.943Z] -rw-rw-r-- 1 jenkins jenkins 3339 Nov 8 16:02 go.mod [2022-11-08T16:06:41.943Z] -rw-rw-r-- 1 jenkins jenkins 44445 Nov 8 16:02 go.sum [2022-11-08T16:06:41.943Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:02 internal [2022-11-08T16:06:41.943Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:02 snap [2022-11-08T16:06:41.943Z] -rw-rw-r-- 1 jenkins jenkins 235 Nov 8 16:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:06:42.369Z] + 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=057a1dd692cb57415318ec4c6084d5f03d04d2b3 --label arch=arm64 --label version=0.0.0 . [2022-11-08T16:06:42.955Z] Sending build context to Docker daemon 11.85MB [2022-11-08T16:06:42.955Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T16:06:42.955Z] Step 2/25 : FROM ${BASE} AS builder [2022-11-08T16:06:42.955Z] ---> b47d2afb58f9 [2022-11-08T16:06:42.955Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T16:06:42.955Z] ---> Running in 2749f489792f [2022-11-08T16:06:43.543Z] Removing intermediate container 2749f489792f [2022-11-08T16:06:43.543Z] ---> 7af4aaec6b2f [2022-11-08T16:06:43.543Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T16:06:43.543Z] ---> Running in e9f8eace8eb4 [2022-11-08T16:06:43.812Z] Removing intermediate container e9f8eace8eb4 [2022-11-08T16:06:43.812Z] ---> 560ae4485f42 [2022-11-08T16:06:43.812Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2022-11-08T16:06:43.812Z] ---> Running in 6a650d75d014 [2022-11-08T16:06:44.398Z] Removing intermediate container 6a650d75d014 [2022-11-08T16:06:44.398Z] ---> 4d88ad47c84e [2022-11-08T16:06:44.398Z] Step 6/25 : WORKDIR /device-virtual-go [2022-11-08T16:06:44.398Z] ---> Running in 54ff45a67a4c [2022-11-08T16:06:44.772Z] Removing intermediate container 54ff45a67a4c [2022-11-08T16:06:44.772Z] ---> 8962a610801c [2022-11-08T16:06:44.772Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T16:06:44.772Z] ---> Running in 9e46c8d642dd [2022-11-08T16:06:46.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T16:06:46.566Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T16:06:47.586Z] OK: 226 MiB in 55 packages [2022-11-08T16:06:49.033Z] Removing intermediate container 9e46c8d642dd [2022-11-08T16:06:49.033Z] ---> 7413b341694b [2022-11-08T16:06:49.033Z] Step 8/25 : COPY go.mod vendor* ./ [2022-11-08T16:06:50.004Z] ---> 30299d94b71e [2022-11-08T16:06:50.004Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T16:06:50.004Z] ---> Running in eb5c8b98e4b7 [2022-11-08T16:06:52.602Z] Removing intermediate container eb5c8b98e4b7 [2022-11-08T16:06:52.602Z] ---> 026847a1392e [2022-11-08T16:06:52.602Z] Step 10/25 : COPY . . [2022-11-08T16:06:53.577Z] ---> c00b0fe1edd8 [2022-11-08T16:06:53.577Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T16:06:53.850Z] ---> Running in f452f4fa493a [2022-11-08T16:06:54.122Z] Removing intermediate container f452f4fa493a [2022-11-08T16:06:54.122Z] ---> 2ba23b8c60f8 [2022-11-08T16:06:54.122Z] Step 12/25 : RUN $MAKE [2022-11-08T16:06:54.122Z] ---> Running in 4ab972173950 [2022-11-08T16:06:55.551Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-11-08T16:09:32.326Z] Removing intermediate container 4ab972173950 [2022-11-08T16:09:32.326Z] ---> 8ff06412b387 [2022-11-08T16:09:32.326Z] Step 13/25 : FROM alpine:3.16 [2022-11-08T16:09:32.326Z] 3.16: Pulling from library/alpine [2022-11-08T16:09:32.326Z] 9b18e9b68314: Already exists [2022-11-08T16:09:32.326Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-08T16:09:32.326Z] Status: Downloaded newer image for alpine:3.16 [2022-11-08T16:09:32.326Z] ---> a6215f271958 [2022-11-08T16:09:32.326Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-11-08T16:09:32.326Z] ---> Running in 5103f95deb0d [2022-11-08T16:09:32.326Z] Removing intermediate container 5103f95deb0d [2022-11-08T16:09:32.326Z] ---> 11802aca6395 [2022-11-08T16:09:32.326Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-08T16:09:32.326Z] ---> Running in 284f11dc2f14 [2022-11-08T16:09:32.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T16:09:33.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T16:09:34.589Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-08T16:09:34.589Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-08T16:09:34.589Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-08T16:09:34.589Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-08T16:09:34.589Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-08T16:09:34.589Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-08T16:09:34.589Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T16:09:34.589Z] OK: 8 MiB in 20 packages [2022-11-08T16:09:35.551Z] Removing intermediate container 284f11dc2f14 [2022-11-08T16:09:35.551Z] ---> a0ab751b6279 [2022-11-08T16:09:35.551Z] Step 16/25 : WORKDIR / [2022-11-08T16:09:35.551Z] ---> Running in 5b8ff75d8faf [2022-11-08T16:09:35.819Z] Removing intermediate container 5b8ff75d8faf [2022-11-08T16:09:35.819Z] ---> 501fd7d83a5f [2022-11-08T16:09:35.819Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-11-08T16:09:36.089Z] ---> c1ce07891a9e [2022-11-08T16:09:36.089Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2022-11-08T16:09:36.676Z] ---> 2b21b201a589 [2022-11-08T16:09:36.676Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2022-11-08T16:09:38.087Z] ---> be65152cd3ea [2022-11-08T16:09:38.087Z] Step 20/25 : EXPOSE 59900 [2022-11-08T16:09:38.087Z] ---> Running in c0e1e2abfef3 [2022-11-08T16:09:38.354Z] Removing intermediate container c0e1e2abfef3 [2022-11-08T16:09:38.354Z] ---> 68865a13f82a [2022-11-08T16:09:38.354Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2022-11-08T16:09:38.354Z] ---> Running in 2cac74a7340b [2022-11-08T16:09:38.936Z] Removing intermediate container 2cac74a7340b [2022-11-08T16:09:38.936Z] ---> 760997ecf940 [2022-11-08T16:09:38.936Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-08T16:09:38.936Z] ---> Running in cdb2a7c91e3d [2022-11-08T16:09:39.204Z] Removing intermediate container cdb2a7c91e3d [2022-11-08T16:09:39.204Z] ---> 9baf32d6a378 [2022-11-08T16:09:39.204Z] Step 23/25 : LABEL arch=arm64 [2022-11-08T16:09:39.204Z] ---> Running in e4f5351a4111 [2022-11-08T16:09:39.470Z] Removing intermediate container e4f5351a4111 [2022-11-08T16:09:39.470Z] ---> 5ec34dadcb40 [2022-11-08T16:09:39.470Z] Step 24/25 : LABEL git_sha=057a1dd692cb57415318ec4c6084d5f03d04d2b3 [2022-11-08T16:09:39.470Z] ---> Running in 8081dea1ed54 [2022-11-08T16:09:39.739Z] Removing intermediate container 8081dea1ed54 [2022-11-08T16:09:39.739Z] ---> a5a15b2eaeb0 [2022-11-08T16:09:39.739Z] Step 25/25 : LABEL version=0.0.0 [2022-11-08T16:09:39.739Z] ---> Running in 6d55e54aa111 [2022-11-08T16:09:40.324Z] Removing intermediate container 6d55e54aa111 [2022-11-08T16:09:40.324Z] ---> b3ba30e8bd6a [2022-11-08T16:09:40.324Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-08T16:09:40.324Z] Successfully built b3ba30e8bd6a [2022-11-08T16:09:40.324Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:09:41.159Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T16:09:41.159Z] [2022-11-08T16:09:41.159Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:09:41.567Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T16:09:41.567Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-08T16:09:41.567Z] 8998bd30e6a1: Pulling fs layer [2022-11-08T16:09:41.567Z] 04944245beec: Pulling fs layer [2022-11-08T16:09:41.567Z] 699f458cf7ca: Pulling fs layer [2022-11-08T16:09:41.567Z] 765212b225bb: Pulling fs layer [2022-11-08T16:09:41.567Z] f23df028b6ca: Pulling fs layer [2022-11-08T16:09:41.567Z] d65c8cfc05b1: Pulling fs layer [2022-11-08T16:09:41.567Z] 2437ff75d9bd: Pulling fs layer [2022-11-08T16:09:41.567Z] 765212b225bb: Waiting [2022-11-08T16:09:41.567Z] d65c8cfc05b1: Waiting [2022-11-08T16:09:41.567Z] f23df028b6ca: Waiting [2022-11-08T16:09:41.567Z] 2437ff75d9bd: Waiting [2022-11-08T16:09:41.836Z] 04944245beec: Verifying Checksum [2022-11-08T16:09:41.836Z] 04944245beec: Download complete [2022-11-08T16:09:41.836Z] 765212b225bb: Verifying Checksum [2022-11-08T16:09:41.836Z] 765212b225bb: Download complete [2022-11-08T16:09:41.836Z] f23df028b6ca: Verifying Checksum [2022-11-08T16:09:41.836Z] f23df028b6ca: Download complete [2022-11-08T16:09:41.836Z] d65c8cfc05b1: Verifying Checksum [2022-11-08T16:09:41.836Z] d65c8cfc05b1: Download complete [2022-11-08T16:09:42.105Z] 699f458cf7ca: Verifying Checksum [2022-11-08T16:09:42.105Z] 699f458cf7ca: Download complete [2022-11-08T16:09:42.373Z] 8998bd30e6a1: Download complete [2022-11-08T16:09:44.982Z] 2437ff75d9bd: Verifying Checksum [2022-11-08T16:09:44.982Z] 2437ff75d9bd: Download complete [2022-11-08T16:09:46.394Z] 8998bd30e6a1: Pull complete [2022-11-08T16:09:46.979Z] 04944245beec: Pull complete [2022-11-08T16:09:48.390Z] 699f458cf7ca: Pull complete [2022-11-08T16:09:48.390Z] 765212b225bb: Pull complete [2022-11-08T16:09:49.352Z] f23df028b6ca: Pull complete [2022-11-08T16:09:49.620Z] d65c8cfc05b1: Pull complete [2022-11-08T16:10:04.612Z] 2437ff75d9bd: Pull complete [2022-11-08T16:10:04.612Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-08T16:10:04.612Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T16:10:04.612Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:10:04.927Z] prd-ubuntu20.04-docker-arm64-4c-16g-118615 does not seem to be running inside a container [2022-11-08T16:10:05.004Z] $ 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/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-08T16:10:07.770Z] $ docker top 92d3e8e4c3dc2e7b6221d0888fc2966feccd37786ff971e23001003d368055b8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:10:08.668Z] ---> job-cost.sh [2022-11-08T16:10:08.668Z] lf-activate-venv: SKIPPING [2022-11-08T16:10:08.668Z] INFO: No Stack... [2022-11-08T16:10:08.937Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-08T16:10:09.899Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T16:10:10.555Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2022-11-08T16:10:10.556Z] + cut -d, -f6 [Pipeline] lock [2022-11-08T16:10:10.637Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-320-1-stack-cost] [2022-11-08T16:10:10.642Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-320-1-stack-cost] did not exist. Created. [2022-11-08T16:10:10.642Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-320-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T16:10:11.381Z] /w/workspace/device-virtual-go/1@tmp/durable-a7e80040/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-08T16:10:12.060Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-08T16:10:12.098Z] Warning: overwriting stash ‘stack-cost’ [2022-11-08T16:10:12.146Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T16:10:12.161Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-320-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T16:10:12.256Z] $ docker stop --time=1 92d3e8e4c3dc2e7b6221d0888fc2966feccd37786ff971e23001003d368055b8 [2022-11-08T16:10:13.767Z] $ docker rm -f 92d3e8e4c3dc2e7b6221d0888fc2966feccd37786ff971e23001003d368055b8 [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-08T16:10:14.706Z] provisioning config files... [2022-11-08T16:10:14.716Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-320@tmp/config15237315018508500995tmp [Pipeline] { [Pipeline] sh [2022-11-08T16:10:15.049Z] + set +x [2022-11-08T16:10:15.050Z] + curl -s https://codecov.io/bash [2022-11-08T16:10:15.050Z] + bash -s -- [2022-11-08T16:10:15.050Z] [2022-11-08T16:10:15.050Z] _____ _ [2022-11-08T16:10:15.050Z] / ____| | | [2022-11-08T16:10:15.050Z] | | ___ __| | ___ ___ _____ __ [2022-11-08T16:10:15.050Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-08T16:10:15.050Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-08T16:10:15.050Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-08T16:10:15.050Z] Bash-1.0.6 [2022-11-08T16:10:15.050Z] [2022-11-08T16:10:15.050Z] [2022-11-08T16:10:15.050Z] ==> git version 2.25.1 found [2022-11-08T16:10:15.050Z] ==> 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-08T16:10:15.050Z] Release-Date: 2020-01-08 [2022-11-08T16:10:15.050Z] 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-08T16:10:15.050Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-08T16:10:15.050Z] ==> Jenkins CI detected. [2022-11-08T16:10:15.050Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-320 [2022-11-08T16:10:15.050Z] project root: . [2022-11-08T16:10:15.050Z] --> token set from env [2022-11-08T16:10:15.050Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-08T16:10:15.050Z] ==> Running gcov in . (disable via -X gcov) [2022-11-08T16:10:15.050Z] ==> Python coveragepy not found [2022-11-08T16:10:15.050Z] ==> Searching for coverage reports in: [2022-11-08T16:10:15.050Z] + . [2022-11-08T16:10:15.050Z] -> Found 1 reports [2022-11-08T16:10:15.050Z] ==> Detecting git/mercurial file structure [2022-11-08T16:10:15.050Z] ==> Reading reports [2022-11-08T16:10:15.050Z] + ./coverage.out bytes=44128 [2022-11-08T16:10:15.050Z] ==> Appending adjustments [2022-11-08T16:10:15.050Z] https://docs.codecov.io/docs/fixing-reports [2022-11-08T16:10:15.309Z] + Found adjustments [2022-11-08T16:10:15.309Z] ==> Gzipping contents [2022-11-08T16:10:15.309Z] 8.0K /tmp/codecov.CwpjQj.gz [2022-11-08T16:10:15.309Z] ==> Uploading reports [2022-11-08T16:10:15.309Z] url: https://codecov.io [2022-11-08T16:10:15.309Z] query: branch=PR-320&commit=057a1dd692cb57415318ec4c6084d5f03d04d2b3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-320%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=320&job=&cmd_args= [2022-11-08T16:10:15.309Z] -> Pinging Codecov [2022-11-08T16:10:15.309Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-320&commit=057a1dd692cb57415318ec4c6084d5f03d04d2b3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-320%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=320&job=&cmd_args= [2022-11-08T16:10:15.568Z] -> Uploading to [2022-11-08T16:10:15.568Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-08/5E52B4B073DB2E39498172D8E973AA87/057a1dd692cb57415318ec4c6084d5f03d04d2b3/43c2c477-645e-4fc6-821d-e80855028715.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221108T161015Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fa748181f6c3a168e8c1c2cde4a107264b455ace7d3d09d5268a6e57c943d8e2 [2022-11-08T16:10:15.568Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-08T16:10:15.568Z] Dload Upload Total Spent Left Speed [2022-11-08T16:10:15.828Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5500 0 0 100 5500 0 27093 --:--:-- --:--:-- --:--:-- 26960 100 5500 0 0 100 5500 0 26315 --:--:-- --:--:-- --:--:-- 26190 [2022-11-08T16:10:15.828Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/057a1dd692cb57415318ec4c6084d5f03d04d2b3 [Pipeline] } [2022-11-08T16:10:15.852Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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-08T16:10:17.620Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-320/archives ] [2022-11-08T16:10:17.620Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-320/archives [2022-11-08T16:10:17.620Z] total 16 [2022-11-08T16:10:17.620Z] drwxr-xr-x 3 root root 4096 Nov 8 16:00 . [2022-11-08T16:10:17.620Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 16:00 .. [2022-11-08T16:10:17.620Z] drwxr-xr-x 2 root root 4096 Nov 8 16:00 cost [2022-11-08T16:10:17.620Z] -rw-r--r-- 1 root root 89 Nov 8 16:00 cost.csv [2022-11-08T16:10:17.620Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-320/archives [2022-11-08T16:10:17.620Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-320/archives [2022-11-08T16:10:17.620Z] total 16 [2022-11-08T16:10:17.620Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 16:00 . [2022-11-08T16:10:17.620Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 16:00 .. [2022-11-08T16:10:17.620Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 16:00 cost [2022-11-08T16:10:17.620Z] -rw-r--r-- 1 jenkins jenkins 89 Nov 8 16:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:10:17.946Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:10:18.837Z] ---> package-listing.sh [2022-11-08T16:10:18.837Z] ++ facter osfamily [2022-11-08T16:10:18.837Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-08T16:10:19.095Z] + OS_FAMILY=debian [2022-11-08T16:10:19.095Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-320 [2022-11-08T16:10:19.095Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-08T16:10:19.095Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-08T16:10:19.095Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-08T16:10:19.095Z] + PACKAGES=/tmp/packages_start.txt [2022-11-08T16:10:19.095Z] + '[' /w/workspace/foundry_device-virtual-go_PR-320 ']' [2022-11-08T16:10:19.095Z] + PACKAGES=/tmp/packages_end.txt [2022-11-08T16:10:19.095Z] + case "${OS_FAMILY}" in [2022-11-08T16:10:19.095Z] + grep '^ii' [2022-11-08T16:10:19.095Z] + dpkg -l [2022-11-08T16:10:19.095Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-08T16:10:19.095Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-08T16:10:19.095Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-08T16:10:19.095Z] + '[' /w/workspace/foundry_device-virtual-go_PR-320 ']' [2022-11-08T16:10:19.095Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-320/archives/ [2022-11-08T16:10:19.095Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-320/archives/ [Pipeline] echo [2022-11-08T16:10:19.132Z] 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-320/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-08T16:10:19.425Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:10:19.853Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T16:10:19.853Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:10:19.994Z] prd-ubuntu20.04-docker-8c-8g-118613 does not seem to be running inside a container [2022-11-08T16:10:20.026Z] $ 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-320/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-320 -v /w/workspace/foundry_device-virtual-go_PR-320:/w/workspace/foundry_device-virtual-go_PR-320:rw,z -v /w/workspace/foundry_device-virtual-go_PR-320@tmp:/w/workspace/foundry_device-virtual-go_PR-320@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-lftools-log-publisher:latest cat [2022-11-08T16:10:20.208Z] $ docker top 0e69e19aa9b3207f31dcc05b476587763d06071848f71731d5bfa353add6e827 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T16:10:20.591Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-08T16:10:20.901Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-08T16:10:21.210Z] + ls /var/log/sa-host [2022-11-08T16:10:21.210Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T16:10:21.362Z] provisioning config files... [2022-11-08T16:10:21.371Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-320@tmp/config14059407303320024995tmp [Pipeline] { [Pipeline] echo [2022-11-08T16:10:21.428Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:10:21.746Z] ---> create-netrc.sh [Pipeline] } [2022-11-08T16:10:21.775Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:10:22.247Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-08T16:10:22.278Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:10:22.599Z] ---> sudo-logs.sh [2022-11-08T16:10:22.599Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-08T16:10:22.683Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:10:23.005Z] ---> job-cost.sh [2022-11-08T16:10:23.005Z] lf-activate-venv: SKIPPING [2022-11-08T16:10:23.005Z] DEBUG: total: 0.2199999988079071 [2022-11-08T16:10:23.005Z] INFO: Retrieving Stack Cost... [2022-11-08T16:10:23.266Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T16:10:23.834Z] INFO: Archiving Costs [Pipeline] echo [2022-11-08T16:10:23.870Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:10:24.184Z] ---> logs-deploy.sh [2022-11-08T16:10:24.185Z] lf-activate-venv: SKIPPING [2022-11-08T16:10:24.185Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-320/1 [2022-11-08T16:10:24.185Z] INFO: archiving workspace using pattern(s): [2022-11-08T16:10:25.122Z] Archives upload complete. [2022-11-08T16:10:25.382Z] INFO: archiving logs to Nexus