Pull request #340 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from a90195f79b7d6871c4edc46fd727ad8500d3e5d8+3a5423f0b5727ef686932519f865aa3ff45a9adc (e75f564202463f6d77ad4f93d1dda3a8ab40827f) 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-ssh1217257329134754389.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8112865469147807254.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-340/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-340/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11817969165220721073.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-340/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18030227091170397837.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8198688147562477455.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-340/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-340/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9164619864552662725.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6165 in /w/workspace/foundry_device-virtual-go_PR-340 [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-340 # 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/340/head:refs/remotes/origin/PR-340 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3a5423f0b5727ef686932519f865aa3ff45a9adc into PR head commit a90195f79b7d6871c4edc46fd727ad8500d3e5d8 Merge succeeded, producing a90195f79b7d6871c4edc46fd727ad8500d3e5d8 Checking out Revision a90195f79b7d6871c4edc46fd727ad8500d3e5d8 (PR-340) > git config core.sparsecheckout # timeout=10 > git checkout -f a90195f79b7d6871c4edc46fd727ad8500d3e5d8 # 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 3a5423f0b5727ef686932519f865aa3ff45a9adc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a90195f79b7d6871c4edc46fd727ad8500d3e5d8 # timeout=10 Commit message: "refactor!: Replace internal topics from config with new constants" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-15T18:15:00.428Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-15T18:15:00.609Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-15T18:15:00.708Z] ========================================================= [2023-02-15T18:15:00.708Z] EdgeX Global Pipelines Version Info [2023-02-15T18:15:00.708Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:15:01.462Z] ------------------- [2023-02-15T18:15:01.462Z] stable info: [2023-02-15T18:15:01.462Z] ------------------- [2023-02-15T18:15:01.462Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-15T18:15:01.462Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T18:15:01.462Z] Message: update stable to v1.0.244 [2023-02-15T18:15:02.411Z] ------------------- [2023-02-15T18:15:02.411Z] experimental info: [2023-02-15T18:15:02.411Z] ------------------- [2023-02-15T18:15:02.411Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-15T18:15:02.411Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T18:15:02.411Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-15T18:15:02.695Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-02-15T18:15:02.735Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-02-15T18:15:02.783Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-15T18:15:02.832Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-15T18:15:02.867Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-15T18:15:02.905Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-15T18:15:02.947Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-15T18:15:02.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-15T18:15:03.023Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-15T18:15:03.061Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-15T18:15:03.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-15T18:15:03.151Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-02-15T18:15:03.189Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-15T18:15:03.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-15T18:15:03.267Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T18:15:03.309Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T18:15:03.355Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T18:15:03.401Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T18:15:03.441Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-15T18:15:03.482Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-15T18:15:03.524Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-15T18:15:03.567Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-15T18:15:03.603Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-15T18:15:03.643Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-15T18:15:03.686Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-15T18:15:03.723Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-15T18:15:03.762Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-15T18:15:03.805Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-340 [Pipeline] echo [2023-02-15T18:15:03.849Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-340 [Pipeline] echo [2023-02-15T18:15:03.887Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-340 [Pipeline] echo [2023-02-15T18:15:03.925Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a90195f79b7d6871c4edc46fd727ad8500d3e5d8 [Pipeline] echo [2023-02-15T18:15:03.965Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a90195f [Pipeline] echo [2023-02-15T18:15:04.004Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:15:04.123Z] provisioning config files... [2023-02-15T18:15:04.138Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-340@tmp/config12380630712298709055tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:15:04.493Z] ---> docker-login.sh [2023-02-15T18:15:04.493Z] nexus3.edgexfoundry.org:10001 [2023-02-15T18:15:04.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:15:04.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:15:04.753Z] Configure a credential helper to remove this warning. See [2023-02-15T18:15:04.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:15:04.753Z] [2023-02-15T18:15:04.753Z] Login Succeeded [2023-02-15T18:15:04.753Z] nexus3.edgexfoundry.org:10002 [2023-02-15T18:15:04.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:15:05.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:15:05.013Z] Configure a credential helper to remove this warning. See [2023-02-15T18:15:05.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:15:05.013Z] [2023-02-15T18:15:05.013Z] Login Succeeded [2023-02-15T18:15:05.013Z] nexus3.edgexfoundry.org:10003 [2023-02-15T18:15:05.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:15:05.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:15:05.013Z] Configure a credential helper to remove this warning. See [2023-02-15T18:15:05.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:15:05.013Z] [2023-02-15T18:15:05.013Z] Login Succeeded [2023-02-15T18:15:05.013Z] nexus3.edgexfoundry.org:10004 [2023-02-15T18:15:05.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:15:05.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:15:05.275Z] Configure a credential helper to remove this warning. See [2023-02-15T18:15:05.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:15:05.275Z] [2023-02-15T18:15:05.275Z] Login Succeeded [2023-02-15T18:15:05.275Z] docker.io [2023-02-15T18:15:05.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:15:05.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:15:05.535Z] Configure a credential helper to remove this warning. See [2023-02-15T18:15:05.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:15:05.535Z] [2023-02-15T18:15:05.535Z] Login Succeeded [2023-02-15T18:15:05.535Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T18:15:05.561Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-15T18:15:06.168Z] + git rev-list -1 --merges a90195f79b7d6871c4edc46fd727ad8500d3e5d8~1..a90195f79b7d6871c4edc46fd727ad8500d3e5d8 [Pipeline] echo [2023-02-15T18:15:06.231Z] -----------> git rev-list -1 --merges a90195f79b7d6871c4edc46fd727ad8500d3e5d8~1..a90195f79b7d6871c4edc46fd727ad8500d3e5d8 a90195f79b7d6871c4edc46fd727ad8500d3e5d8 [false] [Pipeline] sh [2023-02-15T18:15:06.541Z] + git log --format=format:%s -1 a90195f79b7d6871c4edc46fd727ad8500d3e5d8 [Pipeline] echo [2023-02-15T18:15:06.573Z] ========================================================= [2023-02-15T18:15:06.573Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-15T18:15:06.573Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T18:15:06.989Z] + git log --format=format:%s -1 a90195f79b7d6871c4edc46fd727ad8500d3e5d8 [Pipeline] echo [2023-02-15T18:15:07.020Z] [semverPrep] GIT_COMMIT: a90195f79b7d6871c4edc46fd727ad8500d3e5d8, Commit Message: refactor!: Replace internal topics from config with new constants [Pipeline] echo [2023-02-15T18:15:07.048Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-15T18:15:07.437Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T18:15:07.437Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-15T18:15:07.437Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-15T18:15:07.437Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-15T18:15:07.437Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-15T18:15:07.437Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-15T18:15:07.437Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:15:07.923Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T18:15:07.924Z] [2023-02-15T18:15:07.924Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:15:08.303Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T18:15:08.304Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-15T18:15:08.304Z] b85a868b505f: Pulling fs layer [2023-02-15T18:15:08.304Z] e2be974225ed: Pulling fs layer [2023-02-15T18:15:08.304Z] 339a4e72a1f5: Pulling fs layer [2023-02-15T18:15:08.304Z] 988bab9f4d93: Pulling fs layer [2023-02-15T18:15:08.304Z] 1469e6f7b9e6: Pulling fs layer [2023-02-15T18:15:08.304Z] eaf3925da568: Pulling fs layer [2023-02-15T18:15:08.304Z] bab4dde63d76: Pulling fs layer [2023-02-15T18:15:08.304Z] bde34c3a00c8: Pulling fs layer [2023-02-15T18:15:08.304Z] b352a97aabf1: Pulling fs layer [2023-02-15T18:15:08.304Z] 4872d77fe225: Pulling fs layer [2023-02-15T18:15:08.304Z] 5851b861e8e6: Pulling fs layer [2023-02-15T18:15:08.304Z] 1469e6f7b9e6: Waiting [2023-02-15T18:15:08.304Z] b352a97aabf1: Waiting [2023-02-15T18:15:08.304Z] 5851b861e8e6: Waiting [2023-02-15T18:15:08.304Z] eaf3925da568: Waiting [2023-02-15T18:15:08.304Z] bde34c3a00c8: Waiting [2023-02-15T18:15:08.304Z] 988bab9f4d93: Waiting [2023-02-15T18:15:08.304Z] bab4dde63d76: Waiting [2023-02-15T18:15:08.304Z] e2be974225ed: Verifying Checksum [2023-02-15T18:15:08.304Z] e2be974225ed: Download complete [2023-02-15T18:15:08.304Z] 988bab9f4d93: Download complete [2023-02-15T18:15:08.570Z] 1469e6f7b9e6: Verifying Checksum [2023-02-15T18:15:08.570Z] 1469e6f7b9e6: Download complete [2023-02-15T18:15:08.570Z] eaf3925da568: Verifying Checksum [2023-02-15T18:15:08.570Z] eaf3925da568: Download complete [2023-02-15T18:15:08.833Z] 339a4e72a1f5: Verifying Checksum [2023-02-15T18:15:08.833Z] 339a4e72a1f5: Download complete [2023-02-15T18:15:08.833Z] bde34c3a00c8: Verifying Checksum [2023-02-15T18:15:08.833Z] bde34c3a00c8: Download complete [2023-02-15T18:15:08.833Z] b352a97aabf1: Verifying Checksum [2023-02-15T18:15:08.833Z] b352a97aabf1: Download complete [2023-02-15T18:15:08.833Z] 4872d77fe225: Verifying Checksum [2023-02-15T18:15:08.833Z] 4872d77fe225: Download complete [2023-02-15T18:15:08.833Z] 5851b861e8e6: Verifying Checksum [2023-02-15T18:15:08.833Z] 5851b861e8e6: Download complete [2023-02-15T18:15:08.833Z] b85a868b505f: Verifying Checksum [2023-02-15T18:15:08.833Z] b85a868b505f: Download complete [2023-02-15T18:15:09.404Z] bab4dde63d76: Verifying Checksum [2023-02-15T18:15:09.404Z] bab4dde63d76: Download complete [2023-02-15T18:15:10.345Z] b85a868b505f: Pull complete [2023-02-15T18:15:10.345Z] e2be974225ed: Pull complete [2023-02-15T18:15:10.923Z] 339a4e72a1f5: Pull complete [2023-02-15T18:15:10.923Z] 988bab9f4d93: Pull complete [2023-02-15T18:15:11.495Z] 1469e6f7b9e6: Pull complete [2023-02-15T18:15:11.495Z] eaf3925da568: Pull complete [2023-02-15T18:15:13.399Z] bab4dde63d76: Pull complete [2023-02-15T18:15:13.399Z] bde34c3a00c8: Pull complete [2023-02-15T18:15:13.399Z] b352a97aabf1: Pull complete [2023-02-15T18:15:13.399Z] 4872d77fe225: Pull complete [2023-02-15T18:15:13.661Z] 5851b861e8e6: Pull complete [2023-02-15T18:15:13.661Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-15T18:15:13.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T18:15:13.661Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:15:13.883Z] prd-ubuntu20.04-docker-8c-8g-6165 does not seem to be running inside a container [2023-02-15T18:15:13.907Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-340 -v /w/workspace/foundry_device-virtual-go_PR-340:/w/workspace/foundry_device-virtual-go_PR-340:rw,z -v /w/workspace/foundry_device-virtual-go_PR-340@tmp:/w/workspace/foundry_device-virtual-go_PR-340@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-15T18:15:15.867Z] $ docker top 75c25c48382d521960681cb91026b0e0986e8d3f444523e2aa5bb1a5f0c95830 -eo pid,comm [2023-02-15T18:15:15.957Z] 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-02-15T18:15:15.957Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T18:15:16.075Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T18:15:16.075Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T18:15:16.194Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T18:15:16.190Z] $ docker exec 75c25c48382d521960681cb91026b0e0986e8d3f444523e2aa5bb1a5f0c95830 ssh-agent [2023-02-15T18:15:16.319Z] SSH_AUTH_SOCK=/tmp/ssh-fr0E4VEYARrr/agent.32 [2023-02-15T18:15:16.319Z] SSH_AGENT_PID=38 [2023-02-15T18:15:16.326Z] Running ssh-add (command line suppressed) [2023-02-15T18:15:16.423Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-340@tmp/private_key_13751201060394519781.key (/w/workspace/foundry_device-virtual-go_PR-340@tmp/private_key_13751201060394519781.key) [2023-02-15T18:15:16.444Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T18:15:16.770Z] + git tag --points-at HEAD [Pipeline] } [2023-02-15T18:15:16.789Z] $ docker exec --env ******** --env ******** 75c25c48382d521960681cb91026b0e0986e8d3f444523e2aa5bb1a5f0c95830 ssh-agent -k [2023-02-15T18:15:16.883Z] unset SSH_AUTH_SOCK; [2023-02-15T18:15:16.884Z] unset SSH_AGENT_PID; [2023-02-15T18:15:16.884Z] echo Agent pid 38 killed; [2023-02-15T18:15:16.900Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-15T18:15:16.990Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T18:15:16.990Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T18:15:17.105Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T18:15:17.102Z] $ docker exec 75c25c48382d521960681cb91026b0e0986e8d3f444523e2aa5bb1a5f0c95830 ssh-agent [2023-02-15T18:15:17.225Z] SSH_AUTH_SOCK=/tmp/ssh-SaS0ApsUiHaF/agent.70 [2023-02-15T18:15:17.226Z] SSH_AGENT_PID=76 [2023-02-15T18:15:17.230Z] Running ssh-add (command line suppressed) [2023-02-15T18:15:17.338Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-340@tmp/private_key_86212718322797902.key (/w/workspace/foundry_device-virtual-go_PR-340@tmp/private_key_86212718322797902.key) [2023-02-15T18:15:17.360Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T18:15:17.703Z] + git semver init [2023-02-15T18:15:17.964Z] 2023-02-15 18:15:17,893 [run_init] DEBUG init version:0.0.0 force:False [2023-02-15T18:15:17.964Z] 2023-02-15 18:15:17,895 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-340/.semver [2023-02-15T18:15:17.964Z] 2023-02-15 18:15:17,896 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-340/.semver [2023-02-15T18:15:17.964Z] 2023-02-15 18:15:17,896 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-340/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-340, universal_newlines=False, shell=None, istream=None) [2023-02-15T18:15:19.873Z] 2023-02-15 18:15:19,553 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-340/.git/info/exclude [2023-02-15T18:15:19.873Z] 2023-02-15 18:15:19,554 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-340/.semver/PR-340 with force:False [2023-02-15T18:15:19.873Z] 2023-02-15 18:15:19,554 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-340/.semver/PR-340 [2023-02-15T18:15:19.873Z] 2023-02-15 18:15:19,557 [execute] INFO git cat-file --batch-check [2023-02-15T18:15:19.873Z] 2023-02-15 18:15:19,557 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-340/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T18:15:19.873Z] 2023-02-15 18:15:19,562 [execute] INFO git cat-file --batch [2023-02-15T18:15:19.873Z] 2023-02-15 18:15:19,563 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-340/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T18:15:19.873Z] 2023-02-15 18:15:19,568 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-340/.semver/PR-340 [2023-02-15T18:15:19.873Z] 0.0.0 [Pipeline] } [2023-02-15T18:15:19.896Z] $ docker exec --env ******** --env ******** 75c25c48382d521960681cb91026b0e0986e8d3f444523e2aa5bb1a5f0c95830 ssh-agent -k [2023-02-15T18:15:19.987Z] unset SSH_AUTH_SOCK; [2023-02-15T18:15:19.987Z] unset SSH_AGENT_PID; [2023-02-15T18:15:19.987Z] echo Agent pid 76 killed; [2023-02-15T18:15:20.003Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T18:15:20.432Z] + git semver [Pipeline] } [2023-02-15T18:15:20.710Z] $ docker stop --time=1 75c25c48382d521960681cb91026b0e0986e8d3f444523e2aa5bb1a5f0c95830 [2023-02-15T18:15:22.118Z] $ docker rm -f --volumes 75c25c48382d521960681cb91026b0e0986e8d3f444523e2aa5bb1a5f0c95830 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T18:15:22.536Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-15T18:15:22.910Z] Stashed 1 file(s) [Pipeline] echo [2023-02-15T18:15:22.926Z] [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-02-15T18:15:23.532Z] provisioning config files... [2023-02-15T18:15:23.542Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-340@tmp/config14038480768576975461tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:15:23.889Z] ---> docker-login.sh [2023-02-15T18:15:23.889Z] nexus3.edgexfoundry.org:10001 [2023-02-15T18:15:23.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:15:23.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:15:23.889Z] Configure a credential helper to remove this warning. See [2023-02-15T18:15:23.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:15:23.889Z] [2023-02-15T18:15:23.889Z] Login Succeeded [2023-02-15T18:15:23.889Z] nexus3.edgexfoundry.org:10002 [2023-02-15T18:15:23.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:15:24.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:15:24.150Z] Configure a credential helper to remove this warning. See [2023-02-15T18:15:24.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:15:24.150Z] [2023-02-15T18:15:24.150Z] Login Succeeded [2023-02-15T18:15:24.150Z] nexus3.edgexfoundry.org:10003 [2023-02-15T18:15:24.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:15:24.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:15:24.150Z] Configure a credential helper to remove this warning. See [2023-02-15T18:15:24.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:15:24.150Z] [2023-02-15T18:15:24.150Z] Login Succeeded [2023-02-15T18:15:24.150Z] nexus3.edgexfoundry.org:10004 [2023-02-15T18:15:24.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:15:24.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:15:24.410Z] Configure a credential helper to remove this warning. See [2023-02-15T18:15:24.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:15:24.410Z] [2023-02-15T18:15:24.410Z] Login Succeeded [2023-02-15T18:15:24.410Z] docker.io [2023-02-15T18:15:24.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:15:24.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:15:24.671Z] Configure a credential helper to remove this warning. See [2023-02-15T18:15:24.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:15:24.671Z] [2023-02-15T18:15:24.671Z] Login Succeeded [2023-02-15T18:15:24.671Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T18:15:24.698Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T18:15:24.905Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:15:24.939Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:15:24.970Z] ========================================================= [2023-02-15T18:15:24.970Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-15T18:15:24.970Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:15:25.449Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T18:15:25.449Z] Sending build context to Docker daemon 23.39MB [2023-02-15T18:15:25.449Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T18:15:25.449Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-15T18:15:25.713Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-15T18:15:25.713Z] 213ec9aee27d: Pulling fs layer [2023-02-15T18:15:25.713Z] 4583459ba037: Pulling fs layer [2023-02-15T18:15:25.713Z] 93c1e223e6f2: Pulling fs layer [2023-02-15T18:15:25.713Z] 53926ce57604: Pulling fs layer [2023-02-15T18:15:25.713Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-15T18:15:25.713Z] 22ff95d597cd: Pulling fs layer [2023-02-15T18:15:25.713Z] 12d6caf4c0d1: Pulling fs layer [2023-02-15T18:15:25.713Z] 96b7cbca73a9: Pulling fs layer [2023-02-15T18:15:25.713Z] a7acece74701: Pulling fs layer [2023-02-15T18:15:25.713Z] 22ff95d597cd: Waiting [2023-02-15T18:15:25.713Z] 12d6caf4c0d1: Waiting [2023-02-15T18:15:25.713Z] 53926ce57604: Waiting [2023-02-15T18:15:25.713Z] 21b2b0c7a3f4: Waiting [2023-02-15T18:15:25.713Z] 96b7cbca73a9: Waiting [2023-02-15T18:15:25.713Z] a7acece74701: Waiting [2023-02-15T18:15:25.713Z] 93c1e223e6f2: Verifying Checksum [2023-02-15T18:15:25.713Z] 93c1e223e6f2: Download complete [2023-02-15T18:15:25.713Z] 4583459ba037: Download complete [2023-02-15T18:15:25.713Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-15T18:15:25.713Z] 21b2b0c7a3f4: Download complete [2023-02-15T18:15:25.713Z] 22ff95d597cd: Verifying Checksum [2023-02-15T18:15:25.713Z] 22ff95d597cd: Download complete [2023-02-15T18:15:25.713Z] 213ec9aee27d: Download complete [2023-02-15T18:15:25.713Z] 12d6caf4c0d1: Verifying Checksum [2023-02-15T18:15:25.713Z] 12d6caf4c0d1: Download complete [2023-02-15T18:15:25.979Z] 213ec9aee27d: Pull complete [2023-02-15T18:15:25.979Z] 4583459ba037: Pull complete [2023-02-15T18:15:25.979Z] 93c1e223e6f2: Pull complete [2023-02-15T18:15:27.026Z] a7acece74701: Verifying Checksum [2023-02-15T18:15:27.026Z] a7acece74701: Download complete [2023-02-15T18:15:27.302Z] 53926ce57604: Verifying Checksum [2023-02-15T18:15:27.302Z] 53926ce57604: Download complete [2023-02-15T18:15:27.302Z] 96b7cbca73a9: Verifying Checksum [2023-02-15T18:15:27.302Z] 96b7cbca73a9: Download complete [2023-02-15T18:15:32.579Z] 53926ce57604: Pull complete [2023-02-15T18:15:32.579Z] 21b2b0c7a3f4: Pull complete [2023-02-15T18:15:32.579Z] 22ff95d597cd: Pull complete [2023-02-15T18:15:32.579Z] 12d6caf4c0d1: Pull complete [2023-02-15T18:15:35.140Z] 96b7cbca73a9: Pull complete [2023-02-15T18:15:35.708Z] a7acece74701: Pull complete [2023-02-15T18:15:35.708Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-15T18:15:35.708Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-15T18:15:35.708Z] ---> db6d94c90886 [2023-02-15T18:15:35.708Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T18:15:38.242Z] ---> Running in 98b6093e19d9 [2023-02-15T18:15:38.242Z] Removing intermediate container 98b6093e19d9 [2023-02-15T18:15:38.242Z] ---> f9e87c1daa3c [2023-02-15T18:15:38.242Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T18:15:38.242Z] ---> Running in 00d20de26ac6 [2023-02-15T18:15:38.338Z] Still waiting to schedule task [2023-02-15T18:15:38.339Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-15T18:15:38.501Z] Removing intermediate container 00d20de26ac6 [2023-02-15T18:15:38.501Z] ---> 7369ba97aaff [2023-02-15T18:15:38.501Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-15T18:15:38.501Z] ---> Running in 3492e5cdbcd4 [2023-02-15T18:15:38.501Z] Removing intermediate container 3492e5cdbcd4 [2023-02-15T18:15:38.501Z] ---> 0d59a183abdc [2023-02-15T18:15:38.501Z] Step 6/12 : WORKDIR /device-virtual-go [2023-02-15T18:15:38.766Z] ---> Running in b287741ac045 [2023-02-15T18:15:38.766Z] Removing intermediate container b287741ac045 [2023-02-15T18:15:38.766Z] ---> d5997489b14b [2023-02-15T18:15:38.766Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T18:15:39.025Z] ---> Running in c7dc831d607a [2023-02-15T18:15:39.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T18:15:39.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T18:15:39.544Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T18:15:39.544Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-15T18:15:39.544Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T18:15:39.803Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T18:15:39.803Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T18:15:39.803Z] OK: 216 MiB in 55 packages [2023-02-15T18:15:40.062Z] Removing intermediate container c7dc831d607a [2023-02-15T18:15:40.062Z] ---> 9130bbbc5eb6 [2023-02-15T18:15:40.062Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-15T18:15:40.320Z] ---> e164788be64a [2023-02-15T18:15:40.320Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T18:15:40.320Z] ---> Running in 961fbb1672a3 [2023-02-15T18:16:12.440Z] Removing intermediate container 961fbb1672a3 [2023-02-15T18:16:12.440Z] ---> f2b46ff4573d [2023-02-15T18:16:12.440Z] Step 10/12 : COPY . . [2023-02-15T18:16:12.440Z] ---> 8c2b54f36057 [2023-02-15T18:16:12.440Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T18:16:12.440Z] ---> Running in 94c950a2b622 [2023-02-15T18:16:12.440Z] Removing intermediate container 94c950a2b622 [2023-02-15T18:16:12.440Z] ---> 4f0ff52e8903 [2023-02-15T18:16:12.440Z] Step 12/12 : RUN $MAKE [2023-02-15T18:16:12.440Z] ---> Running in e5ff196d0c91 [2023-02-15T18:16:12.440Z] noop [2023-02-15T18:16:12.440Z] Removing intermediate container e5ff196d0c91 [2023-02-15T18:16:12.440Z] ---> 629d8970dffb [2023-02-15T18:16:12.440Z] Successfully built 629d8970dffb [2023-02-15T18:16:12.440Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:16:12.888Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T18:16:12.888Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:16:13.037Z] prd-ubuntu20.04-docker-8c-8g-6165 does not seem to be running inside a container [2023-02-15T18:16:13.076Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-340 -v /w/workspace/foundry_device-virtual-go_PR-340:/w/workspace/foundry_device-virtual-go_PR-340:rw,z -v /w/workspace/foundry_device-virtual-go_PR-340@tmp:/w/workspace/foundry_device-virtual-go_PR-340@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-15T18:16:13.461Z] $ docker top 6ff97fc325a6db4f9458cab6d6e14206b0794eebaadef646ca6ca6d3485c518d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:16:14.863Z] + go version [2023-02-15T18:16:14.863Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-15T18:16:14.898Z] $ docker stop --time=1 6ff97fc325a6db4f9458cab6d6e14206b0794eebaadef646ca6ca6d3485c518d [2023-02-15T18:16:16.418Z] $ docker rm -f --volumes 6ff97fc325a6db4f9458cab6d6e14206b0794eebaadef646ca6ca6d3485c518d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:16:17.087Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T18:16:17.087Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:16:17.234Z] prd-ubuntu20.04-docker-8c-8g-6165 does not seem to be running inside a container [2023-02-15T18:16:17.281Z] $ 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-340 -v /w/workspace/foundry_device-virtual-go_PR-340:/w/workspace/foundry_device-virtual-go_PR-340:rw,z -v /w/workspace/foundry_device-virtual-go_PR-340@tmp:/w/workspace/foundry_device-virtual-go_PR-340@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-15T18:16:17.659Z] $ docker top c1f711542aebd16fc78dd0da6767ec4c88a910d42d8befdcedc62261ce8d9204 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:16:18.056Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-340 [Pipeline] fileExists [Pipeline] sh [2023-02-15T18:16:18.422Z] + make test [2023-02-15T18:16:18.422Z] go test ./... -coverprofile=coverage.out [2023-02-15T18:16:18.680Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-02-15T18:16:26.790Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-02-15T18:16:27.357Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.039s coverage: 65.7% of statements [2023-02-15T18:16:33.909Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-15T18:16:33.909Z] go vet ./... [2023-02-15T18:16:36.436Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T18:16:36.436Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T18:16:36.436Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-15T18:16:36.471Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T18:16:36.503Z] $ docker stop --time=1 c1f711542aebd16fc78dd0da6767ec4c88a910d42d8befdcedc62261ce8d9204 [2023-02-15T18:16:38.365Z] $ docker rm -f --volumes c1f711542aebd16fc78dd0da6767ec4c88a910d42d8befdcedc62261ce8d9204 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T18:16:38.852Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T18:16:38.938Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-15T18:16:39.636Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T18:16:39.946Z] + ls -al . [2023-02-15T18:16:39.946Z] total 192 [2023-02-15T18:16:39.946Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 15 18:16 . [2023-02-15T18:16:39.946Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:14 .. [2023-02-15T18:16:39.946Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 18:16 .git [2023-02-15T18:16:39.946Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:14 .github [2023-02-15T18:16:39.946Z] -rw-rw-r-- 1 jenkins jenkins 337 Feb 15 18:14 .gitignore [2023-02-15T18:16:39.946Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 18:14 .golangci.yml [2023-02-15T18:16:39.946Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 18:15 .semver [2023-02-15T18:16:39.946Z] -rw-rw-r-- 1 jenkins jenkins 8641 Feb 15 18:14 Attribution.txt [2023-02-15T18:16:39.946Z] -rw-rw-r-- 1 jenkins jenkins 11367 Feb 15 18:14 CHANGELOG.md [2023-02-15T18:16:39.946Z] -rw-rw-r-- 1 jenkins jenkins 1646 Feb 15 18:14 Dockerfile [2023-02-15T18:16:39.946Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 18:14 GOVERNANCE.md [2023-02-15T18:16:39.946Z] -rw-rw-r-- 1 jenkins jenkins 660 Feb 15 18:14 Jenkinsfile [2023-02-15T18:16:39.946Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 18:14 LICENSE [2023-02-15T18:16:39.946Z] -rw-rw-r-- 1 jenkins jenkins 1661 Feb 15 18:14 Makefile [2023-02-15T18:16:39.946Z] -rw-rw-r-- 1 jenkins jenkins 623 Feb 15 18:14 OWNERS.md [2023-02-15T18:16:39.946Z] -rw-rw-r-- 1 jenkins jenkins 3578 Feb 15 18:14 README.md [2023-02-15T18:16:39.946Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 18:15 VERSION [2023-02-15T18:16:39.946Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 18:14 bin [2023-02-15T18:16:39.946Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:14 cmd [2023-02-15T18:16:39.946Z] -rw-r--r-- 1 jenkins jenkins 44128 Feb 15 18:16 coverage.out [2023-02-15T18:16:39.946Z] -rw-rw-r-- 1 jenkins jenkins 3252 Feb 15 18:14 go.mod [2023-02-15T18:16:39.946Z] -rw-rw-r-- 1 jenkins jenkins 32588 Feb 15 18:14 go.sum [2023-02-15T18:16:39.946Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:14 internal [2023-02-15T18:16:39.946Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:14 snap [2023-02-15T18:16:39.946Z] -rw-rw-r-- 1 jenkins jenkins 235 Feb 15 18:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:16:40.348Z] + 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=a90195f79b7d6871c4edc46fd727ad8500d3e5d8 --label arch=amd64 --label version=0.0.0 . [2023-02-15T18:16:40.348Z] Sending build context to Docker daemon 23.43MB [2023-02-15T18:16:40.348Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T18:16:40.348Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-15T18:16:40.348Z] ---> 629d8970dffb [2023-02-15T18:16:40.348Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T18:16:40.610Z] ---> Running in a3ba123bbb7d [2023-02-15T18:16:40.610Z] Removing intermediate container a3ba123bbb7d [2023-02-15T18:16:40.610Z] ---> e2d6a210075a [2023-02-15T18:16:40.610Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T18:16:40.610Z] ---> Running in cee688ee48a5 [2023-02-15T18:16:40.610Z] Removing intermediate container cee688ee48a5 [2023-02-15T18:16:40.610Z] ---> f0f64b7271db [2023-02-15T18:16:40.610Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-02-15T18:16:40.871Z] ---> Running in 612ae7beeb06 [2023-02-15T18:16:40.871Z] Removing intermediate container 612ae7beeb06 [2023-02-15T18:16:40.871Z] ---> 65fd3a4afc1f [2023-02-15T18:16:40.871Z] Step 6/25 : WORKDIR /device-virtual-go [2023-02-15T18:16:40.871Z] ---> Running in 4961afde41a0 [2023-02-15T18:16:40.871Z] Removing intermediate container 4961afde41a0 [2023-02-15T18:16:40.871Z] ---> 1f515dca4a5b [2023-02-15T18:16:40.871Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T18:16:41.132Z] ---> Running in 4b62ad4ce273 [2023-02-15T18:16:41.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T18:16:41.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T18:16:41.651Z] OK: 216 MiB in 55 packages [2023-02-15T18:16:42.220Z] Removing intermediate container 4b62ad4ce273 [2023-02-15T18:16:42.220Z] ---> f124a478c9f1 [2023-02-15T18:16:42.220Z] Step 8/25 : COPY go.mod vendor* ./ [2023-02-15T18:16:42.220Z] ---> e899bf9efd2e [2023-02-15T18:16:42.220Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T18:16:42.220Z] ---> Running in d0d695cd6129 [2023-02-15T18:16:43.157Z] Removing intermediate container d0d695cd6129 [2023-02-15T18:16:43.157Z] ---> 59e6a16f8543 [2023-02-15T18:16:43.157Z] Step 10/25 : COPY . . [2023-02-15T18:16:43.724Z] ---> ad7b2013cacc [2023-02-15T18:16:43.724Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T18:16:43.724Z] ---> Running in 3aec85e751cf [2023-02-15T18:16:43.724Z] Removing intermediate container 3aec85e751cf [2023-02-15T18:16:43.724Z] ---> 34428d322958 [2023-02-15T18:16:43.724Z] Step 12/25 : RUN $MAKE [2023-02-15T18:16:43.724Z] ---> Running in 9100f75accac [2023-02-15T18:16:43.982Z] 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-02-15T18:17:02.063Z] Removing intermediate container 9100f75accac [2023-02-15T18:17:02.063Z] ---> 033544408384 [2023-02-15T18:17:02.063Z] Step 13/25 : FROM alpine:3.16 [2023-02-15T18:17:02.063Z] 3.16: Pulling from library/alpine [2023-02-15T18:17:02.063Z] ef5531b6e74e: Pulling fs layer [2023-02-15T18:17:02.063Z] ef5531b6e74e: Verifying Checksum [2023-02-15T18:17:02.063Z] ef5531b6e74e: Download complete [2023-02-15T18:17:02.063Z] ef5531b6e74e: Pull complete [2023-02-15T18:17:02.063Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T18:17:02.063Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T18:17:02.063Z] ---> dfd21b5a31f5 [2023-02-15T18:17:02.063Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-02-15T18:17:02.063Z] ---> Running in 1e35e4c30efc [2023-02-15T18:17:02.063Z] Removing intermediate container 1e35e4c30efc [2023-02-15T18:17:02.063Z] ---> d8633d583b62 [2023-02-15T18:17:02.064Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-02-15T18:17:02.064Z] ---> Running in 1bbe11cabfe8 [2023-02-15T18:17:02.064Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T18:17:02.064Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T18:17:02.323Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-15T18:17:02.323Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T18:17:02.323Z] OK: 6 MiB in 15 packages [2023-02-15T18:17:02.889Z] Removing intermediate container 1bbe11cabfe8 [2023-02-15T18:17:02.889Z] ---> 5a162bb90ebe [2023-02-15T18:17:02.889Z] Step 16/25 : WORKDIR / [2023-02-15T18:17:02.889Z] ---> Running in ad2a248567ba [2023-02-15T18:17:02.889Z] Removing intermediate container ad2a248567ba [2023-02-15T18:17:02.889Z] ---> 03de79d00458 [2023-02-15T18:17:02.889Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-02-15T18:17:03.148Z] ---> 152ca4bf3eaa [2023-02-15T18:17:03.148Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-02-15T18:17:03.148Z] ---> a361aece35a3 [2023-02-15T18:17:03.148Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-02-15T18:17:03.717Z] ---> 907b82773e45 [2023-02-15T18:17:03.717Z] Step 20/25 : EXPOSE 59900 [2023-02-15T18:17:03.717Z] ---> Running in 585369f93077 [2023-02-15T18:17:03.976Z] Removing intermediate container 585369f93077 [2023-02-15T18:17:03.976Z] ---> 8e40a82feee3 [2023-02-15T18:17:03.976Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-02-15T18:17:03.976Z] ---> Running in 49f73fe934e4 [2023-02-15T18:17:03.976Z] Removing intermediate container 49f73fe934e4 [2023-02-15T18:17:03.976Z] ---> a43af6b22b48 [2023-02-15T18:17:03.976Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-15T18:17:03.976Z] ---> Running in 3a3c9f567498 [2023-02-15T18:17:04.237Z] Removing intermediate container 3a3c9f567498 [2023-02-15T18:17:04.237Z] ---> c2945cca8a92 [2023-02-15T18:17:04.237Z] Step 23/25 : LABEL arch=amd64 [2023-02-15T18:17:04.237Z] ---> Running in d8644a2ffcd3 [2023-02-15T18:17:04.237Z] Removing intermediate container d8644a2ffcd3 [2023-02-15T18:17:04.237Z] ---> b32ad7810fdf [2023-02-15T18:17:04.237Z] Step 24/25 : LABEL git_sha=a90195f79b7d6871c4edc46fd727ad8500d3e5d8 [2023-02-15T18:17:04.500Z] ---> Running in d88fec3b4745 [2023-02-15T18:17:04.500Z] Removing intermediate container d88fec3b4745 [2023-02-15T18:17:04.500Z] ---> a0f8bebb3820 [2023-02-15T18:17:04.500Z] Step 25/25 : LABEL version=0.0.0 [2023-02-15T18:17:04.500Z] ---> Running in e4751daaa225 [2023-02-15T18:17:04.500Z] Removing intermediate container e4751daaa225 [2023-02-15T18:17:04.500Z] ---> 0b76711dc863 [2023-02-15T18:17:04.500Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T18:17:04.500Z] Successfully built 0b76711dc863 [2023-02-15T18:17:04.500Z] 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-02-15T18:17:05.399Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T18:17:05.399Z] [2023-02-15T18:17:05.399Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:17:05.785Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T18:17:05.785Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-15T18:17:05.785Z] 5eb5b503b376: Pulling fs layer [2023-02-15T18:17:05.785Z] 5c69ac0246d0: Pulling fs layer [2023-02-15T18:17:05.785Z] ec43610c2a17: Pulling fs layer [2023-02-15T18:17:05.785Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-15T18:17:05.785Z] 33b1e0a273af: Pulling fs layer [2023-02-15T18:17:05.785Z] 5d3b04190fa2: Pulling fs layer [2023-02-15T18:17:05.785Z] 2f39f015ded8: Pulling fs layer [2023-02-15T18:17:05.785Z] 3a2ae6a8a46f: Waiting [2023-02-15T18:17:05.785Z] 33b1e0a273af: Waiting [2023-02-15T18:17:05.785Z] 2f39f015ded8: Waiting [2023-02-15T18:17:05.785Z] 5d3b04190fa2: Waiting [2023-02-15T18:17:05.785Z] 5c69ac0246d0: Verifying Checksum [2023-02-15T18:17:05.785Z] 5c69ac0246d0: Download complete [2023-02-15T18:17:05.785Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-15T18:17:05.785Z] 3a2ae6a8a46f: Download complete [2023-02-15T18:17:06.056Z] 33b1e0a273af: Verifying Checksum [2023-02-15T18:17:06.056Z] 33b1e0a273af: Download complete [2023-02-15T18:17:06.056Z] 5d3b04190fa2: Verifying Checksum [2023-02-15T18:17:06.056Z] 5d3b04190fa2: Download complete [2023-02-15T18:17:06.056Z] ec43610c2a17: Verifying Checksum [2023-02-15T18:17:06.057Z] ec43610c2a17: Download complete [2023-02-15T18:17:06.324Z] 5eb5b503b376: Verifying Checksum [2023-02-15T18:17:06.324Z] 5eb5b503b376: Download complete [2023-02-15T18:17:07.299Z] 2f39f015ded8: Verifying Checksum [2023-02-15T18:17:07.299Z] 2f39f015ded8: Download complete [2023-02-15T18:17:07.299Z] 5eb5b503b376: Pull complete [2023-02-15T18:17:07.557Z] 5c69ac0246d0: Pull complete [2023-02-15T18:17:07.816Z] ec43610c2a17: Pull complete [2023-02-15T18:17:08.073Z] 3a2ae6a8a46f: Pull complete [2023-02-15T18:17:08.073Z] 33b1e0a273af: Pull complete [2023-02-15T18:17:08.331Z] 5d3b04190fa2: Pull complete [2023-02-15T18:17:12.519Z] 2f39f015ded8: Pull complete [2023-02-15T18:17:12.519Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-15T18:17:12.519Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T18:17:12.519Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:17:12.744Z] prd-ubuntu20.04-docker-8c-8g-6165 does not seem to be running inside a container [2023-02-15T18:17:12.780Z] $ 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-340 -v /w/workspace/foundry_device-virtual-go_PR-340:/w/workspace/foundry_device-virtual-go_PR-340:rw,z -v /w/workspace/foundry_device-virtual-go_PR-340@tmp:/w/workspace/foundry_device-virtual-go_PR-340@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T18:17:14.451Z] $ docker top 91031df3d19625a4e6ce76f51c4b398dc0ea61bc61842641e58120303f6b688e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:17:14.898Z] ---> job-cost.sh [2023-02-15T18:17:14.898Z] lf-activate-venv: SKIPPING [2023-02-15T18:17:14.898Z] INFO: No Stack... [2023-02-15T18:17:15.159Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T18:17:15.419Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T18:17:15.735Z] + cat /w/workspace/foundry_device-virtual-go_PR-340/archives/cost.csv [2023-02-15T18:17:15.735Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T18:17:15.773Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-340-1-stack-cost] [2023-02-15T18:17:15.778Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-340-1-stack-cost] did not exist. Created. [2023-02-15T18:17:15.778Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-340-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T18:17:16.176Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-15T18:17:16.228Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T18:17:16.257Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-340-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T18:17:16.336Z] $ docker stop --time=1 91031df3d19625a4e6ce76f51c4b398dc0ea61bc61842641e58120303f6b688e [2023-02-15T18:17:17.523Z] $ docker rm -f --volumes 91031df3d19625a4e6ce76f51c4b398dc0ea61bc61842641e58120303f6b688e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T18:18:28.721Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6166 in /w/workspace/foundry_device-virtual-go_PR-340 [Pipeline] { [Pipeline] ws [2023-02-15T18:18:28.785Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-02-15T18:18:28.869Z] The recommended git tool is: git [2023-02-15T18:18:34.498Z] using credential edgex-jenkins-ssh [2023-02-15T18:18:34.513Z] Cloning the remote Git repository [2023-02-15T18:18:34.555Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-02-15T18:18:34.630Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-02-15T18:18:34.797Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-02-15T18:18:34.799Z] > git --version # timeout=10 [2023-02-15T18:18:34.821Z] > git --version # 'git version 2.25.1' [2023-02-15T18:18:34.824Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T18:18:34.885Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T18:18:37.005Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-02-15T18:18:37.027Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T18:18:38.602Z] Merging remotes/origin/main commit 3a5423f0b5727ef686932519f865aa3ff45a9adc into PR head commit a90195f79b7d6871c4edc46fd727ad8500d3e5d8 [2023-02-15T18:18:38.829Z] Merge succeeded, producing a90195f79b7d6871c4edc46fd727ad8500d3e5d8 [2023-02-15T18:18:38.829Z] Checking out Revision a90195f79b7d6871c4edc46fd727ad8500d3e5d8 (PR-340) [2023-02-15T18:18:37.898Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-02-15T18:18:37.943Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-02-15T18:18:37.944Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T18:18:37.960Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/340/head:refs/remotes/origin/PR-340 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-15T18:18:38.619Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T18:18:38.643Z] > git checkout -f a90195f79b7d6871c4edc46fd727ad8500d3e5d8 # timeout=10 [2023-02-15T18:18:38.727Z] > git remote # timeout=10 [2023-02-15T18:18:38.744Z] > git config --get remote.origin.url # timeout=10 [2023-02-15T18:18:38.767Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T18:18:38.780Z] > git merge 3a5423f0b5727ef686932519f865aa3ff45a9adc # timeout=10 [2023-02-15T18:18:38.805Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-15T18:18:38.834Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T18:18:38.848Z] > git checkout -f a90195f79b7d6871c4edc46fd727ad8500d3e5d8 # timeout=10 [2023-02-15T18:18:42.354Z] Commit message: "refactor!: Replace internal topics from config with new constants" [2023-02-15T18:18:42.404Z] > git --version # timeout=10 [2023-02-15T18:18:42.416Z] > git --version # 'git version 2.25.1' [2023-02-15T18:18:42.431Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T18:18:43.474Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-15T18:18:43.474Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T18:18:43.474Z] Dload Upload Total Spent Left Speed [2023-02-15T18:18:43.474Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98084 [Pipeline] sh [2023-02-15T18:18:44.235Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-15T18:18:44.588Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-15T18:18:44.588Z] + sudo tee /etc/docker/daemon.new [2023-02-15T18:18:44.588Z] { [2023-02-15T18:18:44.588Z] "registry-mirrors": [ [2023-02-15T18:18:44.588Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-15T18:18:44.588Z] ], [2023-02-15T18:18:44.588Z] "bip": "10.250.0.254/24", [2023-02-15T18:18:44.588Z] "hosts": [ [2023-02-15T18:18:44.588Z] "tcp://0.0.0.0:5555", [2023-02-15T18:18:44.588Z] "unix:///var/run/docker.sock" [2023-02-15T18:18:44.588Z] ], [2023-02-15T18:18:44.588Z] "mtu": 1458, [2023-02-15T18:18:44.588Z] "selinux-enabled": true, [2023-02-15T18:18:44.588Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-15T18:18:44.588Z] } [Pipeline] sh [2023-02-15T18:18:44.942Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-15T18:18:45.291Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:19:07.485Z] provisioning config files... [2023-02-15T18:19:07.514Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config3453552313383017133tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:19:07.910Z] ---> docker-login.sh [2023-02-15T18:19:07.910Z] nexus3.edgexfoundry.org:10001 [2023-02-15T18:19:08.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:19:08.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:19:08.500Z] Configure a credential helper to remove this warning. See [2023-02-15T18:19:08.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:19:08.500Z] [2023-02-15T18:19:08.500Z] Login Succeeded [2023-02-15T18:19:08.500Z] nexus3.edgexfoundry.org:10002 [2023-02-15T18:19:08.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:19:09.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:19:09.046Z] Configure a credential helper to remove this warning. See [2023-02-15T18:19:09.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:19:09.046Z] [2023-02-15T18:19:09.046Z] Login Succeeded [2023-02-15T18:19:09.046Z] nexus3.edgexfoundry.org:10003 [2023-02-15T18:19:09.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:19:09.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:19:09.317Z] Configure a credential helper to remove this warning. See [2023-02-15T18:19:09.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:19:09.317Z] [2023-02-15T18:19:09.317Z] Login Succeeded [2023-02-15T18:19:09.317Z] nexus3.edgexfoundry.org:10004 [2023-02-15T18:19:09.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:19:09.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:19:09.855Z] Configure a credential helper to remove this warning. See [2023-02-15T18:19:09.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:19:09.855Z] [2023-02-15T18:19:09.855Z] Login Succeeded [2023-02-15T18:19:09.855Z] docker.io [2023-02-15T18:19:10.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:19:10.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:19:10.391Z] Configure a credential helper to remove this warning. See [2023-02-15T18:19:10.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:19:10.391Z] [2023-02-15T18:19:10.391Z] Login Succeeded [2023-02-15T18:19:10.391Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T18:19:10.421Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T18:19:10.817Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:19:10.853Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:19:10.889Z] ========================================================= [2023-02-15T18:19:10.889Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-15T18:19:10.889Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:19:11.379Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T18:19:11.656Z] Sending build context to Docker daemon 11.85MB [2023-02-15T18:19:11.930Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T18:19:11.930Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-15T18:19:11.930Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-15T18:19:11.930Z] 9b18e9b68314: Pulling fs layer [2023-02-15T18:19:11.930Z] 35d82f9e3411: Pulling fs layer [2023-02-15T18:19:11.930Z] e16973657156: Pulling fs layer [2023-02-15T18:19:11.930Z] fc693d55d65f: Pulling fs layer [2023-02-15T18:19:11.930Z] 7e9fc2657dce: Pulling fs layer [2023-02-15T18:19:11.930Z] dda99020689f: Pulling fs layer [2023-02-15T18:19:11.930Z] db1c61fa0a46: Pulling fs layer [2023-02-15T18:19:11.930Z] 891c053d2c06: Pulling fs layer [2023-02-15T18:19:11.930Z] fc693d55d65f: Waiting [2023-02-15T18:19:11.930Z] 7e9fc2657dce: Waiting [2023-02-15T18:19:11.930Z] dda99020689f: Waiting [2023-02-15T18:19:11.930Z] db1c61fa0a46: Waiting [2023-02-15T18:19:11.930Z] 891c053d2c06: Waiting [2023-02-15T18:19:11.930Z] e16973657156: Download complete [2023-02-15T18:19:11.930Z] 35d82f9e3411: Verifying Checksum [2023-02-15T18:19:11.930Z] 35d82f9e3411: Download complete [2023-02-15T18:19:12.208Z] 7e9fc2657dce: Download complete [2023-02-15T18:19:12.208Z] dda99020689f: Verifying Checksum [2023-02-15T18:19:12.208Z] dda99020689f: Download complete [2023-02-15T18:19:12.208Z] 9b18e9b68314: Verifying Checksum [2023-02-15T18:19:12.208Z] 9b18e9b68314: Download complete [2023-02-15T18:19:13.195Z] 9b18e9b68314: Pull complete [2023-02-15T18:19:13.195Z] 891c053d2c06: Verifying Checksum [2023-02-15T18:19:13.195Z] 891c053d2c06: Download complete [2023-02-15T18:19:13.793Z] 35d82f9e3411: Pull complete [2023-02-15T18:19:13.793Z] e16973657156: Pull complete [2023-02-15T18:19:14.386Z] db1c61fa0a46: Download complete [2023-02-15T18:19:14.970Z] fc693d55d65f: Verifying Checksum [2023-02-15T18:19:14.970Z] fc693d55d65f: Download complete [2023-02-15T18:19:27.298Z] fc693d55d65f: Pull complete [2023-02-15T18:19:27.298Z] 7e9fc2657dce: Pull complete [2023-02-15T18:19:27.298Z] dda99020689f: Pull complete [2023-02-15T18:19:31.557Z] db1c61fa0a46: Pull complete [2023-02-15T18:19:32.968Z] 891c053d2c06: Pull complete [2023-02-15T18:19:32.968Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-15T18:19:32.968Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-15T18:19:32.968Z] ---> f96f9c87975a [2023-02-15T18:19:32.968Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T18:19:33.927Z] ---> Running in 36a40ae3c4fc [2023-02-15T18:19:34.206Z] Removing intermediate container 36a40ae3c4fc [2023-02-15T18:19:34.206Z] ---> e888dcfe04c5 [2023-02-15T18:19:34.206Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T18:19:34.206Z] ---> Running in 8dd507560843 [2023-02-15T18:19:34.473Z] Removing intermediate container 8dd507560843 [2023-02-15T18:19:34.473Z] ---> 4f37235a8db2 [2023-02-15T18:19:34.473Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-15T18:19:34.739Z] ---> Running in 19b9c66f401d [2023-02-15T18:19:35.006Z] Removing intermediate container 19b9c66f401d [2023-02-15T18:19:35.006Z] ---> 2a4c17ab602c [2023-02-15T18:19:35.006Z] Step 6/12 : WORKDIR /device-virtual-go [2023-02-15T18:19:35.006Z] ---> Running in 207d98d1df82 [2023-02-15T18:19:35.277Z] Removing intermediate container 207d98d1df82 [2023-02-15T18:19:35.277Z] ---> 74989d11b619 [2023-02-15T18:19:35.277Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T18:19:35.277Z] ---> Running in 6956f2622f52 [2023-02-15T18:19:36.694Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T18:19:36.694Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T18:19:37.656Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T18:19:37.656Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-15T18:19:37.656Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T18:19:37.656Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T18:19:37.656Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T18:19:37.656Z] OK: 226 MiB in 55 packages [2023-02-15T18:19:38.617Z] Removing intermediate container 6956f2622f52 [2023-02-15T18:19:38.617Z] ---> 3afd79bd2718 [2023-02-15T18:19:38.617Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-15T18:19:39.207Z] ---> 470d13795ddc [2023-02-15T18:19:39.207Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T18:19:39.207Z] ---> Running in a9b2aaa63490 [2023-02-15T18:20:47.105Z] Removing intermediate container a9b2aaa63490 [2023-02-15T18:20:47.105Z] ---> f781f393b1d4 [2023-02-15T18:20:47.105Z] Step 10/12 : COPY . . [2023-02-15T18:20:47.105Z] ---> f7da628c0010 [2023-02-15T18:20:47.105Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T18:20:47.105Z] ---> Running in 8f0fdcf5f232 [2023-02-15T18:20:47.105Z] Removing intermediate container 8f0fdcf5f232 [2023-02-15T18:20:47.105Z] ---> 9fe1ffcc0a08 [2023-02-15T18:20:47.105Z] Step 12/12 : RUN $MAKE [2023-02-15T18:20:47.105Z] ---> Running in d693ff18323c [2023-02-15T18:20:47.695Z] noop [2023-02-15T18:20:48.283Z] Removing intermediate container d693ff18323c [2023-02-15T18:20:48.283Z] ---> e9b927b941b3 [2023-02-15T18:20:48.283Z] Successfully built e9b927b941b3 [2023-02-15T18:20:48.283Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:20:48.773Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T18:20:48.773Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:20:49.048Z] prd-ubuntu20.04-docker-arm64-4c-16g-6166 does not seem to be running inside a container [2023-02-15T18:20:49.114Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-15T18:20:50.326Z] $ docker top 3a015d0b0ac4415d57c04a50298871ec4581ca820dff473d7f913bf47eeff5ac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:20:51.221Z] + go version [2023-02-15T18:20:51.221Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-15T18:20:51.253Z] $ docker stop --time=1 3a015d0b0ac4415d57c04a50298871ec4581ca820dff473d7f913bf47eeff5ac [2023-02-15T18:20:52.881Z] $ docker rm -f --volumes 3a015d0b0ac4415d57c04a50298871ec4581ca820dff473d7f913bf47eeff5ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:20:53.687Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T18:20:53.687Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:20:53.945Z] prd-ubuntu20.04-docker-arm64-4c-16g-6166 does not seem to be running inside a container [2023-02-15T18:20:54.015Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-15T18:20:55.305Z] $ docker top e37cf1b0f25a93db941fbb3a701217f4eec111ad5b0473528280a42c954a9388 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:20:55.871Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-15T18:20:56.880Z] + make test [2023-02-15T18:20:56.880Z] go test ./... -coverprofile=coverage.out [2023-02-15T18:20:58.313Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-02-15T18:22:19.967Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-02-15T18:22:19.967Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.139s coverage: 65.7% of statements [2023-02-15T18:22:19.967Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-15T18:22:19.967Z] go vet ./... [2023-02-15T18:22:42.053Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T18:22:42.053Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T18:22:42.053Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-15T18:22:42.357Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T18:22:42.383Z] $ docker stop --time=1 e37cf1b0f25a93db941fbb3a701217f4eec111ad5b0473528280a42c954a9388 [2023-02-15T18:22:44.208Z] $ docker rm -f --volumes e37cf1b0f25a93db941fbb3a701217f4eec111ad5b0473528280a42c954a9388 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T18:22:45.265Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T18:22:45.305Z] Warning: overwriting stash ‘coverage-report’ [2023-02-15T18:22:45.760Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T18:22:46.353Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T18:22:46.690Z] + ls -al . [2023-02-15T18:22:46.690Z] total 188 [2023-02-15T18:22:46.690Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 18:20 . [2023-02-15T18:22:46.690Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:18 .. [2023-02-15T18:22:46.690Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 18:18 .git [2023-02-15T18:22:46.690Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:18 .github [2023-02-15T18:22:46.690Z] -rw-rw-r-- 1 jenkins jenkins 337 Feb 15 18:18 .gitignore [2023-02-15T18:22:46.690Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 18:18 .golangci.yml [2023-02-15T18:22:46.690Z] -rw-rw-r-- 1 jenkins jenkins 8641 Feb 15 18:18 Attribution.txt [2023-02-15T18:22:46.690Z] -rw-rw-r-- 1 jenkins jenkins 11367 Feb 15 18:18 CHANGELOG.md [2023-02-15T18:22:46.690Z] -rw-rw-r-- 1 jenkins jenkins 1646 Feb 15 18:18 Dockerfile [2023-02-15T18:22:46.690Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 18:18 GOVERNANCE.md [2023-02-15T18:22:46.690Z] -rw-rw-r-- 1 jenkins jenkins 660 Feb 15 18:18 Jenkinsfile [2023-02-15T18:22:46.690Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 18:18 LICENSE [2023-02-15T18:22:46.690Z] -rw-rw-r-- 1 jenkins jenkins 1661 Feb 15 18:18 Makefile [2023-02-15T18:22:46.690Z] -rw-rw-r-- 1 jenkins jenkins 623 Feb 15 18:18 OWNERS.md [2023-02-15T18:22:46.690Z] -rw-rw-r-- 1 jenkins jenkins 3578 Feb 15 18:18 README.md [2023-02-15T18:22:46.690Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 18:15 VERSION [2023-02-15T18:22:46.690Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 18:18 bin [2023-02-15T18:22:46.690Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:18 cmd [2023-02-15T18:22:46.690Z] -rw-r--r-- 1 jenkins jenkins 44128 Feb 15 18:22 coverage.out [2023-02-15T18:22:46.690Z] -rw-rw-r-- 1 jenkins jenkins 3252 Feb 15 18:18 go.mod [2023-02-15T18:22:46.690Z] -rw-rw-r-- 1 jenkins jenkins 32588 Feb 15 18:18 go.sum [2023-02-15T18:22:46.690Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:18 internal [2023-02-15T18:22:46.690Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:18 snap [2023-02-15T18:22:46.690Z] -rw-rw-r-- 1 jenkins jenkins 235 Feb 15 18:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:22:47.103Z] + 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=a90195f79b7d6871c4edc46fd727ad8500d3e5d8 --label arch=arm64 --label version=0.0.0 . [2023-02-15T18:22:47.375Z] Sending build context to Docker daemon 11.9MB [2023-02-15T18:22:47.644Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T18:22:47.644Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-15T18:22:47.644Z] ---> e9b927b941b3 [2023-02-15T18:22:47.644Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T18:22:47.644Z] ---> Running in e14baad79d5e [2023-02-15T18:22:47.912Z] Removing intermediate container e14baad79d5e [2023-02-15T18:22:47.912Z] ---> 3b4e4e0406c3 [2023-02-15T18:22:47.912Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T18:22:47.912Z] ---> Running in ab578aefb1f7 [2023-02-15T18:22:48.499Z] Removing intermediate container ab578aefb1f7 [2023-02-15T18:22:48.499Z] ---> f960f59bdaf0 [2023-02-15T18:22:48.499Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-02-15T18:22:48.499Z] ---> Running in b27f5f0dfc1d [2023-02-15T18:22:48.767Z] Removing intermediate container b27f5f0dfc1d [2023-02-15T18:22:48.767Z] ---> 12457a8d0e85 [2023-02-15T18:22:48.767Z] Step 6/25 : WORKDIR /device-virtual-go [2023-02-15T18:22:48.767Z] ---> Running in 8274f4a2778c [2023-02-15T18:22:49.039Z] Removing intermediate container 8274f4a2778c [2023-02-15T18:22:49.039Z] ---> 16dc87434aa8 [2023-02-15T18:22:49.039Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T18:22:49.039Z] ---> Running in de82a89a5963 [2023-02-15T18:22:50.004Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T18:22:50.592Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T18:22:51.567Z] OK: 226 MiB in 55 packages [2023-02-15T18:22:52.531Z] Removing intermediate container de82a89a5963 [2023-02-15T18:22:52.531Z] ---> ae224189d681 [2023-02-15T18:22:52.531Z] Step 8/25 : COPY go.mod vendor* ./ [2023-02-15T18:22:52.885Z] ---> 65bfe285bfa4 [2023-02-15T18:22:52.885Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T18:22:52.885Z] ---> Running in eff175cc431c [2023-02-15T18:22:57.271Z] Removing intermediate container eff175cc431c [2023-02-15T18:22:57.271Z] ---> 9f0c79c89f71 [2023-02-15T18:22:57.271Z] Step 10/25 : COPY . . [2023-02-15T18:22:58.693Z] ---> 1755fb2ae223 [2023-02-15T18:22:58.693Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T18:22:58.693Z] ---> Running in b87f9e1a2572 [2023-02-15T18:22:58.963Z] Removing intermediate container b87f9e1a2572 [2023-02-15T18:22:58.963Z] ---> dad399a0fcdd [2023-02-15T18:22:58.963Z] Step 12/25 : RUN $MAKE [2023-02-15T18:22:58.963Z] ---> Running in 41dbf5b2af81 [2023-02-15T18:22:59.934Z] 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-02-15T18:25:06.675Z] Removing intermediate container 41dbf5b2af81 [2023-02-15T18:25:06.675Z] ---> 04737f21a46d [2023-02-15T18:25:06.675Z] Step 13/25 : FROM alpine:3.16 [2023-02-15T18:25:06.675Z] 3.16: Pulling from library/alpine [2023-02-15T18:25:06.675Z] 3760b48202b3: Pulling fs layer [2023-02-15T18:25:06.675Z] 3760b48202b3: Verifying Checksum [2023-02-15T18:25:06.675Z] 3760b48202b3: Download complete [2023-02-15T18:25:06.675Z] 3760b48202b3: Pull complete [2023-02-15T18:25:06.675Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T18:25:06.675Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T18:25:06.675Z] ---> 4c81e5bf8899 [2023-02-15T18:25:06.675Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-02-15T18:25:06.675Z] ---> Running in 35c1d60ad221 [2023-02-15T18:25:06.949Z] Removing intermediate container 35c1d60ad221 [2023-02-15T18:25:06.949Z] ---> bdae101607af [2023-02-15T18:25:06.949Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-02-15T18:25:06.949Z] ---> Running in 50cd160c65b2 [2023-02-15T18:25:08.378Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T18:25:08.378Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T18:25:09.345Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-15T18:25:09.345Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T18:25:09.613Z] OK: 5 MiB in 15 packages [2023-02-15T18:25:10.576Z] Removing intermediate container 50cd160c65b2 [2023-02-15T18:25:10.576Z] ---> d288a45c88c4 [2023-02-15T18:25:10.576Z] Step 16/25 : WORKDIR / [2023-02-15T18:25:10.576Z] ---> Running in bf45a7b36530 [2023-02-15T18:25:10.845Z] Removing intermediate container bf45a7b36530 [2023-02-15T18:25:10.845Z] ---> ec1c767c1d55 [2023-02-15T18:25:10.845Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-02-15T18:25:11.435Z] ---> e611095054a9 [2023-02-15T18:25:11.435Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-02-15T18:25:12.022Z] ---> c615f5bc7d27 [2023-02-15T18:25:12.022Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-02-15T18:25:13.438Z] ---> e4c55dcd6c7d [2023-02-15T18:25:13.438Z] Step 20/25 : EXPOSE 59900 [2023-02-15T18:25:13.438Z] ---> Running in 3f996b57b8d9 [2023-02-15T18:25:13.719Z] Removing intermediate container 3f996b57b8d9 [2023-02-15T18:25:13.719Z] ---> cc7804583d9c [2023-02-15T18:25:13.719Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-02-15T18:25:13.991Z] ---> Running in ba1847234ea2 [2023-02-15T18:25:14.261Z] Removing intermediate container ba1847234ea2 [2023-02-15T18:25:14.261Z] ---> 41a10e3332a1 [2023-02-15T18:25:14.261Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-15T18:25:14.261Z] ---> Running in ccbbb948ce7d [2023-02-15T18:25:14.533Z] Removing intermediate container ccbbb948ce7d [2023-02-15T18:25:14.533Z] ---> 2232ac6dee59 [2023-02-15T18:25:14.533Z] Step 23/25 : LABEL arch=arm64 [2023-02-15T18:25:14.801Z] ---> Running in fd73823684d8 [2023-02-15T18:25:15.071Z] Removing intermediate container fd73823684d8 [2023-02-15T18:25:15.071Z] ---> 05a4611deb46 [2023-02-15T18:25:15.071Z] Step 24/25 : LABEL git_sha=a90195f79b7d6871c4edc46fd727ad8500d3e5d8 [2023-02-15T18:25:15.071Z] ---> Running in 1f339ec5e41c [2023-02-15T18:25:15.343Z] Removing intermediate container 1f339ec5e41c [2023-02-15T18:25:15.343Z] ---> df7d643b048d [2023-02-15T18:25:15.343Z] Step 25/25 : LABEL version=0.0.0 [2023-02-15T18:25:15.343Z] ---> Running in be11f4831a9a [2023-02-15T18:25:15.933Z] Removing intermediate container be11f4831a9a [2023-02-15T18:25:15.933Z] ---> 6a0708dad494 [2023-02-15T18:25:15.933Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T18:25:15.933Z] Successfully built 6a0708dad494 [2023-02-15T18:25:15.933Z] 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-02-15T18:25:16.698Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T18:25:16.698Z] [2023-02-15T18:25:16.698Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:25:17.095Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T18:25:17.095Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-15T18:25:17.095Z] 8998bd30e6a1: Pulling fs layer [2023-02-15T18:25:17.095Z] 04944245beec: Pulling fs layer [2023-02-15T18:25:17.095Z] 699f458cf7ca: Pulling fs layer [2023-02-15T18:25:17.095Z] 765212b225bb: Pulling fs layer [2023-02-15T18:25:17.095Z] f23df028b6ca: Pulling fs layer [2023-02-15T18:25:17.095Z] d65c8cfc05b1: Pulling fs layer [2023-02-15T18:25:17.095Z] 2437ff75d9bd: Pulling fs layer [2023-02-15T18:25:17.095Z] f23df028b6ca: Waiting [2023-02-15T18:25:17.095Z] d65c8cfc05b1: Waiting [2023-02-15T18:25:17.095Z] 2437ff75d9bd: Waiting [2023-02-15T18:25:17.095Z] 765212b225bb: Waiting [2023-02-15T18:25:17.365Z] 04944245beec: Verifying Checksum [2023-02-15T18:25:17.365Z] 04944245beec: Download complete [2023-02-15T18:25:17.365Z] 765212b225bb: Verifying Checksum [2023-02-15T18:25:17.365Z] 765212b225bb: Download complete [2023-02-15T18:25:17.365Z] f23df028b6ca: Verifying Checksum [2023-02-15T18:25:17.365Z] f23df028b6ca: Download complete [2023-02-15T18:25:17.365Z] d65c8cfc05b1: Verifying Checksum [2023-02-15T18:25:17.365Z] d65c8cfc05b1: Download complete [2023-02-15T18:25:17.635Z] 699f458cf7ca: Verifying Checksum [2023-02-15T18:25:17.635Z] 699f458cf7ca: Download complete [2023-02-15T18:25:17.904Z] 8998bd30e6a1: Verifying Checksum [2023-02-15T18:25:17.904Z] 8998bd30e6a1: Download complete [2023-02-15T18:25:20.488Z] 2437ff75d9bd: Verifying Checksum [2023-02-15T18:25:20.488Z] 2437ff75d9bd: Download complete [2023-02-15T18:25:22.432Z] 8998bd30e6a1: Pull complete [2023-02-15T18:25:22.432Z] 04944245beec: Pull complete [2023-02-15T18:25:23.846Z] 699f458cf7ca: Pull complete [2023-02-15T18:25:24.117Z] 765212b225bb: Pull complete [2023-02-15T18:25:24.702Z] f23df028b6ca: Pull complete [2023-02-15T18:25:24.972Z] d65c8cfc05b1: Pull complete [2023-02-15T18:25:39.964Z] 2437ff75d9bd: Pull complete [2023-02-15T18:25:39.964Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-15T18:25:39.964Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T18:25:39.964Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:25:40.298Z] prd-ubuntu20.04-docker-arm64-4c-16g-6166 does not seem to be running inside a container [2023-02-15T18:25:40.353Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-15T18:25:43.065Z] $ docker top a442dc85cb13c28b9235d88b7f7bc5ecb66d4af998e175a6f0c387fc7406066f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:25:43.974Z] ---> job-cost.sh [2023-02-15T18:25:43.974Z] lf-activate-venv: SKIPPING [2023-02-15T18:25:43.974Z] INFO: No Stack... [2023-02-15T18:25:45.380Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-15T18:25:46.339Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T18:25:46.999Z] + cut -d, -f6 [2023-02-15T18:25:46.999Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2023-02-15T18:25:47.083Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-340-1-stack-cost] [2023-02-15T18:25:47.088Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-340-1-stack-cost] did not exist. Created. [2023-02-15T18:25:47.088Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-340-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T18:25:47.496Z] /w/workspace/device-virtual-go/1@tmp/durable-109c72e9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-15T18:25:48.436Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-15T18:25:48.474Z] Warning: overwriting stash ‘stack-cost’ [2023-02-15T18:25:48.527Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T18:25:48.541Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-340-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T18:25:48.612Z] $ docker stop --time=1 a442dc85cb13c28b9235d88b7f7bc5ecb66d4af998e175a6f0c387fc7406066f [2023-02-15T18:25:50.108Z] $ docker rm -f --volumes a442dc85cb13c28b9235d88b7f7bc5ecb66d4af998e175a6f0c387fc7406066f [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-02-15T18:25:51.176Z] provisioning config files... [2023-02-15T18:25:51.183Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-340@tmp/config18138927758574373760tmp [Pipeline] { [Pipeline] sh [2023-02-15T18:25:51.512Z] + set +x [2023-02-15T18:25:51.512Z] + curl -s https://codecov.io/bash [2023-02-15T18:25:51.512Z] + bash -s -- [2023-02-15T18:25:51.512Z] [2023-02-15T18:25:51.512Z] _____ _ [2023-02-15T18:25:51.512Z] / ____| | | [2023-02-15T18:25:51.512Z] | | ___ __| | ___ ___ _____ __ [2023-02-15T18:25:51.512Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-15T18:25:51.512Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-15T18:25:51.512Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-15T18:25:51.512Z] Bash-1.0.6 [2023-02-15T18:25:51.512Z] [2023-02-15T18:25:51.512Z] [2023-02-15T18:25:51.512Z] ==> git version 2.25.1 found [2023-02-15T18:25:51.512Z] ==> 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-02-15T18:25:51.512Z] Release-Date: 2020-01-08 [2023-02-15T18:25:51.512Z] 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-02-15T18:25:51.512Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-15T18:25:51.512Z] ==> Jenkins CI detected. [2023-02-15T18:25:51.512Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-340 [2023-02-15T18:25:51.512Z] project root: . [2023-02-15T18:25:51.512Z] --> token set from env [2023-02-15T18:25:51.512Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-15T18:25:51.512Z] ==> Running gcov in . (disable via -X gcov) [2023-02-15T18:25:51.512Z] ==> Python coveragepy not found [2023-02-15T18:25:51.512Z] ==> Searching for coverage reports in: [2023-02-15T18:25:51.512Z] + . [2023-02-15T18:25:51.512Z] -> Found 1 reports [2023-02-15T18:25:51.512Z] ==> Detecting git/mercurial file structure [2023-02-15T18:25:51.512Z] ==> Reading reports [2023-02-15T18:25:51.512Z] + ./coverage.out bytes=44128 [2023-02-15T18:25:51.512Z] ==> Appending adjustments [2023-02-15T18:25:51.512Z] https://docs.codecov.io/docs/fixing-reports [2023-02-15T18:25:51.770Z] + Found adjustments [2023-02-15T18:25:51.770Z] ==> Gzipping contents [2023-02-15T18:25:51.770Z] 8.0K /tmp/codecov.y126xz.gz [2023-02-15T18:25:51.770Z] ==> Uploading reports [2023-02-15T18:25:51.770Z] url: https://codecov.io [2023-02-15T18:25:51.770Z] query: branch=PR-340&commit=a90195f79b7d6871c4edc46fd727ad8500d3e5d8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-340%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=340&job=&cmd_args= [2023-02-15T18:25:51.770Z] -> Pinging Codecov [2023-02-15T18:25:51.770Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-340&commit=a90195f79b7d6871c4edc46fd727ad8500d3e5d8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-340%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=340&job=&cmd_args= [2023-02-15T18:25:51.770Z] -> Uploading to [2023-02-15T18:25:51.771Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-15/5E52B4B073DB2E39498172D8E973AA87/a90195f79b7d6871c4edc46fd727ad8500d3e5d8/13954811-68c0-432d-8370-a3563aa3b6fe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T182551Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=25727008e666bb6cd399feb08940143bf1eab3f50f0d8ecf7584cdfe638ffbe3 [2023-02-15T18:25:51.771Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T18:25:51.771Z] Dload Upload Total Spent Left Speed [2023-02-15T18:25:52.030Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5512 0 0 100 5512 0 20878 --:--:-- --:--:-- --:--:-- 20878 [2023-02-15T18:25:52.030Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/a90195f79b7d6871c4edc46fd727ad8500d3e5d8 [Pipeline] } [2023-02-15T18:25:52.064Z] 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-02-15T18:25:53.829Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-340/archives ] [2023-02-15T18:25:53.829Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-340/archives [2023-02-15T18:25:53.829Z] total 16 [2023-02-15T18:25:53.829Z] drwxr-xr-x 3 root root 4096 Feb 15 18:17 . [2023-02-15T18:25:53.829Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 18:17 .. [2023-02-15T18:25:53.829Z] drwxr-xr-x 2 root root 4096 Feb 15 18:17 cost [2023-02-15T18:25:53.829Z] -rw-r--r-- 1 root root 89 Feb 15 18:17 cost.csv [2023-02-15T18:25:53.830Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-340/archives [2023-02-15T18:25:53.830Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-340/archives [2023-02-15T18:25:53.830Z] total 16 [2023-02-15T18:25:53.830Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 18:17 . [2023-02-15T18:25:53.830Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 18:17 .. [2023-02-15T18:25:53.830Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 18:17 cost [2023-02-15T18:25:53.830Z] -rw-r--r-- 1 jenkins jenkins 89 Feb 15 18:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:25:54.166Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:25:55.056Z] ---> package-listing.sh [2023-02-15T18:25:55.056Z] ++ facter osfamily [2023-02-15T18:25:55.056Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-15T18:25:55.315Z] + OS_FAMILY=debian [2023-02-15T18:25:55.315Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-340 [2023-02-15T18:25:55.315Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-15T18:25:55.315Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-15T18:25:55.315Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-15T18:25:55.315Z] + PACKAGES=/tmp/packages_start.txt [2023-02-15T18:25:55.315Z] + '[' /w/workspace/foundry_device-virtual-go_PR-340 ']' [2023-02-15T18:25:55.315Z] + PACKAGES=/tmp/packages_end.txt [2023-02-15T18:25:55.315Z] + case "${OS_FAMILY}" in [2023-02-15T18:25:55.315Z] + dpkg -l [2023-02-15T18:25:55.315Z] + grep '^ii' [2023-02-15T18:25:55.315Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-15T18:25:55.315Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-15T18:25:55.315Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-15T18:25:55.315Z] + '[' /w/workspace/foundry_device-virtual-go_PR-340 ']' [2023-02-15T18:25:55.315Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-340/archives/ [2023-02-15T18:25:55.315Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-340/archives/ [Pipeline] echo [2023-02-15T18:25:55.351Z] 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-340/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-15T18:25:55.644Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:25:56.269Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T18:25:56.269Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:25:56.408Z] prd-ubuntu20.04-docker-8c-8g-6165 does not seem to be running inside a container [2023-02-15T18:25:56.446Z] $ 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-340/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-340 -v /w/workspace/foundry_device-virtual-go_PR-340:/w/workspace/foundry_device-virtual-go_PR-340:rw,z -v /w/workspace/foundry_device-virtual-go_PR-340@tmp:/w/workspace/foundry_device-virtual-go_PR-340@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T18:25:56.640Z] $ docker top 36ea72edd7ccaf492ae3c456eb4a6c7d4f7d4a200798ca87b07d49bcd049403e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:25:57.019Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-15T18:25:57.334Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-15T18:25:57.646Z] + ls /var/log/sa-host [2023-02-15T18:25:57.646Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:25:57.856Z] provisioning config files... [2023-02-15T18:25:57.864Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-340@tmp/config3478729437771189396tmp [Pipeline] { [Pipeline] echo [2023-02-15T18:25:57.919Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:25:58.229Z] ---> create-netrc.sh [Pipeline] } [2023-02-15T18:25:58.253Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:25:58.651Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-15T18:25:58.681Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:25:58.988Z] ---> sudo-logs.sh [2023-02-15T18:25:58.988Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-15T18:25:59.077Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:25:59.384Z] ---> job-cost.sh [2023-02-15T18:25:59.384Z] lf-activate-venv: SKIPPING [2023-02-15T18:25:59.384Z] DEBUG: total: 0.2199999988079071 [2023-02-15T18:25:59.384Z] INFO: Retrieving Stack Cost... [2023-02-15T18:25:59.952Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T18:26:00.211Z] INFO: Archiving Costs [Pipeline] echo [2023-02-15T18:26:00.253Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:26:00.564Z] ---> logs-deploy.sh [2023-02-15T18:26:00.564Z] lf-activate-venv: SKIPPING [2023-02-15T18:26:00.564Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-340/1 [2023-02-15T18:26:00.564Z] INFO: archiving workspace using pattern(s): [2023-02-15T18:26:01.498Z] Archives upload complete. [2023-02-15T18:26:01.498Z] INFO: archiving logs to Nexus