Pull request #312 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d2e3cdc578848e8e23285bbc4f790694862dfab8+38745b3e9e40de14badf8d6af86e73ac7698b39c (c2e58cf6a8927ba41afcfd4cd5935667b3dcff58) 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-ssh1013582611038297685.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh7938374013917144069.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-312/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-312/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12496672273026764998.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-312/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15434177305463321738.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh6105494051657295620.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-312/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-312/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9550578202989499096.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-7511 in /w/workspace/foundry_device-virtual-go_PR-312 [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-312 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 38745b3e9e40de14badf8d6af86e73ac7698b39c into PR head commit d2e3cdc578848e8e23285bbc4f790694862dfab8 Merge succeeded, producing d2e3cdc578848e8e23285bbc4f790694862dfab8 Checking out Revision d2e3cdc578848e8e23285bbc4f790694862dfab8 (PR-312) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/312/head:refs/remotes/origin/PR-312 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2e3cdc578848e8e23285bbc4f790694862dfab8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 38745b3e9e40de14badf8d6af86e73ac7698b39c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2e3cdc578848e8e23285bbc4f790694862dfab8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-10T11:04:16.436Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-10T11:04:16.609Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-10T11:04:16.702Z] ========================================================= [2022-10-10T11:04:16.702Z] EdgeX Global Pipelines Version Info [2022-10-10T11:04:16.702Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-10T11:04:17.474Z] ------------------- [2022-10-10T11:04:17.474Z] stable info: [2022-10-10T11:04:17.474Z] ------------------- [2022-10-10T11:04:17.474Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-10T11:04:17.474Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T11:04:17.474Z] Message: update stable to v1.0.239 [2022-10-10T11:04:18.044Z] ------------------- [2022-10-10T11:04:18.044Z] experimental info: [2022-10-10T11:04:18.044Z] ------------------- [2022-10-10T11:04:18.044Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-10T11:04:18.044Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T11:04:18.044Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-10T11:04:18.324Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-10-10T11:04:18.367Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-10-10T11:04:18.406Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-10T11:04:18.444Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-10T11:04:18.493Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-10T11:04:18.531Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-10T11:04:18.570Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-10T11:04:18.606Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-10T11:04:18.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-10T11:04:18.686Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-10T11:04:18.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-10T11:04:18.768Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-10-10T11:04:18.803Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-10T11:04:18.841Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-10T11:04:18.882Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T11:04:18.924Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T11:04:18.965Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T11:04:19.003Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T11:04:19.052Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-10T11:04:19.095Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-10T11:04:19.136Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-10T11:04:19.176Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-10T11:04:19.212Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-10T11:04:19.252Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-10T11:04:19.292Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-10T11:04:19.332Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-10T11:04:19.367Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-10T11:04:19.402Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-312 [Pipeline] echo [2022-10-10T11:04:19.446Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-312 [Pipeline] echo [2022-10-10T11:04:19.486Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-312 [Pipeline] echo [2022-10-10T11:04:19.525Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d2e3cdc578848e8e23285bbc4f790694862dfab8 [Pipeline] echo [2022-10-10T11:04:19.564Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d2e3cdc [Pipeline] echo [2022-10-10T11:04:19.599Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T11:04:19.714Z] provisioning config files... [2022-10-10T11:04:19.729Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-312@tmp/config9493139190991851341tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T11:04:20.079Z] ---> docker-login.sh [2022-10-10T11:04:20.079Z] nexus3.edgexfoundry.org:10001 [2022-10-10T11:04:20.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T11:04:20.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T11:04:20.599Z] Configure a credential helper to remove this warning. See [2022-10-10T11:04:20.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T11:04:20.599Z] [2022-10-10T11:04:20.599Z] Login Succeeded [2022-10-10T11:04:20.599Z] nexus3.edgexfoundry.org:10002 [2022-10-10T11:04:20.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T11:04:20.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T11:04:20.860Z] Configure a credential helper to remove this warning. See [2022-10-10T11:04:20.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T11:04:20.860Z] [2022-10-10T11:04:20.860Z] Login Succeeded [2022-10-10T11:04:20.860Z] nexus3.edgexfoundry.org:10003 [2022-10-10T11:04:20.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T11:04:20.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T11:04:20.860Z] Configure a credential helper to remove this warning. See [2022-10-10T11:04:20.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T11:04:20.860Z] [2022-10-10T11:04:20.860Z] Login Succeeded [2022-10-10T11:04:20.860Z] nexus3.edgexfoundry.org:10004 [2022-10-10T11:04:21.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T11:04:21.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T11:04:21.120Z] Configure a credential helper to remove this warning. See [2022-10-10T11:04:21.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T11:04:21.120Z] [2022-10-10T11:04:21.120Z] Login Succeeded [2022-10-10T11:04:21.120Z] docker.io [2022-10-10T11:04:21.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T11:04:21.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T11:04:21.380Z] Configure a credential helper to remove this warning. See [2022-10-10T11:04:21.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T11:04:21.380Z] [2022-10-10T11:04:21.380Z] Login Succeeded [2022-10-10T11:04:21.380Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T11:04:21.411Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-10T11:04:22.005Z] + git rev-list -1 --merges d2e3cdc578848e8e23285bbc4f790694862dfab8~1..d2e3cdc578848e8e23285bbc4f790694862dfab8 [Pipeline] echo [2022-10-10T11:04:22.055Z] -----------> git rev-list -1 --merges d2e3cdc578848e8e23285bbc4f790694862dfab8~1..d2e3cdc578848e8e23285bbc4f790694862dfab8 d2e3cdc578848e8e23285bbc4f790694862dfab8 [false] [Pipeline] sh [2022-10-10T11:04:22.364Z] + git log --format=format:%s -1 d2e3cdc578848e8e23285bbc4f790694862dfab8 [Pipeline] echo [2022-10-10T11:04:22.398Z] ========================================================= [2022-10-10T11:04:22.398Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-10T11:04:22.398Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T11:04:22.817Z] + git log --format=format:%s -1 d2e3cdc578848e8e23285bbc4f790694862dfab8 [Pipeline] echo [2022-10-10T11:04:22.852Z] [semverPrep] GIT_COMMIT: d2e3cdc578848e8e23285bbc4f790694862dfab8, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-10-10T11:04:22.877Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-10T11:04:23.258Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-10T11:04:23.258Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-10T11:04:23.258Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-10T11:04:23.258Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-10T11:04:23.258Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-10T11:04:23.258Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-10T11:04:23.258Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T11:04:23.673Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T11:04:23.673Z] [2022-10-10T11:04:23.673Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T11:04:24.045Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T11:04:24.046Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-10T11:04:24.046Z] b85a868b505f: Pulling fs layer [2022-10-10T11:04:24.046Z] e2be974225ed: Pulling fs layer [2022-10-10T11:04:24.046Z] 339a4e72a1f5: Pulling fs layer [2022-10-10T11:04:24.046Z] 988bab9f4d93: Pulling fs layer [2022-10-10T11:04:24.046Z] 1469e6f7b9e6: Pulling fs layer [2022-10-10T11:04:24.046Z] eaf3925da568: Pulling fs layer [2022-10-10T11:04:24.046Z] bab4dde63d76: Pulling fs layer [2022-10-10T11:04:24.046Z] bde34c3a00c8: Pulling fs layer [2022-10-10T11:04:24.046Z] b352a97aabf1: Pulling fs layer [2022-10-10T11:04:24.046Z] 4872d77fe225: Pulling fs layer [2022-10-10T11:04:24.046Z] 5851b861e8e6: Pulling fs layer [2022-10-10T11:04:24.046Z] bde34c3a00c8: Waiting [2022-10-10T11:04:24.046Z] 1469e6f7b9e6: Waiting [2022-10-10T11:04:24.046Z] b352a97aabf1: Waiting [2022-10-10T11:04:24.046Z] eaf3925da568: Waiting [2022-10-10T11:04:24.046Z] bab4dde63d76: Waiting [2022-10-10T11:04:24.046Z] 4872d77fe225: Waiting [2022-10-10T11:04:24.046Z] 5851b861e8e6: Waiting [2022-10-10T11:04:24.046Z] 988bab9f4d93: Waiting [2022-10-10T11:04:24.046Z] e2be974225ed: Verifying Checksum [2022-10-10T11:04:24.046Z] e2be974225ed: Download complete [2022-10-10T11:04:24.046Z] 988bab9f4d93: Verifying Checksum [2022-10-10T11:04:24.046Z] 988bab9f4d93: Download complete [2022-10-10T11:04:24.304Z] 339a4e72a1f5: Verifying Checksum [2022-10-10T11:04:24.304Z] 339a4e72a1f5: Download complete [2022-10-10T11:04:24.304Z] eaf3925da568: Download complete [2022-10-10T11:04:24.304Z] 1469e6f7b9e6: Verifying Checksum [2022-10-10T11:04:24.304Z] 1469e6f7b9e6: Download complete [2022-10-10T11:04:24.304Z] bde34c3a00c8: Verifying Checksum [2022-10-10T11:04:24.304Z] bde34c3a00c8: Download complete [2022-10-10T11:04:24.304Z] b352a97aabf1: Verifying Checksum [2022-10-10T11:04:24.304Z] b352a97aabf1: Download complete [2022-10-10T11:04:24.304Z] 4872d77fe225: Verifying Checksum [2022-10-10T11:04:24.304Z] 4872d77fe225: Download complete [2022-10-10T11:04:24.304Z] 5851b861e8e6: Download complete [2022-10-10T11:04:24.304Z] b85a868b505f: Verifying Checksum [2022-10-10T11:04:24.304Z] b85a868b505f: Download complete [2022-10-10T11:04:24.874Z] bab4dde63d76: Verifying Checksum [2022-10-10T11:04:24.874Z] bab4dde63d76: Download complete [2022-10-10T11:04:25.810Z] b85a868b505f: Pull complete [2022-10-10T11:04:25.810Z] e2be974225ed: Pull complete [2022-10-10T11:04:26.379Z] 339a4e72a1f5: Pull complete [2022-10-10T11:04:26.379Z] 988bab9f4d93: Pull complete [2022-10-10T11:04:26.641Z] 1469e6f7b9e6: Pull complete [2022-10-10T11:04:26.904Z] eaf3925da568: Pull complete [2022-10-10T11:04:28.867Z] bab4dde63d76: Pull complete [2022-10-10T11:04:28.867Z] bde34c3a00c8: Pull complete [2022-10-10T11:04:29.129Z] b352a97aabf1: Pull complete [2022-10-10T11:04:29.129Z] 4872d77fe225: Pull complete [2022-10-10T11:04:29.129Z] 5851b861e8e6: Pull complete [2022-10-10T11:04:29.129Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-10T11:04:29.130Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T11:04:29.389Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T11:04:29.609Z] prd-ubuntu20.04-docker-8c-8g-7511 does not seem to be running inside a container [2022-10-10T11:04:29.635Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-312 -v /w/workspace/foundry_device-virtual-go_PR-312:/w/workspace/foundry_device-virtual-go_PR-312:rw,z -v /w/workspace/foundry_device-virtual-go_PR-312@tmp:/w/workspace/foundry_device-virtual-go_PR-312@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 [2022-10-10T11:04:31.284Z] $ docker top e41ec006fd1b961b43804cc6d82fd342fd1e2ac42936bbf85b643fabdd18c3dd -eo pid,comm [2022-10-10T11:04:31.368Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-10T11:04:31.368Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-10T11:04:31.554Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T11:04:31.554Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T11:04:31.692Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T11:04:31.692Z] $ docker exec e41ec006fd1b961b43804cc6d82fd342fd1e2ac42936bbf85b643fabdd18c3dd ssh-agent [2022-10-10T11:04:31.818Z] SSH_AUTH_SOCK=/tmp/ssh-knMQLo1JWLN0/agent.20 [2022-10-10T11:04:31.818Z] SSH_AGENT_PID=37 [2022-10-10T11:04:31.826Z] Running ssh-add (command line suppressed) [2022-10-10T11:04:31.925Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-312@tmp/private_key_6562710232348111506.key (/w/workspace/foundry_device-virtual-go_PR-312@tmp/private_key_6562710232348111506.key) [2022-10-10T11:04:31.941Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T11:04:32.282Z] + git tag --points-at HEAD [Pipeline] } [2022-10-10T11:04:32.304Z] $ docker exec --env ******** --env ******** e41ec006fd1b961b43804cc6d82fd342fd1e2ac42936bbf85b643fabdd18c3dd ssh-agent -k [2022-10-10T11:04:32.397Z] unset SSH_AUTH_SOCK; [2022-10-10T11:04:32.398Z] unset SSH_AGENT_PID; [2022-10-10T11:04:32.399Z] echo Agent pid 37 killed; [2022-10-10T11:04:32.413Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-10T11:04:32.501Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T11:04:32.501Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T11:04:32.624Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T11:04:32.625Z] $ docker exec e41ec006fd1b961b43804cc6d82fd342fd1e2ac42936bbf85b643fabdd18c3dd ssh-agent [2022-10-10T11:04:32.739Z] SSH_AUTH_SOCK=/tmp/ssh-fIPQMq1lePZH/agent.69 [2022-10-10T11:04:32.739Z] SSH_AGENT_PID=75 [2022-10-10T11:04:32.744Z] Running ssh-add (command line suppressed) [2022-10-10T11:04:32.848Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-312@tmp/private_key_1054754802010281018.key (/w/workspace/foundry_device-virtual-go_PR-312@tmp/private_key_1054754802010281018.key) [2022-10-10T11:04:32.862Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T11:04:33.204Z] + git semver init [2022-10-10T11:04:33.464Z] 2022-10-10 11:04:33,375 [run_init] DEBUG init version:0.0.0 force:False [2022-10-10T11:04:33.464Z] 2022-10-10 11:04:33,376 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-312/.semver [2022-10-10T11:04:33.464Z] 2022-10-10 11:04:33,376 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-312/.semver [2022-10-10T11:04:33.464Z] 2022-10-10 11:04:33,376 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-312/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-312, universal_newlines=False, shell=None, istream=None) [2022-10-10T11:04:34.841Z] 2022-10-10 11:04:34,619 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-312/.git/info/exclude [2022-10-10T11:04:34.841Z] 2022-10-10 11:04:34,619 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-312/.semver/PR-312 with force:False [2022-10-10T11:04:34.841Z] 2022-10-10 11:04:34,619 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-312/.semver/PR-312 [2022-10-10T11:04:34.841Z] 2022-10-10 11:04:34,622 [execute] INFO git cat-file --batch-check [2022-10-10T11:04:34.841Z] 2022-10-10 11:04:34,622 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-312/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T11:04:34.841Z] 2022-10-10 11:04:34,626 [execute] INFO git cat-file --batch [2022-10-10T11:04:34.841Z] 2022-10-10 11:04:34,626 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-312/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T11:04:34.841Z] 2022-10-10 11:04:34,630 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-312/.semver/PR-312 [2022-10-10T11:04:34.841Z] 0.0.0 [Pipeline] } [2022-10-10T11:04:34.869Z] $ docker exec --env ******** --env ******** e41ec006fd1b961b43804cc6d82fd342fd1e2ac42936bbf85b643fabdd18c3dd ssh-agent -k [2022-10-10T11:04:35.024Z] unset SSH_AUTH_SOCK; [2022-10-10T11:04:35.025Z] unset SSH_AGENT_PID; [2022-10-10T11:04:35.025Z] echo Agent pid 75 killed; [2022-10-10T11:04:35.039Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-10T11:04:35.461Z] + git semver [Pipeline] } [2022-10-10T11:04:35.744Z] $ docker stop --time=1 e41ec006fd1b961b43804cc6d82fd342fd1e2ac42936bbf85b643fabdd18c3dd [2022-10-10T11:04:37.301Z] $ docker rm -f e41ec006fd1b961b43804cc6d82fd342fd1e2ac42936bbf85b643fabdd18c3dd [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T11:04:37.746Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-10T11:04:38.050Z] Stashed 1 file(s) [Pipeline] echo [2022-10-10T11:04:38.068Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T11:04:38.647Z] provisioning config files... [2022-10-10T11:04:38.658Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-312@tmp/config3897028997963185784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T11:04:39.006Z] ---> docker-login.sh [2022-10-10T11:04:39.006Z] nexus3.edgexfoundry.org:10001 [2022-10-10T11:04:39.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T11:04:39.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T11:04:39.006Z] Configure a credential helper to remove this warning. See [2022-10-10T11:04:39.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T11:04:39.006Z] [2022-10-10T11:04:39.006Z] Login Succeeded [2022-10-10T11:04:39.006Z] nexus3.edgexfoundry.org:10002 [2022-10-10T11:04:39.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T11:04:39.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T11:04:39.006Z] Configure a credential helper to remove this warning. See [2022-10-10T11:04:39.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T11:04:39.006Z] [2022-10-10T11:04:39.006Z] Login Succeeded [2022-10-10T11:04:39.006Z] nexus3.edgexfoundry.org:10003 [2022-10-10T11:04:39.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T11:04:39.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T11:04:39.267Z] Configure a credential helper to remove this warning. See [2022-10-10T11:04:39.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T11:04:39.267Z] [2022-10-10T11:04:39.267Z] Login Succeeded [2022-10-10T11:04:39.267Z] nexus3.edgexfoundry.org:10004 [2022-10-10T11:04:39.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T11:04:39.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T11:04:39.267Z] Configure a credential helper to remove this warning. See [2022-10-10T11:04:39.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T11:04:39.267Z] [2022-10-10T11:04:39.267Z] Login Succeeded [2022-10-10T11:04:39.267Z] docker.io [2022-10-10T11:04:39.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T11:04:39.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T11:04:39.789Z] Configure a credential helper to remove this warning. See [2022-10-10T11:04:39.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T11:04:39.789Z] [2022-10-10T11:04:39.789Z] Login Succeeded [2022-10-10T11:04:39.789Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T11:04:39.818Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T11:04:40.008Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T11:04:40.042Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T11:04:40.074Z] ========================================================= [2022-10-10T11:04:40.074Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-10T11:04:40.074Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T11:04:40.559Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-10T11:04:40.559Z] Sending build context to Docker daemon 23.19MB [2022-10-10T11:04:40.559Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T11:04:40.559Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-10T11:04:40.819Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-10T11:04:40.819Z] 2408cc74d12b: Pulling fs layer [2022-10-10T11:04:40.819Z] ea60b727a1ce: Pulling fs layer [2022-10-10T11:04:40.819Z] 30c4a7721957: Pulling fs layer [2022-10-10T11:04:40.819Z] 370296b7ddb6: Pulling fs layer [2022-10-10T11:04:40.819Z] 7c6cee850709: Pulling fs layer [2022-10-10T11:04:40.819Z] aa9baa53a306: Pulling fs layer [2022-10-10T11:04:40.819Z] 8b309c321861: Pulling fs layer [2022-10-10T11:04:40.819Z] d8d76fd02f46: Pulling fs layer [2022-10-10T11:04:40.819Z] fa31f396de31: Pulling fs layer [2022-10-10T11:04:40.819Z] aa9baa53a306: Waiting [2022-10-10T11:04:40.819Z] 8b309c321861: Waiting [2022-10-10T11:04:40.819Z] d8d76fd02f46: Waiting [2022-10-10T11:04:40.819Z] 370296b7ddb6: Waiting [2022-10-10T11:04:40.819Z] 7c6cee850709: Waiting [2022-10-10T11:04:40.819Z] fa31f396de31: Waiting [2022-10-10T11:04:40.819Z] 30c4a7721957: Download complete [2022-10-10T11:04:40.819Z] ea60b727a1ce: Verifying Checksum [2022-10-10T11:04:40.819Z] ea60b727a1ce: Download complete [2022-10-10T11:04:40.819Z] 7c6cee850709: Verifying Checksum [2022-10-10T11:04:40.819Z] 7c6cee850709: Download complete [2022-10-10T11:04:40.819Z] aa9baa53a306: Verifying Checksum [2022-10-10T11:04:40.819Z] aa9baa53a306: Download complete [2022-10-10T11:04:40.819Z] 2408cc74d12b: Verifying Checksum [2022-10-10T11:04:41.080Z] 8b309c321861: Download complete [2022-10-10T11:04:41.080Z] 2408cc74d12b: Pull complete [2022-10-10T11:04:41.341Z] ea60b727a1ce: Pull complete [2022-10-10T11:04:41.607Z] fa31f396de31: Verifying Checksum [2022-10-10T11:04:41.607Z] fa31f396de31: Download complete [2022-10-10T11:04:41.607Z] 30c4a7721957: Pull complete [2022-10-10T11:04:41.867Z] 370296b7ddb6: Verifying Checksum [2022-10-10T11:04:41.867Z] 370296b7ddb6: Download complete [2022-10-10T11:04:41.867Z] d8d76fd02f46: Verifying Checksum [2022-10-10T11:04:41.867Z] d8d76fd02f46: Download complete [2022-10-10T11:04:46.061Z] 370296b7ddb6: Pull complete [2022-10-10T11:04:46.061Z] 7c6cee850709: Pull complete [2022-10-10T11:04:46.061Z] aa9baa53a306: Pull complete [2022-10-10T11:04:46.061Z] 8b309c321861: Pull complete [2022-10-10T11:04:48.602Z] d8d76fd02f46: Pull complete [2022-10-10T11:04:49.169Z] fa31f396de31: Pull complete [2022-10-10T11:04:49.169Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-10T11:04:49.430Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-10T11:04:49.430Z] ---> cef68f9685f8 [2022-10-10T11:04:49.430Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T11:04:52.732Z] ---> Running in 39e553b738c5 [2022-10-10T11:04:52.733Z] Removing intermediate container 39e553b738c5 [2022-10-10T11:04:52.733Z] ---> a5afcffdfe84 [2022-10-10T11:04:52.733Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T11:04:52.993Z] ---> Running in a38e419514d1 [2022-10-10T11:04:53.253Z] Removing intermediate container a38e419514d1 [2022-10-10T11:04:53.253Z] ---> ac220c2490cd [2022-10-10T11:04:53.253Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-10-10T11:04:53.471Z] Still waiting to schedule task [2022-10-10T11:04:53.472Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-10T11:04:53.512Z] ---> Running in 978d4960335d [2022-10-10T11:04:53.772Z] Removing intermediate container 978d4960335d [2022-10-10T11:04:53.772Z] ---> e72e0a3cf319 [2022-10-10T11:04:53.772Z] Step 6/13 : WORKDIR /device-virtual-go [2022-10-10T11:04:54.032Z] ---> Running in d0ea106b6549 [2022-10-10T11:04:54.293Z] Removing intermediate container d0ea106b6549 [2022-10-10T11:04:54.293Z] ---> 226ed0832617 [2022-10-10T11:04:54.293Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T11:04:54.293Z] ---> Running in c0c4b9b110ee [2022-10-10T11:04:55.684Z] Removing intermediate container c0c4b9b110ee [2022-10-10T11:04:55.684Z] ---> 1c1d20f73ddf [2022-10-10T11:04:55.684Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T11:04:55.684Z] ---> Running in 5ef485c2a5bb [2022-10-10T11:04:55.944Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T11:04:56.894Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T11:04:57.153Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-10T11:04:57.153Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-10T11:04:57.419Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-10T11:04:57.419Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-10T11:04:57.419Z] Executing busybox-1.35.0-r13.trigger [2022-10-10T11:04:57.699Z] OK: 216 MiB in 55 packages [2022-10-10T11:04:59.076Z] Removing intermediate container 5ef485c2a5bb [2022-10-10T11:04:59.076Z] ---> c5fe74fa6f7f [2022-10-10T11:04:59.076Z] Step 9/13 : COPY go.mod vendor* ./ [2022-10-10T11:04:59.076Z] ---> bc5765cd2ea5 [2022-10-10T11:04:59.076Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T11:04:59.334Z] ---> Running in 109de773c6f2 [2022-10-10T11:05:25.953Z] Removing intermediate container 109de773c6f2 [2022-10-10T11:05:25.953Z] ---> a1713b2e4c1f [2022-10-10T11:05:25.953Z] Step 11/13 : COPY . . [2022-10-10T11:05:25.953Z] ---> 7b7306573bf7 [2022-10-10T11:05:25.953Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T11:05:25.953Z] ---> Running in 21a2bfcdbdf0 [2022-10-10T11:05:25.953Z] Removing intermediate container 21a2bfcdbdf0 [2022-10-10T11:05:25.953Z] ---> 5d97d0ba442e [2022-10-10T11:05:25.953Z] Step 13/13 : RUN $MAKE [2022-10-10T11:05:25.953Z] ---> Running in 437f5875e643 [2022-10-10T11:05:25.953Z] noop [2022-10-10T11:05:25.953Z] Removing intermediate container 437f5875e643 [2022-10-10T11:05:25.953Z] ---> 0727f67da36d [2022-10-10T11:05:25.953Z] Successfully built 0727f67da36d [2022-10-10T11:05:25.953Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T11:05:26.411Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T11:05:26.411Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T11:05:26.558Z] prd-ubuntu20.04-docker-8c-8g-7511 does not seem to be running inside a container [2022-10-10T11:05:26.595Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-312 -v /w/workspace/foundry_device-virtual-go_PR-312:/w/workspace/foundry_device-virtual-go_PR-312:rw,z -v /w/workspace/foundry_device-virtual-go_PR-312@tmp:/w/workspace/foundry_device-virtual-go_PR-312@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 [2022-10-10T11:05:26.957Z] $ docker top 8bb6b39c524087f0daca2fd958f032ebbc72873655f87084cb3444f35a53814b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T11:05:27.347Z] + go version [2022-10-10T11:05:27.347Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-10T11:05:27.387Z] $ docker stop --time=1 8bb6b39c524087f0daca2fd958f032ebbc72873655f87084cb3444f35a53814b [2022-10-10T11:05:29.379Z] $ docker rm -f 8bb6b39c524087f0daca2fd958f032ebbc72873655f87084cb3444f35a53814b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T11:05:30.124Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T11:05:30.124Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T11:05:30.272Z] prd-ubuntu20.04-docker-8c-8g-7511 does not seem to be running inside a container [2022-10-10T11:05:30.309Z] $ 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-312 -v /w/workspace/foundry_device-virtual-go_PR-312:/w/workspace/foundry_device-virtual-go_PR-312:rw,z -v /w/workspace/foundry_device-virtual-go_PR-312@tmp:/w/workspace/foundry_device-virtual-go_PR-312@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 [2022-10-10T11:05:30.681Z] $ docker top d0797d45e28432641fd06f98a14c6c3a1211f89d8acbfdbbca845e0e492891ea -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T11:05:31.059Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-312 [Pipeline] fileExists [Pipeline] sh [2022-10-10T11:05:31.411Z] + make test [2022-10-10T11:05:31.411Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-10T11:05:31.976Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-10-10T11:05:41.955Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-10-10T11:05:41.955Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.039s coverage: 65.7% of statements [2022-10-10T11:05:48.558Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-10T11:05:48.558Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T11:05:51.101Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T11:05:51.102Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T11:05:51.102Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T11:05:51.157Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T11:05:51.196Z] $ docker stop --time=1 d0797d45e28432641fd06f98a14c6c3a1211f89d8acbfdbbca845e0e492891ea [2022-10-10T11:05:53.453Z] $ docker rm -f d0797d45e28432641fd06f98a14c6c3a1211f89d8acbfdbbca845e0e492891ea [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T11:05:53.960Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T11:05:54.047Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-10T11:05:54.747Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T11:05:55.059Z] + ls -al . [2022-10-10T11:05:55.059Z] total 200 [2022-10-10T11:05:55.059Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 11:05 . [2022-10-10T11:05:55.059Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 11:04 .. [2022-10-10T11:05:55.059Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 11:05 .git [2022-10-10T11:05:55.059Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 11:04 .github [2022-10-10T11:05:55.059Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 10 11:04 .gitignore [2022-10-10T11:05:55.059Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 11:04 .golangci.yml [2022-10-10T11:05:55.059Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 11:04 .semver [2022-10-10T11:05:55.059Z] -rw-rw-r-- 1 jenkins jenkins 8527 Oct 10 11:04 Attribution.txt [2022-10-10T11:05:55.059Z] -rw-rw-r-- 1 jenkins jenkins 9649 Oct 10 11:04 CHANGELOG.md [2022-10-10T11:05:55.059Z] -rw-rw-r-- 1 jenkins jenkins 2034 Oct 10 11:04 Dockerfile [2022-10-10T11:05:55.059Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 11:04 GOVERNANCE.md [2022-10-10T11:05:55.059Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 10 11:04 Jenkinsfile [2022-10-10T11:05:55.059Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 11:04 LICENSE [2022-10-10T11:05:55.059Z] -rw-rw-r-- 1 jenkins jenkins 2457 Oct 10 11:04 Makefile [2022-10-10T11:05:55.059Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 10 11:04 OWNERS.md [2022-10-10T11:05:55.059Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 10 11:04 README.md [2022-10-10T11:05:55.059Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 11:04 VERSION [2022-10-10T11:05:55.059Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 11:04 bin [2022-10-10T11:05:55.059Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 11:04 cmd [2022-10-10T11:05:55.059Z] -rw-r--r-- 1 jenkins jenkins 44128 Oct 10 11:05 coverage.out [2022-10-10T11:05:55.059Z] -rw-rw-r-- 1 jenkins jenkins 3399 Oct 10 11:04 go.mod [2022-10-10T11:05:55.059Z] -rw-rw-r-- 1 jenkins jenkins 37522 Oct 10 11:04 go.sum [2022-10-10T11:05:55.059Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 11:04 internal [2022-10-10T11:05:55.059Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 11:04 snap [2022-10-10T11:05:55.059Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 10 11:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T11:05:55.485Z] + 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=d2e3cdc578848e8e23285bbc4f790694862dfab8 --label arch=amd64 --label version=0.0.0 . [2022-10-10T11:05:55.485Z] Sending build context to Docker daemon 23.23MB [2022-10-10T11:05:55.485Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T11:05:55.485Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-10T11:05:55.485Z] ---> 0727f67da36d [2022-10-10T11:05:55.485Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T11:05:56.419Z] ---> Running in 34b2c015f7a2 [2022-10-10T11:05:56.678Z] Removing intermediate container 34b2c015f7a2 [2022-10-10T11:05:56.678Z] ---> 30210d737b5c [2022-10-10T11:05:56.678Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T11:05:56.937Z] ---> Running in dcac8e860953 [2022-10-10T11:05:57.505Z] Removing intermediate container dcac8e860953 [2022-10-10T11:05:57.505Z] ---> 81afe9a5171b [2022-10-10T11:05:57.505Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-10-10T11:05:57.505Z] ---> Running in cc1c518c3bb0 [2022-10-10T11:05:57.763Z] Removing intermediate container cc1c518c3bb0 [2022-10-10T11:05:57.763Z] ---> b9d4230aa937 [2022-10-10T11:05:57.763Z] Step 6/27 : WORKDIR /device-virtual-go [2022-10-10T11:05:57.763Z] ---> Running in 81fdc5d00ee8 [2022-10-10T11:05:58.021Z] Removing intermediate container 81fdc5d00ee8 [2022-10-10T11:05:58.021Z] ---> 51c7d12d04ed [2022-10-10T11:05:58.021Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T11:05:58.021Z] ---> Running in aba72e452388 [2022-10-10T11:05:58.962Z] Removing intermediate container aba72e452388 [2022-10-10T11:05:58.962Z] ---> ef49c79fe68d [2022-10-10T11:05:58.962Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T11:05:59.220Z] ---> Running in ac59e3a37ced [2022-10-10T11:05:59.479Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T11:06:00.416Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T11:06:00.677Z] OK: 216 MiB in 55 packages [2022-10-10T11:06:01.244Z] Removing intermediate container ac59e3a37ced [2022-10-10T11:06:01.244Z] ---> 032943225f25 [2022-10-10T11:06:01.244Z] Step 9/27 : COPY go.mod vendor* ./ [2022-10-10T11:06:01.504Z] ---> 900ec5819ad2 [2022-10-10T11:06:01.504Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T11:06:01.763Z] ---> Running in 26a41fe688d8 [2022-10-10T11:06:03.141Z] Removing intermediate container 26a41fe688d8 [2022-10-10T11:06:03.141Z] ---> 3617ef1e09df [2022-10-10T11:06:03.141Z] Step 11/27 : COPY . . [2022-10-10T11:06:03.709Z] ---> 839f8ecde5e3 [2022-10-10T11:06:03.709Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T11:06:03.975Z] ---> Running in 7d56d2a81825 [2022-10-10T11:06:04.235Z] Removing intermediate container 7d56d2a81825 [2022-10-10T11:06:04.235Z] ---> 0253cb07a2ac [2022-10-10T11:06:04.235Z] Step 13/27 : RUN $MAKE [2022-10-10T11:06:04.235Z] ---> Running in d3121ee3e962 [2022-10-10T11:06:04.814Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-10-10T11:06:26.769Z] Removing intermediate container d3121ee3e962 [2022-10-10T11:06:26.769Z] ---> 1e86d2e29be7 [2022-10-10T11:06:26.769Z] Step 14/27 : FROM alpine:3.16 [2022-10-10T11:06:26.769Z] 3.16: Pulling from library/alpine [2022-10-10T11:06:26.769Z] 213ec9aee27d: Pulling fs layer [2022-10-10T11:06:26.769Z] 213ec9aee27d: Verifying Checksum [2022-10-10T11:06:26.769Z] 213ec9aee27d: Download complete [2022-10-10T11:06:26.769Z] 213ec9aee27d: Pull complete [2022-10-10T11:06:26.769Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T11:06:26.769Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T11:06:26.769Z] ---> 9c6f07244728 [2022-10-10T11:06:26.769Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-10-10T11:06:26.769Z] ---> Running in c905b9696cd6 [2022-10-10T11:06:26.769Z] Removing intermediate container c905b9696cd6 [2022-10-10T11:06:26.769Z] ---> 50948dbbb5ce [2022-10-10T11:06:26.769Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T11:06:26.769Z] ---> Running in 8fb7d2b4e41a [2022-10-10T11:06:26.769Z] Removing intermediate container 8fb7d2b4e41a [2022-10-10T11:06:26.769Z] ---> 6cb1db043671 [2022-10-10T11:06:26.769Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T11:06:26.769Z] ---> Running in f6834774e16d [2022-10-10T11:06:27.029Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T11:06:27.965Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T11:06:28.100Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7512 in /w/workspace/foundry_device-virtual-go_PR-312 [Pipeline] { [Pipeline] ws [2022-10-10T11:06:28.147Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-10-10T11:06:28.223Z] The recommended git tool is: git [2022-10-10T11:06:28.224Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T11:06:28.224Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T11:06:28.484Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T11:06:28.484Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T11:06:28.484Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T11:06:28.743Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T11:06:28.743Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T11:06:28.743Z] OK: 8 MiB in 20 packages [2022-10-10T11:06:29.679Z] Removing intermediate container f6834774e16d [2022-10-10T11:06:29.679Z] ---> 571eccb521e5 [2022-10-10T11:06:29.679Z] Step 18/27 : WORKDIR / [2022-10-10T11:06:29.679Z] ---> Running in a83b8dad0a79 [2022-10-10T11:06:29.939Z] Removing intermediate container a83b8dad0a79 [2022-10-10T11:06:29.939Z] ---> 2e06ce040b46 [2022-10-10T11:06:29.939Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-10-10T11:06:29.939Z] ---> c73cc2ba7afd [2022-10-10T11:06:29.939Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-10-10T11:06:30.197Z] ---> f58d260b1324 [2022-10-10T11:06:30.197Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-10-10T11:06:30.769Z] ---> 798ce8191703 [2022-10-10T11:06:30.769Z] Step 22/27 : EXPOSE 59900 [2022-10-10T11:06:30.769Z] ---> Running in 38abcbe7a1c1 [2022-10-10T11:06:31.028Z] Removing intermediate container 38abcbe7a1c1 [2022-10-10T11:06:31.028Z] ---> 3985764231ff [2022-10-10T11:06:31.028Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-10-10T11:06:31.028Z] ---> Running in c5a3e525a1aa [2022-10-10T11:06:31.028Z] Removing intermediate container c5a3e525a1aa [2022-10-10T11:06:31.028Z] ---> 9734f9a5214c [2022-10-10T11:06:31.028Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-10T11:06:31.028Z] ---> Running in 2bf1648ae56e [2022-10-10T11:06:31.288Z] Removing intermediate container 2bf1648ae56e [2022-10-10T11:06:31.288Z] ---> ae20241b7b0f [2022-10-10T11:06:31.288Z] Step 25/27 : LABEL arch=amd64 [2022-10-10T11:06:31.288Z] ---> Running in 2e33b71c4a89 [2022-10-10T11:06:31.288Z] Removing intermediate container 2e33b71c4a89 [2022-10-10T11:06:31.288Z] ---> 79823ed91c24 [2022-10-10T11:06:31.288Z] Step 26/27 : LABEL git_sha=d2e3cdc578848e8e23285bbc4f790694862dfab8 [2022-10-10T11:06:31.288Z] ---> Running in fc412b4ec0c3 [2022-10-10T11:06:31.563Z] Removing intermediate container fc412b4ec0c3 [2022-10-10T11:06:31.563Z] ---> d3d3c22be984 [2022-10-10T11:06:31.563Z] Step 27/27 : LABEL version=0.0.0 [2022-10-10T11:06:31.563Z] ---> Running in 854df583b728 [2022-10-10T11:06:31.563Z] Removing intermediate container 854df583b728 [2022-10-10T11:06:31.563Z] ---> bd7b6adc5048 [2022-10-10T11:06:31.563Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T11:06:31.563Z] Successfully built bd7b6adc5048 [2022-10-10T11:06:31.822Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T11:06:32.669Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T11:06:32.669Z] [2022-10-10T11:06:32.669Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T11:06:33.040Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T11:06:33.040Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-10T11:06:33.040Z] 5eb5b503b376: Pulling fs layer [2022-10-10T11:06:33.040Z] 5c69ac0246d0: Pulling fs layer [2022-10-10T11:06:33.040Z] ec43610c2a17: Pulling fs layer [2022-10-10T11:06:33.040Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-10T11:06:33.040Z] 33b1e0a273af: Pulling fs layer [2022-10-10T11:06:33.040Z] 5d3b04190fa2: Pulling fs layer [2022-10-10T11:06:33.040Z] 2f39f015ded8: Pulling fs layer [2022-10-10T11:06:33.040Z] 33b1e0a273af: Waiting [2022-10-10T11:06:33.040Z] 5d3b04190fa2: Waiting [2022-10-10T11:06:33.040Z] 2f39f015ded8: Waiting [2022-10-10T11:06:33.040Z] 3a2ae6a8a46f: Waiting [2022-10-10T11:06:33.040Z] 5c69ac0246d0: Download complete [2022-10-10T11:06:33.040Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-10T11:06:33.040Z] 3a2ae6a8a46f: Download complete [2022-10-10T11:06:33.040Z] 33b1e0a273af: Verifying Checksum [2022-10-10T11:06:33.040Z] 33b1e0a273af: Download complete [2022-10-10T11:06:33.040Z] ec43610c2a17: Verifying Checksum [2022-10-10T11:06:33.040Z] ec43610c2a17: Download complete [2022-10-10T11:06:33.299Z] 5d3b04190fa2: Download complete [2022-10-10T11:06:33.299Z] 5eb5b503b376: Verifying Checksum [2022-10-10T11:06:33.299Z] 5eb5b503b376: Download complete [2022-10-10T11:06:33.321Z] using credential edgex-jenkins-ssh [2022-10-10T11:06:33.336Z] Cloning the remote Git repository [2022-10-10T11:06:33.868Z] 2f39f015ded8: Verifying Checksum [2022-10-10T11:06:33.868Z] 2f39f015ded8: Download complete [2022-10-10T11:06:33.375Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-10-10T11:06:33.445Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-10-10T11:06:33.578Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-10-10T11:06:33.579Z] > git --version # timeout=10 [2022-10-10T11:06:33.600Z] > git --version # 'git version 2.25.1' [2022-10-10T11:06:33.602Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T11:06:33.657Z] Verifying host key using known hosts file [2022-10-10T11:06:33.839Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-10T11:06:33.854Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T11:06:34.437Z] 5eb5b503b376: Pull complete [2022-10-10T11:06:34.437Z] 5c69ac0246d0: Pull complete [2022-10-10T11:06:35.010Z] ec43610c2a17: Pull complete [2022-10-10T11:06:35.010Z] 3a2ae6a8a46f: Pull complete [2022-10-10T11:06:35.270Z] 33b1e0a273af: Pull complete [2022-10-10T11:06:35.531Z] 5d3b04190fa2: Pull complete [2022-10-10T11:06:35.812Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-10-10T11:06:35.835Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T11:06:36.587Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-10-10T11:06:36.626Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-10-10T11:06:36.627Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T11:06:36.633Z] Verifying host key using known hosts file [2022-10-10T11:06:36.640Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-10T11:06:36.651Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/312/head:refs/remotes/origin/PR-312 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-10T11:06:37.221Z] Merging remotes/origin/main commit 38745b3e9e40de14badf8d6af86e73ac7698b39c into PR head commit d2e3cdc578848e8e23285bbc4f790694862dfab8 [2022-10-10T11:06:37.441Z] Merge succeeded, producing d2e3cdc578848e8e23285bbc4f790694862dfab8 [2022-10-10T11:06:37.441Z] Checking out Revision d2e3cdc578848e8e23285bbc4f790694862dfab8 (PR-312) [2022-10-10T11:06:37.923Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-10-10T11:06:37.974Z] > git --version # timeout=10 [2022-10-10T11:06:37.986Z] > git --version # 'git version 2.25.1' [2022-10-10T11:06:38.001Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T11:06:37.235Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T11:06:37.250Z] > git checkout -f d2e3cdc578848e8e23285bbc4f790694862dfab8 # timeout=10 [2022-10-10T11:06:37.333Z] > git remote # timeout=10 [2022-10-10T11:06:37.348Z] > git config --get remote.origin.url # timeout=10 [2022-10-10T11:06:37.370Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T11:06:37.382Z] Verifying host key using known hosts file [2022-10-10T11:06:37.385Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-10T11:06:37.394Z] > git merge 38745b3e9e40de14badf8d6af86e73ac7698b39c # timeout=10 [2022-10-10T11:06:37.422Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-10T11:06:37.447Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T11:06:37.468Z] > git checkout -f d2e3cdc578848e8e23285bbc4f790694862dfab8 # timeout=10 [2022-10-10T11:06:38.376Z] [2022-10-10T11:06:38.376Z] GitHub has been notified of this commit’s build result [2022-10-10T11:06:38.376Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T11:06:39.071Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-10T11:06:39.072Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T11:06:39.072Z] Dload Upload Total Spent Left Speed [2022-10-10T11:06:39.072Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 95469 0 --:--:-- --:--:-- --:--:-- 94751 [Pipeline] sh [2022-10-10T11:06:39.696Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [2022-10-10T11:06:39.717Z] 2f39f015ded8: Pull complete [Pipeline] sh [2022-10-10T11:06:39.975Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-10T11:06:39.975Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T11:06:39.975Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [2022-10-10T11:06:40.065Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-10T11:06:40.065Z] + sudo tee /etc/docker/daemon.new [2022-10-10T11:06:40.065Z] { [2022-10-10T11:06:40.065Z] "registry-mirrors": [ [2022-10-10T11:06:40.065Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-10T11:06:40.065Z] ], [2022-10-10T11:06:40.065Z] "bip": "10.250.0.254/24", [2022-10-10T11:06:40.065Z] "hosts": [ [2022-10-10T11:06:40.065Z] "tcp://0.0.0.0:5555", [2022-10-10T11:06:40.065Z] "unix:///var/run/docker.sock" [2022-10-10T11:06:40.065Z] ], [2022-10-10T11:06:40.065Z] "mtu": 1458, [2022-10-10T11:06:40.065Z] "selinux-enabled": true, [2022-10-10T11:06:40.065Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-10T11:06:40.065Z] } [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T11:06:40.228Z] prd-ubuntu20.04-docker-8c-8g-7511 does not seem to be running inside a container [2022-10-10T11:06:40.267Z] $ 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-312 -v /w/workspace/foundry_device-virtual-go_PR-312:/w/workspace/foundry_device-virtual-go_PR-312:rw,z -v /w/workspace/foundry_device-virtual-go_PR-312@tmp:/w/workspace/foundry_device-virtual-go_PR-312@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 [2022-10-10T11:06:44.981Z] $ docker top 421108a1fd452088a9835cf9a64cf23ab69ee6f9566169a28d5e8a6831cc3aa8 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T11:06:45.365Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-10T11:06:45.529Z] ---> job-cost.sh [2022-10-10T11:06:45.529Z] lf-activate-venv: SKIPPING [2022-10-10T11:06:45.529Z] INFO: No Stack... [2022-10-10T11:06:45.710Z] + sudo service docker restart [2022-10-10T11:06:46.098Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T11:06:46.357Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T11:06:46.680Z] + cat /w/workspace/foundry_device-virtual-go_PR-312/archives/cost.csv [2022-10-10T11:06:46.680Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T11:06:46.726Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-312-1-stack-cost] [2022-10-10T11:06:46.732Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-312-1-stack-cost] did not exist. Created. [2022-10-10T11:06:46.732Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-312-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T11:06:47.127Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-10T11:06:47.177Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T11:06:47.207Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-312-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T11:06:47.294Z] $ docker stop --time=1 421108a1fd452088a9835cf9a64cf23ab69ee6f9566169a28d5e8a6831cc3aa8 [2022-10-10T11:06:48.642Z] $ docker rm -f 421108a1fd452088a9835cf9a64cf23ab69ee6f9566169a28d5e8a6831cc3aa8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T11:07:04.013Z] provisioning config files... [2022-10-10T11:07:04.037Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config12387720776015541046tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T11:07:04.423Z] ---> docker-login.sh [2022-10-10T11:07:04.423Z] nexus3.edgexfoundry.org:10001 [2022-10-10T11:07:04.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T11:07:04.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T11:07:04.965Z] Configure a credential helper to remove this warning. See [2022-10-10T11:07:04.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T11:07:04.965Z] [2022-10-10T11:07:04.965Z] Login Succeeded [2022-10-10T11:07:04.965Z] nexus3.edgexfoundry.org:10002 [2022-10-10T11:07:05.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T11:07:05.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T11:07:05.504Z] Configure a credential helper to remove this warning. See [2022-10-10T11:07:05.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T11:07:05.504Z] [2022-10-10T11:07:05.504Z] Login Succeeded [2022-10-10T11:07:05.504Z] nexus3.edgexfoundry.org:10003 [2022-10-10T11:07:05.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T11:07:05.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T11:07:05.774Z] Configure a credential helper to remove this warning. See [2022-10-10T11:07:05.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T11:07:05.774Z] [2022-10-10T11:07:05.774Z] Login Succeeded [2022-10-10T11:07:05.774Z] nexus3.edgexfoundry.org:10004 [2022-10-10T11:07:06.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T11:07:06.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T11:07:06.045Z] Configure a credential helper to remove this warning. See [2022-10-10T11:07:06.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T11:07:06.045Z] [2022-10-10T11:07:06.045Z] Login Succeeded [2022-10-10T11:07:06.045Z] docker.io [2022-10-10T11:07:06.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T11:07:06.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T11:07:06.897Z] Configure a credential helper to remove this warning. See [2022-10-10T11:07:06.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T11:07:06.897Z] [2022-10-10T11:07:06.897Z] Login Succeeded [2022-10-10T11:07:06.897Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T11:07:06.928Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T11:07:07.207Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T11:07:07.242Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T11:07:07.277Z] ========================================================= [2022-10-10T11:07:07.277Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-10T11:07:07.277Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T11:07:07.767Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-10T11:07:08.036Z] Sending build context to Docker daemon 11.74MB [2022-10-10T11:07:08.036Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T11:07:08.036Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-10T11:07:08.306Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-10T11:07:08.306Z] b3c136eddcbf: Pulling fs layer [2022-10-10T11:07:08.306Z] c0a3192eca97: Pulling fs layer [2022-10-10T11:07:08.306Z] a050256f5b6f: Pulling fs layer [2022-10-10T11:07:08.306Z] 656be50a0ddc: Pulling fs layer [2022-10-10T11:07:08.306Z] 2bbca73fdf42: Pulling fs layer [2022-10-10T11:07:08.306Z] f607e4fc86c3: Pulling fs layer [2022-10-10T11:07:08.306Z] 4d572c569a2c: Pulling fs layer [2022-10-10T11:07:08.306Z] fcf976331f73: Pulling fs layer [2022-10-10T11:07:08.306Z] 656be50a0ddc: Waiting [2022-10-10T11:07:08.306Z] 2bbca73fdf42: Waiting [2022-10-10T11:07:08.306Z] f607e4fc86c3: Waiting [2022-10-10T11:07:08.306Z] 4d572c569a2c: Waiting [2022-10-10T11:07:08.306Z] fcf976331f73: Waiting [2022-10-10T11:07:08.306Z] a050256f5b6f: Verifying Checksum [2022-10-10T11:07:08.306Z] a050256f5b6f: Download complete [2022-10-10T11:07:08.306Z] c0a3192eca97: Verifying Checksum [2022-10-10T11:07:08.306Z] c0a3192eca97: Download complete [2022-10-10T11:07:08.306Z] 2bbca73fdf42: Verifying Checksum [2022-10-10T11:07:08.306Z] 2bbca73fdf42: Download complete [2022-10-10T11:07:08.306Z] f607e4fc86c3: Verifying Checksum [2022-10-10T11:07:08.306Z] f607e4fc86c3: Download complete [2022-10-10T11:07:08.306Z] b3c136eddcbf: Verifying Checksum [2022-10-10T11:07:08.306Z] b3c136eddcbf: Download complete [2022-10-10T11:07:09.280Z] b3c136eddcbf: Pull complete [2022-10-10T11:07:09.550Z] fcf976331f73: Verifying Checksum [2022-10-10T11:07:09.550Z] fcf976331f73: Download complete [2022-10-10T11:07:09.827Z] c0a3192eca97: Pull complete [2022-10-10T11:07:10.103Z] a050256f5b6f: Pull complete [2022-10-10T11:07:10.696Z] 4d572c569a2c: Verifying Checksum [2022-10-10T11:07:10.696Z] 4d572c569a2c: Download complete [2022-10-10T11:07:11.291Z] 656be50a0ddc: Verifying Checksum [2022-10-10T11:07:11.291Z] 656be50a0ddc: Download complete [2022-10-10T11:07:23.623Z] 656be50a0ddc: Pull complete [2022-10-10T11:07:23.623Z] 2bbca73fdf42: Pull complete [2022-10-10T11:07:23.623Z] f607e4fc86c3: Pull complete [2022-10-10T11:07:30.384Z] 4d572c569a2c: Pull complete [2022-10-10T11:07:32.333Z] fcf976331f73: Pull complete [2022-10-10T11:07:32.333Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-10T11:07:32.333Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-10T11:07:32.333Z] ---> 3970a7415f9e [2022-10-10T11:07:32.333Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T11:07:33.368Z] ---> Running in 81d83398aeb0 [2022-10-10T11:07:33.635Z] Removing intermediate container 81d83398aeb0 [2022-10-10T11:07:33.636Z] ---> b72b10e2eaaf [2022-10-10T11:07:33.636Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T11:07:33.636Z] ---> Running in a2d51aa5f805 [2022-10-10T11:07:33.904Z] Removing intermediate container a2d51aa5f805 [2022-10-10T11:07:33.904Z] ---> d88dcf0281a9 [2022-10-10T11:07:33.904Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-10-10T11:07:33.904Z] ---> Running in e6bfc325d9f8 [2022-10-10T11:07:34.172Z] Removing intermediate container e6bfc325d9f8 [2022-10-10T11:07:34.172Z] ---> bd77c5f6196c [2022-10-10T11:07:34.172Z] Step 6/13 : WORKDIR /device-virtual-go [2022-10-10T11:07:34.440Z] ---> Running in 4516b6443a50 [2022-10-10T11:07:34.707Z] Removing intermediate container 4516b6443a50 [2022-10-10T11:07:34.707Z] ---> fae5d4eed0f8 [2022-10-10T11:07:34.707Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T11:07:34.707Z] ---> Running in bbf4daea77af [2022-10-10T11:07:36.660Z] Removing intermediate container bbf4daea77af [2022-10-10T11:07:36.660Z] ---> f77f1b4f0690 [2022-10-10T11:07:36.660Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T11:07:36.660Z] ---> Running in d9126bcdb340 [2022-10-10T11:07:37.621Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T11:07:38.579Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T11:07:39.160Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-10T11:07:39.426Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-10T11:07:39.426Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-10T11:07:39.692Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-10T11:07:39.692Z] Executing busybox-1.35.0-r13.trigger [2022-10-10T11:07:39.692Z] OK: 226 MiB in 55 packages [2022-10-10T11:07:40.657Z] Removing intermediate container d9126bcdb340 [2022-10-10T11:07:40.657Z] ---> c29a32d895cd [2022-10-10T11:07:40.657Z] Step 9/13 : COPY go.mod vendor* ./ [2022-10-10T11:07:41.243Z] ---> fc1dade998f3 [2022-10-10T11:07:41.243Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T11:07:41.243Z] ---> Running in 8358b8d14c7c [2022-10-10T11:08:28.089Z] Removing intermediate container 8358b8d14c7c [2022-10-10T11:08:28.089Z] ---> ff6aeed1ae31 [2022-10-10T11:08:28.089Z] Step 11/13 : COPY . . [2022-10-10T11:08:28.089Z] ---> 9480f72ab1a8 [2022-10-10T11:08:28.089Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T11:08:28.089Z] ---> Running in 88458d4b25a4 [2022-10-10T11:08:28.089Z] Removing intermediate container 88458d4b25a4 [2022-10-10T11:08:28.089Z] ---> 0e1955023970 [2022-10-10T11:08:28.089Z] Step 13/13 : RUN $MAKE [2022-10-10T11:08:28.089Z] ---> Running in 54c7e5636ac9 [2022-10-10T11:08:28.089Z] noop [2022-10-10T11:08:28.670Z] Removing intermediate container 54c7e5636ac9 [2022-10-10T11:08:28.670Z] ---> 4b1da2b19c0d [2022-10-10T11:08:28.670Z] Successfully built 4b1da2b19c0d [2022-10-10T11:08:28.670Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T11:08:29.416Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T11:08:29.416Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T11:08:29.687Z] prd-ubuntu20.04-docker-arm64-4c-16g-7512 does not seem to be running inside a container [2022-10-10T11:08:29.749Z] $ 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 [2022-10-10T11:08:30.818Z] $ docker top 3d6fb96e2e4950bf430ff1c8bb0347e4eb630e588549637afb3e0764949a4828 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T11:08:31.660Z] + go version [2022-10-10T11:08:31.660Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-10T11:08:31.697Z] $ docker stop --time=1 3d6fb96e2e4950bf430ff1c8bb0347e4eb630e588549637afb3e0764949a4828 [2022-10-10T11:08:33.229Z] $ docker rm -f 3d6fb96e2e4950bf430ff1c8bb0347e4eb630e588549637afb3e0764949a4828 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T11:08:34.050Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T11:08:34.050Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T11:08:34.287Z] prd-ubuntu20.04-docker-arm64-4c-16g-7512 does not seem to be running inside a container [2022-10-10T11:08:34.351Z] $ 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 [2022-10-10T11:08:35.381Z] $ docker top 5651bdd40bf90e021c4ef5428e8572512a4c99e6625032918a407b910ac66b48 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T11:08:35.904Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-10T11:08:36.281Z] + make test [2022-10-10T11:08:36.281Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-10T11:08:38.227Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-10-10T11:09:59.863Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-10-10T11:09:59.863Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.129s coverage: 65.7% of statements [2022-10-10T11:09:59.863Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-10T11:09:59.863Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T11:10:18.090Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T11:10:18.090Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T11:10:18.090Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T11:10:18.132Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T11:10:18.170Z] $ docker stop --time=1 5651bdd40bf90e021c4ef5428e8572512a4c99e6625032918a407b910ac66b48 [2022-10-10T11:10:19.876Z] $ docker rm -f 5651bdd40bf90e021c4ef5428e8572512a4c99e6625032918a407b910ac66b48 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T11:10:20.798Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T11:10:20.838Z] Warning: overwriting stash ‘coverage-report’ [2022-10-10T11:10:21.248Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T11:10:21.823Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T11:10:22.158Z] + ls -al . [2022-10-10T11:10:22.158Z] total 196 [2022-10-10T11:10:22.158Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 11:08 . [2022-10-10T11:10:22.158Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 11:06 .. [2022-10-10T11:10:22.158Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 11:06 .git [2022-10-10T11:10:22.158Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 11:06 .github [2022-10-10T11:10:22.159Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 10 11:06 .gitignore [2022-10-10T11:10:22.159Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 11:06 .golangci.yml [2022-10-10T11:10:22.159Z] -rw-rw-r-- 1 jenkins jenkins 8527 Oct 10 11:06 Attribution.txt [2022-10-10T11:10:22.159Z] -rw-rw-r-- 1 jenkins jenkins 9649 Oct 10 11:06 CHANGELOG.md [2022-10-10T11:10:22.159Z] -rw-rw-r-- 1 jenkins jenkins 2034 Oct 10 11:06 Dockerfile [2022-10-10T11:10:22.159Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 11:06 GOVERNANCE.md [2022-10-10T11:10:22.159Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 10 11:06 Jenkinsfile [2022-10-10T11:10:22.159Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 11:06 LICENSE [2022-10-10T11:10:22.159Z] -rw-rw-r-- 1 jenkins jenkins 2457 Oct 10 11:06 Makefile [2022-10-10T11:10:22.159Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 10 11:06 OWNERS.md [2022-10-10T11:10:22.159Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 10 11:06 README.md [2022-10-10T11:10:22.159Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 11:04 VERSION [2022-10-10T11:10:22.159Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 11:06 bin [2022-10-10T11:10:22.159Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 11:06 cmd [2022-10-10T11:10:22.159Z] -rw-r--r-- 1 jenkins jenkins 44128 Oct 10 11:09 coverage.out [2022-10-10T11:10:22.159Z] -rw-rw-r-- 1 jenkins jenkins 3399 Oct 10 11:06 go.mod [2022-10-10T11:10:22.159Z] -rw-rw-r-- 1 jenkins jenkins 37522 Oct 10 11:06 go.sum [2022-10-10T11:10:22.159Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 11:06 internal [2022-10-10T11:10:22.159Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 11:06 snap [2022-10-10T11:10:22.159Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 10 11:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T11:10:22.574Z] + 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=d2e3cdc578848e8e23285bbc4f790694862dfab8 --label arch=arm64 --label version=0.0.0 . [2022-10-10T11:10:22.858Z] Sending build context to Docker daemon 11.78MB [2022-10-10T11:10:22.858Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T11:10:22.858Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-10T11:10:22.858Z] ---> 4b1da2b19c0d [2022-10-10T11:10:22.858Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T11:10:23.125Z] ---> Running in afefa6559ed4 [2022-10-10T11:10:23.394Z] Removing intermediate container afefa6559ed4 [2022-10-10T11:10:23.394Z] ---> 444a3c44a1d4 [2022-10-10T11:10:23.394Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T11:10:23.394Z] ---> Running in 2bd3000a6281 [2022-10-10T11:10:23.661Z] Removing intermediate container 2bd3000a6281 [2022-10-10T11:10:23.661Z] ---> 7c506dccfe56 [2022-10-10T11:10:23.661Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-10-10T11:10:23.661Z] ---> Running in ad798e22b1ea [2022-10-10T11:10:23.928Z] Removing intermediate container ad798e22b1ea [2022-10-10T11:10:23.928Z] ---> c66de322fd83 [2022-10-10T11:10:23.928Z] Step 6/27 : WORKDIR /device-virtual-go [2022-10-10T11:10:24.197Z] ---> Running in c7263e8a738d [2022-10-10T11:10:24.466Z] Removing intermediate container c7263e8a738d [2022-10-10T11:10:24.466Z] ---> 5bb4b6245caa [2022-10-10T11:10:24.466Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T11:10:24.466Z] ---> Running in 7735a520f720 [2022-10-10T11:10:25.893Z] Removing intermediate container 7735a520f720 [2022-10-10T11:10:25.893Z] ---> a2da07c3ef8c [2022-10-10T11:10:25.893Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T11:10:26.161Z] ---> Running in 56633030d538 [2022-10-10T11:10:27.125Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T11:10:27.709Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T11:10:28.669Z] OK: 226 MiB in 55 packages [2022-10-10T11:10:29.647Z] Removing intermediate container 56633030d538 [2022-10-10T11:10:29.647Z] ---> f863162cf2f0 [2022-10-10T11:10:29.647Z] Step 9/27 : COPY go.mod vendor* ./ [2022-10-10T11:10:29.916Z] ---> 8b13d262a465 [2022-10-10T11:10:29.916Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T11:10:30.197Z] ---> Running in c75bbb778acf [2022-10-10T11:10:32.144Z] Removing intermediate container c75bbb778acf [2022-10-10T11:10:32.144Z] ---> b9e472a45014 [2022-10-10T11:10:32.144Z] Step 11/27 : COPY . . [2022-10-10T11:10:33.106Z] ---> ced73f3c32ce [2022-10-10T11:10:33.106Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T11:10:33.106Z] ---> Running in 1a01b1ae289d [2022-10-10T11:10:33.380Z] Removing intermediate container 1a01b1ae289d [2022-10-10T11:10:33.380Z] ---> 8c9efb4db328 [2022-10-10T11:10:33.380Z] Step 13/27 : RUN $MAKE [2022-10-10T11:10:33.380Z] ---> Running in 5bc85a599576 [2022-10-10T11:10:34.345Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-10-10T11:13:11.065Z] Removing intermediate container 5bc85a599576 [2022-10-10T11:13:11.065Z] ---> 5d365914d496 [2022-10-10T11:13:11.065Z] Step 14/27 : FROM alpine:3.16 [2022-10-10T11:13:11.065Z] 3.16: Pulling from library/alpine [2022-10-10T11:13:11.065Z] 9b18e9b68314: Pulling fs layer [2022-10-10T11:13:11.065Z] 9b18e9b68314: Verifying Checksum [2022-10-10T11:13:11.065Z] 9b18e9b68314: Download complete [2022-10-10T11:13:11.065Z] 9b18e9b68314: Pull complete [2022-10-10T11:13:11.065Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T11:13:11.065Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T11:13:11.065Z] ---> a6215f271958 [2022-10-10T11:13:11.065Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-10-10T11:13:11.065Z] ---> Running in b15e41233cd5 [2022-10-10T11:13:11.065Z] Removing intermediate container b15e41233cd5 [2022-10-10T11:13:11.065Z] ---> 10d36216de0b [2022-10-10T11:13:11.065Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T11:13:11.065Z] ---> Running in 3dce88e44b21 [2022-10-10T11:13:11.065Z] Removing intermediate container 3dce88e44b21 [2022-10-10T11:13:11.065Z] ---> 19a67e07a1f9 [2022-10-10T11:13:11.065Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T11:13:11.065Z] ---> Running in 2c5a2e894038 [2022-10-10T11:13:11.065Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T11:13:11.065Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T11:13:11.065Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T11:13:11.065Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T11:13:11.065Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T11:13:11.065Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T11:13:11.065Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T11:13:11.065Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T11:13:11.065Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T11:13:11.065Z] OK: 8 MiB in 20 packages [2022-10-10T11:13:11.065Z] Removing intermediate container 2c5a2e894038 [2022-10-10T11:13:11.065Z] ---> f564a997857c [2022-10-10T11:13:11.065Z] Step 18/27 : WORKDIR / [2022-10-10T11:13:11.065Z] ---> Running in 872ca34b885e [2022-10-10T11:13:11.065Z] Removing intermediate container 872ca34b885e [2022-10-10T11:13:11.065Z] ---> 42aedf742a86 [2022-10-10T11:13:11.065Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-10-10T11:13:11.065Z] ---> f2ca64dfff6d [2022-10-10T11:13:11.065Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-10-10T11:13:11.065Z] ---> 0dfc89cb674f [2022-10-10T11:13:11.065Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-10-10T11:13:11.065Z] ---> ac08012d571d [2022-10-10T11:13:11.065Z] Step 22/27 : EXPOSE 59900 [2022-10-10T11:13:11.065Z] ---> Running in 6cb5c2524009 [2022-10-10T11:13:11.065Z] Removing intermediate container 6cb5c2524009 [2022-10-10T11:13:11.065Z] ---> b5f5dfc66b6a [2022-10-10T11:13:11.065Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-10-10T11:13:11.065Z] ---> Running in aedb2494ce46 [2022-10-10T11:13:11.065Z] Removing intermediate container aedb2494ce46 [2022-10-10T11:13:11.065Z] ---> 2509bba7fbe1 [2022-10-10T11:13:11.065Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-10T11:13:11.334Z] ---> Running in 2b0acba184f9 [2022-10-10T11:13:11.601Z] Removing intermediate container 2b0acba184f9 [2022-10-10T11:13:11.601Z] ---> 69b875d30bb0 [2022-10-10T11:13:11.601Z] Step 25/27 : LABEL arch=arm64 [2022-10-10T11:13:11.601Z] ---> Running in b80d37c59fd8 [2022-10-10T11:13:11.868Z] Removing intermediate container b80d37c59fd8 [2022-10-10T11:13:11.868Z] ---> 5195fa6e3873 [2022-10-10T11:13:11.868Z] Step 26/27 : LABEL git_sha=d2e3cdc578848e8e23285bbc4f790694862dfab8 [2022-10-10T11:13:12.137Z] ---> Running in 89e8033da9a9 [2022-10-10T11:13:12.406Z] Removing intermediate container 89e8033da9a9 [2022-10-10T11:13:12.406Z] ---> 618a2629de7a [2022-10-10T11:13:12.406Z] Step 27/27 : LABEL version=0.0.0 [2022-10-10T11:13:12.406Z] ---> Running in 5f2a3bcdd90b [2022-10-10T11:13:12.675Z] Removing intermediate container 5f2a3bcdd90b [2022-10-10T11:13:12.675Z] ---> d4230d3fd3d0 [2022-10-10T11:13:12.675Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T11:13:12.675Z] Successfully built d4230d3fd3d0 [2022-10-10T11:13:12.675Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T11:13:13.505Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T11:13:13.505Z] [2022-10-10T11:13:13.505Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T11:13:13.909Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T11:13:13.909Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-10T11:13:13.909Z] 8998bd30e6a1: Pulling fs layer [2022-10-10T11:13:13.909Z] 04944245beec: Pulling fs layer [2022-10-10T11:13:13.909Z] 699f458cf7ca: Pulling fs layer [2022-10-10T11:13:13.909Z] 765212b225bb: Pulling fs layer [2022-10-10T11:13:13.909Z] f23df028b6ca: Pulling fs layer [2022-10-10T11:13:13.909Z] d65c8cfc05b1: Pulling fs layer [2022-10-10T11:13:13.909Z] 2437ff75d9bd: Pulling fs layer [2022-10-10T11:13:13.909Z] 765212b225bb: Waiting [2022-10-10T11:13:13.909Z] f23df028b6ca: Waiting [2022-10-10T11:13:13.909Z] d65c8cfc05b1: Waiting [2022-10-10T11:13:13.909Z] 2437ff75d9bd: Waiting [2022-10-10T11:13:14.177Z] 04944245beec: Verifying Checksum [2022-10-10T11:13:14.177Z] 04944245beec: Download complete [2022-10-10T11:13:14.177Z] 765212b225bb: Verifying Checksum [2022-10-10T11:13:14.177Z] 765212b225bb: Download complete [2022-10-10T11:13:14.177Z] f23df028b6ca: Verifying Checksum [2022-10-10T11:13:14.177Z] f23df028b6ca: Download complete [2022-10-10T11:13:14.177Z] d65c8cfc05b1: Verifying Checksum [2022-10-10T11:13:14.177Z] d65c8cfc05b1: Download complete [2022-10-10T11:13:14.447Z] 699f458cf7ca: Verifying Checksum [2022-10-10T11:13:14.447Z] 699f458cf7ca: Download complete [2022-10-10T11:13:14.716Z] 8998bd30e6a1: Verifying Checksum [2022-10-10T11:13:14.716Z] 8998bd30e6a1: Download complete [2022-10-10T11:13:17.307Z] 2437ff75d9bd: Verifying Checksum [2022-10-10T11:13:17.307Z] 2437ff75d9bd: Download complete [2022-10-10T11:13:18.725Z] 8998bd30e6a1: Pull complete [2022-10-10T11:13:18.992Z] 04944245beec: Pull complete [2022-10-10T11:13:20.398Z] 699f458cf7ca: Pull complete [2022-10-10T11:13:20.667Z] 765212b225bb: Pull complete [2022-10-10T11:13:21.248Z] f23df028b6ca: Pull complete [2022-10-10T11:13:21.512Z] d65c8cfc05b1: Pull complete [2022-10-10T11:13:36.505Z] 2437ff75d9bd: Pull complete [2022-10-10T11:13:36.505Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-10T11:13:36.505Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T11:13:36.505Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T11:13:36.827Z] prd-ubuntu20.04-docker-arm64-4c-16g-7512 does not seem to be running inside a container [2022-10-10T11:13:36.896Z] $ 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 [2022-10-10T11:13:39.295Z] $ docker top dbdf2b85c65f2ef70041b8fdcb0760c2f64cc2aa5e31c8c2823b8ec46dd77674 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T11:13:40.231Z] ---> job-cost.sh [2022-10-10T11:13:40.231Z] lf-activate-venv: SKIPPING [2022-10-10T11:13:40.231Z] INFO: No Stack... [2022-10-10T11:13:40.500Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-10T11:13:41.483Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T11:13:41.849Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2022-10-10T11:13:41.849Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T11:13:41.937Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-312-1-stack-cost] [2022-10-10T11:13:41.942Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-312-1-stack-cost] did not exist. Created. [2022-10-10T11:13:41.942Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-312-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T11:13:42.347Z] /w/workspace/device-virtual-go/1@tmp/durable-f2132929/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-10T11:13:42.699Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-10T11:13:42.733Z] Warning: overwriting stash ‘stack-cost’ [2022-10-10T11:13:42.775Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T11:13:42.790Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-312-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T11:13:42.875Z] $ docker stop --time=1 dbdf2b85c65f2ef70041b8fdcb0760c2f64cc2aa5e31c8c2823b8ec46dd77674 [2022-10-10T11:13:44.349Z] $ docker rm -f dbdf2b85c65f2ef70041b8fdcb0760c2f64cc2aa5e31c8c2823b8ec46dd77674 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-10T11:13:45.328Z] provisioning config files... [2022-10-10T11:13:45.353Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-312@tmp/config12803788797924337383tmp [Pipeline] { [Pipeline] sh [2022-10-10T11:13:45.672Z] + set +x [2022-10-10T11:13:45.672Z] + curl -s https://codecov.io/bash [2022-10-10T11:13:45.672Z] + bash -s -- [2022-10-10T11:13:45.672Z] [2022-10-10T11:13:45.672Z] _____ _ [2022-10-10T11:13:45.672Z] / ____| | | [2022-10-10T11:13:45.672Z] | | ___ __| | ___ ___ _____ __ [2022-10-10T11:13:45.672Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-10T11:13:45.672Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-10T11:13:45.672Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-10T11:13:45.672Z] Bash-1.0.6 [2022-10-10T11:13:45.672Z] [2022-10-10T11:13:45.672Z] [2022-10-10T11:13:45.672Z] ==> git version 2.25.1 found [2022-10-10T11:13:45.672Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-10T11:13:45.672Z] Release-Date: 2020-01-08 [2022-10-10T11:13:45.672Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-10T11:13:45.672Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-10T11:13:45.672Z] ==> Jenkins CI detected. [2022-10-10T11:13:45.672Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-312 [2022-10-10T11:13:45.672Z] project root: . [2022-10-10T11:13:45.672Z] --> token set from env [2022-10-10T11:13:45.672Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-10T11:13:45.672Z] ==> Running gcov in . (disable via -X gcov) [2022-10-10T11:13:45.672Z] ==> Python coveragepy not found [2022-10-10T11:13:45.672Z] ==> Searching for coverage reports in: [2022-10-10T11:13:45.672Z] + . [2022-10-10T11:13:45.672Z] -> Found 1 reports [2022-10-10T11:13:45.672Z] ==> Detecting git/mercurial file structure [2022-10-10T11:13:45.672Z] ==> Reading reports [2022-10-10T11:13:45.965Z] + ./coverage.out bytes=44128 [2022-10-10T11:13:45.965Z] ==> Appending adjustments [2022-10-10T11:13:45.965Z] https://docs.codecov.io/docs/fixing-reports [2022-10-10T11:13:45.965Z] + Found adjustments [2022-10-10T11:13:45.965Z] ==> Gzipping contents [2022-10-10T11:13:45.965Z] 8.0K /tmp/codecov.7kd38i.gz [2022-10-10T11:13:45.965Z] ==> Uploading reports [2022-10-10T11:13:45.965Z] url: https://codecov.io [2022-10-10T11:13:45.965Z] query: branch=PR-312&commit=d2e3cdc578848e8e23285bbc4f790694862dfab8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-312%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=312&job=&cmd_args= [2022-10-10T11:13:45.965Z] -> Pinging Codecov [2022-10-10T11:13:45.965Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-312&commit=d2e3cdc578848e8e23285bbc4f790694862dfab8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-312%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=312&job=&cmd_args= [2022-10-10T11:13:46.225Z] -> Uploading to [2022-10-10T11:13:46.225Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-10/5E52B4B073DB2E39498172D8E973AA87/d2e3cdc578848e8e23285bbc4f790694862dfab8/56fc606b-b852-44e9-94ff-79bc3f5b4898.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T111346Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=66a053a0d884f84b34412641eb9176e15be15ae09dacf482cc38972135f4ee9f [2022-10-10T11:13:46.225Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T11:13:46.225Z] Dload Upload Total Spent Left Speed [2022-10-10T11:13:46.484Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5482 0 0 100 5482 0 19302 --:--:-- --:--:-- --:--:-- 19302 [2022-10-10T11:13:46.484Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/d2e3cdc578848e8e23285bbc4f790694862dfab8 [Pipeline] } [2022-10-10T11:13:46.509Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-10T11:13:48.189Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-312/archives ] [2022-10-10T11:13:48.189Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-312/archives [2022-10-10T11:13:48.189Z] total 16 [2022-10-10T11:13:48.189Z] drwxr-xr-x 3 root root 4096 Oct 10 11:06 . [2022-10-10T11:13:48.189Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 11:06 .. [2022-10-10T11:13:48.189Z] drwxr-xr-x 2 root root 4096 Oct 10 11:06 cost [2022-10-10T11:13:48.189Z] -rw-r--r-- 1 root root 89 Oct 10 11:06 cost.csv [2022-10-10T11:13:48.189Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-312/archives [2022-10-10T11:13:48.189Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-312/archives [2022-10-10T11:13:48.189Z] total 16 [2022-10-10T11:13:48.189Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 11:06 . [2022-10-10T11:13:48.189Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 11:06 .. [2022-10-10T11:13:48.189Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 11:06 cost [2022-10-10T11:13:48.189Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 10 11:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-10T11:13:48.516Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T11:13:49.402Z] ---> package-listing.sh [2022-10-10T11:13:49.402Z] ++ facter osfamily [2022-10-10T11:13:49.402Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-10T11:13:49.661Z] + OS_FAMILY=debian [2022-10-10T11:13:49.661Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-312 [2022-10-10T11:13:49.661Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-10T11:13:49.661Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-10T11:13:49.661Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-10T11:13:49.661Z] + PACKAGES=/tmp/packages_start.txt [2022-10-10T11:13:49.661Z] + '[' /w/workspace/foundry_device-virtual-go_PR-312 ']' [2022-10-10T11:13:49.661Z] + PACKAGES=/tmp/packages_end.txt [2022-10-10T11:13:49.661Z] + case "${OS_FAMILY}" in [2022-10-10T11:13:49.661Z] + dpkg -l [2022-10-10T11:13:49.661Z] + grep '^ii' [2022-10-10T11:13:49.661Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-10T11:13:49.661Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-10T11:13:49.661Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-10T11:13:49.661Z] + '[' /w/workspace/foundry_device-virtual-go_PR-312 ']' [2022-10-10T11:13:49.661Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-312/archives/ [2022-10-10T11:13:49.661Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-312/archives/ [Pipeline] echo [2022-10-10T11:13:49.694Z] 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-312/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-10T11:13:49.985Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T11:13:50.604Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T11:13:50.604Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T11:13:50.757Z] prd-ubuntu20.04-docker-8c-8g-7511 does not seem to be running inside a container [2022-10-10T11:13:50.792Z] $ 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-312/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-312 -v /w/workspace/foundry_device-virtual-go_PR-312:/w/workspace/foundry_device-virtual-go_PR-312:rw,z -v /w/workspace/foundry_device-virtual-go_PR-312@tmp:/w/workspace/foundry_device-virtual-go_PR-312@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T11:13:51.279Z] $ docker top 98b9e7e3909737708b356a3ac234a9142de83f86231497e30903ac7c79c563f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T11:13:51.662Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-10T11:13:51.972Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-10T11:13:52.284Z] + ls /var/log/sa-host [2022-10-10T11:13:52.284Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T11:13:52.497Z] provisioning config files... [2022-10-10T11:13:52.507Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-312@tmp/config14299108289137943938tmp [Pipeline] { [Pipeline] echo [2022-10-10T11:13:52.559Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T11:13:52.867Z] ---> create-netrc.sh [Pipeline] } [2022-10-10T11:13:52.895Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-10T11:13:53.301Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-10T11:13:53.330Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T11:13:53.640Z] ---> sudo-logs.sh [2022-10-10T11:13:53.640Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-10T11:13:53.718Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T11:13:54.019Z] ---> job-cost.sh [2022-10-10T11:13:54.019Z] lf-activate-venv: SKIPPING [2022-10-10T11:13:54.019Z] DEBUG: total: 0.2199999988079071 [2022-10-10T11:13:54.019Z] INFO: Retrieving Stack Cost... [2022-10-10T11:13:54.585Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T11:13:54.843Z] INFO: Archiving Costs [Pipeline] echo [2022-10-10T11:13:54.878Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T11:13:55.184Z] ---> logs-deploy.sh [2022-10-10T11:13:55.184Z] lf-activate-venv: SKIPPING [2022-10-10T11:13:55.184Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-312/1 [2022-10-10T11:13:55.184Z] INFO: archiving workspace using pattern(s): [2022-10-10T11:13:56.118Z] Archives upload complete. [2022-10-10T11:13:56.118Z] INFO: archiving logs to Nexus