Pull request #379 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476+626db8e9a2222f123adcb85f9e159bc679c0b5f7 (addd33bb4433e1108fbb3ffaa03631deca4eaaf1) 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-ssh14749612732603771493.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh1958728434355512429.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-379/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-379/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1557630631410917462.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-379/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14392794373940953368.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh14039593418204321645.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-379/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-379/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8617658002400375080.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 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-7553 in /w/workspace/foundry_device-virtual-go_PR-379 [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-379 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/379/head:refs/remotes/origin/PR-379 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 626db8e9a2222f123adcb85f9e159bc679c0b5f7 into PR head commit ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 Merge succeeded, producing ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 Checking out Revision ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 (PR-379) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a > git config core.sparsecheckout # timeout=10 > git checkout -f ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 # 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 626db8e9a2222f123adcb85f9e159bc679c0b5f7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-12T11:58:32.817Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-12T11:58:33.012Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-12T11:58:33.116Z] ========================================================= [2023-04-12T11:58:33.116Z] EdgeX Global Pipelines Version Info [2023-04-12T11:58:33.116Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-12T11:58:33.867Z] ------------------- [2023-04-12T11:58:33.867Z] stable info: [2023-04-12T11:58:33.867Z] ------------------- [2023-04-12T11:58:33.867Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-04-12T11:58:33.867Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-04-12T11:58:33.867Z] Message: update stable to v1.0.245 [2023-04-12T11:58:34.443Z] ------------------- [2023-04-12T11:58:34.443Z] experimental info: [2023-04-12T11:58:34.443Z] ------------------- [2023-04-12T11:58:34.443Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-12T11:58:34.443Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-04-12T11:58:34.443Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-12T11:58:34.733Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-04-12T11:58:34.772Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-04-12T11:58:34.815Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-12T11:58:34.852Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-12T11:58:34.894Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-12T11:58:34.932Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-12T11:58:34.970Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-12T11:58:35.006Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-12T11:58:35.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-12T11:58:35.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-12T11:58:35.122Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-12T11:58:35.160Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-04-12T11:58:35.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-12T11:58:35.242Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-12T11:58:35.282Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-12T11:58:35.319Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-12T11:58:35.361Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-12T11:58:35.398Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-12T11:58:35.439Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-12T11:58:35.479Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-12T11:58:35.524Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-12T11:58:35.559Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-12T11:58:35.596Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-12T11:58:35.632Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-12T11:58:35.671Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-12T11:58:35.710Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-12T11:58:35.753Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-12T11:58:35.791Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-379 [Pipeline] echo [2023-04-12T11:58:35.831Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-379 [Pipeline] echo [2023-04-12T11:58:35.869Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-379 [Pipeline] echo [2023-04-12T11:58:35.910Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 [Pipeline] echo [2023-04-12T11:58:35.951Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ca8c965 [Pipeline] echo [2023-04-12T11:58:35.989Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-12T11:58:36.096Z] provisioning config files... [2023-04-12T11:58:36.126Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-379@tmp/config4744929038478350913tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-12T11:58:36.475Z] ---> docker-login.sh [2023-04-12T11:58:36.475Z] nexus3.edgexfoundry.org:10001 [2023-04-12T11:58:36.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T11:58:36.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T11:58:36.736Z] Configure a credential helper to remove this warning. See [2023-04-12T11:58:36.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T11:58:36.736Z] [2023-04-12T11:58:36.736Z] Login Succeeded [2023-04-12T11:58:36.998Z] nexus3.edgexfoundry.org:10002 [2023-04-12T11:58:36.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T11:58:36.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T11:58:36.998Z] Configure a credential helper to remove this warning. See [2023-04-12T11:58:36.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T11:58:36.998Z] [2023-04-12T11:58:36.998Z] Login Succeeded [2023-04-12T11:58:36.998Z] nexus3.edgexfoundry.org:10003 [2023-04-12T11:58:36.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T11:58:36.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T11:58:36.998Z] Configure a credential helper to remove this warning. See [2023-04-12T11:58:36.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T11:58:36.998Z] [2023-04-12T11:58:36.998Z] Login Succeeded [2023-04-12T11:58:36.998Z] nexus3.edgexfoundry.org:10004 [2023-04-12T11:58:37.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T11:58:37.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T11:58:37.267Z] Configure a credential helper to remove this warning. See [2023-04-12T11:58:37.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T11:58:37.267Z] [2023-04-12T11:58:37.267Z] Login Succeeded [2023-04-12T11:58:37.267Z] docker.io [2023-04-12T11:58:37.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T11:58:37.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T11:58:37.528Z] Configure a credential helper to remove this warning. See [2023-04-12T11:58:37.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T11:58:37.528Z] [2023-04-12T11:58:37.528Z] Login Succeeded [2023-04-12T11:58:37.528Z] ---> docker-login.sh ends [Pipeline] } [2023-04-12T11:58:37.553Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-12T11:58:38.169Z] + git rev-list -1 --merges ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476~1..ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 [Pipeline] echo [2023-04-12T11:58:38.231Z] -----------> git rev-list -1 --merges ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476~1..ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 [false] [Pipeline] sh [2023-04-12T11:58:38.540Z] + git log --format=format:%s -1 ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 [Pipeline] echo [2023-04-12T11:58:38.573Z] ========================================================= [2023-04-12T11:58:38.573Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-12T11:58:38.573Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-12T11:58:39.002Z] + git log --format=format:%s -1 ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 [Pipeline] echo [2023-04-12T11:58:39.033Z] [semverPrep] GIT_COMMIT: ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-04-12T11:58:39.062Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-12T11:58:39.452Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-12T11:58:39.452Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-12T11:58:39.452Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-12T11:58:39.452Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-12T11:58:39.452Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-12T11:58:39.452Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-12T11:58:39.452Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T11:58:39.978Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-12T11:58:39.978Z] [2023-04-12T11:58:39.978Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T11:58:40.363Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-12T11:58:40.363Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-12T11:58:40.363Z] b85a868b505f: Pulling fs layer [2023-04-12T11:58:40.363Z] e2be974225ed: Pulling fs layer [2023-04-12T11:58:40.363Z] 339a4e72a1f5: Pulling fs layer [2023-04-12T11:58:40.363Z] 988bab9f4d93: Pulling fs layer [2023-04-12T11:58:40.363Z] 1469e6f7b9e6: Pulling fs layer [2023-04-12T11:58:40.363Z] eaf3925da568: Pulling fs layer [2023-04-12T11:58:40.363Z] bab4dde63d76: Pulling fs layer [2023-04-12T11:58:40.363Z] bde34c3a00c8: Pulling fs layer [2023-04-12T11:58:40.363Z] b352a97aabf1: Pulling fs layer [2023-04-12T11:58:40.363Z] 4872d77fe225: Pulling fs layer [2023-04-12T11:58:40.363Z] 5851b861e8e6: Pulling fs layer [2023-04-12T11:58:40.363Z] bab4dde63d76: Waiting [2023-04-12T11:58:40.363Z] bde34c3a00c8: Waiting [2023-04-12T11:58:40.363Z] b352a97aabf1: Waiting [2023-04-12T11:58:40.363Z] 4872d77fe225: Waiting [2023-04-12T11:58:40.363Z] 5851b861e8e6: Waiting [2023-04-12T11:58:40.363Z] 988bab9f4d93: Waiting [2023-04-12T11:58:40.363Z] 1469e6f7b9e6: Waiting [2023-04-12T11:58:40.363Z] eaf3925da568: Waiting [2023-04-12T11:58:40.363Z] e2be974225ed: Verifying Checksum [2023-04-12T11:58:40.363Z] e2be974225ed: Download complete [2023-04-12T11:58:40.363Z] 988bab9f4d93: Download complete [2023-04-12T11:58:40.630Z] 339a4e72a1f5: Verifying Checksum [2023-04-12T11:58:40.630Z] 339a4e72a1f5: Download complete [2023-04-12T11:58:40.630Z] 1469e6f7b9e6: Verifying Checksum [2023-04-12T11:58:40.630Z] 1469e6f7b9e6: Download complete [2023-04-12T11:58:40.630Z] eaf3925da568: Verifying Checksum [2023-04-12T11:58:40.630Z] eaf3925da568: Download complete [2023-04-12T11:58:40.630Z] b352a97aabf1: Download complete [2023-04-12T11:58:40.630Z] 4872d77fe225: Verifying Checksum [2023-04-12T11:58:40.630Z] 4872d77fe225: Download complete [2023-04-12T11:58:40.630Z] 5851b861e8e6: Verifying Checksum [2023-04-12T11:58:40.630Z] 5851b861e8e6: Download complete [2023-04-12T11:58:40.630Z] b85a868b505f: Verifying Checksum [2023-04-12T11:58:40.630Z] b85a868b505f: Download complete [2023-04-12T11:58:40.889Z] bab4dde63d76: Verifying Checksum [2023-04-12T11:58:40.889Z] bab4dde63d76: Download complete [2023-04-12T11:58:42.270Z] b85a868b505f: Pull complete [2023-04-12T11:58:42.270Z] e2be974225ed: Pull complete [2023-04-12T11:58:42.532Z] 339a4e72a1f5: Pull complete [2023-04-12T11:58:42.791Z] 988bab9f4d93: Pull complete [2023-04-12T11:58:43.051Z] 1469e6f7b9e6: Pull complete [2023-04-12T11:58:43.051Z] eaf3925da568: Pull complete [2023-04-12T11:58:44.959Z] bab4dde63d76: Pull complete [2023-04-12T11:58:44.959Z] bde34c3a00c8: Pull complete [2023-04-12T11:58:44.959Z] b352a97aabf1: Pull complete [2023-04-12T11:58:45.222Z] 4872d77fe225: Pull complete [2023-04-12T11:58:45.222Z] 5851b861e8e6: Pull complete [2023-04-12T11:58:45.222Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-12T11:58:45.222Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-12T11:58:45.222Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T11:58:45.459Z] prd-ubuntu20.04-docker-8c-8g-7553 does not seem to be running inside a container [2023-04-12T11:58:45.501Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-379 -v /w/workspace/foundry_device-virtual-go_PR-379:/w/workspace/foundry_device-virtual-go_PR-379:rw,z -v /w/workspace/foundry_device-virtual-go_PR-379@tmp:/w/workspace/foundry_device-virtual-go_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-12T11:58:47.001Z] $ docker top caeebd172c8f68b1150d57fe676d26fdabb2609f35a894df7a1eebfa50ce7a73 -eo pid,comm [2023-04-12T11:58:47.051Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-12T11:58:47.051Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-12T11:58:47.181Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-12T11:58:47.181Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-12T11:58:47.304Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-12T11:58:47.310Z] $ docker exec caeebd172c8f68b1150d57fe676d26fdabb2609f35a894df7a1eebfa50ce7a73 ssh-agent [2023-04-12T11:58:47.418Z] SSH_AUTH_SOCK=/tmp/ssh-fZG0j9KS1rD0/agent.35 [2023-04-12T11:58:47.418Z] SSH_AGENT_PID=41 [2023-04-12T11:58:47.424Z] Running ssh-add (command line suppressed) [2023-04-12T11:58:47.527Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-379@tmp/private_key_10968967917722327724.key (/w/workspace/foundry_device-virtual-go_PR-379@tmp/private_key_10968967917722327724.key) [2023-04-12T11:58:47.542Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-12T11:58:47.867Z] + git tag --points-at HEAD [Pipeline] } [2023-04-12T11:58:47.896Z] $ docker exec --env ******** --env ******** caeebd172c8f68b1150d57fe676d26fdabb2609f35a894df7a1eebfa50ce7a73 ssh-agent -k [2023-04-12T11:58:47.996Z] unset SSH_AUTH_SOCK; [2023-04-12T11:58:47.996Z] unset SSH_AGENT_PID; [2023-04-12T11:58:47.997Z] echo Agent pid 41 killed; [2023-04-12T11:58:48.007Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-12T11:58:48.094Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-12T11:58:48.094Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-12T11:58:48.200Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-12T11:58:48.205Z] $ docker exec caeebd172c8f68b1150d57fe676d26fdabb2609f35a894df7a1eebfa50ce7a73 ssh-agent [2023-04-12T11:58:48.302Z] SSH_AUTH_SOCK=/tmp/ssh-RCEyXqFaJj9Q/agent.74 [2023-04-12T11:58:48.302Z] SSH_AGENT_PID=81 [2023-04-12T11:58:48.307Z] Running ssh-add (command line suppressed) [2023-04-12T11:58:48.412Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-379@tmp/private_key_16667451822059812911.key (/w/workspace/foundry_device-virtual-go_PR-379@tmp/private_key_16667451822059812911.key) [2023-04-12T11:58:48.423Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-12T11:58:48.753Z] + git semver init [2023-04-12T11:58:49.013Z] 2023-04-12 11:58:48,954 [run_init] DEBUG init version:0.0.0 force:False [2023-04-12T11:58:49.013Z] 2023-04-12 11:58:48,954 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-379/.semver [2023-04-12T11:58:49.013Z] 2023-04-12 11:58:48,955 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-379/.semver [2023-04-12T11:58:49.013Z] 2023-04-12 11:58:48,955 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-379/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-379, universal_newlines=False, shell=None, istream=None) [2023-04-12T11:58:50.393Z] 2023-04-12 11:58:50,033 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-379/.git/info/exclude [2023-04-12T11:58:50.393Z] 2023-04-12 11:58:50,034 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-379/.semver/PR-379 with force:False [2023-04-12T11:58:50.393Z] 2023-04-12 11:58:50,034 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-379/.semver/PR-379 [2023-04-12T11:58:50.393Z] 2023-04-12 11:58:50,038 [execute] INFO git cat-file --batch-check [2023-04-12T11:58:50.393Z] 2023-04-12 11:58:50,039 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-379/.semver, universal_newlines=False, shell=None, istream=) [2023-04-12T11:58:50.393Z] 2023-04-12 11:58:50,046 [execute] INFO git cat-file --batch [2023-04-12T11:58:50.393Z] 2023-04-12 11:58:50,046 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-379/.semver, universal_newlines=False, shell=None, istream=) [2023-04-12T11:58:50.393Z] 2023-04-12 11:58:50,052 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-379/.semver/PR-379 [2023-04-12T11:58:50.393Z] 0.0.0 [Pipeline] } [2023-04-12T11:58:50.422Z] $ docker exec --env ******** --env ******** caeebd172c8f68b1150d57fe676d26fdabb2609f35a894df7a1eebfa50ce7a73 ssh-agent -k [2023-04-12T11:58:50.513Z] unset SSH_AUTH_SOCK; [2023-04-12T11:58:50.514Z] unset SSH_AGENT_PID; [2023-04-12T11:58:50.514Z] echo Agent pid 81 killed; [2023-04-12T11:58:50.519Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-12T11:58:50.951Z] + git semver [Pipeline] } [2023-04-12T11:58:51.235Z] $ docker stop --time=1 caeebd172c8f68b1150d57fe676d26fdabb2609f35a894df7a1eebfa50ce7a73 [2023-04-12T11:58:52.537Z] $ docker rm -f --volumes caeebd172c8f68b1150d57fe676d26fdabb2609f35a894df7a1eebfa50ce7a73 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-12T11:58:52.932Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-12T11:58:53.191Z] Stashed 1 file(s) [Pipeline] echo [2023-04-12T11:58:53.206Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-12T11:58:53.790Z] provisioning config files... [2023-04-12T11:58:53.800Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-379@tmp/config17002059823976785389tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-12T11:58:54.147Z] ---> docker-login.sh [2023-04-12T11:58:54.147Z] nexus3.edgexfoundry.org:10001 [2023-04-12T11:58:54.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T11:58:54.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T11:58:54.147Z] Configure a credential helper to remove this warning. See [2023-04-12T11:58:54.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T11:58:54.147Z] [2023-04-12T11:58:54.147Z] Login Succeeded [2023-04-12T11:58:54.147Z] nexus3.edgexfoundry.org:10002 [2023-04-12T11:58:54.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T11:58:54.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T11:58:54.147Z] Configure a credential helper to remove this warning. See [2023-04-12T11:58:54.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T11:58:54.147Z] [2023-04-12T11:58:54.147Z] Login Succeeded [2023-04-12T11:58:54.147Z] nexus3.edgexfoundry.org:10003 [2023-04-12T11:58:54.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T11:58:54.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T11:58:54.405Z] Configure a credential helper to remove this warning. See [2023-04-12T11:58:54.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T11:58:54.405Z] [2023-04-12T11:58:54.405Z] Login Succeeded [2023-04-12T11:58:54.405Z] nexus3.edgexfoundry.org:10004 [2023-04-12T11:58:54.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T11:58:54.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T11:58:54.405Z] Configure a credential helper to remove this warning. See [2023-04-12T11:58:54.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T11:58:54.406Z] [2023-04-12T11:58:54.406Z] Login Succeeded [2023-04-12T11:58:54.406Z] docker.io [2023-04-12T11:58:54.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T11:58:54.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T11:58:54.924Z] Configure a credential helper to remove this warning. See [2023-04-12T11:58:54.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T11:58:54.924Z] [2023-04-12T11:58:54.924Z] Login Succeeded [2023-04-12T11:58:54.924Z] ---> docker-login.sh ends [Pipeline] } [2023-04-12T11:58:54.950Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-12T11:58:55.163Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-12T11:58:55.202Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-12T11:58:55.238Z] ========================================================= [2023-04-12T11:58:55.238Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-12T11:58:55.238Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T11:58:55.713Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-12T11:58:55.713Z] Sending build context to Docker daemon 23.54MB [2023-04-12T11:58:55.713Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-12T11:58:55.713Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-12T11:58:55.713Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-12T11:58:55.713Z] 63b65145d645: Pulling fs layer [2023-04-12T11:58:55.713Z] a2d21d5440eb: Pulling fs layer [2023-04-12T11:58:55.713Z] 935e6c44a52c: Pulling fs layer [2023-04-12T11:58:55.713Z] 94cc34f8dd06: Pulling fs layer [2023-04-12T11:58:55.713Z] 30dea6a524f1: Pulling fs layer [2023-04-12T11:58:55.713Z] a2aff8979fd8: Pulling fs layer [2023-04-12T11:58:55.713Z] 6808be2612f2: Pulling fs layer [2023-04-12T11:58:55.713Z] f25807f1079a: Pulling fs layer [2023-04-12T11:58:55.713Z] a2aff8979fd8: Waiting [2023-04-12T11:58:55.713Z] 94cc34f8dd06: Waiting [2023-04-12T11:58:55.713Z] f25807f1079a: Waiting [2023-04-12T11:58:55.713Z] 6808be2612f2: Waiting [2023-04-12T11:58:55.974Z] a2d21d5440eb: Download complete [2023-04-12T11:58:55.974Z] 94cc34f8dd06: Verifying Checksum [2023-04-12T11:58:55.974Z] 94cc34f8dd06: Download complete [2023-04-12T11:58:55.974Z] 30dea6a524f1: Verifying Checksum [2023-04-12T11:58:55.974Z] 30dea6a524f1: Download complete [2023-04-12T11:58:55.974Z] 63b65145d645: Verifying Checksum [2023-04-12T11:58:55.974Z] 63b65145d645: Download complete [2023-04-12T11:58:55.974Z] a2aff8979fd8: Verifying Checksum [2023-04-12T11:58:55.974Z] a2aff8979fd8: Download complete [2023-04-12T11:58:55.974Z] 63b65145d645: Pull complete [2023-04-12T11:58:56.233Z] a2d21d5440eb: Pull complete [2023-04-12T11:58:56.233Z] f25807f1079a: Verifying Checksum [2023-04-12T11:58:56.233Z] f25807f1079a: Download complete [2023-04-12T11:58:56.492Z] 935e6c44a52c: Verifying Checksum [2023-04-12T11:58:56.492Z] 935e6c44a52c: Download complete [2023-04-12T11:58:56.750Z] 6808be2612f2: Verifying Checksum [2023-04-12T11:58:56.750Z] 6808be2612f2: Download complete [2023-04-12T11:59:00.043Z] 935e6c44a52c: Pull complete [2023-04-12T11:59:00.043Z] 94cc34f8dd06: Pull complete [2023-04-12T11:59:00.043Z] 30dea6a524f1: Pull complete [2023-04-12T11:59:00.302Z] a2aff8979fd8: Pull complete [2023-04-12T11:59:02.832Z] 6808be2612f2: Pull complete [2023-04-12T11:59:03.091Z] f25807f1079a: Pull complete [2023-04-12T11:59:03.091Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-12T11:59:03.091Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-12T11:59:03.091Z] ---> 3b553350e43f [2023-04-12T11:59:03.091Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-12T11:59:04.995Z] ---> Running in 47f402e5073e [2023-04-12T11:59:04.995Z] Removing intermediate container 47f402e5073e [2023-04-12T11:59:04.995Z] ---> b31602a49a7d [2023-04-12T11:59:04.995Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-12T11:59:04.995Z] ---> Running in 79f83eb460f0 [2023-04-12T11:59:05.255Z] Removing intermediate container 79f83eb460f0 [2023-04-12T11:59:05.255Z] ---> d4b2422af220 [2023-04-12T11:59:05.255Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-04-12T11:59:05.255Z] ---> Running in d2ed39c6cfa7 [2023-04-12T11:59:05.255Z] Removing intermediate container d2ed39c6cfa7 [2023-04-12T11:59:05.255Z] ---> 6dd6e2fe1d35 [2023-04-12T11:59:05.255Z] Step 6/12 : WORKDIR /device-virtual-go [2023-04-12T11:59:05.514Z] ---> Running in 4b16f01514e2 [2023-04-12T11:59:05.514Z] Removing intermediate container 4b16f01514e2 [2023-04-12T11:59:05.514Z] ---> 7bfa8ced8414 [2023-04-12T11:59:05.514Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-12T11:59:05.514Z] ---> Running in ca5f9cbed06e [2023-04-12T11:59:05.772Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-12T11:59:06.031Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-12T11:59:06.289Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-12T11:59:06.289Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-12T11:59:06.289Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-12T11:59:06.289Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-12T11:59:06.289Z] Executing busybox-1.35.0-r29.trigger [2023-04-12T11:59:06.289Z] OK: 269 MiB in 57 packages [2023-04-12T11:59:06.857Z] Removing intermediate container ca5f9cbed06e [2023-04-12T11:59:06.857Z] ---> 8eda1284c922 [2023-04-12T11:59:06.857Z] Step 8/12 : COPY go.mod vendor* ./ [2023-04-12T11:59:06.857Z] ---> ec137c4d502e [2023-04-12T11:59:06.857Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-12T11:59:06.857Z] ---> Running in 28c2cf20ed91 [2023-04-12T11:59:08.621Z] Still waiting to schedule task [2023-04-12T11:59:08.621Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-12T11:59:28.787Z] Removing intermediate container 28c2cf20ed91 [2023-04-12T11:59:28.787Z] ---> f247b8617ddb [2023-04-12T11:59:28.787Z] Step 10/12 : COPY . . [2023-04-12T11:59:29.045Z] ---> 15d8056503b7 [2023-04-12T11:59:29.045Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-12T11:59:29.045Z] ---> Running in b516297ed96e [2023-04-12T11:59:29.045Z] Removing intermediate container b516297ed96e [2023-04-12T11:59:29.045Z] ---> 8dcdec9428f0 [2023-04-12T11:59:29.045Z] Step 12/12 : RUN $MAKE [2023-04-12T11:59:29.045Z] ---> Running in abef5a9945be [2023-04-12T11:59:29.302Z] noop [2023-04-12T11:59:29.560Z] Removing intermediate container abef5a9945be [2023-04-12T11:59:29.560Z] ---> bf2d4c677f6f [2023-04-12T11:59:29.560Z] Successfully built bf2d4c677f6f [2023-04-12T11:59:29.560Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T11:59:30.053Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-12T11:59:30.053Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T11:59:30.207Z] prd-ubuntu20.04-docker-8c-8g-7553 does not seem to be running inside a container [2023-04-12T11:59:30.237Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-379 -v /w/workspace/foundry_device-virtual-go_PR-379:/w/workspace/foundry_device-virtual-go_PR-379:rw,z -v /w/workspace/foundry_device-virtual-go_PR-379@tmp:/w/workspace/foundry_device-virtual-go_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-12T11:59:30.613Z] $ docker top 2bf7a0701d948ec989a1644b1c7f113e8c347f339bb7bb95ffedff3c44d3a80c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T11:59:31.001Z] + go version [2023-04-12T11:59:31.001Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-12T11:59:31.039Z] $ docker stop --time=1 2bf7a0701d948ec989a1644b1c7f113e8c347f339bb7bb95ffedff3c44d3a80c [2023-04-12T11:59:32.314Z] $ docker rm -f --volumes 2bf7a0701d948ec989a1644b1c7f113e8c347f339bb7bb95ffedff3c44d3a80c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T11:59:33.017Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-12T11:59:33.017Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T11:59:33.179Z] prd-ubuntu20.04-docker-8c-8g-7553 does not seem to be running inside a container [2023-04-12T11:59:33.212Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-379 -v /w/workspace/foundry_device-virtual-go_PR-379:/w/workspace/foundry_device-virtual-go_PR-379:rw,z -v /w/workspace/foundry_device-virtual-go_PR-379@tmp:/w/workspace/foundry_device-virtual-go_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-12T11:59:33.595Z] $ docker top 07a270220436ea13e8bec140a8895a19fd889b0c3124b312c5621a51d83e2894 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T11:59:33.984Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-379 [Pipeline] fileExists [Pipeline] sh [2023-04-12T11:59:34.336Z] + make test [2023-04-12T11:59:34.336Z] go test ./... -coverprofile=coverage.out [2023-04-12T11:59:38.519Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-04-12T11:59:48.482Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-04-12T11:59:48.482Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.021s coverage: 58.7% of statements [2023-04-12T11:59:53.748Z] go vet ./... [2023-04-12T11:59:57.936Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-12T11:59:57.936Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-12T11:59:57.936Z] ./bin/test-attribution-txt.sh [2023-04-12T11:59:57.936Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-12T11:59:57.970Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-12T11:59:58.004Z] $ docker stop --time=1 07a270220436ea13e8bec140a8895a19fd889b0c3124b312c5621a51d83e2894 [2023-04-12T12:00:00.106Z] $ docker rm -f --volumes 07a270220436ea13e8bec140a8895a19fd889b0c3124b312c5621a51d83e2894 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-12T12:00:00.688Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-12T12:00:00.794Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-12T12:00:01.502Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-12T12:00:01.818Z] + ls -al . [2023-04-12T12:00:01.818Z] total 192 [2023-04-12T12:00:01.818Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 12 11:59 . [2023-04-12T12:00:01.818Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 11:58 .. [2023-04-12T12:00:01.818Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 11:58 .git [2023-04-12T12:00:01.818Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 11:58 .github [2023-04-12T12:00:01.818Z] -rw-rw-r-- 1 jenkins jenkins 337 Apr 12 11:58 .gitignore [2023-04-12T12:00:01.818Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 12 11:58 .golangci.yml [2023-04-12T12:00:01.818Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 11:58 .semver [2023-04-12T12:00:01.818Z] -rw-rw-r-- 1 jenkins jenkins 8641 Apr 12 11:58 Attribution.txt [2023-04-12T12:00:01.818Z] -rw-rw-r-- 1 jenkins jenkins 11367 Apr 12 11:58 CHANGELOG.md [2023-04-12T12:00:01.818Z] -rw-rw-r-- 1 jenkins jenkins 1646 Apr 12 11:58 Dockerfile [2023-04-12T12:00:01.818Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 11:58 GOVERNANCE.md [2023-04-12T12:00:01.818Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 12 11:58 Jenkinsfile [2023-04-12T12:00:01.818Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 12 11:58 LICENSE [2023-04-12T12:00:01.818Z] -rw-rw-r-- 1 jenkins jenkins 1696 Apr 12 11:58 Makefile [2023-04-12T12:00:01.818Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 12 11:58 OWNERS.md [2023-04-12T12:00:01.818Z] -rw-rw-r-- 1 jenkins jenkins 3578 Apr 12 11:58 README.md [2023-04-12T12:00:01.818Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 11:58 VERSION [2023-04-12T12:00:01.818Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 11:58 bin [2023-04-12T12:00:01.818Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 11:58 cmd [2023-04-12T12:00:01.818Z] -rw-r--r-- 1 jenkins jenkins 42970 Apr 12 11:59 coverage.out [2023-04-12T12:00:01.818Z] -rw-rw-r-- 1 jenkins jenkins 3209 Apr 12 11:58 go.mod [2023-04-12T12:00:01.818Z] -rw-rw-r-- 1 jenkins jenkins 31219 Apr 12 11:58 go.sum [2023-04-12T12:00:01.818Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 11:58 internal [2023-04-12T12:00:01.818Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 11:58 snap [2023-04-12T12:00:01.818Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 12 11:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T12:00:02.214Z] + 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=ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 --label arch=amd64 --label version=0.0.0 . [2023-04-12T12:00:02.214Z] Sending build context to Docker daemon 23.58MB [2023-04-12T12:00:02.214Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-12T12:00:02.214Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-12T12:00:02.214Z] ---> bf2d4c677f6f [2023-04-12T12:00:02.214Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-12T12:00:02.473Z] ---> Running in 0c9782bab811 [2023-04-12T12:00:02.473Z] Removing intermediate container 0c9782bab811 [2023-04-12T12:00:02.473Z] ---> e930fc7cd5c6 [2023-04-12T12:00:02.473Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-12T12:00:02.473Z] ---> Running in 0d89fdcf5e6e [2023-04-12T12:00:02.739Z] Removing intermediate container 0d89fdcf5e6e [2023-04-12T12:00:02.739Z] ---> 5626b1fca135 [2023-04-12T12:00:02.739Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-04-12T12:00:02.739Z] ---> Running in 9f7e5bd9268f [2023-04-12T12:00:02.739Z] Removing intermediate container 9f7e5bd9268f [2023-04-12T12:00:02.739Z] ---> d6e3718c3912 [2023-04-12T12:00:02.739Z] Step 6/25 : WORKDIR /device-virtual-go [2023-04-12T12:00:02.739Z] ---> Running in 7779b064c0c4 [2023-04-12T12:00:02.739Z] Removing intermediate container 7779b064c0c4 [2023-04-12T12:00:02.739Z] ---> 698a937cd83e [2023-04-12T12:00:02.739Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-12T12:00:02.997Z] ---> Running in 53a03bcb89ee [2023-04-12T12:00:03.256Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-12T12:00:03.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-12T12:00:03.517Z] OK: 269 MiB in 57 packages [2023-04-12T12:00:03.775Z] Removing intermediate container 53a03bcb89ee [2023-04-12T12:00:03.775Z] ---> 53d7fced064c [2023-04-12T12:00:03.775Z] Step 8/25 : COPY go.mod vendor* ./ [2023-04-12T12:00:03.775Z] ---> cb985086e7b5 [2023-04-12T12:00:03.775Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-12T12:00:04.033Z] ---> Running in 5563069de366 [2023-04-12T12:00:04.601Z] Removing intermediate container 5563069de366 [2023-04-12T12:00:04.601Z] ---> 93a3fad059ae [2023-04-12T12:00:04.601Z] Step 10/25 : COPY . . [2023-04-12T12:00:05.169Z] ---> 1fc9cc5d76b8 [2023-04-12T12:00:05.169Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-12T12:00:05.169Z] ---> Running in 3575b86f87ae [2023-04-12T12:00:05.428Z] Removing intermediate container 3575b86f87ae [2023-04-12T12:00:05.428Z] ---> a0adaa9f9d6c [2023-04-12T12:00:05.428Z] Step 12/25 : RUN $MAKE [2023-04-12T12:00:05.428Z] ---> Running in 30d157e0fdc0 [2023-04-12T12:00:05.686Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-04-12T12:00:23.760Z] Removing intermediate container 30d157e0fdc0 [2023-04-12T12:00:23.760Z] ---> f8466c00599f [2023-04-12T12:00:23.760Z] Step 13/25 : FROM alpine:3.17 [2023-04-12T12:00:23.760Z] 3.17: Pulling from library/alpine [2023-04-12T12:00:23.760Z] f56be85fc22e: Pulling fs layer [2023-04-12T12:00:23.760Z] f56be85fc22e: Verifying Checksum [2023-04-12T12:00:23.760Z] f56be85fc22e: Download complete [2023-04-12T12:00:23.760Z] f56be85fc22e: Pull complete [2023-04-12T12:00:23.760Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-12T12:00:23.760Z] Status: Downloaded newer image for alpine:3.17 [2023-04-12T12:00:23.760Z] ---> 9ed4aefc74f6 [2023-04-12T12:00:23.760Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-04-12T12:00:23.760Z] ---> Running in dd41c6528c32 [2023-04-12T12:00:23.760Z] Removing intermediate container dd41c6528c32 [2023-04-12T12:00:23.760Z] ---> 4745dc4e48f6 [2023-04-12T12:00:23.760Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-04-12T12:00:23.760Z] ---> Running in 5bef8e173b8b [2023-04-12T12:00:23.760Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-12T12:00:23.760Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-12T12:00:23.760Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-12T12:00:23.760Z] Executing busybox-1.35.0-r29.trigger [2023-04-12T12:00:23.760Z] OK: 7 MiB in 16 packages [2023-04-12T12:00:23.760Z] Removing intermediate container 5bef8e173b8b [2023-04-12T12:00:23.760Z] ---> ba5d1729a372 [2023-04-12T12:00:23.760Z] Step 16/25 : WORKDIR / [2023-04-12T12:00:23.760Z] ---> Running in 84dd08b8342e [2023-04-12T12:00:23.760Z] Removing intermediate container 84dd08b8342e [2023-04-12T12:00:23.760Z] ---> e055327ada89 [2023-04-12T12:00:23.760Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-04-12T12:00:23.760Z] ---> 48c219b0f7d9 [2023-04-12T12:00:23.760Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-04-12T12:00:23.760Z] ---> 364fd5318010 [2023-04-12T12:00:23.760Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-04-12T12:00:24.329Z] ---> e9b8461f6737 [2023-04-12T12:00:24.329Z] Step 20/25 : EXPOSE 59900 [2023-04-12T12:00:24.329Z] ---> Running in 7cdfe5af4f34 [2023-04-12T12:00:24.329Z] Removing intermediate container 7cdfe5af4f34 [2023-04-12T12:00:24.329Z] ---> d13dd85e839f [2023-04-12T12:00:24.329Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-04-12T12:00:24.588Z] ---> Running in 2b3c25f86414 [2023-04-12T12:00:24.588Z] Removing intermediate container 2b3c25f86414 [2023-04-12T12:00:24.588Z] ---> a10b746bc01c [2023-04-12T12:00:24.588Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-12T12:00:24.588Z] ---> Running in 3e65d23df0f7 [2023-04-12T12:00:24.588Z] Removing intermediate container 3e65d23df0f7 [2023-04-12T12:00:24.588Z] ---> 8f45a7f30b05 [2023-04-12T12:00:24.588Z] Step 23/25 : LABEL arch=amd64 [2023-04-12T12:00:24.588Z] ---> Running in 2ddc89629f69 [2023-04-12T12:00:24.847Z] Removing intermediate container 2ddc89629f69 [2023-04-12T12:00:24.847Z] ---> 35c059b4bb3e [2023-04-12T12:00:24.847Z] Step 24/25 : LABEL git_sha=ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 [2023-04-12T12:00:24.847Z] ---> Running in 5a58de06394c [2023-04-12T12:00:24.847Z] Removing intermediate container 5a58de06394c [2023-04-12T12:00:24.847Z] ---> d8030808b6e4 [2023-04-12T12:00:24.847Z] Step 25/25 : LABEL version=0.0.0 [2023-04-12T12:00:24.847Z] ---> Running in 8b60b23f63e8 [2023-04-12T12:00:25.107Z] Removing intermediate container 8b60b23f63e8 [2023-04-12T12:00:25.107Z] ---> c2c0ca1ba7de [2023-04-12T12:00:25.107Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-12T12:00:25.107Z] Successfully built c2c0ca1ba7de [2023-04-12T12:00:25.107Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T12:00:26.011Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-12T12:00:26.012Z] [2023-04-12T12:00:26.012Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T12:00:26.394Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-12T12:00:26.395Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-12T12:00:26.395Z] 5eb5b503b376: Pulling fs layer [2023-04-12T12:00:26.395Z] 5c69ac0246d0: Pulling fs layer [2023-04-12T12:00:26.395Z] ec43610c2a17: Pulling fs layer [2023-04-12T12:00:26.395Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-12T12:00:26.395Z] 33b1e0a273af: Pulling fs layer [2023-04-12T12:00:26.395Z] 5d3b04190fa2: Pulling fs layer [2023-04-12T12:00:26.395Z] 2f39f015ded8: Pulling fs layer [2023-04-12T12:00:26.395Z] 3a2ae6a8a46f: Waiting [2023-04-12T12:00:26.395Z] 33b1e0a273af: Waiting [2023-04-12T12:00:26.395Z] 5d3b04190fa2: Waiting [2023-04-12T12:00:26.395Z] 2f39f015ded8: Waiting [2023-04-12T12:00:26.395Z] 5c69ac0246d0: Download complete [2023-04-12T12:00:26.395Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-12T12:00:26.395Z] 3a2ae6a8a46f: Download complete [2023-04-12T12:00:26.395Z] ec43610c2a17: Verifying Checksum [2023-04-12T12:00:26.395Z] ec43610c2a17: Download complete [2023-04-12T12:00:26.395Z] 33b1e0a273af: Verifying Checksum [2023-04-12T12:00:26.395Z] 33b1e0a273af: Download complete [2023-04-12T12:00:26.395Z] 5d3b04190fa2: Download complete [2023-04-12T12:00:26.654Z] 5eb5b503b376: Verifying Checksum [2023-04-12T12:00:26.654Z] 5eb5b503b376: Download complete [2023-04-12T12:00:27.221Z] 2f39f015ded8: Verifying Checksum [2023-04-12T12:00:27.221Z] 2f39f015ded8: Download complete [2023-04-12T12:00:27.788Z] 5eb5b503b376: Pull complete [2023-04-12T12:00:28.045Z] 5c69ac0246d0: Pull complete [2023-04-12T12:00:28.302Z] ec43610c2a17: Pull complete [2023-04-12T12:00:28.302Z] 3a2ae6a8a46f: Pull complete [2023-04-12T12:00:28.560Z] 33b1e0a273af: Pull complete [2023-04-12T12:00:28.560Z] 5d3b04190fa2: Pull complete [2023-04-12T12:00:32.746Z] 2f39f015ded8: Pull complete [2023-04-12T12:00:32.746Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-12T12:00:32.746Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-12T12:00:32.746Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T12:00:32.973Z] prd-ubuntu20.04-docker-8c-8g-7553 does not seem to be running inside a container [2023-04-12T12:00:33.003Z] $ 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-379 -v /w/workspace/foundry_device-virtual-go_PR-379:/w/workspace/foundry_device-virtual-go_PR-379:rw,z -v /w/workspace/foundry_device-virtual-go_PR-379@tmp:/w/workspace/foundry_device-virtual-go_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-12T12:00:34.745Z] $ docker top a661c74747d5d283e51b9ce624dcebebf544aeedd01eafa93dcd53ffd782009a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-12T12:00:35.198Z] ---> job-cost.sh [2023-04-12T12:00:35.198Z] lf-activate-venv: SKIPPING [2023-04-12T12:00:35.198Z] INFO: No Stack... [2023-04-12T12:00:35.456Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-12T12:00:35.784Z] INFO: Archiving Costs [Pipeline] sh [2023-04-12T12:00:36.093Z] + cat /w/workspace/foundry_device-virtual-go_PR-379/archives/cost.csv [2023-04-12T12:00:36.093Z] + cut -d, -f6 [Pipeline] lock [2023-04-12T12:00:36.135Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-379-1-stack-cost] [2023-04-12T12:00:36.140Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-379-1-stack-cost] did not exist. Created. [2023-04-12T12:00:36.140Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-379-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-12T12:00:36.540Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-12T12:00:36.589Z] Stashed 1 file(s) [Pipeline] } [2023-04-12T12:00:36.621Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-379-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-12T12:00:36.702Z] $ docker stop --time=1 a661c74747d5d283e51b9ce624dcebebf544aeedd01eafa93dcd53ffd782009a [2023-04-12T12:00:37.875Z] $ docker rm -f --volumes a661c74747d5d283e51b9ce624dcebebf544aeedd01eafa93dcd53ffd782009a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-12T12:00:39.498Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7554 in /w/workspace/foundry_device-virtual-go_PR-379 [Pipeline] { [Pipeline] ws [2023-04-12T12:00:39.557Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-04-12T12:00:39.637Z] The recommended git tool is: git [2023-04-12T12:00:44.432Z] using credential edgex-jenkins-ssh [2023-04-12T12:00:44.448Z] Cloning the remote Git repository [2023-04-12T12:00:44.499Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-04-12T12:00:44.591Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-04-12T12:00:44.725Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-04-12T12:00:44.726Z] > git --version # timeout=10 [2023-04-12T12:00:44.747Z] > git --version # 'git version 2.25.1' [2023-04-12T12:00:44.750Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-12T12:00:44.899Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-12T12:00:46.851Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-04-12T12:00:46.873Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-12T12:00:47.616Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-04-12T12:00:47.659Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-04-12T12:00:47.660Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-12T12:00:47.674Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/379/head:refs/remotes/origin/PR-379 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-12T12:00:48.349Z] Merging remotes/origin/main commit 626db8e9a2222f123adcb85f9e159bc679c0b5f7 into PR head commit ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 [2023-04-12T12:00:48.586Z] Merge succeeded, producing ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 [2023-04-12T12:00:48.586Z] Checking out Revision ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 (PR-379) [2023-04-12T12:00:49.027Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-04-12T12:00:49.073Z] > git --version # timeout=10 [2023-04-12T12:00:49.088Z] > git --version # 'git version 2.25.1' [2023-04-12T12:00:49.107Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-04-12T12:00:48.369Z] > git config core.sparsecheckout # timeout=10 [2023-04-12T12:00:48.430Z] > git checkout -f ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 # timeout=10 [2023-04-12T12:00:48.507Z] > git remote # timeout=10 [2023-04-12T12:00:48.524Z] > git config --get remote.origin.url # timeout=10 [2023-04-12T12:00:48.536Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-12T12:00:48.548Z] > git merge 626db8e9a2222f123adcb85f9e159bc679c0b5f7 # timeout=10 [2023-04-12T12:00:48.571Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-12T12:00:48.595Z] > git config core.sparsecheckout # timeout=10 [2023-04-12T12:00:48.607Z] > git checkout -f ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-12T12:00:50.268Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-12T12:00:50.268Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-12T12:00:50.268Z] Dload Upload Total Spent Left Speed [2023-04-12T12:00:50.268Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh [2023-04-12T12:00:50.889Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-12T12:00:51.235Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-12T12:00:51.236Z] + sudo tee /etc/docker/daemon.new [2023-04-12T12:00:51.236Z] { [2023-04-12T12:00:51.236Z] "registry-mirrors": [ [2023-04-12T12:00:51.236Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-12T12:00:51.236Z] ], [2023-04-12T12:00:51.236Z] "bip": "10.250.0.254/24", [2023-04-12T12:00:51.236Z] "hosts": [ [2023-04-12T12:00:51.236Z] "tcp://0.0.0.0:5555", [2023-04-12T12:00:51.236Z] "unix:///var/run/docker.sock" [2023-04-12T12:00:51.236Z] ], [2023-04-12T12:00:51.236Z] "mtu": 1458, [2023-04-12T12:00:51.236Z] "selinux-enabled": true, [2023-04-12T12:00:51.236Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-12T12:00:51.236Z] } [Pipeline] sh [2023-04-12T12:00:51.573Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-12T12:00:51.924Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-12T12:01:10.242Z] provisioning config files... [2023-04-12T12:01:10.272Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config4949361875244897939tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-12T12:01:10.655Z] ---> docker-login.sh [2023-04-12T12:01:10.655Z] nexus3.edgexfoundry.org:10001 [2023-04-12T12:01:10.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T12:01:11.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T12:01:11.193Z] Configure a credential helper to remove this warning. See [2023-04-12T12:01:11.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T12:01:11.193Z] [2023-04-12T12:01:11.193Z] Login Succeeded [2023-04-12T12:01:11.193Z] nexus3.edgexfoundry.org:10002 [2023-04-12T12:01:11.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T12:01:11.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T12:01:11.463Z] Configure a credential helper to remove this warning. See [2023-04-12T12:01:11.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T12:01:11.463Z] [2023-04-12T12:01:11.463Z] Login Succeeded [2023-04-12T12:01:11.463Z] nexus3.edgexfoundry.org:10003 [2023-04-12T12:01:11.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T12:01:12.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T12:01:12.008Z] Configure a credential helper to remove this warning. See [2023-04-12T12:01:12.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T12:01:12.008Z] [2023-04-12T12:01:12.008Z] Login Succeeded [2023-04-12T12:01:12.008Z] nexus3.edgexfoundry.org:10004 [2023-04-12T12:01:12.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T12:01:12.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T12:01:12.281Z] Configure a credential helper to remove this warning. See [2023-04-12T12:01:12.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T12:01:12.281Z] [2023-04-12T12:01:12.281Z] Login Succeeded [2023-04-12T12:01:12.281Z] docker.io [2023-04-12T12:01:12.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T12:01:12.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T12:01:12.817Z] Configure a credential helper to remove this warning. See [2023-04-12T12:01:12.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T12:01:12.817Z] [2023-04-12T12:01:12.817Z] Login Succeeded [2023-04-12T12:01:12.817Z] ---> docker-login.sh ends [Pipeline] } [2023-04-12T12:01:12.846Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-12T12:01:13.210Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-12T12:01:13.250Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-12T12:01:13.282Z] ========================================================= [2023-04-12T12:01:13.282Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-12T12:01:13.282Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T12:01:13.771Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-12T12:01:14.039Z] Sending build context to Docker daemon 11.92MB [2023-04-12T12:01:14.314Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-12T12:01:14.314Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-12T12:01:14.314Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-12T12:01:14.314Z] af6eaf76a39c: Pulling fs layer [2023-04-12T12:01:14.314Z] 55522c791124: Pulling fs layer [2023-04-12T12:01:14.314Z] ce5c4a1c91eb: Pulling fs layer [2023-04-12T12:01:14.314Z] 169dfbe0d373: Pulling fs layer [2023-04-12T12:01:14.314Z] e1ff8fa3b103: Pulling fs layer [2023-04-12T12:01:14.314Z] 52ebb69f0ebf: Pulling fs layer [2023-04-12T12:01:14.314Z] 5abe8eddf0d5: Pulling fs layer [2023-04-12T12:01:14.314Z] 169dfbe0d373: Waiting [2023-04-12T12:01:14.314Z] e1ff8fa3b103: Waiting [2023-04-12T12:01:14.314Z] 5abe8eddf0d5: Waiting [2023-04-12T12:01:14.314Z] 52ebb69f0ebf: Waiting [2023-04-12T12:01:14.314Z] 55522c791124: Download complete [2023-04-12T12:01:14.314Z] 169dfbe0d373: Verifying Checksum [2023-04-12T12:01:14.314Z] 169dfbe0d373: Download complete [2023-04-12T12:01:14.314Z] e1ff8fa3b103: Verifying Checksum [2023-04-12T12:01:14.314Z] e1ff8fa3b103: Download complete [2023-04-12T12:01:14.314Z] af6eaf76a39c: Verifying Checksum [2023-04-12T12:01:14.314Z] af6eaf76a39c: Download complete [2023-04-12T12:01:15.280Z] af6eaf76a39c: Pull complete [2023-04-12T12:01:15.550Z] 5abe8eddf0d5: Verifying Checksum [2023-04-12T12:01:15.550Z] 5abe8eddf0d5: Download complete [2023-04-12T12:01:16.957Z] ce5c4a1c91eb: Verifying Checksum [2023-04-12T12:01:16.957Z] ce5c4a1c91eb: Download complete [2023-04-12T12:01:16.957Z] 52ebb69f0ebf: Verifying Checksum [2023-04-12T12:01:16.957Z] 52ebb69f0ebf: Download complete [2023-04-12T12:01:19.531Z] 55522c791124: Pull complete [2023-04-12T12:01:29.713Z] ce5c4a1c91eb: Pull complete [2023-04-12T12:01:29.713Z] 169dfbe0d373: Pull complete [2023-04-12T12:01:29.713Z] e1ff8fa3b103: Pull complete [2023-04-12T12:01:35.056Z] 52ebb69f0ebf: Pull complete [2023-04-12T12:01:36.464Z] 5abe8eddf0d5: Pull complete [2023-04-12T12:01:36.464Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-12T12:01:36.464Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-12T12:01:36.464Z] ---> 6cb57ee374ae [2023-04-12T12:01:36.464Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-12T12:01:38.407Z] ---> Running in ea9f9c1f08a8 [2023-04-12T12:01:38.407Z] Removing intermediate container ea9f9c1f08a8 [2023-04-12T12:01:38.407Z] ---> 928ce11952f4 [2023-04-12T12:01:38.407Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-12T12:01:38.674Z] ---> Running in 9d76bb3c38b9 [2023-04-12T12:01:38.940Z] Removing intermediate container 9d76bb3c38b9 [2023-04-12T12:01:38.940Z] ---> c9091b008502 [2023-04-12T12:01:38.940Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-04-12T12:01:38.940Z] ---> Running in a619101ffb17 [2023-04-12T12:01:39.208Z] Removing intermediate container a619101ffb17 [2023-04-12T12:01:39.208Z] ---> 2ca629212415 [2023-04-12T12:01:39.208Z] Step 6/12 : WORKDIR /device-virtual-go [2023-04-12T12:01:39.208Z] ---> Running in 5286ff7c4323 [2023-04-12T12:01:39.476Z] Removing intermediate container 5286ff7c4323 [2023-04-12T12:01:39.476Z] ---> 03ca09a69c48 [2023-04-12T12:01:39.476Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-12T12:01:39.741Z] ---> Running in 76e83b7b7fbb [2023-04-12T12:01:40.697Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-12T12:01:41.279Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-12T12:01:42.241Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-12T12:01:42.242Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-12T12:01:42.242Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-12T12:01:42.242Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-12T12:01:42.242Z] Executing busybox-1.35.0-r29.trigger [2023-04-12T12:01:42.242Z] OK: 268 MiB in 57 packages [2023-04-12T12:01:46.506Z] Removing intermediate container 76e83b7b7fbb [2023-04-12T12:01:46.506Z] ---> 100894a4b2e3 [2023-04-12T12:01:46.506Z] Step 8/12 : COPY go.mod vendor* ./ [2023-04-12T12:01:46.776Z] ---> a85f5388c1b1 [2023-04-12T12:01:46.776Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-12T12:01:46.776Z] ---> Running in e56599d8a5ae [2023-04-12T12:02:54.648Z] Removing intermediate container e56599d8a5ae [2023-04-12T12:02:54.648Z] ---> 2944e831d277 [2023-04-12T12:02:54.648Z] Step 10/12 : COPY . . [2023-04-12T12:02:54.648Z] ---> ebc3ac93dac3 [2023-04-12T12:02:54.648Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-12T12:02:54.648Z] ---> Running in e5c63b40e63a [2023-04-12T12:02:54.648Z] Removing intermediate container e5c63b40e63a [2023-04-12T12:02:54.648Z] ---> 41da47ea4d04 [2023-04-12T12:02:54.648Z] Step 12/12 : RUN $MAKE [2023-04-12T12:02:54.648Z] ---> Running in ca60e4e4a5f1 [2023-04-12T12:02:54.648Z] noop [2023-04-12T12:02:54.648Z] Removing intermediate container ca60e4e4a5f1 [2023-04-12T12:02:54.648Z] ---> bfef2e66b0c0 [2023-04-12T12:02:54.648Z] Successfully built bfef2e66b0c0 [2023-04-12T12:02:54.648Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T12:02:55.137Z] + docker inspect -f . ci-base-image-arm64 [2023-04-12T12:02:55.137Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T12:02:55.402Z] prd-ubuntu20.04-docker-arm64-4c-16g-7554 does not seem to be running inside a container [2023-04-12T12:02:55.458Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-12T12:02:56.591Z] $ docker top 64fb1cf6103d91d0bc566282c7cb980ffc3d6401806a279059e351dc1342b3a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T12:02:57.435Z] + go version [2023-04-12T12:02:57.435Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-12T12:02:57.470Z] $ docker stop --time=1 64fb1cf6103d91d0bc566282c7cb980ffc3d6401806a279059e351dc1342b3a0 [2023-04-12T12:02:59.027Z] $ docker rm -f --volumes 64fb1cf6103d91d0bc566282c7cb980ffc3d6401806a279059e351dc1342b3a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T12:02:59.884Z] + docker inspect -f . ci-base-image-arm64 [2023-04-12T12:02:59.884Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T12:03:00.135Z] prd-ubuntu20.04-docker-arm64-4c-16g-7554 does not seem to be running inside a container [2023-04-12T12:03:00.194Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-12T12:03:01.254Z] $ docker top b2ece86888d158c3f07638729cdf1be2d1b9908af2485a64cbe51206734da724 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T12:03:01.797Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-12T12:03:02.186Z] + make test [2023-04-12T12:03:02.186Z] go test ./... -coverprofile=coverage.out [2023-04-12T12:03:34.386Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-04-12T12:05:11.043Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-04-12T12:05:13.640Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.101s coverage: 58.5% of statements [2023-04-12T12:05:13.911Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-12T12:05:13.911Z] go vet ./... [2023-04-12T12:05:46.145Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-12T12:05:46.145Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-12T12:05:46.145Z] ./bin/test-attribution-txt.sh [2023-04-12T12:05:46.145Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-12T12:05:46.191Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-12T12:05:46.218Z] $ docker stop --time=1 b2ece86888d158c3f07638729cdf1be2d1b9908af2485a64cbe51206734da724 [2023-04-12T12:05:48.204Z] $ docker rm -f --volumes b2ece86888d158c3f07638729cdf1be2d1b9908af2485a64cbe51206734da724 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-12T12:05:49.517Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-12T12:05:49.551Z] Warning: overwriting stash ‘coverage-report’ [2023-04-12T12:05:50.062Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-12T12:05:50.662Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-12T12:05:51.017Z] + ls -al . [2023-04-12T12:05:51.017Z] total 188 [2023-04-12T12:05:51.017Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 12:03 . [2023-04-12T12:05:51.017Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 12:00 .. [2023-04-12T12:05:51.017Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 12:00 .git [2023-04-12T12:05:51.017Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 12:00 .github [2023-04-12T12:05:51.017Z] -rw-rw-r-- 1 jenkins jenkins 337 Apr 12 12:00 .gitignore [2023-04-12T12:05:51.017Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 12 12:00 .golangci.yml [2023-04-12T12:05:51.017Z] -rw-rw-r-- 1 jenkins jenkins 8641 Apr 12 12:00 Attribution.txt [2023-04-12T12:05:51.017Z] -rw-rw-r-- 1 jenkins jenkins 11367 Apr 12 12:00 CHANGELOG.md [2023-04-12T12:05:51.017Z] -rw-rw-r-- 1 jenkins jenkins 1646 Apr 12 12:00 Dockerfile [2023-04-12T12:05:51.017Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 12:00 GOVERNANCE.md [2023-04-12T12:05:51.017Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 12 12:00 Jenkinsfile [2023-04-12T12:05:51.017Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 12 12:00 LICENSE [2023-04-12T12:05:51.017Z] -rw-rw-r-- 1 jenkins jenkins 1696 Apr 12 12:00 Makefile [2023-04-12T12:05:51.017Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 12 12:00 OWNERS.md [2023-04-12T12:05:51.017Z] -rw-rw-r-- 1 jenkins jenkins 3578 Apr 12 12:00 README.md [2023-04-12T12:05:51.017Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 11:58 VERSION [2023-04-12T12:05:51.017Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 12:00 bin [2023-04-12T12:05:51.017Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 12:00 cmd [2023-04-12T12:05:51.017Z] -rw-r--r-- 1 jenkins jenkins 42970 Apr 12 12:05 coverage.out [2023-04-12T12:05:51.017Z] -rw-rw-r-- 1 jenkins jenkins 3209 Apr 12 12:00 go.mod [2023-04-12T12:05:51.017Z] -rw-rw-r-- 1 jenkins jenkins 31219 Apr 12 12:00 go.sum [2023-04-12T12:05:51.017Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 12:00 internal [2023-04-12T12:05:51.017Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 12:00 snap [2023-04-12T12:05:51.017Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 12 12:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T12:05:51.437Z] + 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=ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 --label arch=arm64 --label version=0.0.0 . [2023-04-12T12:05:52.401Z] Sending build context to Docker daemon 11.97MB [2023-04-12T12:05:52.401Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-12T12:05:52.401Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-12T12:05:52.401Z] ---> bfef2e66b0c0 [2023-04-12T12:05:52.401Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-12T12:05:52.401Z] ---> Running in 82f691984774 [2023-04-12T12:05:52.984Z] Removing intermediate container 82f691984774 [2023-04-12T12:05:52.984Z] ---> dd4b1d7a0fad [2023-04-12T12:05:52.984Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-12T12:05:52.984Z] ---> Running in 5d6955cc5838 [2023-04-12T12:05:53.564Z] Removing intermediate container 5d6955cc5838 [2023-04-12T12:05:53.564Z] ---> 30fb6fc8dede [2023-04-12T12:05:53.564Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-04-12T12:05:53.564Z] ---> Running in 12e0e989a43d [2023-04-12T12:05:54.144Z] Removing intermediate container 12e0e989a43d [2023-04-12T12:05:54.144Z] ---> 82635d79310e [2023-04-12T12:05:54.144Z] Step 6/25 : WORKDIR /device-virtual-go [2023-04-12T12:05:54.144Z] ---> Running in 2df2ac8ca93b [2023-04-12T12:05:54.727Z] Removing intermediate container 2df2ac8ca93b [2023-04-12T12:05:54.727Z] ---> 91b63b2a401c [2023-04-12T12:05:54.727Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-12T12:05:54.727Z] ---> Running in 357ed9ccc2a7 [2023-04-12T12:05:56.666Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-12T12:05:57.250Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-12T12:05:58.665Z] OK: 268 MiB in 57 packages [2023-04-12T12:05:59.246Z] Removing intermediate container 357ed9ccc2a7 [2023-04-12T12:05:59.246Z] ---> 031815e07fdc [2023-04-12T12:05:59.246Z] Step 8/25 : COPY go.mod vendor* ./ [2023-04-12T12:05:59.826Z] ---> 94eb41f04772 [2023-04-12T12:05:59.826Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-12T12:05:59.826Z] ---> Running in b35ee8662955 [2023-04-12T12:06:02.424Z] Removing intermediate container b35ee8662955 [2023-04-12T12:06:02.424Z] ---> 6e10badb85d0 [2023-04-12T12:06:02.424Z] Step 10/25 : COPY . . [2023-04-12T12:06:03.833Z] ---> 556b36384dd5 [2023-04-12T12:06:03.833Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-12T12:06:03.833Z] ---> Running in ffd3de28842d [2023-04-12T12:06:04.098Z] Removing intermediate container ffd3de28842d [2023-04-12T12:06:04.098Z] ---> 58fe1c598089 [2023-04-12T12:06:04.098Z] Step 12/25 : RUN $MAKE [2023-04-12T12:06:04.098Z] ---> Running in 7d3465393fbe [2023-04-12T12:06:05.068Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-04-12T12:08:11.756Z] Removing intermediate container 7d3465393fbe [2023-04-12T12:08:11.756Z] ---> 2b29b09aba16 [2023-04-12T12:08:11.756Z] Step 13/25 : FROM alpine:3.17 [2023-04-12T12:08:11.756Z] 3.17: Pulling from library/alpine [2023-04-12T12:08:11.756Z] c41833b44d91: Pulling fs layer [2023-04-12T12:08:11.756Z] c41833b44d91: Verifying Checksum [2023-04-12T12:08:11.756Z] c41833b44d91: Download complete [2023-04-12T12:08:11.756Z] c41833b44d91: Pull complete [2023-04-12T12:08:11.756Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-12T12:08:11.756Z] Status: Downloaded newer image for alpine:3.17 [2023-04-12T12:08:11.756Z] ---> 51e60588ff2c [2023-04-12T12:08:11.756Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-04-12T12:08:11.756Z] ---> Running in 973d19e77cd5 [2023-04-12T12:08:11.756Z] Removing intermediate container 973d19e77cd5 [2023-04-12T12:08:11.756Z] ---> ffbcc3683f90 [2023-04-12T12:08:11.756Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-04-12T12:08:11.756Z] ---> Running in 99663695182d [2023-04-12T12:08:11.756Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-12T12:08:12.023Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-12T12:08:12.988Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-12T12:08:12.988Z] Executing busybox-1.35.0-r29.trigger [2023-04-12T12:08:12.988Z] OK: 8 MiB in 16 packages [2023-04-12T12:08:13.952Z] Removing intermediate container 99663695182d [2023-04-12T12:08:13.952Z] ---> acd6c45cef98 [2023-04-12T12:08:13.952Z] Step 16/25 : WORKDIR / [2023-04-12T12:08:13.952Z] ---> Running in a2744c6812b2 [2023-04-12T12:08:14.219Z] Removing intermediate container a2744c6812b2 [2023-04-12T12:08:14.219Z] ---> 1f764d8e5e8e [2023-04-12T12:08:14.219Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-04-12T12:08:14.806Z] ---> a315b662d559 [2023-04-12T12:08:14.806Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-04-12T12:08:15.389Z] ---> 5016de907814 [2023-04-12T12:08:15.389Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-04-12T12:08:16.796Z] ---> e95279f7de3a [2023-04-12T12:08:16.796Z] Step 20/25 : EXPOSE 59900 [2023-04-12T12:08:16.796Z] ---> Running in 7ee722f43835 [2023-04-12T12:08:16.796Z] Removing intermediate container 7ee722f43835 [2023-04-12T12:08:16.796Z] ---> 0382f32f3e2a [2023-04-12T12:08:16.796Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-04-12T12:08:16.796Z] ---> Running in cbb805d6f603 [2023-04-12T12:08:17.432Z] Removing intermediate container cbb805d6f603 [2023-04-12T12:08:17.432Z] ---> 32585da870c8 [2023-04-12T12:08:17.432Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-12T12:08:17.432Z] ---> Running in 6f87d7171a80 [2023-04-12T12:08:17.702Z] Removing intermediate container 6f87d7171a80 [2023-04-12T12:08:17.702Z] ---> f1269721d7df [2023-04-12T12:08:17.702Z] Step 23/25 : LABEL arch=arm64 [2023-04-12T12:08:17.702Z] ---> Running in 820dedabf58f [2023-04-12T12:08:17.972Z] Removing intermediate container 820dedabf58f [2023-04-12T12:08:17.972Z] ---> 6742f445bbf4 [2023-04-12T12:08:17.972Z] Step 24/25 : LABEL git_sha=ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 [2023-04-12T12:08:17.972Z] ---> Running in 5fb048af30c0 [2023-04-12T12:08:18.255Z] Removing intermediate container 5fb048af30c0 [2023-04-12T12:08:18.255Z] ---> 5f5f27e7c511 [2023-04-12T12:08:18.255Z] Step 25/25 : LABEL version=0.0.0 [2023-04-12T12:08:18.255Z] ---> Running in fe2ff7f9bc1e [2023-04-12T12:08:18.538Z] Removing intermediate container fe2ff7f9bc1e [2023-04-12T12:08:18.538Z] ---> 0b719ae7b824 [2023-04-12T12:08:18.538Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-12T12:08:18.806Z] Successfully built 0b719ae7b824 [2023-04-12T12:08:18.806Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T12:08:19.615Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-12T12:08:19.615Z] [2023-04-12T12:08:19.615Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T12:08:20.063Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-12T12:08:20.063Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-12T12:08:20.063Z] 8998bd30e6a1: Pulling fs layer [2023-04-12T12:08:20.063Z] 04944245beec: Pulling fs layer [2023-04-12T12:08:20.063Z] 699f458cf7ca: Pulling fs layer [2023-04-12T12:08:20.063Z] 765212b225bb: Pulling fs layer [2023-04-12T12:08:20.063Z] f23df028b6ca: Pulling fs layer [2023-04-12T12:08:20.063Z] d65c8cfc05b1: Pulling fs layer [2023-04-12T12:08:20.063Z] 2437ff75d9bd: Pulling fs layer [2023-04-12T12:08:20.063Z] 765212b225bb: Waiting [2023-04-12T12:08:20.063Z] f23df028b6ca: Waiting [2023-04-12T12:08:20.063Z] 2437ff75d9bd: Waiting [2023-04-12T12:08:20.063Z] d65c8cfc05b1: Waiting [2023-04-12T12:08:20.330Z] 04944245beec: Verifying Checksum [2023-04-12T12:08:20.330Z] 04944245beec: Download complete [2023-04-12T12:08:20.330Z] 765212b225bb: Download complete [2023-04-12T12:08:20.330Z] f23df028b6ca: Verifying Checksum [2023-04-12T12:08:20.330Z] f23df028b6ca: Download complete [2023-04-12T12:08:20.330Z] d65c8cfc05b1: Verifying Checksum [2023-04-12T12:08:20.330Z] d65c8cfc05b1: Download complete [2023-04-12T12:08:20.596Z] 699f458cf7ca: Verifying Checksum [2023-04-12T12:08:20.596Z] 699f458cf7ca: Download complete [2023-04-12T12:08:20.861Z] 8998bd30e6a1: Verifying Checksum [2023-04-12T12:08:20.861Z] 8998bd30e6a1: Download complete [2023-04-12T12:08:22.802Z] 2437ff75d9bd: Verifying Checksum [2023-04-12T12:08:22.802Z] 2437ff75d9bd: Download complete [2023-04-12T12:08:24.744Z] 8998bd30e6a1: Pull complete [2023-04-12T12:08:27.323Z] 04944245beec: Pull complete [2023-04-12T12:08:28.280Z] 699f458cf7ca: Pull complete [2023-04-12T12:08:28.545Z] 765212b225bb: Pull complete [2023-04-12T12:08:29.127Z] f23df028b6ca: Pull complete [2023-04-12T12:08:29.393Z] d65c8cfc05b1: Pull complete [2023-04-12T12:08:44.381Z] 2437ff75d9bd: Pull complete [2023-04-12T12:08:44.381Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-12T12:08:44.381Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-12T12:08:44.381Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T12:08:44.682Z] prd-ubuntu20.04-docker-arm64-4c-16g-7554 does not seem to be running inside a container [2023-04-12T12:08:44.730Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-12T12:08:47.329Z] $ docker top 61518845812c9e5173323bb02da901d6da008ce9f7528f8ee546c4686ddea60b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-12T12:08:47.920Z] ---> job-cost.sh [2023-04-12T12:08:48.184Z] lf-activate-venv: SKIPPING [2023-04-12T12:08:48.184Z] INFO: No Stack... [2023-04-12T12:08:48.448Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-12T12:08:49.406Z] INFO: Archiving Costs [Pipeline] sh [2023-04-12T12:08:49.746Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2023-04-12T12:08:49.746Z] + cut -d, -f6 [Pipeline] lock [2023-04-12T12:08:49.823Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-379-1-stack-cost] [2023-04-12T12:08:49.828Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-379-1-stack-cost] did not exist. Created. [2023-04-12T12:08:49.828Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-379-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-12T12:08:50.236Z] /w/workspace/device-virtual-go/1@tmp/durable-86e391a1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-12T12:08:50.584Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-12T12:08:50.879Z] Warning: overwriting stash ‘stack-cost’ [2023-04-12T12:08:50.922Z] Stashed 1 file(s) [Pipeline] } [2023-04-12T12:08:50.937Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-379-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-12T12:08:51.003Z] $ docker stop --time=1 61518845812c9e5173323bb02da901d6da008ce9f7528f8ee546c4686ddea60b [2023-04-12T12:08:52.714Z] $ docker rm -f --volumes 61518845812c9e5173323bb02da901d6da008ce9f7528f8ee546c4686ddea60b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-04-12T12:08:53.666Z] provisioning config files... [2023-04-12T12:08:53.673Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-379@tmp/config3618624417365500867tmp [Pipeline] { [Pipeline] sh [2023-04-12T12:08:54.000Z] + set +x [2023-04-12T12:08:54.000Z] + curl -s https://codecov.io/bash [2023-04-12T12:08:54.000Z] + bash -s -- [2023-04-12T12:08:54.000Z] [2023-04-12T12:08:54.000Z] _____ _ [2023-04-12T12:08:54.000Z] / ____| | | [2023-04-12T12:08:54.000Z] | | ___ __| | ___ ___ _____ __ [2023-04-12T12:08:54.000Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-12T12:08:54.000Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-12T12:08:54.000Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-12T12:08:54.000Z] Bash-1.0.6 [2023-04-12T12:08:54.000Z] [2023-04-12T12:08:54.000Z] [2023-04-12T12:08:54.000Z] ==> git version 2.25.1 found [2023-04-12T12:08:54.000Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-04-12T12:08:54.000Z] Release-Date: 2020-01-08 [2023-04-12T12:08:54.001Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-04-12T12:08:54.001Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-12T12:08:54.001Z] ==> Jenkins CI detected. [2023-04-12T12:08:54.001Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-379 [2023-04-12T12:08:54.001Z] project root: . [2023-04-12T12:08:54.001Z] --> token set from env [2023-04-12T12:08:54.001Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-12T12:08:54.001Z] ==> Running gcov in . (disable via -X gcov) [2023-04-12T12:08:54.001Z] ==> Python coveragepy not found [2023-04-12T12:08:54.001Z] ==> Searching for coverage reports in: [2023-04-12T12:08:54.001Z] + . [2023-04-12T12:08:54.260Z] -> Found 1 reports [2023-04-12T12:08:54.260Z] ==> Detecting git/mercurial file structure [2023-04-12T12:08:54.260Z] ==> Reading reports [2023-04-12T12:08:54.260Z] + ./coverage.out bytes=42970 [2023-04-12T12:08:54.260Z] ==> Appending adjustments [2023-04-12T12:08:54.260Z] https://docs.codecov.io/docs/fixing-reports [2023-04-12T12:08:54.260Z] + Found adjustments [2023-04-12T12:08:54.260Z] ==> Gzipping contents [2023-04-12T12:08:54.260Z] 8.0K /tmp/codecov.NRAoqx.gz [2023-04-12T12:08:54.260Z] ==> Uploading reports [2023-04-12T12:08:54.260Z] url: https://codecov.io [2023-04-12T12:08:54.260Z] query: branch=PR-379&commit=ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-379%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=379&job=&cmd_args= [2023-04-12T12:08:54.260Z] -> Pinging Codecov [2023-04-12T12:08:54.260Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-379&commit=ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-379%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=379&job=&cmd_args= [2023-04-12T12:08:54.521Z] -> Uploading to [2023-04-12T12:08:54.521Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-12/5E52B4B073DB2E39498172D8E973AA87/ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476/a32490b7-f241-404c-9db8-188429095f86.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230412%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230412T120854Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=767dd28a6ed2b35413e4cf14d9d59da11d25986bdb0f53c63918b7b688128773 [2023-04-12T12:08:54.521Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-12T12:08:54.521Z] Dload Upload Total Spent Left Speed [2023-04-12T12:08:54.782Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5164 0 0 100 5164 0 23261 --:--:-- --:--:-- --:--:-- 23156 100 5164 0 0 100 5164 0 18915 --:--:-- --:--:-- --:--:-- 18846 [2023-04-12T12:08:54.782Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 [Pipeline] } [2023-04-12T12:08:54.809Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-04-12T12:08:56.546Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-379/archives ] [2023-04-12T12:08:56.546Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-379/archives [2023-04-12T12:08:56.546Z] total 16 [2023-04-12T12:08:56.546Z] drwxr-xr-x 3 root root 4096 Apr 12 12:00 . [2023-04-12T12:08:56.546Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 12:00 .. [2023-04-12T12:08:56.546Z] drwxr-xr-x 2 root root 4096 Apr 12 12:00 cost [2023-04-12T12:08:56.546Z] -rw-r--r-- 1 root root 89 Apr 12 12:00 cost.csv [2023-04-12T12:08:56.546Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-379/archives [2023-04-12T12:08:56.546Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-379/archives [2023-04-12T12:08:56.546Z] total 16 [2023-04-12T12:08:56.546Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 12:00 . [2023-04-12T12:08:56.546Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 12:00 .. [2023-04-12T12:08:56.546Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 12 12:00 cost [2023-04-12T12:08:56.546Z] -rw-r--r-- 1 jenkins jenkins 89 Apr 12 12:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-12T12:08:56.877Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T12:08:57.761Z] ---> package-listing.sh [2023-04-12T12:08:57.761Z] ++ facter osfamily [2023-04-12T12:08:57.761Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-12T12:08:58.021Z] + OS_FAMILY=debian [2023-04-12T12:08:58.021Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-379 [2023-04-12T12:08:58.021Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-12T12:08:58.021Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-12T12:08:58.021Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-12T12:08:58.021Z] + PACKAGES=/tmp/packages_start.txt [2023-04-12T12:08:58.021Z] + '[' /w/workspace/foundry_device-virtual-go_PR-379 ']' [2023-04-12T12:08:58.021Z] + PACKAGES=/tmp/packages_end.txt [2023-04-12T12:08:58.021Z] + case "${OS_FAMILY}" in [2023-04-12T12:08:58.021Z] + dpkg -l [2023-04-12T12:08:58.021Z] + grep '^ii' [2023-04-12T12:08:58.021Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-12T12:08:58.021Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-12T12:08:58.021Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-12T12:08:58.021Z] + '[' /w/workspace/foundry_device-virtual-go_PR-379 ']' [2023-04-12T12:08:58.021Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-379/archives/ [2023-04-12T12:08:58.021Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-379/archives/ [Pipeline] echo [2023-04-12T12:08:58.053Z] 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-379/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-12T12:08:58.348Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T12:08:58.969Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-12T12:08:58.969Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T12:08:59.107Z] prd-ubuntu20.04-docker-8c-8g-7553 does not seem to be running inside a container [2023-04-12T12:08:59.128Z] $ 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-379/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-379 -v /w/workspace/foundry_device-virtual-go_PR-379:/w/workspace/foundry_device-virtual-go_PR-379:rw,z -v /w/workspace/foundry_device-virtual-go_PR-379@tmp:/w/workspace/foundry_device-virtual-go_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-12T12:08:59.330Z] $ docker top c5ec008bf8042c332d9711cf16dc54b9ad1d54255a085665085d79344c8dad60 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T12:08:59.727Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-12T12:09:00.034Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-12T12:09:00.344Z] + ls /var/log/sa-host [2023-04-12T12:09:00.344Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-12T12:09:00.553Z] provisioning config files... [2023-04-12T12:09:00.562Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-379@tmp/config4092836512688217057tmp [Pipeline] { [Pipeline] echo [2023-04-12T12:09:00.617Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T12:09:00.928Z] ---> create-netrc.sh [Pipeline] } [2023-04-12T12:09:00.956Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-12T12:09:01.359Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-12T12:09:01.390Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T12:09:01.701Z] ---> sudo-logs.sh [2023-04-12T12:09:01.702Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-12T12:09:01.786Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T12:09:02.095Z] ---> job-cost.sh [2023-04-12T12:09:02.095Z] lf-activate-venv: SKIPPING [2023-04-12T12:09:02.095Z] DEBUG: total: 0.2199999988079071 [2023-04-12T12:09:02.095Z] INFO: Retrieving Stack Cost... [2023-04-12T12:09:02.354Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-12T12:09:02.922Z] INFO: Archiving Costs [Pipeline] echo [2023-04-12T12:09:02.957Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T12:09:03.271Z] ---> logs-deploy.sh [2023-04-12T12:09:03.271Z] lf-activate-venv: SKIPPING [2023-04-12T12:09:03.271Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-379/1 [2023-04-12T12:09:03.271Z] INFO: archiving workspace using pattern(s): [2023-04-12T12:09:04.207Z] Archives upload complete. [2023-04-12T12:09:04.208Z] INFO: archiving logs to Nexus