Pull request #298 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 rather than 3d16b16fd3536de56c541cc8150f1a33e519df7b Obtained Jenkinsfile from 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 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-ssh5370457964250921082.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh3455653003760617753.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-298/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-298/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12420523377550477777.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-298/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12643035556326076977.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh9167611259216834215.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 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-298/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-298/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2459685656841656374.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-21797 in /w/workspace/foundry_device-virtual-go_PR-298 [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-298 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 into PR head commit 3d16b16fd3536de56c541cc8150f1a33e519df7b Merge succeeded, producing 3d16b16fd3536de56c541cc8150f1a33e519df7b Checking out Revision 3d16b16fd3536de56c541cc8150f1a33e519df7b (PR-298) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/298/head:refs/remotes/origin/PR-298 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3d16b16fd3536de56c541cc8150f1a33e519df7b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3d16b16fd3536de56c541cc8150f1a33e519df7b # timeout=10 Commit message: "build(snap): Upgrade snap bases to core22" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-02T15:46:50.348Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-02T15:46:50.530Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-02T15:46:50.635Z] ========================================================= [2022-08-02T15:46:50.635Z] EdgeX Global Pipelines Version Info [2022-08-02T15:46:50.635Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-02T15:46:51.439Z] ------------------- [2022-08-02T15:46:51.439Z] stable info: [2022-08-02T15:46:51.439Z] ------------------- [2022-08-02T15:46:51.439Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-02T15:46:51.439Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-02T15:46:51.439Z] Message: update stable to v1.0.238 [2022-08-02T15:46:52.014Z] ------------------- [2022-08-02T15:46:52.014Z] experimental info: [2022-08-02T15:46:52.014Z] ------------------- [2022-08-02T15:46:52.014Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-02T15:46:52.014Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-02T15:46:52.014Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-02T15:46:52.388Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-08-02T15:46:52.430Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-08-02T15:46:52.470Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-02T15:46:52.508Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-02T15:46:52.544Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-02T15:46:52.580Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-02T15:46:52.617Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-02T15:46:52.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-02T15:46:52.697Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-02T15:46:52.735Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-02T15:46:52.773Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-02T15:46:52.813Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-08-02T15:46:52.853Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-02T15:46:52.894Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-02T15:46:52.931Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-02T15:46:52.968Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-02T15:46:53.003Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-02T15:46:53.042Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-02T15:46:53.083Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-02T15:46:53.119Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-02T15:46:53.158Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-02T15:46:53.200Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-02T15:46:53.241Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-02T15:46:53.285Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-02T15:46:53.330Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-02T15:46:53.373Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-02T15:46:53.414Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-02T15:46:53.453Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-298 [Pipeline] echo [2022-08-02T15:46:53.494Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-298 [Pipeline] echo [2022-08-02T15:46:53.539Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-298 [Pipeline] echo [2022-08-02T15:46:53.579Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3d16b16fd3536de56c541cc8150f1a33e519df7b [Pipeline] echo [2022-08-02T15:46:53.618Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3d16b16 [Pipeline] echo [2022-08-02T15:46:53.660Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-02T15:46:53.781Z] provisioning config files... [2022-08-02T15:46:53.795Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-298@tmp/config7783853708522681712tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-02T15:46:54.144Z] ---> docker-login.sh [2022-08-02T15:46:54.144Z] nexus3.edgexfoundry.org:10001 [2022-08-02T15:46:54.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T15:46:54.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T15:46:54.667Z] Configure a credential helper to remove this warning. See [2022-08-02T15:46:54.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T15:46:54.667Z] [2022-08-02T15:46:54.667Z] Login Succeeded [2022-08-02T15:46:54.667Z] nexus3.edgexfoundry.org:10002 [2022-08-02T15:46:54.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T15:46:54.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T15:46:54.929Z] Configure a credential helper to remove this warning. See [2022-08-02T15:46:54.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T15:46:54.929Z] [2022-08-02T15:46:54.929Z] Login Succeeded [2022-08-02T15:46:54.929Z] nexus3.edgexfoundry.org:10003 [2022-08-02T15:46:54.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T15:46:54.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T15:46:54.929Z] Configure a credential helper to remove this warning. See [2022-08-02T15:46:54.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T15:46:54.929Z] [2022-08-02T15:46:54.929Z] Login Succeeded [2022-08-02T15:46:54.929Z] nexus3.edgexfoundry.org:10004 [2022-08-02T15:46:55.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T15:46:55.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T15:46:55.190Z] Configure a credential helper to remove this warning. See [2022-08-02T15:46:55.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T15:46:55.190Z] [2022-08-02T15:46:55.190Z] Login Succeeded [2022-08-02T15:46:55.190Z] docker.io [2022-08-02T15:46:55.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T15:46:55.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T15:46:55.763Z] Configure a credential helper to remove this warning. See [2022-08-02T15:46:55.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T15:46:55.763Z] [2022-08-02T15:46:55.763Z] Login Succeeded [2022-08-02T15:46:55.763Z] ---> docker-login.sh ends [Pipeline] } [2022-08-02T15:46:55.788Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-02T15:46:56.430Z] + git rev-list -1 --merges 3d16b16fd3536de56c541cc8150f1a33e519df7b~1..3d16b16fd3536de56c541cc8150f1a33e519df7b [Pipeline] echo [2022-08-02T15:46:56.484Z] -----------> git rev-list -1 --merges 3d16b16fd3536de56c541cc8150f1a33e519df7b~1..3d16b16fd3536de56c541cc8150f1a33e519df7b 3d16b16fd3536de56c541cc8150f1a33e519df7b [false] [Pipeline] sh [2022-08-02T15:46:56.794Z] + git log --format=format:%s -1 3d16b16fd3536de56c541cc8150f1a33e519df7b [Pipeline] echo [2022-08-02T15:46:56.828Z] ========================================================= [2022-08-02T15:46:56.828Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-02T15:46:56.828Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-02T15:46:57.262Z] + git log --format=format:%s -1 3d16b16fd3536de56c541cc8150f1a33e519df7b [Pipeline] echo [2022-08-02T15:46:57.295Z] [semverPrep] GIT_COMMIT: 3d16b16fd3536de56c541cc8150f1a33e519df7b, Commit Message: build(snap): Upgrade snap bases to core22 [Pipeline] echo [2022-08-02T15:46:57.326Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-02T15:46:57.723Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-02T15:46:57.723Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-02T15:46:57.723Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-02T15:46:57.723Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-02T15:46:57.723Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-02T15:46:57.723Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-02T15:46:57.723Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T15:46:58.159Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-02T15:46:58.160Z] [2022-08-02T15:46:58.160Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T15:46:58.549Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-02T15:46:58.549Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-02T15:46:58.549Z] b85a868b505f: Pulling fs layer [2022-08-02T15:46:58.549Z] e2be974225ed: Pulling fs layer [2022-08-02T15:46:58.549Z] 339a4e72a1f5: Pulling fs layer [2022-08-02T15:46:58.549Z] 988bab9f4d93: Pulling fs layer [2022-08-02T15:46:58.549Z] 1469e6f7b9e6: Pulling fs layer [2022-08-02T15:46:58.549Z] eaf3925da568: Pulling fs layer [2022-08-02T15:46:58.549Z] bab4dde63d76: Pulling fs layer [2022-08-02T15:46:58.549Z] bde34c3a00c8: Pulling fs layer [2022-08-02T15:46:58.549Z] b352a97aabf1: Pulling fs layer [2022-08-02T15:46:58.549Z] 4872d77fe225: Pulling fs layer [2022-08-02T15:46:58.549Z] 5851b861e8e6: Pulling fs layer [2022-08-02T15:46:58.549Z] 988bab9f4d93: Waiting [2022-08-02T15:46:58.549Z] 1469e6f7b9e6: Waiting [2022-08-02T15:46:58.549Z] eaf3925da568: Waiting [2022-08-02T15:46:58.549Z] bab4dde63d76: Waiting [2022-08-02T15:46:58.549Z] 4872d77fe225: Waiting [2022-08-02T15:46:58.549Z] 5851b861e8e6: Waiting [2022-08-02T15:46:58.549Z] b352a97aabf1: Waiting [2022-08-02T15:46:58.549Z] bde34c3a00c8: Waiting [2022-08-02T15:46:58.549Z] e2be974225ed: Download complete [2022-08-02T15:46:58.549Z] 988bab9f4d93: Verifying Checksum [2022-08-02T15:46:58.549Z] 988bab9f4d93: Download complete [2022-08-02T15:46:58.811Z] 1469e6f7b9e6: Verifying Checksum [2022-08-02T15:46:58.811Z] 1469e6f7b9e6: Download complete [2022-08-02T15:46:58.811Z] 339a4e72a1f5: Verifying Checksum [2022-08-02T15:46:58.811Z] 339a4e72a1f5: Download complete [2022-08-02T15:46:58.811Z] eaf3925da568: Verifying Checksum [2022-08-02T15:46:58.811Z] eaf3925da568: Download complete [2022-08-02T15:46:58.811Z] bde34c3a00c8: Verifying Checksum [2022-08-02T15:46:58.811Z] bde34c3a00c8: Download complete [2022-08-02T15:46:58.811Z] b352a97aabf1: Download complete [2022-08-02T15:46:58.811Z] 4872d77fe225: Download complete [2022-08-02T15:46:58.811Z] 5851b861e8e6: Verifying Checksum [2022-08-02T15:46:58.811Z] 5851b861e8e6: Download complete [2022-08-02T15:46:58.811Z] b85a868b505f: Verifying Checksum [2022-08-02T15:46:58.811Z] b85a868b505f: Download complete [2022-08-02T15:46:59.070Z] bab4dde63d76: Verifying Checksum [2022-08-02T15:46:59.070Z] bab4dde63d76: Download complete [2022-08-02T15:47:00.020Z] b85a868b505f: Pull complete [2022-08-02T15:47:00.281Z] e2be974225ed: Pull complete [2022-08-02T15:47:00.543Z] 339a4e72a1f5: Pull complete [2022-08-02T15:47:00.803Z] 988bab9f4d93: Pull complete [2022-08-02T15:47:01.062Z] 1469e6f7b9e6: Pull complete [2022-08-02T15:47:01.062Z] eaf3925da568: Pull complete [2022-08-02T15:47:02.970Z] bab4dde63d76: Pull complete [2022-08-02T15:47:02.970Z] bde34c3a00c8: Pull complete [2022-08-02T15:47:03.232Z] b352a97aabf1: Pull complete [2022-08-02T15:47:03.232Z] 4872d77fe225: Pull complete [2022-08-02T15:47:03.232Z] 5851b861e8e6: Pull complete [2022-08-02T15:47:03.232Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-02T15:47:03.232Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-02T15:47:03.232Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-02T15:47:03.479Z] prd-ubuntu20.04-docker-8c-8g-21797 does not seem to be running inside a container [2022-08-02T15:47:03.508Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-298 -v /w/workspace/foundry_device-virtual-go_PR-298:/w/workspace/foundry_device-virtual-go_PR-298:rw,z -v /w/workspace/foundry_device-virtual-go_PR-298@tmp:/w/workspace/foundry_device-virtual-go_PR-298@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-02T15:47:04.949Z] $ docker top 61a729020ddb1478eab650aa5cf70c40e29ed95904f26b91088b9b13c39afbda -eo pid,comm [2022-08-02T15:47:05.020Z] 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-08-02T15:47:05.020Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-02T15:47:05.151Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-02T15:47:05.151Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-02T15:47:05.284Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-02T15:47:05.282Z] $ docker exec 61a729020ddb1478eab650aa5cf70c40e29ed95904f26b91088b9b13c39afbda ssh-agent [2022-08-02T15:47:05.411Z] SSH_AUTH_SOCK=/tmp/ssh-fyP9KhI7rijt/agent.32 [2022-08-02T15:47:05.411Z] SSH_AGENT_PID=38 [2022-08-02T15:47:05.418Z] Running ssh-add (command line suppressed) [2022-08-02T15:47:05.539Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-298@tmp/private_key_5735470992171251756.key (/w/workspace/foundry_device-virtual-go_PR-298@tmp/private_key_5735470992171251756.key) [2022-08-02T15:47:05.563Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-02T15:47:05.898Z] + git tag --points-at HEAD [Pipeline] } [2022-08-02T15:47:05.927Z] $ docker exec --env ******** --env ******** 61a729020ddb1478eab650aa5cf70c40e29ed95904f26b91088b9b13c39afbda ssh-agent -k [2022-08-02T15:47:06.045Z] unset SSH_AUTH_SOCK; [2022-08-02T15:47:06.046Z] unset SSH_AGENT_PID; [2022-08-02T15:47:06.046Z] echo Agent pid 38 killed; [2022-08-02T15:47:06.063Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-02T15:47:06.156Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-02T15:47:06.156Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-02T15:47:06.285Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-02T15:47:06.284Z] $ docker exec 61a729020ddb1478eab650aa5cf70c40e29ed95904f26b91088b9b13c39afbda ssh-agent [2022-08-02T15:47:06.431Z] SSH_AUTH_SOCK=/tmp/ssh-xHBARwLEPDqJ/agent.70 [2022-08-02T15:47:06.431Z] SSH_AGENT_PID=76 [2022-08-02T15:47:06.438Z] Running ssh-add (command line suppressed) [2022-08-02T15:47:06.565Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-298@tmp/private_key_478779972009648217.key (/w/workspace/foundry_device-virtual-go_PR-298@tmp/private_key_478779972009648217.key) [2022-08-02T15:47:06.586Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-02T15:47:06.919Z] + git semver init [2022-08-02T15:47:07.180Z] 2022-08-02 15:47:07,091 [run_init] DEBUG init version:0.0.0 force:False [2022-08-02T15:47:07.180Z] 2022-08-02 15:47:07,092 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-298/.semver [2022-08-02T15:47:07.180Z] 2022-08-02 15:47:07,092 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-298/.semver [2022-08-02T15:47:07.180Z] 2022-08-02 15:47:07,093 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-298/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-298, universal_newlines=False, shell=None, istream=None) [2022-08-02T15:47:08.124Z] 2022-08-02 15:47:08,020 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-298/.git/info/exclude [2022-08-02T15:47:08.124Z] 2022-08-02 15:47:08,021 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-298/.semver/PR-298 with force:False [2022-08-02T15:47:08.124Z] 2022-08-02 15:47:08,021 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-298/.semver/PR-298 [2022-08-02T15:47:08.124Z] 2022-08-02 15:47:08,025 [execute] INFO git cat-file --batch-check [2022-08-02T15:47:08.124Z] 2022-08-02 15:47:08,025 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-298/.semver, universal_newlines=False, shell=None, istream=) [2022-08-02T15:47:08.124Z] 2022-08-02 15:47:08,032 [execute] INFO git cat-file --batch [2022-08-02T15:47:08.124Z] 2022-08-02 15:47:08,032 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-298/.semver, universal_newlines=False, shell=None, istream=) [2022-08-02T15:47:08.124Z] 2022-08-02 15:47:08,038 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-298/.semver/PR-298 [2022-08-02T15:47:08.124Z] 0.0.0 [Pipeline] } [2022-08-02T15:47:08.146Z] $ docker exec --env ******** --env ******** 61a729020ddb1478eab650aa5cf70c40e29ed95904f26b91088b9b13c39afbda ssh-agent -k [2022-08-02T15:47:08.272Z] unset SSH_AUTH_SOCK; [2022-08-02T15:47:08.273Z] unset SSH_AGENT_PID; [2022-08-02T15:47:08.273Z] echo Agent pid 76 killed; [2022-08-02T15:47:08.289Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-02T15:47:08.731Z] + git semver [Pipeline] } [2022-08-02T15:47:09.015Z] $ docker stop --time=1 61a729020ddb1478eab650aa5cf70c40e29ed95904f26b91088b9b13c39afbda [2022-08-02T15:47:10.335Z] $ docker rm -f 61a729020ddb1478eab650aa5cf70c40e29ed95904f26b91088b9b13c39afbda [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-02T15:47:10.760Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-02T15:47:11.064Z] Stashed 1 file(s) [Pipeline] echo [2022-08-02T15:47:11.081Z] [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-08-02T15:47:11.682Z] provisioning config files... [2022-08-02T15:47:11.695Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-298@tmp/config8816297403042720068tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-02T15:47:12.044Z] ---> docker-login.sh [2022-08-02T15:47:12.044Z] nexus3.edgexfoundry.org:10001 [2022-08-02T15:47:12.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T15:47:12.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T15:47:12.044Z] Configure a credential helper to remove this warning. See [2022-08-02T15:47:12.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T15:47:12.044Z] [2022-08-02T15:47:12.044Z] Login Succeeded [2022-08-02T15:47:12.044Z] nexus3.edgexfoundry.org:10002 [2022-08-02T15:47:12.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T15:47:12.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T15:47:12.305Z] Configure a credential helper to remove this warning. See [2022-08-02T15:47:12.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T15:47:12.305Z] [2022-08-02T15:47:12.305Z] Login Succeeded [2022-08-02T15:47:12.305Z] nexus3.edgexfoundry.org:10003 [2022-08-02T15:47:12.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T15:47:12.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T15:47:12.305Z] Configure a credential helper to remove this warning. See [2022-08-02T15:47:12.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T15:47:12.305Z] [2022-08-02T15:47:12.305Z] Login Succeeded [2022-08-02T15:47:12.305Z] nexus3.edgexfoundry.org:10004 [2022-08-02T15:47:12.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T15:47:12.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T15:47:12.566Z] Configure a credential helper to remove this warning. See [2022-08-02T15:47:12.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T15:47:12.566Z] [2022-08-02T15:47:12.566Z] Login Succeeded [2022-08-02T15:47:12.566Z] docker.io [2022-08-02T15:47:12.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T15:47:12.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T15:47:12.829Z] Configure a credential helper to remove this warning. See [2022-08-02T15:47:12.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T15:47:12.829Z] [2022-08-02T15:47:12.829Z] Login Succeeded [2022-08-02T15:47:12.829Z] ---> docker-login.sh ends [Pipeline] } [2022-08-02T15:47:12.859Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-02T15:47:13.051Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-02T15:47:13.092Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-02T15:47:13.124Z] ========================================================= [2022-08-02T15:47:13.124Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-02T15:47:13.124Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T15:47:13.585Z] + 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-08-02T15:47:13.585Z] Sending build context to Docker daemon 23.09MB [2022-08-02T15:47:13.585Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-02T15:47:13.585Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-02T15:47:13.847Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-02T15:47:13.847Z] 2408cc74d12b: Pulling fs layer [2022-08-02T15:47:13.847Z] ea60b727a1ce: Pulling fs layer [2022-08-02T15:47:13.847Z] 30c4a7721957: Pulling fs layer [2022-08-02T15:47:13.847Z] 370296b7ddb6: Pulling fs layer [2022-08-02T15:47:13.847Z] 7c6cee850709: Pulling fs layer [2022-08-02T15:47:13.847Z] 39a5fcdaea64: Pulling fs layer [2022-08-02T15:47:13.847Z] d94ebbe4e438: Pulling fs layer [2022-08-02T15:47:13.847Z] bcfd1f05c69d: Pulling fs layer [2022-08-02T15:47:13.847Z] 59ccb84bbe0f: Pulling fs layer [2022-08-02T15:47:13.847Z] 370296b7ddb6: Waiting [2022-08-02T15:47:13.847Z] 7c6cee850709: Waiting [2022-08-02T15:47:13.847Z] d94ebbe4e438: Waiting [2022-08-02T15:47:13.847Z] 39a5fcdaea64: Waiting [2022-08-02T15:47:13.847Z] bcfd1f05c69d: Waiting [2022-08-02T15:47:13.847Z] 30c4a7721957: Verifying Checksum [2022-08-02T15:47:13.847Z] 30c4a7721957: Download complete [2022-08-02T15:47:13.847Z] ea60b727a1ce: Download complete [2022-08-02T15:47:13.847Z] 7c6cee850709: Verifying Checksum [2022-08-02T15:47:13.847Z] 7c6cee850709: Download complete [2022-08-02T15:47:13.847Z] 39a5fcdaea64: Verifying Checksum [2022-08-02T15:47:13.847Z] 39a5fcdaea64: Download complete [2022-08-02T15:47:13.847Z] 2408cc74d12b: Verifying Checksum [2022-08-02T15:47:13.847Z] d94ebbe4e438: Download complete [2022-08-02T15:47:13.847Z] 2408cc74d12b: Pull complete [2022-08-02T15:47:14.122Z] ea60b727a1ce: Pull complete [2022-08-02T15:47:14.122Z] 30c4a7721957: Pull complete [2022-08-02T15:47:14.384Z] 59ccb84bbe0f: Verifying Checksum [2022-08-02T15:47:14.384Z] 59ccb84bbe0f: Download complete [2022-08-02T15:47:14.384Z] bcfd1f05c69d: Verifying Checksum [2022-08-02T15:47:14.384Z] bcfd1f05c69d: Download complete [2022-08-02T15:47:14.643Z] 370296b7ddb6: Verifying Checksum [2022-08-02T15:47:14.644Z] 370296b7ddb6: Download complete [2022-08-02T15:47:18.842Z] 370296b7ddb6: Pull complete [2022-08-02T15:47:18.842Z] 7c6cee850709: Pull complete [2022-08-02T15:47:18.842Z] 39a5fcdaea64: Pull complete [2022-08-02T15:47:18.842Z] d94ebbe4e438: Pull complete [2022-08-02T15:47:20.750Z] bcfd1f05c69d: Pull complete [2022-08-02T15:47:21.689Z] 59ccb84bbe0f: Pull complete [2022-08-02T15:47:21.689Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-02T15:47:21.689Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-02T15:47:21.689Z] ---> a4fb48ad2a94 [2022-08-02T15:47:21.689Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-02T15:47:23.606Z] ---> Running in 0099c6b7965f [2022-08-02T15:47:23.606Z] Removing intermediate container 0099c6b7965f [2022-08-02T15:47:23.606Z] ---> 88a5759a179c [2022-08-02T15:47:23.606Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-02T15:47:23.606Z] ---> Running in 64d37fcf5130 [2022-08-02T15:47:23.606Z] Removing intermediate container 64d37fcf5130 [2022-08-02T15:47:23.606Z] ---> d7355758cd7a [2022-08-02T15:47:23.606Z] Step 5/12 : WORKDIR /device-virtual-go [2022-08-02T15:47:23.606Z] ---> Running in b1fa5dd01e68 [2022-08-02T15:47:23.606Z] Removing intermediate container b1fa5dd01e68 [2022-08-02T15:47:23.606Z] ---> 374afb93fa70 [2022-08-02T15:47:23.606Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-02T15:47:23.606Z] ---> Running in 0264489b4189 [2022-08-02T15:47:24.183Z] Removing intermediate container 0264489b4189 [2022-08-02T15:47:24.183Z] ---> 81e0e0193bab [2022-08-02T15:47:24.183Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-02T15:47:24.445Z] ---> Running in b382356f4acd [2022-08-02T15:47:24.704Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-02T15:47:25.646Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-02T15:47:25.906Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-02T15:47:25.906Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-02T15:47:25.906Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-02T15:47:26.167Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-02T15:47:26.167Z] Executing busybox-1.35.0-r13.trigger [2022-08-02T15:47:26.167Z] OK: 216 MiB in 55 packages [2022-08-02T15:47:26.499Z] Still waiting to schedule task [2022-08-02T15:47:26.500Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-02T15:47:26.738Z] Removing intermediate container b382356f4acd [2022-08-02T15:47:26.738Z] ---> e129c06ed916 [2022-08-02T15:47:26.738Z] Step 8/12 : COPY go.mod vendor* ./ [2022-08-02T15:47:26.738Z] ---> 694ada100fde [2022-08-02T15:47:26.738Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-02T15:47:26.738Z] ---> Running in a76f9f3d5c94 [2022-08-02T15:47:44.870Z] Removing intermediate container a76f9f3d5c94 [2022-08-02T15:47:44.870Z] ---> cf09ffacd1ea [2022-08-02T15:47:44.870Z] Step 10/12 : COPY . . [2022-08-02T15:47:45.814Z] ---> 917f5917ddf5 [2022-08-02T15:47:45.814Z] Step 11/12 : ARG MAKE='make build' [2022-08-02T15:47:45.814Z] ---> Running in 52b971e283c7 [2022-08-02T15:47:45.814Z] Removing intermediate container 52b971e283c7 [2022-08-02T15:47:45.814Z] ---> 1737615f14fb [2022-08-02T15:47:45.814Z] Step 12/12 : RUN $MAKE [2022-08-02T15:47:45.814Z] ---> Running in 60a910f4d111 [2022-08-02T15:47:46.075Z] noop [2022-08-02T15:47:46.338Z] Removing intermediate container 60a910f4d111 [2022-08-02T15:47:46.338Z] ---> 49236e8035b0 [2022-08-02T15:47:46.338Z] Successfully built 49236e8035b0 [2022-08-02T15:47:46.338Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T15:47:46.795Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-02T15:47:46.795Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-02T15:47:46.957Z] prd-ubuntu20.04-docker-8c-8g-21797 does not seem to be running inside a container [2022-08-02T15:47:46.999Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-298 -v /w/workspace/foundry_device-virtual-go_PR-298:/w/workspace/foundry_device-virtual-go_PR-298:rw,z -v /w/workspace/foundry_device-virtual-go_PR-298@tmp:/w/workspace/foundry_device-virtual-go_PR-298@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-02T15:47:47.365Z] $ docker top 684d77148ea08997b631f027eb6191cdbfe5c1d4222228ccfebda6d031ff6fd0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-02T15:47:47.770Z] + go version [2022-08-02T15:47:47.770Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-02T15:47:47.811Z] $ docker stop --time=1 684d77148ea08997b631f027eb6191cdbfe5c1d4222228ccfebda6d031ff6fd0 [2022-08-02T15:47:49.102Z] $ docker rm -f 684d77148ea08997b631f027eb6191cdbfe5c1d4222228ccfebda6d031ff6fd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T15:47:49.851Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-02T15:47:49.851Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-02T15:47:50.045Z] prd-ubuntu20.04-docker-8c-8g-21797 does not seem to be running inside a container [2022-08-02T15:47:50.127Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/foundry_device-virtual-go_PR-298 -v /w/workspace/foundry_device-virtual-go_PR-298:/w/workspace/foundry_device-virtual-go_PR-298:rw,z -v /w/workspace/foundry_device-virtual-go_PR-298@tmp:/w/workspace/foundry_device-virtual-go_PR-298@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-02T15:47:50.513Z] $ docker top 3e262d324ea01df13fb323959d5dc7d8506877ca79825678542bcda3454af3b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-02T15:47:50.915Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-298 [Pipeline] fileExists [Pipeline] sh [2022-08-02T15:47:51.282Z] + make test [2022-08-02T15:47:51.282Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-02T15:47:51.540Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-08-02T15:47:59.660Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-08-02T15:48:00.231Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.038s coverage: 65.7% of statements [2022-08-02T15:48:06.805Z] 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-08-02T15:48:06.805Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-02T15:48:10.101Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-02T15:48:10.101Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-02T15:48:10.101Z] ./bin/test-attribution-txt.sh [2022-08-02T15:48:10.101Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-02T15:48:10.101Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-02T15:48:10.101Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-02T15:48:10.139Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-02T15:48:10.177Z] $ docker stop --time=1 3e262d324ea01df13fb323959d5dc7d8506877ca79825678542bcda3454af3b8 [2022-08-02T15:48:11.915Z] $ docker rm -f 3e262d324ea01df13fb323959d5dc7d8506877ca79825678542bcda3454af3b8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-02T15:48:12.414Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-02T15:48:12.489Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-02T15:48:13.175Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-02T15:48:13.485Z] + ls -al . [2022-08-02T15:48:13.486Z] total 192 [2022-08-02T15:48:13.486Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 2 15:47 . [2022-08-02T15:48:13.486Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 15:46 .. [2022-08-02T15:48:13.486Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 15:48 .git [2022-08-02T15:48:13.486Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 15:46 .github [2022-08-02T15:48:13.486Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 2 15:46 .gitignore [2022-08-02T15:48:13.486Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 2 15:46 .golangci.yml [2022-08-02T15:48:13.486Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 15:47 .semver [2022-08-02T15:48:13.486Z] -rw-rw-r-- 1 jenkins jenkins 8152 Aug 2 15:46 Attribution.txt [2022-08-02T15:48:13.486Z] -rw-rw-r-- 1 jenkins jenkins 9649 Aug 2 15:46 CHANGELOG.md [2022-08-02T15:48:13.486Z] -rw-rw-r-- 1 jenkins jenkins 1978 Aug 2 15:46 Dockerfile [2022-08-02T15:48:13.486Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 15:46 GOVERNANCE.md [2022-08-02T15:48:13.486Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 2 15:46 Jenkinsfile [2022-08-02T15:48:13.486Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 2 15:46 LICENSE [2022-08-02T15:48:13.486Z] -rw-rw-r-- 1 jenkins jenkins 2248 Aug 2 15:46 Makefile [2022-08-02T15:48:13.486Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 2 15:46 OWNERS.md [2022-08-02T15:48:13.486Z] -rw-rw-r-- 1 jenkins jenkins 2914 Aug 2 15:46 README.md [2022-08-02T15:48:13.486Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 2 15:47 VERSION [2022-08-02T15:48:13.486Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 15:46 bin [2022-08-02T15:48:13.486Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 15:46 cmd [2022-08-02T15:48:13.486Z] -rw-r--r-- 1 jenkins jenkins 44128 Aug 2 15:48 coverage.out [2022-08-02T15:48:13.486Z] -rw-rw-r-- 1 jenkins jenkins 3328 Aug 2 15:46 go.mod [2022-08-02T15:48:13.486Z] -rw-rw-r-- 1 jenkins jenkins 36202 Aug 2 15:46 go.sum [2022-08-02T15:48:13.486Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 15:46 internal [2022-08-02T15:48:13.486Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 15:46 snap [2022-08-02T15:48:13.486Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 2 15:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T15:48:13.893Z] + 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=3d16b16fd3536de56c541cc8150f1a33e519df7b --label arch=amd64 --label version=0.0.0 . [2022-08-02T15:48:13.894Z] Sending build context to Docker daemon 23.13MB [2022-08-02T15:48:13.894Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-02T15:48:13.894Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-02T15:48:13.894Z] ---> 49236e8035b0 [2022-08-02T15:48:13.894Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-02T15:48:14.155Z] ---> Running in 7a116b28e505 [2022-08-02T15:48:14.155Z] Removing intermediate container 7a116b28e505 [2022-08-02T15:48:14.155Z] ---> c35b4006b45b [2022-08-02T15:48:14.155Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-02T15:48:14.155Z] ---> Running in 79f669a70445 [2022-08-02T15:48:14.155Z] Removing intermediate container 79f669a70445 [2022-08-02T15:48:14.155Z] ---> b4550190eec6 [2022-08-02T15:48:14.155Z] Step 5/26 : WORKDIR /device-virtual-go [2022-08-02T15:48:14.414Z] ---> Running in 131de0ef5044 [2022-08-02T15:48:14.414Z] Removing intermediate container 131de0ef5044 [2022-08-02T15:48:14.414Z] ---> 1d4cdd68d013 [2022-08-02T15:48:14.414Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-02T15:48:14.414Z] ---> Running in 7807c535b3bf [2022-08-02T15:48:14.986Z] Removing intermediate container 7807c535b3bf [2022-08-02T15:48:14.986Z] ---> 11de3ceb24db [2022-08-02T15:48:14.986Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-02T15:48:14.986Z] ---> Running in 7963a4ea1f9f [2022-08-02T15:48:15.247Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-02T15:48:16.189Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-02T15:48:16.452Z] OK: 216 MiB in 55 packages [2022-08-02T15:48:17.022Z] Removing intermediate container 7963a4ea1f9f [2022-08-02T15:48:17.022Z] ---> f74a5d340407 [2022-08-02T15:48:17.022Z] Step 8/26 : COPY go.mod vendor* ./ [2022-08-02T15:48:17.022Z] ---> 56b4794cf198 [2022-08-02T15:48:17.022Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-02T15:48:17.022Z] ---> Running in e28109cd2f51 [2022-08-02T15:48:17.592Z] Removing intermediate container e28109cd2f51 [2022-08-02T15:48:17.592Z] ---> 8200e9657595 [2022-08-02T15:48:17.592Z] Step 10/26 : COPY . . [2022-08-02T15:48:18.162Z] ---> 45062d1fe087 [2022-08-02T15:48:18.162Z] Step 11/26 : ARG MAKE='make build' [2022-08-02T15:48:18.162Z] ---> Running in e3293724bba2 [2022-08-02T15:48:18.422Z] Removing intermediate container e3293724bba2 [2022-08-02T15:48:18.422Z] ---> 88091fda5425 [2022-08-02T15:48:18.422Z] Step 12/26 : RUN $MAKE [2022-08-02T15:48:18.422Z] ---> Running in 8f06b6c596d2 [2022-08-02T15:48:18.681Z] CGO_ENABLED=1 GO111MODULE=on go build -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-08-02T15:48:36.769Z] Removing intermediate container 8f06b6c596d2 [2022-08-02T15:48:36.769Z] ---> ecd7b796319b [2022-08-02T15:48:36.769Z] Step 13/26 : FROM alpine:3.16 [2022-08-02T15:48:37.340Z] 3.16: Pulling from library/alpine [2022-08-02T15:48:37.340Z] 530afca65e2e: Pulling fs layer [2022-08-02T15:48:37.601Z] 530afca65e2e: Verifying Checksum [2022-08-02T15:48:37.601Z] 530afca65e2e: Download complete [2022-08-02T15:48:37.601Z] 530afca65e2e: Pull complete [2022-08-02T15:48:37.601Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-08-02T15:48:37.601Z] Status: Downloaded newer image for alpine:3.16 [2022-08-02T15:48:37.601Z] ---> d7d3d98c851f [2022-08-02T15:48:37.601Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-08-02T15:48:37.861Z] ---> Running in 310d5e748c50 [2022-08-02T15:48:37.861Z] Removing intermediate container 310d5e748c50 [2022-08-02T15:48:37.861Z] ---> 8e2699aee47f [2022-08-02T15:48:37.861Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-02T15:48:37.861Z] ---> Running in 90ced2b56788 [2022-08-02T15:48:38.432Z] Removing intermediate container 90ced2b56788 [2022-08-02T15:48:38.432Z] ---> 51c3905e8023 [2022-08-02T15:48:38.432Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-02T15:48:38.432Z] ---> Running in 6f4fd602e778 [2022-08-02T15:48:38.694Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-02T15:48:39.635Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-02T15:48:40.205Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-02T15:48:40.205Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-02T15:48:40.205Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-02T15:48:40.465Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-02T15:48:40.465Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-02T15:48:40.727Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-02T15:48:40.727Z] Executing busybox-1.35.0-r15.trigger [2022-08-02T15:48:40.727Z] OK: 8 MiB in 20 packages [2022-08-02T15:48:40.987Z] Removing intermediate container 6f4fd602e778 [2022-08-02T15:48:40.987Z] ---> c2daa55d9593 [2022-08-02T15:48:40.987Z] Step 17/26 : WORKDIR / [2022-08-02T15:48:41.248Z] ---> Running in a8c956792ba5 [2022-08-02T15:48:41.248Z] Removing intermediate container a8c956792ba5 [2022-08-02T15:48:41.248Z] ---> e4e4102a9cfc [2022-08-02T15:48:41.248Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-08-02T15:48:41.248Z] ---> 044cc44ed7c0 [2022-08-02T15:48:41.248Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-08-02T15:48:41.509Z] ---> 24bf4e591370 [2022-08-02T15:48:41.509Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-08-02T15:48:42.080Z] ---> 099adee89aed [2022-08-02T15:48:42.080Z] Step 21/26 : EXPOSE 59900 [2022-08-02T15:48:42.080Z] ---> Running in 1983f2981b1a [2022-08-02T15:48:42.344Z] Removing intermediate container 1983f2981b1a [2022-08-02T15:48:42.344Z] ---> d4b8d8168d53 [2022-08-02T15:48:42.344Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-08-02T15:48:42.344Z] ---> Running in 8946a11ac820 [2022-08-02T15:48:42.344Z] Removing intermediate container 8946a11ac820 [2022-08-02T15:48:42.344Z] ---> 29d994046d4a [2022-08-02T15:48:42.344Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-02T15:48:42.344Z] ---> Running in 5162b2b1b408 [2022-08-02T15:48:42.344Z] Removing intermediate container 5162b2b1b408 [2022-08-02T15:48:42.344Z] ---> 27dbb301258f [2022-08-02T15:48:42.344Z] Step 24/26 : LABEL arch=amd64 [2022-08-02T15:48:42.605Z] ---> Running in 9ee2c59acc6d [2022-08-02T15:48:42.605Z] Removing intermediate container 9ee2c59acc6d [2022-08-02T15:48:42.605Z] ---> 9678511d5131 [2022-08-02T15:48:42.605Z] Step 25/26 : LABEL git_sha=3d16b16fd3536de56c541cc8150f1a33e519df7b [2022-08-02T15:48:42.605Z] ---> Running in dc823e9542f4 [2022-08-02T15:48:42.605Z] Removing intermediate container dc823e9542f4 [2022-08-02T15:48:42.605Z] ---> 049f6f4f276f [2022-08-02T15:48:42.605Z] Step 26/26 : LABEL version=0.0.0 [2022-08-02T15:48:42.866Z] ---> Running in fa3ff8a1b001 [2022-08-02T15:48:42.866Z] Removing intermediate container fa3ff8a1b001 [2022-08-02T15:48:42.866Z] ---> 626abe1f6732 [2022-08-02T15:48:42.866Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-02T15:48:42.866Z] Successfully built 626abe1f6732 [2022-08-02T15:48:42.866Z] 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-08-02T15:48:43.748Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-02T15:48:43.748Z] [2022-08-02T15:48:43.748Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T15:48:44.139Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-02T15:48:44.139Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-02T15:48:44.139Z] 5eb5b503b376: Pulling fs layer [2022-08-02T15:48:44.139Z] 5c69ac0246d0: Pulling fs layer [2022-08-02T15:48:44.139Z] ec43610c2a17: Pulling fs layer [2022-08-02T15:48:44.139Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-02T15:48:44.140Z] 33b1e0a273af: Pulling fs layer [2022-08-02T15:48:44.140Z] 5d3b04190fa2: Pulling fs layer [2022-08-02T15:48:44.140Z] 2f39f015ded8: Pulling fs layer [2022-08-02T15:48:44.140Z] 5d3b04190fa2: Waiting [2022-08-02T15:48:44.140Z] 33b1e0a273af: Waiting [2022-08-02T15:48:44.140Z] 2f39f015ded8: Waiting [2022-08-02T15:48:44.140Z] 5c69ac0246d0: Verifying Checksum [2022-08-02T15:48:44.140Z] 5c69ac0246d0: Download complete [2022-08-02T15:48:44.140Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-02T15:48:44.140Z] 3a2ae6a8a46f: Download complete [2022-08-02T15:48:44.140Z] 33b1e0a273af: Verifying Checksum [2022-08-02T15:48:44.140Z] 33b1e0a273af: Download complete [2022-08-02T15:48:44.140Z] 5d3b04190fa2: Verifying Checksum [2022-08-02T15:48:44.140Z] 5d3b04190fa2: Download complete [2022-08-02T15:48:44.402Z] ec43610c2a17: Verifying Checksum [2022-08-02T15:48:44.402Z] ec43610c2a17: Download complete [2022-08-02T15:48:44.402Z] 5eb5b503b376: Verifying Checksum [2022-08-02T15:48:44.402Z] 5eb5b503b376: Download complete [2022-08-02T15:48:44.972Z] 2f39f015ded8: Download complete [2022-08-02T15:48:45.541Z] 5eb5b503b376: Pull complete [2022-08-02T15:48:45.801Z] 5c69ac0246d0: Pull complete [2022-08-02T15:48:46.061Z] ec43610c2a17: Pull complete [2022-08-02T15:48:46.323Z] 3a2ae6a8a46f: Pull complete [2022-08-02T15:48:46.323Z] 33b1e0a273af: Pull complete [2022-08-02T15:48:46.586Z] 5d3b04190fa2: Pull complete [2022-08-02T15:48:50.788Z] 2f39f015ded8: Pull complete [2022-08-02T15:48:50.788Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-02T15:48:50.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-02T15:48:50.788Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-02T15:48:51.015Z] prd-ubuntu20.04-docker-8c-8g-21797 does not seem to be running inside a container [2022-08-02T15:48:51.060Z] $ 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-298 -v /w/workspace/foundry_device-virtual-go_PR-298:/w/workspace/foundry_device-virtual-go_PR-298:rw,z -v /w/workspace/foundry_device-virtual-go_PR-298@tmp:/w/workspace/foundry_device-virtual-go_PR-298@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-02T15:48:52.954Z] $ docker top f507c88c9465b1bbe50d23cbb84498a418d187cd7cc7e8918547b7233ed0699e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-02T15:48:53.442Z] ---> job-cost.sh [2022-08-02T15:48:53.442Z] lf-activate-venv: SKIPPING [2022-08-02T15:48:53.442Z] INFO: No Stack... [2022-08-02T15:48:54.012Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-02T15:48:54.272Z] INFO: Archiving Costs [Pipeline] sh [2022-08-02T15:48:54.586Z] + cat /w/workspace/foundry_device-virtual-go_PR-298/archives/cost.csv [2022-08-02T15:48:54.586Z] + cut -d, -f6 [Pipeline] lock [2022-08-02T15:48:54.626Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-298-1-stack-cost] [2022-08-02T15:48:54.632Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-298-1-stack-cost] did not exist. Created. [2022-08-02T15:48:54.632Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-298-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-02T15:48:55.022Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-02T15:48:55.068Z] Stashed 1 file(s) [Pipeline] } [2022-08-02T15:48:55.097Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-298-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-02T15:48:55.182Z] $ docker stop --time=1 f507c88c9465b1bbe50d23cbb84498a418d187cd7cc7e8918547b7233ed0699e [2022-08-02T15:48:56.342Z] $ docker rm -f f507c88c9465b1bbe50d23cbb84498a418d187cd7cc7e8918547b7233ed0699e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-02T15:49:14.886Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21798 in /w/workspace/foundry_device-virtual-go_PR-298 [Pipeline] { [Pipeline] ws [2022-08-02T15:49:14.934Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-08-02T15:49:15.015Z] The recommended git tool is: git [2022-08-02T15:49:21.767Z] using credential edgex-jenkins-ssh [2022-08-02T15:49:21.782Z] Cloning the remote Git repository [2022-08-02T15:49:21.830Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-08-02T15:49:21.898Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-08-02T15:49:21.962Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-08-02T15:49:21.962Z] > git --version # timeout=10 [2022-08-02T15:49:21.978Z] > git --version # 'git version 2.25.1' [2022-08-02T15:49:21.979Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-02T15:49:22.164Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-02T15:49:24.653Z] Merging remotes/origin/main commit 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 into PR head commit 3d16b16fd3536de56c541cc8150f1a33e519df7b [2022-08-02T15:49:24.872Z] Merge succeeded, producing 3d16b16fd3536de56c541cc8150f1a33e519df7b [2022-08-02T15:49:24.872Z] Checking out Revision 3d16b16fd3536de56c541cc8150f1a33e519df7b (PR-298) [2022-08-02T15:49:24.040Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-08-02T15:49:24.064Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-02T15:49:24.091Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-08-02T15:49:24.126Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-08-02T15:49:24.127Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-02T15:49:24.140Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/298/head:refs/remotes/origin/PR-298 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-02T15:49:24.673Z] > git config core.sparsecheckout # timeout=10 [2022-08-02T15:49:24.697Z] > git checkout -f 3d16b16fd3536de56c541cc8150f1a33e519df7b # timeout=10 [2022-08-02T15:49:24.783Z] > git remote # timeout=10 [2022-08-02T15:49:24.805Z] > git config --get remote.origin.url # timeout=10 [2022-08-02T15:49:24.822Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-02T15:49:24.834Z] > git merge 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 # timeout=10 [2022-08-02T15:49:24.860Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-02T15:49:24.882Z] > git config core.sparsecheckout # timeout=10 [2022-08-02T15:49:24.898Z] > git checkout -f 3d16b16fd3536de56c541cc8150f1a33e519df7b # timeout=10 [2022-08-02T15:49:29.052Z] Commit message: "build(snap): Upgrade snap bases to core22" [2022-08-02T15:49:29.114Z] > git --version # timeout=10 [2022-08-02T15:49:29.125Z] > git --version # 'git version 2.25.1' [2022-08-02T15:49:29.141Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-02T15:49:30.200Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-02T15:49:30.200Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-02T15:49:30.200Z] Dload Upload Total Spent Left Speed [2022-08-02T15:49:30.200Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 82213 0 --:--:-- --:--:-- --:--:-- 82765 [Pipeline] sh [2022-08-02T15:49:31.175Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-02T15:49:31.525Z] + sudo tee /etc/docker/daemon.new [2022-08-02T15:49:31.525Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-02T15:49:31.525Z] { [2022-08-02T15:49:31.525Z] "registry-mirrors": [ [2022-08-02T15:49:31.525Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-02T15:49:31.525Z] ], [2022-08-02T15:49:31.525Z] "bip": "10.250.0.254/24", [2022-08-02T15:49:31.525Z] "hosts": [ [2022-08-02T15:49:31.525Z] "tcp://0.0.0.0:5555", [2022-08-02T15:49:31.525Z] "unix:///var/run/docker.sock" [2022-08-02T15:49:31.525Z] ], [2022-08-02T15:49:31.525Z] "mtu": 1458, [2022-08-02T15:49:31.525Z] "selinux-enabled": true, [2022-08-02T15:49:31.525Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-02T15:49:31.525Z] } [Pipeline] sh [2022-08-02T15:49:31.877Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-02T15:49:32.239Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-02T15:49:50.638Z] provisioning config files... [2022-08-02T15:49:50.661Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config5013055391264983597tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-02T15:49:51.066Z] ---> docker-login.sh [2022-08-02T15:49:51.067Z] nexus3.edgexfoundry.org:10001 [2022-08-02T15:49:51.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T15:49:51.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T15:49:51.943Z] Configure a credential helper to remove this warning. See [2022-08-02T15:49:51.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T15:49:51.943Z] [2022-08-02T15:49:51.943Z] Login Succeeded [2022-08-02T15:49:51.943Z] nexus3.edgexfoundry.org:10002 [2022-08-02T15:49:52.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T15:49:52.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T15:49:52.494Z] Configure a credential helper to remove this warning. See [2022-08-02T15:49:52.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T15:49:52.494Z] [2022-08-02T15:49:52.494Z] Login Succeeded [2022-08-02T15:49:52.494Z] nexus3.edgexfoundry.org:10003 [2022-08-02T15:49:52.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T15:49:53.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T15:49:53.047Z] Configure a credential helper to remove this warning. See [2022-08-02T15:49:53.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T15:49:53.047Z] [2022-08-02T15:49:53.047Z] Login Succeeded [2022-08-02T15:49:53.047Z] nexus3.edgexfoundry.org:10004 [2022-08-02T15:49:53.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T15:49:53.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T15:49:53.600Z] Configure a credential helper to remove this warning. See [2022-08-02T15:49:53.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T15:49:53.600Z] [2022-08-02T15:49:53.600Z] Login Succeeded [2022-08-02T15:49:53.600Z] docker.io [2022-08-02T15:49:53.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T15:49:54.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T15:49:54.477Z] Configure a credential helper to remove this warning. See [2022-08-02T15:49:54.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T15:49:54.477Z] [2022-08-02T15:49:54.477Z] Login Succeeded [2022-08-02T15:49:54.477Z] ---> docker-login.sh ends [Pipeline] } [2022-08-02T15:49:54.509Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-02T15:49:54.934Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-02T15:49:54.970Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-02T15:49:55.005Z] ========================================================= [2022-08-02T15:49:55.005Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-02T15:49:55.005Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T15:49:55.513Z] + 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-08-02T15:49:56.133Z] Sending build context to Docker daemon 11.68MB [2022-08-02T15:49:56.133Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-02T15:49:56.133Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-02T15:49:56.133Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-02T15:49:56.133Z] b3c136eddcbf: Pulling fs layer [2022-08-02T15:49:56.133Z] c0a3192eca97: Pulling fs layer [2022-08-02T15:49:56.133Z] a050256f5b6f: Pulling fs layer [2022-08-02T15:49:56.133Z] 656be50a0ddc: Pulling fs layer [2022-08-02T15:49:56.133Z] 2bbca73fdf42: Pulling fs layer [2022-08-02T15:49:56.133Z] 46d945488cbd: Pulling fs layer [2022-08-02T15:49:56.133Z] 8a5474983e97: Pulling fs layer [2022-08-02T15:49:56.133Z] 329c88fbcd65: Pulling fs layer [2022-08-02T15:49:56.133Z] 2bbca73fdf42: Waiting [2022-08-02T15:49:56.133Z] 46d945488cbd: Waiting [2022-08-02T15:49:56.133Z] 8a5474983e97: Waiting [2022-08-02T15:49:56.133Z] 329c88fbcd65: Waiting [2022-08-02T15:49:56.133Z] 656be50a0ddc: Waiting [2022-08-02T15:49:56.133Z] a050256f5b6f: Verifying Checksum [2022-08-02T15:49:56.133Z] a050256f5b6f: Download complete [2022-08-02T15:49:56.133Z] 2bbca73fdf42: Verifying Checksum [2022-08-02T15:49:56.133Z] 2bbca73fdf42: Download complete [2022-08-02T15:49:56.419Z] 46d945488cbd: Verifying Checksum [2022-08-02T15:49:56.419Z] 46d945488cbd: Download complete [2022-08-02T15:49:56.419Z] b3c136eddcbf: Verifying Checksum [2022-08-02T15:49:56.419Z] b3c136eddcbf: Download complete [2022-08-02T15:49:57.405Z] b3c136eddcbf: Pull complete [2022-08-02T15:49:57.405Z] 329c88fbcd65: Verifying Checksum [2022-08-02T15:49:57.405Z] 329c88fbcd65: Download complete [2022-08-02T15:49:58.004Z] c0a3192eca97: Pull complete [2022-08-02T15:49:58.280Z] a050256f5b6f: Pull complete [2022-08-02T15:49:58.554Z] 8a5474983e97: Download complete [2022-08-02T15:49:59.541Z] 656be50a0ddc: Verifying Checksum [2022-08-02T15:49:59.541Z] 656be50a0ddc: Download complete [2022-08-02T15:50:14.648Z] 656be50a0ddc: Pull complete [2022-08-02T15:50:14.648Z] 2bbca73fdf42: Pull complete [2022-08-02T15:50:14.648Z] 46d945488cbd: Pull complete [2022-08-02T15:50:20.073Z] 8a5474983e97: Pull complete [2022-08-02T15:50:22.076Z] 329c88fbcd65: Pull complete [2022-08-02T15:50:22.076Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-02T15:50:22.076Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-02T15:50:22.076Z] ---> ff4287adb874 [2022-08-02T15:50:22.076Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-02T15:50:22.687Z] ---> Running in 9620b985a457 [2022-08-02T15:50:23.666Z] Removing intermediate container 9620b985a457 [2022-08-02T15:50:23.666Z] ---> 77d539101a34 [2022-08-02T15:50:23.666Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-02T15:50:23.666Z] ---> Running in d2bfa472e778 [2022-08-02T15:50:23.943Z] Removing intermediate container d2bfa472e778 [2022-08-02T15:50:23.943Z] ---> 2e7e868c435b [2022-08-02T15:50:23.943Z] Step 5/12 : WORKDIR /device-virtual-go [2022-08-02T15:50:23.943Z] ---> Running in 4f110f2f416a [2022-08-02T15:50:24.217Z] Removing intermediate container 4f110f2f416a [2022-08-02T15:50:24.217Z] ---> c5b678a6aec6 [2022-08-02T15:50:24.217Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-02T15:50:24.499Z] ---> Running in 12f04d36ea59 [2022-08-02T15:50:25.933Z] Removing intermediate container 12f04d36ea59 [2022-08-02T15:50:25.933Z] ---> 893e2f72cd5d [2022-08-02T15:50:25.933Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-02T15:50:26.212Z] ---> Running in 1df4e83595fa [2022-08-02T15:50:27.205Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-02T15:50:28.178Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-02T15:50:29.150Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-02T15:50:29.150Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-02T15:50:29.150Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-02T15:50:29.424Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-02T15:50:29.424Z] Executing busybox-1.35.0-r13.trigger [2022-08-02T15:50:29.424Z] OK: 226 MiB in 55 packages [2022-08-02T15:50:30.410Z] Removing intermediate container 1df4e83595fa [2022-08-02T15:50:30.410Z] ---> 085591fbd829 [2022-08-02T15:50:30.410Z] Step 8/12 : COPY go.mod vendor* ./ [2022-08-02T15:50:31.006Z] ---> 60725c74ec09 [2022-08-02T15:50:31.006Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-02T15:50:31.280Z] ---> Running in 209e734463f4 [2022-08-02T15:51:18.258Z] Removing intermediate container 209e734463f4 [2022-08-02T15:51:18.258Z] ---> b61892deddad [2022-08-02T15:51:18.258Z] Step 10/12 : COPY . . [2022-08-02T15:51:18.855Z] ---> 1215d610eb86 [2022-08-02T15:51:18.855Z] Step 11/12 : ARG MAKE='make build' [2022-08-02T15:51:18.855Z] ---> Running in 3d1f048b6ddb [2022-08-02T15:51:19.129Z] Removing intermediate container 3d1f048b6ddb [2022-08-02T15:51:19.129Z] ---> 5016540c2c24 [2022-08-02T15:51:19.129Z] Step 12/12 : RUN $MAKE [2022-08-02T15:51:19.129Z] ---> Running in 392e827673e2 [2022-08-02T15:51:20.111Z] noop [2022-08-02T15:51:20.708Z] Removing intermediate container 392e827673e2 [2022-08-02T15:51:20.708Z] ---> 4eb81710e254 [2022-08-02T15:51:20.708Z] Successfully built 4eb81710e254 [2022-08-02T15:51:20.708Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T15:51:21.190Z] + docker inspect -f . ci-base-image-arm64 [2022-08-02T15:51:21.190Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-02T15:51:21.506Z] prd-ubuntu20.04-docker-arm64-4c-16g-21798 does not seem to be running inside a container [2022-08-02T15:51:21.599Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-02T15:51:22.918Z] $ docker top 834f04f863a568771d700ef12c5705a719d6dcd24a0dbf20328387827bc6c96c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-02T15:51:23.875Z] + go version [2022-08-02T15:51:23.875Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-02T15:51:23.912Z] $ docker stop --time=1 834f04f863a568771d700ef12c5705a719d6dcd24a0dbf20328387827bc6c96c [2022-08-02T15:51:25.582Z] $ docker rm -f 834f04f863a568771d700ef12c5705a719d6dcd24a0dbf20328387827bc6c96c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T15:51:26.506Z] + docker inspect -f . ci-base-image-arm64 [2022-08-02T15:51:26.507Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-02T15:51:26.812Z] prd-ubuntu20.04-docker-arm64-4c-16g-21798 does not seem to be running inside a container [2022-08-02T15:51:26.901Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-02T15:51:28.231Z] $ docker top 7cf87e5be535a892f99ce8f7a0df9c8aa068c78762107806883bae80dfd2c358 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-02T15:51:29.177Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2022-08-02T15:51:29.908Z] + make test [2022-08-02T15:51:29.908Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-02T15:51:31.350Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-08-02T15:52:53.185Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-08-02T15:52:53.457Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.138s coverage: 65.7% of statements [2022-08-02T15:52:54.053Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-02T15:52:54.053Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-02T15:53:16.258Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-02T15:53:16.258Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-02T15:53:16.258Z] ./bin/test-attribution-txt.sh [2022-08-02T15:53:16.258Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-02T15:53:16.258Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-02T15:53:16.258Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-02T15:53:16.300Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-02T15:53:16.333Z] $ docker stop --time=1 7cf87e5be535a892f99ce8f7a0df9c8aa068c78762107806883bae80dfd2c358 [2022-08-02T15:53:18.250Z] $ docker rm -f 7cf87e5be535a892f99ce8f7a0df9c8aa068c78762107806883bae80dfd2c358 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-02T15:53:19.353Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-02T15:53:19.391Z] Warning: overwriting stash ‘coverage-report’ [2022-08-02T15:53:19.980Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-02T15:53:20.614Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-02T15:53:20.985Z] + ls -al . [2022-08-02T15:53:20.985Z] total 188 [2022-08-02T15:53:20.986Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 15:51 . [2022-08-02T15:53:20.986Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 15:49 .. [2022-08-02T15:53:20.986Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 15:49 .git [2022-08-02T15:53:20.986Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 15:49 .github [2022-08-02T15:53:20.986Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 2 15:49 .gitignore [2022-08-02T15:53:20.986Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 2 15:49 .golangci.yml [2022-08-02T15:53:20.986Z] -rw-rw-r-- 1 jenkins jenkins 8152 Aug 2 15:49 Attribution.txt [2022-08-02T15:53:20.986Z] -rw-rw-r-- 1 jenkins jenkins 9649 Aug 2 15:49 CHANGELOG.md [2022-08-02T15:53:20.986Z] -rw-rw-r-- 1 jenkins jenkins 1978 Aug 2 15:49 Dockerfile [2022-08-02T15:53:20.986Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 15:49 GOVERNANCE.md [2022-08-02T15:53:20.986Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 2 15:49 Jenkinsfile [2022-08-02T15:53:20.986Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 2 15:49 LICENSE [2022-08-02T15:53:20.986Z] -rw-rw-r-- 1 jenkins jenkins 2248 Aug 2 15:49 Makefile [2022-08-02T15:53:20.986Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 2 15:49 OWNERS.md [2022-08-02T15:53:20.986Z] -rw-rw-r-- 1 jenkins jenkins 2914 Aug 2 15:49 README.md [2022-08-02T15:53:20.986Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 2 15:47 VERSION [2022-08-02T15:53:20.986Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 15:49 bin [2022-08-02T15:53:20.986Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 15:49 cmd [2022-08-02T15:53:20.986Z] -rw-r--r-- 1 jenkins jenkins 44128 Aug 2 15:52 coverage.out [2022-08-02T15:53:20.986Z] -rw-rw-r-- 1 jenkins jenkins 3328 Aug 2 15:49 go.mod [2022-08-02T15:53:20.986Z] -rw-rw-r-- 1 jenkins jenkins 36202 Aug 2 15:49 go.sum [2022-08-02T15:53:20.986Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 15:49 internal [2022-08-02T15:53:20.986Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 15:49 snap [2022-08-02T15:53:20.986Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 2 15:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T15:53:21.423Z] + 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=3d16b16fd3536de56c541cc8150f1a33e519df7b --label arch=arm64 --label version=0.0.0 . [2022-08-02T15:53:22.032Z] Sending build context to Docker daemon 11.72MB [2022-08-02T15:53:22.032Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-02T15:53:22.032Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-02T15:53:22.032Z] ---> 4eb81710e254 [2022-08-02T15:53:22.032Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-02T15:53:22.032Z] ---> Running in f7d9b9cf96e4 [2022-08-02T15:53:22.312Z] Removing intermediate container f7d9b9cf96e4 [2022-08-02T15:53:22.312Z] ---> 05cebe258b98 [2022-08-02T15:53:22.312Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-02T15:53:22.588Z] ---> Running in da64539b2127 [2022-08-02T15:53:22.865Z] Removing intermediate container da64539b2127 [2022-08-02T15:53:22.865Z] ---> 5c8174d5172a [2022-08-02T15:53:22.865Z] Step 5/26 : WORKDIR /device-virtual-go [2022-08-02T15:53:22.865Z] ---> Running in 4b1c03fcdbae [2022-08-02T15:53:23.138Z] Removing intermediate container 4b1c03fcdbae [2022-08-02T15:53:23.138Z] ---> ace3ac9c1750 [2022-08-02T15:53:23.138Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-02T15:53:23.425Z] ---> Running in 3671351df535 [2022-08-02T15:53:25.419Z] Removing intermediate container 3671351df535 [2022-08-02T15:53:25.419Z] ---> f85a4f4b9f6a [2022-08-02T15:53:25.419Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-02T15:53:25.419Z] ---> Running in 9c4ceed0b16f [2022-08-02T15:53:26.403Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-02T15:53:27.000Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-02T15:53:27.980Z] OK: 226 MiB in 55 packages [2022-08-02T15:53:28.961Z] Removing intermediate container 9c4ceed0b16f [2022-08-02T15:53:28.961Z] ---> 657702e14569 [2022-08-02T15:53:28.961Z] Step 8/26 : COPY go.mod vendor* ./ [2022-08-02T15:53:29.568Z] ---> 70d1db92e50f [2022-08-02T15:53:29.568Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-02T15:53:29.568Z] ---> Running in 2eb9bf3caeb6 [2022-08-02T15:53:31.561Z] Removing intermediate container 2eb9bf3caeb6 [2022-08-02T15:53:31.561Z] ---> 05891bf5e974 [2022-08-02T15:53:31.561Z] Step 10/26 : COPY . . [2022-08-02T15:53:33.005Z] ---> a4948dc256b2 [2022-08-02T15:53:33.005Z] Step 11/26 : ARG MAKE='make build' [2022-08-02T15:53:33.005Z] ---> Running in 0b8899ecdaff [2022-08-02T15:53:33.280Z] Removing intermediate container 0b8899ecdaff [2022-08-02T15:53:33.280Z] ---> c59eb2a497b2 [2022-08-02T15:53:33.280Z] Step 12/26 : RUN $MAKE [2022-08-02T15:53:33.280Z] ---> Running in 6b59b98b0a55 [2022-08-02T15:53:34.728Z] CGO_ENABLED=1 GO111MODULE=on go build -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-08-02T15:55:56.678Z] Removing intermediate container 6b59b98b0a55 [2022-08-02T15:55:56.678Z] ---> 5228cf2b7eaa [2022-08-02T15:55:56.678Z] Step 13/26 : FROM alpine:3.16 [2022-08-02T15:55:56.678Z] 3.16: Pulling from library/alpine [2022-08-02T15:55:56.678Z] f97344484467: Pulling fs layer [2022-08-02T15:55:56.678Z] f97344484467: Download complete [2022-08-02T15:55:56.678Z] f97344484467: Pull complete [2022-08-02T15:55:56.678Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-08-02T15:55:56.678Z] Status: Downloaded newer image for alpine:3.16 [2022-08-02T15:55:56.678Z] ---> 3d81c46cd875 [2022-08-02T15:55:56.678Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-08-02T15:55:56.678Z] ---> Running in 86fdf29ec158 [2022-08-02T15:55:56.678Z] Removing intermediate container 86fdf29ec158 [2022-08-02T15:55:56.678Z] ---> 1589818bd7ab [2022-08-02T15:55:56.678Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-02T15:55:56.678Z] ---> Running in b83c6877d1fa [2022-08-02T15:55:56.678Z] Removing intermediate container b83c6877d1fa [2022-08-02T15:55:56.678Z] ---> 8e4c8cfa403c [2022-08-02T15:55:56.678Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-02T15:55:56.678Z] ---> Running in 228479e31e31 [2022-08-02T15:55:56.678Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-02T15:55:56.678Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-02T15:55:56.678Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-02T15:55:56.678Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-02T15:55:56.678Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-02T15:55:56.678Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-02T15:55:56.678Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-02T15:55:56.678Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-02T15:55:56.678Z] Executing busybox-1.35.0-r15.trigger [2022-08-02T15:55:56.678Z] OK: 8 MiB in 20 packages [2022-08-02T15:55:56.678Z] Removing intermediate container 228479e31e31 [2022-08-02T15:55:56.678Z] ---> 5bfe9e0186fe [2022-08-02T15:55:56.678Z] Step 17/26 : WORKDIR / [2022-08-02T15:55:56.678Z] ---> Running in 42a576ba4dad [2022-08-02T15:55:56.678Z] Removing intermediate container 42a576ba4dad [2022-08-02T15:55:56.678Z] ---> 93ce406ad615 [2022-08-02T15:55:56.678Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-08-02T15:55:56.678Z] ---> 1ef04878ecb5 [2022-08-02T15:55:56.678Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-08-02T15:55:56.678Z] ---> fad72c8d5e63 [2022-08-02T15:55:56.678Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-08-02T15:55:56.678Z] ---> 9c01a2acde6a [2022-08-02T15:55:56.678Z] Step 21/26 : EXPOSE 59900 [2022-08-02T15:55:56.678Z] ---> Running in d98f39685c6e [2022-08-02T15:55:56.678Z] Removing intermediate container d98f39685c6e [2022-08-02T15:55:56.678Z] ---> 390e6dd8a65f [2022-08-02T15:55:56.678Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-08-02T15:55:56.678Z] ---> Running in 394f981365a6 [2022-08-02T15:55:56.678Z] Removing intermediate container 394f981365a6 [2022-08-02T15:55:56.678Z] ---> 45937be5be1a [2022-08-02T15:55:56.678Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-02T15:55:56.678Z] ---> Running in 6420b85ca1d5 [2022-08-02T15:55:56.678Z] Removing intermediate container 6420b85ca1d5 [2022-08-02T15:55:56.678Z] ---> e6c2475020f2 [2022-08-02T15:55:56.678Z] Step 24/26 : LABEL arch=arm64 [2022-08-02T15:55:56.678Z] ---> Running in 753324ef8d37 [2022-08-02T15:55:56.678Z] Removing intermediate container 753324ef8d37 [2022-08-02T15:55:56.678Z] ---> 5810e804364a [2022-08-02T15:55:56.678Z] Step 25/26 : LABEL git_sha=3d16b16fd3536de56c541cc8150f1a33e519df7b [2022-08-02T15:55:56.678Z] ---> Running in 40868987371a [2022-08-02T15:55:56.678Z] Removing intermediate container 40868987371a [2022-08-02T15:55:56.678Z] ---> 6147b6474d59 [2022-08-02T15:55:56.678Z] Step 26/26 : LABEL version=0.0.0 [2022-08-02T15:55:56.678Z] ---> Running in bd42913d6717 [2022-08-02T15:55:56.952Z] Removing intermediate container bd42913d6717 [2022-08-02T15:55:56.952Z] ---> 63e014eb5adf [2022-08-02T15:55:56.952Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-02T15:55:56.952Z] Successfully built 63e014eb5adf [2022-08-02T15:55:56.952Z] 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-08-02T15:55:57.803Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-02T15:55:57.803Z] [2022-08-02T15:55:57.804Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T15:55:58.229Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-02T15:55:58.504Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-02T15:55:58.504Z] 8998bd30e6a1: Pulling fs layer [2022-08-02T15:55:58.504Z] 04944245beec: Pulling fs layer [2022-08-02T15:55:58.504Z] 699f458cf7ca: Pulling fs layer [2022-08-02T15:55:58.504Z] 765212b225bb: Pulling fs layer [2022-08-02T15:55:58.504Z] f23df028b6ca: Pulling fs layer [2022-08-02T15:55:58.505Z] d65c8cfc05b1: Pulling fs layer [2022-08-02T15:55:58.505Z] 2437ff75d9bd: Pulling fs layer [2022-08-02T15:55:58.505Z] 765212b225bb: Waiting [2022-08-02T15:55:58.505Z] f23df028b6ca: Waiting [2022-08-02T15:55:58.505Z] d65c8cfc05b1: Waiting [2022-08-02T15:55:58.505Z] 2437ff75d9bd: Waiting [2022-08-02T15:55:58.505Z] 04944245beec: Verifying Checksum [2022-08-02T15:55:58.505Z] 04944245beec: Download complete [2022-08-02T15:55:58.505Z] 765212b225bb: Verifying Checksum [2022-08-02T15:55:58.505Z] 765212b225bb: Download complete [2022-08-02T15:55:58.505Z] f23df028b6ca: Verifying Checksum [2022-08-02T15:55:58.505Z] f23df028b6ca: Download complete [2022-08-02T15:55:58.505Z] d65c8cfc05b1: Verifying Checksum [2022-08-02T15:55:58.505Z] d65c8cfc05b1: Download complete [2022-08-02T15:55:58.777Z] 699f458cf7ca: Verifying Checksum [2022-08-02T15:55:58.777Z] 699f458cf7ca: Download complete [2022-08-02T15:55:59.051Z] 8998bd30e6a1: Verifying Checksum [2022-08-02T15:55:59.051Z] 8998bd30e6a1: Download complete [2022-08-02T15:56:01.687Z] 2437ff75d9bd: Verifying Checksum [2022-08-02T15:56:01.687Z] 2437ff75d9bd: Download complete [2022-08-02T15:56:03.672Z] 8998bd30e6a1: Pull complete [2022-08-02T15:56:03.948Z] 04944245beec: Pull complete [2022-08-02T15:56:05.389Z] 699f458cf7ca: Pull complete [2022-08-02T15:56:05.663Z] 765212b225bb: Pull complete [2022-08-02T15:56:06.644Z] f23df028b6ca: Pull complete [2022-08-02T15:56:06.644Z] d65c8cfc05b1: Pull complete [2022-08-02T15:56:21.755Z] 2437ff75d9bd: Pull complete [2022-08-02T15:56:21.755Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-02T15:56:21.755Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-02T15:56:21.755Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-02T15:56:22.140Z] prd-ubuntu20.04-docker-arm64-4c-16g-21798 does not seem to be running inside a container [2022-08-02T15:56:22.230Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-02T15:56:24.888Z] $ docker top dc93d97091d2bb829fe24dabbb4a4f7bbbdb66d819bc580f0921dfb76a32a051 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-02T15:56:25.881Z] ---> job-cost.sh [2022-08-02T15:56:25.881Z] lf-activate-venv: SKIPPING [2022-08-02T15:56:25.881Z] INFO: No Stack... [2022-08-02T15:56:26.478Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-02T15:56:27.073Z] INFO: Archiving Costs [Pipeline] sh [2022-08-02T15:56:27.757Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2022-08-02T15:56:27.757Z] + cut -d, -f6 [Pipeline] lock [2022-08-02T15:56:27.848Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-298-1-stack-cost] [2022-08-02T15:56:27.854Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-298-1-stack-cost] did not exist. Created. [2022-08-02T15:56:27.854Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-298-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-02T15:56:28.600Z] /w/workspace/device-virtual-go/1@tmp/durable-e60ce9cc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-02T15:56:29.304Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-02T15:56:29.360Z] Warning: overwriting stash ‘stack-cost’ [2022-08-02T15:56:29.411Z] Stashed 1 file(s) [Pipeline] } [2022-08-02T15:56:29.428Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-298-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-02T15:56:29.500Z] $ docker stop --time=1 dc93d97091d2bb829fe24dabbb4a4f7bbbdb66d819bc580f0921dfb76a32a051 [2022-08-02T15:56:31.019Z] $ docker rm -f dc93d97091d2bb829fe24dabbb4a4f7bbbdb66d819bc580f0921dfb76a32a051 [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-08-02T15:56:32.078Z] provisioning config files... [2022-08-02T15:56:32.090Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-298@tmp/config4790924744464320548tmp [Pipeline] { [Pipeline] sh [2022-08-02T15:56:32.412Z] + set +x [2022-08-02T15:56:32.413Z] + curl -s+ https://codecov.io/bash [2022-08-02T15:56:32.413Z] bash -s -- [2022-08-02T15:56:32.413Z] [2022-08-02T15:56:32.413Z] _____ _ [2022-08-02T15:56:32.413Z] / ____| | | [2022-08-02T15:56:32.413Z] | | ___ __| | ___ ___ _____ __ [2022-08-02T15:56:32.413Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-02T15:56:32.413Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-02T15:56:32.413Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-02T15:56:32.413Z] Bash-1.0.6 [2022-08-02T15:56:32.413Z] [2022-08-02T15:56:32.413Z] [2022-08-02T15:56:32.413Z] ==> git version 2.25.1 found [2022-08-02T15:56:32.413Z] ==> 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-08-02T15:56:32.413Z] Release-Date: 2020-01-08 [2022-08-02T15:56:32.413Z] 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-08-02T15:56:32.413Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-02T15:56:32.413Z] ==> Jenkins CI detected. [2022-08-02T15:56:32.413Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-298 [2022-08-02T15:56:32.413Z] project root: . [2022-08-02T15:56:32.413Z] --> token set from env [2022-08-02T15:56:32.413Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-02T15:56:32.413Z] ==> Running gcov in . (disable via -X gcov) [2022-08-02T15:56:32.413Z] ==> Python coveragepy not found [2022-08-02T15:56:32.413Z] ==> Searching for coverage reports in: [2022-08-02T15:56:32.413Z] + . [2022-08-02T15:56:32.413Z] -> Found 1 reports [2022-08-02T15:56:32.413Z] ==> Detecting git/mercurial file structure [2022-08-02T15:56:32.674Z] ==> Reading reports [2022-08-02T15:56:32.674Z] + ./coverage.out bytes=44128 [2022-08-02T15:56:32.674Z] ==> Appending adjustments [2022-08-02T15:56:32.674Z] https://docs.codecov.io/docs/fixing-reports [2022-08-02T15:56:32.674Z] + Found adjustments [2022-08-02T15:56:32.674Z] ==> Gzipping contents [2022-08-02T15:56:32.674Z] 8.0K /tmp/codecov.oQgtDq.gz [2022-08-02T15:56:32.674Z] ==> Uploading reports [2022-08-02T15:56:32.674Z] url: https://codecov.io [2022-08-02T15:56:32.674Z] query: branch=PR-298&commit=3d16b16fd3536de56c541cc8150f1a33e519df7b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-298%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=298&job=&cmd_args= [2022-08-02T15:56:32.674Z] -> Pinging Codecov [2022-08-02T15:56:32.674Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-298&commit=3d16b16fd3536de56c541cc8150f1a33e519df7b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-298%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=298&job=&cmd_args= [2022-08-02T15:56:32.934Z] -> Uploading to [2022-08-02T15:56:32.934Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-02/5E52B4B073DB2E39498172D8E973AA87/3d16b16fd3536de56c541cc8150f1a33e519df7b/aea41ee0-224c-4e75-8df7-51fcae4534c1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220802%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220802T155632Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=460f3a8d99c6f92ad4defeb0ab037dc6ee4a2ad99e56e6a124895c01323a69bd [2022-08-02T15:56:32.934Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-02T15:56:32.934Z] Dload Upload Total Spent Left Speed [2022-08-02T15:56:33.194Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5511 0 0 100 5511 0 24936 --:--:-- --:--:-- --:--:-- 24936 [2022-08-02T15:56:33.194Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/3d16b16fd3536de56c541cc8150f1a33e519df7b [Pipeline] } [2022-08-02T15:56:33.221Z] 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-08-02T15:56:34.971Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-298/archives ] [2022-08-02T15:56:34.971Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-298/archives [2022-08-02T15:56:34.971Z] total 16 [2022-08-02T15:56:34.971Z] drwxr-xr-x 3 root root 4096 Aug 2 15:48 . [2022-08-02T15:56:34.971Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 2 15:48 .. [2022-08-02T15:56:34.971Z] drwxr-xr-x 2 root root 4096 Aug 2 15:48 cost [2022-08-02T15:56:34.971Z] -rw-r--r-- 1 root root 89 Aug 2 15:48 cost.csv [2022-08-02T15:56:34.971Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-298/archives [2022-08-02T15:56:34.971Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-298/archives [2022-08-02T15:56:34.971Z] total 16 [2022-08-02T15:56:34.971Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 15:48 . [2022-08-02T15:56:34.971Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 2 15:48 .. [2022-08-02T15:56:34.971Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 2 15:48 cost [2022-08-02T15:56:34.971Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 2 15:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-02T15:56:35.305Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-02T15:56:36.202Z] ---> package-listing.sh [2022-08-02T15:56:36.202Z] ++ facter osfamily [2022-08-02T15:56:36.202Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-02T15:56:36.463Z] + OS_FAMILY=debian [2022-08-02T15:56:36.463Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-298 [2022-08-02T15:56:36.463Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-02T15:56:36.463Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-02T15:56:36.463Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-02T15:56:36.463Z] + PACKAGES=/tmp/packages_start.txt [2022-08-02T15:56:36.463Z] + '[' /w/workspace/foundry_device-virtual-go_PR-298 ']' [2022-08-02T15:56:36.463Z] + PACKAGES=/tmp/packages_end.txt [2022-08-02T15:56:36.463Z] + case "${OS_FAMILY}" in [2022-08-02T15:56:36.463Z] + dpkg -l [2022-08-02T15:56:36.463Z] + grep '^ii' [2022-08-02T15:56:36.463Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-02T15:56:36.463Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-02T15:56:36.463Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-02T15:56:36.463Z] + '[' /w/workspace/foundry_device-virtual-go_PR-298 ']' [2022-08-02T15:56:36.463Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-298/archives/ [2022-08-02T15:56:36.463Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-298/archives/ [Pipeline] echo [2022-08-02T15:56:36.495Z] 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-298/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-02T15:56:36.791Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T15:56:37.432Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-02T15:56:37.432Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-02T15:56:37.593Z] prd-ubuntu20.04-docker-8c-8g-21797 does not seem to be running inside a container [2022-08-02T15:56:37.638Z] $ 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-298/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-298 -v /w/workspace/foundry_device-virtual-go_PR-298:/w/workspace/foundry_device-virtual-go_PR-298:rw,z -v /w/workspace/foundry_device-virtual-go_PR-298@tmp:/w/workspace/foundry_device-virtual-go_PR-298@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-02T15:56:37.830Z] $ docker top f3d3f698da1088fd6abe93e0f5c8e52acf9bc9770df76341ba16f5d9b6f2b236 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-02T15:56:38.229Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-02T15:56:38.547Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-02T15:56:38.862Z] + ls /var/log/sa-host [2022-08-02T15:56:38.862Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-02T15:56:39.048Z] provisioning config files... [2022-08-02T15:56:39.060Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-298@tmp/config576279131322936231tmp [Pipeline] { [Pipeline] echo [2022-08-02T15:56:39.107Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-02T15:56:39.419Z] ---> create-netrc.sh [Pipeline] } [2022-08-02T15:56:39.447Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-02T15:56:39.862Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-02T15:56:39.895Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-02T15:56:40.208Z] ---> sudo-logs.sh [2022-08-02T15:56:40.208Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-02T15:56:40.293Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-02T15:56:40.611Z] ---> job-cost.sh [2022-08-02T15:56:40.612Z] lf-activate-venv: SKIPPING [2022-08-02T15:56:40.612Z] DEBUG: total: 0.2199999988079071 [2022-08-02T15:56:40.612Z] INFO: Retrieving Stack Cost... [2022-08-02T15:56:41.183Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-02T15:56:41.444Z] INFO: Archiving Costs [Pipeline] echo [2022-08-02T15:56:41.477Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-02T15:56:41.797Z] ---> logs-deploy.sh [2022-08-02T15:56:41.797Z] lf-activate-venv: SKIPPING [2022-08-02T15:56:41.797Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-298/1 [2022-08-02T15:56:41.797Z] INFO: archiving workspace using pattern(s): [2022-08-02T15:56:42.740Z] Archives upload complete. [2022-08-02T15:56:43.000Z] INFO: archiving logs to Nexus