Pull request #326 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 228435ea66986bfb839a97438588f89d5337111a+43843506565b1251b67769be00175dd520b99099 (59955a0b6b48a0962ebb9c4ae22a7d40448bb2a8) 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-ssh6289459463893708486.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7186779856428534841.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh 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-326/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-326/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16583687982197062990.key > 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-326/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17484842157440322736.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh6179834574158804488.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-326/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-326/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5043973978267041991.key > 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 ‘prd-centos7-blackbox-4c-2g-1315’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-1316’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-1630’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1632 in /w/workspace/foundry_device-virtual-go_PR-326 [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-326 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/326/head:refs/remotes/origin/PR-326 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 43843506565b1251b67769be00175dd520b99099 into PR head commit 228435ea66986bfb839a97438588f89d5337111a Merge succeeded, producing 228435ea66986bfb839a97438588f89d5337111a Checking out Revision 228435ea66986bfb839a97438588f89d5337111a (PR-326) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 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 [2023-01-10T18:20:27.027Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 228435ea66986bfb839a97438588f89d5337111a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 43843506565b1251b67769be00175dd520b99099 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 228435ea66986bfb839a97438588f89d5337111a # timeout=10 [Pipeline] withCredentials [2023-01-10T18:20:27.209Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-10T18:20:27.316Z] ========================================================= [2023-01-10T18:20:27.316Z] EdgeX Global Pipelines Version Info [2023-01-10T18:20:27.316Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-10T18:20:28.044Z] ------------------- [2023-01-10T18:20:28.045Z] stable info: [2023-01-10T18:20:28.045Z] ------------------- [2023-01-10T18:20:28.045Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-10T18:20:28.045Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T18:20:28.045Z] Message: update stable to v1.0.244 [2023-01-10T18:20:28.619Z] ------------------- [2023-01-10T18:20:28.619Z] experimental info: [2023-01-10T18:20:28.619Z] ------------------- [2023-01-10T18:20:28.619Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-10T18:20:28.619Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T18:20:28.619Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-10T18:20:28.987Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-01-10T18:20:29.025Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-01-10T18:20:29.068Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-10T18:20:29.104Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-10T18:20:29.147Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-10T18:20:29.184Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-10T18:20:29.222Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-10T18:20:29.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-10T18:20:29.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-10T18:20:29.329Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-10T18:20:29.364Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-10T18:20:29.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-01-10T18:20:29.449Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-10T18:20:29.493Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-10T18:20:29.529Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T18:20:29.570Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T18:20:29.608Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T18:20:29.645Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T18:20:29.685Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-10T18:20:29.724Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-10T18:20:29.766Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-10T18:20:29.807Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-10T18:20:29.844Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-10T18:20:29.881Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-10T18:20:29.920Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-10T18:20:29.957Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-10T18:20:29.998Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-10T18:20:30.038Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-326 [Pipeline] echo [2023-01-10T18:20:30.083Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-326 [Pipeline] echo [2023-01-10T18:20:30.122Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-326 [Pipeline] echo [2023-01-10T18:20:30.158Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 228435ea66986bfb839a97438588f89d5337111a [Pipeline] echo [2023-01-10T18:20:30.201Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 228435e [Pipeline] echo [2023-01-10T18:20:30.237Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T18:20:30.345Z] provisioning config files... [2023-01-10T18:20:30.358Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-326@tmp/config15933366487991127867tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T18:20:30.713Z] ---> docker-login.sh [2023-01-10T18:20:30.713Z] nexus3.edgexfoundry.org:10001 [2023-01-10T18:20:30.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T18:20:30.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T18:20:30.973Z] Configure a credential helper to remove this warning. See [2023-01-10T18:20:30.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T18:20:30.973Z] [2023-01-10T18:20:30.973Z] Login Succeeded [2023-01-10T18:20:30.973Z] nexus3.edgexfoundry.org:10002 [2023-01-10T18:20:30.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T18:20:31.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T18:20:31.234Z] Configure a credential helper to remove this warning. See [2023-01-10T18:20:31.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T18:20:31.234Z] [2023-01-10T18:20:31.234Z] Login Succeeded [2023-01-10T18:20:31.234Z] nexus3.edgexfoundry.org:10003 [2023-01-10T18:20:31.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T18:20:31.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T18:20:31.234Z] Configure a credential helper to remove this warning. See [2023-01-10T18:20:31.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T18:20:31.234Z] [2023-01-10T18:20:31.234Z] Login Succeeded [2023-01-10T18:20:31.234Z] nexus3.edgexfoundry.org:10004 [2023-01-10T18:20:31.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T18:20:31.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T18:20:31.234Z] Configure a credential helper to remove this warning. See [2023-01-10T18:20:31.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T18:20:31.234Z] [2023-01-10T18:20:31.234Z] Login Succeeded [2023-01-10T18:20:31.493Z] docker.io [2023-01-10T18:20:31.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T18:20:31.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T18:20:31.493Z] Configure a credential helper to remove this warning. See [2023-01-10T18:20:31.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T18:20:31.493Z] [2023-01-10T18:20:31.493Z] Login Succeeded [2023-01-10T18:20:31.493Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T18:20:31.521Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-10T18:20:32.154Z] + git rev-list -1 --merges 228435ea66986bfb839a97438588f89d5337111a~1..228435ea66986bfb839a97438588f89d5337111a [Pipeline] echo [2023-01-10T18:20:32.212Z] -----------> git rev-list -1 --merges 228435ea66986bfb839a97438588f89d5337111a~1..228435ea66986bfb839a97438588f89d5337111a 228435ea66986bfb839a97438588f89d5337111a [false] [Pipeline] sh [2023-01-10T18:20:32.521Z] + git log --format=format:%s -1 228435ea66986bfb839a97438588f89d5337111a [Pipeline] echo [2023-01-10T18:20:32.561Z] ========================================================= [2023-01-10T18:20:32.561Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-10T18:20:32.561Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T18:20:32.987Z] + git log --format=format:%s -1 228435ea66986bfb839a97438588f89d5337111a [Pipeline] echo [2023-01-10T18:20:33.019Z] [semverPrep] GIT_COMMIT: 228435ea66986bfb839a97438588f89d5337111a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-01-10T18:20:33.045Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-10T18:20:33.411Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T18:20:33.411Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-10T18:20:33.411Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-10T18:20:33.411Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-10T18:20:33.411Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-10T18:20:33.411Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-10T18:20:33.411Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T18:20:33.839Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T18:20:33.839Z] [2023-01-10T18:20:33.839Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T18:20:34.226Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T18:20:34.226Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-10T18:20:34.226Z] b85a868b505f: Pulling fs layer [2023-01-10T18:20:34.226Z] e2be974225ed: Pulling fs layer [2023-01-10T18:20:34.226Z] 339a4e72a1f5: Pulling fs layer [2023-01-10T18:20:34.226Z] 988bab9f4d93: Pulling fs layer [2023-01-10T18:20:34.226Z] 1469e6f7b9e6: Pulling fs layer [2023-01-10T18:20:34.226Z] eaf3925da568: Pulling fs layer [2023-01-10T18:20:34.226Z] bab4dde63d76: Pulling fs layer [2023-01-10T18:20:34.226Z] bde34c3a00c8: Pulling fs layer [2023-01-10T18:20:34.226Z] b352a97aabf1: Pulling fs layer [2023-01-10T18:20:34.226Z] 4872d77fe225: Pulling fs layer [2023-01-10T18:20:34.226Z] 5851b861e8e6: Pulling fs layer [2023-01-10T18:20:34.226Z] 988bab9f4d93: Waiting [2023-01-10T18:20:34.226Z] 1469e6f7b9e6: Waiting [2023-01-10T18:20:34.226Z] bab4dde63d76: Waiting [2023-01-10T18:20:34.226Z] bde34c3a00c8: Waiting [2023-01-10T18:20:34.226Z] eaf3925da568: Waiting [2023-01-10T18:20:34.226Z] b352a97aabf1: Waiting [2023-01-10T18:20:34.226Z] 5851b861e8e6: Waiting [2023-01-10T18:20:34.226Z] 4872d77fe225: Waiting [2023-01-10T18:20:34.226Z] e2be974225ed: Verifying Checksum [2023-01-10T18:20:34.226Z] e2be974225ed: Download complete [2023-01-10T18:20:34.226Z] 988bab9f4d93: Verifying Checksum [2023-01-10T18:20:34.226Z] 988bab9f4d93: Download complete [2023-01-10T18:20:34.486Z] 339a4e72a1f5: Verifying Checksum [2023-01-10T18:20:34.487Z] 339a4e72a1f5: Download complete [2023-01-10T18:20:34.487Z] 1469e6f7b9e6: Verifying Checksum [2023-01-10T18:20:34.487Z] 1469e6f7b9e6: Download complete [2023-01-10T18:20:34.487Z] eaf3925da568: Verifying Checksum [2023-01-10T18:20:34.487Z] eaf3925da568: Download complete [2023-01-10T18:20:34.487Z] bde34c3a00c8: Verifying Checksum [2023-01-10T18:20:34.487Z] bde34c3a00c8: Download complete [2023-01-10T18:20:34.487Z] b352a97aabf1: Download complete [2023-01-10T18:20:34.487Z] 5851b861e8e6: Verifying Checksum [2023-01-10T18:20:34.487Z] 5851b861e8e6: Download complete [2023-01-10T18:20:34.487Z] b85a868b505f: Verifying Checksum [2023-01-10T18:20:34.487Z] b85a868b505f: Download complete [2023-01-10T18:20:34.745Z] bab4dde63d76: Verifying Checksum [2023-01-10T18:20:34.745Z] bab4dde63d76: Download complete [2023-01-10T18:20:35.684Z] b85a868b505f: Pull complete [2023-01-10T18:20:35.684Z] e2be974225ed: Pull complete [2023-01-10T18:20:36.251Z] 339a4e72a1f5: Pull complete [2023-01-10T18:20:36.251Z] 988bab9f4d93: Pull complete [2023-01-10T18:20:36.508Z] 1469e6f7b9e6: Pull complete [2023-01-10T18:20:36.508Z] eaf3925da568: Pull complete [2023-01-10T18:20:38.410Z] bab4dde63d76: Pull complete [2023-01-10T18:20:38.410Z] bde34c3a00c8: Pull complete [2023-01-10T18:20:38.410Z] b352a97aabf1: Pull complete [2023-01-10T18:20:38.410Z] 4872d77fe225: Pull complete [2023-01-10T18:20:38.410Z] 5851b861e8e6: Pull complete [2023-01-10T18:20:38.410Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-10T18:20:38.410Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T18:20:38.410Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T18:20:38.636Z] prd-ubuntu20.04-docker-8c-8g-1632 does not seem to be running inside a container [2023-01-10T18:20:38.668Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-326 -v /w/workspace/foundry_device-virtual-go_PR-326:/w/workspace/foundry_device-virtual-go_PR-326:rw,z -v /w/workspace/foundry_device-virtual-go_PR-326@tmp:/w/workspace/foundry_device-virtual-go_PR-326@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-10T18:20:42.102Z] $ docker top 87b45b8c99164dcbd06ca1a8e7da689a7044d247c34ca2e9547231eb10ee0d41 -eo pid,comm [2023-01-10T18:20:42.149Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-10T18:20:42.149Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T18:20:42.278Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T18:20:42.278Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T18:20:42.400Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T18:20:42.406Z] $ docker exec 87b45b8c99164dcbd06ca1a8e7da689a7044d247c34ca2e9547231eb10ee0d41 ssh-agent [2023-01-10T18:20:42.501Z] SSH_AUTH_SOCK=/tmp/ssh-xQTfJAlqdIyW/agent.33 [2023-01-10T18:20:42.501Z] SSH_AGENT_PID=39 [2023-01-10T18:20:42.509Z] Running ssh-add (command line suppressed) [2023-01-10T18:20:42.615Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-326@tmp/private_key_17242985943958540964.key (/w/workspace/foundry_device-virtual-go_PR-326@tmp/private_key_17242985943958540964.key) [2023-01-10T18:20:42.623Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T18:20:42.956Z] + git tag --points-at HEAD [Pipeline] } [2023-01-10T18:20:42.986Z] $ docker exec --env ******** --env ******** 87b45b8c99164dcbd06ca1a8e7da689a7044d247c34ca2e9547231eb10ee0d41 ssh-agent -k [2023-01-10T18:20:43.086Z] unset SSH_AUTH_SOCK; [2023-01-10T18:20:43.086Z] unset SSH_AGENT_PID; [2023-01-10T18:20:43.086Z] echo Agent pid 39 killed; [2023-01-10T18:20:43.094Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-10T18:20:43.187Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T18:20:43.187Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T18:20:43.291Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T18:20:43.297Z] $ docker exec 87b45b8c99164dcbd06ca1a8e7da689a7044d247c34ca2e9547231eb10ee0d41 ssh-agent [2023-01-10T18:20:43.398Z] SSH_AUTH_SOCK=/tmp/ssh-Gp0vtW0vc2uy/agent.71 [2023-01-10T18:20:43.398Z] SSH_AGENT_PID=77 [2023-01-10T18:20:43.410Z] Running ssh-add (command line suppressed) [2023-01-10T18:20:43.511Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-326@tmp/private_key_16324073878155258789.key (/w/workspace/foundry_device-virtual-go_PR-326@tmp/private_key_16324073878155258789.key) [2023-01-10T18:20:43.520Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T18:20:43.850Z] + git semver init [2023-01-10T18:20:44.109Z] 2023-01-10 18:20:44,024 [run_init] DEBUG init version:0.0.0 force:False [2023-01-10T18:20:44.109Z] 2023-01-10 18:20:44,025 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-326/.semver [2023-01-10T18:20:44.109Z] 2023-01-10 18:20:44,026 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-326/.semver [2023-01-10T18:20:44.109Z] 2023-01-10 18:20:44,026 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-326/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-326, universal_newlines=False, shell=None, istream=None) [2023-01-10T18:20:45.488Z] 2023-01-10 18:20:45,201 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-326/.git/info/exclude [2023-01-10T18:20:45.488Z] 2023-01-10 18:20:45,201 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-326/.semver/PR-326 with force:False [2023-01-10T18:20:45.488Z] 2023-01-10 18:20:45,201 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-326/.semver/PR-326 [2023-01-10T18:20:45.488Z] 2023-01-10 18:20:45,204 [execute] INFO git cat-file --batch-check [2023-01-10T18:20:45.488Z] 2023-01-10 18:20:45,204 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-326/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T18:20:45.488Z] 2023-01-10 18:20:45,211 [execute] INFO git cat-file --batch [2023-01-10T18:20:45.488Z] 2023-01-10 18:20:45,211 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-326/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T18:20:45.488Z] 2023-01-10 18:20:45,216 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-326/.semver/PR-326 [2023-01-10T18:20:45.488Z] 0.0.0 [Pipeline] } [2023-01-10T18:20:45.517Z] $ docker exec --env ******** --env ******** 87b45b8c99164dcbd06ca1a8e7da689a7044d247c34ca2e9547231eb10ee0d41 ssh-agent -k [2023-01-10T18:20:45.608Z] unset SSH_AUTH_SOCK; [2023-01-10T18:20:45.608Z] unset SSH_AGENT_PID; [2023-01-10T18:20:45.608Z] echo Agent pid 77 killed; [2023-01-10T18:20:45.614Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T18:20:46.032Z] + git semver [Pipeline] } [2023-01-10T18:20:46.316Z] $ docker stop --time=1 87b45b8c99164dcbd06ca1a8e7da689a7044d247c34ca2e9547231eb10ee0d41 [2023-01-10T18:20:47.567Z] $ docker rm -f --volumes 87b45b8c99164dcbd06ca1a8e7da689a7044d247c34ca2e9547231eb10ee0d41 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T18:20:47.955Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-10T18:20:48.216Z] Stashed 1 file(s) [Pipeline] echo [2023-01-10T18:20:48.233Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T18:20:48.860Z] provisioning config files... [2023-01-10T18:20:48.870Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-326@tmp/config13130358832676365113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T18:20:49.209Z] ---> docker-login.sh [2023-01-10T18:20:49.210Z] nexus3.edgexfoundry.org:10001 [2023-01-10T18:20:49.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T18:20:49.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T18:20:49.210Z] Configure a credential helper to remove this warning. See [2023-01-10T18:20:49.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T18:20:49.210Z] [2023-01-10T18:20:49.210Z] Login Succeeded [2023-01-10T18:20:49.210Z] nexus3.edgexfoundry.org:10002 [2023-01-10T18:20:49.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T18:20:49.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T18:20:49.210Z] Configure a credential helper to remove this warning. See [2023-01-10T18:20:49.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T18:20:49.210Z] [2023-01-10T18:20:49.210Z] Login Succeeded [2023-01-10T18:20:49.210Z] nexus3.edgexfoundry.org:10003 [2023-01-10T18:20:49.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T18:20:49.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T18:20:49.469Z] Configure a credential helper to remove this warning. See [2023-01-10T18:20:49.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T18:20:49.469Z] [2023-01-10T18:20:49.469Z] Login Succeeded [2023-01-10T18:20:49.469Z] nexus3.edgexfoundry.org:10004 [2023-01-10T18:20:49.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T18:20:49.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T18:20:49.469Z] Configure a credential helper to remove this warning. See [2023-01-10T18:20:49.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T18:20:49.469Z] [2023-01-10T18:20:49.469Z] Login Succeeded [2023-01-10T18:20:49.469Z] docker.io [2023-01-10T18:20:49.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T18:20:49.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T18:20:49.728Z] Configure a credential helper to remove this warning. See [2023-01-10T18:20:49.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T18:20:49.728Z] [2023-01-10T18:20:49.728Z] Login Succeeded [2023-01-10T18:20:49.728Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T18:20:49.759Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T18:20:49.940Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T18:20:49.977Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T18:20:50.009Z] ========================================================= [2023-01-10T18:20:50.009Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-10T18:20:50.009Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T18:20:50.476Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-10T18:20:50.476Z] Sending build context to Docker daemon 23.32MB [2023-01-10T18:20:50.476Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T18:20:50.476Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-10T18:20:50.739Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-10T18:20:50.739Z] 213ec9aee27d: Pulling fs layer [2023-01-10T18:20:50.739Z] 4583459ba037: Pulling fs layer [2023-01-10T18:20:50.739Z] 93c1e223e6f2: Pulling fs layer [2023-01-10T18:20:50.739Z] 53926ce57604: Pulling fs layer [2023-01-10T18:20:50.739Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-10T18:20:50.739Z] 22ff95d597cd: Pulling fs layer [2023-01-10T18:20:50.739Z] 12d6caf4c0d1: Pulling fs layer [2023-01-10T18:20:50.739Z] 96b7cbca73a9: Pulling fs layer [2023-01-10T18:20:50.739Z] a7acece74701: Pulling fs layer [2023-01-10T18:20:50.739Z] 12d6caf4c0d1: Waiting [2023-01-10T18:20:50.739Z] 53926ce57604: Waiting [2023-01-10T18:20:50.739Z] 96b7cbca73a9: Waiting [2023-01-10T18:20:50.739Z] a7acece74701: Waiting [2023-01-10T18:20:50.739Z] 21b2b0c7a3f4: Waiting [2023-01-10T18:20:50.739Z] 22ff95d597cd: Waiting [2023-01-10T18:20:50.739Z] 93c1e223e6f2: Verifying Checksum [2023-01-10T18:20:50.739Z] 93c1e223e6f2: Download complete [2023-01-10T18:20:50.739Z] 4583459ba037: Verifying Checksum [2023-01-10T18:20:50.739Z] 4583459ba037: Download complete [2023-01-10T18:20:50.739Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-10T18:20:50.739Z] 21b2b0c7a3f4: Download complete [2023-01-10T18:20:50.739Z] 22ff95d597cd: Verifying Checksum [2023-01-10T18:20:50.739Z] 22ff95d597cd: Download complete [2023-01-10T18:20:50.739Z] 213ec9aee27d: Verifying Checksum [2023-01-10T18:20:50.739Z] 213ec9aee27d: Download complete [2023-01-10T18:20:50.739Z] 12d6caf4c0d1: Verifying Checksum [2023-01-10T18:20:50.739Z] 12d6caf4c0d1: Download complete [2023-01-10T18:20:51.005Z] 213ec9aee27d: Pull complete [2023-01-10T18:20:51.005Z] 4583459ba037: Pull complete [2023-01-10T18:20:51.005Z] 93c1e223e6f2: Pull complete [2023-01-10T18:20:51.280Z] a7acece74701: Verifying Checksum [2023-01-10T18:20:51.280Z] a7acece74701: Download complete [2023-01-10T18:20:51.548Z] 96b7cbca73a9: Verifying Checksum [2023-01-10T18:20:51.548Z] 96b7cbca73a9: Download complete [2023-01-10T18:20:51.810Z] 53926ce57604: Verifying Checksum [2023-01-10T18:20:51.810Z] 53926ce57604: Download complete [2023-01-10T18:20:56.057Z] 53926ce57604: Pull complete [2023-01-10T18:20:56.057Z] 21b2b0c7a3f4: Pull complete [2023-01-10T18:20:56.057Z] 22ff95d597cd: Pull complete [2023-01-10T18:20:56.057Z] 12d6caf4c0d1: Pull complete [2023-01-10T18:20:57.959Z] 96b7cbca73a9: Pull complete [2023-01-10T18:20:58.528Z] a7acece74701: Pull complete [2023-01-10T18:20:58.528Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-10T18:20:58.528Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-10T18:20:58.528Z] ---> db6d94c90886 [2023-01-10T18:20:58.528Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-10T18:21:03.668Z] Still waiting to schedule task [2023-01-10T18:21:03.668Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1628’ [2023-01-10T18:21:03.802Z] ---> Running in f2202c763f56 [2023-01-10T18:21:03.802Z] Removing intermediate container f2202c763f56 [2023-01-10T18:21:03.802Z] ---> 7c6b30f3bbd8 [2023-01-10T18:21:03.802Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T18:21:03.802Z] ---> Running in 21a4ae3223e6 [2023-01-10T18:21:04.059Z] Removing intermediate container 21a4ae3223e6 [2023-01-10T18:21:04.059Z] ---> 09309293c469 [2023-01-10T18:21:04.059Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-01-10T18:21:04.059Z] ---> Running in f185b7eab4b0 [2023-01-10T18:21:04.059Z] Removing intermediate container f185b7eab4b0 [2023-01-10T18:21:04.059Z] ---> 40fc0d81baba [2023-01-10T18:21:04.059Z] Step 6/12 : WORKDIR /device-virtual-go [2023-01-10T18:21:04.059Z] ---> Running in cfbdd2d67433 [2023-01-10T18:21:04.318Z] Removing intermediate container cfbdd2d67433 [2023-01-10T18:21:04.318Z] ---> 65f814d8811b [2023-01-10T18:21:04.318Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T18:21:04.318Z] ---> Running in f1e57553045e [2023-01-10T18:21:04.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T18:21:04.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T18:21:04.834Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T18:21:04.834Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-10T18:21:04.834Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T18:21:04.834Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T18:21:04.834Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T18:21:04.834Z] OK: 216 MiB in 55 packages [2023-01-10T18:21:05.401Z] Removing intermediate container f1e57553045e [2023-01-10T18:21:05.401Z] ---> 76ed292b025b [2023-01-10T18:21:05.401Z] Step 8/12 : COPY go.mod vendor* ./ [2023-01-10T18:21:05.660Z] ---> b033b812fb27 [2023-01-10T18:21:05.660Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T18:21:05.660Z] ---> Running in aabb335c473e [2023-01-10T18:21:27.597Z] Removing intermediate container aabb335c473e [2023-01-10T18:21:27.597Z] ---> f6b92f589099 [2023-01-10T18:21:27.597Z] Step 10/12 : COPY . . [2023-01-10T18:21:27.854Z] ---> d543d36f6501 [2023-01-10T18:21:27.854Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T18:21:27.854Z] ---> Running in c7bc31573431 [2023-01-10T18:21:28.113Z] Removing intermediate container c7bc31573431 [2023-01-10T18:21:28.113Z] ---> 41f13c931825 [2023-01-10T18:21:28.113Z] Step 12/12 : RUN $MAKE [2023-01-10T18:21:28.113Z] ---> Running in 24d9a1f66c51 [2023-01-10T18:21:28.371Z] noop [2023-01-10T18:21:28.629Z] Removing intermediate container 24d9a1f66c51 [2023-01-10T18:21:28.629Z] ---> da92fa0b99bb [2023-01-10T18:21:28.629Z] Successfully built da92fa0b99bb [2023-01-10T18:21:28.629Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T18:21:29.084Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T18:21:29.084Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T18:21:29.244Z] prd-ubuntu20.04-docker-8c-8g-1632 does not seem to be running inside a container [2023-01-10T18:21:29.272Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-326 -v /w/workspace/foundry_device-virtual-go_PR-326:/w/workspace/foundry_device-virtual-go_PR-326:rw,z -v /w/workspace/foundry_device-virtual-go_PR-326@tmp:/w/workspace/foundry_device-virtual-go_PR-326@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 ******** ci-base-image-x86_64 cat [2023-01-10T18:21:29.626Z] $ docker top 89d82e2fb0a69d45d674560087265e40ecc9029c1052f6543e53b1b84f646f54 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T18:21:30.018Z] + go version [2023-01-10T18:21:30.018Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-10T18:21:30.056Z] $ docker stop --time=1 89d82e2fb0a69d45d674560087265e40ecc9029c1052f6543e53b1b84f646f54 [2023-01-10T18:21:31.319Z] $ docker rm -f --volumes 89d82e2fb0a69d45d674560087265e40ecc9029c1052f6543e53b1b84f646f54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T18:21:32.015Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T18:21:32.015Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T18:21:32.164Z] prd-ubuntu20.04-docker-8c-8g-1632 does not seem to be running inside a container [2023-01-10T18:21:32.193Z] $ 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-326 -v /w/workspace/foundry_device-virtual-go_PR-326:/w/workspace/foundry_device-virtual-go_PR-326:rw,z -v /w/workspace/foundry_device-virtual-go_PR-326@tmp:/w/workspace/foundry_device-virtual-go_PR-326@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 ******** ci-base-image-x86_64 cat [2023-01-10T18:21:32.516Z] $ docker top 413779549f8db76bd1dc1db65b1001d7971e22bf60be5d7e33cfbb5ffa1128b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T18:21:32.906Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-326 [Pipeline] fileExists [Pipeline] sh [2023-01-10T18:21:33.262Z] + make test [2023-01-10T18:21:33.262Z] go test ./... -coverprofile=coverage.out [2023-01-10T18:21:33.520Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-01-10T18:21:43.491Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-01-10T18:21:43.491Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.040s coverage: 65.7% of statements [2023-01-10T18:21:50.040Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-10T18:21:50.040Z] go vet ./... [2023-01-10T18:21:52.564Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T18:21:52.564Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T18:21:52.564Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T18:21:52.634Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T18:21:52.665Z] $ docker stop --time=1 413779549f8db76bd1dc1db65b1001d7971e22bf60be5d7e33cfbb5ffa1128b5 [2023-01-10T18:21:54.809Z] $ docker rm -f --volumes 413779549f8db76bd1dc1db65b1001d7971e22bf60be5d7e33cfbb5ffa1128b5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T18:21:55.298Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T18:21:55.369Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-10T18:21:55.957Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T18:21:56.297Z] + ls -al . [2023-01-10T18:21:56.297Z] total 204 [2023-01-10T18:21:56.297Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 18:21 . [2023-01-10T18:21:56.297Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 18:20 .. [2023-01-10T18:21:56.297Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 18:21 .git [2023-01-10T18:21:56.297Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 18:20 .github [2023-01-10T18:21:56.297Z] -rw-rw-r-- 1 jenkins jenkins 337 Jan 10 18:20 .gitignore [2023-01-10T18:21:56.297Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 18:20 .golangci.yml [2023-01-10T18:21:56.297Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 18:20 .semver [2023-01-10T18:21:56.297Z] -rw-rw-r-- 1 jenkins jenkins 8423 Jan 10 18:20 Attribution.txt [2023-01-10T18:21:56.297Z] -rw-rw-r-- 1 jenkins jenkins 11367 Jan 10 18:20 CHANGELOG.md [2023-01-10T18:21:56.297Z] -rw-rw-r-- 1 jenkins jenkins 1646 Jan 10 18:20 Dockerfile [2023-01-10T18:21:56.297Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 18:20 GOVERNANCE.md [2023-01-10T18:21:56.297Z] -rw-rw-r-- 1 jenkins jenkins 660 Jan 10 18:20 Jenkinsfile [2023-01-10T18:21:56.297Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 18:20 LICENSE [2023-01-10T18:21:56.297Z] -rw-rw-r-- 1 jenkins jenkins 1661 Jan 10 18:20 Makefile [2023-01-10T18:21:56.297Z] -rw-rw-r-- 1 jenkins jenkins 623 Jan 10 18:20 OWNERS.md [2023-01-10T18:21:56.297Z] -rw-rw-r-- 1 jenkins jenkins 3578 Jan 10 18:20 README.md [2023-01-10T18:21:56.297Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 18:20 VERSION [2023-01-10T18:21:56.297Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 18:20 bin [2023-01-10T18:21:56.297Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 18:20 cmd [2023-01-10T18:21:56.297Z] -rw-r--r-- 1 jenkins jenkins 44128 Jan 10 18:21 coverage.out [2023-01-10T18:21:56.297Z] -rw-rw-r-- 1 jenkins jenkins 3340 Jan 10 18:20 go.mod [2023-01-10T18:21:56.297Z] -rw-rw-r-- 1 jenkins jenkins 44412 Jan 10 18:20 go.sum [2023-01-10T18:21:56.297Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 18:20 internal [2023-01-10T18:21:56.297Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 18:20 snap [2023-01-10T18:21:56.297Z] -rw-rw-r-- 1 jenkins jenkins 235 Jan 10 18:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T18:21:56.707Z] + 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=228435ea66986bfb839a97438588f89d5337111a --label arch=amd64 --label version=0.0.0 . [2023-01-10T18:21:56.707Z] Sending build context to Docker daemon 23.37MB [2023-01-10T18:21:56.707Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T18:21:56.707Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-10T18:21:56.707Z] ---> da92fa0b99bb [2023-01-10T18:21:56.707Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-10T18:21:56.965Z] ---> Running in 7e6ab5003590 [2023-01-10T18:21:56.965Z] Removing intermediate container 7e6ab5003590 [2023-01-10T18:21:56.965Z] ---> bf7f91bc9f5c [2023-01-10T18:21:56.965Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T18:21:56.965Z] ---> Running in 765edd569e5e [2023-01-10T18:21:57.222Z] Removing intermediate container 765edd569e5e [2023-01-10T18:21:57.222Z] ---> f5a9cc2ab8d5 [2023-01-10T18:21:57.222Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-01-10T18:21:57.222Z] ---> Running in 70132569c3e5 [2023-01-10T18:21:57.222Z] Removing intermediate container 70132569c3e5 [2023-01-10T18:21:57.222Z] ---> f86ebbaa867b [2023-01-10T18:21:57.222Z] Step 6/25 : WORKDIR /device-virtual-go [2023-01-10T18:21:57.222Z] ---> Running in 571466707f66 [2023-01-10T18:21:57.222Z] Removing intermediate container 571466707f66 [2023-01-10T18:21:57.222Z] ---> 6cd5ce8ec945 [2023-01-10T18:21:57.222Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T18:21:57.483Z] ---> Running in beabb0ae8b30 [2023-01-10T18:21:57.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T18:21:57.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T18:21:57.998Z] OK: 216 MiB in 55 packages [2023-01-10T18:21:58.256Z] Removing intermediate container beabb0ae8b30 [2023-01-10T18:21:58.256Z] ---> fb6771fb9e24 [2023-01-10T18:21:58.256Z] Step 8/25 : COPY go.mod vendor* ./ [2023-01-10T18:21:58.514Z] ---> e43f84db8dcc [2023-01-10T18:21:58.514Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T18:21:58.514Z] ---> Running in 16e2d6d98a15 [2023-01-10T18:21:59.080Z] Removing intermediate container 16e2d6d98a15 [2023-01-10T18:21:59.080Z] ---> 633b385bf8d4 [2023-01-10T18:21:59.080Z] Step 10/25 : COPY . . [2023-01-10T18:21:59.697Z] ---> 715dd4d758ab [2023-01-10T18:21:59.697Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T18:21:59.697Z] ---> Running in 7e55c0a3e856 [2023-01-10T18:21:59.957Z] Removing intermediate container 7e55c0a3e856 [2023-01-10T18:21:59.957Z] ---> d5c099cd8ea3 [2023-01-10T18:21:59.957Z] Step 12/25 : RUN $MAKE [2023-01-10T18:21:59.957Z] ---> Running in d7d811d170af [2023-01-10T18:22:00.214Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-01-10T18:22:22.149Z] Removing intermediate container d7d811d170af [2023-01-10T18:22:22.149Z] ---> d6998b5f528e [2023-01-10T18:22:22.149Z] Step 13/25 : FROM alpine:3.16 [2023-01-10T18:22:22.149Z] 3.16: Pulling from library/alpine [2023-01-10T18:22:22.149Z] ca7dd9ec2225: Pulling fs layer [2023-01-10T18:22:22.149Z] ca7dd9ec2225: Verifying Checksum [2023-01-10T18:22:22.149Z] ca7dd9ec2225: Download complete [2023-01-10T18:22:22.149Z] ca7dd9ec2225: Pull complete [2023-01-10T18:22:22.149Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T18:22:22.149Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T18:22:22.149Z] ---> bfe296a52501 [2023-01-10T18:22:22.149Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-01-10T18:22:22.149Z] ---> Running in 82889c4168ad [2023-01-10T18:22:22.149Z] Removing intermediate container 82889c4168ad [2023-01-10T18:22:22.149Z] ---> 451535e2d986 [2023-01-10T18:22:22.149Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-01-10T18:22:22.149Z] ---> Running in c94d04004d76 [2023-01-10T18:22:22.149Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T18:22:22.149Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T18:22:22.149Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-10T18:22:22.149Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T18:22:22.149Z] OK: 6 MiB in 15 packages [2023-01-10T18:22:22.149Z] Removing intermediate container c94d04004d76 [2023-01-10T18:22:22.149Z] ---> 918693cccc56 [2023-01-10T18:22:22.149Z] Step 16/25 : WORKDIR / [2023-01-10T18:22:22.149Z] ---> Running in 5b690e560eb5 [2023-01-10T18:22:22.149Z] Removing intermediate container 5b690e560eb5 [2023-01-10T18:22:22.149Z] ---> 96507502ec78 [2023-01-10T18:22:22.149Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-01-10T18:22:22.149Z] ---> 2bef5701ab25 [2023-01-10T18:22:22.149Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-01-10T18:22:22.149Z] ---> 9a2849a10370 [2023-01-10T18:22:22.149Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-01-10T18:22:22.882Z] ---> 81565e944a74 [2023-01-10T18:22:22.882Z] Step 20/25 : EXPOSE 59900 [2023-01-10T18:22:22.882Z] ---> Running in 5806de0e0858 [2023-01-10T18:22:22.882Z] Removing intermediate container 5806de0e0858 [2023-01-10T18:22:22.882Z] ---> 47f9632aeaf1 [2023-01-10T18:22:22.882Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-01-10T18:22:22.882Z] ---> Running in 77c221a55eda [2023-01-10T18:22:22.882Z] Removing intermediate container 77c221a55eda [2023-01-10T18:22:22.882Z] ---> 4c9102686f3e [2023-01-10T18:22:22.882Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-10T18:22:22.882Z] ---> Running in 6701d0f910d7 [2023-01-10T18:22:23.143Z] Removing intermediate container 6701d0f910d7 [2023-01-10T18:22:23.143Z] ---> 5605242d05f0 [2023-01-10T18:22:23.143Z] Step 23/25 : LABEL arch=amd64 [2023-01-10T18:22:23.143Z] ---> Running in 4620b509890c [2023-01-10T18:22:23.144Z] Removing intermediate container 4620b509890c [2023-01-10T18:22:23.144Z] ---> ed08ed397c8c [2023-01-10T18:22:23.144Z] Step 24/25 : LABEL git_sha=228435ea66986bfb839a97438588f89d5337111a [2023-01-10T18:22:23.144Z] ---> Running in 65125abe18fc [2023-01-10T18:22:23.144Z] Removing intermediate container 65125abe18fc [2023-01-10T18:22:23.144Z] ---> f2eeb31017d3 [2023-01-10T18:22:23.144Z] Step 25/25 : LABEL version=0.0.0 [2023-01-10T18:22:23.144Z] ---> Running in ee9aa4490172 [2023-01-10T18:22:23.402Z] Removing intermediate container ee9aa4490172 [2023-01-10T18:22:23.402Z] ---> c3828bbd58e6 [2023-01-10T18:22:23.402Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T18:22:23.402Z] Successfully built c3828bbd58e6 [2023-01-10T18:22:23.402Z] 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 [2023-01-10T18:22:24.236Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T18:22:24.236Z] [2023-01-10T18:22:24.236Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T18:22:24.619Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T18:22:24.619Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-10T18:22:24.619Z] 5eb5b503b376: Pulling fs layer [2023-01-10T18:22:24.619Z] 5c69ac0246d0: Pulling fs layer [2023-01-10T18:22:24.619Z] ec43610c2a17: Pulling fs layer [2023-01-10T18:22:24.619Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-10T18:22:24.619Z] 33b1e0a273af: Pulling fs layer [2023-01-10T18:22:24.619Z] 5d3b04190fa2: Pulling fs layer [2023-01-10T18:22:24.619Z] 2f39f015ded8: Pulling fs layer [2023-01-10T18:22:24.619Z] 3a2ae6a8a46f: Waiting [2023-01-10T18:22:24.619Z] 33b1e0a273af: Waiting [2023-01-10T18:22:24.619Z] 5d3b04190fa2: Waiting [2023-01-10T18:22:24.619Z] 2f39f015ded8: Waiting [2023-01-10T18:22:24.619Z] 5c69ac0246d0: Download complete [2023-01-10T18:22:24.619Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-10T18:22:24.619Z] 3a2ae6a8a46f: Download complete [2023-01-10T18:22:24.619Z] 33b1e0a273af: Verifying Checksum [2023-01-10T18:22:24.619Z] 33b1e0a273af: Download complete [2023-01-10T18:22:24.877Z] 5d3b04190fa2: Verifying Checksum [2023-01-10T18:22:24.877Z] 5d3b04190fa2: Download complete [2023-01-10T18:22:24.877Z] ec43610c2a17: Download complete [2023-01-10T18:22:25.135Z] 5eb5b503b376: Download complete [2023-01-10T18:22:25.699Z] 2f39f015ded8: Download complete [2023-01-10T18:22:26.263Z] 5eb5b503b376: Pull complete [2023-01-10T18:22:26.521Z] 5c69ac0246d0: Pull complete [2023-01-10T18:22:26.781Z] ec43610c2a17: Pull complete [2023-01-10T18:22:27.040Z] 3a2ae6a8a46f: Pull complete [2023-01-10T18:22:27.298Z] 33b1e0a273af: Pull complete [2023-01-10T18:22:27.298Z] 5d3b04190fa2: Pull complete [2023-01-10T18:22:32.558Z] 2f39f015ded8: Pull complete [2023-01-10T18:22:32.558Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-10T18:22:32.558Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T18:22:32.558Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T18:22:32.766Z] prd-ubuntu20.04-docker-8c-8g-1632 does not seem to be running inside a container [2023-01-10T18:22:32.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-326 -v /w/workspace/foundry_device-virtual-go_PR-326:/w/workspace/foundry_device-virtual-go_PR-326:rw,z -v /w/workspace/foundry_device-virtual-go_PR-326@tmp:/w/workspace/foundry_device-virtual-go_PR-326@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-lftools-log-publisher:latest cat [2023-01-10T18:22:36.745Z] $ docker top cb91f34a9fb1645608fd00dbd16aaced6d33f1efcefd6e5d64788dff84d43ebe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T18:22:37.182Z] ---> job-cost.sh [2023-01-10T18:22:37.182Z] lf-activate-venv: SKIPPING [2023-01-10T18:22:37.182Z] INFO: No Stack... [2023-01-10T18:22:37.440Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T18:22:37.699Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T18:22:38.010Z] + cat /w/workspace/foundry_device-virtual-go_PR-326/archives/cost.csv [2023-01-10T18:22:38.010Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T18:22:38.054Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-326-1-stack-cost] [2023-01-10T18:22:38.059Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-326-1-stack-cost] did not exist. Created. [2023-01-10T18:22:38.059Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-326-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T18:22:38.464Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-10T18:22:38.514Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T18:22:38.546Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-326-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T18:22:38.631Z] $ docker stop --time=1 cb91f34a9fb1645608fd00dbd16aaced6d33f1efcefd6e5d64788dff84d43ebe [2023-01-10T18:22:39.798Z] $ docker rm -f --volumes cb91f34a9fb1645608fd00dbd16aaced6d33f1efcefd6e5d64788dff84d43ebe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-10T18:23:33.619Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1635 in /w/workspace/foundry_device-virtual-go_PR-326 [Pipeline] { [Pipeline] ws [2023-01-10T18:23:33.670Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-01-10T18:23:33.752Z] The recommended git tool is: git [2023-01-10T18:23:40.456Z] using credential edgex-jenkins-ssh [2023-01-10T18:23:40.475Z] Cloning the remote Git repository [2023-01-10T18:23:40.539Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-01-10T18:23:40.628Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-01-10T18:23:40.817Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-01-10T18:23:40.819Z] > git --version # timeout=10 [2023-01-10T18:23:40.853Z] > git --version # 'git version 2.25.1' [2023-01-10T18:23:40.856Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T18:23:40.941Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T18:23:43.214Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-01-10T18:23:43.252Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T18:23:44.919Z] Merging remotes/origin/main commit 43843506565b1251b67769be00175dd520b99099 into PR head commit 228435ea66986bfb839a97438588f89d5337111a [2023-01-10T18:23:45.185Z] Merge succeeded, producing 228435ea66986bfb839a97438588f89d5337111a [2023-01-10T18:23:45.185Z] Checking out Revision 228435ea66986bfb839a97438588f89d5337111a (PR-326) [2023-01-10T18:23:44.287Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-01-10T18:23:44.336Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-01-10T18:23:44.337Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T18:23:44.355Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/326/head:refs/remotes/origin/PR-326 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-10T18:23:44.944Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T18:23:44.964Z] > git checkout -f 228435ea66986bfb839a97438588f89d5337111a # timeout=10 [2023-01-10T18:23:45.053Z] > git remote # timeout=10 [2023-01-10T18:23:45.072Z] > git config --get remote.origin.url # timeout=10 [2023-01-10T18:23:45.100Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T18:23:45.121Z] > git merge 43843506565b1251b67769be00175dd520b99099 # timeout=10 [2023-01-10T18:23:45.162Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-10T18:23:45.197Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T18:23:45.210Z] > git checkout -f 228435ea66986bfb839a97438588f89d5337111a # timeout=10 [2023-01-10T18:23:45.711Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-01-10T18:23:45.769Z] > git --version # timeout=10 [2023-01-10T18:23:45.783Z] > git --version # 'git version 2.25.1' [2023-01-10T18:23:45.802Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T18:23:46.879Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-10T18:23:46.879Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T18:23:46.879Z] Dload Upload Total Spent Left Speed [2023-01-10T18:23:46.879Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh [2023-01-10T18:23:47.456Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-10T18:23:47.808Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-10T18:23:47.808Z] + sudo tee /etc/docker/daemon.new [2023-01-10T18:23:47.808Z] { [2023-01-10T18:23:47.808Z] "registry-mirrors": [ [2023-01-10T18:23:47.808Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-10T18:23:47.808Z] ], [2023-01-10T18:23:47.808Z] "bip": "10.250.0.254/24", [2023-01-10T18:23:47.808Z] "hosts": [ [2023-01-10T18:23:47.808Z] "tcp://0.0.0.0:5555", [2023-01-10T18:23:47.808Z] "unix:///var/run/docker.sock" [2023-01-10T18:23:47.808Z] ], [2023-01-10T18:23:47.808Z] "mtu": 1458, [2023-01-10T18:23:47.808Z] "selinux-enabled": true, [2023-01-10T18:23:47.808Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-10T18:23:47.808Z] } [Pipeline] sh [2023-01-10T18:23:48.168Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-10T18:23:48.523Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T18:24:06.858Z] provisioning config files... [2023-01-10T18:24:06.888Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config16848610706590304185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T18:24:07.283Z] ---> docker-login.sh [2023-01-10T18:24:07.283Z] nexus3.edgexfoundry.org:10001 [2023-01-10T18:24:07.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T18:24:07.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T18:24:07.871Z] Configure a credential helper to remove this warning. See [2023-01-10T18:24:07.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T18:24:07.871Z] [2023-01-10T18:24:07.871Z] Login Succeeded [2023-01-10T18:24:07.871Z] nexus3.edgexfoundry.org:10002 [2023-01-10T18:24:08.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T18:24:08.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T18:24:08.415Z] Configure a credential helper to remove this warning. See [2023-01-10T18:24:08.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T18:24:08.415Z] [2023-01-10T18:24:08.415Z] Login Succeeded [2023-01-10T18:24:08.415Z] nexus3.edgexfoundry.org:10003 [2023-01-10T18:24:08.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T18:24:08.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T18:24:08.686Z] Configure a credential helper to remove this warning. See [2023-01-10T18:24:08.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T18:24:08.686Z] [2023-01-10T18:24:08.686Z] Login Succeeded [2023-01-10T18:24:08.686Z] nexus3.edgexfoundry.org:10004 [2023-01-10T18:24:08.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T18:24:08.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T18:24:08.957Z] Configure a credential helper to remove this warning. See [2023-01-10T18:24:08.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T18:24:08.957Z] [2023-01-10T18:24:08.957Z] Login Succeeded [2023-01-10T18:24:08.957Z] docker.io [2023-01-10T18:24:09.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T18:24:09.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T18:24:09.507Z] Configure a credential helper to remove this warning. See [2023-01-10T18:24:09.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T18:24:09.508Z] [2023-01-10T18:24:09.508Z] Login Succeeded [2023-01-10T18:24:09.508Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T18:24:09.539Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T18:24:09.939Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T18:24:09.989Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T18:24:10.022Z] ========================================================= [2023-01-10T18:24:10.022Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-10T18:24:10.022Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T18:24:10.528Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-10T18:24:10.800Z] Sending build context to Docker daemon 11.81MB [2023-01-10T18:24:10.800Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T18:24:10.800Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-10T18:24:11.071Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-10T18:24:11.071Z] 9b18e9b68314: Pulling fs layer [2023-01-10T18:24:11.071Z] 35d82f9e3411: Pulling fs layer [2023-01-10T18:24:11.071Z] e16973657156: Pulling fs layer [2023-01-10T18:24:11.071Z] fc693d55d65f: Pulling fs layer [2023-01-10T18:24:11.071Z] 7e9fc2657dce: Pulling fs layer [2023-01-10T18:24:11.071Z] dda99020689f: Pulling fs layer [2023-01-10T18:24:11.071Z] db1c61fa0a46: Pulling fs layer [2023-01-10T18:24:11.071Z] 891c053d2c06: Pulling fs layer [2023-01-10T18:24:11.071Z] fc693d55d65f: Waiting [2023-01-10T18:24:11.071Z] 7e9fc2657dce: Waiting [2023-01-10T18:24:11.071Z] dda99020689f: Waiting [2023-01-10T18:24:11.071Z] db1c61fa0a46: Waiting [2023-01-10T18:24:11.071Z] 891c053d2c06: Waiting [2023-01-10T18:24:11.071Z] e16973657156: Verifying Checksum [2023-01-10T18:24:11.071Z] e16973657156: Download complete [2023-01-10T18:24:11.071Z] 35d82f9e3411: Download complete [2023-01-10T18:24:11.071Z] 7e9fc2657dce: Verifying Checksum [2023-01-10T18:24:11.071Z] 7e9fc2657dce: Download complete [2023-01-10T18:24:11.071Z] dda99020689f: Verifying Checksum [2023-01-10T18:24:11.071Z] dda99020689f: Download complete [2023-01-10T18:24:11.071Z] 9b18e9b68314: Verifying Checksum [2023-01-10T18:24:12.060Z] 9b18e9b68314: Pull complete [2023-01-10T18:24:12.652Z] 891c053d2c06: Verifying Checksum [2023-01-10T18:24:12.652Z] 891c053d2c06: Download complete [2023-01-10T18:24:12.652Z] 35d82f9e3411: Pull complete [2023-01-10T18:24:12.935Z] e16973657156: Pull complete [2023-01-10T18:24:13.918Z] db1c61fa0a46: Download complete [2023-01-10T18:24:14.189Z] fc693d55d65f: Verifying Checksum [2023-01-10T18:24:14.189Z] fc693d55d65f: Download complete [2023-01-10T18:24:26.536Z] fc693d55d65f: Pull complete [2023-01-10T18:24:26.536Z] 7e9fc2657dce: Pull complete [2023-01-10T18:24:26.536Z] dda99020689f: Pull complete [2023-01-10T18:24:31.993Z] db1c61fa0a46: Pull complete [2023-01-10T18:24:33.989Z] 891c053d2c06: Pull complete [2023-01-10T18:24:33.989Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-10T18:24:33.989Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-10T18:24:33.989Z] ---> f96f9c87975a [2023-01-10T18:24:33.989Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-10T18:24:35.978Z] ---> Running in 3f0667f44386 [2023-01-10T18:24:36.248Z] Removing intermediate container 3f0667f44386 [2023-01-10T18:24:36.248Z] ---> c85c854c3ca6 [2023-01-10T18:24:36.248Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T18:24:36.521Z] ---> Running in 3609c041b2ac [2023-01-10T18:24:36.792Z] Removing intermediate container 3609c041b2ac [2023-01-10T18:24:36.792Z] ---> a855e09c531a [2023-01-10T18:24:36.792Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-01-10T18:24:36.792Z] ---> Running in 7ed7845dcbda [2023-01-10T18:24:37.062Z] Removing intermediate container 7ed7845dcbda [2023-01-10T18:24:37.062Z] ---> 21418d04dc41 [2023-01-10T18:24:37.062Z] Step 6/12 : WORKDIR /device-virtual-go [2023-01-10T18:24:37.336Z] ---> Running in cb0f37f6e5db [2023-01-10T18:24:37.605Z] Removing intermediate container cb0f37f6e5db [2023-01-10T18:24:37.605Z] ---> e8ade9adfad3 [2023-01-10T18:24:37.605Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T18:24:37.605Z] ---> Running in e3591620439c [2023-01-10T18:24:39.019Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T18:24:39.288Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T18:24:40.254Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T18:24:40.254Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-10T18:24:40.254Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T18:24:40.254Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T18:24:40.523Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T18:24:40.523Z] OK: 226 MiB in 55 packages [2023-01-10T18:24:41.504Z] Removing intermediate container e3591620439c [2023-01-10T18:24:41.504Z] ---> 33386bee21cc [2023-01-10T18:24:41.504Z] Step 8/12 : COPY go.mod vendor* ./ [2023-01-10T18:24:42.102Z] ---> 4241851fe9a1 [2023-01-10T18:24:42.103Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T18:24:42.103Z] ---> Running in 4e79d746049c [2023-01-10T18:25:38.589Z] Removing intermediate container 4e79d746049c [2023-01-10T18:25:38.589Z] ---> 4aa5e9c98323 [2023-01-10T18:25:38.589Z] Step 10/12 : COPY . . [2023-01-10T18:25:38.589Z] ---> cf3f4f01b21a [2023-01-10T18:25:38.589Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T18:25:38.589Z] ---> Running in 43d3c7444819 [2023-01-10T18:25:38.859Z] Removing intermediate container 43d3c7444819 [2023-01-10T18:25:38.859Z] ---> 46e57efcc85a [2023-01-10T18:25:38.859Z] Step 12/12 : RUN $MAKE [2023-01-10T18:25:38.859Z] ---> Running in 22a53e15652e [2023-01-10T18:25:39.828Z] noop [2023-01-10T18:25:40.796Z] Removing intermediate container 22a53e15652e [2023-01-10T18:25:40.796Z] ---> 94552ee59095 [2023-01-10T18:25:40.796Z] Successfully built 94552ee59095 [2023-01-10T18:25:40.796Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T18:25:41.288Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T18:25:41.288Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T18:25:41.571Z] prd-ubuntu20.04-docker-arm64-4c-16g-1635 does not seem to be running inside a container [2023-01-10T18:25:41.644Z] $ 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 ******** ci-base-image-arm64 cat [2023-01-10T18:25:42.927Z] $ docker top fba488ad90495cd4fea16c57caa1f24624719094bb4f07c2ec14d96706f3b39e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T18:25:43.839Z] + go version [2023-01-10T18:25:43.839Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-10T18:25:43.878Z] $ docker stop --time=1 fba488ad90495cd4fea16c57caa1f24624719094bb4f07c2ec14d96706f3b39e [2023-01-10T18:25:45.538Z] $ docker rm -f --volumes fba488ad90495cd4fea16c57caa1f24624719094bb4f07c2ec14d96706f3b39e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T18:25:46.399Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T18:25:46.399Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T18:25:46.651Z] prd-ubuntu20.04-docker-arm64-4c-16g-1635 does not seem to be running inside a container [2023-01-10T18:25:46.731Z] $ 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 ******** ci-base-image-arm64 cat [2023-01-10T18:25:48.010Z] $ docker top d5dbd4318b4057ca4320f7404142b357c77baf16b1af26c4a9dfd0c8e1c068ba -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T18:25:48.918Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-10T18:25:49.630Z] + make test [2023-01-10T18:25:49.630Z] go test ./... -coverprofile=coverage.out [2023-01-10T18:25:51.592Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-01-10T18:27:28.352Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-01-10T18:27:28.352Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.151s coverage: 65.7% of statements [2023-01-10T18:27:28.352Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-10T18:27:28.352Z] go vet ./... [2023-01-10T18:27:50.446Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T18:27:50.446Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T18:27:50.446Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T18:27:50.485Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T18:27:50.524Z] $ docker stop --time=1 d5dbd4318b4057ca4320f7404142b357c77baf16b1af26c4a9dfd0c8e1c068ba [2023-01-10T18:27:52.325Z] $ docker rm -f --volumes d5dbd4318b4057ca4320f7404142b357c77baf16b1af26c4a9dfd0c8e1c068ba [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T18:27:53.395Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T18:27:53.433Z] Warning: overwriting stash ‘coverage-report’ [2023-01-10T18:27:54.104Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T18:27:54.721Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T18:27:55.070Z] + ls -al . [2023-01-10T18:27:55.070Z] total 200 [2023-01-10T18:27:55.070Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 18:25 . [2023-01-10T18:27:55.070Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 18:23 .. [2023-01-10T18:27:55.070Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 18:23 .git [2023-01-10T18:27:55.070Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 18:23 .github [2023-01-10T18:27:55.070Z] -rw-rw-r-- 1 jenkins jenkins 337 Jan 10 18:23 .gitignore [2023-01-10T18:27:55.070Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 18:23 .golangci.yml [2023-01-10T18:27:55.070Z] -rw-rw-r-- 1 jenkins jenkins 8423 Jan 10 18:23 Attribution.txt [2023-01-10T18:27:55.070Z] -rw-rw-r-- 1 jenkins jenkins 11367 Jan 10 18:23 CHANGELOG.md [2023-01-10T18:27:55.070Z] -rw-rw-r-- 1 jenkins jenkins 1646 Jan 10 18:23 Dockerfile [2023-01-10T18:27:55.070Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 18:23 GOVERNANCE.md [2023-01-10T18:27:55.070Z] -rw-rw-r-- 1 jenkins jenkins 660 Jan 10 18:23 Jenkinsfile [2023-01-10T18:27:55.070Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 18:23 LICENSE [2023-01-10T18:27:55.070Z] -rw-rw-r-- 1 jenkins jenkins 1661 Jan 10 18:23 Makefile [2023-01-10T18:27:55.070Z] -rw-rw-r-- 1 jenkins jenkins 623 Jan 10 18:23 OWNERS.md [2023-01-10T18:27:55.070Z] -rw-rw-r-- 1 jenkins jenkins 3578 Jan 10 18:23 README.md [2023-01-10T18:27:55.070Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 18:20 VERSION [2023-01-10T18:27:55.070Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 18:23 bin [2023-01-10T18:27:55.070Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 18:23 cmd [2023-01-10T18:27:55.070Z] -rw-r--r-- 1 jenkins jenkins 44128 Jan 10 18:27 coverage.out [2023-01-10T18:27:55.070Z] -rw-rw-r-- 1 jenkins jenkins 3340 Jan 10 18:23 go.mod [2023-01-10T18:27:55.070Z] -rw-rw-r-- 1 jenkins jenkins 44412 Jan 10 18:23 go.sum [2023-01-10T18:27:55.070Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 18:23 internal [2023-01-10T18:27:55.070Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 18:23 snap [2023-01-10T18:27:55.070Z] -rw-rw-r-- 1 jenkins jenkins 235 Jan 10 18:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T18:27:55.503Z] + 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=228435ea66986bfb839a97438588f89d5337111a --label arch=arm64 --label version=0.0.0 . [2023-01-10T18:27:55.777Z] Sending build context to Docker daemon 11.86MB [2023-01-10T18:27:56.047Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T18:27:56.047Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-10T18:27:56.047Z] ---> 94552ee59095 [2023-01-10T18:27:56.047Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-10T18:27:56.047Z] ---> Running in 2f27cf0e637a [2023-01-10T18:27:56.317Z] Removing intermediate container 2f27cf0e637a [2023-01-10T18:27:56.317Z] ---> 0a50b697feee [2023-01-10T18:27:56.317Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T18:27:56.589Z] ---> Running in ecf78c197b8a [2023-01-10T18:27:56.857Z] Removing intermediate container ecf78c197b8a [2023-01-10T18:27:56.857Z] ---> 2531693f599b [2023-01-10T18:27:56.857Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-01-10T18:27:56.857Z] ---> Running in 73143eb732d1 [2023-01-10T18:27:57.135Z] Removing intermediate container 73143eb732d1 [2023-01-10T18:27:57.135Z] ---> 4eb4b284fa15 [2023-01-10T18:27:57.135Z] Step 6/25 : WORKDIR /device-virtual-go [2023-01-10T18:27:57.404Z] ---> Running in 9769dd2ef65d [2023-01-10T18:27:57.676Z] Removing intermediate container 9769dd2ef65d [2023-01-10T18:27:57.676Z] ---> b47e73735c4c [2023-01-10T18:27:57.676Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T18:27:57.676Z] ---> Running in afa918be3a35 [2023-01-10T18:27:59.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T18:27:59.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T18:28:00.517Z] OK: 226 MiB in 55 packages [2023-01-10T18:28:02.501Z] Removing intermediate container afa918be3a35 [2023-01-10T18:28:02.501Z] ---> b27305050103 [2023-01-10T18:28:02.501Z] Step 8/25 : COPY go.mod vendor* ./ [2023-01-10T18:28:02.785Z] ---> 0b4c955dd6a0 [2023-01-10T18:28:02.785Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T18:28:02.785Z] ---> Running in 8c7d22c5c656 [2023-01-10T18:28:05.390Z] Removing intermediate container 8c7d22c5c656 [2023-01-10T18:28:05.390Z] ---> 703b06b1abd3 [2023-01-10T18:28:05.390Z] Step 10/25 : COPY . . [2023-01-10T18:28:06.358Z] ---> cadbae02c3a0 [2023-01-10T18:28:06.358Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T18:28:06.636Z] ---> Running in d1d0ad4ec399 [2023-01-10T18:28:06.909Z] Removing intermediate container d1d0ad4ec399 [2023-01-10T18:28:06.909Z] ---> 635015f40a4d [2023-01-10T18:28:06.909Z] Step 12/25 : RUN $MAKE [2023-01-10T18:28:06.909Z] ---> Running in 2b9a922a23e0 [2023-01-10T18:28:07.877Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-01-10T18:30:59.715Z] Removing intermediate container 2b9a922a23e0 [2023-01-10T18:30:59.715Z] ---> 5451418d86a9 [2023-01-10T18:30:59.715Z] Step 13/25 : FROM alpine:3.16 [2023-01-10T18:30:59.715Z] 3.16: Pulling from library/alpine [2023-01-10T18:30:59.715Z] 6875df1f5354: Pulling fs layer [2023-01-10T18:30:59.715Z] 6875df1f5354: Verifying Checksum [2023-01-10T18:30:59.715Z] 6875df1f5354: Download complete [2023-01-10T18:30:59.715Z] 6875df1f5354: Pull complete [2023-01-10T18:30:59.715Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T18:30:59.715Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T18:30:59.715Z] ---> 2b4661558fb8 [2023-01-10T18:30:59.715Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-01-10T18:30:59.715Z] ---> Running in d9f46b63d2f5 [2023-01-10T18:30:59.715Z] Removing intermediate container d9f46b63d2f5 [2023-01-10T18:30:59.715Z] ---> 3d510df0d730 [2023-01-10T18:30:59.715Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-01-10T18:30:59.715Z] ---> Running in 4bdeb7ca1a3d [2023-01-10T18:30:59.715Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T18:30:59.715Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T18:30:59.715Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-10T18:30:59.715Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T18:30:59.715Z] OK: 5 MiB in 15 packages [2023-01-10T18:30:59.715Z] Removing intermediate container 4bdeb7ca1a3d [2023-01-10T18:30:59.715Z] ---> d2e2ce532754 [2023-01-10T18:30:59.715Z] Step 16/25 : WORKDIR / [2023-01-10T18:30:59.715Z] ---> Running in 1b4b77207b6a [2023-01-10T18:30:59.715Z] Removing intermediate container 1b4b77207b6a [2023-01-10T18:30:59.715Z] ---> fd8010051f46 [2023-01-10T18:30:59.715Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-01-10T18:30:59.715Z] ---> 948432ec055c [2023-01-10T18:30:59.715Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-01-10T18:30:59.715Z] ---> 07807e610cb1 [2023-01-10T18:30:59.715Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-01-10T18:30:59.715Z] ---> a7093d258dbd [2023-01-10T18:30:59.715Z] Step 20/25 : EXPOSE 59900 [2023-01-10T18:30:59.715Z] ---> Running in 9c1fb72c3594 [2023-01-10T18:30:59.715Z] Removing intermediate container 9c1fb72c3594 [2023-01-10T18:30:59.715Z] ---> 7a9cc48d9c09 [2023-01-10T18:30:59.715Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-01-10T18:30:59.715Z] ---> Running in 073904e4b911 [2023-01-10T18:30:59.715Z] Removing intermediate container 073904e4b911 [2023-01-10T18:30:59.715Z] ---> bb37e3252dbb [2023-01-10T18:30:59.715Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-10T18:30:59.715Z] ---> Running in bbb116c5256a [2023-01-10T18:30:59.715Z] Removing intermediate container bbb116c5256a [2023-01-10T18:30:59.715Z] ---> b0eba9f64a92 [2023-01-10T18:30:59.715Z] Step 23/25 : LABEL arch=arm64 [2023-01-10T18:30:59.715Z] ---> Running in 8d491e93e911 [2023-01-10T18:30:59.715Z] Removing intermediate container 8d491e93e911 [2023-01-10T18:30:59.715Z] ---> e5016a80d4ca [2023-01-10T18:30:59.715Z] Step 24/25 : LABEL git_sha=228435ea66986bfb839a97438588f89d5337111a [2023-01-10T18:30:59.715Z] ---> Running in 0a635d0209af [2023-01-10T18:30:59.715Z] Removing intermediate container 0a635d0209af [2023-01-10T18:30:59.715Z] ---> c843ff81caf3 [2023-01-10T18:30:59.715Z] Step 25/25 : LABEL version=0.0.0 [2023-01-10T18:30:59.715Z] ---> Running in bcf70c6be6f7 [2023-01-10T18:30:59.715Z] Removing intermediate container bcf70c6be6f7 [2023-01-10T18:30:59.715Z] ---> f41398cd39c0 [2023-01-10T18:30:59.715Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T18:30:59.715Z] Successfully built f41398cd39c0 [2023-01-10T18:30:59.715Z] 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 [2023-01-10T18:31:00.491Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T18:31:00.491Z] [2023-01-10T18:31:00.491Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T18:31:00.898Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T18:31:00.898Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-10T18:31:00.898Z] 8998bd30e6a1: Pulling fs layer [2023-01-10T18:31:00.898Z] 04944245beec: Pulling fs layer [2023-01-10T18:31:00.898Z] 699f458cf7ca: Pulling fs layer [2023-01-10T18:31:00.898Z] 765212b225bb: Pulling fs layer [2023-01-10T18:31:00.898Z] f23df028b6ca: Pulling fs layer [2023-01-10T18:31:00.898Z] d65c8cfc05b1: Pulling fs layer [2023-01-10T18:31:00.898Z] 2437ff75d9bd: Pulling fs layer [2023-01-10T18:31:00.898Z] f23df028b6ca: Waiting [2023-01-10T18:31:00.898Z] d65c8cfc05b1: Waiting [2023-01-10T18:31:00.898Z] 2437ff75d9bd: Waiting [2023-01-10T18:31:00.898Z] 765212b225bb: Waiting [2023-01-10T18:31:01.171Z] 04944245beec: Verifying Checksum [2023-01-10T18:31:01.171Z] 04944245beec: Download complete [2023-01-10T18:31:01.171Z] 765212b225bb: Verifying Checksum [2023-01-10T18:31:01.171Z] 765212b225bb: Download complete [2023-01-10T18:31:01.171Z] f23df028b6ca: Verifying Checksum [2023-01-10T18:31:01.171Z] f23df028b6ca: Download complete [2023-01-10T18:31:01.171Z] d65c8cfc05b1: Verifying Checksum [2023-01-10T18:31:01.171Z] d65c8cfc05b1: Download complete [2023-01-10T18:31:01.171Z] 699f458cf7ca: Verifying Checksum [2023-01-10T18:31:01.172Z] 699f458cf7ca: Download complete [2023-01-10T18:31:01.766Z] 8998bd30e6a1: Verifying Checksum [2023-01-10T18:31:01.766Z] 8998bd30e6a1: Download complete [2023-01-10T18:31:04.370Z] 2437ff75d9bd: Verifying Checksum [2023-01-10T18:31:04.370Z] 2437ff75d9bd: Download complete [2023-01-10T18:31:05.782Z] 8998bd30e6a1: Pull complete [2023-01-10T18:31:06.368Z] 04944245beec: Pull complete [2023-01-10T18:31:07.777Z] 699f458cf7ca: Pull complete [2023-01-10T18:31:07.777Z] 765212b225bb: Pull complete [2023-01-10T18:31:08.739Z] f23df028b6ca: Pull complete [2023-01-10T18:31:09.006Z] d65c8cfc05b1: Pull complete [2023-01-10T18:31:24.203Z] 2437ff75d9bd: Pull complete [2023-01-10T18:31:24.203Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-10T18:31:24.203Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T18:31:24.203Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T18:31:24.588Z] prd-ubuntu20.04-docker-arm64-4c-16g-1635 does not seem to be running inside a container [2023-01-10T18:31:24.675Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-10T18:31:27.504Z] $ docker top 24dd956897845549e1b6675b213a85a52a8ca6a97c4798a144c3722898475498 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T18:31:28.413Z] ---> job-cost.sh [2023-01-10T18:31:28.413Z] lf-activate-venv: SKIPPING [2023-01-10T18:31:28.413Z] INFO: No Stack... [2023-01-10T18:31:28.681Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-10T18:31:29.642Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T18:31:30.301Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2023-01-10T18:31:30.301Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T18:31:30.389Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-326-1-stack-cost] [2023-01-10T18:31:30.394Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-326-1-stack-cost] did not exist. Created. [2023-01-10T18:31:30.394Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-326-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T18:31:31.116Z] /w/workspace/device-virtual-go/1@tmp/durable-70826d2b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-10T18:31:31.786Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-10T18:31:31.825Z] Warning: overwriting stash ‘stack-cost’ [2023-01-10T18:31:31.880Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T18:31:31.892Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-326-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T18:31:31.976Z] $ docker stop --time=1 24dd956897845549e1b6675b213a85a52a8ca6a97c4798a144c3722898475498 [2023-01-10T18:31:33.478Z] $ docker rm -f --volumes 24dd956897845549e1b6675b213a85a52a8ca6a97c4798a144c3722898475498 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-01-10T18:31:34.484Z] provisioning config files... [2023-01-10T18:31:34.491Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-326@tmp/config17865006965699575801tmp [Pipeline] { [Pipeline] sh [2023-01-10T18:31:34.821Z] + set +x [2023-01-10T18:31:34.821Z] + bash -s -- [2023-01-10T18:31:34.821Z] + curl -s https://codecov.io/bash [2023-01-10T18:31:34.821Z] [2023-01-10T18:31:34.821Z] _____ _ [2023-01-10T18:31:34.821Z] / ____| | | [2023-01-10T18:31:34.821Z] | | ___ __| | ___ ___ _____ __ [2023-01-10T18:31:34.821Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-10T18:31:34.821Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-10T18:31:34.821Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-10T18:31:34.821Z] Bash-1.0.6 [2023-01-10T18:31:34.821Z] [2023-01-10T18:31:34.821Z] [2023-01-10T18:31:34.821Z] ==> git version 2.25.1 found [2023-01-10T18:31:34.821Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-01-10T18:31:34.821Z] Release-Date: 2020-01-08 [2023-01-10T18:31:34.821Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-10T18:31:34.821Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-10T18:31:34.821Z] ==> Jenkins CI detected. [2023-01-10T18:31:34.821Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-326 [2023-01-10T18:31:34.821Z] project root: . [2023-01-10T18:31:34.821Z] --> token set from env [2023-01-10T18:31:34.821Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-10T18:31:34.822Z] ==> Running gcov in . (disable via -X gcov) [2023-01-10T18:31:34.822Z] ==> Python coveragepy not found [2023-01-10T18:31:34.822Z] ==> Searching for coverage reports in: [2023-01-10T18:31:34.822Z] + . [2023-01-10T18:31:34.822Z] -> Found 1 reports [2023-01-10T18:31:34.822Z] ==> Detecting git/mercurial file structure [2023-01-10T18:31:34.822Z] ==> Reading reports [2023-01-10T18:31:34.822Z] + ./coverage.out bytes=44128 [2023-01-10T18:31:34.822Z] ==> Appending adjustments [2023-01-10T18:31:34.822Z] https://docs.codecov.io/docs/fixing-reports [2023-01-10T18:31:35.081Z] + Found adjustments [2023-01-10T18:31:35.081Z] ==> Gzipping contents [2023-01-10T18:31:35.081Z] 8.0K /tmp/codecov.1taKnx.gz [2023-01-10T18:31:35.081Z] ==> Uploading reports [2023-01-10T18:31:35.081Z] url: https://codecov.io [2023-01-10T18:31:35.081Z] query: branch=PR-326&commit=228435ea66986bfb839a97438588f89d5337111a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-326%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=326&job=&cmd_args= [2023-01-10T18:31:35.081Z] -> Pinging Codecov [2023-01-10T18:31:35.081Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-326&commit=228435ea66986bfb839a97438588f89d5337111a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-326%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=326&job=&cmd_args= [2023-01-10T18:31:35.342Z] -> Uploading to [2023-01-10T18:31:35.342Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-10/5E52B4B073DB2E39498172D8E973AA87/228435ea66986bfb839a97438588f89d5337111a/07ff92b5-8b12-47ca-b124-0c4dd4bbb07f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T183135Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0533f3c2ba4a723d4e34599c404ce7b511f6605ce29ff06461a0e8cee3f3f6c7 [2023-01-10T18:31:35.342Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T18:31:35.342Z] Dload Upload Total Spent Left Speed [2023-01-10T18:31:35.601Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5503 0 0 100 5503 0 27108 --:--:-- --:--:-- --:--:-- 26975 100 5503 0 0 100 5503 0 25476 --:--:-- --:--:-- --:--:-- 25359 [2023-01-10T18:31:35.601Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/228435ea66986bfb839a97438588f89d5337111a [Pipeline] } [2023-01-10T18:31:35.627Z] 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 [2023-01-10T18:31:37.288Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-326/archives ] [2023-01-10T18:31:37.288Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-326/archives [2023-01-10T18:31:37.288Z] total 16 [2023-01-10T18:31:37.288Z] drwxr-xr-x 3 root root 4096 Jan 10 18:22 . [2023-01-10T18:31:37.288Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 18:22 .. [2023-01-10T18:31:37.288Z] drwxr-xr-x 2 root root 4096 Jan 10 18:22 cost [2023-01-10T18:31:37.288Z] -rw-r--r-- 1 root root 89 Jan 10 18:22 cost.csv [2023-01-10T18:31:37.288Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-326/archives [2023-01-10T18:31:37.288Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-326/archives [2023-01-10T18:31:37.288Z] total 16 [2023-01-10T18:31:37.288Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 18:22 . [2023-01-10T18:31:37.288Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 18:22 .. [2023-01-10T18:31:37.288Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 18:22 cost [2023-01-10T18:31:37.288Z] -rw-r--r-- 1 jenkins jenkins 89 Jan 10 18:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-10T18:31:37.615Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T18:31:38.505Z] ---> package-listing.sh [2023-01-10T18:31:38.505Z] ++ facter osfamily [2023-01-10T18:31:38.505Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-10T18:31:38.505Z] + OS_FAMILY=debian [2023-01-10T18:31:38.505Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-326 [2023-01-10T18:31:38.505Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-10T18:31:38.505Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-10T18:31:38.505Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-10T18:31:38.505Z] + PACKAGES=/tmp/packages_start.txt [2023-01-10T18:31:38.505Z] + '[' /w/workspace/foundry_device-virtual-go_PR-326 ']' [2023-01-10T18:31:38.505Z] + PACKAGES=/tmp/packages_end.txt [2023-01-10T18:31:38.505Z] + case "${OS_FAMILY}" in [2023-01-10T18:31:38.505Z] + dpkg -l [2023-01-10T18:31:38.505Z] + grep '^ii' [2023-01-10T18:31:38.765Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-10T18:31:38.765Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-10T18:31:38.765Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-10T18:31:38.765Z] + '[' /w/workspace/foundry_device-virtual-go_PR-326 ']' [2023-01-10T18:31:38.765Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-326/archives/ [2023-01-10T18:31:38.765Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-326/archives/ [Pipeline] echo [2023-01-10T18:31:38.801Z] 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-326/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-10T18:31:39.094Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T18:31:39.713Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T18:31:39.713Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T18:31:39.856Z] prd-ubuntu20.04-docker-8c-8g-1632 does not seem to be running inside a container [2023-01-10T18:31:39.890Z] $ 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-326/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-326 -v /w/workspace/foundry_device-virtual-go_PR-326:/w/workspace/foundry_device-virtual-go_PR-326:rw,z -v /w/workspace/foundry_device-virtual-go_PR-326@tmp:/w/workspace/foundry_device-virtual-go_PR-326@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-10T18:31:40.126Z] $ docker top 06ea54c3a5c0e44f7f416ac31418e9fb99977a937c84921774e15772bcd733ee -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T18:31:40.527Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-10T18:31:40.838Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-10T18:31:41.146Z] + ls /var/log/sa-host [2023-01-10T18:31:41.146Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T18:31:41.297Z] provisioning config files... [2023-01-10T18:31:41.306Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-326@tmp/config13568664767472502465tmp [Pipeline] { [Pipeline] echo [2023-01-10T18:31:41.361Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T18:31:41.673Z] ---> create-netrc.sh [Pipeline] } [2023-01-10T18:31:41.699Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-10T18:31:42.104Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-10T18:31:42.143Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T18:31:42.451Z] ---> sudo-logs.sh [2023-01-10T18:31:42.451Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-10T18:31:42.542Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T18:31:42.858Z] ---> job-cost.sh [2023-01-10T18:31:42.858Z] lf-activate-venv: SKIPPING [2023-01-10T18:31:42.858Z] DEBUG: total: 0.2199999988079071 [2023-01-10T18:31:42.858Z] INFO: Retrieving Stack Cost... [2023-01-10T18:31:43.117Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T18:31:43.688Z] INFO: Archiving Costs [Pipeline] echo [2023-01-10T18:31:43.732Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T18:31:44.049Z] ---> logs-deploy.sh [2023-01-10T18:31:44.049Z] lf-activate-venv: SKIPPING [2023-01-10T18:31:44.049Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-326/1 [2023-01-10T18:31:44.049Z] INFO: archiving workspace using pattern(s): [2023-01-10T18:31:44.986Z] Archives upload complete. [2023-01-10T18:31:44.986Z] INFO: archiving logs to Nexus