Pull request #440 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 1e1029335fcd05a1cfcf7ccbde58178ea720abc4+6ff19b9bbcef14612feb1da85704d71f54c07229 (431a0260de16817b02af366d3d99d27ef421e222) 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-ssh10113878309261447758.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh14661636462940609009.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-440/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-440/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1726013868219852950.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-440/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7579265664468794719.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh5972624207784422494.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-440/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-440/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6345032206265824485.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 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-blackbox-4c-2g-9694’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-9695’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-9961’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-9962’ is offline ‘prd-ubuntu20.04-docker-8c-8g-9966’ is offline Running on prd-ubuntu20.04-docker-8c-8g-9969 in /w/workspace/foundry_device-virtual-go_PR-440 [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-440 # 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/440/head:refs/remotes/origin/PR-440 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6ff19b9bbcef14612feb1da85704d71f54c07229 into PR head commit 1e1029335fcd05a1cfcf7ccbde58178ea720abc4 Merge succeeded, producing 1e1029335fcd05a1cfcf7ccbde58178ea720abc4 Checking out Revision 1e1029335fcd05a1cfcf7ccbde58178ea720abc4 (PR-440) > git config core.sparsecheckout # timeout=10 > git checkout -f 1e1029335fcd05a1cfcf7ccbde58178ea720abc4 # 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 6ff19b9bbcef14612feb1da85704d71f54c07229 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1e1029335fcd05a1cfcf7ccbde58178ea720abc4 # timeout=10 Commit message: "feat!: Remove snap packaging" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-24T17:04:10.213Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-24T17:04:10.388Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-24T17:04:10.484Z] ========================================================= [2023-10-24T17:04:10.484Z] EdgeX Global Pipelines Version Info [2023-10-24T17:04:10.484Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:04:11.204Z] ------------------- [2023-10-24T17:04:11.204Z] stable info: [2023-10-24T17:04:11.204Z] ------------------- [2023-10-24T17:04:11.204Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-24T17:04:11.204Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T17:04:11.204Z] Message: update stable to v1.0.254 [2023-10-24T17:04:11.774Z] ------------------- [2023-10-24T17:04:11.774Z] experimental info: [2023-10-24T17:04:11.774Z] ------------------- [2023-10-24T17:04:11.774Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-24T17:04:11.774Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T17:04:11.774Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-24T17:04:12.089Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-10-24T17:04:12.129Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-10-24T17:04:12.164Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-24T17:04:12.204Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-24T17:04:12.241Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-24T17:04:12.278Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-24T17:04:12.321Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-24T17:04:12.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-24T17:04:12.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-24T17:04:12.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-24T17:04:12.479Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-24T17:04:12.517Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-10-24T17:04:12.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-24T17:04:12.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-24T17:04:12.644Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T17:04:12.684Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T17:04:12.724Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T17:04:12.760Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T17:04:12.799Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-24T17:04:12.841Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-24T17:04:12.881Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-24T17:04:12.918Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-24T17:04:12.962Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-24T17:04:13.004Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-24T17:04:13.045Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-24T17:04:13.087Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-24T17:04:13.137Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-24T17:04:13.179Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-440 [Pipeline] echo [2023-10-24T17:04:13.227Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-440 [Pipeline] echo [2023-10-24T17:04:13.268Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-440 [Pipeline] echo [2023-10-24T17:04:13.309Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1e1029335fcd05a1cfcf7ccbde58178ea720abc4 [Pipeline] echo [2023-10-24T17:04:13.350Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1e10293 [Pipeline] echo [2023-10-24T17:04:13.389Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T17:04:13.505Z] provisioning config files... [2023-10-24T17:04:13.520Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-440@tmp/config6778835055197896376tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:04:13.868Z] ---> docker-login.sh [2023-10-24T17:04:13.868Z] nexus3.edgexfoundry.org:10001 [2023-10-24T17:04:14.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:04:14.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:04:14.128Z] Configure a credential helper to remove this warning. See [2023-10-24T17:04:14.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:04:14.128Z] [2023-10-24T17:04:14.128Z] Login Succeeded [2023-10-24T17:04:14.128Z] nexus3.edgexfoundry.org:10002 [2023-10-24T17:04:14.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:04:14.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:04:14.128Z] Configure a credential helper to remove this warning. See [2023-10-24T17:04:14.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:04:14.128Z] [2023-10-24T17:04:14.128Z] Login Succeeded [2023-10-24T17:04:14.128Z] nexus3.edgexfoundry.org:10003 [2023-10-24T17:04:14.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:04:14.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:04:14.388Z] Configure a credential helper to remove this warning. See [2023-10-24T17:04:14.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:04:14.388Z] [2023-10-24T17:04:14.388Z] Login Succeeded [2023-10-24T17:04:14.388Z] nexus3.edgexfoundry.org:10004 [2023-10-24T17:04:14.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:04:14.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:04:14.388Z] Configure a credential helper to remove this warning. See [2023-10-24T17:04:14.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:04:14.388Z] [2023-10-24T17:04:14.388Z] Login Succeeded [2023-10-24T17:04:14.388Z] docker.io [2023-10-24T17:04:14.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:04:14.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:04:14.649Z] Configure a credential helper to remove this warning. See [2023-10-24T17:04:14.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:04:14.649Z] [2023-10-24T17:04:14.649Z] Login Succeeded [2023-10-24T17:04:14.649Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T17:04:14.681Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-24T17:04:15.327Z] + git rev-list -1 --merges 1e1029335fcd05a1cfcf7ccbde58178ea720abc4~1..1e1029335fcd05a1cfcf7ccbde58178ea720abc4 [Pipeline] echo [2023-10-24T17:04:15.391Z] -----------> git rev-list -1 --merges 1e1029335fcd05a1cfcf7ccbde58178ea720abc4~1..1e1029335fcd05a1cfcf7ccbde58178ea720abc4 1e1029335fcd05a1cfcf7ccbde58178ea720abc4 [false] [Pipeline] sh [2023-10-24T17:04:15.707Z] + git log --format=format:%s -1 1e1029335fcd05a1cfcf7ccbde58178ea720abc4 [Pipeline] echo [2023-10-24T17:04:15.749Z] ========================================================= [2023-10-24T17:04:15.749Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-24T17:04:15.749Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T17:04:16.199Z] + git log --format=format:%s -1 1e1029335fcd05a1cfcf7ccbde58178ea720abc4 [Pipeline] echo [2023-10-24T17:04:16.231Z] [semverPrep] GIT_COMMIT: 1e1029335fcd05a1cfcf7ccbde58178ea720abc4, Commit Message: feat!: Remove snap packaging [Pipeline] echo [2023-10-24T17:04:16.258Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-24T17:04:16.659Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T17:04:16.659Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-24T17:04:16.659Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-24T17:04:16.659Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-24T17:04:16.659Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-24T17:04:16.659Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-24T17:04:16.659Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:04:17.098Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T17:04:17.098Z] [2023-10-24T17:04:17.098Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:04:17.466Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T17:04:17.466Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-24T17:04:17.466Z] b85a868b505f: Pulling fs layer [2023-10-24T17:04:17.466Z] e2be974225ed: Pulling fs layer [2023-10-24T17:04:17.466Z] 339a4e72a1f5: Pulling fs layer [2023-10-24T17:04:17.466Z] 988bab9f4d93: Pulling fs layer [2023-10-24T17:04:17.466Z] 1469e6f7b9e6: Pulling fs layer [2023-10-24T17:04:17.466Z] eaf3925da568: Pulling fs layer [2023-10-24T17:04:17.466Z] bab4dde63d76: Pulling fs layer [2023-10-24T17:04:17.466Z] bde34c3a00c8: Pulling fs layer [2023-10-24T17:04:17.466Z] b352a97aabf1: Pulling fs layer [2023-10-24T17:04:17.466Z] 4872d77fe225: Pulling fs layer [2023-10-24T17:04:17.466Z] 5851b861e8e6: Pulling fs layer [2023-10-24T17:04:17.466Z] bab4dde63d76: Waiting [2023-10-24T17:04:17.466Z] bde34c3a00c8: Waiting [2023-10-24T17:04:17.466Z] 988bab9f4d93: Waiting [2023-10-24T17:04:17.466Z] b352a97aabf1: Waiting [2023-10-24T17:04:17.466Z] 4872d77fe225: Waiting [2023-10-24T17:04:17.466Z] 1469e6f7b9e6: Waiting [2023-10-24T17:04:17.466Z] eaf3925da568: Waiting [2023-10-24T17:04:17.466Z] 5851b861e8e6: Waiting [2023-10-24T17:04:17.466Z] e2be974225ed: Verifying Checksum [2023-10-24T17:04:17.466Z] e2be974225ed: Download complete [2023-10-24T17:04:17.466Z] 988bab9f4d93: Verifying Checksum [2023-10-24T17:04:17.466Z] 988bab9f4d93: Download complete [2023-10-24T17:04:17.466Z] 1469e6f7b9e6: Verifying Checksum [2023-10-24T17:04:17.466Z] 1469e6f7b9e6: Download complete [2023-10-24T17:04:17.466Z] 339a4e72a1f5: Verifying Checksum [2023-10-24T17:04:17.466Z] 339a4e72a1f5: Download complete [2023-10-24T17:04:17.726Z] eaf3925da568: Verifying Checksum [2023-10-24T17:04:17.726Z] eaf3925da568: Download complete [2023-10-24T17:04:17.726Z] bde34c3a00c8: Verifying Checksum [2023-10-24T17:04:17.726Z] bde34c3a00c8: Download complete [2023-10-24T17:04:17.726Z] b352a97aabf1: Download complete [2023-10-24T17:04:17.726Z] 4872d77fe225: Verifying Checksum [2023-10-24T17:04:17.726Z] 4872d77fe225: Download complete [2023-10-24T17:04:17.726Z] 5851b861e8e6: Download complete [2023-10-24T17:04:17.726Z] b85a868b505f: Verifying Checksum [2023-10-24T17:04:17.726Z] b85a868b505f: Download complete [2023-10-24T17:04:17.984Z] bab4dde63d76: Verifying Checksum [2023-10-24T17:04:17.984Z] bab4dde63d76: Download complete [2023-10-24T17:04:18.922Z] b85a868b505f: Pull complete [2023-10-24T17:04:18.922Z] e2be974225ed: Pull complete [2023-10-24T17:04:19.490Z] 339a4e72a1f5: Pull complete [2023-10-24T17:04:19.490Z] 988bab9f4d93: Pull complete [2023-10-24T17:04:19.751Z] 1469e6f7b9e6: Pull complete [2023-10-24T17:04:19.751Z] eaf3925da568: Pull complete [2023-10-24T17:04:21.657Z] bab4dde63d76: Pull complete [2023-10-24T17:04:21.657Z] bde34c3a00c8: Pull complete [2023-10-24T17:04:21.657Z] b352a97aabf1: Pull complete [2023-10-24T17:04:21.657Z] 4872d77fe225: Pull complete [2023-10-24T17:04:21.917Z] 5851b861e8e6: Pull complete [2023-10-24T17:04:21.917Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-24T17:04:21.917Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T17:04:21.917Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T17:04:22.133Z] prd-ubuntu20.04-docker-8c-8g-9969 does not seem to be running inside a container [2023-10-24T17:04:22.164Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-440 -v /w/workspace/foundry_device-virtual-go_PR-440:/w/workspace/foundry_device-virtual-go_PR-440:rw,z -v /w/workspace/foundry_device-virtual-go_PR-440@tmp:/w/workspace/foundry_device-virtual-go_PR-440@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-devops/py-git-semver:0.1.4 cat [2023-10-24T17:04:25.296Z] $ docker top 8deaea70f4cbb20b8610577d18c620e32bd0223daf4402717d5eab30df922908 -eo pid,comm [2023-10-24T17:04:25.348Z] 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-10-24T17:04:25.348Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T17:04:25.472Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T17:04:25.472Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T17:04:25.583Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T17:04:25.589Z] $ docker exec 8deaea70f4cbb20b8610577d18c620e32bd0223daf4402717d5eab30df922908 ssh-agent [2023-10-24T17:04:25.690Z] SSH_AUTH_SOCK=/tmp/ssh-AazC4dhY71Mv/agent.33 [2023-10-24T17:04:25.690Z] SSH_AGENT_PID=39 [2023-10-24T17:04:25.696Z] Running ssh-add (command line suppressed) [2023-10-24T17:04:25.800Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-440@tmp/private_key_9596551354162335570.key (/w/workspace/foundry_device-virtual-go_PR-440@tmp/private_key_9596551354162335570.key) [2023-10-24T17:04:25.815Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T17:04:26.142Z] + git tag --points-at HEAD [Pipeline] } [2023-10-24T17:04:26.172Z] $ docker exec --env ******** --env ******** 8deaea70f4cbb20b8610577d18c620e32bd0223daf4402717d5eab30df922908 ssh-agent -k [2023-10-24T17:04:26.265Z] unset SSH_AUTH_SOCK; [2023-10-24T17:04:26.265Z] unset SSH_AGENT_PID; [2023-10-24T17:04:26.265Z] echo Agent pid 39 killed; [2023-10-24T17:04:26.277Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-24T17:04:26.362Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T17:04:26.363Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T17:04:26.474Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T17:04:26.479Z] $ docker exec 8deaea70f4cbb20b8610577d18c620e32bd0223daf4402717d5eab30df922908 ssh-agent [2023-10-24T17:04:26.583Z] SSH_AUTH_SOCK=/tmp/ssh-jDGermvUUHk0/agent.71 [2023-10-24T17:04:26.583Z] SSH_AGENT_PID=77 [2023-10-24T17:04:26.587Z] Running ssh-add (command line suppressed) [2023-10-24T17:04:26.698Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-440@tmp/private_key_9234005387527139385.key (/w/workspace/foundry_device-virtual-go_PR-440@tmp/private_key_9234005387527139385.key) [2023-10-24T17:04:26.709Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T17:04:27.035Z] + git semver init [2023-10-24T17:04:27.295Z] 2023-10-24 17:04:27,227 [run_init] DEBUG init version:0.0.0 force:False [2023-10-24T17:04:27.295Z] 2023-10-24 17:04:27,227 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-440/.semver [2023-10-24T17:04:27.295Z] 2023-10-24 17:04:27,228 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-440/.semver [2023-10-24T17:04:27.295Z] 2023-10-24 17:04:27,228 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-440/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-440, universal_newlines=False, shell=None, istream=None) [2023-10-24T17:04:28.695Z] 2023-10-24 17:04:28,488 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-440/.git/info/exclude [2023-10-24T17:04:28.695Z] 2023-10-24 17:04:28,489 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-440/.semver/PR-440 with force:False [2023-10-24T17:04:28.696Z] 2023-10-24 17:04:28,489 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-440/.semver/PR-440 [2023-10-24T17:04:28.696Z] 2023-10-24 17:04:28,493 [execute] INFO git cat-file --batch-check [2023-10-24T17:04:28.696Z] 2023-10-24 17:04:28,494 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-440/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T17:04:28.696Z] 2023-10-24 17:04:28,499 [execute] INFO git cat-file --batch [2023-10-24T17:04:28.696Z] 2023-10-24 17:04:28,499 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-440/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T17:04:28.696Z] 2023-10-24 17:04:28,504 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-440/.semver/PR-440 [2023-10-24T17:04:28.696Z] 0.0.0 [Pipeline] } [2023-10-24T17:04:28.729Z] $ docker exec --env ******** --env ******** 8deaea70f4cbb20b8610577d18c620e32bd0223daf4402717d5eab30df922908 ssh-agent -k [2023-10-24T17:04:28.827Z] unset SSH_AUTH_SOCK; [2023-10-24T17:04:28.827Z] unset SSH_AGENT_PID; [2023-10-24T17:04:28.827Z] echo Agent pid 77 killed; [2023-10-24T17:04:28.833Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T17:04:29.243Z] + git semver [Pipeline] } [2023-10-24T17:04:29.526Z] $ docker stop --time=1 8deaea70f4cbb20b8610577d18c620e32bd0223daf4402717d5eab30df922908 [2023-10-24T17:04:30.856Z] $ docker rm -f --volumes 8deaea70f4cbb20b8610577d18c620e32bd0223daf4402717d5eab30df922908 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T17:04:31.261Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-24T17:04:31.561Z] Stashed 1 file(s) [Pipeline] echo [2023-10-24T17:04:31.579Z] [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-10-24T17:04:32.184Z] provisioning config files... [2023-10-24T17:04:32.197Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-440@tmp/config15883602730592125030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:04:32.545Z] ---> docker-login.sh [2023-10-24T17:04:32.545Z] nexus3.edgexfoundry.org:10001 [2023-10-24T17:04:32.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:04:32.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:04:32.545Z] Configure a credential helper to remove this warning. See [2023-10-24T17:04:32.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:04:32.545Z] [2023-10-24T17:04:32.545Z] Login Succeeded [2023-10-24T17:04:32.545Z] nexus3.edgexfoundry.org:10002 [2023-10-24T17:04:32.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:04:32.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:04:32.545Z] Configure a credential helper to remove this warning. See [2023-10-24T17:04:32.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:04:32.545Z] [2023-10-24T17:04:32.545Z] Login Succeeded [2023-10-24T17:04:32.545Z] nexus3.edgexfoundry.org:10003 [2023-10-24T17:04:32.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:04:32.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:04:32.809Z] Configure a credential helper to remove this warning. See [2023-10-24T17:04:32.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:04:32.809Z] [2023-10-24T17:04:32.809Z] Login Succeeded [2023-10-24T17:04:32.809Z] nexus3.edgexfoundry.org:10004 [2023-10-24T17:04:32.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:04:32.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:04:32.809Z] Configure a credential helper to remove this warning. See [2023-10-24T17:04:32.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:04:32.809Z] [2023-10-24T17:04:32.809Z] Login Succeeded [2023-10-24T17:04:32.809Z] docker.io [2023-10-24T17:04:33.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:04:33.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:04:33.068Z] Configure a credential helper to remove this warning. See [2023-10-24T17:04:33.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:04:33.068Z] [2023-10-24T17:04:33.327Z] Login Succeeded [2023-10-24T17:04:33.327Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T17:04:33.356Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T17:04:33.549Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T17:04:33.589Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T17:04:33.626Z] ========================================================= [2023-10-24T17:04:33.626Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-24T17:04:33.626Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:04:34.100Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-24T17:04:34.100Z] Sending build context to Docker daemon 23.67MB [2023-10-24T17:04:34.100Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T17:04:34.100Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-24T17:04:34.100Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-24T17:04:34.100Z] 7264a8db6415: Pulling fs layer [2023-10-24T17:04:34.100Z] c4d48a809fc2: Pulling fs layer [2023-10-24T17:04:34.100Z] 4f1c88b9dad5: Pulling fs layer [2023-10-24T17:04:34.100Z] ad3a456e5733: Pulling fs layer [2023-10-24T17:04:34.100Z] 33e27b845d1e: Pulling fs layer [2023-10-24T17:04:34.100Z] c68163c4e522: Pulling fs layer [2023-10-24T17:04:34.100Z] 50da416c3ac9: Pulling fs layer [2023-10-24T17:04:34.100Z] 23d2d4c4bb30: Pulling fs layer [2023-10-24T17:04:34.100Z] c68163c4e522: Waiting [2023-10-24T17:04:34.100Z] 50da416c3ac9: Waiting [2023-10-24T17:04:34.100Z] ad3a456e5733: Waiting [2023-10-24T17:04:34.100Z] 23d2d4c4bb30: Waiting [2023-10-24T17:04:34.100Z] 33e27b845d1e: Waiting [2023-10-24T17:04:34.358Z] c4d48a809fc2: Download complete [2023-10-24T17:04:34.358Z] ad3a456e5733: Verifying Checksum [2023-10-24T17:04:34.358Z] ad3a456e5733: Download complete [2023-10-24T17:04:34.358Z] 33e27b845d1e: Download complete [2023-10-24T17:04:34.358Z] 7264a8db6415: Verifying Checksum [2023-10-24T17:04:34.358Z] 7264a8db6415: Download complete [2023-10-24T17:04:34.358Z] c68163c4e522: Verifying Checksum [2023-10-24T17:04:34.358Z] c68163c4e522: Download complete [2023-10-24T17:04:34.618Z] 7264a8db6415: Pull complete [2023-10-24T17:04:34.618Z] 23d2d4c4bb30: Verifying Checksum [2023-10-24T17:04:34.618Z] 23d2d4c4bb30: Download complete [2023-10-24T17:04:34.618Z] c4d48a809fc2: Pull complete [2023-10-24T17:04:34.618Z] 4f1c88b9dad5: Verifying Checksum [2023-10-24T17:04:34.618Z] 4f1c88b9dad5: Download complete [2023-10-24T17:04:35.186Z] 50da416c3ac9: Verifying Checksum [2023-10-24T17:04:38.467Z] 4f1c88b9dad5: Pull complete [2023-10-24T17:04:38.467Z] ad3a456e5733: Pull complete [2023-10-24T17:04:38.467Z] 33e27b845d1e: Pull complete [2023-10-24T17:04:38.467Z] c68163c4e522: Pull complete [2023-10-24T17:04:40.998Z] 50da416c3ac9: Pull complete [2023-10-24T17:04:41.262Z] 23d2d4c4bb30: Pull complete [2023-10-24T17:04:41.262Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-24T17:04:41.262Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-24T17:04:41.262Z] ---> 0786185ac409 [2023-10-24T17:04:41.262Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T17:04:46.602Z] ---> Running in 877f6f40c098 [2023-10-24T17:04:46.602Z] Removing intermediate container 877f6f40c098 [2023-10-24T17:04:46.602Z] ---> 5cba333223fa [2023-10-24T17:04:46.602Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T17:04:46.603Z] ---> Running in fd5bbc0828da [2023-10-24T17:04:46.603Z] Removing intermediate container fd5bbc0828da [2023-10-24T17:04:46.603Z] ---> a7edddab5850 [2023-10-24T17:04:46.603Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-10-24T17:04:46.603Z] ---> Running in 9c1ee114aaf9 [2023-10-24T17:04:46.603Z] Removing intermediate container 9c1ee114aaf9 [2023-10-24T17:04:46.603Z] ---> 4dc0903f88ea [2023-10-24T17:04:46.603Z] Step 6/12 : WORKDIR /device-virtual-go [2023-10-24T17:04:46.861Z] ---> Running in b572dd2c354b [2023-10-24T17:04:46.861Z] Removing intermediate container b572dd2c354b [2023-10-24T17:04:46.861Z] ---> 095b0e24cfea [2023-10-24T17:04:46.861Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T17:04:46.861Z] ---> Running in b4a0f11055f8 [2023-10-24T17:04:46.988Z] Still waiting to schedule task [2023-10-24T17:04:46.988Z] ‘prd-centos7-blackbox-4c-2g-9694’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-24T17:04:46.988Z] ‘prd-centos7-blackbox-4c-2g-9695’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-24T17:04:46.988Z] ‘prd-ubuntu18.04-docker-8c-8g-9961’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-24T17:04:46.988Z] ‘prd-ubuntu20.04-docker-8c-8g-9962’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-24T17:04:46.988Z] ‘prd-ubuntu20.04-docker-8c-8g-9972’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-24T17:04:46.988Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-9970’ is offline [2023-10-24T17:04:47.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T17:04:47.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T17:04:47.651Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T17:04:47.651Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-24T17:04:47.651Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T17:04:47.651Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T17:04:47.651Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T17:04:47.651Z] OK: 268 MiB in 56 packages [2023-10-24T17:04:48.224Z] Removing intermediate container b4a0f11055f8 [2023-10-24T17:04:48.224Z] ---> e5596f136811 [2023-10-24T17:04:48.224Z] Step 8/12 : COPY go.mod vendor* ./ [2023-10-24T17:04:48.224Z] ---> 05b650763dad [2023-10-24T17:04:48.224Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T17:04:48.484Z] ---> Running in d02051077961 [2023-10-24T17:05:45.523Z] Removing intermediate container d02051077961 [2023-10-24T17:05:45.523Z] ---> 001a975a51d9 [2023-10-24T17:05:45.523Z] Step 10/12 : COPY . . [2023-10-24T17:05:45.523Z] ---> 98c02796ba3a [2023-10-24T17:05:45.523Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T17:05:45.523Z] ---> Running in 100ea9fc908c [2023-10-24T17:05:45.523Z] Removing intermediate container 100ea9fc908c [2023-10-24T17:05:45.523Z] ---> 43b5036bc482 [2023-10-24T17:05:45.523Z] Step 12/12 : RUN $MAKE [2023-10-24T17:05:45.523Z] ---> Running in db3f7d2bac23 [2023-10-24T17:05:45.523Z] noop [2023-10-24T17:05:45.523Z] Removing intermediate container db3f7d2bac23 [2023-10-24T17:05:45.523Z] ---> f3dee68a8afb [2023-10-24T17:05:45.523Z] Successfully built f3dee68a8afb [2023-10-24T17:05:45.523Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:05:45.969Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T17:05:45.969Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T17:05:46.114Z] prd-ubuntu20.04-docker-8c-8g-9969 does not seem to be running inside a container [2023-10-24T17:05:46.147Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-440 -v /w/workspace/foundry_device-virtual-go_PR-440:/w/workspace/foundry_device-virtual-go_PR-440:rw,z -v /w/workspace/foundry_device-virtual-go_PR-440@tmp:/w/workspace/foundry_device-virtual-go_PR-440@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-24T17:05:46.492Z] $ docker top 00e7742d5fee31372acabb7300d474cfbb4e94ae2fe6e66d0ac7a9c0631d735c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T17:05:46.882Z] + go version [2023-10-24T17:05:46.882Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-24T17:05:46.915Z] $ docker stop --time=1 00e7742d5fee31372acabb7300d474cfbb4e94ae2fe6e66d0ac7a9c0631d735c [2023-10-24T17:05:48.173Z] $ docker rm -f --volumes 00e7742d5fee31372acabb7300d474cfbb4e94ae2fe6e66d0ac7a9c0631d735c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:05:48.891Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T17:05:48.891Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T17:05:49.042Z] prd-ubuntu20.04-docker-8c-8g-9969 does not seem to be running inside a container [2023-10-24T17:05:49.076Z] $ 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-440 -v /w/workspace/foundry_device-virtual-go_PR-440:/w/workspace/foundry_device-virtual-go_PR-440:rw,z -v /w/workspace/foundry_device-virtual-go_PR-440@tmp:/w/workspace/foundry_device-virtual-go_PR-440@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-24T17:05:49.421Z] $ docker top a315d5c5c1b20972dd6919edf39b3992c56645d7a1c176b6810c11c655ec2e59 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T17:05:49.822Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-440 [Pipeline] fileExists [Pipeline] sh [2023-10-24T17:05:50.182Z] + make test [2023-10-24T17:05:50.182Z] go test ./... -coverprofile=coverage.out [2023-10-24T17:05:51.555Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-10-24T17:06:01.521Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-10-24T17:06:01.521Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.017s coverage: 58.6% of statements [2023-10-24T17:06:08.070Z] go vet ./... [2023-10-24T17:06:10.597Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T17:06:10.597Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T17:06:10.597Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T17:06:10.635Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T17:06:10.666Z] $ docker stop --time=1 a315d5c5c1b20972dd6919edf39b3992c56645d7a1c176b6810c11c655ec2e59 [2023-10-24T17:06:13.663Z] $ docker rm -f --volumes a315d5c5c1b20972dd6919edf39b3992c56645d7a1c176b6810c11c655ec2e59 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T17:06:14.168Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T17:06:14.245Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-24T17:06:14.866Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T17:06:15.176Z] + ls -al . [2023-10-24T17:06:15.177Z] total 200 [2023-10-24T17:06:15.177Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 17:05 . [2023-10-24T17:06:15.177Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 17:04 .. [2023-10-24T17:06:15.177Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 17:06 .git [2023-10-24T17:06:15.177Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 17:04 .github [2023-10-24T17:06:15.177Z] -rw-rw-r-- 1 jenkins jenkins 272 Oct 24 17:04 .gitignore [2023-10-24T17:06:15.177Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 17:04 .golangci.yml [2023-10-24T17:06:15.177Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 17:04 .semver [2023-10-24T17:06:15.177Z] -rw-rw-r-- 1 jenkins jenkins 9708 Oct 24 17:04 Attribution.txt [2023-10-24T17:06:15.177Z] -rw-rw-r-- 1 jenkins jenkins 14372 Oct 24 17:04 CHANGELOG.md [2023-10-24T17:06:15.177Z] -rw-rw-r-- 1 jenkins jenkins 1646 Oct 24 17:04 Dockerfile [2023-10-24T17:06:15.177Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 17:04 GOVERNANCE.md [2023-10-24T17:06:15.177Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 24 17:04 Jenkinsfile [2023-10-24T17:06:15.177Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 17:04 LICENSE [2023-10-24T17:06:15.177Z] -rw-rw-r-- 1 jenkins jenkins 1947 Oct 24 17:04 Makefile [2023-10-24T17:06:15.177Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 24 17:04 OWNERS.md [2023-10-24T17:06:15.177Z] -rw-rw-r-- 1 jenkins jenkins 4103 Oct 24 17:04 README.md [2023-10-24T17:06:15.177Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 17:04 VERSION [2023-10-24T17:06:15.177Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 17:04 bin [2023-10-24T17:06:15.177Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 17:04 cmd [2023-10-24T17:06:15.177Z] -rw-r--r-- 1 jenkins jenkins 43063 Oct 24 17:06 coverage.out [2023-10-24T17:06:15.177Z] -rw-rw-r-- 1 jenkins jenkins 3638 Oct 24 17:04 go.mod [2023-10-24T17:06:15.177Z] -rw-rw-r-- 1 jenkins jenkins 34490 Oct 24 17:04 go.sum [2023-10-24T17:06:15.177Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 17:04 internal [2023-10-24T17:06:15.177Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 24 17:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:06:15.560Z] + 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=1e1029335fcd05a1cfcf7ccbde58178ea720abc4 --label arch=amd64 --label version=0.0.0 . [2023-10-24T17:06:15.560Z] Sending build context to Docker daemon 23.71MB [2023-10-24T17:06:15.560Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T17:06:15.560Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-24T17:06:15.560Z] ---> f3dee68a8afb [2023-10-24T17:06:15.560Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T17:06:15.818Z] ---> Running in 4670c7054b5b [2023-10-24T17:06:15.818Z] Removing intermediate container 4670c7054b5b [2023-10-24T17:06:15.818Z] ---> a0bc209579ee [2023-10-24T17:06:15.818Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T17:06:15.818Z] ---> Running in 8e9b61a53a05 [2023-10-24T17:06:16.077Z] Removing intermediate container 8e9b61a53a05 [2023-10-24T17:06:16.077Z] ---> 72183211cbed [2023-10-24T17:06:16.077Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-10-24T17:06:16.077Z] ---> Running in 9f0b2bb8ba75 [2023-10-24T17:06:16.077Z] Removing intermediate container 9f0b2bb8ba75 [2023-10-24T17:06:16.077Z] ---> 71e39bb7e9f9 [2023-10-24T17:06:16.077Z] Step 6/25 : WORKDIR /device-virtual-go [2023-10-24T17:06:16.077Z] ---> Running in 7883f8bd6920 [2023-10-24T17:06:16.077Z] Removing intermediate container 7883f8bd6920 [2023-10-24T17:06:16.077Z] ---> aa69c6d2bcb8 [2023-10-24T17:06:16.077Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T17:06:16.077Z] ---> Running in b2d31d7af2ba [2023-10-24T17:06:16.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T17:06:16.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T17:06:16.854Z] OK: 268 MiB in 56 packages [2023-10-24T17:06:17.113Z] Removing intermediate container b2d31d7af2ba [2023-10-24T17:06:17.113Z] ---> 538042424189 [2023-10-24T17:06:17.113Z] Step 8/25 : COPY go.mod vendor* ./ [2023-10-24T17:06:17.113Z] ---> 1813698d9f93 [2023-10-24T17:06:17.113Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T17:06:17.113Z] ---> Running in 3783e0d035bb [2023-10-24T17:06:18.059Z] Removing intermediate container 3783e0d035bb [2023-10-24T17:06:18.059Z] ---> 0cd35c5bae53 [2023-10-24T17:06:18.059Z] Step 10/25 : COPY . . [2023-10-24T17:06:18.627Z] ---> 5d5f884e96aa [2023-10-24T17:06:18.627Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T17:06:18.627Z] ---> Running in bb48033ab30f [2023-10-24T17:06:18.627Z] Removing intermediate container bb48033ab30f [2023-10-24T17:06:18.627Z] ---> 2131638b9207 [2023-10-24T17:06:18.627Z] Step 12/25 : RUN $MAKE [2023-10-24T17:06:18.627Z] ---> Running in d8152b194a7f [2023-10-24T17:06:18.885Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-10-24T17:06:40.858Z] Removing intermediate container d8152b194a7f [2023-10-24T17:06:40.858Z] ---> aad834419891 [2023-10-24T17:06:40.858Z] Step 13/25 : FROM alpine:3.18 [2023-10-24T17:06:40.858Z] 3.18: Pulling from library/alpine [2023-10-24T17:06:40.858Z] 96526aa774ef: Pulling fs layer [2023-10-24T17:06:40.858Z] 96526aa774ef: Verifying Checksum [2023-10-24T17:06:40.858Z] 96526aa774ef: Download complete [2023-10-24T17:06:40.858Z] 96526aa774ef: Pull complete [2023-10-24T17:06:40.858Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T17:06:40.858Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T17:06:40.858Z] ---> 8ca4688f4f35 [2023-10-24T17:06:40.858Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-10-24T17:06:40.858Z] ---> Running in 7e1e5f4eff3a [2023-10-24T17:06:40.858Z] Removing intermediate container 7e1e5f4eff3a [2023-10-24T17:06:40.858Z] ---> 7a55886d0563 [2023-10-24T17:06:40.858Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-10-24T17:06:40.858Z] ---> Running in 01a6004a04f7 [2023-10-24T17:06:40.858Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T17:06:40.858Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T17:06:40.858Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T17:06:40.858Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T17:06:40.858Z] OK: 7 MiB in 16 packages [2023-10-24T17:06:40.858Z] Removing intermediate container 01a6004a04f7 [2023-10-24T17:06:40.858Z] ---> d6e033f30ca5 [2023-10-24T17:06:40.858Z] Step 16/25 : WORKDIR / [2023-10-24T17:06:40.858Z] ---> Running in b9c602fc5d55 [2023-10-24T17:06:40.858Z] Removing intermediate container b9c602fc5d55 [2023-10-24T17:06:40.858Z] ---> 79c9e2502f8c [2023-10-24T17:06:40.858Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-10-24T17:06:40.858Z] ---> 6084a4f594e2 [2023-10-24T17:06:40.858Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-10-24T17:06:40.858Z] ---> eedd93b3d6bb [2023-10-24T17:06:40.858Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-10-24T17:06:41.117Z] ---> fe0c83e65b9f [2023-10-24T17:06:41.117Z] Step 20/25 : EXPOSE 59900 [2023-10-24T17:06:41.117Z] ---> Running in a44a8f237bf9 [2023-10-24T17:06:41.375Z] Removing intermediate container a44a8f237bf9 [2023-10-24T17:06:41.375Z] ---> eff489b6cf2f [2023-10-24T17:06:41.375Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-10-24T17:06:41.375Z] ---> Running in 1406f6f4ffbd [2023-10-24T17:06:41.375Z] Removing intermediate container 1406f6f4ffbd [2023-10-24T17:06:41.375Z] ---> 09db32037fd1 [2023-10-24T17:06:41.375Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-24T17:06:41.375Z] ---> Running in 082c9c1e6c8e [2023-10-24T17:06:41.375Z] Removing intermediate container 082c9c1e6c8e [2023-10-24T17:06:41.375Z] ---> 5228268c91ea [2023-10-24T17:06:41.375Z] Step 23/25 : LABEL arch=amd64 [2023-10-24T17:06:41.375Z] ---> Running in 699390c9368f [2023-10-24T17:06:41.633Z] Removing intermediate container 699390c9368f [2023-10-24T17:06:41.633Z] ---> ae5c15d60a7c [2023-10-24T17:06:41.633Z] Step 24/25 : LABEL git_sha=1e1029335fcd05a1cfcf7ccbde58178ea720abc4 [2023-10-24T17:06:41.633Z] ---> Running in 481ecefece4f [2023-10-24T17:06:41.633Z] Removing intermediate container 481ecefece4f [2023-10-24T17:06:41.633Z] ---> dbcbee484260 [2023-10-24T17:06:41.633Z] Step 25/25 : LABEL version=0.0.0 [2023-10-24T17:06:41.633Z] ---> Running in 903a0b1b9a2a [2023-10-24T17:06:41.891Z] Removing intermediate container 903a0b1b9a2a [2023-10-24T17:06:41.891Z] ---> 27a3c269517a [2023-10-24T17:06:41.891Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T17:06:41.891Z] Successfully built 27a3c269517a [2023-10-24T17:06:41.891Z] 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-10-24T17:06:42.719Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T17:06:42.719Z] [2023-10-24T17:06:42.719Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:06:43.087Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T17:06:43.087Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-24T17:06:43.087Z] 5eb5b503b376: Pulling fs layer [2023-10-24T17:06:43.087Z] 5c69ac0246d0: Pulling fs layer [2023-10-24T17:06:43.087Z] ec43610c2a17: Pulling fs layer [2023-10-24T17:06:43.087Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-24T17:06:43.087Z] 33b1e0a273af: Pulling fs layer [2023-10-24T17:06:43.087Z] 5d3b04190fa2: Pulling fs layer [2023-10-24T17:06:43.087Z] 2f39f015ded8: Pulling fs layer [2023-10-24T17:06:43.087Z] 3a2ae6a8a46f: Waiting [2023-10-24T17:06:43.087Z] 5d3b04190fa2: Waiting [2023-10-24T17:06:43.087Z] 2f39f015ded8: Waiting [2023-10-24T17:06:43.087Z] 33b1e0a273af: Waiting [2023-10-24T17:06:43.087Z] 5c69ac0246d0: Verifying Checksum [2023-10-24T17:06:43.087Z] 5c69ac0246d0: Download complete [2023-10-24T17:06:43.087Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-24T17:06:43.087Z] 3a2ae6a8a46f: Download complete [2023-10-24T17:06:43.087Z] 33b1e0a273af: Verifying Checksum [2023-10-24T17:06:43.087Z] 33b1e0a273af: Download complete [2023-10-24T17:06:43.087Z] 5d3b04190fa2: Verifying Checksum [2023-10-24T17:06:43.087Z] 5d3b04190fa2: Download complete [2023-10-24T17:06:43.087Z] ec43610c2a17: Verifying Checksum [2023-10-24T17:06:43.087Z] ec43610c2a17: Download complete [2023-10-24T17:06:43.348Z] 5eb5b503b376: Verifying Checksum [2023-10-24T17:06:43.348Z] 5eb5b503b376: Download complete [2023-10-24T17:06:43.912Z] 2f39f015ded8: Verifying Checksum [2023-10-24T17:06:43.912Z] 2f39f015ded8: Download complete [2023-10-24T17:06:44.478Z] 5eb5b503b376: Pull complete [2023-10-24T17:06:44.735Z] 5c69ac0246d0: Pull complete [2023-10-24T17:06:45.302Z] ec43610c2a17: Pull complete [2023-10-24T17:06:45.303Z] 3a2ae6a8a46f: Pull complete [2023-10-24T17:06:45.560Z] 33b1e0a273af: Pull complete [2023-10-24T17:06:45.560Z] 5d3b04190fa2: Pull complete [2023-10-24T17:06:49.739Z] 2f39f015ded8: Pull complete [2023-10-24T17:06:49.739Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-24T17:06:49.739Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T17:06:49.739Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T17:06:49.958Z] prd-ubuntu20.04-docker-8c-8g-9969 does not seem to be running inside a container [2023-10-24T17:06:49.987Z] $ 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-440 -v /w/workspace/foundry_device-virtual-go_PR-440:/w/workspace/foundry_device-virtual-go_PR-440:rw,z -v /w/workspace/foundry_device-virtual-go_PR-440@tmp:/w/workspace/foundry_device-virtual-go_PR-440@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T17:06:54.784Z] $ docker top d34debb8eb2f27aa2b80e3ebb65336f998f1d82f23a4c8727399d58777f0b94c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:06:55.211Z] ---> job-cost.sh [2023-10-24T17:06:55.211Z] lf-activate-venv: SKIPPING [2023-10-24T17:06:55.211Z] INFO: No Stack... [2023-10-24T17:06:55.469Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T17:06:56.034Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T17:06:56.345Z] + cat /w/workspace/foundry_device-virtual-go_PR-440/archives/cost.csv [2023-10-24T17:06:56.345Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T17:06:56.393Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-440-1-stack-cost] [2023-10-24T17:06:56.398Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-440-1-stack-cost] did not exist. Created. [2023-10-24T17:06:56.398Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-440-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T17:06:56.785Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-24T17:06:56.832Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T17:06:56.865Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-440-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T17:06:56.945Z] $ docker stop --time=1 d34debb8eb2f27aa2b80e3ebb65336f998f1d82f23a4c8727399d58777f0b94c [2023-10-24T17:06:58.105Z] $ docker rm -f --volumes d34debb8eb2f27aa2b80e3ebb65336f998f1d82f23a4c8727399d58777f0b94c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-24T17:07:33.375Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9975 in /w/workspace/foundry_device-virtual-go_PR-440 [Pipeline] { [Pipeline] ws [2023-10-24T17:07:33.427Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-10-24T17:07:33.506Z] The recommended git tool is: git [2023-10-24T17:07:40.068Z] using credential edgex-jenkins-ssh [2023-10-24T17:07:40.088Z] Cloning the remote Git repository [2023-10-24T17:07:40.151Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-10-24T17:07:40.281Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-10-24T17:07:40.480Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-10-24T17:07:40.482Z] > git --version # timeout=10 [2023-10-24T17:07:40.512Z] > git --version # 'git version 2.25.1' [2023-10-24T17:07:40.516Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T17:07:40.706Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T17:07:43.136Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-10-24T17:07:43.178Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T17:07:45.089Z] Merging remotes/origin/main commit 6ff19b9bbcef14612feb1da85704d71f54c07229 into PR head commit 1e1029335fcd05a1cfcf7ccbde58178ea720abc4 [2023-10-24T17:07:44.336Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-10-24T17:07:44.390Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-10-24T17:07:44.392Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T17:07:44.412Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/440/head:refs/remotes/origin/PR-440 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-24T17:07:45.116Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T17:07:45.201Z] > git checkout -f 1e1029335fcd05a1cfcf7ccbde58178ea720abc4 # timeout=10 [2023-10-24T17:07:45.438Z] Merge succeeded, producing 1e1029335fcd05a1cfcf7ccbde58178ea720abc4 [2023-10-24T17:07:45.439Z] Checking out Revision 1e1029335fcd05a1cfcf7ccbde58178ea720abc4 (PR-440) [2023-10-24T17:07:45.305Z] > git remote # timeout=10 [2023-10-24T17:07:45.331Z] > git config --get remote.origin.url # timeout=10 [2023-10-24T17:07:45.367Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T17:07:45.384Z] > git merge 6ff19b9bbcef14612feb1da85704d71f54c07229 # timeout=10 [2023-10-24T17:07:45.416Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-24T17:07:45.446Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T17:07:45.466Z] > git checkout -f 1e1029335fcd05a1cfcf7ccbde58178ea720abc4 # timeout=10 [2023-10-24T17:07:49.076Z] Commit message: "feat!: Remove snap packaging" [2023-10-24T17:07:49.144Z] > git --version # timeout=10 [2023-10-24T17:07:49.157Z] > git --version # 'git version 2.25.1' [2023-10-24T17:07:49.178Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T17:07:50.332Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-24T17:07:50.332Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T17:07:50.332Z] Dload Upload Total Spent Left Speed [2023-10-24T17:07:50.332Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh [2023-10-24T17:07:51.193Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-24T17:07:51.571Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-24T17:07:51.571Z] + sudo tee /etc/docker/daemon.new [2023-10-24T17:07:51.571Z] { [2023-10-24T17:07:51.571Z] "registry-mirrors": [ [2023-10-24T17:07:51.571Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-24T17:07:51.571Z] ], [2023-10-24T17:07:51.571Z] "bip": "10.250.0.254/24", [2023-10-24T17:07:51.571Z] "hosts": [ [2023-10-24T17:07:51.571Z] "tcp://0.0.0.0:5555", [2023-10-24T17:07:51.571Z] "unix:///var/run/docker.sock" [2023-10-24T17:07:51.571Z] ], [2023-10-24T17:07:51.571Z] "mtu": 1458, [2023-10-24T17:07:51.571Z] "selinux-enabled": true, [2023-10-24T17:07:51.571Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-24T17:07:51.571Z] } [Pipeline] sh [2023-10-24T17:07:51.943Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-24T17:07:52.323Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T17:08:10.732Z] provisioning config files... [2023-10-24T17:08:10.776Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config6170326912625315048tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:08:11.187Z] ---> docker-login.sh [2023-10-24T17:08:11.187Z] nexus3.edgexfoundry.org:10001 [2023-10-24T17:08:11.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:08:12.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:08:12.063Z] Configure a credential helper to remove this warning. See [2023-10-24T17:08:12.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:08:12.063Z] [2023-10-24T17:08:12.063Z] Login Succeeded [2023-10-24T17:08:12.063Z] nexus3.edgexfoundry.org:10002 [2023-10-24T17:08:12.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:08:12.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:08:12.340Z] Configure a credential helper to remove this warning. See [2023-10-24T17:08:12.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:08:12.340Z] [2023-10-24T17:08:12.340Z] Login Succeeded [2023-10-24T17:08:12.340Z] nexus3.edgexfoundry.org:10003 [2023-10-24T17:08:12.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:08:12.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:08:12.906Z] Configure a credential helper to remove this warning. See [2023-10-24T17:08:12.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:08:12.906Z] [2023-10-24T17:08:12.906Z] Login Succeeded [2023-10-24T17:08:12.906Z] nexus3.edgexfoundry.org:10004 [2023-10-24T17:08:13.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:08:13.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:08:13.183Z] Configure a credential helper to remove this warning. See [2023-10-24T17:08:13.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:08:13.183Z] [2023-10-24T17:08:13.183Z] Login Succeeded [2023-10-24T17:08:13.183Z] docker.io [2023-10-24T17:08:13.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T17:08:14.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T17:08:14.065Z] Configure a credential helper to remove this warning. See [2023-10-24T17:08:14.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T17:08:14.065Z] [2023-10-24T17:08:14.065Z] Login Succeeded [2023-10-24T17:08:14.065Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T17:08:14.094Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T17:08:14.607Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T17:08:14.647Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T17:08:14.693Z] ========================================================= [2023-10-24T17:08:14.693Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-24T17:08:14.693Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:08:15.225Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-24T17:08:15.842Z] Sending build context to Docker daemon 11.97MB [2023-10-24T17:08:15.842Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T17:08:15.842Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-24T17:08:16.129Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-24T17:08:16.129Z] 9fda8d8052c6: Pulling fs layer [2023-10-24T17:08:16.129Z] 5d54e960e981: Pulling fs layer [2023-10-24T17:08:16.129Z] c4a7e357bf2a: Pulling fs layer [2023-10-24T17:08:16.129Z] f0e02332f6b5: Pulling fs layer [2023-10-24T17:08:16.129Z] cefa15bbcfad: Pulling fs layer [2023-10-24T17:08:16.129Z] 17808c966233: Pulling fs layer [2023-10-24T17:08:16.129Z] f4c1fc716caa: Pulling fs layer [2023-10-24T17:08:16.129Z] cefa15bbcfad: Waiting [2023-10-24T17:08:16.129Z] 17808c966233: Waiting [2023-10-24T17:08:16.129Z] f4c1fc716caa: Waiting [2023-10-24T17:08:16.129Z] f0e02332f6b5: Waiting [2023-10-24T17:08:16.129Z] 5d54e960e981: Verifying Checksum [2023-10-24T17:08:16.129Z] 5d54e960e981: Download complete [2023-10-24T17:08:16.129Z] f0e02332f6b5: Verifying Checksum [2023-10-24T17:08:16.129Z] f0e02332f6b5: Download complete [2023-10-24T17:08:16.434Z] cefa15bbcfad: Verifying Checksum [2023-10-24T17:08:16.434Z] cefa15bbcfad: Download complete [2023-10-24T17:08:16.434Z] 9fda8d8052c6: Verifying Checksum [2023-10-24T17:08:16.434Z] 9fda8d8052c6: Download complete [2023-10-24T17:08:17.063Z] f4c1fc716caa: Verifying Checksum [2023-10-24T17:08:17.063Z] f4c1fc716caa: Download complete [2023-10-24T17:08:17.686Z] 9fda8d8052c6: Pull complete [2023-10-24T17:08:18.301Z] 5d54e960e981: Pull complete [2023-10-24T17:08:18.578Z] c4a7e357bf2a: Verifying Checksum [2023-10-24T17:08:18.578Z] c4a7e357bf2a: Download complete [2023-10-24T17:08:20.009Z] 17808c966233: Verifying Checksum [2023-10-24T17:08:20.009Z] 17808c966233: Download complete [2023-10-24T17:08:35.070Z] c4a7e357bf2a: Pull complete [2023-10-24T17:08:35.070Z] f0e02332f6b5: Pull complete [2023-10-24T17:08:35.070Z] cefa15bbcfad: Pull complete [2023-10-24T17:08:41.756Z] 17808c966233: Pull complete [2023-10-24T17:08:43.723Z] f4c1fc716caa: Pull complete [2023-10-24T17:08:43.723Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-24T17:08:43.723Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-24T17:08:43.723Z] ---> ea914061e18c [2023-10-24T17:08:43.723Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T17:08:44.699Z] ---> Running in d87e0a571860 [2023-10-24T17:08:45.285Z] Removing intermediate container d87e0a571860 [2023-10-24T17:08:45.285Z] ---> e4d7a9043a23 [2023-10-24T17:08:45.285Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T17:08:45.285Z] ---> Running in b5fdd613da90 [2023-10-24T17:08:45.554Z] Removing intermediate container b5fdd613da90 [2023-10-24T17:08:45.554Z] ---> 163be7cc222e [2023-10-24T17:08:45.554Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-10-24T17:08:45.823Z] ---> Running in 954caa51e72d [2023-10-24T17:08:46.094Z] Removing intermediate container 954caa51e72d [2023-10-24T17:08:46.094Z] ---> a0647c35249d [2023-10-24T17:08:46.094Z] Step 6/12 : WORKDIR /device-virtual-go [2023-10-24T17:08:46.094Z] ---> Running in 8e2f6d1f9f1a [2023-10-24T17:08:46.683Z] Removing intermediate container 8e2f6d1f9f1a [2023-10-24T17:08:46.683Z] ---> f5ab8c583af5 [2023-10-24T17:08:46.683Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T17:08:46.683Z] ---> Running in 4285ac00214e [2023-10-24T17:08:48.128Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T17:08:48.398Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T17:08:49.813Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T17:08:49.813Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-24T17:08:49.813Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T17:08:49.813Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T17:08:49.813Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T17:08:49.813Z] OK: 270 MiB in 56 packages [2023-10-24T17:08:51.246Z] Removing intermediate container 4285ac00214e [2023-10-24T17:08:51.246Z] ---> 8ba1edb93d0e [2023-10-24T17:08:51.246Z] Step 8/12 : COPY go.mod vendor* ./ [2023-10-24T17:08:51.844Z] ---> 13bf3daa8cac [2023-10-24T17:08:51.844Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T17:08:52.118Z] ---> Running in d61dd37094a7 [2023-10-24T17:10:28.836Z] Removing intermediate container d61dd37094a7 [2023-10-24T17:10:28.836Z] ---> 9d259042a4e7 [2023-10-24T17:10:28.836Z] Step 10/12 : COPY . . [2023-10-24T17:10:28.836Z] ---> 32263f3a8f82 [2023-10-24T17:10:28.836Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T17:10:28.836Z] ---> Running in f37c6116bd9d [2023-10-24T17:10:28.836Z] Removing intermediate container f37c6116bd9d [2023-10-24T17:10:28.836Z] ---> 2695f1675f4d [2023-10-24T17:10:28.836Z] Step 12/12 : RUN $MAKE [2023-10-24T17:10:28.836Z] ---> Running in 17a12327c166 [2023-10-24T17:10:29.427Z] noop [2023-10-24T17:10:30.420Z] Removing intermediate container 17a12327c166 [2023-10-24T17:10:30.420Z] ---> db82f812b5bc [2023-10-24T17:10:30.420Z] Successfully built db82f812b5bc [2023-10-24T17:10:30.420Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:10:30.910Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T17:10:30.910Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T17:10:31.211Z] prd-ubuntu20.04-docker-arm64-4c-16g-9975 does not seem to be running inside a container [2023-10-24T17:10:31.295Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-24T17:10:32.800Z] $ docker top bbf47befe374c65125371eb5927c43ff9f87bf10b9623aa4990d56200bea577e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T17:10:33.796Z] + go version [2023-10-24T17:10:33.796Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-24T17:10:33.833Z] $ docker stop --time=1 bbf47befe374c65125371eb5927c43ff9f87bf10b9623aa4990d56200bea577e [2023-10-24T17:10:35.621Z] $ docker rm -f --volumes bbf47befe374c65125371eb5927c43ff9f87bf10b9623aa4990d56200bea577e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:10:36.524Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T17:10:36.524Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T17:10:36.807Z] prd-ubuntu20.04-docker-arm64-4c-16g-9975 does not seem to be running inside a container [2023-10-24T17:10:36.889Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-24T17:10:38.301Z] $ docker top 5ac86a53786f78d90c4b538a410d41c9b8984b4d5a139b74a6c9a05b2c0439d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T17:10:39.213Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-10-24T17:10:39.937Z] + make test [2023-10-24T17:10:39.937Z] go test ./... -coverprofile=coverage.out [2023-10-24T17:10:45.305Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-10-24T17:13:07.055Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-10-24T17:13:07.055Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.096s coverage: 58.4% of statements [2023-10-24T17:13:07.055Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-24T17:13:07.055Z] go vet ./... [2023-10-24T17:13:25.329Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T17:13:25.329Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T17:13:25.329Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T17:13:25.373Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T17:13:25.405Z] $ docker stop --time=1 5ac86a53786f78d90c4b538a410d41c9b8984b4d5a139b74a6c9a05b2c0439d6 [2023-10-24T17:13:27.520Z] $ docker rm -f --volumes 5ac86a53786f78d90c4b538a410d41c9b8984b4d5a139b74a6c9a05b2c0439d6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T17:13:29.021Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T17:13:29.056Z] Warning: overwriting stash ‘coverage-report’ [2023-10-24T17:13:29.770Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T17:13:30.373Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T17:13:30.722Z] + ls -al . [2023-10-24T17:13:30.722Z] total 196 [2023-10-24T17:13:30.722Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 24 17:10 . [2023-10-24T17:13:30.722Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 17:07 .. [2023-10-24T17:13:30.722Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 17:07 .git [2023-10-24T17:13:30.722Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 17:07 .github [2023-10-24T17:13:30.722Z] -rw-rw-r-- 1 jenkins jenkins 272 Oct 24 17:07 .gitignore [2023-10-24T17:13:30.722Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 17:07 .golangci.yml [2023-10-24T17:13:30.722Z] -rw-rw-r-- 1 jenkins jenkins 9708 Oct 24 17:07 Attribution.txt [2023-10-24T17:13:30.722Z] -rw-rw-r-- 1 jenkins jenkins 14372 Oct 24 17:07 CHANGELOG.md [2023-10-24T17:13:30.722Z] -rw-rw-r-- 1 jenkins jenkins 1646 Oct 24 17:07 Dockerfile [2023-10-24T17:13:30.722Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 17:07 GOVERNANCE.md [2023-10-24T17:13:30.722Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 24 17:07 Jenkinsfile [2023-10-24T17:13:30.722Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 17:07 LICENSE [2023-10-24T17:13:30.722Z] -rw-rw-r-- 1 jenkins jenkins 1947 Oct 24 17:07 Makefile [2023-10-24T17:13:30.722Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 24 17:07 OWNERS.md [2023-10-24T17:13:30.722Z] -rw-rw-r-- 1 jenkins jenkins 4103 Oct 24 17:07 README.md [2023-10-24T17:13:30.722Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 17:04 VERSION [2023-10-24T17:13:30.722Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 17:07 bin [2023-10-24T17:13:30.722Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 17:07 cmd [2023-10-24T17:13:30.722Z] -rw-r--r-- 1 jenkins jenkins 43063 Oct 24 17:12 coverage.out [2023-10-24T17:13:30.722Z] -rw-rw-r-- 1 jenkins jenkins 3638 Oct 24 17:07 go.mod [2023-10-24T17:13:30.722Z] -rw-rw-r-- 1 jenkins jenkins 34490 Oct 24 17:07 go.sum [2023-10-24T17:13:30.722Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 17:07 internal [2023-10-24T17:13:30.722Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 24 17:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:13:31.160Z] + 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=1e1029335fcd05a1cfcf7ccbde58178ea720abc4 --label arch=arm64 --label version=0.0.0 . [2023-10-24T17:13:31.751Z] Sending build context to Docker daemon 12.02MB [2023-10-24T17:13:31.751Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T17:13:31.751Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-24T17:13:31.751Z] ---> db82f812b5bc [2023-10-24T17:13:31.751Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T17:13:32.031Z] ---> Running in c9e5c913bef1 [2023-10-24T17:13:32.301Z] Removing intermediate container c9e5c913bef1 [2023-10-24T17:13:32.301Z] ---> 33f1bc08c80e [2023-10-24T17:13:32.301Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T17:13:32.301Z] ---> Running in 4b632b5cb66d [2023-10-24T17:13:32.908Z] Removing intermediate container 4b632b5cb66d [2023-10-24T17:13:32.908Z] ---> 1a659e5d1a45 [2023-10-24T17:13:32.908Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-10-24T17:13:32.908Z] ---> Running in a44b48f3b552 [2023-10-24T17:13:33.183Z] Removing intermediate container a44b48f3b552 [2023-10-24T17:13:33.183Z] ---> 54783cb7b37d [2023-10-24T17:13:33.183Z] Step 6/25 : WORKDIR /device-virtual-go [2023-10-24T17:13:33.451Z] ---> Running in 2e39a4aa73b5 [2023-10-24T17:13:33.726Z] Removing intermediate container 2e39a4aa73b5 [2023-10-24T17:13:33.726Z] ---> ea65501a3f72 [2023-10-24T17:13:33.726Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T17:13:33.726Z] ---> Running in fd0a42814096 [2023-10-24T17:13:35.255Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T17:13:35.532Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T17:13:36.968Z] OK: 270 MiB in 56 packages [2023-10-24T17:13:37.967Z] Removing intermediate container fd0a42814096 [2023-10-24T17:13:37.967Z] ---> 038a1c72048a [2023-10-24T17:13:37.967Z] Step 8/25 : COPY go.mod vendor* ./ [2023-10-24T17:13:38.559Z] ---> 104e3f602f17 [2023-10-24T17:13:38.560Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T17:13:38.833Z] ---> Running in 891392f104f4 [2023-10-24T17:13:45.562Z] Removing intermediate container 891392f104f4 [2023-10-24T17:13:45.562Z] ---> e3086254fd76 [2023-10-24T17:13:45.562Z] Step 10/25 : COPY . . [2023-10-24T17:13:46.166Z] ---> f19bd7090028 [2023-10-24T17:13:46.166Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T17:13:46.444Z] ---> Running in 94b69e4f3a56 [2023-10-24T17:13:46.714Z] Removing intermediate container 94b69e4f3a56 [2023-10-24T17:13:46.714Z] ---> 3899c11d1e19 [2023-10-24T17:13:46.714Z] Step 12/25 : RUN $MAKE [2023-10-24T17:13:46.714Z] ---> Running in f9be2dd815d4 [2023-10-24T17:13:48.192Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-10-24T17:15:54.978Z] Removing intermediate container f9be2dd815d4 [2023-10-24T17:15:54.978Z] ---> da2edf72d4f2 [2023-10-24T17:15:54.978Z] Step 13/25 : FROM alpine:3.18 [2023-10-24T17:15:54.978Z] 3.18: Pulling from library/alpine [2023-10-24T17:15:54.978Z] 579b34f0a95b: Pulling fs layer [2023-10-24T17:15:54.978Z] 579b34f0a95b: Verifying Checksum [2023-10-24T17:15:54.978Z] 579b34f0a95b: Download complete [2023-10-24T17:15:54.978Z] 579b34f0a95b: Pull complete [2023-10-24T17:15:54.978Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T17:15:54.978Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T17:15:54.978Z] ---> 3cc203321400 [2023-10-24T17:15:54.978Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-10-24T17:15:54.978Z] ---> Running in 0236b39128aa [2023-10-24T17:15:54.978Z] Removing intermediate container 0236b39128aa [2023-10-24T17:15:54.978Z] ---> f49ecc161611 [2023-10-24T17:15:54.978Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-10-24T17:15:54.978Z] ---> Running in 603826761dd8 [2023-10-24T17:15:55.949Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T17:15:56.216Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T17:15:57.641Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T17:15:57.641Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T17:15:57.641Z] OK: 8 MiB in 16 packages [2023-10-24T17:15:58.631Z] Removing intermediate container 603826761dd8 [2023-10-24T17:15:58.631Z] ---> 2d0e42a92edd [2023-10-24T17:15:58.631Z] Step 16/25 : WORKDIR / [2023-10-24T17:15:58.631Z] ---> Running in 9c4b32d18f19 [2023-10-24T17:15:58.899Z] Removing intermediate container 9c4b32d18f19 [2023-10-24T17:15:58.899Z] ---> 0cd9d215c3ea [2023-10-24T17:15:58.899Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-10-24T17:15:59.485Z] ---> 304e721e45aa [2023-10-24T17:15:59.486Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-10-24T17:16:00.072Z] ---> 4d52749d3082 [2023-10-24T17:16:00.072Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-10-24T17:16:04.353Z] ---> 7fc503e230e6 [2023-10-24T17:16:04.353Z] Step 20/25 : EXPOSE 59900 [2023-10-24T17:16:04.353Z] ---> Running in 4c018e3e97c0 [2023-10-24T17:16:04.353Z] Removing intermediate container 4c018e3e97c0 [2023-10-24T17:16:04.353Z] ---> ec7423138e77 [2023-10-24T17:16:04.353Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-10-24T17:16:04.353Z] ---> Running in b2b7d777f602 [2023-10-24T17:16:04.353Z] Removing intermediate container b2b7d777f602 [2023-10-24T17:16:04.353Z] ---> 5845fad32cfb [2023-10-24T17:16:04.353Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-24T17:16:04.621Z] ---> Running in b721ee4c0c2e [2023-10-24T17:16:04.889Z] Removing intermediate container b721ee4c0c2e [2023-10-24T17:16:04.889Z] ---> 457b8140757a [2023-10-24T17:16:04.889Z] Step 23/25 : LABEL arch=arm64 [2023-10-24T17:16:04.889Z] ---> Running in 56aa4739557d [2023-10-24T17:16:05.160Z] Removing intermediate container 56aa4739557d [2023-10-24T17:16:05.160Z] ---> c7cd791968a8 [2023-10-24T17:16:05.160Z] Step 24/25 : LABEL git_sha=1e1029335fcd05a1cfcf7ccbde58178ea720abc4 [2023-10-24T17:16:05.433Z] ---> Running in b15403de7f01 [2023-10-24T17:16:05.704Z] Removing intermediate container b15403de7f01 [2023-10-24T17:16:05.704Z] ---> 3fa43ec9bdee [2023-10-24T17:16:05.704Z] Step 25/25 : LABEL version=0.0.0 [2023-10-24T17:16:05.704Z] ---> Running in 590e0a5ba489 [2023-10-24T17:16:05.974Z] Removing intermediate container 590e0a5ba489 [2023-10-24T17:16:05.974Z] ---> ebfd34cc89f3 [2023-10-24T17:16:05.974Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T17:16:06.246Z] Successfully built ebfd34cc89f3 [2023-10-24T17:16:06.246Z] 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-10-24T17:16:07.111Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T17:16:07.111Z] [2023-10-24T17:16:07.111Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:16:07.516Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T17:16:07.785Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-24T17:16:07.785Z] 8998bd30e6a1: Pulling fs layer [2023-10-24T17:16:07.785Z] 04944245beec: Pulling fs layer [2023-10-24T17:16:07.785Z] 699f458cf7ca: Pulling fs layer [2023-10-24T17:16:07.785Z] 765212b225bb: Pulling fs layer [2023-10-24T17:16:07.785Z] f23df028b6ca: Pulling fs layer [2023-10-24T17:16:07.785Z] d65c8cfc05b1: Pulling fs layer [2023-10-24T17:16:07.785Z] 2437ff75d9bd: Pulling fs layer [2023-10-24T17:16:07.785Z] f23df028b6ca: Waiting [2023-10-24T17:16:07.785Z] d65c8cfc05b1: Waiting [2023-10-24T17:16:07.785Z] 765212b225bb: Waiting [2023-10-24T17:16:07.785Z] 2437ff75d9bd: Waiting [2023-10-24T17:16:07.785Z] 04944245beec: Verifying Checksum [2023-10-24T17:16:07.785Z] 04944245beec: Download complete [2023-10-24T17:16:07.785Z] 765212b225bb: Verifying Checksum [2023-10-24T17:16:07.785Z] 765212b225bb: Download complete [2023-10-24T17:16:07.785Z] f23df028b6ca: Download complete [2023-10-24T17:16:07.785Z] d65c8cfc05b1: Verifying Checksum [2023-10-24T17:16:07.785Z] d65c8cfc05b1: Download complete [2023-10-24T17:16:08.055Z] 699f458cf7ca: Verifying Checksum [2023-10-24T17:16:08.055Z] 699f458cf7ca: Download complete [2023-10-24T17:16:08.322Z] 8998bd30e6a1: Verifying Checksum [2023-10-24T17:16:08.322Z] 8998bd30e6a1: Download complete [2023-10-24T17:16:10.922Z] 2437ff75d9bd: Verifying Checksum [2023-10-24T17:16:10.922Z] 2437ff75d9bd: Download complete [2023-10-24T17:16:12.870Z] 8998bd30e6a1: Pull complete [2023-10-24T17:16:13.456Z] 04944245beec: Pull complete [2023-10-24T17:16:14.873Z] 699f458cf7ca: Pull complete [2023-10-24T17:16:15.142Z] 765212b225bb: Pull complete [2023-10-24T17:16:17.094Z] f23df028b6ca: Pull complete [2023-10-24T17:16:17.094Z] d65c8cfc05b1: Pull complete [2023-10-24T17:16:35.337Z] 2437ff75d9bd: Pull complete [2023-10-24T17:16:35.337Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-24T17:16:35.337Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T17:16:35.337Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T17:16:35.685Z] prd-ubuntu20.04-docker-arm64-4c-16g-9975 does not seem to be running inside a container [2023-10-24T17:16:35.758Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-24T17:16:38.746Z] $ docker top e60da11a4dca424bb04505f70d0f8577be09483022d6d52f5f9fd65a47e99a45 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:16:39.690Z] ---> job-cost.sh [2023-10-24T17:16:39.691Z] lf-activate-venv: SKIPPING [2023-10-24T17:16:39.691Z] INFO: No Stack... [2023-10-24T17:16:40.276Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-24T17:16:40.864Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T17:16:41.791Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2023-10-24T17:16:41.791Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T17:16:41.888Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-440-1-stack-cost] [2023-10-24T17:16:41.893Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-440-1-stack-cost] did not exist. Created. [2023-10-24T17:16:41.893Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-440-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T17:16:42.639Z] /w/workspace/device-virtual-go/1@tmp/durable-3358c670/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-24T17:16:43.324Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-24T17:16:43.362Z] Warning: overwriting stash ‘stack-cost’ [2023-10-24T17:16:43.416Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T17:16:43.430Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-440-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T17:16:43.519Z] $ docker stop --time=1 e60da11a4dca424bb04505f70d0f8577be09483022d6d52f5f9fd65a47e99a45 [2023-10-24T17:16:46.835Z] $ docker rm -f --volumes e60da11a4dca424bb04505f70d0f8577be09483022d6d52f5f9fd65a47e99a45 [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-10-24T17:16:47.844Z] provisioning config files... [2023-10-24T17:16:47.852Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-440@tmp/config1034852519660242473tmp [Pipeline] { [Pipeline] sh [2023-10-24T17:16:48.188Z] + set +x [2023-10-24T17:16:48.188Z] + curl -s https://codecov.io/bash [2023-10-24T17:16:48.188Z] + bash -s -- [2023-10-24T17:16:48.188Z] [2023-10-24T17:16:48.188Z] _____ _ [2023-10-24T17:16:48.188Z] / ____| | | [2023-10-24T17:16:48.188Z] | | ___ __| | ___ ___ _____ __ [2023-10-24T17:16:48.188Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-24T17:16:48.188Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-24T17:16:48.188Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-24T17:16:48.188Z] Bash-1.0.6 [2023-10-24T17:16:48.188Z] [2023-10-24T17:16:48.188Z] [2023-10-24T17:16:48.188Z] ==> git version 2.25.1 found [2023-10-24T17:16:48.188Z] ==> 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-10-24T17:16:48.188Z] Release-Date: 2020-01-08 [2023-10-24T17:16:48.188Z] 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-10-24T17:16:48.188Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-24T17:16:48.188Z] ==> Jenkins CI detected. [2023-10-24T17:16:48.188Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-440 [2023-10-24T17:16:48.188Z] project root: . [2023-10-24T17:16:48.188Z] --> token set from env [2023-10-24T17:16:48.188Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-24T17:16:48.188Z] ==> Running gcov in . (disable via -X gcov) [2023-10-24T17:16:48.188Z] ==> Python coveragepy not found [2023-10-24T17:16:48.188Z] ==> Searching for coverage reports in: [2023-10-24T17:16:48.188Z] + . [2023-10-24T17:16:48.188Z] -> Found 1 reports [2023-10-24T17:16:48.188Z] ==> Detecting git/mercurial file structure [2023-10-24T17:16:48.188Z] ==> Reading reports [2023-10-24T17:16:48.188Z] + ./coverage.out bytes=43063 [2023-10-24T17:16:48.188Z] ==> Appending adjustments [2023-10-24T17:16:48.188Z] https://docs.codecov.io/docs/fixing-reports [2023-10-24T17:16:48.448Z] + Found adjustments [2023-10-24T17:16:48.448Z] ==> Gzipping contents [2023-10-24T17:16:48.448Z] 8.0K /tmp/codecov.OPfLiQ.gz [2023-10-24T17:16:48.448Z] ==> Uploading reports [2023-10-24T17:16:48.448Z] url: https://codecov.io [2023-10-24T17:16:48.448Z] query: branch=PR-440&commit=1e1029335fcd05a1cfcf7ccbde58178ea720abc4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-440%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=440&job=&cmd_args= [2023-10-24T17:16:48.448Z] -> Pinging Codecov [2023-10-24T17:16:48.448Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-440&commit=1e1029335fcd05a1cfcf7ccbde58178ea720abc4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-440%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=440&job=&cmd_args= [2023-10-24T17:16:48.448Z] -> Uploading to [2023-10-24T17:16:48.448Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-24/5E52B4B073DB2E39498172D8E973AA87/1e1029335fcd05a1cfcf7ccbde58178ea720abc4/7fbb8584-aaa7-462f-9e1f-fe5fe28458aa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T171648Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ea8edf24251859d49844e797681f7c37ccaec09f8e7b8a5ad07a32530d8d7131 [2023-10-24T17:16:48.448Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T17:16:48.448Z] Dload Upload Total Spent Left Speed [2023-10-24T17:16:48.965Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 24500 --:--:-- --:--:-- --:--:-- 24380 100 4998 0 0 100 4998 0 16495 --:--:-- --:--:-- --:--:-- 16440 [2023-10-24T17:16:48.965Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/1e1029335fcd05a1cfcf7ccbde58178ea720abc4 [Pipeline] } [2023-10-24T17:16:48.988Z] 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-10-24T17:16:50.785Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-440/archives ] [2023-10-24T17:16:50.785Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-440/archives [2023-10-24T17:16:50.785Z] total 16 [2023-10-24T17:16:50.785Z] drwxr-xr-x 3 root root 4096 Oct 24 17:06 . [2023-10-24T17:16:50.785Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 17:06 .. [2023-10-24T17:16:50.785Z] drwxr-xr-x 2 root root 4096 Oct 24 17:06 cost [2023-10-24T17:16:50.785Z] -rw-r--r-- 1 root root 89 Oct 24 17:06 cost.csv [2023-10-24T17:16:50.785Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-440/archives [2023-10-24T17:16:50.785Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-440/archives [2023-10-24T17:16:50.785Z] total 16 [2023-10-24T17:16:50.785Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 17:06 . [2023-10-24T17:16:50.785Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 17:06 .. [2023-10-24T17:16:50.785Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 17:06 cost [2023-10-24T17:16:50.785Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 24 17:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:16:51.111Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:16:51.993Z] ---> package-listing.sh [2023-10-24T17:16:51.993Z] ++ facter osfamily [2023-10-24T17:16:51.993Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-24T17:16:52.252Z] + OS_FAMILY=debian [2023-10-24T17:16:52.252Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-440 [2023-10-24T17:16:52.252Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-24T17:16:52.252Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-24T17:16:52.252Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-24T17:16:52.252Z] + PACKAGES=/tmp/packages_start.txt [2023-10-24T17:16:52.252Z] + '[' /w/workspace/foundry_device-virtual-go_PR-440 ']' [2023-10-24T17:16:52.252Z] + PACKAGES=/tmp/packages_end.txt [2023-10-24T17:16:52.252Z] + case "${OS_FAMILY}" in [2023-10-24T17:16:52.252Z] + dpkg -l [2023-10-24T17:16:52.252Z] + grep '^ii' [2023-10-24T17:16:52.252Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-24T17:16:52.252Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-24T17:16:52.252Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-24T17:16:52.252Z] + '[' /w/workspace/foundry_device-virtual-go_PR-440 ']' [2023-10-24T17:16:52.252Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-440/archives/ [2023-10-24T17:16:52.252Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-440/archives/ [Pipeline] echo [2023-10-24T17:16:52.285Z] 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-440/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-24T17:16:52.577Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T17:16:53.195Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T17:16:53.195Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T17:16:53.331Z] prd-ubuntu20.04-docker-8c-8g-9969 does not seem to be running inside a container [2023-10-24T17:16:53.363Z] $ 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-440/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-440 -v /w/workspace/foundry_device-virtual-go_PR-440:/w/workspace/foundry_device-virtual-go_PR-440:rw,z -v /w/workspace/foundry_device-virtual-go_PR-440@tmp:/w/workspace/foundry_device-virtual-go_PR-440@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T17:16:53.554Z] $ docker top f7a2096f42dbf6a504c1b1e8a5182e53a1fcc2397749cdec449fd613dcf636b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T17:16:53.936Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-24T17:16:54.242Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-24T17:16:54.547Z] + ls /var/log/sa-host [2023-10-24T17:16:54.547Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T17:16:54.684Z] provisioning config files... [2023-10-24T17:16:54.693Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-440@tmp/config4396380132863757458tmp [Pipeline] { [Pipeline] echo [2023-10-24T17:16:54.748Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:16:55.059Z] ---> create-netrc.sh [Pipeline] } [2023-10-24T17:16:55.086Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:16:55.482Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-24T17:16:55.513Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:16:55.819Z] ---> sudo-logs.sh [2023-10-24T17:16:55.819Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-24T17:16:55.905Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:16:56.217Z] ---> job-cost.sh [2023-10-24T17:16:56.218Z] lf-activate-venv: SKIPPING [2023-10-24T17:16:56.218Z] DEBUG: total: 0.2199999988079071 [2023-10-24T17:16:56.218Z] INFO: Retrieving Stack Cost... [2023-10-24T17:16:56.783Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T17:16:57.043Z] INFO: Archiving Costs [Pipeline] echo [2023-10-24T17:16:57.078Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T17:16:57.387Z] ---> logs-deploy.sh [2023-10-24T17:16:57.387Z] lf-activate-venv: SKIPPING [2023-10-24T17:16:57.387Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-440/1 [2023-10-24T17:16:57.387Z] INFO: archiving workspace using pattern(s): [2023-10-24T17:16:58.325Z] Archives upload complete. [2023-10-24T17:16:58.325Z] INFO: archiving logs to Nexus