Pull request #333 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b5055e77311d0b5de917d9f550f7188f4308d844+da9c53c8f531c50c136bf7f237b2fe6b058fda45 (0cf8cf81b8f0188b29470fdf5880cead43c38302) 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-ssh12231483556437933073.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-ssh14942497971328860946.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-333/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-333/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8833390649864095965.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-333/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1821353702558418482.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-ssh6002162724711962488.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-333/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-333/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh630647594740772117.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3976 in /w/workspace/foundry_device-virtual-go_PR-333 [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-333 # 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 Merging remotes/origin/main commit da9c53c8f531c50c136bf7f237b2fe6b058fda45 into PR head commit b5055e77311d0b5de917d9f550f7188f4308d844 Merge succeeded, producing b5055e77311d0b5de917d9f550f7188f4308d844 Checking out Revision b5055e77311d0b5de917d9f550f7188f4308d844 (PR-333) > 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/333/head:refs/remotes/origin/PR-333 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b5055e77311d0b5de917d9f550f7188f4308d844 # 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 da9c53c8f531c50c136bf7f237b2fe6b058fda45 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b5055e77311d0b5de917d9f550f7188f4308d844 # timeout=10 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-30T11:02:30.269Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-30T11:02:30.444Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-30T11:02:30.540Z] ========================================================= [2023-01-30T11:02:30.540Z] EdgeX Global Pipelines Version Info [2023-01-30T11:02:30.540Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-30T11:02:31.341Z] ------------------- [2023-01-30T11:02:31.341Z] stable info: [2023-01-30T11:02:31.341Z] ------------------- [2023-01-30T11:02:31.341Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-30T11:02:31.341Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-30T11:02:31.341Z] Message: update stable to v1.0.244 [2023-01-30T11:02:31.912Z] ------------------- [2023-01-30T11:02:31.912Z] experimental info: [2023-01-30T11:02:31.912Z] ------------------- [2023-01-30T11:02:31.912Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-30T11:02:31.912Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-30T11:02:31.912Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-30T11:02:32.248Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-01-30T11:02:32.365Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-01-30T11:02:32.406Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-30T11:02:32.440Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-30T11:02:32.477Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-30T11:02:32.522Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-30T11:02:32.562Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-30T11:02:32.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-30T11:02:32.645Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-30T11:02:32.687Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-30T11:02:32.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-30T11:02:32.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-01-30T11:02:32.799Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-30T11:02:32.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-30T11:02:32.873Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-30T11:02:32.908Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-30T11:02:32.944Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-30T11:02:33.060Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-30T11:02:33.098Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-30T11:02:33.139Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-30T11:02:33.177Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-30T11:02:33.217Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-30T11:02:33.293Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-30T11:02:33.336Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-30T11:02:33.388Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-30T11:02:33.433Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-30T11:02:33.488Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-30T11:02:33.540Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-333 [Pipeline] echo [2023-01-30T11:02:33.581Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-333 [Pipeline] echo [2023-01-30T11:02:33.630Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-333 [Pipeline] echo [2023-01-30T11:02:33.672Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b5055e77311d0b5de917d9f550f7188f4308d844 [Pipeline] echo [2023-01-30T11:02:33.714Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b5055e7 [Pipeline] echo [2023-01-30T11:02:33.755Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-30T11:02:33.876Z] provisioning config files... [2023-01-30T11:02:33.913Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-333@tmp/config5836335161721700528tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-30T11:02:34.286Z] ---> docker-login.sh [2023-01-30T11:02:34.286Z] nexus3.edgexfoundry.org:10001 [2023-01-30T11:02:34.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T11:02:34.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T11:02:34.806Z] Configure a credential helper to remove this warning. See [2023-01-30T11:02:34.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T11:02:34.806Z] [2023-01-30T11:02:34.806Z] Login Succeeded [2023-01-30T11:02:34.806Z] nexus3.edgexfoundry.org:10002 [2023-01-30T11:02:34.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T11:02:35.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T11:02:35.066Z] Configure a credential helper to remove this warning. See [2023-01-30T11:02:35.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T11:02:35.066Z] [2023-01-30T11:02:35.066Z] Login Succeeded [2023-01-30T11:02:35.066Z] nexus3.edgexfoundry.org:10003 [2023-01-30T11:02:35.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T11:02:35.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T11:02:35.066Z] Configure a credential helper to remove this warning. See [2023-01-30T11:02:35.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T11:02:35.066Z] [2023-01-30T11:02:35.066Z] Login Succeeded [2023-01-30T11:02:35.066Z] nexus3.edgexfoundry.org:10004 [2023-01-30T11:02:35.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T11:02:35.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T11:02:35.066Z] Configure a credential helper to remove this warning. See [2023-01-30T11:02:35.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T11:02:35.066Z] [2023-01-30T11:02:35.066Z] Login Succeeded [2023-01-30T11:02:35.327Z] docker.io [2023-01-30T11:02:35.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T11:02:35.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T11:02:35.587Z] Configure a credential helper to remove this warning. See [2023-01-30T11:02:35.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T11:02:35.587Z] [2023-01-30T11:02:35.587Z] Login Succeeded [2023-01-30T11:02:35.587Z] ---> docker-login.sh ends [Pipeline] } [2023-01-30T11:02:35.625Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-30T11:02:36.619Z] + git rev-list -1 --merges b5055e77311d0b5de917d9f550f7188f4308d844~1..b5055e77311d0b5de917d9f550f7188f4308d844 [Pipeline] echo [2023-01-30T11:02:36.688Z] -----------> git rev-list -1 --merges b5055e77311d0b5de917d9f550f7188f4308d844~1..b5055e77311d0b5de917d9f550f7188f4308d844 b5055e77311d0b5de917d9f550f7188f4308d844 [false] [Pipeline] sh [2023-01-30T11:02:37.006Z] + git log --format=format:%s -1 b5055e77311d0b5de917d9f550f7188f4308d844 [Pipeline] echo [2023-01-30T11:02:37.042Z] ========================================================= [2023-01-30T11:02:37.042Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-30T11:02:37.042Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-30T11:02:37.572Z] + git log --format=format:%s -1 b5055e77311d0b5de917d9f550f7188f4308d844 [Pipeline] echo [2023-01-30T11:02:37.603Z] [semverPrep] GIT_COMMIT: b5055e77311d0b5de917d9f550f7188f4308d844, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-01-30T11:02:37.634Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-30T11:02:38.034Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-30T11:02:38.034Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-30T11:02:38.034Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-30T11:02:38.034Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-30T11:02:38.034Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-30T11:02:38.034Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-30T11:02:38.034Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T11:02:38.781Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-30T11:02:38.782Z] [2023-01-30T11:02:38.782Z] 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-30T11:02:39.607Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-30T11:02:39.873Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-30T11:02:39.873Z] b85a868b505f: Pulling fs layer [2023-01-30T11:02:39.873Z] e2be974225ed: Pulling fs layer [2023-01-30T11:02:39.873Z] 339a4e72a1f5: Pulling fs layer [2023-01-30T11:02:39.873Z] 988bab9f4d93: Pulling fs layer [2023-01-30T11:02:39.873Z] 1469e6f7b9e6: Pulling fs layer [2023-01-30T11:02:39.873Z] eaf3925da568: Pulling fs layer [2023-01-30T11:02:39.873Z] bab4dde63d76: Pulling fs layer [2023-01-30T11:02:39.873Z] bde34c3a00c8: Pulling fs layer [2023-01-30T11:02:39.873Z] b352a97aabf1: Pulling fs layer [2023-01-30T11:02:39.873Z] 4872d77fe225: Pulling fs layer [2023-01-30T11:02:39.873Z] 5851b861e8e6: Pulling fs layer [2023-01-30T11:02:39.873Z] 1469e6f7b9e6: Waiting [2023-01-30T11:02:39.873Z] eaf3925da568: Waiting [2023-01-30T11:02:39.873Z] bab4dde63d76: Waiting [2023-01-30T11:02:39.873Z] 4872d77fe225: Waiting [2023-01-30T11:02:39.873Z] 988bab9f4d93: Waiting [2023-01-30T11:02:39.873Z] b352a97aabf1: Waiting [2023-01-30T11:02:39.873Z] bde34c3a00c8: Waiting [2023-01-30T11:02:39.873Z] e2be974225ed: Verifying Checksum [2023-01-30T11:02:39.873Z] e2be974225ed: Download complete [2023-01-30T11:02:39.873Z] 988bab9f4d93: Verifying Checksum [2023-01-30T11:02:39.873Z] 988bab9f4d93: Download complete [2023-01-30T11:02:40.177Z] 1469e6f7b9e6: Verifying Checksum [2023-01-30T11:02:40.177Z] 1469e6f7b9e6: Download complete [2023-01-30T11:02:40.177Z] 339a4e72a1f5: Verifying Checksum [2023-01-30T11:02:40.177Z] 339a4e72a1f5: Download complete [2023-01-30T11:02:40.177Z] eaf3925da568: Verifying Checksum [2023-01-30T11:02:40.177Z] eaf3925da568: Download complete [2023-01-30T11:02:40.177Z] bde34c3a00c8: Verifying Checksum [2023-01-30T11:02:40.177Z] bde34c3a00c8: Download complete [2023-01-30T11:02:40.441Z] b85a868b505f: Verifying Checksum [2023-01-30T11:02:40.441Z] b85a868b505f: Download complete [2023-01-30T11:02:40.441Z] b352a97aabf1: Verifying Checksum [2023-01-30T11:02:40.441Z] b352a97aabf1: Download complete [2023-01-30T11:02:40.441Z] 5851b861e8e6: Download complete [2023-01-30T11:02:40.441Z] 4872d77fe225: Verifying Checksum [2023-01-30T11:02:40.441Z] 4872d77fe225: Download complete [2023-01-30T11:02:40.699Z] bab4dde63d76: Verifying Checksum [2023-01-30T11:02:40.699Z] bab4dde63d76: Download complete [2023-01-30T11:02:41.708Z] b85a868b505f: Pull complete [2023-01-30T11:02:41.708Z] e2be974225ed: Pull complete [2023-01-30T11:02:42.274Z] 339a4e72a1f5: Pull complete [2023-01-30T11:02:42.274Z] 988bab9f4d93: Pull complete [2023-01-30T11:02:42.533Z] 1469e6f7b9e6: Pull complete [2023-01-30T11:02:42.533Z] eaf3925da568: Pull complete [2023-01-30T11:02:44.444Z] bab4dde63d76: Pull complete [2023-01-30T11:02:44.444Z] bde34c3a00c8: Pull complete [2023-01-30T11:02:44.444Z] b352a97aabf1: Pull complete [2023-01-30T11:02:44.710Z] 4872d77fe225: Pull complete [2023-01-30T11:02:44.710Z] 5851b861e8e6: Pull complete [2023-01-30T11:02:44.710Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-30T11:02:44.710Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-30T11:02:44.710Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-30T11:02:44.941Z] prd-ubuntu20.04-docker-8c-8g-3976 does not seem to be running inside a container [2023-01-30T11:02:44.969Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-333 -v /w/workspace/foundry_device-virtual-go_PR-333:/w/workspace/foundry_device-virtual-go_PR-333:rw,z -v /w/workspace/foundry_device-virtual-go_PR-333@tmp:/w/workspace/foundry_device-virtual-go_PR-333@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-30T11:02:47.215Z] $ docker top b5c70b1c51d47f49eaa0f92a8031bd57cb047bb2eac541f36383456a0521e5b1 -eo pid,comm [2023-01-30T11:02:47.277Z] 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-30T11:02:47.277Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-30T11:02:47.393Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-30T11:02:47.393Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-30T11:02:47.510Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-30T11:02:47.509Z] $ docker exec b5c70b1c51d47f49eaa0f92a8031bd57cb047bb2eac541f36383456a0521e5b1 ssh-agent [2023-01-30T11:02:47.636Z] SSH_AUTH_SOCK=/tmp/ssh-NIaEJfMReoQv/agent.32 [2023-01-30T11:02:47.636Z] SSH_AGENT_PID=38 [2023-01-30T11:02:47.644Z] Running ssh-add (command line suppressed) [2023-01-30T11:02:47.757Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-333@tmp/private_key_6645860100751914825.key (/w/workspace/foundry_device-virtual-go_PR-333@tmp/private_key_6645860100751914825.key) [2023-01-30T11:02:47.779Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-30T11:02:48.109Z] + git tag --points-at HEAD [Pipeline] } [2023-01-30T11:02:48.144Z] $ docker exec --env ******** --env ******** b5c70b1c51d47f49eaa0f92a8031bd57cb047bb2eac541f36383456a0521e5b1 ssh-agent -k [2023-01-30T11:02:48.239Z] unset SSH_AUTH_SOCK; [2023-01-30T11:02:48.244Z] unset SSH_AGENT_PID; [2023-01-30T11:02:48.245Z] echo Agent pid 38 killed; [2023-01-30T11:02:48.255Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-30T11:02:48.338Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-30T11:02:48.338Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-30T11:02:48.451Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-30T11:02:48.451Z] $ docker exec b5c70b1c51d47f49eaa0f92a8031bd57cb047bb2eac541f36383456a0521e5b1 ssh-agent [2023-01-30T11:02:48.580Z] SSH_AUTH_SOCK=/tmp/ssh-Bz4mmkk2iR7G/agent.70 [2023-01-30T11:02:48.580Z] SSH_AGENT_PID=76 [2023-01-30T11:02:48.585Z] Running ssh-add (command line suppressed) [2023-01-30T11:02:48.679Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-333@tmp/private_key_8647659956077819792.key (/w/workspace/foundry_device-virtual-go_PR-333@tmp/private_key_8647659956077819792.key) [2023-01-30T11:02:48.697Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-30T11:02:49.027Z] + git semver init [2023-01-30T11:02:49.377Z] 2023-01-30 11:02:49,195 [run_init] DEBUG init version:0.0.0 force:False [2023-01-30T11:02:49.377Z] 2023-01-30 11:02:49,196 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-333/.semver [2023-01-30T11:02:49.377Z] 2023-01-30 11:02:49,196 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-333/.semver [2023-01-30T11:02:49.377Z] 2023-01-30 11:02:49,197 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-333/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-333, universal_newlines=False, shell=None, istream=None) [2023-01-30T11:02:50.759Z] 2023-01-30 11:02:50,541 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-333/.git/info/exclude [2023-01-30T11:02:50.759Z] 2023-01-30 11:02:50,541 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-333/.semver/PR-333 with force:False [2023-01-30T11:02:50.759Z] 2023-01-30 11:02:50,541 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-333/.semver/PR-333 [2023-01-30T11:02:50.759Z] 2023-01-30 11:02:50,545 [execute] INFO git cat-file --batch-check [2023-01-30T11:02:50.759Z] 2023-01-30 11:02:50,546 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-333/.semver, universal_newlines=False, shell=None, istream=) [2023-01-30T11:02:50.759Z] 2023-01-30 11:02:50,551 [execute] INFO git cat-file --batch [2023-01-30T11:02:50.759Z] 2023-01-30 11:02:50,552 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-333/.semver, universal_newlines=False, shell=None, istream=) [2023-01-30T11:02:50.759Z] 2023-01-30 11:02:50,557 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-333/.semver/PR-333 [2023-01-30T11:02:50.759Z] 0.0.0 [Pipeline] } [2023-01-30T11:02:50.784Z] $ docker exec --env ******** --env ******** b5c70b1c51d47f49eaa0f92a8031bd57cb047bb2eac541f36383456a0521e5b1 ssh-agent -k [2023-01-30T11:02:50.892Z] unset SSH_AUTH_SOCK; [2023-01-30T11:02:50.893Z] unset SSH_AGENT_PID; [2023-01-30T11:02:50.893Z] echo Agent pid 76 killed; [2023-01-30T11:02:50.905Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-30T11:02:51.322Z] + git semver [Pipeline] } [2023-01-30T11:02:51.604Z] $ docker stop --time=1 b5c70b1c51d47f49eaa0f92a8031bd57cb047bb2eac541f36383456a0521e5b1 [2023-01-30T11:02:52.928Z] $ docker rm -f --volumes b5c70b1c51d47f49eaa0f92a8031bd57cb047bb2eac541f36383456a0521e5b1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-30T11:02:53.341Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-30T11:02:53.662Z] Stashed 1 file(s) [Pipeline] echo [2023-01-30T11:02:53.679Z] [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-30T11:02:54.276Z] provisioning config files... [2023-01-30T11:02:54.286Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-333@tmp/config72817395606323683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-30T11:02:54.639Z] ---> docker-login.sh [2023-01-30T11:02:54.639Z] nexus3.edgexfoundry.org:10001 [2023-01-30T11:02:54.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T11:02:54.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T11:02:54.640Z] Configure a credential helper to remove this warning. See [2023-01-30T11:02:54.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T11:02:54.640Z] [2023-01-30T11:02:54.640Z] Login Succeeded [2023-01-30T11:02:54.640Z] nexus3.edgexfoundry.org:10002 [2023-01-30T11:02:54.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T11:02:54.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T11:02:54.640Z] Configure a credential helper to remove this warning. See [2023-01-30T11:02:54.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T11:02:54.640Z] [2023-01-30T11:02:54.640Z] Login Succeeded [2023-01-30T11:02:54.640Z] nexus3.edgexfoundry.org:10003 [2023-01-30T11:02:54.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T11:02:54.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T11:02:54.899Z] Configure a credential helper to remove this warning. See [2023-01-30T11:02:54.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T11:02:54.899Z] [2023-01-30T11:02:54.899Z] Login Succeeded [2023-01-30T11:02:54.899Z] nexus3.edgexfoundry.org:10004 [2023-01-30T11:02:54.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T11:02:54.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T11:02:54.899Z] Configure a credential helper to remove this warning. See [2023-01-30T11:02:54.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T11:02:54.899Z] [2023-01-30T11:02:54.899Z] Login Succeeded [2023-01-30T11:02:54.899Z] docker.io [2023-01-30T11:02:55.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T11:02:55.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T11:02:55.160Z] Configure a credential helper to remove this warning. See [2023-01-30T11:02:55.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T11:02:55.160Z] [2023-01-30T11:02:55.160Z] Login Succeeded [2023-01-30T11:02:55.160Z] ---> docker-login.sh ends [Pipeline] } [2023-01-30T11:02:55.191Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-30T11:02:55.381Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-30T11:02:55.420Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-30T11:02:55.450Z] ========================================================= [2023-01-30T11:02:55.450Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-30T11:02:55.450Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T11:02:55.925Z] + 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-30T11:02:55.925Z] Sending build context to Docker daemon 23.35MB [2023-01-30T11:02:55.925Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-30T11:02:55.925Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-30T11:02:56.313Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-30T11:02:56.313Z] 213ec9aee27d: Pulling fs layer [2023-01-30T11:02:56.313Z] 4583459ba037: Pulling fs layer [2023-01-30T11:02:56.313Z] 93c1e223e6f2: Pulling fs layer [2023-01-30T11:02:56.313Z] 53926ce57604: Pulling fs layer [2023-01-30T11:02:56.313Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-30T11:02:56.313Z] 22ff95d597cd: Pulling fs layer [2023-01-30T11:02:56.313Z] 12d6caf4c0d1: Pulling fs layer [2023-01-30T11:02:56.313Z] 96b7cbca73a9: Pulling fs layer [2023-01-30T11:02:56.313Z] a7acece74701: Pulling fs layer [2023-01-30T11:02:56.313Z] 53926ce57604: Waiting [2023-01-30T11:02:56.313Z] 96b7cbca73a9: Waiting [2023-01-30T11:02:56.313Z] 12d6caf4c0d1: Waiting [2023-01-30T11:02:56.313Z] a7acece74701: Waiting [2023-01-30T11:02:56.313Z] 22ff95d597cd: Waiting [2023-01-30T11:02:56.313Z] 21b2b0c7a3f4: Waiting [2023-01-30T11:02:56.313Z] 93c1e223e6f2: Verifying Checksum [2023-01-30T11:02:56.313Z] 93c1e223e6f2: Download complete [2023-01-30T11:02:56.313Z] 4583459ba037: Verifying Checksum [2023-01-30T11:02:56.313Z] 4583459ba037: Download complete [2023-01-30T11:02:56.313Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-30T11:02:56.313Z] 21b2b0c7a3f4: Download complete [2023-01-30T11:02:56.313Z] 22ff95d597cd: Verifying Checksum [2023-01-30T11:02:56.313Z] 22ff95d597cd: Download complete [2023-01-30T11:02:56.313Z] 213ec9aee27d: Verifying Checksum [2023-01-30T11:02:56.313Z] 213ec9aee27d: Download complete [2023-01-30T11:02:56.313Z] 213ec9aee27d: Pull complete [2023-01-30T11:02:56.583Z] 12d6caf4c0d1: Verifying Checksum [2023-01-30T11:02:56.583Z] 12d6caf4c0d1: Download complete [2023-01-30T11:02:56.583Z] 4583459ba037: Pull complete [2023-01-30T11:02:56.583Z] 93c1e223e6f2: Pull complete [2023-01-30T11:02:58.329Z] a7acece74701: Verifying Checksum [2023-01-30T11:02:58.329Z] a7acece74701: Download complete [2023-01-30T11:02:58.604Z] 96b7cbca73a9: Verifying Checksum [2023-01-30T11:02:58.604Z] 96b7cbca73a9: Download complete [2023-01-30T11:02:58.604Z] 53926ce57604: Verifying Checksum [2023-01-30T11:02:58.604Z] 53926ce57604: Download complete [2023-01-30T11:03:02.796Z] 53926ce57604: Pull complete [2023-01-30T11:03:02.796Z] 21b2b0c7a3f4: Pull complete [2023-01-30T11:03:02.796Z] 22ff95d597cd: Pull complete [2023-01-30T11:03:02.796Z] 12d6caf4c0d1: Pull complete [2023-01-30T11:03:04.694Z] 96b7cbca73a9: Pull complete [2023-01-30T11:03:05.628Z] a7acece74701: Pull complete [2023-01-30T11:03:05.628Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-30T11:03:05.628Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-30T11:03:05.628Z] ---> db6d94c90886 [2023-01-30T11:03:05.628Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-30T11:03:08.922Z] ---> Running in 328cebcdc00a [2023-01-30T11:03:08.922Z] Removing intermediate container 328cebcdc00a [2023-01-30T11:03:08.922Z] ---> 2332ba2f1af1 [2023-01-30T11:03:08.923Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-30T11:03:08.923Z] ---> Running in 4c68f77b0095 [2023-01-30T11:03:09.086Z] Still waiting to schedule task [2023-01-30T11:03:09.086Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-30T11:03:09.181Z] Removing intermediate container 4c68f77b0095 [2023-01-30T11:03:09.181Z] ---> 4ed1d8c3b93c [2023-01-30T11:03:09.181Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-01-30T11:03:09.181Z] ---> Running in a77b70228abe [2023-01-30T11:03:09.181Z] Removing intermediate container a77b70228abe [2023-01-30T11:03:09.181Z] ---> ac1aeda370c7 [2023-01-30T11:03:09.181Z] Step 6/12 : WORKDIR /device-virtual-go [2023-01-30T11:03:09.181Z] ---> Running in 2bd092f1c109 [2023-01-30T11:03:09.441Z] Removing intermediate container 2bd092f1c109 [2023-01-30T11:03:09.441Z] ---> 69d3d0bd8953 [2023-01-30T11:03:09.441Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-30T11:03:09.441Z] ---> Running in 74f8766744c5 [2023-01-30T11:03:09.702Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-30T11:03:09.702Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-30T11:03:09.970Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-30T11:03:09.970Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-30T11:03:09.970Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-30T11:03:10.255Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-30T11:03:10.255Z] Executing busybox-1.35.0-r17.trigger [2023-01-30T11:03:10.255Z] OK: 216 MiB in 55 packages [2023-01-30T11:03:10.823Z] Removing intermediate container 74f8766744c5 [2023-01-30T11:03:10.823Z] ---> a9fe130c7ae0 [2023-01-30T11:03:10.823Z] Step 8/12 : COPY go.mod vendor* ./ [2023-01-30T11:03:10.823Z] ---> 0a82eca496dc [2023-01-30T11:03:10.823Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-30T11:03:10.823Z] ---> Running in 2fa3da10db08 [2023-01-30T11:03:42.939Z] Removing intermediate container 2fa3da10db08 [2023-01-30T11:03:42.939Z] ---> e3c3ef6f6347 [2023-01-30T11:03:42.939Z] Step 10/12 : COPY . . [2023-01-30T11:03:42.939Z] ---> 1f9290ceaf3e [2023-01-30T11:03:42.939Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-30T11:03:42.939Z] ---> Running in 0aea6bf9326b [2023-01-30T11:03:42.939Z] Removing intermediate container 0aea6bf9326b [2023-01-30T11:03:42.939Z] ---> 90880a75263b [2023-01-30T11:03:42.939Z] Step 12/12 : RUN $MAKE [2023-01-30T11:03:42.939Z] ---> Running in 8e4b72bd4ced [2023-01-30T11:03:42.939Z] noop [2023-01-30T11:03:42.939Z] Removing intermediate container 8e4b72bd4ced [2023-01-30T11:03:42.939Z] ---> 61da1b37ed6f [2023-01-30T11:03:42.939Z] Successfully built 61da1b37ed6f [2023-01-30T11:03:42.939Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T11:03:43.396Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-30T11:03:43.396Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-30T11:03:43.628Z] prd-ubuntu20.04-docker-8c-8g-3976 does not seem to be running inside a container [2023-01-30T11:03:43.664Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-333 -v /w/workspace/foundry_device-virtual-go_PR-333:/w/workspace/foundry_device-virtual-go_PR-333:rw,z -v /w/workspace/foundry_device-virtual-go_PR-333@tmp:/w/workspace/foundry_device-virtual-go_PR-333@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-30T11:03:44.000Z] $ docker top cbb808addab1c7465c9f6ef5c108cff1a2239fb751728c9dc5ecfedcaaeb781b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-30T11:03:44.405Z] + go version [2023-01-30T11:03:44.405Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-30T11:03:44.451Z] $ docker stop --time=1 cbb808addab1c7465c9f6ef5c108cff1a2239fb751728c9dc5ecfedcaaeb781b [2023-01-30T11:03:45.751Z] $ docker rm -f --volumes cbb808addab1c7465c9f6ef5c108cff1a2239fb751728c9dc5ecfedcaaeb781b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T11:03:46.614Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-30T11:03:46.614Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-30T11:03:46.846Z] prd-ubuntu20.04-docker-8c-8g-3976 does not seem to be running inside a container [2023-01-30T11:03:46.885Z] $ 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-333 -v /w/workspace/foundry_device-virtual-go_PR-333:/w/workspace/foundry_device-virtual-go_PR-333:rw,z -v /w/workspace/foundry_device-virtual-go_PR-333@tmp:/w/workspace/foundry_device-virtual-go_PR-333@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-30T11:03:47.249Z] $ docker top 1f917341082ee41d90fbfffb270460f34b9993bb442175ebef1a094abadf00a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-30T11:03:47.638Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-333 [Pipeline] fileExists [Pipeline] sh [2023-01-30T11:03:47.988Z] + make test [2023-01-30T11:03:47.988Z] go test ./... -coverprofile=coverage.out [2023-01-30T11:03:48.246Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-01-30T11:03:58.223Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-01-30T11:03:58.223Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.040s coverage: 65.7% of statements [2023-01-30T11:04:06.341Z] 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-30T11:04:06.341Z] go vet ./... [2023-01-30T11:04:08.872Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-30T11:04:08.872Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-30T11:04:08.872Z] ./bin/test-attribution-txt.sh [2023-01-30T11:04:08.872Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-30T11:04:08.872Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-30T11:04:08.911Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-30T11:04:08.949Z] $ docker stop --time=1 1f917341082ee41d90fbfffb270460f34b9993bb442175ebef1a094abadf00a6 [2023-01-30T11:04:11.101Z] $ docker rm -f --volumes 1f917341082ee41d90fbfffb270460f34b9993bb442175ebef1a094abadf00a6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-30T11:04:11.602Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-30T11:04:11.740Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-30T11:04:12.681Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-30T11:04:12.989Z] + ls -al . [2023-01-30T11:04:12.989Z] total 196 [2023-01-30T11:04:12.989Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 30 11:03 . [2023-01-30T11:04:12.989Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 11:02 .. [2023-01-30T11:04:12.989Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 30 11:03 .git [2023-01-30T11:04:12.989Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 30 11:02 .github [2023-01-30T11:04:12.989Z] -rw-rw-r-- 1 jenkins jenkins 337 Jan 30 11:02 .gitignore [2023-01-30T11:04:12.989Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 30 11:02 .golangci.yml [2023-01-30T11:04:12.989Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 30 11:02 .semver [2023-01-30T11:04:12.989Z] -rw-rw-r-- 1 jenkins jenkins 8423 Jan 30 11:02 Attribution.txt [2023-01-30T11:04:12.989Z] -rw-rw-r-- 1 jenkins jenkins 11367 Jan 30 11:02 CHANGELOG.md [2023-01-30T11:04:12.989Z] -rw-rw-r-- 1 jenkins jenkins 1646 Jan 30 11:02 Dockerfile [2023-01-30T11:04:12.989Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 30 11:02 GOVERNANCE.md [2023-01-30T11:04:12.989Z] -rw-rw-r-- 1 jenkins jenkins 660 Jan 30 11:02 Jenkinsfile [2023-01-30T11:04:12.989Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 30 11:02 LICENSE [2023-01-30T11:04:12.989Z] -rw-rw-r-- 1 jenkins jenkins 1661 Jan 30 11:02 Makefile [2023-01-30T11:04:12.989Z] -rw-rw-r-- 1 jenkins jenkins 623 Jan 30 11:02 OWNERS.md [2023-01-30T11:04:12.989Z] -rw-rw-r-- 1 jenkins jenkins 3578 Jan 30 11:02 README.md [2023-01-30T11:04:12.989Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 30 11:02 VERSION [2023-01-30T11:04:12.989Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 11:02 bin [2023-01-30T11:04:12.989Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 30 11:02 cmd [2023-01-30T11:04:12.989Z] -rw-r--r-- 1 jenkins jenkins 44128 Jan 30 11:03 coverage.out [2023-01-30T11:04:12.989Z] -rw-rw-r-- 1 jenkins jenkins 3306 Jan 30 11:02 go.mod [2023-01-30T11:04:12.989Z] -rw-rw-r-- 1 jenkins jenkins 34165 Jan 30 11:02 go.sum [2023-01-30T11:04:12.989Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 30 11:02 internal [2023-01-30T11:04:12.989Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 11:02 snap [2023-01-30T11:04:12.989Z] -rw-rw-r-- 1 jenkins jenkins 235 Jan 30 11:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T11:04:13.390Z] + 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=b5055e77311d0b5de917d9f550f7188f4308d844 --label arch=amd64 --label version=0.0.0 . [2023-01-30T11:04:13.390Z] Sending build context to Docker daemon 23.4MB [2023-01-30T11:04:13.390Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-30T11:04:13.390Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-30T11:04:13.390Z] ---> 61da1b37ed6f [2023-01-30T11:04:13.390Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-30T11:04:13.649Z] ---> Running in 81e3abf8f4d5 [2023-01-30T11:04:13.649Z] Removing intermediate container 81e3abf8f4d5 [2023-01-30T11:04:13.649Z] ---> 5cd48fc3daf1 [2023-01-30T11:04:13.649Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-30T11:04:13.910Z] ---> Running in 41af4897a243 [2023-01-30T11:04:13.910Z] Removing intermediate container 41af4897a243 [2023-01-30T11:04:13.910Z] ---> 9cd12473d7bc [2023-01-30T11:04:13.910Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-01-30T11:04:13.910Z] ---> Running in 22a569b9688d [2023-01-30T11:04:13.910Z] Removing intermediate container 22a569b9688d [2023-01-30T11:04:13.910Z] ---> 76bee69c6045 [2023-01-30T11:04:13.911Z] Step 6/25 : WORKDIR /device-virtual-go [2023-01-30T11:04:13.911Z] ---> Running in 48e4f634e6e7 [2023-01-30T11:04:14.172Z] Removing intermediate container 48e4f634e6e7 [2023-01-30T11:04:14.172Z] ---> e14c6a16539a [2023-01-30T11:04:14.172Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-30T11:04:14.172Z] ---> Running in fce7b041fe78 [2023-01-30T11:04:14.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-30T11:04:14.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-30T11:04:15.007Z] OK: 216 MiB in 55 packages [2023-01-30T11:04:15.265Z] Removing intermediate container fce7b041fe78 [2023-01-30T11:04:15.265Z] ---> 4db91b0c2c2f [2023-01-30T11:04:15.265Z] Step 8/25 : COPY go.mod vendor* ./ [2023-01-30T11:04:15.265Z] ---> d11b65c38cb3 [2023-01-30T11:04:15.265Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-30T11:04:15.265Z] ---> Running in 87013d406171 [2023-01-30T11:04:16.201Z] Removing intermediate container 87013d406171 [2023-01-30T11:04:16.201Z] ---> ffef6550d358 [2023-01-30T11:04:16.201Z] Step 10/25 : COPY . . [2023-01-30T11:04:16.769Z] ---> f397d25d95f9 [2023-01-30T11:04:16.769Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-30T11:04:16.769Z] ---> Running in 0db2a6f20be8 [2023-01-30T11:04:16.769Z] Removing intermediate container 0db2a6f20be8 [2023-01-30T11:04:16.769Z] ---> 7a427b738a9e [2023-01-30T11:04:16.769Z] Step 12/25 : RUN $MAKE [2023-01-30T11:04:16.769Z] ---> Running in db6e78f3fe4d [2023-01-30T11:04:17.028Z] 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-30T11:04:39.034Z] Removing intermediate container db6e78f3fe4d [2023-01-30T11:04:39.034Z] ---> 6824d765b4b0 [2023-01-30T11:04:39.034Z] Step 13/25 : FROM alpine:3.16 [2023-01-30T11:04:39.034Z] 3.16: Pulling from library/alpine [2023-01-30T11:04:39.034Z] ca7dd9ec2225: Pulling fs layer [2023-01-30T11:04:39.034Z] ca7dd9ec2225: Verifying Checksum [2023-01-30T11:04:39.034Z] ca7dd9ec2225: Download complete [2023-01-30T11:04:39.034Z] ca7dd9ec2225: Pull complete [2023-01-30T11:04:39.034Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-30T11:04:39.034Z] Status: Downloaded newer image for alpine:3.16 [2023-01-30T11:04:39.034Z] ---> bfe296a52501 [2023-01-30T11:04:39.034Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-01-30T11:04:39.034Z] ---> Running in 833fdc41449a [2023-01-30T11:04:39.034Z] Removing intermediate container 833fdc41449a [2023-01-30T11:04:39.034Z] ---> 3b9f3820e33f [2023-01-30T11:04:39.034Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-01-30T11:04:39.034Z] ---> Running in 22fb1d30be8c [2023-01-30T11:04:39.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-30T11:04:39.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-30T11:04:39.034Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-30T11:04:39.034Z] Executing busybox-1.35.0-r17.trigger [2023-01-30T11:04:39.034Z] OK: 6 MiB in 15 packages [2023-01-30T11:04:39.034Z] Removing intermediate container 22fb1d30be8c [2023-01-30T11:04:39.034Z] ---> 776498e17bca [2023-01-30T11:04:39.034Z] Step 16/25 : WORKDIR / [2023-01-30T11:04:39.034Z] ---> Running in e949b8b7ff88 [2023-01-30T11:04:39.034Z] Removing intermediate container e949b8b7ff88 [2023-01-30T11:04:39.034Z] ---> c63bb19fd94f [2023-01-30T11:04:39.034Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-01-30T11:04:39.034Z] ---> 2a8a7893184f [2023-01-30T11:04:39.034Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-01-30T11:04:39.034Z] ---> 383498fc1377 [2023-01-30T11:04:39.034Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-01-30T11:04:39.684Z] ---> 48c054271087 [2023-01-30T11:04:39.684Z] Step 20/25 : EXPOSE 59900 [2023-01-30T11:04:39.684Z] ---> Running in e70e9aea1622 [2023-01-30T11:04:39.965Z] Removing intermediate container e70e9aea1622 [2023-01-30T11:04:39.965Z] ---> 658bcaf4474c [2023-01-30T11:04:39.965Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-01-30T11:04:39.965Z] ---> Running in 5427d27a13ba [2023-01-30T11:04:39.965Z] Removing intermediate container 5427d27a13ba [2023-01-30T11:04:39.965Z] ---> 44fba629f756 [2023-01-30T11:04:39.965Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-30T11:04:39.965Z] ---> Running in 1a94aefc35d1 [2023-01-30T11:04:39.965Z] Removing intermediate container 1a94aefc35d1 [2023-01-30T11:04:39.965Z] ---> 26bb0072db45 [2023-01-30T11:04:39.965Z] Step 23/25 : LABEL arch=amd64 [2023-01-30T11:04:39.965Z] ---> Running in bcd389f711cd [2023-01-30T11:04:40.231Z] Removing intermediate container bcd389f711cd [2023-01-30T11:04:40.231Z] ---> 612882f20a20 [2023-01-30T11:04:40.231Z] Step 24/25 : LABEL git_sha=b5055e77311d0b5de917d9f550f7188f4308d844 [2023-01-30T11:04:40.231Z] ---> Running in 23de7058e590 [2023-01-30T11:04:40.231Z] Removing intermediate container 23de7058e590 [2023-01-30T11:04:40.231Z] ---> c64c2af02391 [2023-01-30T11:04:40.231Z] Step 25/25 : LABEL version=0.0.0 [2023-01-30T11:04:40.231Z] ---> Running in 70af881628ce [2023-01-30T11:04:40.231Z] Removing intermediate container 70af881628ce [2023-01-30T11:04:40.231Z] ---> 369268daf98e [2023-01-30T11:04:40.231Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-30T11:04:40.231Z] Successfully built 369268daf98e [2023-01-30T11:04:40.231Z] 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-30T11:04:41.150Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-30T11:04:41.150Z] [2023-01-30T11:04:41.150Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T11:04:41.525Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-30T11:04:41.525Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-30T11:04:41.525Z] 5eb5b503b376: Pulling fs layer [2023-01-30T11:04:41.525Z] 5c69ac0246d0: Pulling fs layer [2023-01-30T11:04:41.525Z] ec43610c2a17: Pulling fs layer [2023-01-30T11:04:41.525Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-30T11:04:41.525Z] 33b1e0a273af: Pulling fs layer [2023-01-30T11:04:41.525Z] 5d3b04190fa2: Pulling fs layer [2023-01-30T11:04:41.525Z] 2f39f015ded8: Pulling fs layer [2023-01-30T11:04:41.525Z] 3a2ae6a8a46f: Waiting [2023-01-30T11:04:41.525Z] 33b1e0a273af: Waiting [2023-01-30T11:04:41.525Z] 5d3b04190fa2: Waiting [2023-01-30T11:04:41.525Z] 2f39f015ded8: Waiting [2023-01-30T11:04:41.525Z] 5c69ac0246d0: Verifying Checksum [2023-01-30T11:04:41.525Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-30T11:04:41.525Z] 3a2ae6a8a46f: Download complete [2023-01-30T11:04:41.791Z] 33b1e0a273af: Download complete [2023-01-30T11:04:41.791Z] ec43610c2a17: Verifying Checksum [2023-01-30T11:04:41.791Z] ec43610c2a17: Download complete [2023-01-30T11:04:42.054Z] 5eb5b503b376: Verifying Checksum [2023-01-30T11:04:42.054Z] 5eb5b503b376: Download complete [2023-01-30T11:04:42.636Z] 2f39f015ded8: Verifying Checksum [2023-01-30T11:04:42.636Z] 2f39f015ded8: Download complete [2023-01-30T11:04:43.201Z] 5eb5b503b376: Pull complete [2023-01-30T11:04:43.201Z] 5c69ac0246d0: Pull complete [2023-01-30T11:04:43.795Z] ec43610c2a17: Pull complete [2023-01-30T11:04:43.795Z] 3a2ae6a8a46f: Pull complete [2023-01-30T11:04:44.056Z] 33b1e0a273af: Pull complete [2023-01-30T11:04:44.056Z] 5d3b04190fa2: Pull complete [2023-01-30T11:04:45.311Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3977 in /w/workspace/foundry_device-virtual-go_PR-333 [Pipeline] { [Pipeline] ws [2023-01-30T11:04:45.381Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-01-30T11:04:45.482Z] The recommended git tool is: git [2023-01-30T11:04:48.241Z] 2f39f015ded8: Pull complete [2023-01-30T11:04:48.241Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-30T11:04:48.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-30T11:04:48.241Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-30T11:04:48.464Z] prd-ubuntu20.04-docker-8c-8g-3976 does not seem to be running inside a container [2023-01-30T11:04:48.502Z] $ 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-333 -v /w/workspace/foundry_device-virtual-go_PR-333:/w/workspace/foundry_device-virtual-go_PR-333:rw,z -v /w/workspace/foundry_device-virtual-go_PR-333@tmp:/w/workspace/foundry_device-virtual-go_PR-333@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-30T11:04:50.697Z] using credential edgex-jenkins-ssh [2023-01-30T11:04:50.713Z] Cloning the remote Git repository [2023-01-30T11:04:51.093Z] $ docker top 6d5fbbc6ee68fd8facab1538bde5137bedd9f4781a371b7a46605dbffb10c6df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-30T11:04:51.542Z] ---> job-cost.sh [2023-01-30T11:04:51.542Z] lf-activate-venv: SKIPPING [2023-01-30T11:04:51.542Z] INFO: No Stack... [2023-01-30T11:04:50.755Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-01-30T11:04:50.833Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-01-30T11:04:50.981Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-01-30T11:04:50.982Z] > git --version # timeout=10 [2023-01-30T11:04:51.002Z] > git --version # 'git version 2.25.1' [2023-01-30T11:04:51.004Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-30T11:04:51.061Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-30T11:04:51.801Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-30T11:04:52.368Z] INFO: Archiving Costs [Pipeline] sh [2023-01-30T11:04:52.770Z] + cat /w/workspace/foundry_device-virtual-go_PR-333/archives/cost.csv [2023-01-30T11:04:52.770Z] + cut -d, -f6 [Pipeline] lock [2023-01-30T11:04:52.813Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-333-1-stack-cost] [2023-01-30T11:04:52.818Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-333-1-stack-cost] did not exist. Created. [2023-01-30T11:04:52.819Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-333-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-30T11:04:53.315Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-30T11:04:53.369Z] Stashed 1 file(s) [Pipeline] } [2023-01-30T11:04:53.397Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-333-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-30T11:04:53.486Z] $ docker stop --time=1 6d5fbbc6ee68fd8facab1538bde5137bedd9f4781a371b7a46605dbffb10c6df [2023-01-30T11:04:53.068Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-01-30T11:04:53.097Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-30T11:04:53.909Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-01-30T11:04:53.947Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-01-30T11:04:53.948Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-30T11:04:53.964Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/333/head:refs/remotes/origin/PR-333 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-30T11:04:54.452Z] Merging remotes/origin/main commit da9c53c8f531c50c136bf7f237b2fe6b058fda45 into PR head commit b5055e77311d0b5de917d9f550f7188f4308d844 [2023-01-30T11:04:54.627Z] $ docker rm -f --volumes 6d5fbbc6ee68fd8facab1538bde5137bedd9f4781a371b7a46605dbffb10c6df [2023-01-30T11:04:54.656Z] Merge succeeded, producing b5055e77311d0b5de917d9f550f7188f4308d844 [2023-01-30T11:04:54.657Z] Checking out Revision b5055e77311d0b5de917d9f550f7188f4308d844 (PR-333) [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-30T11:04:55.126Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-01-30T11:04:55.172Z] > git --version # timeout=10 [2023-01-30T11:04:55.183Z] > git --version # 'git version 2.25.1' [2023-01-30T11:04:55.197Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [2023-01-30T11:04:54.472Z] > git config core.sparsecheckout # timeout=10 [2023-01-30T11:04:54.490Z] > git checkout -f b5055e77311d0b5de917d9f550f7188f4308d844 # timeout=10 [2023-01-30T11:04:54.565Z] > git remote # timeout=10 [2023-01-30T11:04:54.584Z] > git config --get remote.origin.url # timeout=10 [2023-01-30T11:04:54.604Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-30T11:04:54.617Z] > git merge da9c53c8f531c50c136bf7f237b2fe6b058fda45 # timeout=10 [2023-01-30T11:04:54.640Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-30T11:04:54.662Z] > git config core.sparsecheckout # timeout=10 [2023-01-30T11:04:54.677Z] > git checkout -f b5055e77311d0b5de917d9f550f7188f4308d844 # timeout=10 [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-30T11:04:56.287Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-30T11:04:56.287Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-30T11:04:56.287Z] Dload Upload Total Spent Left Speed [2023-01-30T11:04:56.287Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh [2023-01-30T11:04:56.868Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-30T11:04:57.216Z] + sudo tee /etc/docker/daemon.new [2023-01-30T11:04:57.216Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-30T11:04:57.216Z] { [2023-01-30T11:04:57.216Z] "registry-mirrors": [ [2023-01-30T11:04:57.216Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-30T11:04:57.216Z] ], [2023-01-30T11:04:57.216Z] "bip": "10.250.0.254/24", [2023-01-30T11:04:57.216Z] "hosts": [ [2023-01-30T11:04:57.216Z] "tcp://0.0.0.0:5555", [2023-01-30T11:04:57.216Z] "unix:///var/run/docker.sock" [2023-01-30T11:04:57.216Z] ], [2023-01-30T11:04:57.216Z] "mtu": 1458, [2023-01-30T11:04:57.216Z] "selinux-enabled": true, [2023-01-30T11:04:57.216Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-30T11:04:57.216Z] } [Pipeline] sh [2023-01-30T11:04:57.573Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-30T11:04:57.937Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-30T11:05:20.127Z] provisioning config files... [2023-01-30T11:05:20.159Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config6340646040093957664tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-30T11:05:20.558Z] ---> docker-login.sh [2023-01-30T11:05:20.558Z] nexus3.edgexfoundry.org:10001 [2023-01-30T11:05:20.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T11:05:21.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T11:05:21.097Z] Configure a credential helper to remove this warning. See [2023-01-30T11:05:21.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T11:05:21.097Z] [2023-01-30T11:05:21.097Z] Login Succeeded [2023-01-30T11:05:21.366Z] nexus3.edgexfoundry.org:10002 [2023-01-30T11:05:21.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T11:05:21.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T11:05:21.636Z] Configure a credential helper to remove this warning. See [2023-01-30T11:05:21.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T11:05:21.636Z] [2023-01-30T11:05:21.636Z] Login Succeeded [2023-01-30T11:05:21.636Z] nexus3.edgexfoundry.org:10003 [2023-01-30T11:05:21.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T11:05:21.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T11:05:21.914Z] Configure a credential helper to remove this warning. See [2023-01-30T11:05:21.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T11:05:21.914Z] [2023-01-30T11:05:21.914Z] Login Succeeded [2023-01-30T11:05:21.914Z] nexus3.edgexfoundry.org:10004 [2023-01-30T11:05:22.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T11:05:22.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T11:05:22.452Z] Configure a credential helper to remove this warning. See [2023-01-30T11:05:22.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T11:05:22.452Z] [2023-01-30T11:05:22.452Z] Login Succeeded [2023-01-30T11:05:22.452Z] docker.io [2023-01-30T11:05:22.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T11:05:22.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T11:05:22.986Z] Configure a credential helper to remove this warning. See [2023-01-30T11:05:22.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T11:05:22.986Z] [2023-01-30T11:05:22.986Z] Login Succeeded [2023-01-30T11:05:22.986Z] ---> docker-login.sh ends [Pipeline] } [2023-01-30T11:05:23.016Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-30T11:05:23.377Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-30T11:05:23.415Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-30T11:05:23.450Z] ========================================================= [2023-01-30T11:05:23.450Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-30T11:05:23.450Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T11:05:23.946Z] + 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-30T11:05:24.221Z] Sending build context to Docker daemon 11.82MB [2023-01-30T11:05:24.221Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-30T11:05:24.221Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-30T11:05:24.501Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-30T11:05:24.501Z] 9b18e9b68314: Pulling fs layer [2023-01-30T11:05:24.501Z] 35d82f9e3411: Pulling fs layer [2023-01-30T11:05:24.501Z] e16973657156: Pulling fs layer [2023-01-30T11:05:24.501Z] fc693d55d65f: Pulling fs layer [2023-01-30T11:05:24.501Z] 7e9fc2657dce: Pulling fs layer [2023-01-30T11:05:24.501Z] dda99020689f: Pulling fs layer [2023-01-30T11:05:24.501Z] db1c61fa0a46: Pulling fs layer [2023-01-30T11:05:24.501Z] 891c053d2c06: Pulling fs layer [2023-01-30T11:05:24.501Z] fc693d55d65f: Waiting [2023-01-30T11:05:24.501Z] 7e9fc2657dce: Waiting [2023-01-30T11:05:24.501Z] dda99020689f: Waiting [2023-01-30T11:05:24.501Z] db1c61fa0a46: Waiting [2023-01-30T11:05:24.501Z] 891c053d2c06: Waiting [2023-01-30T11:05:24.501Z] e16973657156: Download complete [2023-01-30T11:05:24.501Z] 35d82f9e3411: Download complete [2023-01-30T11:05:24.501Z] 7e9fc2657dce: Verifying Checksum [2023-01-30T11:05:24.501Z] 7e9fc2657dce: Download complete [2023-01-30T11:05:24.501Z] dda99020689f: Verifying Checksum [2023-01-30T11:05:24.501Z] dda99020689f: Download complete [2023-01-30T11:05:24.501Z] 9b18e9b68314: Verifying Checksum [2023-01-30T11:05:24.501Z] 9b18e9b68314: Download complete [2023-01-30T11:05:25.488Z] 9b18e9b68314: Pull complete [2023-01-30T11:05:25.764Z] 891c053d2c06: Verifying Checksum [2023-01-30T11:05:25.764Z] 891c053d2c06: Download complete [2023-01-30T11:05:26.045Z] 35d82f9e3411: Pull complete [2023-01-30T11:05:26.312Z] e16973657156: Pull complete [2023-01-30T11:05:26.894Z] db1c61fa0a46: Verifying Checksum [2023-01-30T11:05:26.894Z] db1c61fa0a46: Download complete [2023-01-30T11:05:27.483Z] fc693d55d65f: Verifying Checksum [2023-01-30T11:05:27.483Z] fc693d55d65f: Download complete [2023-01-30T11:05:39.793Z] fc693d55d65f: Pull complete [2023-01-30T11:05:39.793Z] 7e9fc2657dce: Pull complete [2023-01-30T11:05:39.793Z] dda99020689f: Pull complete [2023-01-30T11:05:45.149Z] db1c61fa0a46: Pull complete [2023-01-30T11:05:47.112Z] 891c053d2c06: Pull complete [2023-01-30T11:05:47.112Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-30T11:05:47.112Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-30T11:05:47.112Z] ---> f96f9c87975a [2023-01-30T11:05:47.112Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-30T11:05:48.607Z] ---> Running in c7cb60d0706b [2023-01-30T11:05:48.886Z] Removing intermediate container c7cb60d0706b [2023-01-30T11:05:48.886Z] ---> aba6863b5499 [2023-01-30T11:05:48.886Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-30T11:05:49.162Z] ---> Running in 7891cc2d2b03 [2023-01-30T11:05:49.434Z] Removing intermediate container 7891cc2d2b03 [2023-01-30T11:05:49.434Z] ---> 3ffe2db890fe [2023-01-30T11:05:49.434Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-01-30T11:05:49.434Z] ---> Running in 3971cedffa57 [2023-01-30T11:05:49.703Z] Removing intermediate container 3971cedffa57 [2023-01-30T11:05:49.703Z] ---> 66254770f00c [2023-01-30T11:05:49.703Z] Step 6/12 : WORKDIR /device-virtual-go [2023-01-30T11:05:49.703Z] ---> Running in 46084a9f7628 [2023-01-30T11:05:49.973Z] Removing intermediate container 46084a9f7628 [2023-01-30T11:05:49.973Z] ---> e75adbecf4ad [2023-01-30T11:05:49.973Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-30T11:05:50.243Z] ---> Running in f5f7e49dad3d [2023-01-30T11:05:51.206Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-30T11:05:51.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-30T11:05:52.434Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-30T11:05:52.434Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-30T11:05:52.434Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-30T11:05:52.703Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-30T11:05:52.703Z] Executing busybox-1.35.0-r17.trigger [2023-01-30T11:05:52.703Z] OK: 226 MiB in 55 packages [2023-01-30T11:05:53.668Z] Removing intermediate container f5f7e49dad3d [2023-01-30T11:05:53.668Z] ---> d5854ed96bfc [2023-01-30T11:05:53.668Z] Step 8/12 : COPY go.mod vendor* ./ [2023-01-30T11:05:54.252Z] ---> df17d344c8a9 [2023-01-30T11:05:54.252Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-30T11:05:54.252Z] ---> Running in c2c3da8c5c66 [2023-01-30T11:07:02.134Z] Removing intermediate container c2c3da8c5c66 [2023-01-30T11:07:02.134Z] ---> ab74708356aa [2023-01-30T11:07:02.134Z] Step 10/12 : COPY . . [2023-01-30T11:07:02.134Z] ---> e8e1ee04575c [2023-01-30T11:07:02.134Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-30T11:07:02.134Z] ---> Running in 5ea6af6ee89f [2023-01-30T11:07:02.134Z] Removing intermediate container 5ea6af6ee89f [2023-01-30T11:07:02.134Z] ---> f55423c7cff4 [2023-01-30T11:07:02.134Z] Step 12/12 : RUN $MAKE [2023-01-30T11:07:02.134Z] ---> Running in 3913a2649570 [2023-01-30T11:07:02.134Z] noop [2023-01-30T11:07:02.134Z] Removing intermediate container 3913a2649570 [2023-01-30T11:07:02.134Z] ---> 3e4e431fa1d8 [2023-01-30T11:07:02.134Z] Successfully built 3e4e431fa1d8 [2023-01-30T11:07:02.134Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T11:07:02.599Z] + docker inspect -f . ci-base-image-arm64 [2023-01-30T11:07:02.599Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-30T11:07:02.867Z] prd-ubuntu20.04-docker-arm64-4c-16g-3977 does not seem to be running inside a container [2023-01-30T11:07:02.933Z] $ 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-30T11:07:04.135Z] $ docker top 827b0ec8a42c0efaa0d7102bd1b05274756b6a33342d6b9d67162decad6b97b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-30T11:07:05.020Z] + go version [2023-01-30T11:07:05.020Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-30T11:07:05.055Z] $ docker stop --time=1 827b0ec8a42c0efaa0d7102bd1b05274756b6a33342d6b9d67162decad6b97b1 [2023-01-30T11:07:06.672Z] $ docker rm -f --volumes 827b0ec8a42c0efaa0d7102bd1b05274756b6a33342d6b9d67162decad6b97b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T11:07:07.536Z] + docker inspect -f . ci-base-image-arm64 [2023-01-30T11:07:07.536Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-30T11:07:07.812Z] prd-ubuntu20.04-docker-arm64-4c-16g-3977 does not seem to be running inside a container [2023-01-30T11:07:07.874Z] $ 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-30T11:07:10.354Z] $ docker top 53c35028a272fbd47e1e3dbcb33f3ea38ddca88e96ded060ceb444bd697c5eb5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-30T11:07:11.216Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-30T11:07:11.614Z] + make test [2023-01-30T11:07:11.614Z] go test ./... -coverprofile=coverage.out [2023-01-30T11:07:13.561Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-01-30T11:08:35.217Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-01-30T11:08:35.217Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.121s coverage: 65.7% of statements [2023-01-30T11:08:35.217Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-30T11:08:35.217Z] go vet ./... [2023-01-30T11:08:50.208Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-30T11:08:50.208Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-30T11:08:50.208Z] ./bin/test-attribution-txt.sh [2023-01-30T11:08:50.208Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-30T11:08:50.209Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-30T11:08:50.250Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-30T11:08:50.279Z] $ docker stop --time=1 53c35028a272fbd47e1e3dbcb33f3ea38ddca88e96ded060ceb444bd697c5eb5 [2023-01-30T11:08:52.005Z] $ docker rm -f --volumes 53c35028a272fbd47e1e3dbcb33f3ea38ddca88e96ded060ceb444bd697c5eb5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-30T11:08:52.937Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-30T11:08:52.979Z] Warning: overwriting stash ‘coverage-report’ [2023-01-30T11:08:53.431Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-30T11:08:54.068Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-30T11:08:54.402Z] + ls -al . [2023-01-30T11:08:54.402Z] total 192 [2023-01-30T11:08:54.402Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 30 11:07 . [2023-01-30T11:08:54.402Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 11:04 .. [2023-01-30T11:08:54.402Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 30 11:04 .git [2023-01-30T11:08:54.402Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 30 11:04 .github [2023-01-30T11:08:54.402Z] -rw-rw-r-- 1 jenkins jenkins 337 Jan 30 11:04 .gitignore [2023-01-30T11:08:54.402Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 30 11:04 .golangci.yml [2023-01-30T11:08:54.402Z] -rw-rw-r-- 1 jenkins jenkins 8423 Jan 30 11:04 Attribution.txt [2023-01-30T11:08:54.402Z] -rw-rw-r-- 1 jenkins jenkins 11367 Jan 30 11:04 CHANGELOG.md [2023-01-30T11:08:54.402Z] -rw-rw-r-- 1 jenkins jenkins 1646 Jan 30 11:04 Dockerfile [2023-01-30T11:08:54.402Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 30 11:04 GOVERNANCE.md [2023-01-30T11:08:54.402Z] -rw-rw-r-- 1 jenkins jenkins 660 Jan 30 11:04 Jenkinsfile [2023-01-30T11:08:54.402Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 30 11:04 LICENSE [2023-01-30T11:08:54.402Z] -rw-rw-r-- 1 jenkins jenkins 1661 Jan 30 11:04 Makefile [2023-01-30T11:08:54.402Z] -rw-rw-r-- 1 jenkins jenkins 623 Jan 30 11:04 OWNERS.md [2023-01-30T11:08:54.402Z] -rw-rw-r-- 1 jenkins jenkins 3578 Jan 30 11:04 README.md [2023-01-30T11:08:54.402Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 30 11:02 VERSION [2023-01-30T11:08:54.402Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 11:04 bin [2023-01-30T11:08:54.402Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 30 11:04 cmd [2023-01-30T11:08:54.403Z] -rw-r--r-- 1 jenkins jenkins 44128 Jan 30 11:08 coverage.out [2023-01-30T11:08:54.403Z] -rw-rw-r-- 1 jenkins jenkins 3306 Jan 30 11:04 go.mod [2023-01-30T11:08:54.403Z] -rw-rw-r-- 1 jenkins jenkins 34165 Jan 30 11:04 go.sum [2023-01-30T11:08:54.403Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 30 11:04 internal [2023-01-30T11:08:54.403Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 11:04 snap [2023-01-30T11:08:54.403Z] -rw-rw-r-- 1 jenkins jenkins 235 Jan 30 11:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T11:08:54.824Z] + 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=b5055e77311d0b5de917d9f550f7188f4308d844 --label arch=arm64 --label version=0.0.0 . [2023-01-30T11:08:55.091Z] Sending build context to Docker daemon 11.87MB [2023-01-30T11:08:55.091Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-30T11:08:55.091Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-30T11:08:55.091Z] ---> 3e4e431fa1d8 [2023-01-30T11:08:55.091Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-30T11:08:55.362Z] ---> Running in 1dfac7d00f7c [2023-01-30T11:08:55.629Z] Removing intermediate container 1dfac7d00f7c [2023-01-30T11:08:55.629Z] ---> 7d0e60b79180 [2023-01-30T11:08:55.629Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-30T11:08:55.629Z] ---> Running in 41ed3cbe7de8 [2023-01-30T11:08:55.898Z] Removing intermediate container 41ed3cbe7de8 [2023-01-30T11:08:55.898Z] ---> d2e1ca745dbb [2023-01-30T11:08:55.898Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-01-30T11:08:56.166Z] ---> Running in 339b49ff2c48 [2023-01-30T11:08:56.433Z] Removing intermediate container 339b49ff2c48 [2023-01-30T11:08:56.433Z] ---> 11f1648268f0 [2023-01-30T11:08:56.433Z] Step 6/25 : WORKDIR /device-virtual-go [2023-01-30T11:08:56.433Z] ---> Running in e37cc2974b0d [2023-01-30T11:08:56.706Z] Removing intermediate container e37cc2974b0d [2023-01-30T11:08:56.706Z] ---> 344f06a5a598 [2023-01-30T11:08:56.706Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-30T11:08:56.706Z] ---> Running in 31ec0b17468c [2023-01-30T11:08:57.668Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-30T11:08:58.251Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-30T11:08:59.209Z] OK: 226 MiB in 55 packages [2023-01-30T11:09:00.177Z] Removing intermediate container 31ec0b17468c [2023-01-30T11:09:00.177Z] ---> 4b6e1c79f8a3 [2023-01-30T11:09:00.177Z] Step 8/25 : COPY go.mod vendor* ./ [2023-01-30T11:09:00.444Z] ---> da5fd9e39b19 [2023-01-30T11:09:00.444Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-30T11:09:00.713Z] ---> Running in 89ceedc0166f [2023-01-30T11:09:06.053Z] Removing intermediate container 89ceedc0166f [2023-01-30T11:09:06.053Z] ---> 7327d13ea6e6 [2023-01-30T11:09:06.053Z] Step 10/25 : COPY . . [2023-01-30T11:09:06.319Z] ---> 3bb439daa892 [2023-01-30T11:09:06.319Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-30T11:09:06.319Z] ---> Running in 79feb61de86b [2023-01-30T11:09:06.590Z] Removing intermediate container 79feb61de86b [2023-01-30T11:09:06.590Z] ---> 9a4c9d14da58 [2023-01-30T11:09:06.590Z] Step 12/25 : RUN $MAKE [2023-01-30T11:09:06.858Z] ---> Running in fd1b4d2f41f3 [2023-01-30T11:09:07.818Z] 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-30T11:11:29.514Z] Removing intermediate container fd1b4d2f41f3 [2023-01-30T11:11:29.514Z] ---> 204b683dd90e [2023-01-30T11:11:29.514Z] Step 13/25 : FROM alpine:3.16 [2023-01-30T11:11:29.514Z] 3.16: Pulling from library/alpine [2023-01-30T11:11:29.514Z] 6875df1f5354: Pulling fs layer [2023-01-30T11:11:29.514Z] 6875df1f5354: Verifying Checksum [2023-01-30T11:11:29.514Z] 6875df1f5354: Download complete [2023-01-30T11:11:29.514Z] 6875df1f5354: Pull complete [2023-01-30T11:11:29.514Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-30T11:11:29.514Z] Status: Downloaded newer image for alpine:3.16 [2023-01-30T11:11:29.514Z] ---> 2b4661558fb8 [2023-01-30T11:11:29.514Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-01-30T11:11:29.514Z] ---> Running in 22d22f194428 [2023-01-30T11:11:29.514Z] Removing intermediate container 22d22f194428 [2023-01-30T11:11:29.514Z] ---> d20abffce084 [2023-01-30T11:11:29.514Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-01-30T11:11:29.514Z] ---> Running in 1943975fd696 [2023-01-30T11:11:29.514Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-30T11:11:29.514Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-30T11:11:29.514Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-30T11:11:29.514Z] Executing busybox-1.35.0-r17.trigger [2023-01-30T11:11:29.514Z] OK: 5 MiB in 15 packages [2023-01-30T11:11:29.514Z] Removing intermediate container 1943975fd696 [2023-01-30T11:11:29.514Z] ---> 22321c37b227 [2023-01-30T11:11:29.515Z] Step 16/25 : WORKDIR / [2023-01-30T11:11:29.515Z] ---> Running in 846e5d5b8afb [2023-01-30T11:11:29.515Z] Removing intermediate container 846e5d5b8afb [2023-01-30T11:11:29.515Z] ---> 04120eccc4bc [2023-01-30T11:11:29.515Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-01-30T11:11:29.515Z] ---> 8d3185e084d8 [2023-01-30T11:11:29.515Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-01-30T11:11:29.515Z] ---> 93209fb67ccf [2023-01-30T11:11:29.515Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-01-30T11:11:29.515Z] ---> 0c3a0b621b5d [2023-01-30T11:11:29.515Z] Step 20/25 : EXPOSE 59900 [2023-01-30T11:11:29.515Z] ---> Running in f5abe4a9f102 [2023-01-30T11:11:29.515Z] Removing intermediate container f5abe4a9f102 [2023-01-30T11:11:29.515Z] ---> 1d7fb34c7160 [2023-01-30T11:11:29.515Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-01-30T11:11:29.515Z] ---> Running in 1d1c51e2ac41 [2023-01-30T11:11:29.515Z] Removing intermediate container 1d1c51e2ac41 [2023-01-30T11:11:29.515Z] ---> 116911a74770 [2023-01-30T11:11:29.515Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-30T11:11:29.515Z] ---> Running in 170082ee8575 [2023-01-30T11:11:29.515Z] Removing intermediate container 170082ee8575 [2023-01-30T11:11:29.515Z] ---> 4211f52a5eca [2023-01-30T11:11:29.515Z] Step 23/25 : LABEL arch=arm64 [2023-01-30T11:11:29.515Z] ---> Running in 53e5cee7ced4 [2023-01-30T11:11:29.515Z] Removing intermediate container 53e5cee7ced4 [2023-01-30T11:11:29.515Z] ---> 7dfb6272da9b [2023-01-30T11:11:29.515Z] Step 24/25 : LABEL git_sha=b5055e77311d0b5de917d9f550f7188f4308d844 [2023-01-30T11:11:29.515Z] ---> Running in 322ac99dbff9 [2023-01-30T11:11:29.515Z] Removing intermediate container 322ac99dbff9 [2023-01-30T11:11:29.515Z] ---> 6f3c755c023e [2023-01-30T11:11:29.515Z] Step 25/25 : LABEL version=0.0.0 [2023-01-30T11:11:29.515Z] ---> Running in 89a4d53336c8 [2023-01-30T11:11:29.515Z] Removing intermediate container 89a4d53336c8 [2023-01-30T11:11:29.515Z] ---> bfbfe9d7fb44 [2023-01-30T11:11:29.515Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-30T11:11:29.515Z] Successfully built bfbfe9d7fb44 [2023-01-30T11:11:29.515Z] 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-30T11:11:30.288Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-30T11:11:30.288Z] [2023-01-30T11:11:30.288Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T11:11:30.684Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-30T11:11:30.684Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-30T11:11:30.684Z] 8998bd30e6a1: Pulling fs layer [2023-01-30T11:11:30.684Z] 04944245beec: Pulling fs layer [2023-01-30T11:11:30.684Z] 699f458cf7ca: Pulling fs layer [2023-01-30T11:11:30.684Z] 765212b225bb: Pulling fs layer [2023-01-30T11:11:30.684Z] f23df028b6ca: Pulling fs layer [2023-01-30T11:11:30.684Z] d65c8cfc05b1: Pulling fs layer [2023-01-30T11:11:30.684Z] 2437ff75d9bd: Pulling fs layer [2023-01-30T11:11:30.684Z] f23df028b6ca: Waiting [2023-01-30T11:11:30.684Z] 765212b225bb: Waiting [2023-01-30T11:11:30.684Z] d65c8cfc05b1: Waiting [2023-01-30T11:11:30.951Z] 04944245beec: Verifying Checksum [2023-01-30T11:11:30.951Z] 04944245beec: Download complete [2023-01-30T11:11:30.951Z] 765212b225bb: Verifying Checksum [2023-01-30T11:11:30.951Z] 765212b225bb: Download complete [2023-01-30T11:11:30.951Z] f23df028b6ca: Verifying Checksum [2023-01-30T11:11:30.951Z] f23df028b6ca: Download complete [2023-01-30T11:11:31.220Z] d65c8cfc05b1: Verifying Checksum [2023-01-30T11:11:31.220Z] d65c8cfc05b1: Download complete [2023-01-30T11:11:31.220Z] 699f458cf7ca: Verifying Checksum [2023-01-30T11:11:31.220Z] 699f458cf7ca: Download complete [2023-01-30T11:11:31.490Z] 8998bd30e6a1: Download complete [2023-01-30T11:11:34.081Z] 2437ff75d9bd: Verifying Checksum [2023-01-30T11:11:34.081Z] 2437ff75d9bd: Download complete [2023-01-30T11:11:35.488Z] 8998bd30e6a1: Pull complete [2023-01-30T11:11:36.070Z] 04944245beec: Pull complete [2023-01-30T11:11:37.478Z] 699f458cf7ca: Pull complete [2023-01-30T11:11:37.478Z] 765212b225bb: Pull complete [2023-01-30T11:11:38.437Z] f23df028b6ca: Pull complete [2023-01-30T11:11:38.437Z] d65c8cfc05b1: Pull complete [2023-01-30T11:11:53.419Z] 2437ff75d9bd: Pull complete [2023-01-30T11:11:53.419Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-30T11:11:53.419Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-30T11:11:53.419Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-30T11:11:53.739Z] prd-ubuntu20.04-docker-arm64-4c-16g-3977 does not seem to be running inside a container [2023-01-30T11:11:53.798Z] $ 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-30T11:11:56.272Z] $ docker top d69a2ab1ad3e205fa5b6f46a6de33989772991c3912d9e4f44a617ed175553fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-30T11:11:57.281Z] ---> job-cost.sh [2023-01-30T11:11:57.281Z] lf-activate-venv: SKIPPING [2023-01-30T11:11:57.281Z] INFO: No Stack... [2023-01-30T11:11:57.872Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-30T11:11:58.464Z] INFO: Archiving Costs [Pipeline] sh [2023-01-30T11:11:58.833Z] + cut -d, -f6 [2023-01-30T11:11:58.833Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2023-01-30T11:11:58.937Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-333-1-stack-cost] [2023-01-30T11:11:58.942Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-333-1-stack-cost] did not exist. Created. [2023-01-30T11:11:58.942Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-333-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-30T11:11:59.349Z] /w/workspace/device-virtual-go/1@tmp/durable-95916166/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-30T11:11:59.967Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-30T11:12:00.002Z] Warning: overwriting stash ‘stack-cost’ [2023-01-30T11:12:00.055Z] Stashed 1 file(s) [Pipeline] } [2023-01-30T11:12:00.069Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-333-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-30T11:12:00.148Z] $ docker stop --time=1 d69a2ab1ad3e205fa5b6f46a6de33989772991c3912d9e4f44a617ed175553fd [2023-01-30T11:12:01.655Z] $ docker rm -f --volumes d69a2ab1ad3e205fa5b6f46a6de33989772991c3912d9e4f44a617ed175553fd [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-30T11:12:02.767Z] provisioning config files... [2023-01-30T11:12:02.777Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-333@tmp/config15534573727259475066tmp [Pipeline] { [Pipeline] sh [2023-01-30T11:12:03.112Z] + set +x [2023-01-30T11:12:03.113Z] + curl -s https://codecov.io/bash [2023-01-30T11:12:03.113Z] + bash -s -- [2023-01-30T11:12:03.113Z] [2023-01-30T11:12:03.113Z] _____ _ [2023-01-30T11:12:03.113Z] / ____| | | [2023-01-30T11:12:03.113Z] | | ___ __| | ___ ___ _____ __ [2023-01-30T11:12:03.113Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-30T11:12:03.113Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-30T11:12:03.113Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-30T11:12:03.113Z] Bash-1.0.6 [2023-01-30T11:12:03.113Z] [2023-01-30T11:12:03.113Z] [2023-01-30T11:12:03.113Z] ==> git version 2.25.1 found [2023-01-30T11:12:03.113Z] ==> 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-30T11:12:03.113Z] Release-Date: 2020-01-08 [2023-01-30T11:12:03.113Z] 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-30T11:12:03.113Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-30T11:12:03.113Z] ==> Jenkins CI detected. [2023-01-30T11:12:03.113Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-333 [2023-01-30T11:12:03.113Z] project root: . [2023-01-30T11:12:03.113Z] --> token set from env [2023-01-30T11:12:03.113Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-30T11:12:03.113Z] ==> Running gcov in . (disable via -X gcov) [2023-01-30T11:12:03.113Z] ==> Python coveragepy not found [2023-01-30T11:12:03.113Z] ==> Searching for coverage reports in: [2023-01-30T11:12:03.113Z] + . [2023-01-30T11:12:03.113Z] -> Found 1 reports [2023-01-30T11:12:03.113Z] ==> Detecting git/mercurial file structure [2023-01-30T11:12:03.113Z] ==> Reading reports [2023-01-30T11:12:03.113Z] + ./coverage.out bytes=44128 [2023-01-30T11:12:03.113Z] ==> Appending adjustments [2023-01-30T11:12:03.113Z] https://docs.codecov.io/docs/fixing-reports [2023-01-30T11:12:03.376Z] + Found adjustments [2023-01-30T11:12:03.376Z] ==> Gzipping contents [2023-01-30T11:12:03.376Z] 8.0K /tmp/codecov.boarqa.gz [2023-01-30T11:12:03.376Z] ==> Uploading reports [2023-01-30T11:12:03.376Z] url: https://codecov.io [2023-01-30T11:12:03.376Z] query: branch=PR-333&commit=b5055e77311d0b5de917d9f550f7188f4308d844&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-333%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=333&job=&cmd_args= [2023-01-30T11:12:03.376Z] -> Pinging Codecov [2023-01-30T11:12:03.376Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-333&commit=b5055e77311d0b5de917d9f550f7188f4308d844&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-333%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=333&job=&cmd_args= [2023-01-30T11:12:03.638Z] -> Uploading to [2023-01-30T11:12:03.638Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-30/5E52B4B073DB2E39498172D8E973AA87/b5055e77311d0b5de917d9f550f7188f4308d844/c0d43bfa-aec8-4e1d-9048-5c8cc2a3b084.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230130%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230130T111203Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9f97b46b57e603939e37c0a1c3cec106d11c0b07cd108572cd0f34cfce411a51 [2023-01-30T11:12:03.638Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-30T11:12:03.638Z] Dload Upload Total Spent Left Speed [2023-01-30T11:12:03.898Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5470 0 0 100 5470 0 22235 --:--:-- --:--:-- --:--:-- 22326 [2023-01-30T11:12:03.898Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/b5055e77311d0b5de917d9f550f7188f4308d844 [Pipeline] } [2023-01-30T11:12:03.928Z] 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-30T11:12:05.787Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-333/archives ] [2023-01-30T11:12:05.787Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-333/archives [2023-01-30T11:12:05.787Z] total 16 [2023-01-30T11:12:05.787Z] drwxr-xr-x 3 root root 4096 Jan 30 11:04 . [2023-01-30T11:12:05.787Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 30 11:04 .. [2023-01-30T11:12:05.787Z] drwxr-xr-x 2 root root 4096 Jan 30 11:04 cost [2023-01-30T11:12:05.787Z] -rw-r--r-- 1 root root 89 Jan 30 11:04 cost.csv [2023-01-30T11:12:05.787Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-333/archives [2023-01-30T11:12:05.787Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-333/archives [2023-01-30T11:12:05.787Z] total 16 [2023-01-30T11:12:05.787Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 30 11:04 . [2023-01-30T11:12:05.787Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 30 11:04 .. [2023-01-30T11:12:05.787Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 30 11:04 cost [2023-01-30T11:12:05.787Z] -rw-r--r-- 1 jenkins jenkins 89 Jan 30 11:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-30T11:12:06.133Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-30T11:12:07.022Z] ---> package-listing.sh [2023-01-30T11:12:07.022Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-30T11:12:07.022Z] ++ facter osfamily [2023-01-30T11:12:07.283Z] + OS_FAMILY=debian [2023-01-30T11:12:07.283Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-333 [2023-01-30T11:12:07.283Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-30T11:12:07.283Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-30T11:12:07.283Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-30T11:12:07.283Z] + PACKAGES=/tmp/packages_start.txt [2023-01-30T11:12:07.283Z] + '[' /w/workspace/foundry_device-virtual-go_PR-333 ']' [2023-01-30T11:12:07.283Z] + PACKAGES=/tmp/packages_end.txt [2023-01-30T11:12:07.283Z] + case "${OS_FAMILY}" in [2023-01-30T11:12:07.283Z] + dpkg -l [2023-01-30T11:12:07.283Z] + grep '^ii' [2023-01-30T11:12:07.283Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-30T11:12:07.283Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-30T11:12:07.283Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-30T11:12:07.283Z] + '[' /w/workspace/foundry_device-virtual-go_PR-333 ']' [2023-01-30T11:12:07.283Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-333/archives/ [2023-01-30T11:12:07.283Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-333/archives/ [Pipeline] echo [2023-01-30T11:12:07.315Z] 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-333/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-30T11:12:07.606Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T11:12:08.240Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-30T11:12:08.240Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-30T11:12:08.388Z] prd-ubuntu20.04-docker-8c-8g-3976 does not seem to be running inside a container [2023-01-30T11:12:08.431Z] $ 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-333/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-333 -v /w/workspace/foundry_device-virtual-go_PR-333:/w/workspace/foundry_device-virtual-go_PR-333:rw,z -v /w/workspace/foundry_device-virtual-go_PR-333@tmp:/w/workspace/foundry_device-virtual-go_PR-333@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-30T11:12:08.612Z] $ docker top 523d7baca3c46f88d982a243efcf825facca99185767d67925af4e77731eb60b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-30T11:12:09.029Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-30T11:12:09.339Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-30T11:12:09.647Z] + ls /var/log/sa-host [2023-01-30T11:12:09.647Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-30T11:12:09.885Z] provisioning config files... [2023-01-30T11:12:09.894Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-333@tmp/config3851802609268429675tmp [Pipeline] { [Pipeline] echo [2023-01-30T11:12:09.953Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-30T11:12:10.263Z] ---> create-netrc.sh [Pipeline] } [2023-01-30T11:12:10.290Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-30T11:12:10.703Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-30T11:12:10.737Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-30T11:12:11.055Z] ---> sudo-logs.sh [2023-01-30T11:12:11.055Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-30T11:12:11.148Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-30T11:12:11.462Z] ---> job-cost.sh [2023-01-30T11:12:11.462Z] lf-activate-venv: SKIPPING [2023-01-30T11:12:11.462Z] DEBUG: total: 0.2199999988079071 [2023-01-30T11:12:11.462Z] INFO: Retrieving Stack Cost... [2023-01-30T11:12:11.721Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-30T11:12:12.290Z] INFO: Archiving Costs [Pipeline] echo [2023-01-30T11:12:12.328Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-30T11:12:12.640Z] ---> logs-deploy.sh [2023-01-30T11:12:12.640Z] lf-activate-venv: SKIPPING [2023-01-30T11:12:12.640Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-333/1 [2023-01-30T11:12:12.640Z] INFO: archiving workspace using pattern(s): [2023-01-30T11:12:13.606Z] Archives upload complete. [2023-01-30T11:12:13.606Z] INFO: archiving logs to Nexus