Pull request #464 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9f030a69618d55e9ce97da9a090f943e8d369dab+924acc26038ae5c566a4069cec42ce4481862670 (3672cf7d5206501638d89771a6ef900ce4c3b09d) 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-ssh4045497326681534194.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh9462310758515969256.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-464/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-464/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14242971454955548719.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-464/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14066415172583933407.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh10265996064503845649.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-464/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-464/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17782110669364649136.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-5310’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-5311’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-5507’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-5508’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-5509’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-5559’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5570 in /w/workspace/foundry_device-virtual-go_PR-464 [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-464 # 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 Merging remotes/origin/main commit 924acc26038ae5c566a4069cec42ce4481862670 into PR head commit 9f030a69618d55e9ce97da9a090f943e8d369dab Merge succeeded, producing 9f030a69618d55e9ce97da9a090f943e8d369dab Checking out Revision 9f030a69618d55e9ce97da9a090f943e8d369dab (PR-464) Commit message: "build(deps): Bump google.golang.org/protobuf from 1.32.0 to 1.33.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9f030a69618d55e9ce97da9a090f943e8d369dab # 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 924acc26038ae5c566a4069cec42ce4481862670 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9f030a69618d55e9ce97da9a090f943e8d369dab # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-13T23:34:10.556Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-13T23:34:10.766Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-13T23:34:10.894Z] ========================================================= [2024-03-13T23:34:10.894Z] EdgeX Global Pipelines Version Info [2024-03-13T23:34:10.894Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:34:11.658Z] ------------------- [2024-03-13T23:34:11.658Z] stable info: [2024-03-13T23:34:11.658Z] ------------------- [2024-03-13T23:34:11.658Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-13T23:34:11.658Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-13T23:34:11.658Z] Message: update stable to v1.0.258 [2024-03-13T23:34:12.225Z] ------------------- [2024-03-13T23:34:12.225Z] experimental info: [2024-03-13T23:34:12.225Z] ------------------- [2024-03-13T23:34:12.225Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-13T23:34:12.225Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-13T23:34:12.225Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-13T23:34:12.539Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2024-03-13T23:34:12.623Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2024-03-13T23:34:12.676Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-13T23:34:12.731Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-13T23:34:12.783Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-13T23:34:12.841Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-13T23:34:12.903Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-13T23:34:12.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-03-13T23:34:13.007Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-13T23:34:13.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-13T23:34:13.136Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-13T23:34:13.193Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2024-03-13T23:34:13.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-13T23:34:13.328Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-13T23:34:13.391Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-13T23:34:13.455Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-03-13T23:34:13.515Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-13T23:34:13.589Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-13T23:34:13.654Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-13T23:34:13.723Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-13T23:34:13.790Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-03-13T23:34:13.861Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-03-13T23:34:13.932Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-13T23:34:14.007Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-13T23:34:14.080Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-13T23:34:14.154Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-13T23:34:14.224Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-13T23:34:14.291Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-464 [Pipeline] echo [2024-03-13T23:34:14.375Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-464 [Pipeline] echo [2024-03-13T23:34:14.458Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-464 [Pipeline] echo [2024-03-13T23:34:14.528Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9f030a69618d55e9ce97da9a090f943e8d369dab [Pipeline] echo [2024-03-13T23:34:14.601Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9f030a6 [Pipeline] echo [2024-03-13T23:34:14.672Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-13T23:34:14.848Z] provisioning config files... [2024-03-13T23:34:14.862Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-464@tmp/config11177327222490645796tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:34:15.270Z] ---> ****-login.sh [2024-03-13T23:34:15.270Z] nexus3.edgexfoundry.org:10001 [2024-03-13T23:34:15.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:34:15.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:34:15.543Z] Configure a credential helper to remove this warning. See [2024-03-13T23:34:15.543Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:34:15.543Z] [2024-03-13T23:34:15.543Z] Login Succeeded [2024-03-13T23:34:15.543Z] nexus3.edgexfoundry.org:10002 [2024-03-13T23:34:15.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:34:15.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:34:15.543Z] Configure a credential helper to remove this warning. See [2024-03-13T23:34:15.543Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:34:15.543Z] [2024-03-13T23:34:15.543Z] Login Succeeded [2024-03-13T23:34:15.543Z] nexus3.edgexfoundry.org:10003 [2024-03-13T23:34:15.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:34:15.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:34:15.803Z] Configure a credential helper to remove this warning. See [2024-03-13T23:34:15.803Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:34:15.803Z] [2024-03-13T23:34:15.803Z] Login Succeeded [2024-03-13T23:34:15.803Z] nexus3.edgexfoundry.org:10004 [2024-03-13T23:34:15.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:34:15.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:34:15.803Z] Configure a credential helper to remove this warning. See [2024-03-13T23:34:15.803Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:34:15.803Z] [2024-03-13T23:34:15.803Z] Login Succeeded [2024-03-13T23:34:15.803Z] ****.io [2024-03-13T23:34:15.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:34:16.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:34:16.075Z] Configure a credential helper to remove this warning. See [2024-03-13T23:34:16.076Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:34:16.076Z] [2024-03-13T23:34:16.076Z] Login Succeeded [2024-03-13T23:34:16.076Z] ---> ****-login.sh ends [Pipeline] } [2024-03-13T23:34:16.105Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-13T23:34:16.934Z] + git rev-list -1 --merges 9f030a69618d55e9ce97da9a090f943e8d369dab~1..9f030a69618d55e9ce97da9a090f943e8d369dab [Pipeline] echo [2024-03-13T23:34:16.983Z] -----------> git rev-list -1 --merges 9f030a69618d55e9ce97da9a090f943e8d369dab~1..9f030a69618d55e9ce97da9a090f943e8d369dab 9f030a69618d55e9ce97da9a090f943e8d369dab [false] [Pipeline] sh [2024-03-13T23:34:17.308Z] + git log --format=format:%s -1 9f030a69618d55e9ce97da9a090f943e8d369dab [Pipeline] echo [2024-03-13T23:34:17.345Z] ========================================================= [2024-03-13T23:34:17.345Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-13T23:34:17.345Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-13T23:34:17.844Z] + git log --format=format:%s -1 9f030a69618d55e9ce97da9a090f943e8d369dab [Pipeline] echo [2024-03-13T23:34:17.880Z] [semverPrep] GIT_COMMIT: 9f030a69618d55e9ce97da9a090f943e8d369dab, Commit Message: build(deps): Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 [Pipeline] echo [2024-03-13T23:34:17.934Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-13T23:34:18.363Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-13T23:34:18.363Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-13T23:34:18.363Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-13T23:34:18.363Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-13T23:34:18.363Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-03-13T23:34:18.363Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-13T23:34:18.363Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:34:18.830Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-13T23:34:18.830Z] [2024-03-13T23:34:18.830Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:34:19.333Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-13T23:34:19.333Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-13T23:34:19.333Z] b85a868b505f: Pulling fs layer [2024-03-13T23:34:19.333Z] e2be974225ed: Pulling fs layer [2024-03-13T23:34:19.333Z] 339a4e72a1f5: Pulling fs layer [2024-03-13T23:34:19.333Z] 988bab9f4d93: Pulling fs layer [2024-03-13T23:34:19.333Z] 1469e6f7b9e6: Pulling fs layer [2024-03-13T23:34:19.333Z] eaf3925da568: Pulling fs layer [2024-03-13T23:34:19.333Z] bab4dde63d76: Pulling fs layer [2024-03-13T23:34:19.333Z] bde34c3a00c8: Pulling fs layer [2024-03-13T23:34:19.333Z] b352a97aabf1: Pulling fs layer [2024-03-13T23:34:19.333Z] 4872d77fe225: Pulling fs layer [2024-03-13T23:34:19.333Z] 5851b861e8e6: Pulling fs layer [2024-03-13T23:34:19.333Z] eaf3925da568: Waiting [2024-03-13T23:34:19.333Z] bab4dde63d76: Waiting [2024-03-13T23:34:19.333Z] bde34c3a00c8: Waiting [2024-03-13T23:34:19.333Z] b352a97aabf1: Waiting [2024-03-13T23:34:19.333Z] 4872d77fe225: Waiting [2024-03-13T23:34:19.333Z] 5851b861e8e6: Waiting [2024-03-13T23:34:19.333Z] 988bab9f4d93: Waiting [2024-03-13T23:34:19.333Z] 1469e6f7b9e6: Waiting [2024-03-13T23:34:19.333Z] e2be974225ed: Download complete [2024-03-13T23:34:19.333Z] 988bab9f4d93: Verifying Checksum [2024-03-13T23:34:19.333Z] 988bab9f4d93: Download complete [2024-03-13T23:34:19.333Z] 1469e6f7b9e6: Verifying Checksum [2024-03-13T23:34:19.333Z] 1469e6f7b9e6: Download complete [2024-03-13T23:34:19.333Z] eaf3925da568: Verifying Checksum [2024-03-13T23:34:19.333Z] eaf3925da568: Download complete [2024-03-13T23:34:19.333Z] 339a4e72a1f5: Verifying Checksum [2024-03-13T23:34:19.333Z] 339a4e72a1f5: Download complete [2024-03-13T23:34:19.333Z] bde34c3a00c8: Download complete [2024-03-13T23:34:19.616Z] b352a97aabf1: Download complete [2024-03-13T23:34:19.616Z] 4872d77fe225: Verifying Checksum [2024-03-13T23:34:19.616Z] 4872d77fe225: Download complete [2024-03-13T23:34:19.616Z] 5851b861e8e6: Download complete [2024-03-13T23:34:19.616Z] b85a868b505f: Verifying Checksum [2024-03-13T23:34:19.616Z] b85a868b505f: Download complete [2024-03-13T23:34:19.886Z] bab4dde63d76: Verifying Checksum [2024-03-13T23:34:19.886Z] bab4dde63d76: Download complete [2024-03-13T23:34:20.830Z] b85a868b505f: Pull complete [2024-03-13T23:34:21.097Z] e2be974225ed: Pull complete [2024-03-13T23:34:21.369Z] 339a4e72a1f5: Pull complete [2024-03-13T23:34:21.629Z] 988bab9f4d93: Pull complete [2024-03-13T23:34:21.903Z] 1469e6f7b9e6: Pull complete [2024-03-13T23:34:21.903Z] eaf3925da568: Pull complete [2024-03-13T23:34:23.814Z] bab4dde63d76: Pull complete [2024-03-13T23:34:23.814Z] bde34c3a00c8: Pull complete [2024-03-13T23:34:23.815Z] b352a97aabf1: Pull complete [2024-03-13T23:34:24.092Z] 4872d77fe225: Pull complete [2024-03-13T23:34:24.092Z] 5851b861e8e6: Pull complete [2024-03-13T23:34:24.092Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-13T23:34:24.092Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-13T23:34:24.092Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:34:24.470Z] prd-ubuntu20.04-docker-8c-8g-5570 does not seem to be running inside a container [2024-03-13T23:34:24.531Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-464 -v /w/workspace/foundry_device-virtual-go_PR-464:/w/workspace/foundry_device-virtual-go_PR-464:rw,z -v /w/workspace/foundry_device-virtual-go_PR-464@tmp:/w/workspace/foundry_device-virtual-go_PR-464@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-03-13T23:34:28.880Z] $ docker top 62904b9c822fe1c2a76aa43e6d75e6700fe569199f3f1c7583ba85b155a310e8 -eo pid,comm [2024-03-13T23:34:28.928Z] 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). [2024-03-13T23:34:28.928Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-13T23:34:29.134Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-13T23:34:29.134Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-13T23:34:29.286Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-13T23:34:29.289Z] $ docker exec 62904b9c822fe1c2a76aa43e6d75e6700fe569199f3f1c7583ba85b155a310e8 ssh-agent [2024-03-13T23:34:29.398Z] SSH_AUTH_SOCK=/tmp/ssh-0Xcz8fqo4Vmg/agent.21 [2024-03-13T23:34:29.398Z] SSH_AGENT_PID=27 [2024-03-13T23:34:29.429Z] Running ssh-add (command line suppressed) [2024-03-13T23:34:29.553Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-464@tmp/private_key_2957983871491807375.key (/w/workspace/foundry_device-virtual-go_PR-464@tmp/private_key_2957983871491807375.key) [2024-03-13T23:34:29.564Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-13T23:34:29.913Z] + git tag --points-at HEAD [Pipeline] } [2024-03-13T23:34:29.936Z] $ docker exec --env ******** --env ******** 62904b9c822fe1c2a76aa43e6d75e6700fe569199f3f1c7583ba85b155a310e8 ssh-agent -k [2024-03-13T23:34:30.041Z] unset SSH_AUTH_SOCK; [2024-03-13T23:34:30.042Z] unset SSH_AGENT_PID; [2024-03-13T23:34:30.042Z] echo Agent pid 27 killed; [2024-03-13T23:34:30.051Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-13T23:34:30.203Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-13T23:34:30.203Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-13T23:34:30.307Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-13T23:34:30.311Z] $ docker exec 62904b9c822fe1c2a76aa43e6d75e6700fe569199f3f1c7583ba85b155a310e8 ssh-agent [2024-03-13T23:34:30.413Z] SSH_AUTH_SOCK=/tmp/ssh-oK0nn18Q5L51/agent.72 [2024-03-13T23:34:30.413Z] SSH_AGENT_PID=78 [2024-03-13T23:34:30.418Z] Running ssh-add (command line suppressed) [2024-03-13T23:34:30.517Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-464@tmp/private_key_4022247633754198523.key (/w/workspace/foundry_device-virtual-go_PR-464@tmp/private_key_4022247633754198523.key) [2024-03-13T23:34:30.528Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-13T23:34:30.881Z] + git semver init [2024-03-13T23:34:31.143Z] 2024-03-13 23:34:31,052 [run_init] DEBUG init version:0.0.0 force:False [2024-03-13T23:34:31.143Z] 2024-03-13 23:34:31,053 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-464/.semver [2024-03-13T23:34:31.143Z] 2024-03-13 23:34:31,053 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-464/.semver [2024-03-13T23:34:31.143Z] 2024-03-13 23:34:31,054 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-464/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-464, universal_newlines=False, shell=None, istream=None) [2024-03-13T23:34:32.537Z] 2024-03-13 23:34:32,446 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-464/.git/info/exclude [2024-03-13T23:34:32.537Z] 2024-03-13 23:34:32,447 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-464/.semver/PR-464 with force:False [2024-03-13T23:34:32.537Z] 2024-03-13 23:34:32,447 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-464/.semver/PR-464 [2024-03-13T23:34:32.537Z] 2024-03-13 23:34:32,451 [execute] INFO git cat-file --batch-check [2024-03-13T23:34:32.537Z] 2024-03-13 23:34:32,451 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-464/.semver, universal_newlines=False, shell=None, istream=) [2024-03-13T23:34:32.537Z] 2024-03-13 23:34:32,456 [execute] INFO git cat-file --batch [2024-03-13T23:34:32.537Z] 2024-03-13 23:34:32,457 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-464/.semver, universal_newlines=False, shell=None, istream=) [2024-03-13T23:34:32.537Z] 2024-03-13 23:34:32,461 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-464/.semver/PR-464 [2024-03-13T23:34:32.537Z] 0.0.0 [Pipeline] } [2024-03-13T23:34:32.560Z] $ docker exec --env ******** --env ******** 62904b9c822fe1c2a76aa43e6d75e6700fe569199f3f1c7583ba85b155a310e8 ssh-agent -k [2024-03-13T23:34:32.658Z] unset SSH_AUTH_SOCK; [2024-03-13T23:34:32.658Z] unset SSH_AGENT_PID; [2024-03-13T23:34:32.659Z] echo Agent pid 78 killed; [2024-03-13T23:34:32.666Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-13T23:34:33.193Z] + git semver [Pipeline] } [2024-03-13T23:34:33.476Z] $ docker stop --time=1 62904b9c822fe1c2a76aa43e6d75e6700fe569199f3f1c7583ba85b155a310e8 [2024-03-13T23:34:35.315Z] $ docker rm -f --volumes 62904b9c822fe1c2a76aa43e6d75e6700fe569199f3f1c7583ba85b155a310e8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-13T23:34:35.837Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-13T23:34:36.162Z] Stashed 1 file(s) [Pipeline] echo [2024-03-13T23:34:36.177Z] [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 [2024-03-13T23:34:37.294Z] provisioning config files... [2024-03-13T23:34:37.323Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-464@tmp/config15415810749802281495tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:34:38.101Z] ---> ****-login.sh [2024-03-13T23:34:38.101Z] nexus3.edgexfoundry.org:10001 [2024-03-13T23:34:38.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:34:38.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:34:38.101Z] Configure a credential helper to remove this warning. See [2024-03-13T23:34:38.101Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:34:38.101Z] [2024-03-13T23:34:38.101Z] Login Succeeded [2024-03-13T23:34:38.101Z] nexus3.edgexfoundry.org:10002 [2024-03-13T23:34:38.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:34:38.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:34:38.101Z] Configure a credential helper to remove this warning. See [2024-03-13T23:34:38.101Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:34:38.101Z] [2024-03-13T23:34:38.101Z] Login Succeeded [2024-03-13T23:34:38.101Z] nexus3.edgexfoundry.org:10003 [2024-03-13T23:34:38.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:34:38.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:34:38.362Z] Configure a credential helper to remove this warning. See [2024-03-13T23:34:38.362Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:34:38.362Z] [2024-03-13T23:34:38.362Z] Login Succeeded [2024-03-13T23:34:38.362Z] nexus3.edgexfoundry.org:10004 [2024-03-13T23:34:38.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:34:38.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:34:38.362Z] Configure a credential helper to remove this warning. See [2024-03-13T23:34:38.362Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:34:38.362Z] [2024-03-13T23:34:38.362Z] Login Succeeded [2024-03-13T23:34:38.362Z] ****.io [2024-03-13T23:34:38.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:34:38.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:34:38.629Z] Configure a credential helper to remove this warning. See [2024-03-13T23:34:38.629Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:34:38.629Z] [2024-03-13T23:34:38.629Z] Login Succeeded [2024-03-13T23:34:38.629Z] ---> ****-login.sh ends [Pipeline] } [2024-03-13T23:34:38.656Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-13T23:34:38.960Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-13T23:34:39.030Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-13T23:34:39.086Z] ========================================================= [2024-03-13T23:34:39.086Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-13T23:34:39.086Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:34:39.647Z] + 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 . [2024-03-13T23:34:39.647Z] Sending build context to Docker daemon 31.66MB [2024-03-13T23:34:39.647Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-13T23:34:39.647Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-13T23:34:39.909Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-13T23:34:39.909Z] 7264a8db6415: Pulling fs layer [2024-03-13T23:34:39.909Z] c4d48a809fc2: Pulling fs layer [2024-03-13T23:34:39.909Z] 4f1c88b9dad5: Pulling fs layer [2024-03-13T23:34:39.909Z] ad3a456e5733: Pulling fs layer [2024-03-13T23:34:39.909Z] 69c7f0334f64: Pulling fs layer [2024-03-13T23:34:39.909Z] 1f1c1a5573a3: Pulling fs layer [2024-03-13T23:34:39.909Z] ce7588e14bc9: Pulling fs layer [2024-03-13T23:34:39.909Z] b5e4710f87ac: Pulling fs layer [2024-03-13T23:34:39.909Z] ad3a456e5733: Waiting [2024-03-13T23:34:39.909Z] 69c7f0334f64: Waiting [2024-03-13T23:34:39.909Z] 1f1c1a5573a3: Waiting [2024-03-13T23:34:39.909Z] ce7588e14bc9: Waiting [2024-03-13T23:34:39.909Z] b5e4710f87ac: Waiting [2024-03-13T23:34:40.169Z] c4d48a809fc2: Verifying Checksum [2024-03-13T23:34:40.169Z] c4d48a809fc2: Download complete [2024-03-13T23:34:40.169Z] ad3a456e5733: Verifying Checksum [2024-03-13T23:34:40.169Z] ad3a456e5733: Download complete [2024-03-13T23:34:40.169Z] 69c7f0334f64: Verifying Checksum [2024-03-13T23:34:40.169Z] 69c7f0334f64: Download complete [2024-03-13T23:34:40.169Z] 7264a8db6415: Verifying Checksum [2024-03-13T23:34:40.169Z] 7264a8db6415: Download complete [2024-03-13T23:34:40.169Z] 1f1c1a5573a3: Verifying Checksum [2024-03-13T23:34:40.169Z] 1f1c1a5573a3: Download complete [2024-03-13T23:34:40.438Z] b5e4710f87ac: Verifying Checksum [2024-03-13T23:34:40.438Z] b5e4710f87ac: Download complete [2024-03-13T23:34:40.438Z] 7264a8db6415: Pull complete [2024-03-13T23:34:40.438Z] 4f1c88b9dad5: Verifying Checksum [2024-03-13T23:34:40.438Z] 4f1c88b9dad5: Download complete [2024-03-13T23:34:41.014Z] c4d48a809fc2: Pull complete [2024-03-13T23:34:41.014Z] ce7588e14bc9: Download complete [2024-03-13T23:34:44.317Z] 4f1c88b9dad5: Pull complete [2024-03-13T23:34:44.577Z] ad3a456e5733: Pull complete [2024-03-13T23:34:44.871Z] 69c7f0334f64: Pull complete [2024-03-13T23:34:45.444Z] 1f1c1a5573a3: Pull complete [2024-03-13T23:34:47.983Z] ce7588e14bc9: Pull complete [2024-03-13T23:34:48.549Z] b5e4710f87ac: Pull complete [2024-03-13T23:34:48.549Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-13T23:34:48.549Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-13T23:34:48.549Z] ---> 88b5674ff536 [2024-03-13T23:34:48.549Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-13T23:34:51.984Z] Still waiting to schedule task [2024-03-13T23:34:51.985Z] ‘prd-centos7-blackbox-4c-2g-5310’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-03-13T23:34:51.985Z] ‘prd-centos7-blackbox-4c-2g-5311’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-03-13T23:34:51.985Z] ‘prd-ubuntu18.04-docker-8c-8g-5507’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-03-13T23:34:51.985Z] ‘prd-ubuntu18.04-docker-8c-8g-5508’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-03-13T23:34:51.985Z] ‘prd-ubuntu18.04-docker-8c-8g-5509’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-03-13T23:34:51.985Z] ‘prd-ubuntu20.04-docker-8c-8g-5573’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-03-13T23:34:51.985Z] ‘prd-ubuntu20.04-docker-8c-8g-5574’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-03-13T23:34:51.985Z] ‘prd-ubuntu20.04-docker-8c-8g-5575’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-03-13T23:34:51.985Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5576’ is offline [2024-03-13T23:34:51.985Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5578’ is offline [2024-03-13T23:34:55.149Z] ---> Running in af8ecac4e6be [2024-03-13T23:34:55.149Z] Removing intermediate container af8ecac4e6be [2024-03-13T23:34:55.149Z] ---> f1c0e6e49395 [2024-03-13T23:34:55.149Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-13T23:34:55.149Z] ---> Running in b0f4c0a7e4ea [2024-03-13T23:34:55.149Z] Removing intermediate container b0f4c0a7e4ea [2024-03-13T23:34:55.150Z] ---> 75e13b4600d8 [2024-03-13T23:34:55.150Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-03-13T23:34:55.150Z] ---> Running in 6eebf115a3d5 [2024-03-13T23:34:55.150Z] Removing intermediate container 6eebf115a3d5 [2024-03-13T23:34:55.150Z] ---> 50e34f9f2f60 [2024-03-13T23:34:55.150Z] Step 6/12 : WORKDIR /device-virtual-go [2024-03-13T23:34:55.418Z] ---> Running in e75693c12fd6 [2024-03-13T23:34:55.701Z] Removing intermediate container e75693c12fd6 [2024-03-13T23:34:55.701Z] ---> a14ccf0dc2b1 [2024-03-13T23:34:55.701Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-13T23:34:55.982Z] ---> Running in 96ce7fe4a4f1 [2024-03-13T23:34:56.580Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-13T23:34:56.845Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-13T23:34:57.107Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-13T23:34:57.107Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-13T23:34:57.107Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-13T23:34:57.107Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-13T23:34:57.107Z] Executing busybox-1.36.1-r5.trigger [2024-03-13T23:34:57.107Z] OK: 268 MiB in 56 packages [2024-03-13T23:34:58.488Z] Removing intermediate container 96ce7fe4a4f1 [2024-03-13T23:34:58.488Z] ---> 7ceb8153be8b [2024-03-13T23:34:58.488Z] Step 8/12 : COPY go.mod vendor* ./ [2024-03-13T23:34:59.057Z] ---> 7bbcbc4cabb2 [2024-03-13T23:34:59.057Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-13T23:34:59.057Z] ---> Running in 772d8619d445 [2024-03-13T23:35:46.856Z] Removing intermediate container 772d8619d445 [2024-03-13T23:35:46.856Z] ---> 5288d1efe2d0 [2024-03-13T23:35:46.856Z] Step 10/12 : COPY . . [2024-03-13T23:35:49.392Z] ---> ae0ccfcefcc4 [2024-03-13T23:35:49.392Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-13T23:35:49.652Z] ---> Running in c68f217eaefe [2024-03-13T23:35:50.223Z] Removing intermediate container c68f217eaefe [2024-03-13T23:35:50.223Z] ---> 41ecaadfed85 [2024-03-13T23:35:50.224Z] Step 12/12 : RUN $MAKE [2024-03-13T23:35:50.482Z] ---> Running in f967ecbe756a [2024-03-13T23:35:51.425Z] noop [2024-03-13T23:35:53.339Z] Removing intermediate container f967ecbe756a [2024-03-13T23:35:53.339Z] ---> d3062db2189c [2024-03-13T23:35:53.339Z] Successfully built d3062db2189c [2024-03-13T23:35:53.339Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:35:53.857Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-13T23:35:53.857Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:35:54.116Z] prd-ubuntu20.04-docker-8c-8g-5570 does not seem to be running inside a container [2024-03-13T23:35:54.153Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-464 -v /w/workspace/foundry_device-virtual-go_PR-464:/w/workspace/foundry_device-virtual-go_PR-464:rw,z -v /w/workspace/foundry_device-virtual-go_PR-464@tmp:/w/workspace/foundry_device-virtual-go_PR-464@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-13T23:35:55.430Z] $ docker top fe3c97e610f604d12cf2ce8df2433d3af28572b2e21f7852e9211c2c1338d67d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-13T23:35:55.871Z] + go version [2024-03-13T23:35:55.871Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-13T23:35:55.905Z] $ docker stop --time=1 fe3c97e610f604d12cf2ce8df2433d3af28572b2e21f7852e9211c2c1338d67d [2024-03-13T23:35:57.172Z] $ docker rm -f --volumes fe3c97e610f604d12cf2ce8df2433d3af28572b2e21f7852e9211c2c1338d67d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:35:58.133Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-13T23:35:58.133Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:35:58.344Z] prd-ubuntu20.04-docker-8c-8g-5570 does not seem to be running inside a container [2024-03-13T23:35:58.381Z] $ 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-464 -v /w/workspace/foundry_device-virtual-go_PR-464:/w/workspace/foundry_device-virtual-go_PR-464:rw,z -v /w/workspace/foundry_device-virtual-go_PR-464@tmp:/w/workspace/foundry_device-virtual-go_PR-464@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-13T23:35:58.778Z] $ docker top f15b25a25db5b6d3a36683d41ce1229dd7e244f45f5f4262c70af6ba53a7a828 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-13T23:35:59.214Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-464 [Pipeline] fileExists [Pipeline] sh [2024-03-13T23:35:59.602Z] + make test [2024-03-13T23:35:59.602Z] go test ./... -coverprofile=coverage.out [2024-03-13T23:36:03.864Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-03-13T23:36:13.944Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-03-13T23:36:13.944Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.015s coverage: 58.6% of statements [2024-03-13T23:36:19.350Z] go vet ./... [2024-03-13T23:36:22.633Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-13T23:36:22.633Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-13T23:36:22.633Z] ./bin/test-attribution-txt.sh [2024-03-13T23:36:22.633Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-13T23:36:22.670Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-13T23:36:22.740Z] $ docker stop --time=1 f15b25a25db5b6d3a36683d41ce1229dd7e244f45f5f4262c70af6ba53a7a828 [2024-03-13T23:36:28.065Z] $ docker rm -f --volumes f15b25a25db5b6d3a36683d41ce1229dd7e244f45f5f4262c70af6ba53a7a828 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-13T23:36:28.665Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-13T23:36:28.786Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-03-13T23:36:29.633Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-13T23:36:29.952Z] + ls -al . [2024-03-13T23:36:29.952Z] total 200 [2024-03-13T23:36:29.952Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 23:35 . [2024-03-13T23:36:29.952Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 23:34 .. [2024-03-13T23:36:29.952Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 23:36 .git [2024-03-13T23:36:29.952Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 23:34 .github [2024-03-13T23:36:29.952Z] -rw-rw-r-- 1 jenkins jenkins 272 Mar 13 23:34 .gitignore [2024-03-13T23:36:29.952Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 23:34 .golangci.yml [2024-03-13T23:36:29.952Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 23:34 .semver [2024-03-13T23:36:29.952Z] -rw-rw-r-- 1 jenkins jenkins 9708 Mar 13 23:34 Attribution.txt [2024-03-13T23:36:29.952Z] -rw-rw-r-- 1 jenkins jenkins 15941 Mar 13 23:34 CHANGELOG.md [2024-03-13T23:36:29.952Z] -rw-rw-r-- 1 jenkins jenkins 1755 Mar 13 23:34 Dockerfile [2024-03-13T23:36:29.952Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 23:34 GOVERNANCE.md [2024-03-13T23:36:29.952Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 13 23:34 Jenkinsfile [2024-03-13T23:36:29.952Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 23:34 LICENSE [2024-03-13T23:36:29.952Z] -rw-rw-r-- 1 jenkins jenkins 1953 Mar 13 23:34 Makefile [2024-03-13T23:36:29.952Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 13 23:34 OWNERS.md [2024-03-13T23:36:29.952Z] -rw-rw-r-- 1 jenkins jenkins 4103 Mar 13 23:34 README.md [2024-03-13T23:36:29.952Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 23:34 VERSION [2024-03-13T23:36:29.952Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 23:34 bin [2024-03-13T23:36:29.952Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 23:34 cmd [2024-03-13T23:36:29.952Z] -rw-r--r-- 1 jenkins jenkins 43063 Mar 13 23:36 coverage.out [2024-03-13T23:36:29.952Z] -rw-rw-r-- 1 jenkins jenkins 3683 Mar 13 23:34 go.mod [2024-03-13T23:36:29.952Z] -rw-rw-r-- 1 jenkins jenkins 35612 Mar 13 23:34 go.sum [2024-03-13T23:36:29.952Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 23:34 internal [2024-03-13T23:36:29.952Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 13 23:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:36:30.446Z] + 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=9f030a69618d55e9ce97da9a090f943e8d369dab --label arch=amd64 --label version=0.0.0 . [2024-03-13T23:36:30.446Z] Sending build context to Docker daemon 31.7MB [2024-03-13T23:36:30.446Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-03-13T23:36:30.446Z] Step 2/26 : FROM ${BASE} AS builder [2024-03-13T23:36:30.446Z] ---> d3062db2189c [2024-03-13T23:36:30.446Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-13T23:36:31.014Z] ---> Running in 02d763fd0d0b [2024-03-13T23:36:31.955Z] Removing intermediate container 02d763fd0d0b [2024-03-13T23:36:31.955Z] ---> c8f5c25a8e34 [2024-03-13T23:36:31.955Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-03-13T23:36:32.897Z] ---> Running in 188bfdd32a09 [2024-03-13T23:36:33.839Z] Removing intermediate container 188bfdd32a09 [2024-03-13T23:36:33.839Z] ---> 7bf706294956 [2024-03-13T23:36:33.839Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-03-13T23:36:34.406Z] ---> Running in a09190be7282 [2024-03-13T23:36:34.973Z] Removing intermediate container a09190be7282 [2024-03-13T23:36:34.973Z] ---> 1f09f1c6e0f1 [2024-03-13T23:36:34.973Z] Step 6/26 : WORKDIR /device-virtual-go [2024-03-13T23:36:35.232Z] ---> Running in 1322d2cadb78 [2024-03-13T23:36:35.808Z] Removing intermediate container 1322d2cadb78 [2024-03-13T23:36:35.808Z] ---> e58847dd4a04 [2024-03-13T23:36:35.808Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-13T23:36:35.808Z] ---> Running in 192cfeee6584 [2024-03-13T23:36:36.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-13T23:36:36.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-13T23:36:36.635Z] OK: 268 MiB in 56 packages [2024-03-13T23:36:37.206Z] Removing intermediate container 192cfeee6584 [2024-03-13T23:36:37.206Z] ---> a396cbcb2d98 [2024-03-13T23:36:37.206Z] Step 8/26 : COPY go.mod vendor* ./ [2024-03-13T23:36:37.206Z] ---> 3dbb267f2703 [2024-03-13T23:36:37.206Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-13T23:36:37.206Z] ---> Running in e2d546dbc489 [2024-03-13T23:36:38.140Z] Removing intermediate container e2d546dbc489 [2024-03-13T23:36:38.140Z] ---> e0415bcbb57f [2024-03-13T23:36:38.140Z] Step 10/26 : COPY . . [2024-03-13T23:36:39.094Z] ---> 45d7a6c133ff [2024-03-13T23:36:39.094Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-13T23:36:39.094Z] ---> Running in fe109ee00f1b [2024-03-13T23:36:39.094Z] Removing intermediate container fe109ee00f1b [2024-03-13T23:36:39.094Z] ---> bc50b3762d18 [2024-03-13T23:36:39.094Z] Step 12/26 : RUN $MAKE [2024-03-13T23:36:39.094Z] ---> Running in 473d18c741dc [2024-03-13T23:36:39.355Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.10" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-03-13T23:37:07.452Z] Removing intermediate container 473d18c741dc [2024-03-13T23:37:07.452Z] ---> fe668b2d85e5 [2024-03-13T23:37:07.452Z] Step 13/26 : FROM alpine:3.18 [2024-03-13T23:37:07.452Z] 3.18: Pulling from library/alpine [2024-03-13T23:37:07.452Z] 619be1103602: Pulling fs layer [2024-03-13T23:37:07.452Z] 619be1103602: Verifying Checksum [2024-03-13T23:37:07.452Z] 619be1103602: Download complete [2024-03-13T23:37:07.452Z] 619be1103602: Pull complete [2024-03-13T23:37:07.452Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-13T23:37:07.452Z] Status: Downloaded newer image for alpine:3.18 [2024-03-13T23:37:07.452Z] ---> d3782b16ccc9 [2024-03-13T23:37:07.452Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-03-13T23:37:07.452Z] ---> Running in 6ea4b461c469 [2024-03-13T23:37:07.452Z] Removing intermediate container 6ea4b461c469 [2024-03-13T23:37:07.452Z] ---> 533fc98af011 [2024-03-13T23:37:07.452Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-03-13T23:37:07.452Z] ---> Running in af6be1be4936 [2024-03-13T23:37:07.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-13T23:37:07.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-13T23:37:07.452Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-13T23:37:07.452Z] Executing busybox-1.36.1-r5.trigger [2024-03-13T23:37:07.452Z] OK: 7 MiB in 16 packages [2024-03-13T23:37:07.452Z] Removing intermediate container af6be1be4936 [2024-03-13T23:37:07.452Z] ---> f7e415b017a2 [2024-03-13T23:37:07.452Z] Step 16/26 : RUN apk --no-cache upgrade [2024-03-13T23:37:07.452Z] ---> Running in 7ef712411e66 [2024-03-13T23:37:07.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-13T23:37:11.000Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-13T23:37:11.000Z] OK: 7 MiB in 16 packages [2024-03-13T23:37:11.000Z] Removing intermediate container 7ef712411e66 [2024-03-13T23:37:11.000Z] ---> a95a628022b7 [2024-03-13T23:37:11.000Z] Step 17/26 : WORKDIR / [2024-03-13T23:37:11.000Z] ---> Running in c8b6ebc71565 [2024-03-13T23:37:11.000Z] Removing intermediate container c8b6ebc71565 [2024-03-13T23:37:11.000Z] ---> f6b7c3a25f44 [2024-03-13T23:37:11.000Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-03-13T23:37:11.000Z] ---> 0ca79727b6f8 [2024-03-13T23:37:11.000Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-03-13T23:37:11.000Z] ---> 3d6099bd29a5 [2024-03-13T23:37:11.000Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-03-13T23:37:11.000Z] ---> f2c88e877e11 [2024-03-13T23:37:11.000Z] Step 21/26 : EXPOSE 59900 [2024-03-13T23:37:11.000Z] ---> Running in c848f09e4c4c [2024-03-13T23:37:11.000Z] Removing intermediate container c848f09e4c4c [2024-03-13T23:37:11.000Z] ---> 40a1acd91ecf [2024-03-13T23:37:11.000Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-03-13T23:37:11.000Z] ---> Running in 7359c6d1115e [2024-03-13T23:37:11.000Z] Removing intermediate container 7359c6d1115e [2024-03-13T23:37:11.000Z] ---> 12985011f62a [2024-03-13T23:37:11.000Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-13T23:37:11.000Z] ---> Running in b7866f9e60d1 [2024-03-13T23:37:11.000Z] Removing intermediate container b7866f9e60d1 [2024-03-13T23:37:11.000Z] ---> cd3f4a154800 [2024-03-13T23:37:11.000Z] Step 24/26 : LABEL arch=amd64 [2024-03-13T23:37:11.000Z] ---> Running in 0ca7f2a9f058 [2024-03-13T23:37:11.000Z] Removing intermediate container 0ca7f2a9f058 [2024-03-13T23:37:11.000Z] ---> 27b65840086c [2024-03-13T23:37:11.000Z] Step 25/26 : LABEL git_sha=9f030a69618d55e9ce97da9a090f943e8d369dab [2024-03-13T23:37:11.000Z] ---> Running in f2c0fdec1c0b [2024-03-13T23:37:11.000Z] Removing intermediate container f2c0fdec1c0b [2024-03-13T23:37:11.000Z] ---> a2a6cf5baaae [2024-03-13T23:37:11.000Z] Step 26/26 : LABEL version=0.0.0 [2024-03-13T23:37:11.000Z] ---> Running in f81107793e18 [2024-03-13T23:37:11.000Z] Removing intermediate container f81107793e18 [2024-03-13T23:37:11.000Z] ---> de845ed9afcb [2024-03-13T23:37:11.000Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-13T23:37:11.000Z] Successfully built de845ed9afcb [2024-03-13T23:37:11.000Z] 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 [2024-03-13T23:37:31.800Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-13T23:37:31.800Z] [2024-03-13T23:37:31.800Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:37:32.221Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-13T23:37:32.221Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-13T23:37:32.221Z] 5eb5b503b376: Pulling fs layer [2024-03-13T23:37:32.221Z] 5c69ac0246d0: Pulling fs layer [2024-03-13T23:37:32.221Z] ec43610c2a17: Pulling fs layer [2024-03-13T23:37:32.221Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-13T23:37:32.221Z] 33b1e0a273af: Pulling fs layer [2024-03-13T23:37:32.221Z] 5d3b04190fa2: Pulling fs layer [2024-03-13T23:37:32.221Z] 2f39f015ded8: Pulling fs layer [2024-03-13T23:37:32.221Z] 3a2ae6a8a46f: Waiting [2024-03-13T23:37:32.221Z] 33b1e0a273af: Waiting [2024-03-13T23:37:32.221Z] 5d3b04190fa2: Waiting [2024-03-13T23:37:32.221Z] 2f39f015ded8: Waiting [2024-03-13T23:37:32.478Z] 5c69ac0246d0: Verifying Checksum [2024-03-13T23:37:32.478Z] 5c69ac0246d0: Download complete [2024-03-13T23:37:32.478Z] 3a2ae6a8a46f: Verifying Checksum [2024-03-13T23:37:32.478Z] 3a2ae6a8a46f: Download complete [2024-03-13T23:37:32.478Z] 33b1e0a273af: Verifying Checksum [2024-03-13T23:37:32.478Z] 33b1e0a273af: Download complete [2024-03-13T23:37:32.478Z] 5d3b04190fa2: Verifying Checksum [2024-03-13T23:37:32.478Z] 5d3b04190fa2: Download complete [2024-03-13T23:37:32.478Z] ec43610c2a17: Verifying Checksum [2024-03-13T23:37:32.478Z] ec43610c2a17: Download complete [2024-03-13T23:37:32.737Z] 5eb5b503b376: Verifying Checksum [2024-03-13T23:37:32.737Z] 5eb5b503b376: Download complete [2024-03-13T23:37:33.668Z] 2f39f015ded8: Download complete [2024-03-13T23:37:33.668Z] 5eb5b503b376: Pull complete [2024-03-13T23:37:33.925Z] 5c69ac0246d0: Pull complete [2024-03-13T23:37:34.183Z] ec43610c2a17: Pull complete [2024-03-13T23:37:34.183Z] 3a2ae6a8a46f: Pull complete [2024-03-13T23:37:34.750Z] 33b1e0a273af: Pull complete [2024-03-13T23:37:34.750Z] 5d3b04190fa2: Pull complete [2024-03-13T23:37:38.941Z] 2f39f015ded8: Pull complete [2024-03-13T23:37:38.941Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-13T23:37:38.941Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-13T23:37:38.941Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:37:39.328Z] prd-ubuntu20.04-docker-8c-8g-5570 does not seem to be running inside a container [2024-03-13T23:37:39.364Z] $ 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-464 -v /w/workspace/foundry_device-virtual-go_PR-464:/w/workspace/foundry_device-virtual-go_PR-464:rw,z -v /w/workspace/foundry_device-virtual-go_PR-464@tmp:/w/workspace/foundry_device-virtual-go_PR-464@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 [2024-03-13T23:37:40.007Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5584 in /w/workspace/foundry_device-virtual-go_PR-464 [2024-03-13T23:37:44.381Z] $ docker top 15a4a418d28c2ed901fbc64c23158363b9b7ab6d35a437f251f8169a00c1ecd1 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2024-03-13T23:37:44.702Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2024-03-13T23:37:44.810Z] The recommended git tool is: git [2024-03-13T23:37:44.932Z] ---> job-cost.sh [2024-03-13T23:37:44.933Z] lf-activate-venv: SKIPPING [2024-03-13T23:37:44.933Z] INFO: No Stack... [2024-03-13T23:37:45.194Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-13T23:37:45.452Z] INFO: Archiving Costs [Pipeline] sh [2024-03-13T23:37:45.775Z] + cat /w/workspace/foundry_device-virtual-go_PR-464/archives/cost.csv [2024-03-13T23:37:45.775Z] + cut -d, -f6 [Pipeline] lock [2024-03-13T23:37:45.826Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-464-1-stack-cost] [2024-03-13T23:37:45.831Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-464-1-stack-cost] did not exist. Created. [2024-03-13T23:37:45.836Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-464-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-13T23:37:46.299Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-13T23:37:46.355Z] Stashed 1 file(s) [Pipeline] } [2024-03-13T23:37:46.429Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-464-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-13T23:37:46.610Z] $ docker stop --time=1 15a4a418d28c2ed901fbc64c23158363b9b7ab6d35a437f251f8169a00c1ecd1 [2024-03-13T23:37:48.759Z] $ docker rm -f --volumes 15a4a418d28c2ed901fbc64c23158363b9b7ab6d35a437f251f8169a00c1ecd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-03-13T23:37:51.561Z] using credential edgex-jenkins-ssh [2024-03-13T23:37:51.584Z] Cloning the remote Git repository [2024-03-13T23:37:51.638Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2024-03-13T23:37:51.748Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2024-03-13T23:37:51.919Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-03-13T23:37:51.921Z] > git --version # timeout=10 [2024-03-13T23:37:51.945Z] > git --version # 'git version 2.25.1' [2024-03-13T23:37:51.949Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-13T23:37:52.131Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-13T23:37:55.553Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-03-13T23:37:55.589Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-13T23:37:57.288Z] Merging remotes/origin/main commit 924acc26038ae5c566a4069cec42ce4481862670 into PR head commit 9f030a69618d55e9ce97da9a090f943e8d369dab [2024-03-13T23:37:57.622Z] Merge succeeded, producing 9f030a69618d55e9ce97da9a090f943e8d369dab [2024-03-13T23:37:57.622Z] Checking out Revision 9f030a69618d55e9ce97da9a090f943e8d369dab (PR-464) [2024-03-13T23:37:56.709Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-03-13T23:37:56.758Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-03-13T23:37:56.759Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-13T23:37:56.779Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-03-13T23:37:57.311Z] > git config core.sparsecheckout # timeout=10 [2024-03-13T23:37:57.397Z] > git checkout -f 9f030a69618d55e9ce97da9a090f943e8d369dab # timeout=10 [2024-03-13T23:37:57.510Z] > git remote # timeout=10 [2024-03-13T23:37:57.531Z] > git config --get remote.origin.url # timeout=10 [2024-03-13T23:37:57.560Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-13T23:37:57.575Z] > git merge 924acc26038ae5c566a4069cec42ce4481862670 # timeout=10 [2024-03-13T23:37:57.602Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-03-13T23:37:57.628Z] > git config core.sparsecheckout # timeout=10 [2024-03-13T23:37:57.642Z] > git checkout -f 9f030a69618d55e9ce97da9a090f943e8d369dab # timeout=10 [2024-03-13T23:37:58.265Z] Commit message: "build(deps): Bump google.golang.org/protobuf from 1.32.0 to 1.33.0" [2024-03-13T23:37:58.327Z] > git --version # timeout=10 [2024-03-13T23:37:58.339Z] > git --version # 'git version 2.25.1' [2024-03-13T23:37:58.352Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-13T23:37:59.715Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-13T23:37:59.715Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-13T23:37:59.715Z] Dload Upload Total Spent Left Speed [2024-03-13T23:37:59.715Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 189k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh [2024-03-13T23:38:00.096Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-03-13T23:38:00.481Z] + sudo tee /etc/docker/daemon.new [2024-03-13T23:38:00.481Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-03-13T23:38:00.481Z] { [2024-03-13T23:38:00.481Z] "registry-mirrors": [ [2024-03-13T23:38:00.481Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-13T23:38:00.481Z] ], [2024-03-13T23:38:00.481Z] "bip": "10.250.0.254/24", [2024-03-13T23:38:00.481Z] "hosts": [ [2024-03-13T23:38:00.481Z] "tcp://0.0.0.0:5555", [2024-03-13T23:38:00.481Z] "unix:///var/run/docker.sock" [2024-03-13T23:38:00.481Z] ], [2024-03-13T23:38:00.481Z] "mtu": 1458, [2024-03-13T23:38:00.481Z] "selinux-enabled": true, [2024-03-13T23:38:00.481Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-13T23:38:00.481Z] } [Pipeline] sh [2024-03-13T23:38:00.851Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-13T23:38:01.222Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-13T23:38:19.691Z] provisioning config files... [2024-03-13T23:38:19.727Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config1175086775655362488tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:38:20.344Z] ---> ****-login.sh [2024-03-13T23:38:20.344Z] nexus3.edgexfoundry.org:10001 [2024-03-13T23:38:20.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:38:21.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:38:21.229Z] Configure a credential helper to remove this warning. See [2024-03-13T23:38:21.229Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:38:21.229Z] [2024-03-13T23:38:21.229Z] Login Succeeded [2024-03-13T23:38:21.229Z] nexus3.edgexfoundry.org:10002 [2024-03-13T23:38:21.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:38:21.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:38:21.789Z] Configure a credential helper to remove this warning. See [2024-03-13T23:38:21.789Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:38:21.789Z] [2024-03-13T23:38:21.789Z] Login Succeeded [2024-03-13T23:38:21.789Z] nexus3.edgexfoundry.org:10003 [2024-03-13T23:38:22.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:38:22.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:38:22.080Z] Configure a credential helper to remove this warning. See [2024-03-13T23:38:22.080Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:38:22.080Z] [2024-03-13T23:38:22.080Z] Login Succeeded [2024-03-13T23:38:22.080Z] nexus3.edgexfoundry.org:10004 [2024-03-13T23:38:22.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:38:22.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:38:22.683Z] Configure a credential helper to remove this warning. See [2024-03-13T23:38:22.683Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:38:22.683Z] [2024-03-13T23:38:22.683Z] Login Succeeded [2024-03-13T23:38:22.683Z] ****.io [2024-03-13T23:38:22.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:38:23.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:38:23.246Z] Configure a credential helper to remove this warning. See [2024-03-13T23:38:23.246Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:38:23.246Z] [2024-03-13T23:38:23.246Z] Login Succeeded [2024-03-13T23:38:23.246Z] ---> ****-login.sh ends [Pipeline] } [2024-03-13T23:38:23.284Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-13T23:38:23.954Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-13T23:38:24.046Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-13T23:38:24.117Z] ========================================================= [2024-03-13T23:38:24.117Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-13T23:38:24.117Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:38:24.759Z] + 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 . [2024-03-13T23:38:25.359Z] Sending build context to Docker daemon 15.97MB [2024-03-13T23:38:25.359Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-13T23:38:25.359Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-13T23:38:25.637Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-13T23:38:25.637Z] 9fda8d8052c6: Pulling fs layer [2024-03-13T23:38:25.637Z] 5d54e960e981: Pulling fs layer [2024-03-13T23:38:25.637Z] c4a7e357bf2a: Pulling fs layer [2024-03-13T23:38:25.637Z] f0e02332f6b5: Pulling fs layer [2024-03-13T23:38:25.637Z] 872ee5b61b7b: Pulling fs layer [2024-03-13T23:38:25.637Z] 0c6a40ed1a82: Pulling fs layer [2024-03-13T23:38:25.637Z] 94ae7d8d031c: Pulling fs layer [2024-03-13T23:38:25.637Z] 0c6a40ed1a82: Waiting [2024-03-13T23:38:25.637Z] 872ee5b61b7b: Waiting [2024-03-13T23:38:25.637Z] f0e02332f6b5: Waiting [2024-03-13T23:38:25.637Z] 5d54e960e981: Verifying Checksum [2024-03-13T23:38:25.637Z] 5d54e960e981: Download complete [2024-03-13T23:38:25.637Z] f0e02332f6b5: Verifying Checksum [2024-03-13T23:38:25.637Z] f0e02332f6b5: Download complete [2024-03-13T23:38:25.637Z] 872ee5b61b7b: Verifying Checksum [2024-03-13T23:38:25.637Z] 872ee5b61b7b: Download complete [2024-03-13T23:38:25.637Z] 9fda8d8052c6: Verifying Checksum [2024-03-13T23:38:25.637Z] 9fda8d8052c6: Download complete [2024-03-13T23:38:26.238Z] 94ae7d8d031c: Verifying Checksum [2024-03-13T23:38:26.238Z] 94ae7d8d031c: Download complete [2024-03-13T23:38:26.513Z] 9fda8d8052c6: Pull complete [2024-03-13T23:38:27.711Z] 5d54e960e981: Pull complete [2024-03-13T23:38:27.986Z] c4a7e357bf2a: Verifying Checksum [2024-03-13T23:38:27.986Z] c4a7e357bf2a: Download complete [2024-03-13T23:38:28.958Z] 0c6a40ed1a82: Verifying Checksum [2024-03-13T23:38:28.958Z] 0c6a40ed1a82: Download complete [2024-03-13T23:38:41.320Z] c4a7e357bf2a: Pull complete [2024-03-13T23:38:41.320Z] f0e02332f6b5: Pull complete [2024-03-13T23:38:41.589Z] 872ee5b61b7b: Pull complete [2024-03-13T23:38:51.747Z] 0c6a40ed1a82: Pull complete [2024-03-13T23:38:54.403Z] 94ae7d8d031c: Pull complete [2024-03-13T23:38:54.403Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-13T23:38:54.403Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-13T23:38:54.403Z] ---> 86de565de09d [2024-03-13T23:38:54.403Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-13T23:38:55.426Z] ---> Running in 93be08c26d27 [2024-03-13T23:38:55.791Z] Removing intermediate container 93be08c26d27 [2024-03-13T23:38:55.792Z] ---> 7b4f7e7dd32c [2024-03-13T23:38:55.792Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-13T23:38:56.098Z] ---> Running in e7f7e239beb1 [2024-03-13T23:38:56.431Z] Removing intermediate container e7f7e239beb1 [2024-03-13T23:38:56.431Z] ---> 9c275c9201a1 [2024-03-13T23:38:56.431Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-03-13T23:38:56.431Z] ---> Running in c8f89090a359 [2024-03-13T23:38:56.963Z] Removing intermediate container c8f89090a359 [2024-03-13T23:38:56.963Z] ---> 704f6048c918 [2024-03-13T23:38:56.963Z] Step 6/12 : WORKDIR /device-virtual-go [2024-03-13T23:38:57.255Z] ---> Running in f7f253ab3564 [2024-03-13T23:38:57.563Z] Removing intermediate container f7f253ab3564 [2024-03-13T23:38:57.563Z] ---> 9d2655654955 [2024-03-13T23:38:57.563Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-13T23:38:57.861Z] ---> Running in a010f563d09d [2024-03-13T23:38:59.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-13T23:38:59.934Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-13T23:39:01.911Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-13T23:39:01.911Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-13T23:39:01.911Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-13T23:39:01.911Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-13T23:39:01.911Z] Executing busybox-1.36.1-r5.trigger [2024-03-13T23:39:02.189Z] OK: 271 MiB in 56 packages [2024-03-13T23:39:03.646Z] Removing intermediate container a010f563d09d [2024-03-13T23:39:03.646Z] ---> 41bd41f14263 [2024-03-13T23:39:03.646Z] Step 8/12 : COPY go.mod vendor* ./ [2024-03-13T23:39:04.630Z] ---> 9a890e57d8be [2024-03-13T23:39:04.630Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-13T23:39:04.630Z] ---> Running in ce7fd3dbd49b [2024-03-13T23:40:26.694Z] Removing intermediate container ce7fd3dbd49b [2024-03-13T23:40:26.694Z] ---> 35a20f895a0e [2024-03-13T23:40:26.694Z] Step 10/12 : COPY . . [2024-03-13T23:40:26.694Z] ---> 000c56a7fec4 [2024-03-13T23:40:26.694Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-13T23:40:26.694Z] ---> Running in ac680ebab7e6 [2024-03-13T23:40:26.694Z] Removing intermediate container ac680ebab7e6 [2024-03-13T23:40:26.694Z] ---> 43b3b690636b [2024-03-13T23:40:26.694Z] Step 12/12 : RUN $MAKE [2024-03-13T23:40:26.694Z] ---> Running in a2d99908464e [2024-03-13T23:40:26.694Z] noop [2024-03-13T23:40:26.694Z] Removing intermediate container a2d99908464e [2024-03-13T23:40:26.694Z] ---> 68c02bd95b0c [2024-03-13T23:40:26.694Z] Successfully built 68c02bd95b0c [2024-03-13T23:40:26.694Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:40:27.362Z] + docker inspect -f . ci-base-image-arm64 [2024-03-13T23:40:27.362Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:40:27.749Z] prd-ubuntu20.04-docker-arm64-4c-16g-5584 does not seem to be running inside a container [2024-03-13T23:40:27.851Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-03-13T23:40:29.286Z] $ docker top 4ec1edbfc4a7893bc208363ff8e728df9c4b02bfccc0d4ed52188cb86df5c620 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-13T23:40:30.317Z] + go version [2024-03-13T23:40:30.317Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-13T23:40:30.355Z] $ docker stop --time=1 4ec1edbfc4a7893bc208363ff8e728df9c4b02bfccc0d4ed52188cb86df5c620 [2024-03-13T23:40:32.094Z] $ docker rm -f --volumes 4ec1edbfc4a7893bc208363ff8e728df9c4b02bfccc0d4ed52188cb86df5c620 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:40:33.403Z] + docker inspect -f . ci-base-image-arm64 [2024-03-13T23:40:33.403Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:40:33.804Z] prd-ubuntu20.04-docker-arm64-4c-16g-5584 does not seem to be running inside a container [2024-03-13T23:40:33.896Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-03-13T23:40:35.350Z] $ docker top b6ca215b42857451bbb3f6763afe6c2f34166d68b21ef42f61fa99b0482b3b29 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-13T23:40:36.413Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2024-03-13T23:40:37.210Z] + make test [2024-03-13T23:40:37.210Z] go test ./... -coverprofile=coverage.out [2024-03-13T23:40:41.500Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-03-13T23:43:16.022Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-03-13T23:43:16.022Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.107s coverage: 58.4% of statements [2024-03-13T23:43:16.022Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-13T23:43:16.022Z] go vet ./... [2024-03-13T23:43:48.388Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-13T23:43:48.388Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-13T23:43:48.388Z] ./bin/test-attribution-txt.sh [2024-03-13T23:43:48.388Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-13T23:43:48.431Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-13T23:43:48.510Z] $ docker stop --time=1 b6ca215b42857451bbb3f6763afe6c2f34166d68b21ef42f61fa99b0482b3b29 [2024-03-13T23:43:50.669Z] $ docker rm -f --volumes b6ca215b42857451bbb3f6763afe6c2f34166d68b21ef42f61fa99b0482b3b29 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-13T23:43:52.319Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-13T23:43:52.353Z] Warning: overwriting stash ‘coverage-report’ [2024-03-13T23:43:52.964Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-13T23:43:53.826Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-13T23:43:54.182Z] + ls -al . [2024-03-13T23:43:54.182Z] total 196 [2024-03-13T23:43:54.182Z] drwxrwxr-x 7 jenkins jenkins 4096 Mar 13 23:40 . [2024-03-13T23:43:54.182Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 23:37 .. [2024-03-13T23:43:54.182Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 23:37 .git [2024-03-13T23:43:54.182Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 23:37 .github [2024-03-13T23:43:54.182Z] -rw-rw-r-- 1 jenkins jenkins 272 Mar 13 23:37 .gitignore [2024-03-13T23:43:54.182Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 23:37 .golangci.yml [2024-03-13T23:43:54.182Z] -rw-rw-r-- 1 jenkins jenkins 9708 Mar 13 23:37 Attribution.txt [2024-03-13T23:43:54.182Z] -rw-rw-r-- 1 jenkins jenkins 15941 Mar 13 23:37 CHANGELOG.md [2024-03-13T23:43:54.182Z] -rw-rw-r-- 1 jenkins jenkins 1755 Mar 13 23:37 Dockerfile [2024-03-13T23:43:54.182Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 23:37 GOVERNANCE.md [2024-03-13T23:43:54.182Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 13 23:37 Jenkinsfile [2024-03-13T23:43:54.182Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 23:37 LICENSE [2024-03-13T23:43:54.182Z] -rw-rw-r-- 1 jenkins jenkins 1953 Mar 13 23:37 Makefile [2024-03-13T23:43:54.182Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 13 23:37 OWNERS.md [2024-03-13T23:43:54.182Z] -rw-rw-r-- 1 jenkins jenkins 4103 Mar 13 23:37 README.md [2024-03-13T23:43:54.182Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 23:34 VERSION [2024-03-13T23:43:54.182Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 23:37 bin [2024-03-13T23:43:54.182Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 23:37 cmd [2024-03-13T23:43:54.182Z] -rw-r--r-- 1 jenkins jenkins 43063 Mar 13 23:43 coverage.out [2024-03-13T23:43:54.182Z] -rw-rw-r-- 1 jenkins jenkins 3683 Mar 13 23:37 go.mod [2024-03-13T23:43:54.182Z] -rw-rw-r-- 1 jenkins jenkins 35612 Mar 13 23:37 go.sum [2024-03-13T23:43:54.182Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 23:37 internal [2024-03-13T23:43:54.182Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 13 23:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:43:54.724Z] + 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=9f030a69618d55e9ce97da9a090f943e8d369dab --label arch=arm64 --label version=0.0.0 . [2024-03-13T23:43:55.315Z] Sending build context to Docker daemon 16.02MB [2024-03-13T23:43:55.315Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-03-13T23:43:55.315Z] Step 2/26 : FROM ${BASE} AS builder [2024-03-13T23:43:55.315Z] ---> 68c02bd95b0c [2024-03-13T23:43:55.315Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-13T23:43:55.586Z] ---> Running in 8956d424cfac [2024-03-13T23:43:55.854Z] Removing intermediate container 8956d424cfac [2024-03-13T23:43:55.854Z] ---> 6cf65660fe78 [2024-03-13T23:43:55.854Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-03-13T23:43:55.854Z] ---> Running in 5b5d6db34bb1 [2024-03-13T23:43:56.447Z] Removing intermediate container 5b5d6db34bb1 [2024-03-13T23:43:56.447Z] ---> 605ec45b9aad [2024-03-13T23:43:56.447Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-03-13T23:43:56.447Z] ---> Running in 985eb08e7487 [2024-03-13T23:43:56.719Z] Removing intermediate container 985eb08e7487 [2024-03-13T23:43:56.719Z] ---> d73669b317ab [2024-03-13T23:43:56.719Z] Step 6/26 : WORKDIR /device-virtual-go [2024-03-13T23:43:57.003Z] ---> Running in 20ea1f85f79a [2024-03-13T23:43:57.274Z] Removing intermediate container 20ea1f85f79a [2024-03-13T23:43:57.274Z] ---> fa619faad667 [2024-03-13T23:43:57.274Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-13T23:43:57.543Z] ---> Running in d5acbec44feb [2024-03-13T23:43:58.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-13T23:43:59.115Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-13T23:44:00.536Z] OK: 271 MiB in 56 packages [2024-03-13T23:44:01.507Z] Removing intermediate container d5acbec44feb [2024-03-13T23:44:01.507Z] ---> 113a7bae1a09 [2024-03-13T23:44:01.507Z] Step 8/26 : COPY go.mod vendor* ./ [2024-03-13T23:44:02.482Z] ---> eddce503f6d3 [2024-03-13T23:44:02.482Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-13T23:44:02.482Z] ---> Running in eecb0c8cc507 [2024-03-13T23:44:05.081Z] Removing intermediate container eecb0c8cc507 [2024-03-13T23:44:05.081Z] ---> 1d539bb1157e [2024-03-13T23:44:05.081Z] Step 10/26 : COPY . . [2024-03-13T23:44:06.516Z] ---> 4e91c99144b7 [2024-03-13T23:44:06.516Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-13T23:44:06.516Z] ---> Running in ba8552410d51 [2024-03-13T23:44:06.516Z] Removing intermediate container ba8552410d51 [2024-03-13T23:44:06.516Z] ---> 28e33e4291fe [2024-03-13T23:44:06.516Z] Step 12/26 : RUN $MAKE [2024-03-13T23:44:06.788Z] ---> Running in aafda82053d0 [2024-03-13T23:44:07.752Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.10" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-03-13T23:46:45.826Z] Removing intermediate container aafda82053d0 [2024-03-13T23:46:45.826Z] ---> 1d7b2ae7b1e8 [2024-03-13T23:46:45.826Z] Step 13/26 : FROM alpine:3.18 [2024-03-13T23:46:45.826Z] 3.18: Pulling from library/alpine [2024-03-13T23:46:45.826Z] c6b39de5b339: Pulling fs layer [2024-03-13T23:46:45.826Z] c6b39de5b339: Verifying Checksum [2024-03-13T23:46:45.826Z] c6b39de5b339: Download complete [2024-03-13T23:46:45.826Z] c6b39de5b339: Pull complete [2024-03-13T23:46:45.826Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-13T23:46:45.826Z] Status: Downloaded newer image for alpine:3.18 [2024-03-13T23:46:45.826Z] ---> 33abbf032149 [2024-03-13T23:46:45.826Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-03-13T23:46:45.826Z] ---> Running in 1f03063ae050 [2024-03-13T23:46:45.826Z] Removing intermediate container 1f03063ae050 [2024-03-13T23:46:45.826Z] ---> 1e289032e439 [2024-03-13T23:46:45.826Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-03-13T23:46:45.826Z] ---> Running in f827152a4f27 [2024-03-13T23:46:45.826Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-13T23:46:45.826Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-13T23:46:45.826Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-13T23:46:45.826Z] Executing busybox-1.36.1-r5.trigger [2024-03-13T23:46:45.826Z] OK: 8 MiB in 16 packages [2024-03-13T23:46:45.826Z] Removing intermediate container f827152a4f27 [2024-03-13T23:46:45.826Z] ---> 0aa380056a9c [2024-03-13T23:46:45.826Z] Step 16/26 : RUN apk --no-cache upgrade [2024-03-13T23:46:45.826Z] ---> Running in 1bdc7bbb9ef7 [2024-03-13T23:46:45.826Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-13T23:46:45.826Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-13T23:46:45.826Z] OK: 8 MiB in 16 packages [2024-03-13T23:46:45.826Z] Removing intermediate container 1bdc7bbb9ef7 [2024-03-13T23:46:45.826Z] ---> 5f5181764761 [2024-03-13T23:46:45.826Z] Step 17/26 : WORKDIR / [2024-03-13T23:46:45.826Z] ---> Running in c0df9f14e27a [2024-03-13T23:46:45.826Z] Removing intermediate container c0df9f14e27a [2024-03-13T23:46:45.826Z] ---> 7131b7389fb4 [2024-03-13T23:46:45.826Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-03-13T23:46:45.826Z] ---> b7390ecf5e7a [2024-03-13T23:46:45.826Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-03-13T23:46:45.826Z] ---> 59fccbf7d250 [2024-03-13T23:46:45.826Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-03-13T23:46:45.826Z] ---> 031094f9f750 [2024-03-13T23:46:45.826Z] Step 21/26 : EXPOSE 59900 [2024-03-13T23:46:45.826Z] ---> Running in 6a3dfc3d7854 [2024-03-13T23:46:45.826Z] Removing intermediate container 6a3dfc3d7854 [2024-03-13T23:46:45.826Z] ---> 285ab4550bfa [2024-03-13T23:46:45.826Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-03-13T23:46:45.826Z] ---> Running in 1674200e04bb [2024-03-13T23:46:45.826Z] Removing intermediate container 1674200e04bb [2024-03-13T23:46:45.826Z] ---> c755cd73325d [2024-03-13T23:46:45.826Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-13T23:46:45.826Z] ---> Running in b38f19f3de3d [2024-03-13T23:46:45.826Z] Removing intermediate container b38f19f3de3d [2024-03-13T23:46:45.826Z] ---> 1fb3bdb0fc30 [2024-03-13T23:46:45.826Z] Step 24/26 : LABEL arch=arm64 [2024-03-13T23:46:45.826Z] ---> Running in 619772332fc8 [2024-03-13T23:46:45.826Z] Removing intermediate container 619772332fc8 [2024-03-13T23:46:45.826Z] ---> 6eb68176f0d7 [2024-03-13T23:46:45.826Z] Step 25/26 : LABEL git_sha=9f030a69618d55e9ce97da9a090f943e8d369dab [2024-03-13T23:46:45.826Z] ---> Running in 0dcda70bb666 [2024-03-13T23:46:45.826Z] Removing intermediate container 0dcda70bb666 [2024-03-13T23:46:45.826Z] ---> c4a2ba36f8af [2024-03-13T23:46:45.826Z] Step 26/26 : LABEL version=0.0.0 [2024-03-13T23:46:45.826Z] ---> Running in b191d9da8b63 [2024-03-13T23:46:46.095Z] Removing intermediate container b191d9da8b63 [2024-03-13T23:46:46.095Z] ---> f5ffe35c8559 [2024-03-13T23:46:46.095Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-13T23:46:46.095Z] Successfully built f5ffe35c8559 [2024-03-13T23:46:46.095Z] 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 [2024-03-13T23:46:47.535Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-13T23:46:47.535Z] [2024-03-13T23:46:47.535Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:46:48.013Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-13T23:46:48.014Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-13T23:46:48.014Z] 8998bd30e6a1: Pulling fs layer [2024-03-13T23:46:48.014Z] 04944245beec: Pulling fs layer [2024-03-13T23:46:48.014Z] 699f458cf7ca: Pulling fs layer [2024-03-13T23:46:48.014Z] 765212b225bb: Pulling fs layer [2024-03-13T23:46:48.014Z] f23df028b6ca: Pulling fs layer [2024-03-13T23:46:48.014Z] d65c8cfc05b1: Pulling fs layer [2024-03-13T23:46:48.014Z] 2437ff75d9bd: Pulling fs layer [2024-03-13T23:46:48.014Z] 765212b225bb: Waiting [2024-03-13T23:46:48.014Z] f23df028b6ca: Waiting [2024-03-13T23:46:48.014Z] d65c8cfc05b1: Waiting [2024-03-13T23:46:48.014Z] 2437ff75d9bd: Waiting [2024-03-13T23:46:48.289Z] 04944245beec: Verifying Checksum [2024-03-13T23:46:48.289Z] 04944245beec: Download complete [2024-03-13T23:46:48.289Z] 765212b225bb: Verifying Checksum [2024-03-13T23:46:48.289Z] 765212b225bb: Download complete [2024-03-13T23:46:48.289Z] f23df028b6ca: Verifying Checksum [2024-03-13T23:46:48.289Z] f23df028b6ca: Download complete [2024-03-13T23:46:48.289Z] d65c8cfc05b1: Verifying Checksum [2024-03-13T23:46:48.289Z] d65c8cfc05b1: Download complete [2024-03-13T23:46:48.562Z] 699f458cf7ca: Verifying Checksum [2024-03-13T23:46:48.562Z] 699f458cf7ca: Download complete [2024-03-13T23:46:48.833Z] 8998bd30e6a1: Download complete [2024-03-13T23:46:54.341Z] 8998bd30e6a1: Pull complete [2024-03-13T23:46:54.341Z] 04944245beec: Pull complete [2024-03-13T23:46:55.314Z] 699f458cf7ca: Pull complete [2024-03-13T23:46:55.584Z] 765212b225bb: Pull complete [2024-03-13T23:46:55.854Z] 2437ff75d9bd: Verifying Checksum [2024-03-13T23:46:55.854Z] 2437ff75d9bd: Download complete [2024-03-13T23:46:56.441Z] f23df028b6ca: Pull complete [2024-03-13T23:46:56.710Z] d65c8cfc05b1: Pull complete [2024-03-13T23:47:15.412Z] 2437ff75d9bd: Pull complete [2024-03-13T23:47:15.412Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-13T23:47:15.412Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-13T23:47:15.412Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:47:15.908Z] prd-ubuntu20.04-docker-arm64-4c-16g-5584 does not seem to be running inside a container [2024-03-13T23:47:15.982Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-03-13T23:47:19.162Z] $ docker top e404e6eaf146aa85b9ab8738e94d5b811d16519029f60df0a7d741deb9b44994 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:47:20.187Z] ---> job-cost.sh [2024-03-13T23:47:20.187Z] lf-activate-venv: SKIPPING [2024-03-13T23:47:20.187Z] INFO: No Stack... [2024-03-13T23:47:20.772Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-13T23:47:21.371Z] INFO: Archiving Costs [Pipeline] sh [2024-03-13T23:47:22.069Z] + + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2024-03-13T23:47:22.070Z] cut -d, -f6 [Pipeline] lock [2024-03-13T23:47:22.141Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-464-1-stack-cost] [2024-03-13T23:47:22.146Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-464-1-stack-cost] did not exist. Created. [2024-03-13T23:47:22.152Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-464-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-13T23:47:23.008Z] /w/workspace/device-virtual-go/1@tmp/durable-7b260955/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-13T23:47:23.719Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-13T23:47:23.760Z] Warning: overwriting stash ‘stack-cost’ [2024-03-13T23:47:23.833Z] Stashed 1 file(s) [Pipeline] } [2024-03-13T23:47:23.863Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-464-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-13T23:47:24.070Z] $ docker stop --time=1 e404e6eaf146aa85b9ab8738e94d5b811d16519029f60df0a7d741deb9b44994 [2024-03-13T23:47:25.761Z] $ docker rm -f --volumes e404e6eaf146aa85b9ab8738e94d5b811d16519029f60df0a7d741deb9b44994 [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 [2024-03-13T23:47:28.203Z] provisioning config files... [2024-03-13T23:47:28.214Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-464@tmp/config15599608591660229405tmp [Pipeline] { [Pipeline] sh [2024-03-13T23:47:28.666Z] + set +x [2024-03-13T23:47:28.666Z] + curl -s https://codecov.io/bash [2024-03-13T23:47:28.666Z] + bash -s -- [2024-03-13T23:47:28.666Z] [2024-03-13T23:47:28.666Z] _____ _ [2024-03-13T23:47:28.666Z] / ____| | | [2024-03-13T23:47:28.666Z] | | ___ __| | ___ ___ _____ __ [2024-03-13T23:47:28.666Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-13T23:47:28.666Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-13T23:47:28.666Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-13T23:47:28.666Z] Bash-1.0.6 [2024-03-13T23:47:28.666Z] [2024-03-13T23:47:28.666Z] [2024-03-13T23:47:28.666Z] ==> git version 2.25.1 found [2024-03-13T23:47:28.666Z] ==> 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 [2024-03-13T23:47:28.666Z] Release-Date: 2020-01-08 [2024-03-13T23:47:28.666Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-03-13T23:47:28.666Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-13T23:47:28.666Z] ==> Jenkins CI detected. [2024-03-13T23:47:28.666Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-464 [2024-03-13T23:47:28.666Z] project root: . [2024-03-13T23:47:28.666Z] --> token set from env [2024-03-13T23:47:28.666Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-13T23:47:28.666Z] ==> Running gcov in . (disable via -X gcov) [2024-03-13T23:47:28.928Z] ==> Python coveragepy not found [2024-03-13T23:47:28.928Z] ==> Searching for coverage reports in: [2024-03-13T23:47:28.928Z] + . [2024-03-13T23:47:28.928Z] -> Found 1 reports [2024-03-13T23:47:28.928Z] ==> Detecting git/mercurial file structure [2024-03-13T23:47:28.928Z] ==> Reading reports [2024-03-13T23:47:28.928Z] + ./coverage.out bytes=43063 [2024-03-13T23:47:28.928Z] ==> Appending adjustments [2024-03-13T23:47:28.928Z] https://docs.codecov.io/docs/fixing-reports [2024-03-13T23:47:28.928Z] + Found adjustments [2024-03-13T23:47:28.928Z] ==> Gzipping contents [2024-03-13T23:47:28.928Z] 8.0K /tmp/codecov.vHdOsf.gz [2024-03-13T23:47:28.928Z] ==> Uploading reports [2024-03-13T23:47:28.928Z] url: https://codecov.io [2024-03-13T23:47:28.928Z] query: branch=PR-464&commit=9f030a69618d55e9ce97da9a090f943e8d369dab&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-464%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=464&job=&cmd_args= [2024-03-13T23:47:28.928Z] -> Pinging Codecov [2024-03-13T23:47:28.928Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-464&commit=9f030a69618d55e9ce97da9a090f943e8d369dab&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-464%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=464&job=&cmd_args= [2024-03-13T23:47:29.191Z] -> Uploading to [2024-03-13T23:47:29.191Z] https://storage.googleapis.com/codecov/v4/raw/2024-03-13/5E52B4B073DB2E39498172D8E973AA87/9f030a69618d55e9ce97da9a090f943e8d369dab/272fb300-946e-4bcd-bda4-f7ba315aa48d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240313%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240313T234728Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=018ba88f70502d4307c5151bc00465c4c7ef0c642edceba00870edf72a3ee1e1 [2024-03-13T23:47:29.191Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-13T23:47:29.191Z] Dload Upload Total Spent Left Speed [2024-03-13T23:47:29.455Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 17723 --:--:-- --:--:-- --:--:-- 17723 [2024-03-13T23:47:29.455Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/9f030a69618d55e9ce97da9a090f943e8d369dab [Pipeline] } [2024-03-13T23:47:29.500Z] 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 [2024-03-13T23:47:33.104Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-464/archives ] [2024-03-13T23:47:33.104Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-464/archives [2024-03-13T23:47:33.104Z] total 16 [2024-03-13T23:47:33.104Z] drwxr-xr-x 3 root root 4096 Mar 13 23:37 . [2024-03-13T23:47:33.104Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 23:37 .. [2024-03-13T23:47:33.104Z] drwxr-xr-x 2 root root 4096 Mar 13 23:37 cost [2024-03-13T23:47:33.104Z] -rw-r--r-- 1 root root 89 Mar 13 23:37 cost.csv [2024-03-13T23:47:33.104Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-464/archives [2024-03-13T23:47:33.104Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-464/archives [2024-03-13T23:47:33.104Z] total 16 [2024-03-13T23:47:33.104Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 23:37 . [2024-03-13T23:47:33.104Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 23:37 .. [2024-03-13T23:47:33.104Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 23:37 cost [2024-03-13T23:47:33.104Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 13 23:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:47:33.439Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:47:34.339Z] ---> package-listing.sh [2024-03-13T23:47:34.339Z] ++ facter osfamily [2024-03-13T23:47:34.339Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-13T23:47:34.597Z] + OS_FAMILY=debian [2024-03-13T23:47:34.597Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-464 [2024-03-13T23:47:34.597Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-13T23:47:34.597Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-13T23:47:34.597Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-13T23:47:34.597Z] + PACKAGES=/tmp/packages_start.txt [2024-03-13T23:47:34.597Z] + '[' /w/workspace/foundry_device-virtual-go_PR-464 ']' [2024-03-13T23:47:34.597Z] + PACKAGES=/tmp/packages_end.txt [2024-03-13T23:47:34.597Z] + case "${OS_FAMILY}" in [2024-03-13T23:47:34.597Z] + dpkg -l [2024-03-13T23:47:34.597Z] + grep '^ii' [2024-03-13T23:47:34.597Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-13T23:47:34.597Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-13T23:47:34.597Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-13T23:47:34.597Z] + '[' /w/workspace/foundry_device-virtual-go_PR-464 ']' [2024-03-13T23:47:34.597Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-464/archives/ [2024-03-13T23:47:34.597Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-464/archives/ [Pipeline] echo [2024-03-13T23:47:34.631Z] 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-464/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-03-13T23:47:34.924Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:47:35.616Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-13T23:47:35.616Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:47:35.932Z] prd-ubuntu20.04-docker-8c-8g-5570 does not seem to be running inside a container [2024-03-13T23:47:35.986Z] $ 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-464/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-464 -v /w/workspace/foundry_device-virtual-go_PR-464:/w/workspace/foundry_device-virtual-go_PR-464:rw,z -v /w/workspace/foundry_device-virtual-go_PR-464@tmp:/w/workspace/foundry_device-virtual-go_PR-464@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-13T23:47:36.193Z] $ docker top 0abd4b258a975d66a4e465abada932bccd66789b22548db00d1ecd38774a065a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-13T23:47:36.665Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-13T23:47:36.991Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-13T23:47:37.305Z] + ls /var/log/sa-host [2024-03-13T23:47:37.305Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-13T23:47:37.560Z] provisioning config files... [2024-03-13T23:47:37.568Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-464@tmp/config9780556922479927467tmp [Pipeline] { [Pipeline] echo [2024-03-13T23:47:37.737Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:47:38.061Z] ---> create-netrc.sh [Pipeline] } [2024-03-13T23:47:38.098Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:47:38.593Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-13T23:47:38.625Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:47:38.938Z] ---> sudo-logs.sh [2024-03-13T23:47:38.938Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-13T23:47:39.087Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:47:39.415Z] ---> job-cost.sh [2024-03-13T23:47:39.415Z] lf-activate-venv: SKIPPING [2024-03-13T23:47:39.416Z] DEBUG: total: 0.2199999988079071 [2024-03-13T23:47:39.416Z] INFO: Retrieving Stack Cost... [2024-03-13T23:47:39.673Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-13T23:47:40.242Z] INFO: Archiving Costs [Pipeline] echo [2024-03-13T23:47:40.284Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:47:40.595Z] ---> logs-deploy.sh [2024-03-13T23:47:40.595Z] lf-activate-venv: SKIPPING [2024-03-13T23:47:40.595Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-464/1 [2024-03-13T23:47:40.595Z] INFO: archiving workspace using pattern(s): [2024-03-13T23:47:41.529Z] Archives upload complete. [2024-03-13T23:47:41.529Z] INFO: archiving logs to Nexus