Pull request #361 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from af3d51509e69588ca85b60ad07649c4a7a30d1ee+5a04d26f76890061c899b2731a9aad77e3e4418b (206b2661f9af8dae71d39fd28a7cc9b6075f932e) 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-ssh712877321814075523.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15807563762919889569.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-361/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-361/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7434611958583238853.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-361/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2759191248372203488.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12396687600052788671.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-361/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-361/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8185507123070628684.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-builder-2c-1g-842’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-629’ is offline ‘prd-ubuntu20.04-docker-8c-8g-630’ is offline ‘prd-ubuntu20.04-docker-8c-8g-852’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-754’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-756’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-856 in /w/workspace/foundry_device-virtual-go_PR-361 [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-361 # 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/361/head:refs/remotes/origin/PR-361 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5a04d26f76890061c899b2731a9aad77e3e4418b into PR head commit af3d51509e69588ca85b60ad07649c4a7a30d1ee Merge succeeded, producing af3d51509e69588ca85b60ad07649c4a7a30d1ee Checking out Revision af3d51509e69588ca85b60ad07649c4a7a30d1ee (PR-361) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-15T16:11:33.693Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T16:11:33.843Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T16:11:33.937Z] ========================================================= [2023-03-15T16:11:33.937Z] EdgeX Global Pipelines Version Info [2023-03-15T16:11:33.937Z] ========================================================= [Pipeline] libraryResource > git config core.sparsecheckout # timeout=10 > git checkout -f af3d51509e69588ca85b60ad07649c4a7a30d1ee # 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 5a04d26f76890061c899b2731a9aad77e3e4418b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f af3d51509e69588ca85b60ad07649c4a7a30d1ee # timeout=10 [Pipeline] sh [2023-03-15T16:11:34.661Z] ------------------- [2023-03-15T16:11:34.661Z] stable info: [2023-03-15T16:11:34.661Z] ------------------- [2023-03-15T16:11:34.661Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T16:11:34.661Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T16:11:34.661Z] Message: update stable to v1.0.245 [2023-03-15T16:11:35.228Z] ------------------- [2023-03-15T16:11:35.228Z] experimental info: [2023-03-15T16:11:35.228Z] ------------------- [2023-03-15T16:11:35.228Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T16:11:35.228Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T16:11:35.228Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T16:11:35.504Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-03-15T16:11:35.541Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-03-15T16:11:35.576Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-15T16:11:35.616Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-15T16:11:35.661Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-15T16:11:35.715Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-15T16:11:35.755Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-15T16:11:35.793Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-15T16:11:35.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-15T16:11:35.878Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T16:11:35.920Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-15T16:11:35.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-03-15T16:11:36.004Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-15T16:11:36.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-15T16:11:36.079Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T16:11:36.125Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T16:11:36.166Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T16:11:36.203Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T16:11:36.244Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T16:11:36.285Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-15T16:11:36.334Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-15T16:11:36.384Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-15T16:11:36.422Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-15T16:11:36.470Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-15T16:11:36.512Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-15T16:11:36.557Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T16:11:36.605Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-15T16:11:36.647Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-361 [Pipeline] echo [2023-03-15T16:11:36.688Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-361 [Pipeline] echo [2023-03-15T16:11:36.727Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-361 [Pipeline] echo [2023-03-15T16:11:36.769Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = af3d51509e69588ca85b60ad07649c4a7a30d1ee [Pipeline] echo [2023-03-15T16:11:36.808Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = af3d515 [Pipeline] echo [2023-03-15T16:11:36.854Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:11:36.979Z] provisioning config files... [2023-03-15T16:11:36.994Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-361@tmp/config9698670677227317279tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:11:37.340Z] ---> docker-login.sh [2023-03-15T16:11:37.340Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:11:37.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:37.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:37.910Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:37.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:37.910Z] [2023-03-15T16:11:37.910Z] Login Succeeded [2023-03-15T16:11:37.910Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:11:37.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:37.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:37.910Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:37.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:37.910Z] [2023-03-15T16:11:37.910Z] Login Succeeded [2023-03-15T16:11:37.910Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:11:37.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:38.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:38.171Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:38.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:38.171Z] [2023-03-15T16:11:38.171Z] Login Succeeded [2023-03-15T16:11:38.171Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:11:38.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:38.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:38.171Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:38.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:38.171Z] [2023-03-15T16:11:38.171Z] Login Succeeded [2023-03-15T16:11:38.171Z] docker.io [2023-03-15T16:11:38.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:38.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:38.431Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:38.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:38.431Z] [2023-03-15T16:11:38.431Z] Login Succeeded [2023-03-15T16:11:38.431Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:11:38.457Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-15T16:11:39.075Z] + git rev-list -1 --merges af3d51509e69588ca85b60ad07649c4a7a30d1ee~1..af3d51509e69588ca85b60ad07649c4a7a30d1ee [Pipeline] echo [2023-03-15T16:11:39.189Z] -----------> git rev-list -1 --merges af3d51509e69588ca85b60ad07649c4a7a30d1ee~1..af3d51509e69588ca85b60ad07649c4a7a30d1ee af3d51509e69588ca85b60ad07649c4a7a30d1ee [false] [Pipeline] sh [2023-03-15T16:11:39.500Z] + git log --format=format:%s -1 af3d51509e69588ca85b60ad07649c4a7a30d1ee [Pipeline] echo [2023-03-15T16:11:39.536Z] ========================================================= [2023-03-15T16:11:39.536Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-15T16:11:39.536Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T16:11:39.967Z] + git log --format=format:%s -1 af3d51509e69588ca85b60ad07649c4a7a30d1ee [Pipeline] echo [2023-03-15T16:11:39.995Z] [semverPrep] GIT_COMMIT: af3d51509e69588ca85b60ad07649c4a7a30d1ee, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-15T16:11:40.022Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-15T16:11:40.394Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T16:11:40.394Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-15T16:11:40.394Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-15T16:11:40.394Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-15T16:11:40.394Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-15T16:11:40.394Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-15T16:11:40.394Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:11:40.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:11:40.812Z] [2023-03-15T16:11:40.812Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:11:41.216Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:11:41.217Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-15T16:11:41.217Z] b85a868b505f: Pulling fs layer [2023-03-15T16:11:41.217Z] e2be974225ed: Pulling fs layer [2023-03-15T16:11:41.217Z] 339a4e72a1f5: Pulling fs layer [2023-03-15T16:11:41.217Z] 988bab9f4d93: Pulling fs layer [2023-03-15T16:11:41.217Z] 1469e6f7b9e6: Pulling fs layer [2023-03-15T16:11:41.217Z] eaf3925da568: Pulling fs layer [2023-03-15T16:11:41.217Z] bab4dde63d76: Pulling fs layer [2023-03-15T16:11:41.217Z] bde34c3a00c8: Pulling fs layer [2023-03-15T16:11:41.217Z] b352a97aabf1: Pulling fs layer [2023-03-15T16:11:41.217Z] 4872d77fe225: Pulling fs layer [2023-03-15T16:11:41.217Z] 5851b861e8e6: Pulling fs layer [2023-03-15T16:11:41.217Z] bab4dde63d76: Waiting [2023-03-15T16:11:41.217Z] bde34c3a00c8: Waiting [2023-03-15T16:11:41.217Z] b352a97aabf1: Waiting [2023-03-15T16:11:41.217Z] 4872d77fe225: Waiting [2023-03-15T16:11:41.217Z] 988bab9f4d93: Waiting [2023-03-15T16:11:41.217Z] 5851b861e8e6: Waiting [2023-03-15T16:11:41.217Z] 1469e6f7b9e6: Waiting [2023-03-15T16:11:41.217Z] eaf3925da568: Waiting [2023-03-15T16:11:41.217Z] e2be974225ed: Verifying Checksum [2023-03-15T16:11:41.217Z] e2be974225ed: Download complete [2023-03-15T16:11:41.217Z] 988bab9f4d93: Verifying Checksum [2023-03-15T16:11:41.217Z] 988bab9f4d93: Download complete [2023-03-15T16:11:42.164Z] 1469e6f7b9e6: Verifying Checksum [2023-03-15T16:11:42.164Z] 1469e6f7b9e6: Download complete [2023-03-15T16:11:42.432Z] eaf3925da568: Verifying Checksum [2023-03-15T16:11:42.432Z] 339a4e72a1f5: Verifying Checksum [2023-03-15T16:11:42.432Z] 339a4e72a1f5: Download complete [2023-03-15T16:11:42.432Z] bde34c3a00c8: Verifying Checksum [2023-03-15T16:11:42.432Z] bde34c3a00c8: Download complete [2023-03-15T16:11:42.432Z] 4872d77fe225: Verifying Checksum [2023-03-15T16:11:42.432Z] 4872d77fe225: Download complete [2023-03-15T16:11:42.432Z] 5851b861e8e6: Verifying Checksum [2023-03-15T16:11:42.432Z] 5851b861e8e6: Download complete [2023-03-15T16:11:42.432Z] b85a868b505f: Verifying Checksum [2023-03-15T16:11:42.432Z] b85a868b505f: Download complete [2023-03-15T16:11:43.002Z] bab4dde63d76: Verifying Checksum [2023-03-15T16:11:43.002Z] bab4dde63d76: Download complete [2023-03-15T16:11:43.570Z] b85a868b505f: Pull complete [2023-03-15T16:11:43.570Z] e2be974225ed: Pull complete [2023-03-15T16:11:44.138Z] 339a4e72a1f5: Pull complete [2023-03-15T16:11:44.138Z] 988bab9f4d93: Pull complete [2023-03-15T16:11:44.400Z] 1469e6f7b9e6: Pull complete [2023-03-15T16:11:44.400Z] eaf3925da568: Pull complete [2023-03-15T16:11:46.297Z] bab4dde63d76: Pull complete [2023-03-15T16:11:46.297Z] bde34c3a00c8: Pull complete [2023-03-15T16:11:46.297Z] b352a97aabf1: Pull complete [2023-03-15T16:11:46.297Z] 4872d77fe225: Pull complete [2023-03-15T16:11:46.297Z] 5851b861e8e6: Pull complete [2023-03-15T16:11:46.555Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-15T16:11:46.555Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:11:46.555Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:11:46.768Z] prd-ubuntu20.04-docker-8c-8g-856 does not seem to be running inside a container [2023-03-15T16:11:46.800Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-361 -v /w/workspace/foundry_device-virtual-go_PR-361:/w/workspace/foundry_device-virtual-go_PR-361:rw,z -v /w/workspace/foundry_device-virtual-go_PR-361@tmp:/w/workspace/foundry_device-virtual-go_PR-361@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-15T16:11:48.416Z] $ docker top ecba77101465951561deaf2616d1cef68cadfbc03b8e1c690a40da2246a06f2d -eo pid,comm [2023-03-15T16:11:48.480Z] 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-03-15T16:11:48.480Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T16:11:48.604Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:11:48.604Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:11:48.718Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:11:48.724Z] $ docker exec ecba77101465951561deaf2616d1cef68cadfbc03b8e1c690a40da2246a06f2d ssh-agent [2023-03-15T16:11:48.822Z] SSH_AUTH_SOCK=/tmp/ssh-GF5TQkIh3XYt/agent.33 [2023-03-15T16:11:48.822Z] SSH_AGENT_PID=39 [2023-03-15T16:11:48.828Z] Running ssh-add (command line suppressed) [2023-03-15T16:11:48.931Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-361@tmp/private_key_2633991051931751598.key (/w/workspace/foundry_device-virtual-go_PR-361@tmp/private_key_2633991051931751598.key) [2023-03-15T16:11:48.939Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:11:49.263Z] + git tag --points-at HEAD [Pipeline] } [2023-03-15T16:11:49.292Z] $ docker exec --env ******** --env ******** ecba77101465951561deaf2616d1cef68cadfbc03b8e1c690a40da2246a06f2d ssh-agent -k [2023-03-15T16:11:49.382Z] unset SSH_AUTH_SOCK; [2023-03-15T16:11:49.383Z] unset SSH_AGENT_PID; [2023-03-15T16:11:49.383Z] echo Agent pid 39 killed; [2023-03-15T16:11:49.389Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-15T16:11:49.476Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:11:49.476Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:11:49.596Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:11:49.603Z] $ docker exec ecba77101465951561deaf2616d1cef68cadfbc03b8e1c690a40da2246a06f2d ssh-agent [2023-03-15T16:11:49.714Z] SSH_AUTH_SOCK=/tmp/ssh-MNoN4ESlh6xg/agent.71 [2023-03-15T16:11:49.714Z] SSH_AGENT_PID=78 [2023-03-15T16:11:49.719Z] Running ssh-add (command line suppressed) [2023-03-15T16:11:49.818Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-361@tmp/private_key_8635162851329155952.key (/w/workspace/foundry_device-virtual-go_PR-361@tmp/private_key_8635162851329155952.key) [2023-03-15T16:11:49.826Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:11:50.148Z] + git semver init [2023-03-15T16:11:50.407Z] 2023-03-15 16:11:50,342 [run_init] DEBUG init version:0.0.0 force:False [2023-03-15T16:11:50.407Z] 2023-03-15 16:11:50,343 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-361/.semver [2023-03-15T16:11:50.407Z] 2023-03-15 16:11:50,344 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-361/.semver [2023-03-15T16:11:50.407Z] 2023-03-15 16:11:50,344 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-361/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-361, universal_newlines=False, shell=None, istream=None) [2023-03-15T16:11:51.779Z] 2023-03-15 16:11:51,354 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-361/.git/info/exclude [2023-03-15T16:11:51.779Z] 2023-03-15 16:11:51,355 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-361/.semver/PR-361 with force:False [2023-03-15T16:11:51.779Z] 2023-03-15 16:11:51,355 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-361/.semver/PR-361 [2023-03-15T16:11:51.779Z] 2023-03-15 16:11:51,359 [execute] INFO git cat-file --batch-check [2023-03-15T16:11:51.779Z] 2023-03-15 16:11:51,359 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-361/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T16:11:51.779Z] 2023-03-15 16:11:51,365 [execute] INFO git cat-file --batch [2023-03-15T16:11:51.779Z] 2023-03-15 16:11:51,365 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-361/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T16:11:51.779Z] 2023-03-15 16:11:51,370 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-361/.semver/PR-361 [2023-03-15T16:11:51.779Z] 0.0.0 [Pipeline] } [2023-03-15T16:11:51.811Z] $ docker exec --env ******** --env ******** ecba77101465951561deaf2616d1cef68cadfbc03b8e1c690a40da2246a06f2d ssh-agent -k [2023-03-15T16:11:51.930Z] unset SSH_AUTH_SOCK; [2023-03-15T16:11:51.930Z] unset SSH_AGENT_PID; [2023-03-15T16:11:51.930Z] echo Agent pid 78 killed; [2023-03-15T16:11:51.934Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T16:11:52.344Z] + git semver [Pipeline] } [2023-03-15T16:11:52.633Z] $ docker stop --time=1 ecba77101465951561deaf2616d1cef68cadfbc03b8e1c690a40da2246a06f2d [2023-03-15T16:11:53.921Z] $ docker rm -f --volumes ecba77101465951561deaf2616d1cef68cadfbc03b8e1c690a40da2246a06f2d [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:11:54.312Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-15T16:11:54.588Z] Stashed 1 file(s) [Pipeline] echo [2023-03-15T16:11:54.604Z] [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-03-15T16:11:55.192Z] provisioning config files... [2023-03-15T16:11:55.204Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-361@tmp/config12541969901109745405tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:11:55.555Z] ---> docker-login.sh [2023-03-15T16:11:55.555Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:11:55.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:55.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:55.555Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:55.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:55.555Z] [2023-03-15T16:11:55.555Z] Login Succeeded [2023-03-15T16:11:55.555Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:11:55.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:55.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:55.555Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:55.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:55.555Z] [2023-03-15T16:11:55.555Z] Login Succeeded [2023-03-15T16:11:55.555Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:11:55.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:55.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:55.813Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:55.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:55.813Z] [2023-03-15T16:11:55.813Z] Login Succeeded [2023-03-15T16:11:55.813Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:11:55.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:55.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:55.813Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:55.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:55.813Z] [2023-03-15T16:11:55.813Z] Login Succeeded [2023-03-15T16:11:55.813Z] docker.io [2023-03-15T16:11:55.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:56.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:56.071Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:56.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:56.071Z] [2023-03-15T16:11:56.071Z] Login Succeeded [2023-03-15T16:11:56.071Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:11:56.105Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T16:11:56.286Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:11:56.322Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:11:56.352Z] ========================================================= [2023-03-15T16:11:56.352Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-15T16:11:56.352Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:11:56.862Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-15T16:11:56.862Z] Sending build context to Docker daemon 23.5MB [2023-03-15T16:11:56.862Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:11:56.862Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T16:11:57.125Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-15T16:11:57.125Z] 63b65145d645: Pulling fs layer [2023-03-15T16:11:57.125Z] a2d21d5440eb: Pulling fs layer [2023-03-15T16:11:57.125Z] 935e6c44a52c: Pulling fs layer [2023-03-15T16:11:57.125Z] 94cc34f8dd06: Pulling fs layer [2023-03-15T16:11:57.125Z] 30dea6a524f1: Pulling fs layer [2023-03-15T16:11:57.125Z] a2aff8979fd8: Pulling fs layer [2023-03-15T16:11:57.125Z] 6808be2612f2: Pulling fs layer [2023-03-15T16:11:57.125Z] f25807f1079a: Pulling fs layer [2023-03-15T16:11:57.125Z] 30dea6a524f1: Waiting [2023-03-15T16:11:57.125Z] 94cc34f8dd06: Waiting [2023-03-15T16:11:57.125Z] 6808be2612f2: Waiting [2023-03-15T16:11:57.125Z] a2d21d5440eb: Download complete [2023-03-15T16:11:57.125Z] 94cc34f8dd06: Download complete [2023-03-15T16:11:57.125Z] 30dea6a524f1: Verifying Checksum [2023-03-15T16:11:57.125Z] 30dea6a524f1: Download complete [2023-03-15T16:11:57.125Z] 63b65145d645: Verifying Checksum [2023-03-15T16:11:57.125Z] 63b65145d645: Download complete [2023-03-15T16:11:57.125Z] a2aff8979fd8: Verifying Checksum [2023-03-15T16:11:57.125Z] a2aff8979fd8: Download complete [2023-03-15T16:11:57.400Z] 63b65145d645: Pull complete [2023-03-15T16:11:57.400Z] a2d21d5440eb: Pull complete [2023-03-15T16:11:57.662Z] f25807f1079a: Verifying Checksum [2023-03-15T16:11:57.662Z] f25807f1079a: Download complete [2023-03-15T16:11:57.662Z] 935e6c44a52c: Verifying Checksum [2023-03-15T16:11:57.662Z] 935e6c44a52c: Download complete [2023-03-15T16:11:58.231Z] 6808be2612f2: Verifying Checksum [2023-03-15T16:11:58.231Z] 6808be2612f2: Download complete [2023-03-15T16:12:00.758Z] 935e6c44a52c: Pull complete [2023-03-15T16:12:00.758Z] 94cc34f8dd06: Pull complete [2023-03-15T16:12:01.016Z] 30dea6a524f1: Pull complete [2023-03-15T16:12:01.016Z] a2aff8979fd8: Pull complete [2023-03-15T16:12:03.540Z] 6808be2612f2: Pull complete [2023-03-15T16:12:03.797Z] f25807f1079a: Pull complete [2023-03-15T16:12:03.797Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-15T16:12:03.797Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-15T16:12:03.797Z] ---> 3b553350e43f [2023-03-15T16:12:03.797Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T16:12:07.142Z] ---> Running in d51a2cfa14a0 [2023-03-15T16:12:07.142Z] Removing intermediate container d51a2cfa14a0 [2023-03-15T16:12:07.142Z] ---> e8ad1befb820 [2023-03-15T16:12:07.142Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:12:07.142Z] ---> Running in c420b9d54e76 [2023-03-15T16:12:07.142Z] Removing intermediate container c420b9d54e76 [2023-03-15T16:12:07.142Z] ---> 4a03bfc84cf2 [2023-03-15T16:12:07.142Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:12:07.142Z] ---> Running in 84f479ddb689 [2023-03-15T16:12:07.654Z] Removing intermediate container 84f479ddb689 [2023-03-15T16:12:07.654Z] ---> 7f5e299f5332 [2023-03-15T16:12:07.654Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-15T16:12:07.654Z] ---> Running in 359e472d02e8 [2023-03-15T16:12:07.654Z] Removing intermediate container 359e472d02e8 [2023-03-15T16:12:07.654Z] ---> 86ff3156400c [2023-03-15T16:12:07.654Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:12:07.654Z] ---> Running in f1b3edcf90b4 [2023-03-15T16:12:07.654Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T16:12:07.654Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T16:12:07.913Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T16:12:07.913Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T16:12:07.913Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T16:12:07.913Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T16:12:07.913Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:12:07.913Z] OK: 269 MiB in 57 packages [2023-03-15T16:12:08.482Z] Removing intermediate container f1b3edcf90b4 [2023-03-15T16:12:08.482Z] ---> 3810adcaf55d [2023-03-15T16:12:08.482Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-15T16:12:08.482Z] ---> 10ab12a74f75 [2023-03-15T16:12:08.482Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:12:08.482Z] ---> Running in aba0f70b7251 [2023-03-15T16:12:10.004Z] Still waiting to schedule task [2023-03-15T16:12:10.005Z] ‘prd-centos7-builder-2c-1g-842’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T16:12:10.005Z] ‘prd-ubuntu20.04-docker-8c-8g-629’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T16:12:10.005Z] ‘prd-ubuntu20.04-docker-8c-8g-630’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T16:12:10.005Z] ‘prd-ubuntu20.04-docker-8c-8g-860’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T16:12:10.005Z] ‘prd-ubuntu20.04-docker-8c-8g-861’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T16:12:10.005Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-754’ is offline [2023-03-15T16:12:10.005Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-756’ is offline [2023-03-15T16:12:10.005Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-858’ is offline [2023-03-15T16:12:30.400Z] Removing intermediate container aba0f70b7251 [2023-03-15T16:12:30.400Z] ---> b50de68bb9fe [2023-03-15T16:12:30.400Z] Step 10/12 : COPY . . [2023-03-15T16:12:30.400Z] ---> e53bb6adadfe [2023-03-15T16:12:30.400Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:12:30.400Z] ---> Running in 026fbcf6b223 [2023-03-15T16:12:30.400Z] Removing intermediate container 026fbcf6b223 [2023-03-15T16:12:30.400Z] ---> 50a296a6a7e0 [2023-03-15T16:12:30.400Z] Step 12/12 : RUN $MAKE [2023-03-15T16:12:30.400Z] ---> Running in 9a635b5bfebf [2023-03-15T16:12:30.400Z] noop [2023-03-15T16:12:30.400Z] Removing intermediate container 9a635b5bfebf [2023-03-15T16:12:30.400Z] ---> 9f252c8063d2 [2023-03-15T16:12:30.400Z] Successfully built 9f252c8063d2 [2023-03-15T16:12:30.400Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:30.829Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T16:12:30.830Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:12:30.981Z] prd-ubuntu20.04-docker-8c-8g-856 does not seem to be running inside a container [2023-03-15T16:12:31.008Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-361 -v /w/workspace/foundry_device-virtual-go_PR-361:/w/workspace/foundry_device-virtual-go_PR-361:rw,z -v /w/workspace/foundry_device-virtual-go_PR-361@tmp:/w/workspace/foundry_device-virtual-go_PR-361@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 ******** ci-base-image-x86_64 cat [2023-03-15T16:12:31.487Z] $ docker top 91cdfa70aa69c5a3fa4b1ef79e14565a904dbca9aeeac658e974792b1c95aede -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:12:31.876Z] + go version [2023-03-15T16:12:31.876Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-15T16:12:31.907Z] $ docker stop --time=1 91cdfa70aa69c5a3fa4b1ef79e14565a904dbca9aeeac658e974792b1c95aede [2023-03-15T16:12:33.181Z] $ docker rm -f --volumes 91cdfa70aa69c5a3fa4b1ef79e14565a904dbca9aeeac658e974792b1c95aede [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:33.874Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T16:12:33.874Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:12:34.030Z] prd-ubuntu20.04-docker-8c-8g-856 does not seem to be running inside a container [2023-03-15T16:12:34.064Z] $ 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-361 -v /w/workspace/foundry_device-virtual-go_PR-361:/w/workspace/foundry_device-virtual-go_PR-361:rw,z -v /w/workspace/foundry_device-virtual-go_PR-361@tmp:/w/workspace/foundry_device-virtual-go_PR-361@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 ******** ci-base-image-x86_64 cat [2023-03-15T16:12:34.365Z] $ docker top 66bcc038d58644165e65ab69c99ee24b53a4c4dc66f1dafa7d23bfe3bb25e1ac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:12:34.748Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-361 [Pipeline] fileExists [Pipeline] sh [2023-03-15T16:12:35.125Z] + make test [2023-03-15T16:12:35.125Z] go test ./... -coverprofile=coverage.out [2023-03-15T16:12:39.299Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-15T16:12:49.258Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-03-15T16:12:49.258Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.034s coverage: 65.7% of statements [2023-03-15T16:12:53.436Z] go vet ./... [2023-03-15T16:12:56.879Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T16:12:56.879Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T16:12:56.879Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T16:12:56.914Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T16:12:56.947Z] $ docker stop --time=1 66bcc038d58644165e65ab69c99ee24b53a4c4dc66f1dafa7d23bfe3bb25e1ac [2023-03-15T16:12:59.530Z] $ docker rm -f --volumes 66bcc038d58644165e65ab69c99ee24b53a4c4dc66f1dafa7d23bfe3bb25e1ac [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:13:00.044Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T16:13:00.110Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-15T16:13:00.687Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T16:13:00.995Z] + ls -al . [2023-03-15T16:13:00.995Z] total 192 [2023-03-15T16:13:00.995Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 16:12 . [2023-03-15T16:13:00.995Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:11 .. [2023-03-15T16:13:00.995Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:11 .git [2023-03-15T16:13:00.995Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:11 .github [2023-03-15T16:13:00.995Z] -rw-rw-r-- 1 jenkins jenkins 337 Mar 15 16:11 .gitignore [2023-03-15T16:13:00.995Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 16:11 .golangci.yml [2023-03-15T16:13:00.995Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:11 .semver [2023-03-15T16:13:00.995Z] -rw-rw-r-- 1 jenkins jenkins 8641 Mar 15 16:11 Attribution.txt [2023-03-15T16:13:00.995Z] -rw-rw-r-- 1 jenkins jenkins 11367 Mar 15 16:11 CHANGELOG.md [2023-03-15T16:13:00.995Z] -rw-rw-r-- 1 jenkins jenkins 1646 Mar 15 16:11 Dockerfile [2023-03-15T16:13:00.995Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:11 GOVERNANCE.md [2023-03-15T16:13:00.995Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 15 16:11 Jenkinsfile [2023-03-15T16:13:00.995Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 16:11 LICENSE [2023-03-15T16:13:00.995Z] -rw-rw-r-- 1 jenkins jenkins 1696 Mar 15 16:11 Makefile [2023-03-15T16:13:00.995Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 15 16:11 OWNERS.md [2023-03-15T16:13:00.995Z] -rw-rw-r-- 1 jenkins jenkins 3578 Mar 15 16:11 README.md [2023-03-15T16:13:00.995Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 16:11 VERSION [2023-03-15T16:13:00.995Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:11 bin [2023-03-15T16:13:00.995Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:11 cmd [2023-03-15T16:13:00.995Z] -rw-r--r-- 1 jenkins jenkins 44311 Mar 15 16:12 coverage.out [2023-03-15T16:13:00.995Z] -rw-rw-r-- 1 jenkins jenkins 3253 Mar 15 16:11 go.mod [2023-03-15T16:13:00.995Z] -rw-rw-r-- 1 jenkins jenkins 30608 Mar 15 16:11 go.sum [2023-03-15T16:13:00.995Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:11 internal [2023-03-15T16:13:00.995Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:11 snap [2023-03-15T16:13:00.995Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 15 16:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:13:01.382Z] + 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=af3d51509e69588ca85b60ad07649c4a7a30d1ee --label arch=amd64 --label version=0.0.0 . [2023-03-15T16:13:01.382Z] Sending build context to Docker daemon 23.54MB [2023-03-15T16:13:01.382Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:13:01.382Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-15T16:13:01.382Z] ---> 9f252c8063d2 [2023-03-15T16:13:01.382Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T16:13:01.640Z] ---> Running in 9a3d3b4d1fdd [2023-03-15T16:13:01.640Z] Removing intermediate container 9a3d3b4d1fdd [2023-03-15T16:13:01.640Z] ---> 32120fd49482 [2023-03-15T16:13:01.640Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:13:01.640Z] ---> Running in d44a54bfff92 [2023-03-15T16:13:01.640Z] Removing intermediate container d44a54bfff92 [2023-03-15T16:13:01.640Z] ---> 0b739280c8a9 [2023-03-15T16:13:01.640Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:13:01.900Z] ---> Running in 46c620844931 [2023-03-15T16:13:01.900Z] Removing intermediate container 46c620844931 [2023-03-15T16:13:01.900Z] ---> bdaaca0314f0 [2023-03-15T16:13:01.900Z] Step 6/25 : WORKDIR /device-virtual-go [2023-03-15T16:13:01.900Z] ---> Running in 5179a77d99aa [2023-03-15T16:13:01.900Z] Removing intermediate container 5179a77d99aa [2023-03-15T16:13:01.900Z] ---> 0169411c51ac [2023-03-15T16:13:01.900Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:13:01.900Z] ---> Running in 846aebedee30 [2023-03-15T16:13:02.159Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T16:13:02.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T16:13:02.417Z] OK: 269 MiB in 57 packages [2023-03-15T16:13:02.982Z] Removing intermediate container 846aebedee30 [2023-03-15T16:13:02.982Z] ---> 89a8764b3d7a [2023-03-15T16:13:02.982Z] Step 8/25 : COPY go.mod vendor* ./ [2023-03-15T16:13:02.982Z] ---> 91f4d0b1c5b2 [2023-03-15T16:13:02.982Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:13:02.982Z] ---> Running in d798f4720fd7 [2023-03-15T16:13:05.605Z] Removing intermediate container d798f4720fd7 [2023-03-15T16:13:05.605Z] ---> ef967e24355d [2023-03-15T16:13:05.605Z] Step 10/25 : COPY . . [2023-03-15T16:13:06.171Z] ---> 168a5bd9dfbd [2023-03-15T16:13:06.171Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:13:06.171Z] ---> Running in 9d6d4a3d140a [2023-03-15T16:13:06.171Z] Removing intermediate container 9d6d4a3d140a [2023-03-15T16:13:06.171Z] ---> bd768a41745e [2023-03-15T16:13:06.171Z] Step 12/25 : RUN $MAKE [2023-03-15T16:13:06.171Z] ---> Running in 0c1c98cadecb [2023-03-15T16:13:06.428Z] 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-03-15T16:13:24.519Z] Removing intermediate container 0c1c98cadecb [2023-03-15T16:13:24.519Z] ---> ea3e3df21a72 [2023-03-15T16:13:24.519Z] Step 13/25 : FROM alpine:3.17 [2023-03-15T16:13:24.519Z] 3.17: Pulling from library/alpine [2023-03-15T16:13:24.519Z] 63b65145d645: Already exists [2023-03-15T16:13:24.519Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T16:13:24.519Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T16:13:24.519Z] ---> b2aa39c304c2 [2023-03-15T16:13:24.519Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-03-15T16:13:24.519Z] ---> Running in 067d7a125b00 [2023-03-15T16:13:24.519Z] Removing intermediate container 067d7a125b00 [2023-03-15T16:13:24.519Z] ---> 31df154d65d7 [2023-03-15T16:13:24.519Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-03-15T16:13:24.519Z] ---> Running in de7dbc6d2f29 [2023-03-15T16:13:24.519Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T16:13:24.519Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T16:13:24.519Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T16:13:24.519Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:13:24.519Z] OK: 7 MiB in 16 packages [2023-03-15T16:13:24.519Z] Removing intermediate container de7dbc6d2f29 [2023-03-15T16:13:24.519Z] ---> 7f6f66652b4a [2023-03-15T16:13:24.519Z] Step 16/25 : WORKDIR / [2023-03-15T16:13:24.519Z] ---> Running in c08fef6c8281 [2023-03-15T16:13:24.519Z] Removing intermediate container c08fef6c8281 [2023-03-15T16:13:24.519Z] ---> 8d747a8d9618 [2023-03-15T16:13:24.519Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-03-15T16:13:24.519Z] ---> 9f5304cc6263 [2023-03-15T16:13:24.519Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-03-15T16:13:24.519Z] ---> 1107df0fc83b [2023-03-15T16:13:24.519Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-03-15T16:13:25.086Z] ---> b725f46264ad [2023-03-15T16:13:25.086Z] Step 20/25 : EXPOSE 59900 [2023-03-15T16:13:25.086Z] ---> Running in bc2ec1810f4b [2023-03-15T16:13:25.344Z] Removing intermediate container bc2ec1810f4b [2023-03-15T16:13:25.344Z] ---> 4647b7b6aebf [2023-03-15T16:13:25.344Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-03-15T16:13:25.344Z] ---> Running in 9d0afe754446 [2023-03-15T16:13:25.344Z] Removing intermediate container 9d0afe754446 [2023-03-15T16:13:25.344Z] ---> ecacb6a74f45 [2023-03-15T16:13:25.344Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-15T16:13:25.344Z] ---> Running in f418ed807cba [2023-03-15T16:13:25.344Z] Removing intermediate container f418ed807cba [2023-03-15T16:13:25.344Z] ---> 2e50d25d802c [2023-03-15T16:13:25.344Z] Step 23/25 : LABEL arch=amd64 [2023-03-15T16:13:25.344Z] ---> Running in 0c297cbb8dcc [2023-03-15T16:13:25.603Z] Removing intermediate container 0c297cbb8dcc [2023-03-15T16:13:25.603Z] ---> 5b004c68e905 [2023-03-15T16:13:25.603Z] Step 24/25 : LABEL git_sha=af3d51509e69588ca85b60ad07649c4a7a30d1ee [2023-03-15T16:13:25.603Z] ---> Running in 464d84e45f93 [2023-03-15T16:13:25.603Z] Removing intermediate container 464d84e45f93 [2023-03-15T16:13:25.603Z] ---> d299dc3805a4 [2023-03-15T16:13:25.603Z] Step 25/25 : LABEL version=0.0.0 [2023-03-15T16:13:25.603Z] ---> Running in d3dc1438c002 [2023-03-15T16:13:25.603Z] Removing intermediate container d3dc1438c002 [2023-03-15T16:13:25.603Z] ---> 70c5723e6663 [2023-03-15T16:13:25.603Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T16:13:25.603Z] Successfully built 70c5723e6663 [2023-03-15T16:13:25.603Z] 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-03-15T16:13:26.460Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:13:26.460Z] [2023-03-15T16:13:26.460Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:13:26.837Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:13:26.837Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T16:13:26.837Z] 5eb5b503b376: Pulling fs layer [2023-03-15T16:13:26.837Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T16:13:26.837Z] ec43610c2a17: Pulling fs layer [2023-03-15T16:13:26.837Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T16:13:26.837Z] 33b1e0a273af: Pulling fs layer [2023-03-15T16:13:26.837Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T16:13:26.837Z] 2f39f015ded8: Pulling fs layer [2023-03-15T16:13:26.837Z] 3a2ae6a8a46f: Waiting [2023-03-15T16:13:26.837Z] 5d3b04190fa2: Waiting [2023-03-15T16:13:26.837Z] 33b1e0a273af: Waiting [2023-03-15T16:13:26.837Z] 2f39f015ded8: Waiting [2023-03-15T16:13:26.837Z] 5c69ac0246d0: Download complete [2023-03-15T16:13:26.837Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-15T16:13:26.837Z] 3a2ae6a8a46f: Download complete [2023-03-15T16:13:26.837Z] 33b1e0a273af: Verifying Checksum [2023-03-15T16:13:26.837Z] 33b1e0a273af: Download complete [2023-03-15T16:13:26.837Z] ec43610c2a17: Verifying Checksum [2023-03-15T16:13:26.837Z] ec43610c2a17: Download complete [2023-03-15T16:13:26.837Z] 5d3b04190fa2: Download complete [2023-03-15T16:13:27.098Z] 5eb5b503b376: Download complete [2023-03-15T16:13:27.663Z] 2f39f015ded8: Download complete [2023-03-15T16:13:28.228Z] 5eb5b503b376: Pull complete [2023-03-15T16:13:28.228Z] 5c69ac0246d0: Pull complete [2023-03-15T16:13:28.793Z] ec43610c2a17: Pull complete [2023-03-15T16:13:28.793Z] 3a2ae6a8a46f: Pull complete [2023-03-15T16:13:29.051Z] 33b1e0a273af: Pull complete [2023-03-15T16:13:29.051Z] 5d3b04190fa2: Pull complete [2023-03-15T16:13:33.230Z] 2f39f015ded8: Pull complete [2023-03-15T16:13:33.230Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T16:13:33.230Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:13:33.230Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:13:33.495Z] prd-ubuntu20.04-docker-8c-8g-856 does not seem to be running inside a container [2023-03-15T16:13:33.524Z] $ 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-361 -v /w/workspace/foundry_device-virtual-go_PR-361:/w/workspace/foundry_device-virtual-go_PR-361:rw,z -v /w/workspace/foundry_device-virtual-go_PR-361@tmp:/w/workspace/foundry_device-virtual-go_PR-361@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T16:13:35.594Z] $ docker top 6177d99b40fcc821d656e383cd0858bf9cb168a5c4d12404190ec9282d792cb7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:13:36.026Z] ---> job-cost.sh [2023-03-15T16:13:36.026Z] lf-activate-venv: SKIPPING [2023-03-15T16:13:36.026Z] INFO: No Stack... [2023-03-15T16:13:36.285Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T16:13:36.851Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T16:13:37.184Z] + cat /w/workspace/foundry_device-virtual-go_PR-361/archives/cost.csv [2023-03-15T16:13:37.184Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T16:13:37.230Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-361-1-stack-cost] [2023-03-15T16:13:37.236Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-361-1-stack-cost] did not exist. Created. [2023-03-15T16:13:37.236Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-361-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T16:13:37.696Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T16:13:37.736Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T16:13:37.764Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-361-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T16:13:37.831Z] $ docker stop --time=1 6177d99b40fcc821d656e383cd0858bf9cb168a5c4d12404190ec9282d792cb7 [2023-03-15T16:13:38.983Z] $ docker rm -f --volumes 6177d99b40fcc821d656e383cd0858bf9cb168a5c4d12404190ec9282d792cb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T16:17:58.876Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-938 in /w/workspace/foundry_device-virtual-go_PR-361 [Pipeline] { [Pipeline] ws [2023-03-15T16:17:58.943Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-03-15T16:17:59.025Z] The recommended git tool is: git [2023-03-15T16:18:11.901Z] using credential edgex-jenkins-ssh [2023-03-15T16:18:11.921Z] Cloning the remote Git repository [2023-03-15T16:18:12.021Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-03-15T16:18:12.197Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-03-15T16:18:12.511Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-03-15T16:18:12.513Z] > git --version # timeout=10 [2023-03-15T16:18:12.579Z] > git --version # 'git version 2.25.1' [2023-03-15T16:18:12.586Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T16:18:12.879Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T16:18:15.401Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-03-15T16:18:15.434Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T16:18:16.766Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-03-15T16:18:16.837Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-03-15T16:18:16.839Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T16:18:16.866Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/361/head:refs/remotes/origin/PR-361 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-15T16:18:17.544Z] Merging remotes/origin/main commit 5a04d26f76890061c899b2731a9aad77e3e4418b into PR head commit af3d51509e69588ca85b60ad07649c4a7a30d1ee [2023-03-15T16:18:17.949Z] Merge succeeded, producing af3d51509e69588ca85b60ad07649c4a7a30d1ee [2023-03-15T16:18:17.949Z] Checking out Revision af3d51509e69588ca85b60ad07649c4a7a30d1ee (PR-361) [2023-03-15T16:18:18.723Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-03-15T16:18:18.805Z] > git --version # timeout=10 [2023-03-15T16:18:18.824Z] > git --version # 'git version 2.25.1' [2023-03-15T16:18:18.844Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T16:18:17.571Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T16:18:17.679Z] > git checkout -f af3d51509e69588ca85b60ad07649c4a7a30d1ee # timeout=10 [2023-03-15T16:18:17.804Z] > git remote # timeout=10 [2023-03-15T16:18:17.833Z] > git config --get remote.origin.url # timeout=10 [2023-03-15T16:18:17.865Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T16:18:17.886Z] > git merge 5a04d26f76890061c899b2731a9aad77e3e4418b # timeout=10 [2023-03-15T16:18:17.925Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-15T16:18:17.961Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T16:18:17.987Z] > git checkout -f af3d51509e69588ca85b60ad07649c4a7a30d1ee # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T16:18:20.161Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-15T16:18:20.161Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T16:18:20.161Z] Dload Upload Total Spent Left Speed [2023-03-15T16:18:20.161Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 183k 0 --:--:-- --:--:-- --:--:-- 183k [Pipeline] sh [2023-03-15T16:18:20.902Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-15T16:18:21.262Z] + sudo tee /etc/docker/daemon.new [2023-03-15T16:18:21.262Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-15T16:18:21.262Z] { [2023-03-15T16:18:21.262Z] "registry-mirrors": [ [2023-03-15T16:18:21.262Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-15T16:18:21.262Z] ], [2023-03-15T16:18:21.262Z] "bip": "10.250.0.254/24", [2023-03-15T16:18:21.262Z] "hosts": [ [2023-03-15T16:18:21.262Z] "tcp://0.0.0.0:5555", [2023-03-15T16:18:21.262Z] "unix:///var/run/docker.sock" [2023-03-15T16:18:21.262Z] ], [2023-03-15T16:18:21.262Z] "mtu": 1458, [2023-03-15T16:18:21.262Z] "selinux-enabled": true, [2023-03-15T16:18:21.262Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-15T16:18:21.262Z] } [Pipeline] sh [2023-03-15T16:18:21.716Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-15T16:18:22.144Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:18:40.575Z] provisioning config files... [2023-03-15T16:18:40.619Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config18290128932930670653tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:18:41.062Z] ---> docker-login.sh [2023-03-15T16:18:41.062Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:18:41.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:18:41.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:18:41.942Z] Configure a credential helper to remove this warning. See [2023-03-15T16:18:41.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:18:41.942Z] [2023-03-15T16:18:41.942Z] Login Succeeded [2023-03-15T16:18:41.942Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:18:42.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:18:42.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:18:42.220Z] Configure a credential helper to remove this warning. See [2023-03-15T16:18:42.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:18:42.220Z] [2023-03-15T16:18:42.220Z] Login Succeeded [2023-03-15T16:18:42.220Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:18:42.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:18:42.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:18:42.769Z] Configure a credential helper to remove this warning. See [2023-03-15T16:18:42.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:18:42.769Z] [2023-03-15T16:18:42.769Z] Login Succeeded [2023-03-15T16:18:42.769Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:18:43.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:18:43.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:18:43.045Z] Configure a credential helper to remove this warning. See [2023-03-15T16:18:43.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:18:43.045Z] [2023-03-15T16:18:43.045Z] Login Succeeded [2023-03-15T16:18:43.045Z] docker.io [2023-03-15T16:18:43.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:18:43.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:18:43.591Z] Configure a credential helper to remove this warning. See [2023-03-15T16:18:43.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:18:43.591Z] [2023-03-15T16:18:43.591Z] Login Succeeded [2023-03-15T16:18:43.591Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:18:43.617Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T16:18:44.076Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:18:44.111Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:18:44.144Z] ========================================================= [2023-03-15T16:18:44.144Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-15T16:18:44.144Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:18:44.655Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-15T16:18:45.261Z] Sending build context to Docker daemon 11.9MB [2023-03-15T16:18:45.261Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:18:45.261Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T16:18:45.261Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-15T16:18:45.261Z] af6eaf76a39c: Pulling fs layer [2023-03-15T16:18:45.261Z] 55522c791124: Pulling fs layer [2023-03-15T16:18:45.261Z] ce5c4a1c91eb: Pulling fs layer [2023-03-15T16:18:45.261Z] 169dfbe0d373: Pulling fs layer [2023-03-15T16:18:45.261Z] e1ff8fa3b103: Pulling fs layer [2023-03-15T16:18:45.261Z] 52ebb69f0ebf: Pulling fs layer [2023-03-15T16:18:45.261Z] 5abe8eddf0d5: Pulling fs layer [2023-03-15T16:18:45.261Z] e1ff8fa3b103: Waiting [2023-03-15T16:18:45.261Z] 52ebb69f0ebf: Waiting [2023-03-15T16:18:45.261Z] 5abe8eddf0d5: Waiting [2023-03-15T16:18:45.261Z] 169dfbe0d373: Waiting [2023-03-15T16:18:45.261Z] 55522c791124: Verifying Checksum [2023-03-15T16:18:45.261Z] 55522c791124: Download complete [2023-03-15T16:18:45.540Z] 169dfbe0d373: Verifying Checksum [2023-03-15T16:18:45.540Z] 169dfbe0d373: Download complete [2023-03-15T16:18:45.540Z] e1ff8fa3b103: Verifying Checksum [2023-03-15T16:18:45.540Z] e1ff8fa3b103: Download complete [2023-03-15T16:18:45.540Z] af6eaf76a39c: Verifying Checksum [2023-03-15T16:18:45.540Z] af6eaf76a39c: Download complete [2023-03-15T16:18:46.698Z] af6eaf76a39c: Pull complete [2023-03-15T16:18:46.986Z] 5abe8eddf0d5: Verifying Checksum [2023-03-15T16:18:46.986Z] 5abe8eddf0d5: Download complete [2023-03-15T16:18:47.273Z] 55522c791124: Pull complete [2023-03-15T16:18:48.726Z] ce5c4a1c91eb: Verifying Checksum [2023-03-15T16:18:48.726Z] ce5c4a1c91eb: Download complete [2023-03-15T16:18:48.726Z] 52ebb69f0ebf: Verifying Checksum [2023-03-15T16:18:48.726Z] 52ebb69f0ebf: Download complete [2023-03-15T16:19:01.114Z] ce5c4a1c91eb: Pull complete [2023-03-15T16:19:01.114Z] 169dfbe0d373: Pull complete [2023-03-15T16:19:01.114Z] e1ff8fa3b103: Pull complete [2023-03-15T16:19:07.844Z] 52ebb69f0ebf: Pull complete [2023-03-15T16:19:09.285Z] 5abe8eddf0d5: Pull complete [2023-03-15T16:19:09.285Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-15T16:19:09.285Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-15T16:19:09.285Z] ---> 6cb57ee374ae [2023-03-15T16:19:09.285Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T16:19:11.936Z] ---> Running in b44df54c3bb8 [2023-03-15T16:19:11.936Z] Removing intermediate container b44df54c3bb8 [2023-03-15T16:19:11.936Z] ---> 9ac0a1ebf082 [2023-03-15T16:19:11.936Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:19:11.936Z] ---> Running in 545ff5a43cce [2023-03-15T16:19:12.544Z] Removing intermediate container 545ff5a43cce [2023-03-15T16:19:12.544Z] ---> c3276b066b4e [2023-03-15T16:19:12.544Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:19:12.544Z] ---> Running in a9d363c6a9a7 [2023-03-15T16:19:12.825Z] Removing intermediate container a9d363c6a9a7 [2023-03-15T16:19:12.825Z] ---> d844624719a4 [2023-03-15T16:19:12.825Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-15T16:19:13.102Z] ---> Running in 91ee94c97208 [2023-03-15T16:19:13.376Z] Removing intermediate container 91ee94c97208 [2023-03-15T16:19:13.376Z] ---> 2830781f1c42 [2023-03-15T16:19:13.376Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:19:13.376Z] ---> Running in 1909c8bca706 [2023-03-15T16:19:16.802Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T16:19:17.401Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T16:19:18.844Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T16:19:18.844Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T16:19:18.844Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T16:19:18.844Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T16:19:19.121Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:19:19.121Z] OK: 268 MiB in 57 packages [2023-03-15T16:19:20.590Z] Removing intermediate container 1909c8bca706 [2023-03-15T16:19:20.590Z] ---> 57b1ea6cb736 [2023-03-15T16:19:20.590Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-15T16:19:20.872Z] ---> 59bd7da36acb [2023-03-15T16:19:20.872Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:19:21.147Z] ---> Running in 6792c2a8b287 [2023-03-15T16:20:29.425Z] Removing intermediate container 6792c2a8b287 [2023-03-15T16:20:29.425Z] ---> 3d10e54da00f [2023-03-15T16:20:29.425Z] Step 10/12 : COPY . . [2023-03-15T16:20:32.030Z] ---> 89d85f0814c5 [2023-03-15T16:20:32.030Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:20:32.030Z] ---> Running in 834a51477db0 [2023-03-15T16:20:32.632Z] Removing intermediate container 834a51477db0 [2023-03-15T16:20:32.632Z] ---> 981eec5a954e [2023-03-15T16:20:32.632Z] Step 12/12 : RUN $MAKE [2023-03-15T16:20:32.632Z] ---> Running in 86989d58ec38 [2023-03-15T16:20:33.615Z] noop [2023-03-15T16:20:34.593Z] Removing intermediate container 86989d58ec38 [2023-03-15T16:20:34.593Z] ---> 969694896382 [2023-03-15T16:20:34.593Z] Successfully built 969694896382 [2023-03-15T16:20:34.593Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:20:35.094Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T16:20:35.094Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:20:35.439Z] prd-ubuntu20.04-docker-arm64-4c-16g-938 does not seem to be running inside a container [2023-03-15T16:20:35.525Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-15T16:20:37.000Z] $ docker top bd29c9c52ffdd5271741f2f6523c8e049bc9f114e8649371779dc5dc2477cbcd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:20:37.948Z] + go version [2023-03-15T16:20:37.948Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-15T16:20:37.986Z] $ docker stop --time=1 bd29c9c52ffdd5271741f2f6523c8e049bc9f114e8649371779dc5dc2477cbcd [2023-03-15T16:20:39.760Z] $ docker rm -f --volumes bd29c9c52ffdd5271741f2f6523c8e049bc9f114e8649371779dc5dc2477cbcd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:20:40.775Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T16:20:40.775Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:20:41.105Z] prd-ubuntu20.04-docker-arm64-4c-16g-938 does not seem to be running inside a container [2023-03-15T16:20:41.203Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-15T16:20:42.551Z] $ docker top 87a3cfcd593f02bddb35ba193ade9acc425f1359a4cc5dd571600276cb562d12 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:20:43.491Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-15T16:20:44.222Z] + make test [2023-03-15T16:20:44.222Z] go test ./... -coverprofile=coverage.out [2023-03-15T16:21:23.162Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-15T16:23:44.977Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-03-15T16:23:44.977Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.150s coverage: 65.7% of statements [2023-03-15T16:23:44.977Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-15T16:23:44.977Z] go vet ./... [2023-03-15T16:24:11.720Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T16:24:11.720Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T16:24:11.720Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T16:24:11.759Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T16:24:11.789Z] $ docker stop --time=1 87a3cfcd593f02bddb35ba193ade9acc425f1359a4cc5dd571600276cb562d12 [2023-03-15T16:24:13.689Z] $ docker rm -f --volumes 87a3cfcd593f02bddb35ba193ade9acc425f1359a4cc5dd571600276cb562d12 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:24:15.026Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T16:24:15.064Z] Warning: overwriting stash ‘coverage-report’ [2023-03-15T16:24:15.674Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T16:24:16.246Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T16:24:16.595Z] + ls -al . [2023-03-15T16:24:16.595Z] total 188 [2023-03-15T16:24:16.595Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:20 . [2023-03-15T16:24:16.595Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:18 .. [2023-03-15T16:24:16.595Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:18 .git [2023-03-15T16:24:16.595Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:18 .github [2023-03-15T16:24:16.595Z] -rw-rw-r-- 1 jenkins jenkins 337 Mar 15 16:18 .gitignore [2023-03-15T16:24:16.595Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 16:18 .golangci.yml [2023-03-15T16:24:16.595Z] -rw-rw-r-- 1 jenkins jenkins 8641 Mar 15 16:18 Attribution.txt [2023-03-15T16:24:16.595Z] -rw-rw-r-- 1 jenkins jenkins 11367 Mar 15 16:18 CHANGELOG.md [2023-03-15T16:24:16.595Z] -rw-rw-r-- 1 jenkins jenkins 1646 Mar 15 16:18 Dockerfile [2023-03-15T16:24:16.595Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:18 GOVERNANCE.md [2023-03-15T16:24:16.595Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 15 16:18 Jenkinsfile [2023-03-15T16:24:16.595Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 16:18 LICENSE [2023-03-15T16:24:16.595Z] -rw-rw-r-- 1 jenkins jenkins 1696 Mar 15 16:18 Makefile [2023-03-15T16:24:16.595Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 15 16:18 OWNERS.md [2023-03-15T16:24:16.595Z] -rw-rw-r-- 1 jenkins jenkins 3578 Mar 15 16:18 README.md [2023-03-15T16:24:16.595Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 16:11 VERSION [2023-03-15T16:24:16.595Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:18 bin [2023-03-15T16:24:16.595Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:18 cmd [2023-03-15T16:24:16.595Z] -rw-r--r-- 1 jenkins jenkins 44311 Mar 15 16:23 coverage.out [2023-03-15T16:24:16.595Z] -rw-rw-r-- 1 jenkins jenkins 3253 Mar 15 16:18 go.mod [2023-03-15T16:24:16.595Z] -rw-rw-r-- 1 jenkins jenkins 30608 Mar 15 16:18 go.sum [2023-03-15T16:24:16.595Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:18 internal [2023-03-15T16:24:16.595Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:18 snap [2023-03-15T16:24:16.595Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 15 16:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:24:17.033Z] + 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=af3d51509e69588ca85b60ad07649c4a7a30d1ee --label arch=arm64 --label version=0.0.0 . [2023-03-15T16:24:17.630Z] Sending build context to Docker daemon 11.95MB [2023-03-15T16:24:17.630Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:24:17.630Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-15T16:24:17.630Z] ---> 969694896382 [2023-03-15T16:24:17.630Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T16:24:17.630Z] ---> Running in 71e9952acea1 [2023-03-15T16:24:17.901Z] Removing intermediate container 71e9952acea1 [2023-03-15T16:24:17.901Z] ---> 6c51b32e7dd1 [2023-03-15T16:24:17.901Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:24:18.171Z] ---> Running in 4573a48602ff [2023-03-15T16:24:18.439Z] Removing intermediate container 4573a48602ff [2023-03-15T16:24:18.439Z] ---> 3f84d6139534 [2023-03-15T16:24:18.439Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:24:18.439Z] ---> Running in 1f4e331b4627 [2023-03-15T16:24:19.030Z] Removing intermediate container 1f4e331b4627 [2023-03-15T16:24:19.030Z] ---> 8d7c3733761d [2023-03-15T16:24:19.030Z] Step 6/25 : WORKDIR /device-virtual-go [2023-03-15T16:24:19.030Z] ---> Running in d861d6de75cc [2023-03-15T16:24:19.301Z] Removing intermediate container d861d6de75cc [2023-03-15T16:24:19.301Z] ---> 55690e09d361 [2023-03-15T16:24:19.301Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:24:19.301Z] ---> Running in 43b9ec45e851 [2023-03-15T16:24:20.736Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T16:24:21.325Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T16:24:22.740Z] OK: 268 MiB in 57 packages [2023-03-15T16:24:23.715Z] Removing intermediate container 43b9ec45e851 [2023-03-15T16:24:23.715Z] ---> 99e0caf3af49 [2023-03-15T16:24:23.715Z] Step 8/25 : COPY go.mod vendor* ./ [2023-03-15T16:24:24.305Z] ---> 5d1abec1460e [2023-03-15T16:24:24.305Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:24:24.305Z] ---> Running in 44da2125e57e [2023-03-15T16:24:27.674Z] Removing intermediate container 44da2125e57e [2023-03-15T16:24:27.674Z] ---> 347bab92cc90 [2023-03-15T16:24:27.674Z] Step 10/25 : COPY . . [2023-03-15T16:24:28.645Z] ---> 13f82d4c905e [2023-03-15T16:24:28.645Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:24:28.645Z] ---> Running in dcd85a2a708d [2023-03-15T16:24:28.918Z] Removing intermediate container dcd85a2a708d [2023-03-15T16:24:28.918Z] ---> d8d9ba58ccd2 [2023-03-15T16:24:28.918Z] Step 12/25 : RUN $MAKE [2023-03-15T16:24:28.918Z] ---> Running in 31a1f2f8a25c [2023-03-15T16:24:30.348Z] 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-03-15T16:27:07.132Z] Removing intermediate container 31a1f2f8a25c [2023-03-15T16:27:07.132Z] ---> 2b49b0a58a85 [2023-03-15T16:27:07.132Z] Step 13/25 : FROM alpine:3.17 [2023-03-15T16:27:07.132Z] 3.17: Pulling from library/alpine [2023-03-15T16:27:07.132Z] af6eaf76a39c: Already exists [2023-03-15T16:27:07.132Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T16:27:07.132Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T16:27:07.132Z] ---> d74e625d9115 [2023-03-15T16:27:07.132Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-03-15T16:27:07.132Z] ---> Running in 361e24f123ea [2023-03-15T16:27:07.132Z] Removing intermediate container 361e24f123ea [2023-03-15T16:27:07.132Z] ---> 77f631d7f55b [2023-03-15T16:27:07.132Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-03-15T16:27:07.132Z] ---> Running in dd2f16ef9a02 [2023-03-15T16:27:07.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T16:27:08.358Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T16:27:09.776Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T16:27:09.776Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:27:09.776Z] OK: 8 MiB in 16 packages [2023-03-15T16:27:10.747Z] Removing intermediate container dd2f16ef9a02 [2023-03-15T16:27:10.747Z] ---> 5f2485528414 [2023-03-15T16:27:10.747Z] Step 16/25 : WORKDIR / [2023-03-15T16:27:11.030Z] ---> Running in 25f3387f70b6 [2023-03-15T16:27:11.301Z] Removing intermediate container 25f3387f70b6 [2023-03-15T16:27:11.301Z] ---> 3de9996faf50 [2023-03-15T16:27:11.301Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-03-15T16:27:11.895Z] ---> 5b24e459a69a [2023-03-15T16:27:11.895Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-03-15T16:27:12.482Z] ---> a0baf9f6698f [2023-03-15T16:27:12.482Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-03-15T16:27:14.452Z] ---> 2e280fa7edd4 [2023-03-15T16:27:14.452Z] Step 20/25 : EXPOSE 59900 [2023-03-15T16:27:14.452Z] ---> Running in 46bedf34226a [2023-03-15T16:27:14.452Z] Removing intermediate container 46bedf34226a [2023-03-15T16:27:14.452Z] ---> ec7bf5b81417 [2023-03-15T16:27:14.452Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-03-15T16:27:14.727Z] ---> Running in 1a6cb1acaf5a [2023-03-15T16:27:15.005Z] Removing intermediate container 1a6cb1acaf5a [2023-03-15T16:27:15.005Z] ---> dbb583ce07b7 [2023-03-15T16:27:15.005Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-15T16:27:15.005Z] ---> Running in 9dcf85213431 [2023-03-15T16:27:15.658Z] Removing intermediate container 9dcf85213431 [2023-03-15T16:27:15.658Z] ---> 76b9a0428a1e [2023-03-15T16:27:15.658Z] Step 23/25 : LABEL arch=arm64 [2023-03-15T16:27:15.658Z] ---> Running in b6515bfdcf24 [2023-03-15T16:27:15.938Z] Removing intermediate container b6515bfdcf24 [2023-03-15T16:27:15.938Z] ---> 8b3bc470be2b [2023-03-15T16:27:15.938Z] Step 24/25 : LABEL git_sha=af3d51509e69588ca85b60ad07649c4a7a30d1ee [2023-03-15T16:27:16.217Z] ---> Running in 56918ff42bd6 [2023-03-15T16:27:16.492Z] Removing intermediate container 56918ff42bd6 [2023-03-15T16:27:16.492Z] ---> 93af0cda4e18 [2023-03-15T16:27:16.492Z] Step 25/25 : LABEL version=0.0.0 [2023-03-15T16:27:16.492Z] ---> Running in 4abcb4543cc5 [2023-03-15T16:27:16.768Z] Removing intermediate container 4abcb4543cc5 [2023-03-15T16:27:16.768Z] ---> a5712d2d9c6b [2023-03-15T16:27:16.768Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T16:27:17.043Z] Successfully built a5712d2d9c6b [2023-03-15T16:27:17.044Z] 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-03-15T16:27:17.869Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:27:17.869Z] [2023-03-15T16:27:17.869Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:27:18.280Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:27:18.558Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T16:27:18.558Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T16:27:18.558Z] 04944245beec: Pulling fs layer [2023-03-15T16:27:18.558Z] 699f458cf7ca: Pulling fs layer [2023-03-15T16:27:18.558Z] 765212b225bb: Pulling fs layer [2023-03-15T16:27:18.558Z] f23df028b6ca: Pulling fs layer [2023-03-15T16:27:18.558Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T16:27:18.558Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T16:27:18.558Z] f23df028b6ca: Waiting [2023-03-15T16:27:18.558Z] d65c8cfc05b1: Waiting [2023-03-15T16:27:18.558Z] 2437ff75d9bd: Waiting [2023-03-15T16:27:18.558Z] 765212b225bb: Waiting [2023-03-15T16:27:18.558Z] 04944245beec: Verifying Checksum [2023-03-15T16:27:18.558Z] 04944245beec: Download complete [2023-03-15T16:27:18.558Z] 765212b225bb: Verifying Checksum [2023-03-15T16:27:18.558Z] 765212b225bb: Download complete [2023-03-15T16:27:18.558Z] f23df028b6ca: Verifying Checksum [2023-03-15T16:27:18.558Z] f23df028b6ca: Download complete [2023-03-15T16:27:18.835Z] d65c8cfc05b1: Verifying Checksum [2023-03-15T16:27:18.835Z] d65c8cfc05b1: Download complete [2023-03-15T16:27:18.835Z] 699f458cf7ca: Verifying Checksum [2023-03-15T16:27:18.835Z] 699f458cf7ca: Download complete [2023-03-15T16:27:19.109Z] 8998bd30e6a1: Verifying Checksum [2023-03-15T16:27:19.109Z] 8998bd30e6a1: Download complete [2023-03-15T16:27:21.706Z] 2437ff75d9bd: Download complete [2023-03-15T16:27:23.681Z] 8998bd30e6a1: Pull complete [2023-03-15T16:27:23.951Z] 04944245beec: Pull complete [2023-03-15T16:27:25.916Z] 699f458cf7ca: Pull complete [2023-03-15T16:27:25.916Z] 765212b225bb: Pull complete [2023-03-15T16:27:26.887Z] f23df028b6ca: Pull complete [2023-03-15T16:27:27.158Z] d65c8cfc05b1: Pull complete [2023-03-15T16:27:42.204Z] 2437ff75d9bd: Pull complete [2023-03-15T16:27:42.204Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T16:27:42.204Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:27:42.204Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:27:42.554Z] prd-ubuntu20.04-docker-arm64-4c-16g-938 does not seem to be running inside a container [2023-03-15T16:27:42.644Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-15T16:27:46.171Z] $ docker top e18800e2628fb967fe70611577c5a5e1b9bb36991dce71b39f1efd6a819bab54 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:27:47.140Z] ---> job-cost.sh [2023-03-15T16:27:47.140Z] lf-activate-venv: SKIPPING [2023-03-15T16:27:47.140Z] INFO: No Stack... [2023-03-15T16:27:47.736Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T16:27:48.332Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T16:27:49.294Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2023-03-15T16:27:49.295Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T16:27:49.405Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-361-1-stack-cost] [2023-03-15T16:27:49.410Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-361-1-stack-cost] did not exist. Created. [2023-03-15T16:27:49.410Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-361-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T16:27:50.144Z] /w/workspace/device-virtual-go/1@tmp/durable-4c8b076f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T16:27:50.855Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T16:27:50.887Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T16:27:50.945Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T16:27:50.959Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-361-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T16:27:51.031Z] $ docker stop --time=1 e18800e2628fb967fe70611577c5a5e1b9bb36991dce71b39f1efd6a819bab54 [2023-03-15T16:27:52.682Z] $ docker rm -f --volumes e18800e2628fb967fe70611577c5a5e1b9bb36991dce71b39f1efd6a819bab54 [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-03-15T16:27:53.679Z] provisioning config files... [2023-03-15T16:27:53.686Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-361@tmp/config989896832428172460tmp [Pipeline] { [Pipeline] sh [2023-03-15T16:27:54.036Z] + set +x [2023-03-15T16:27:54.036Z] + curl -s https://codecov.io/bash [2023-03-15T16:27:54.036Z] + bash -s -- [2023-03-15T16:27:54.036Z] [2023-03-15T16:27:54.036Z] _____ _ [2023-03-15T16:27:54.036Z] / ____| | | [2023-03-15T16:27:54.036Z] | | ___ __| | ___ ___ _____ __ [2023-03-15T16:27:54.036Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-15T16:27:54.036Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-15T16:27:54.036Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-15T16:27:54.036Z] Bash-1.0.6 [2023-03-15T16:27:54.036Z] [2023-03-15T16:27:54.036Z] [2023-03-15T16:27:54.036Z] ==> git version 2.25.1 found [2023-03-15T16:27:54.036Z] ==> 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-03-15T16:27:54.036Z] Release-Date: 2020-01-08 [2023-03-15T16:27:54.036Z] 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-03-15T16:27:54.036Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-15T16:27:54.036Z] ==> Jenkins CI detected. [2023-03-15T16:27:54.036Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-361 [2023-03-15T16:27:54.036Z] project root: . [2023-03-15T16:27:54.036Z] --> token set from env [2023-03-15T16:27:54.036Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-15T16:27:54.036Z] ==> Running gcov in . (disable via -X gcov) [2023-03-15T16:27:54.036Z] ==> Python coveragepy not found [2023-03-15T16:27:54.036Z] ==> Searching for coverage reports in: [2023-03-15T16:27:54.036Z] + . [2023-03-15T16:27:54.036Z] -> Found 1 reports [2023-03-15T16:27:54.036Z] ==> Detecting git/mercurial file structure [2023-03-15T16:27:54.036Z] ==> Reading reports [2023-03-15T16:27:54.036Z] + ./coverage.out bytes=44311 [2023-03-15T16:27:54.036Z] ==> Appending adjustments [2023-03-15T16:27:54.036Z] https://docs.codecov.io/docs/fixing-reports [2023-03-15T16:27:54.293Z] + Found adjustments [2023-03-15T16:27:54.293Z] ==> Gzipping contents [2023-03-15T16:27:54.293Z] 8.0K /tmp/codecov.KkB5pE.gz [2023-03-15T16:27:54.293Z] ==> Uploading reports [2023-03-15T16:27:54.293Z] url: https://codecov.io [2023-03-15T16:27:54.293Z] query: branch=PR-361&commit=af3d51509e69588ca85b60ad07649c4a7a30d1ee&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-361%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=361&job=&cmd_args= [2023-03-15T16:27:54.293Z] -> Pinging Codecov [2023-03-15T16:27:54.293Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-361&commit=af3d51509e69588ca85b60ad07649c4a7a30d1ee&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-361%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=361&job=&cmd_args= [2023-03-15T16:27:54.551Z] -> Uploading to [2023-03-15T16:27:54.551Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-15/5E52B4B073DB2E39498172D8E973AA87/af3d51509e69588ca85b60ad07649c4a7a30d1ee/553fd65e-a6cb-410a-90e0-b6034f683074.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T162754Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c2ad2e49530763d18b3c34547a9288168fd73bb9b335db1740dc99fc2d88ec27 [2023-03-15T16:27:54.551Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T16:27:54.551Z] Dload Upload Total Spent Left Speed [2023-03-15T16:27:54.809Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5430 0 0 100 5430 0 21210 --:--:-- --:--:-- --:--:-- 21210 [2023-03-15T16:27:54.809Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/af3d51509e69588ca85b60ad07649c4a7a30d1ee [Pipeline] } [2023-03-15T16:27:54.863Z] 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-03-15T16:27:56.514Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-361/archives ] [2023-03-15T16:27:56.514Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-361/archives [2023-03-15T16:27:56.514Z] total 16 [2023-03-15T16:27:56.514Z] drwxr-xr-x 3 root root 4096 Mar 15 16:13 . [2023-03-15T16:27:56.514Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:13 .. [2023-03-15T16:27:56.514Z] drwxr-xr-x 2 root root 4096 Mar 15 16:13 cost [2023-03-15T16:27:56.514Z] -rw-r--r-- 1 root root 89 Mar 15 16:13 cost.csv [2023-03-15T16:27:56.514Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-361/archives [2023-03-15T16:27:56.514Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-361/archives [2023-03-15T16:27:56.514Z] total 16 [2023-03-15T16:27:56.514Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:13 . [2023-03-15T16:27:56.514Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:13 .. [2023-03-15T16:27:56.514Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 16:13 cost [2023-03-15T16:27:56.514Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 15 16:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:27:56.868Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:27:57.763Z] ---> package-listing.sh [2023-03-15T16:27:57.763Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T16:27:57.763Z] ++ facter osfamily [2023-03-15T16:27:58.020Z] + OS_FAMILY=debian [2023-03-15T16:27:58.020Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-361 [2023-03-15T16:27:58.020Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T16:27:58.020Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T16:27:58.020Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T16:27:58.020Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T16:27:58.020Z] + '[' /w/workspace/foundry_device-virtual-go_PR-361 ']' [2023-03-15T16:27:58.020Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T16:27:58.020Z] + case "${OS_FAMILY}" in [2023-03-15T16:27:58.020Z] + dpkg -l [2023-03-15T16:27:58.020Z] + grep '^ii' [2023-03-15T16:27:58.020Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T16:27:58.020Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T16:27:58.020Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T16:27:58.020Z] + '[' /w/workspace/foundry_device-virtual-go_PR-361 ']' [2023-03-15T16:27:58.020Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-361/archives/ [2023-03-15T16:27:58.020Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-361/archives/ [Pipeline] echo [2023-03-15T16:27:58.048Z] 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-361/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-15T16:27:58.344Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:27:58.967Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:27:58.967Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:27:59.101Z] prd-ubuntu20.04-docker-8c-8g-856 does not seem to be running inside a container [2023-03-15T16:27:59.140Z] $ 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-361/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-361 -v /w/workspace/foundry_device-virtual-go_PR-361:/w/workspace/foundry_device-virtual-go_PR-361:rw,z -v /w/workspace/foundry_device-virtual-go_PR-361@tmp:/w/workspace/foundry_device-virtual-go_PR-361@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T16:27:59.345Z] $ docker top d715fe9507540c264a602071bc1e2e5bcf945ce830e0a55e33f9effb22889ec8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:27:59.723Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T16:28:00.102Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T16:28:00.419Z] + ls /var/log/sa-host [2023-03-15T16:28:00.419Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:28:00.578Z] provisioning config files... [2023-03-15T16:28:00.586Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-361@tmp/config5487244425995548934tmp [Pipeline] { [Pipeline] echo [2023-03-15T16:28:00.629Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:28:00.939Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T16:28:00.963Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:28:01.344Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T16:28:01.375Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:28:01.683Z] ---> sudo-logs.sh [2023-03-15T16:28:01.683Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T16:28:01.768Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:28:02.082Z] ---> job-cost.sh [2023-03-15T16:28:02.082Z] lf-activate-venv: SKIPPING [2023-03-15T16:28:02.082Z] DEBUG: total: 0.2199999988079071 [2023-03-15T16:28:02.082Z] INFO: Retrieving Stack Cost... [2023-03-15T16:28:02.653Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T16:28:02.911Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T16:28:02.940Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:28:03.245Z] ---> logs-deploy.sh [2023-03-15T16:28:03.245Z] lf-activate-venv: SKIPPING [2023-03-15T16:28:03.245Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-361/1 [2023-03-15T16:28:03.245Z] INFO: archiving workspace using pattern(s): [2023-03-15T16:28:04.181Z] Archives upload complete. [2023-03-15T16:28:04.181Z] INFO: archiving logs to Nexus