Pull request #470 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3e8e27f2c24b954fe903df5a2e85b791fc4c9775+14494e7562879e41062c7461f1813d33e0fc95a7 (eb0cf53b650309c96c8658306a4be318fa88cf78) 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-ssh17337046891329083621.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-ssh12460093915181475662.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-470/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-470/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1554786568901493872.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-470/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10333993667874885998.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-ssh14754110651395441991.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-470/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-470/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2671100732710762300.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-282 in /w/workspace/foundry_device-virtual-go_PR-470 [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-470 # 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 Merging remotes/origin/main commit 14494e7562879e41062c7461f1813d33e0fc95a7 into PR head commit 3e8e27f2c24b954fe903df5a2e85b791fc4c9775 Merge succeeded, producing 3e8e27f2c24b954fe903df5a2e85b791fc4c9775 Checking out Revision 3e8e27f2c24b954fe903df5a2e85b791fc4c9775 (PR-470) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/470/head:refs/remotes/origin/PR-470 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e8e27f2c24b954fe903df5a2e85b791fc4c9775 # 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 14494e7562879e41062c7461f1813d33e0fc95a7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e8e27f2c24b954fe903df5a2e85b791fc4c9775 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-16T11:27:21.533Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-16T11:27:21.758Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-16T11:27:21.884Z] ========================================================= [2024-05-16T11:27:21.884Z] EdgeX Global Pipelines Version Info [2024-05-16T11:27:21.884Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-16T11:27:22.668Z] ------------------- [2024-05-16T11:27:22.668Z] stable info: [2024-05-16T11:27:22.668Z] ------------------- [2024-05-16T11:27:22.668Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-05-16T11:27:22.668Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-16T11:27:22.668Z] Message: update stable to v1.0.258 [2024-05-16T11:27:23.236Z] ------------------- [2024-05-16T11:27:23.236Z] experimental info: [2024-05-16T11:27:23.236Z] ------------------- [2024-05-16T11:27:23.236Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-05-16T11:27:23.236Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-16T11:27:23.236Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-16T11:27:45.562Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2024-05-16T11:27:45.623Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2024-05-16T11:27:45.682Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-16T11:27:45.740Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-16T11:27:45.804Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-16T11:27:45.864Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-16T11:27:45.930Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-16T11:27:45.993Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-05-16T11:27:46.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-16T11:27:46.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-16T11:27:46.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-16T11:27:46.231Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2024-05-16T11:27:46.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-16T11:27:46.352Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-16T11:27:46.416Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-16T11:27:46.479Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-05-16T11:27:46.537Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-16T11:27:46.601Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-16T11:27:46.667Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-16T11:27:46.730Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-16T11:27:46.796Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-05-16T11:27:46.865Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-05-16T11:27:46.927Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-16T11:27:46.984Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-16T11:27:47.048Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-16T11:27:47.112Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-16T11:27:47.166Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-16T11:27:47.223Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-470 [Pipeline] echo [2024-05-16T11:27:47.287Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-470 [Pipeline] echo [2024-05-16T11:27:47.352Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-470 [Pipeline] echo [2024-05-16T11:27:47.416Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3e8e27f2c24b954fe903df5a2e85b791fc4c9775 [Pipeline] echo [2024-05-16T11:27:47.485Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3e8e27f [Pipeline] echo [2024-05-16T11:27:47.541Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-16T11:27:47.700Z] provisioning config files... [2024-05-16T11:27:47.715Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-470@tmp/config9807861753867619990tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T11:27:48.115Z] ---> ****-login.sh [2024-05-16T11:27:48.115Z] nexus3.edgexfoundry.org:10001 [2024-05-16T11:27:48.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T11:27:48.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T11:27:48.379Z] Configure a credential helper to remove this warning. See [2024-05-16T11:27:48.379Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T11:27:48.379Z] [2024-05-16T11:27:48.379Z] Login Succeeded [2024-05-16T11:27:48.379Z] nexus3.edgexfoundry.org:10002 [2024-05-16T11:27:48.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T11:27:48.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T11:27:48.639Z] Configure a credential helper to remove this warning. See [2024-05-16T11:27:48.639Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T11:27:48.639Z] [2024-05-16T11:27:48.639Z] Login Succeeded [2024-05-16T11:27:48.639Z] nexus3.edgexfoundry.org:10003 [2024-05-16T11:27:48.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T11:27:48.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T11:27:48.639Z] Configure a credential helper to remove this warning. See [2024-05-16T11:27:48.639Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T11:27:48.639Z] [2024-05-16T11:27:48.639Z] Login Succeeded [2024-05-16T11:27:48.639Z] nexus3.edgexfoundry.org:10004 [2024-05-16T11:27:48.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T11:27:48.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T11:27:48.899Z] Configure a credential helper to remove this warning. See [2024-05-16T11:27:48.900Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T11:27:48.900Z] [2024-05-16T11:27:48.900Z] Login Succeeded [2024-05-16T11:27:48.900Z] ****.io [2024-05-16T11:27:48.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T11:27:49.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T11:27:49.161Z] Configure a credential helper to remove this warning. See [2024-05-16T11:27:49.161Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T11:27:49.161Z] [2024-05-16T11:27:49.161Z] Login Succeeded [2024-05-16T11:27:49.161Z] ---> ****-login.sh ends [Pipeline] } [2024-05-16T11:27:49.194Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-16T11:27:50.038Z] + git rev-list -1 --merges 3e8e27f2c24b954fe903df5a2e85b791fc4c9775~1..3e8e27f2c24b954fe903df5a2e85b791fc4c9775 [Pipeline] echo [2024-05-16T11:27:50.087Z] -----------> git rev-list -1 --merges 3e8e27f2c24b954fe903df5a2e85b791fc4c9775~1..3e8e27f2c24b954fe903df5a2e85b791fc4c9775 3e8e27f2c24b954fe903df5a2e85b791fc4c9775 [false] [Pipeline] sh [2024-05-16T11:27:50.420Z] + git log --format=format:%s -1 3e8e27f2c24b954fe903df5a2e85b791fc4c9775 [Pipeline] echo [2024-05-16T11:27:50.462Z] ========================================================= [2024-05-16T11:27:50.462Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-16T11:27:50.462Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-16T11:27:50.937Z] + git log --format=format:%s -1 3e8e27f2c24b954fe903df5a2e85b791fc4c9775 [Pipeline] echo [2024-05-16T11:27:50.975Z] [semverPrep] GIT_COMMIT: 3e8e27f2c24b954fe903df5a2e85b791fc4c9775, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-05-16T11:27:51.022Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-16T11:27:51.431Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-16T11:27:51.432Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-16T11:27:51.432Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-16T11:27:51.432Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-16T11:27:51.432Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-16T11:27:51.432Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-16T11:27:51.432Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T11:27:51.942Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-16T11:27:51.942Z] [2024-05-16T11:27:51.942Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T11:27:52.334Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-16T11:27:52.334Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-16T11:27:52.334Z] b85a868b505f: Pulling fs layer [2024-05-16T11:27:52.334Z] e2be974225ed: Pulling fs layer [2024-05-16T11:27:52.334Z] 339a4e72a1f5: Pulling fs layer [2024-05-16T11:27:52.334Z] 988bab9f4d93: Pulling fs layer [2024-05-16T11:27:52.334Z] 1469e6f7b9e6: Pulling fs layer [2024-05-16T11:27:52.334Z] eaf3925da568: Pulling fs layer [2024-05-16T11:27:52.334Z] bab4dde63d76: Pulling fs layer [2024-05-16T11:27:52.334Z] bde34c3a00c8: Pulling fs layer [2024-05-16T11:27:52.334Z] b352a97aabf1: Pulling fs layer [2024-05-16T11:27:52.334Z] 4872d77fe225: Pulling fs layer [2024-05-16T11:27:52.334Z] 5851b861e8e6: Pulling fs layer [2024-05-16T11:27:52.334Z] 1469e6f7b9e6: Waiting [2024-05-16T11:27:52.334Z] bab4dde63d76: Waiting [2024-05-16T11:27:52.334Z] eaf3925da568: Waiting [2024-05-16T11:27:52.334Z] 988bab9f4d93: Waiting [2024-05-16T11:27:52.334Z] b352a97aabf1: Waiting [2024-05-16T11:27:52.334Z] 4872d77fe225: Waiting [2024-05-16T11:27:52.334Z] 5851b861e8e6: Waiting [2024-05-16T11:27:52.334Z] bde34c3a00c8: Waiting [2024-05-16T11:27:52.334Z] e2be974225ed: Verifying Checksum [2024-05-16T11:27:52.334Z] e2be974225ed: Download complete [2024-05-16T11:27:52.334Z] 988bab9f4d93: Verifying Checksum [2024-05-16T11:27:52.334Z] 988bab9f4d93: Download complete [2024-05-16T11:27:52.594Z] 1469e6f7b9e6: Verifying Checksum [2024-05-16T11:27:52.594Z] 1469e6f7b9e6: Download complete [2024-05-16T11:27:52.594Z] eaf3925da568: Verifying Checksum [2024-05-16T11:27:52.594Z] eaf3925da568: Download complete [2024-05-16T11:27:52.594Z] 339a4e72a1f5: Verifying Checksum [2024-05-16T11:27:52.594Z] 339a4e72a1f5: Download complete [2024-05-16T11:27:52.594Z] bde34c3a00c8: Download complete [2024-05-16T11:27:52.594Z] b352a97aabf1: Verifying Checksum [2024-05-16T11:27:52.594Z] b352a97aabf1: Download complete [2024-05-16T11:27:52.594Z] 4872d77fe225: Verifying Checksum [2024-05-16T11:27:52.594Z] 4872d77fe225: Download complete [2024-05-16T11:27:52.594Z] 5851b861e8e6: Verifying Checksum [2024-05-16T11:27:52.594Z] 5851b861e8e6: Download complete [2024-05-16T11:27:52.594Z] b85a868b505f: Verifying Checksum [2024-05-16T11:27:52.594Z] b85a868b505f: Download complete [2024-05-16T11:27:52.854Z] bab4dde63d76: Verifying Checksum [2024-05-16T11:27:52.854Z] bab4dde63d76: Download complete [2024-05-16T11:27:53.793Z] b85a868b505f: Pull complete [2024-05-16T11:27:54.052Z] e2be974225ed: Pull complete [2024-05-16T11:27:54.312Z] 339a4e72a1f5: Pull complete [2024-05-16T11:27:54.570Z] 988bab9f4d93: Pull complete [2024-05-16T11:27:54.829Z] 1469e6f7b9e6: Pull complete [2024-05-16T11:27:54.829Z] eaf3925da568: Pull complete [2024-05-16T11:27:56.735Z] bab4dde63d76: Pull complete [2024-05-16T11:27:56.735Z] bde34c3a00c8: Pull complete [2024-05-16T11:27:56.735Z] b352a97aabf1: Pull complete [2024-05-16T11:27:56.735Z] 4872d77fe225: Pull complete [2024-05-16T11:27:56.735Z] 5851b861e8e6: Pull complete [2024-05-16T11:27:56.735Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-16T11:27:56.735Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-16T11:27:56.735Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T11:27:57.042Z] prd-ubuntu20.04-docker-8c-8g-282 does not seem to be running inside a container [2024-05-16T11:27:57.069Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-470 -v /w/workspace/foundry_device-virtual-go_PR-470:/w/workspace/foundry_device-virtual-go_PR-470:rw,z -v /w/workspace/foundry_device-virtual-go_PR-470@tmp:/w/workspace/foundry_device-virtual-go_PR-470@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-05-16T11:27:59.930Z] $ docker top 8e7bd40af943c4da6ada451d4dbbcd6afe248e34da41f6c4550e83ff5caaa6ec -eo pid,comm [2024-05-16T11:27:59.990Z] 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-05-16T11:27:59.990Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-16T11:28:00.162Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-16T11:28:00.162Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-16T11:28:00.272Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-16T11:28:00.272Z] $ docker exec 8e7bd40af943c4da6ada451d4dbbcd6afe248e34da41f6c4550e83ff5caaa6ec ssh-agent [2024-05-16T11:28:00.380Z] SSH_AUTH_SOCK=/tmp/ssh-CxJr0B0fc0BI/agent.32 [2024-05-16T11:28:00.380Z] SSH_AGENT_PID=38 [2024-05-16T11:28:00.385Z] Running ssh-add (command line suppressed) [2024-05-16T11:28:00.493Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-470@tmp/private_key_15488744858903503970.key (/w/workspace/foundry_device-virtual-go_PR-470@tmp/private_key_15488744858903503970.key) [2024-05-16T11:28:00.508Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-16T11:28:00.865Z] + git tag --points-at HEAD [Pipeline] } [2024-05-16T11:28:00.891Z] $ docker exec --env ******** --env ******** 8e7bd40af943c4da6ada451d4dbbcd6afe248e34da41f6c4550e83ff5caaa6ec ssh-agent -k [2024-05-16T11:28:00.991Z] unset SSH_AUTH_SOCK; [2024-05-16T11:28:00.991Z] unset SSH_AGENT_PID; [2024-05-16T11:28:00.991Z] echo Agent pid 38 killed; [2024-05-16T11:28:01.003Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-16T11:28:01.123Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-16T11:28:01.123Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-16T11:28:01.242Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-16T11:28:01.242Z] $ docker exec 8e7bd40af943c4da6ada451d4dbbcd6afe248e34da41f6c4550e83ff5caaa6ec ssh-agent [2024-05-16T11:28:01.362Z] SSH_AUTH_SOCK=/tmp/ssh-iT3uhKVfjZkO/agent.72 [2024-05-16T11:28:01.362Z] SSH_AGENT_PID=78 [2024-05-16T11:28:01.367Z] Running ssh-add (command line suppressed) [2024-05-16T11:28:01.466Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-470@tmp/private_key_14104167994222471386.key (/w/workspace/foundry_device-virtual-go_PR-470@tmp/private_key_14104167994222471386.key) [2024-05-16T11:28:01.484Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-16T11:28:01.840Z] + git semver init [2024-05-16T11:28:02.099Z] 2024-05-16 11:28:02,005 [run_init] DEBUG init version:0.0.0 force:False [2024-05-16T11:28:02.099Z] 2024-05-16 11:28:02,006 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-470/.semver [2024-05-16T11:28:02.099Z] 2024-05-16 11:28:02,007 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-470/.semver [2024-05-16T11:28:02.099Z] 2024-05-16 11:28:02,007 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-470/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-470, universal_newlines=False, shell=None, istream=None) [2024-05-16T11:28:04.006Z] 2024-05-16 11:28:03,516 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-470/.git/info/exclude [2024-05-16T11:28:04.006Z] 2024-05-16 11:28:03,517 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-470/.semver/PR-470 with force:False [2024-05-16T11:28:04.006Z] 2024-05-16 11:28:03,517 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-470/.semver/PR-470 [2024-05-16T11:28:04.006Z] 2024-05-16 11:28:03,521 [execute] INFO git cat-file --batch-check [2024-05-16T11:28:04.006Z] 2024-05-16 11:28:03,522 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-470/.semver, universal_newlines=False, shell=None, istream=) [2024-05-16T11:28:04.006Z] 2024-05-16 11:28:03,528 [execute] INFO git cat-file --batch [2024-05-16T11:28:04.006Z] 2024-05-16 11:28:03,528 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-470/.semver, universal_newlines=False, shell=None, istream=) [2024-05-16T11:28:04.006Z] 2024-05-16 11:28:03,533 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-470/.semver/PR-470 [2024-05-16T11:28:04.006Z] 0.0.0 [Pipeline] } [2024-05-16T11:28:04.037Z] $ docker exec --env ******** --env ******** 8e7bd40af943c4da6ada451d4dbbcd6afe248e34da41f6c4550e83ff5caaa6ec ssh-agent -k [2024-05-16T11:28:04.131Z] unset SSH_AUTH_SOCK; [2024-05-16T11:28:04.131Z] unset SSH_AGENT_PID; [2024-05-16T11:28:04.132Z] echo Agent pid 78 killed; [2024-05-16T11:28:04.144Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-16T11:28:04.610Z] + git semver [Pipeline] } [2024-05-16T11:28:04.897Z] $ docker stop --time=1 8e7bd40af943c4da6ada451d4dbbcd6afe248e34da41f6c4550e83ff5caaa6ec [2024-05-16T11:28:06.197Z] $ docker rm -f --volumes 8e7bd40af943c4da6ada451d4dbbcd6afe248e34da41f6c4550e83ff5caaa6ec [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-16T11:28:06.618Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-16T11:28:06.937Z] Stashed 1 file(s) [Pipeline] echo [2024-05-16T11:28:06.960Z] [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-05-16T11:28:08.334Z] provisioning config files... [2024-05-16T11:28:08.345Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-470@tmp/config13576454124188809433tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T11:28:08.719Z] ---> ****-login.sh [2024-05-16T11:28:08.719Z] nexus3.edgexfoundry.org:10001 [2024-05-16T11:28:08.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T11:28:08.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T11:28:08.719Z] Configure a credential helper to remove this warning. See [2024-05-16T11:28:08.719Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T11:28:08.719Z] [2024-05-16T11:28:08.719Z] Login Succeeded [2024-05-16T11:28:08.719Z] nexus3.edgexfoundry.org:10002 [2024-05-16T11:28:08.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T11:28:08.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T11:28:08.719Z] Configure a credential helper to remove this warning. See [2024-05-16T11:28:08.719Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T11:28:08.719Z] [2024-05-16T11:28:08.719Z] Login Succeeded [2024-05-16T11:28:08.719Z] nexus3.edgexfoundry.org:10003 [2024-05-16T11:28:08.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T11:28:08.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T11:28:08.979Z] Configure a credential helper to remove this warning. See [2024-05-16T11:28:08.979Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T11:28:08.979Z] [2024-05-16T11:28:08.979Z] Login Succeeded [2024-05-16T11:28:08.979Z] nexus3.edgexfoundry.org:10004 [2024-05-16T11:28:08.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T11:28:08.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T11:28:08.979Z] Configure a credential helper to remove this warning. See [2024-05-16T11:28:08.979Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T11:28:08.979Z] [2024-05-16T11:28:08.979Z] Login Succeeded [2024-05-16T11:28:08.979Z] ****.io [2024-05-16T11:28:08.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T11:28:09.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T11:28:09.240Z] Configure a credential helper to remove this warning. See [2024-05-16T11:28:09.240Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T11:28:09.240Z] [2024-05-16T11:28:09.240Z] Login Succeeded [2024-05-16T11:28:09.240Z] ---> ****-login.sh ends [Pipeline] } [2024-05-16T11:28:09.272Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-16T11:28:09.521Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T11:28:09.577Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T11:28:09.632Z] ========================================================= [2024-05-16T11:28:09.632Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-05-16T11:28:09.632Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T11:28:10.173Z] + 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-05-16T11:28:10.173Z] Sending build context to Docker daemon 37.67MB [2024-05-16T11:28:10.173Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T11:28:10.173Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-16T11:28:10.431Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-05-16T11:28:10.431Z] 619be1103602: Pulling fs layer [2024-05-16T11:28:10.431Z] 7862e08f4a3e: Pulling fs layer [2024-05-16T11:28:10.431Z] 5df492c9dc93: Pulling fs layer [2024-05-16T11:28:10.431Z] 7629e6793208: Pulling fs layer [2024-05-16T11:28:10.431Z] 4f4fb700ef54: Pulling fs layer [2024-05-16T11:28:10.431Z] fb5054dd5b73: Pulling fs layer [2024-05-16T11:28:10.431Z] eeca6798cff9: Pulling fs layer [2024-05-16T11:28:10.431Z] aa269ceb94a6: Pulling fs layer [2024-05-16T11:28:10.431Z] ada007ff1a6a: Pulling fs layer [2024-05-16T11:28:10.431Z] eeca6798cff9: Waiting [2024-05-16T11:28:10.431Z] aa269ceb94a6: Waiting [2024-05-16T11:28:10.431Z] 7629e6793208: Waiting [2024-05-16T11:28:10.431Z] ada007ff1a6a: Waiting [2024-05-16T11:28:10.431Z] 4f4fb700ef54: Waiting [2024-05-16T11:28:10.431Z] 7862e08f4a3e: Download complete [2024-05-16T11:28:10.431Z] 7629e6793208: Verifying Checksum [2024-05-16T11:28:10.431Z] 7629e6793208: Download complete [2024-05-16T11:28:10.431Z] 4f4fb700ef54: Verifying Checksum [2024-05-16T11:28:10.431Z] 4f4fb700ef54: Download complete [2024-05-16T11:28:10.431Z] fb5054dd5b73: Verifying Checksum [2024-05-16T11:28:10.431Z] fb5054dd5b73: Download complete [2024-05-16T11:28:10.431Z] 619be1103602: Verifying Checksum [2024-05-16T11:28:10.431Z] 619be1103602: Download complete [2024-05-16T11:28:10.431Z] eeca6798cff9: Verifying Checksum [2024-05-16T11:28:10.431Z] eeca6798cff9: Download complete [2024-05-16T11:28:10.690Z] 619be1103602: Pull complete [2024-05-16T11:28:10.690Z] ada007ff1a6a: Verifying Checksum [2024-05-16T11:28:10.690Z] ada007ff1a6a: Download complete [2024-05-16T11:28:10.690Z] 7862e08f4a3e: Pull complete [2024-05-16T11:28:10.948Z] 5df492c9dc93: Verifying Checksum [2024-05-16T11:28:10.948Z] 5df492c9dc93: Download complete [2024-05-16T11:28:11.211Z] aa269ceb94a6: Verifying Checksum [2024-05-16T11:28:11.211Z] aa269ceb94a6: Download complete [2024-05-16T11:28:13.746Z] 5df492c9dc93: Pull complete [2024-05-16T11:28:13.746Z] 7629e6793208: Pull complete [2024-05-16T11:28:13.746Z] 4f4fb700ef54: Pull complete [2024-05-16T11:28:13.746Z] fb5054dd5b73: Pull complete [2024-05-16T11:28:14.004Z] eeca6798cff9: Pull complete [2024-05-16T11:28:16.536Z] aa269ceb94a6: Pull complete [2024-05-16T11:28:16.536Z] ada007ff1a6a: Pull complete [2024-05-16T11:28:16.536Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-05-16T11:28:16.536Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-05-16T11:28:16.536Z] ---> f489d0715acc [2024-05-16T11:28:16.536Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-16T11:28:20.734Z] ---> Running in fe83ce67333d [2024-05-16T11:28:20.734Z] Removing intermediate container fe83ce67333d [2024-05-16T11:28:20.734Z] ---> 6839066e2c4c [2024-05-16T11:28:20.734Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-16T11:28:20.734Z] ---> Running in 9e0a71379d85 [2024-05-16T11:28:20.734Z] Removing intermediate container 9e0a71379d85 [2024-05-16T11:28:20.734Z] ---> 636c3d8c7bad [2024-05-16T11:28:20.734Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-05-16T11:28:20.734Z] ---> Running in 54abfbd8064e [2024-05-16T11:28:20.734Z] Removing intermediate container 54abfbd8064e [2024-05-16T11:28:20.734Z] ---> c4c1f647b79b [2024-05-16T11:28:20.734Z] Step 6/12 : WORKDIR /device-virtual-go [2024-05-16T11:28:20.734Z] ---> Running in cd74f9bded70 [2024-05-16T11:28:20.734Z] Removing intermediate container cd74f9bded70 [2024-05-16T11:28:20.734Z] ---> aed8c42346be [2024-05-16T11:28:20.734Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-16T11:28:20.734Z] ---> Running in 5d1f187f83cc [2024-05-16T11:28:21.302Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T11:28:21.302Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T11:28:21.562Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-16T11:28:21.562Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-16T11:28:21.562Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-16T11:28:21.562Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-16T11:28:21.562Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T11:28:21.562Z] OK: 268 MiB in 56 packages [2024-05-16T11:28:22.131Z] Removing intermediate container 5d1f187f83cc [2024-05-16T11:28:22.131Z] ---> 8d63eba13e65 [2024-05-16T11:28:22.131Z] Step 8/12 : COPY go.mod vendor* ./ [2024-05-16T11:28:22.390Z] ---> 131a8563894b [2024-05-16T11:28:22.390Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T11:28:22.390Z] ---> Running in b550de201db8 [2024-05-16T11:28:22.525Z] Still waiting to schedule task [2024-05-16T11:28:22.525Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-05-16T11:29:09.074Z] Removing intermediate container b550de201db8 [2024-05-16T11:29:09.074Z] ---> 823952144b56 [2024-05-16T11:29:09.074Z] Step 10/12 : COPY . . [2024-05-16T11:29:09.074Z] ---> 1200c0cb567b [2024-05-16T11:29:09.074Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-16T11:29:09.074Z] ---> Running in 65b99c43d2a8 [2024-05-16T11:29:09.074Z] Removing intermediate container 65b99c43d2a8 [2024-05-16T11:29:09.074Z] ---> ba1dc783536f [2024-05-16T11:29:09.074Z] Step 12/12 : RUN $MAKE [2024-05-16T11:29:09.074Z] ---> Running in 53f7f962f5d2 [2024-05-16T11:29:09.074Z] noop [2024-05-16T11:29:09.074Z] Removing intermediate container 53f7f962f5d2 [2024-05-16T11:29:09.074Z] ---> f53e1fe0f6ca [2024-05-16T11:29:09.074Z] Successfully built f53e1fe0f6ca [2024-05-16T11:29:09.074Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T11:29:09.559Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-16T11:29:09.559Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T11:29:09.738Z] prd-ubuntu20.04-docker-8c-8g-282 does not seem to be running inside a container [2024-05-16T11:29:09.766Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-470 -v /w/workspace/foundry_device-virtual-go_PR-470:/w/workspace/foundry_device-virtual-go_PR-470:rw,z -v /w/workspace/foundry_device-virtual-go_PR-470@tmp:/w/workspace/foundry_device-virtual-go_PR-470@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-05-16T11:29:10.117Z] $ docker top d83f4c71c50a4a795f721dc2758d86dacb1a9b531520c84fabe5c43c40941554 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T11:29:10.534Z] + go version [2024-05-16T11:29:10.534Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-16T11:29:10.568Z] $ docker stop --time=1 d83f4c71c50a4a795f721dc2758d86dacb1a9b531520c84fabe5c43c40941554 [2024-05-16T11:29:11.823Z] $ docker rm -f --volumes d83f4c71c50a4a795f721dc2758d86dacb1a9b531520c84fabe5c43c40941554 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T11:29:12.642Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-16T11:29:12.643Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T11:29:12.823Z] prd-ubuntu20.04-docker-8c-8g-282 does not seem to be running inside a container [2024-05-16T11:29:12.854Z] $ 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-470 -v /w/workspace/foundry_device-virtual-go_PR-470:/w/workspace/foundry_device-virtual-go_PR-470:rw,z -v /w/workspace/foundry_device-virtual-go_PR-470@tmp:/w/workspace/foundry_device-virtual-go_PR-470@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-05-16T11:29:13.212Z] $ docker top 7a7580a225cd52a7b66d5b4bcf8c585a76f13429ab30aaa0258e3781cba7540c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T11:29:13.646Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-470 [Pipeline] fileExists [Pipeline] sh [2024-05-16T11:29:14.025Z] + make test [2024-05-16T11:29:14.025Z] go test ./... -coverprofile=coverage.out [2024-05-16T11:29:15.405Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-05-16T11:29:33.504Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-05-16T11:29:33.504Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.017s coverage: 58.6% of statements [2024-05-16T11:29:40.061Z] go vet ./... [2024-05-16T11:29:45.322Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-16T11:29:45.322Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-16T11:29:45.322Z] ./bin/test-attribution-txt.sh [2024-05-16T11:29:45.322Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-16T11:29:45.322Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-16T11:29:45.370Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-16T11:29:45.406Z] $ docker stop --time=1 7a7580a225cd52a7b66d5b4bcf8c585a76f13429ab30aaa0258e3781cba7540c [2024-05-16T11:29:48.989Z] $ docker rm -f --volumes 7a7580a225cd52a7b66d5b4bcf8c585a76f13429ab30aaa0258e3781cba7540c [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-16T11:29:49.593Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-16T11:29:49.670Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-16T11:29:50.412Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-16T11:29:50.726Z] + ls -al . [2024-05-16T11:29:50.726Z] total 268 [2024-05-16T11:29:50.726Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 11:29 . [2024-05-16T11:29:50.726Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 11:27 .. [2024-05-16T11:29:50.726Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 11:29 .git [2024-05-16T11:29:50.726Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 11:27 .github [2024-05-16T11:29:50.726Z] -rw-rw-r-- 1 jenkins jenkins 272 May 16 11:27 .gitignore [2024-05-16T11:29:50.726Z] -rw-rw-r-- 1 jenkins jenkins 41 May 16 11:27 .golangci.yml [2024-05-16T11:29:50.726Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 11:28 .semver [2024-05-16T11:29:50.726Z] -rw-rw-r-- 1 jenkins jenkins 9708 May 16 11:27 Attribution.txt [2024-05-16T11:29:50.726Z] -rw-rw-r-- 1 jenkins jenkins 15941 May 16 11:27 CHANGELOG.md [2024-05-16T11:29:50.726Z] -rw-rw-r-- 1 jenkins jenkins 1755 May 16 11:27 Dockerfile [2024-05-16T11:29:50.726Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 11:27 GOVERNANCE.md [2024-05-16T11:29:50.726Z] -rw-rw-r-- 1 jenkins jenkins 660 May 16 11:27 Jenkinsfile [2024-05-16T11:29:50.726Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 16 11:27 LICENSE [2024-05-16T11:29:50.726Z] -rw-rw-r-- 1 jenkins jenkins 1953 May 16 11:27 Makefile [2024-05-16T11:29:50.726Z] -rw-rw-r-- 1 jenkins jenkins 623 May 16 11:27 OWNERS.md [2024-05-16T11:29:50.726Z] -rw-rw-r-- 1 jenkins jenkins 4103 May 16 11:27 README.md [2024-05-16T11:29:50.726Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 11:28 VERSION [2024-05-16T11:29:50.726Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 11:27 bin [2024-05-16T11:29:50.726Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 11:27 cmd [2024-05-16T11:29:50.726Z] -rw-r--r-- 1 jenkins jenkins 43063 May 16 11:29 coverage.out [2024-05-16T11:29:50.726Z] -rw-rw-r-- 1 jenkins jenkins 6985 May 16 11:27 go.mod [2024-05-16T11:29:50.726Z] -rw-rw-r-- 1 jenkins jenkins 101177 May 16 11:27 go.sum [2024-05-16T11:29:50.726Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 11:27 internal [2024-05-16T11:29:50.726Z] -rw-rw-r-- 1 jenkins jenkins 235 May 16 11:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T11:29:51.152Z] + 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=3e8e27f2c24b954fe903df5a2e85b791fc4c9775 --label arch=amd64 --label version=0.0.0 . [2024-05-16T11:29:51.153Z] Sending build context to Docker daemon 37.72MB [2024-05-16T11:29:51.153Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T11:29:51.153Z] Step 2/26 : FROM ${BASE} AS builder [2024-05-16T11:29:51.153Z] ---> f53e1fe0f6ca [2024-05-16T11:29:51.153Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-16T11:29:51.718Z] ---> Running in 094918a9067f [2024-05-16T11:29:51.718Z] Removing intermediate container 094918a9067f [2024-05-16T11:29:51.718Z] ---> ffa3747772cc [2024-05-16T11:29:51.718Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-05-16T11:29:51.718Z] ---> Running in 9beaa9b137c6 [2024-05-16T11:29:51.718Z] Removing intermediate container 9beaa9b137c6 [2024-05-16T11:29:51.718Z] ---> 572fceae9bf5 [2024-05-16T11:29:51.718Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-05-16T11:29:51.718Z] ---> Running in 32c58ddfaf5e [2024-05-16T11:29:51.718Z] Removing intermediate container 32c58ddfaf5e [2024-05-16T11:29:51.718Z] ---> 63c3627404d0 [2024-05-16T11:29:51.718Z] Step 6/26 : WORKDIR /device-virtual-go [2024-05-16T11:29:51.976Z] ---> Running in 144e52a7ce96 [2024-05-16T11:29:51.976Z] Removing intermediate container 144e52a7ce96 [2024-05-16T11:29:51.976Z] ---> 71aee87f1642 [2024-05-16T11:29:51.976Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-16T11:29:51.976Z] ---> Running in 215fbde84476 [2024-05-16T11:29:52.235Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T11:29:52.235Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T11:29:52.493Z] OK: 268 MiB in 56 packages [2024-05-16T11:29:53.061Z] Removing intermediate container 215fbde84476 [2024-05-16T11:29:53.061Z] ---> 9d3ae497033b [2024-05-16T11:29:53.061Z] Step 8/26 : COPY go.mod vendor* ./ [2024-05-16T11:29:53.061Z] ---> 2b3e1e1150a3 [2024-05-16T11:29:53.061Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T11:29:53.061Z] ---> Running in 197b2e74fd23 [2024-05-16T11:29:53.629Z] Removing intermediate container 197b2e74fd23 [2024-05-16T11:29:53.629Z] ---> fed03e147274 [2024-05-16T11:29:53.629Z] Step 10/26 : COPY . . [2024-05-16T11:29:54.565Z] ---> 70403f0cdcd6 [2024-05-16T11:29:54.565Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-16T11:29:54.565Z] ---> Running in 5ceeb5bf7b13 [2024-05-16T11:29:54.565Z] Removing intermediate container 5ceeb5bf7b13 [2024-05-16T11:29:54.565Z] ---> bbfacd41ce31 [2024-05-16T11:29:54.565Z] Step 12/26 : RUN $MAKE [2024-05-16T11:29:54.565Z] ---> Running in 156c10440868 [2024-05-16T11:29:54.830Z] 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.13" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-05-16T11:29:57.578Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-283 in /w/workspace/foundry_device-virtual-go_PR-470 [Pipeline] { [Pipeline] ws [2024-05-16T11:29:57.652Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2024-05-16T11:29:57.741Z] The recommended git tool is: git [2024-05-16T11:30:02.466Z] using credential edgex-jenkins-ssh [2024-05-16T11:30:02.489Z] Cloning the remote Git repository [2024-05-16T11:30:02.532Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2024-05-16T11:30:02.618Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2024-05-16T11:30:02.756Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-05-16T11:30:02.757Z] > git --version # timeout=10 [2024-05-16T11:30:02.775Z] > git --version # 'git version 2.25.1' [2024-05-16T11:30:02.778Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-16T11:30:02.908Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-16T11:30:06.007Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-05-16T11:30:06.030Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-16T11:30:07.527Z] Merging remotes/origin/main commit 14494e7562879e41062c7461f1813d33e0fc95a7 into PR head commit 3e8e27f2c24b954fe903df5a2e85b791fc4c9775 [2024-05-16T11:30:07.788Z] Merge succeeded, producing 3e8e27f2c24b954fe903df5a2e85b791fc4c9775 [2024-05-16T11:30:07.789Z] Checking out Revision 3e8e27f2c24b954fe903df5a2e85b791fc4c9775 (PR-470) [2024-05-16T11:30:06.981Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-05-16T11:30:07.020Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-05-16T11:30:07.021Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-16T11:30:07.043Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/470/head:refs/remotes/origin/PR-470 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-05-16T11:30:07.546Z] > git config core.sparsecheckout # timeout=10 [2024-05-16T11:30:07.613Z] > git checkout -f 3e8e27f2c24b954fe903df5a2e85b791fc4c9775 # timeout=10 [2024-05-16T11:30:07.693Z] > git remote # timeout=10 [2024-05-16T11:30:07.709Z] > git config --get remote.origin.url # timeout=10 [2024-05-16T11:30:07.728Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-16T11:30:07.745Z] > git merge 14494e7562879e41062c7461f1813d33e0fc95a7 # timeout=10 [2024-05-16T11:30:07.771Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-05-16T11:30:07.799Z] > git config core.sparsecheckout # timeout=10 [2024-05-16T11:30:07.818Z] > git checkout -f 3e8e27f2c24b954fe903df5a2e85b791fc4c9775 # timeout=10 [2024-05-16T11:30:08.360Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-05-16T11:30:08.416Z] > git --version # timeout=10 [2024-05-16T11:30:08.428Z] > git --version # 'git version 2.25.1' [2024-05-16T11:30:08.443Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-16T11:30:13.409Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-16T11:30:13.409Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-16T11:30:13.409Z] Dload Upload Total Spent Left Speed [2024-05-16T11:30:13.409Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 121k 0 --:--:-- --:--:-- --:--:-- 121k [Pipeline] sh [2024-05-16T11:30:13.755Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-16T11:30:14.105Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-16T11:30:14.106Z] + sudo tee /etc/docker/daemon.new [2024-05-16T11:30:14.106Z] { [2024-05-16T11:30:14.106Z] "registry-mirrors": [ [2024-05-16T11:30:14.106Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-16T11:30:14.106Z] ], [2024-05-16T11:30:14.106Z] "bip": "10.250.0.254/24", [2024-05-16T11:30:14.106Z] "hosts": [ [2024-05-16T11:30:14.106Z] "tcp://0.0.0.0:5555", [2024-05-16T11:30:14.106Z] "unix:///var/run/docker.sock" [2024-05-16T11:30:14.106Z] ], [2024-05-16T11:30:14.106Z] "mtu": 1458, [2024-05-16T11:30:14.106Z] "selinux-enabled": true, [2024-05-16T11:30:14.106Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-16T11:30:14.106Z] } [Pipeline] sh [2024-05-16T11:30:14.457Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-16T11:30:14.807Z] + sudo service docker restart [2024-05-16T11:30:27.017Z] Removing intermediate container 156c10440868 [2024-05-16T11:30:27.017Z] ---> 4ce389557dd1 [2024-05-16T11:30:27.017Z] Step 13/26 : FROM alpine:3.18 [2024-05-16T11:30:27.017Z] 3.18: Pulling from library/alpine [2024-05-16T11:30:27.017Z] 619be1103602: Already exists [2024-05-16T11:30:27.017Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-16T11:30:27.017Z] Status: Downloaded newer image for alpine:3.18 [2024-05-16T11:30:27.017Z] ---> d3782b16ccc9 [2024-05-16T11:30:27.017Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-05-16T11:30:27.017Z] ---> Running in c851fad2b5d5 [2024-05-16T11:30:27.017Z] Removing intermediate container c851fad2b5d5 [2024-05-16T11:30:27.017Z] ---> 02e93c35f950 [2024-05-16T11:30:27.017Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-05-16T11:30:27.017Z] ---> Running in a4f97ae91037 [2024-05-16T11:30:27.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T11:30:27.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T11:30:27.017Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-16T11:30:27.017Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T11:30:27.017Z] OK: 7 MiB in 16 packages [2024-05-16T11:30:27.017Z] Removing intermediate container a4f97ae91037 [2024-05-16T11:30:27.017Z] ---> 60137d94c2af [2024-05-16T11:30:27.017Z] Step 16/26 : RUN apk --no-cache upgrade [2024-05-16T11:30:27.017Z] ---> Running in 1e2571de7c9b [2024-05-16T11:30:27.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T11:30:27.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T11:30:27.017Z] Upgrading critical system libraries and apk-tools: [2024-05-16T11:30:27.017Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-16T11:30:27.017Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T11:30:27.017Z] Continuing the upgrade transaction with new apk-tools: [2024-05-16T11:30:27.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T11:30:27.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T11:30:27.017Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-16T11:30:27.017Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-16T11:30:27.017Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-16T11:30:27.017Z] OK: 7 MiB in 16 packages [2024-05-16T11:30:27.017Z] Removing intermediate container 1e2571de7c9b [2024-05-16T11:30:27.017Z] ---> 01010f142aac [2024-05-16T11:30:27.017Z] Step 17/26 : WORKDIR / [2024-05-16T11:30:27.017Z] ---> Running in e0f7bf48cf60 [2024-05-16T11:30:27.017Z] Removing intermediate container e0f7bf48cf60 [2024-05-16T11:30:27.017Z] ---> aa36c60e9b4a [2024-05-16T11:30:27.017Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-05-16T11:30:27.017Z] ---> 63d77afb80e0 [2024-05-16T11:30:27.017Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-05-16T11:30:27.017Z] ---> 2d7f438cd210 [2024-05-16T11:30:27.017Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-05-16T11:30:27.275Z] ---> 39e6d143f0ea [2024-05-16T11:30:27.275Z] Step 21/26 : EXPOSE 59900 [2024-05-16T11:30:27.275Z] ---> Running in f34ff9ec47dc [2024-05-16T11:30:27.275Z] Removing intermediate container f34ff9ec47dc [2024-05-16T11:30:27.275Z] ---> 0aac449ce454 [2024-05-16T11:30:27.275Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-05-16T11:30:27.275Z] ---> Running in 8d5641c9a2ac [2024-05-16T11:30:27.534Z] Removing intermediate container 8d5641c9a2ac [2024-05-16T11:30:27.534Z] ---> e2002f18bf4e [2024-05-16T11:30:27.534Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-16T11:30:27.534Z] ---> Running in 22c4f69da7d7 [2024-05-16T11:30:27.534Z] Removing intermediate container 22c4f69da7d7 [2024-05-16T11:30:27.534Z] ---> 6e8ef44cb887 [2024-05-16T11:30:27.534Z] Step 24/26 : LABEL arch=amd64 [2024-05-16T11:30:27.534Z] ---> Running in a09a786cdf7e [2024-05-16T11:30:27.534Z] Removing intermediate container a09a786cdf7e [2024-05-16T11:30:27.534Z] ---> bcdab03a90c8 [2024-05-16T11:30:27.534Z] Step 25/26 : LABEL git_sha=3e8e27f2c24b954fe903df5a2e85b791fc4c9775 [2024-05-16T11:30:27.534Z] ---> Running in 05b2cbdbef74 [2024-05-16T11:30:27.795Z] Removing intermediate container 05b2cbdbef74 [2024-05-16T11:30:27.795Z] ---> d88671dcea6f [2024-05-16T11:30:27.795Z] Step 26/26 : LABEL version=0.0.0 [2024-05-16T11:30:27.795Z] ---> Running in 6f366939435b [2024-05-16T11:30:27.795Z] Removing intermediate container 6f366939435b [2024-05-16T11:30:27.795Z] ---> c8f1fb4428ff [2024-05-16T11:30:27.795Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-16T11:30:27.795Z] Successfully built c8f1fb4428ff [2024-05-16T11:30:27.795Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T11:30:28.845Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T11:30:28.846Z] [2024-05-16T11:30:28.846Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T11:30:29.251Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T11:30:29.251Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-16T11:30:29.251Z] 5eb5b503b376: Pulling fs layer [2024-05-16T11:30:29.251Z] 5c69ac0246d0: Pulling fs layer [2024-05-16T11:30:29.251Z] ec43610c2a17: Pulling fs layer [2024-05-16T11:30:29.251Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-16T11:30:29.251Z] 33b1e0a273af: Pulling fs layer [2024-05-16T11:30:29.251Z] 5d3b04190fa2: Pulling fs layer [2024-05-16T11:30:29.251Z] 2f39f015ded8: Pulling fs layer [2024-05-16T11:30:29.251Z] 33b1e0a273af: Waiting [2024-05-16T11:30:29.251Z] 5d3b04190fa2: Waiting [2024-05-16T11:30:29.251Z] 2f39f015ded8: Waiting [2024-05-16T11:30:29.251Z] 3a2ae6a8a46f: Waiting [2024-05-16T11:30:29.251Z] 5c69ac0246d0: Verifying Checksum [2024-05-16T11:30:29.251Z] 5c69ac0246d0: Download complete [2024-05-16T11:30:29.251Z] 3a2ae6a8a46f: Download complete [2024-05-16T11:30:29.251Z] 33b1e0a273af: Verifying Checksum [2024-05-16T11:30:29.251Z] 33b1e0a273af: Download complete [2024-05-16T11:30:29.251Z] ec43610c2a17: Verifying Checksum [2024-05-16T11:30:29.251Z] ec43610c2a17: Download complete [2024-05-16T11:30:29.251Z] 5d3b04190fa2: Verifying Checksum [2024-05-16T11:30:29.251Z] 5d3b04190fa2: Download complete [2024-05-16T11:30:29.509Z] 5eb5b503b376: Verifying Checksum [2024-05-16T11:30:29.509Z] 5eb5b503b376: Download complete [2024-05-16T11:30:30.075Z] 2f39f015ded8: Download complete [2024-05-16T11:30:30.641Z] 5eb5b503b376: Pull complete [2024-05-16T11:30:30.900Z] 5c69ac0246d0: Pull complete [2024-05-16T11:30:31.158Z] ec43610c2a17: Pull complete [2024-05-16T11:30:31.417Z] 3a2ae6a8a46f: Pull complete [2024-05-16T11:30:31.674Z] 33b1e0a273af: Pull complete [2024-05-16T11:30:31.674Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-16T11:30:33.135Z] provisioning config files... [2024-05-16T11:30:33.165Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config6725374033479895402tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T11:30:33.691Z] ---> ****-login.sh [2024-05-16T11:30:33.691Z] nexus3.edgexfoundry.org:10001 [2024-05-16T11:30:33.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T11:30:34.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T11:30:34.229Z] Configure a credential helper to remove this warning. See [2024-05-16T11:30:34.229Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T11:30:34.229Z] [2024-05-16T11:30:34.229Z] Login Succeeded [2024-05-16T11:30:34.229Z] nexus3.edgexfoundry.org:10002 [2024-05-16T11:30:34.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T11:30:34.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T11:30:34.501Z] Configure a credential helper to remove this warning. See [2024-05-16T11:30:34.501Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T11:30:34.501Z] [2024-05-16T11:30:34.501Z] Login Succeeded [2024-05-16T11:30:34.501Z] nexus3.edgexfoundry.org:10003 [2024-05-16T11:30:34.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T11:30:35.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T11:30:35.035Z] Configure a credential helper to remove this warning. See [2024-05-16T11:30:35.035Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T11:30:35.035Z] [2024-05-16T11:30:35.035Z] Login Succeeded [2024-05-16T11:30:35.035Z] nexus3.edgexfoundry.org:10004 [2024-05-16T11:30:35.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T11:30:35.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T11:30:35.306Z] Configure a credential helper to remove this warning. See [2024-05-16T11:30:35.306Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T11:30:35.306Z] [2024-05-16T11:30:35.306Z] Login Succeeded [2024-05-16T11:30:35.306Z] ****.io [2024-05-16T11:30:35.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T11:30:35.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T11:30:35.837Z] Configure a credential helper to remove this warning. See [2024-05-16T11:30:35.838Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T11:30:35.838Z] [2024-05-16T11:30:35.838Z] Login Succeeded [2024-05-16T11:30:35.838Z] ---> ****-login.sh ends [Pipeline] } [2024-05-16T11:30:35.874Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-16T11:30:36.418Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T11:30:36.474Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T11:30:36.537Z] ========================================================= [2024-05-16T11:30:36.537Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-05-16T11:30:36.537Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T11:30:36.935Z] 2f39f015ded8: Pull complete [2024-05-16T11:30:36.935Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-16T11:30:36.935Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T11:30:36.935Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2024-05-16T11:30:37.096Z] + 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 . [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T11:30:37.218Z] prd-ubuntu20.04-docker-8c-8g-282 does not seem to be running inside a container [2024-05-16T11:30:37.244Z] $ 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-470 -v /w/workspace/foundry_device-virtual-go_PR-470:/w/workspace/foundry_device-virtual-go_PR-470:rw,z -v /w/workspace/foundry_device-virtual-go_PR-470@tmp:/w/workspace/foundry_device-virtual-go_PR-470@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-05-16T11:30:37.679Z] Sending build context to Docker daemon 19.02MB [2024-05-16T11:30:37.679Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T11:30:37.679Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-16T11:30:37.951Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-16T11:30:37.951Z] c6b39de5b339: Pulling fs layer [2024-05-16T11:30:37.951Z] a69c41024577: Pulling fs layer [2024-05-16T11:30:37.951Z] d6de4b400683: Pulling fs layer [2024-05-16T11:30:37.951Z] 35cb2a7552d0: Pulling fs layer [2024-05-16T11:30:37.951Z] 4f4fb700ef54: Pulling fs layer [2024-05-16T11:30:37.951Z] 35cb2a7552d0: Waiting [2024-05-16T11:30:37.951Z] 464afbd9ba4c: Pulling fs layer [2024-05-16T11:30:37.951Z] 00f215d4a9da: Pulling fs layer [2024-05-16T11:30:37.951Z] d496ad576159: Pulling fs layer [2024-05-16T11:30:37.951Z] 4f4fb700ef54: Waiting [2024-05-16T11:30:37.951Z] 464afbd9ba4c: Waiting [2024-05-16T11:30:37.951Z] 00f215d4a9da: Waiting [2024-05-16T11:30:37.951Z] d496ad576159: Waiting [2024-05-16T11:30:37.951Z] a69c41024577: Verifying Checksum [2024-05-16T11:30:37.951Z] a69c41024577: Download complete [2024-05-16T11:30:37.951Z] 35cb2a7552d0: Verifying Checksum [2024-05-16T11:30:37.951Z] 35cb2a7552d0: Download complete [2024-05-16T11:30:37.951Z] 4f4fb700ef54: Verifying Checksum [2024-05-16T11:30:37.951Z] 4f4fb700ef54: Download complete [2024-05-16T11:30:37.951Z] 464afbd9ba4c: Verifying Checksum [2024-05-16T11:30:37.951Z] 464afbd9ba4c: Download complete [2024-05-16T11:30:37.951Z] c6b39de5b339: Verifying Checksum [2024-05-16T11:30:37.951Z] c6b39de5b339: Download complete [2024-05-16T11:30:38.537Z] d496ad576159: Verifying Checksum [2024-05-16T11:30:38.537Z] d496ad576159: Download complete [2024-05-16T11:30:38.805Z] c6b39de5b339: Pull complete [2024-05-16T11:30:39.388Z] a69c41024577: Pull complete [2024-05-16T11:30:39.652Z] d6de4b400683: Verifying Checksum [2024-05-16T11:30:39.652Z] d6de4b400683: Download complete [2024-05-16T11:30:40.381Z] $ docker top b8e6cbe9f856f774ddc810b533b22140e5bda9892eee39d39e3eac95d9a29c55 -eo pid,comm [Pipeline] { [2024-05-16T11:30:40.622Z] 00f215d4a9da: Verifying Checksum [2024-05-16T11:30:40.622Z] 00f215d4a9da: Download complete [Pipeline] libraryResource [Pipeline] sh [2024-05-16T11:30:41.033Z] ---> job-cost.sh [2024-05-16T11:30:41.033Z] lf-activate-venv: SKIPPING [2024-05-16T11:30:41.033Z] INFO: No Stack... [2024-05-16T11:30:41.297Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-16T11:30:41.556Z] INFO: Archiving Costs [Pipeline] sh [2024-05-16T11:30:41.884Z] + cat /w/workspace/foundry_device-virtual-go_PR-470/archives/cost.csv [2024-05-16T11:30:41.884Z] + cut -d, -f6 [Pipeline] lock [2024-05-16T11:30:41.941Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-470-1-stack-cost] [2024-05-16T11:30:41.948Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-470-1-stack-cost] did not exist. Created. [2024-05-16T11:30:41.954Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-470-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-16T11:30:42.384Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-16T11:30:42.444Z] Stashed 1 file(s) [Pipeline] } [2024-05-16T11:30:42.485Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-470-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-16T11:30:42.591Z] $ docker stop --time=1 b8e6cbe9f856f774ddc810b533b22140e5bda9892eee39d39e3eac95d9a29c55 [2024-05-16T11:30:43.747Z] $ docker rm -f --volumes b8e6cbe9f856f774ddc810b533b22140e5bda9892eee39d39e3eac95d9a29c55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-16T11:30:52.959Z] d6de4b400683: Pull complete [2024-05-16T11:30:52.959Z] 35cb2a7552d0: Pull complete [2024-05-16T11:30:52.959Z] 4f4fb700ef54: Pull complete [2024-05-16T11:30:52.959Z] 464afbd9ba4c: Pull complete [2024-05-16T11:31:01.175Z] 00f215d4a9da: Pull complete [2024-05-16T11:31:03.113Z] d496ad576159: Pull complete [2024-05-16T11:31:03.113Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-05-16T11:31:03.113Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-05-16T11:31:03.113Z] ---> f246e2811388 [2024-05-16T11:31:03.113Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-16T11:31:04.516Z] ---> Running in d3f998d3d806 [2024-05-16T11:31:04.785Z] Removing intermediate container d3f998d3d806 [2024-05-16T11:31:04.785Z] ---> f33ab8cb4d23 [2024-05-16T11:31:04.785Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-16T11:31:05.054Z] ---> Running in 2360f25b7507 [2024-05-16T11:31:05.324Z] Removing intermediate container 2360f25b7507 [2024-05-16T11:31:05.324Z] ---> aa94b155ce7f [2024-05-16T11:31:05.324Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-05-16T11:31:05.324Z] ---> Running in df8f4715e752 [2024-05-16T11:31:05.590Z] Removing intermediate container df8f4715e752 [2024-05-16T11:31:05.590Z] ---> caec9f8e8784 [2024-05-16T11:31:05.590Z] Step 6/12 : WORKDIR /device-virtual-go [2024-05-16T11:31:05.590Z] ---> Running in c360325275de [2024-05-16T11:31:05.866Z] Removing intermediate container c360325275de [2024-05-16T11:31:05.866Z] ---> f9ea9a0569f0 [2024-05-16T11:31:05.866Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-16T11:31:06.134Z] ---> Running in e7a7e1fa9330 [2024-05-16T11:31:07.102Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T11:31:07.693Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T11:31:08.279Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-16T11:31:08.550Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-16T11:31:08.550Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-16T11:31:08.550Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-16T11:31:08.550Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T11:31:08.550Z] OK: 271 MiB in 56 packages [2024-05-16T11:31:09.512Z] Removing intermediate container e7a7e1fa9330 [2024-05-16T11:31:09.512Z] ---> e889d78454e3 [2024-05-16T11:31:09.512Z] Step 8/12 : COPY go.mod vendor* ./ [2024-05-16T11:31:10.097Z] ---> 1fe84da88a39 [2024-05-16T11:31:10.097Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T11:31:10.097Z] ---> Running in efd99b8ef88d [2024-05-16T11:33:01.826Z] Removing intermediate container efd99b8ef88d [2024-05-16T11:33:01.826Z] ---> 2ca3a8d9d04e [2024-05-16T11:33:01.826Z] Step 10/12 : COPY . . [2024-05-16T11:33:01.826Z] ---> 344a1fed791a [2024-05-16T11:33:01.826Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-16T11:33:01.826Z] ---> Running in 22f2efa9f9ee [2024-05-16T11:33:01.826Z] Removing intermediate container 22f2efa9f9ee [2024-05-16T11:33:01.826Z] ---> 4fb94cf1b99e [2024-05-16T11:33:01.826Z] Step 12/12 : RUN $MAKE [2024-05-16T11:33:01.826Z] ---> Running in b9ef7b6c0d2f [2024-05-16T11:33:01.826Z] noop [2024-05-16T11:33:01.826Z] Removing intermediate container b9ef7b6c0d2f [2024-05-16T11:33:01.826Z] ---> d2ef590071d7 [2024-05-16T11:33:01.826Z] Successfully built d2ef590071d7 [2024-05-16T11:33:01.826Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T11:33:02.339Z] + docker inspect -f . ci-base-image-arm64 [2024-05-16T11:33:02.339Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T11:33:02.619Z] prd-ubuntu20.04-docker-arm64-4c-16g-283 does not seem to be running inside a container [2024-05-16T11:33:02.678Z] $ 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 ******** ci-base-image-arm64 cat [2024-05-16T11:33:03.811Z] $ docker top 6edd7375124238490b39bca2a2a94195303f9a9c7c1837343d5d48d05001c7d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T11:33:04.683Z] + go version [2024-05-16T11:33:04.683Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-16T11:33:04.717Z] $ docker stop --time=1 6edd7375124238490b39bca2a2a94195303f9a9c7c1837343d5d48d05001c7d8 [2024-05-16T11:33:06.303Z] $ docker rm -f --volumes 6edd7375124238490b39bca2a2a94195303f9a9c7c1837343d5d48d05001c7d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T11:33:07.242Z] + docker inspect -f . ci-base-image-arm64 [2024-05-16T11:33:07.242Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T11:33:07.509Z] prd-ubuntu20.04-docker-arm64-4c-16g-283 does not seem to be running inside a container [2024-05-16T11:33:07.571Z] $ 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 ******** ci-base-image-arm64 cat [2024-05-16T11:33:08.676Z] $ docker top f0a58b15ad92eb0817df6706b4de9aae551e06828f9fea47848093f18423eeb5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T11:33:09.233Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2024-05-16T11:33:09.661Z] + make test [2024-05-16T11:33:09.661Z] go test ./... -coverprofile=coverage.out [2024-05-16T11:33:15.004Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-05-16T11:36:51.800Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-05-16T11:36:51.800Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.091s coverage: 58.4% of statements [2024-05-16T11:36:51.800Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-16T11:36:51.800Z] go vet ./... [2024-05-16T11:37:30.688Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-16T11:37:30.688Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-16T11:37:30.688Z] ./bin/test-attribution-txt.sh [2024-05-16T11:37:30.688Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-16T11:37:30.688Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-16T11:37:30.739Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-16T11:37:30.782Z] $ docker stop --time=1 f0a58b15ad92eb0817df6706b4de9aae551e06828f9fea47848093f18423eeb5 [2024-05-16T11:37:32.709Z] $ docker rm -f --volumes f0a58b15ad92eb0817df6706b4de9aae551e06828f9fea47848093f18423eeb5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-16T11:37:34.214Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-16T11:37:34.256Z] Warning: overwriting stash ‘coverage-report’ [2024-05-16T11:37:34.706Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-16T11:37:35.335Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-16T11:37:35.671Z] + ls -al . [2024-05-16T11:37:35.671Z] total 264 [2024-05-16T11:37:35.671Z] drwxrwxr-x 7 jenkins jenkins 4096 May 16 11:33 . [2024-05-16T11:37:35.671Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 11:30 .. [2024-05-16T11:37:35.671Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 11:30 .git [2024-05-16T11:37:35.671Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 11:30 .github [2024-05-16T11:37:35.671Z] -rw-rw-r-- 1 jenkins jenkins 272 May 16 11:30 .gitignore [2024-05-16T11:37:35.671Z] -rw-rw-r-- 1 jenkins jenkins 41 May 16 11:30 .golangci.yml [2024-05-16T11:37:35.671Z] -rw-rw-r-- 1 jenkins jenkins 9708 May 16 11:30 Attribution.txt [2024-05-16T11:37:35.671Z] -rw-rw-r-- 1 jenkins jenkins 15941 May 16 11:30 CHANGELOG.md [2024-05-16T11:37:35.671Z] -rw-rw-r-- 1 jenkins jenkins 1755 May 16 11:30 Dockerfile [2024-05-16T11:37:35.671Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 11:30 GOVERNANCE.md [2024-05-16T11:37:35.671Z] -rw-rw-r-- 1 jenkins jenkins 660 May 16 11:30 Jenkinsfile [2024-05-16T11:37:35.671Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 16 11:30 LICENSE [2024-05-16T11:37:35.671Z] -rw-rw-r-- 1 jenkins jenkins 1953 May 16 11:30 Makefile [2024-05-16T11:37:35.671Z] -rw-rw-r-- 1 jenkins jenkins 623 May 16 11:30 OWNERS.md [2024-05-16T11:37:35.671Z] -rw-rw-r-- 1 jenkins jenkins 4103 May 16 11:30 README.md [2024-05-16T11:37:35.671Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 11:28 VERSION [2024-05-16T11:37:35.671Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 11:30 bin [2024-05-16T11:37:35.671Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 11:30 cmd [2024-05-16T11:37:35.671Z] -rw-r--r-- 1 jenkins jenkins 43063 May 16 11:36 coverage.out [2024-05-16T11:37:35.671Z] -rw-rw-r-- 1 jenkins jenkins 6985 May 16 11:30 go.mod [2024-05-16T11:37:35.671Z] -rw-rw-r-- 1 jenkins jenkins 101177 May 16 11:30 go.sum [2024-05-16T11:37:35.671Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 11:30 internal [2024-05-16T11:37:35.671Z] -rw-rw-r-- 1 jenkins jenkins 235 May 16 11:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T11:37:36.112Z] + 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=3e8e27f2c24b954fe903df5a2e85b791fc4c9775 --label arch=arm64 --label version=0.0.0 . [2024-05-16T11:37:36.701Z] Sending build context to Docker daemon 19.07MB [2024-05-16T11:37:36.701Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T11:37:36.701Z] Step 2/26 : FROM ${BASE} AS builder [2024-05-16T11:37:36.701Z] ---> d2ef590071d7 [2024-05-16T11:37:36.701Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-16T11:37:36.967Z] ---> Running in 9c45e089846f [2024-05-16T11:37:37.232Z] Removing intermediate container 9c45e089846f [2024-05-16T11:37:37.232Z] ---> 039d1a21e7ab [2024-05-16T11:37:37.232Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-05-16T11:37:37.232Z] ---> Running in 4268a7ca551f [2024-05-16T11:37:37.497Z] Removing intermediate container 4268a7ca551f [2024-05-16T11:37:37.497Z] ---> 5d8bcc6b1464 [2024-05-16T11:37:37.497Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-05-16T11:37:37.769Z] ---> Running in 63307bc5206c [2024-05-16T11:37:38.036Z] Removing intermediate container 63307bc5206c [2024-05-16T11:37:38.036Z] ---> 5bc778e53e97 [2024-05-16T11:37:38.036Z] Step 6/26 : WORKDIR /device-virtual-go [2024-05-16T11:37:38.036Z] ---> Running in da8c7a8ccd03 [2024-05-16T11:37:38.303Z] Removing intermediate container da8c7a8ccd03 [2024-05-16T11:37:38.303Z] ---> dbc985df74fe [2024-05-16T11:37:38.303Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-16T11:37:38.303Z] ---> Running in e3779dde5580 [2024-05-16T11:37:39.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T11:37:39.846Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T11:37:40.803Z] OK: 271 MiB in 56 packages [2024-05-16T11:37:41.773Z] Removing intermediate container e3779dde5580 [2024-05-16T11:37:41.773Z] ---> 72760e31a0f7 [2024-05-16T11:37:41.773Z] Step 8/26 : COPY go.mod vendor* ./ [2024-05-16T11:37:42.042Z] ---> bf907fb48071 [2024-05-16T11:37:42.042Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T11:37:42.042Z] ---> Running in 550d0ca76b16 [2024-05-16T11:37:44.633Z] Removing intermediate container 550d0ca76b16 [2024-05-16T11:37:44.633Z] ---> fe923aee2b94 [2024-05-16T11:37:44.633Z] Step 10/26 : COPY . . [2024-05-16T11:37:46.041Z] ---> 22ec37cfc498 [2024-05-16T11:37:46.041Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-16T11:37:46.041Z] ---> Running in ef9d63ed20ff [2024-05-16T11:37:46.041Z] Removing intermediate container ef9d63ed20ff [2024-05-16T11:37:46.041Z] ---> ae27fb717703 [2024-05-16T11:37:46.041Z] Step 12/26 : RUN $MAKE [2024-05-16T11:37:46.315Z] ---> Running in 15ec82f2297e [2024-05-16T11:37:47.281Z] 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.13" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-05-16T11:41:09.032Z] Removing intermediate container 15ec82f2297e [2024-05-16T11:41:09.032Z] ---> 6a56c0d4a93e [2024-05-16T11:41:09.032Z] Step 13/26 : FROM alpine:3.18 [2024-05-16T11:41:09.032Z] 3.18: Pulling from library/alpine [2024-05-16T11:41:09.032Z] c6b39de5b339: Already exists [2024-05-16T11:41:09.032Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-16T11:41:09.032Z] Status: Downloaded newer image for alpine:3.18 [2024-05-16T11:41:09.032Z] ---> 33abbf032149 [2024-05-16T11:41:09.032Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-05-16T11:41:09.032Z] ---> Running in e884cef584ea [2024-05-16T11:41:09.032Z] Removing intermediate container e884cef584ea [2024-05-16T11:41:09.032Z] ---> d482a168a558 [2024-05-16T11:41:09.032Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-05-16T11:41:09.032Z] ---> Running in a4564fcf48dc [2024-05-16T11:41:09.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T11:41:09.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T11:41:09.032Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-16T11:41:09.032Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T11:41:09.032Z] OK: 8 MiB in 16 packages [2024-05-16T11:41:09.032Z] Removing intermediate container a4564fcf48dc [2024-05-16T11:41:09.032Z] ---> 07f54ccbb657 [2024-05-16T11:41:09.032Z] Step 16/26 : RUN apk --no-cache upgrade [2024-05-16T11:41:09.032Z] ---> Running in e605073632e4 [2024-05-16T11:41:09.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T11:41:09.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T11:41:09.032Z] Upgrading critical system libraries and apk-tools: [2024-05-16T11:41:09.032Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-16T11:41:09.032Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T11:41:09.032Z] Continuing the upgrade transaction with new apk-tools: [2024-05-16T11:41:09.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T11:41:09.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T11:41:09.032Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-16T11:41:09.032Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-16T11:41:09.032Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-16T11:41:09.032Z] OK: 8 MiB in 16 packages [2024-05-16T11:41:09.032Z] Removing intermediate container e605073632e4 [2024-05-16T11:41:09.032Z] ---> 75a762bbcc17 [2024-05-16T11:41:09.032Z] Step 17/26 : WORKDIR / [2024-05-16T11:41:09.032Z] ---> Running in ecd77336b60d [2024-05-16T11:41:09.032Z] Removing intermediate container ecd77336b60d [2024-05-16T11:41:09.032Z] ---> 654f7df07c13 [2024-05-16T11:41:09.032Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-05-16T11:41:09.032Z] ---> 29dc16da6c24 [2024-05-16T11:41:09.032Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-05-16T11:41:09.032Z] ---> e6efdf808c90 [2024-05-16T11:41:09.032Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-05-16T11:41:09.032Z] ---> 46e277398b0b [2024-05-16T11:41:09.032Z] Step 21/26 : EXPOSE 59900 [2024-05-16T11:41:09.032Z] ---> Running in a730ff23a6ce [2024-05-16T11:41:09.300Z] Removing intermediate container a730ff23a6ce [2024-05-16T11:41:09.300Z] ---> bdc733915a9b [2024-05-16T11:41:09.300Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-05-16T11:41:09.566Z] ---> Running in b4bdd996af73 [2024-05-16T11:41:09.830Z] Removing intermediate container b4bdd996af73 [2024-05-16T11:41:09.830Z] ---> 4ad024d0f7f3 [2024-05-16T11:41:09.830Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-16T11:41:09.830Z] ---> Running in 5f3f94a9ba1d [2024-05-16T11:41:10.095Z] Removing intermediate container 5f3f94a9ba1d [2024-05-16T11:41:10.095Z] ---> 16384de1ce1e [2024-05-16T11:41:10.095Z] Step 24/26 : LABEL arch=arm64 [2024-05-16T11:41:10.095Z] ---> Running in e2a9ba501459 [2024-05-16T11:41:10.360Z] Removing intermediate container e2a9ba501459 [2024-05-16T11:41:10.360Z] ---> 9633e4c48610 [2024-05-16T11:41:10.360Z] Step 25/26 : LABEL git_sha=3e8e27f2c24b954fe903df5a2e85b791fc4c9775 [2024-05-16T11:41:10.627Z] ---> Running in 9fa11282d16c [2024-05-16T11:41:10.892Z] Removing intermediate container 9fa11282d16c [2024-05-16T11:41:10.892Z] ---> 31937cdce5fe [2024-05-16T11:41:10.892Z] Step 26/26 : LABEL version=0.0.0 [2024-05-16T11:41:10.892Z] ---> Running in 3390ea0585d5 [2024-05-16T11:41:11.158Z] Removing intermediate container 3390ea0585d5 [2024-05-16T11:41:11.158Z] ---> 5d795f8dc1ca [2024-05-16T11:41:11.158Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-16T11:41:11.158Z] Successfully built 5d795f8dc1ca [2024-05-16T11:41:11.158Z] 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T11:41:12.131Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-16T11:41:12.131Z] [2024-05-16T11:41:12.131Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T11:41:12.560Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-16T11:41:12.560Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-16T11:41:12.560Z] 8998bd30e6a1: Pulling fs layer [2024-05-16T11:41:12.560Z] 04944245beec: Pulling fs layer [2024-05-16T11:41:12.560Z] 699f458cf7ca: Pulling fs layer [2024-05-16T11:41:12.560Z] 765212b225bb: Pulling fs layer [2024-05-16T11:41:12.560Z] f23df028b6ca: Pulling fs layer [2024-05-16T11:41:12.560Z] d65c8cfc05b1: Pulling fs layer [2024-05-16T11:41:12.560Z] 2437ff75d9bd: Pulling fs layer [2024-05-16T11:41:12.560Z] f23df028b6ca: Waiting [2024-05-16T11:41:12.560Z] d65c8cfc05b1: Waiting [2024-05-16T11:41:12.560Z] 2437ff75d9bd: Waiting [2024-05-16T11:41:12.560Z] 765212b225bb: Waiting [2024-05-16T11:41:12.829Z] 04944245beec: Verifying Checksum [2024-05-16T11:41:12.829Z] 04944245beec: Download complete [2024-05-16T11:41:12.829Z] 765212b225bb: Verifying Checksum [2024-05-16T11:41:12.829Z] 765212b225bb: Download complete [2024-05-16T11:41:12.829Z] f23df028b6ca: Verifying Checksum [2024-05-16T11:41:12.829Z] f23df028b6ca: Download complete [2024-05-16T11:41:12.829Z] d65c8cfc05b1: Verifying Checksum [2024-05-16T11:41:12.829Z] d65c8cfc05b1: Download complete [2024-05-16T11:41:13.096Z] 699f458cf7ca: Verifying Checksum [2024-05-16T11:41:13.096Z] 699f458cf7ca: Download complete [2024-05-16T11:41:13.364Z] 8998bd30e6a1: Download complete [2024-05-16T11:41:15.948Z] 2437ff75d9bd: Verifying Checksum [2024-05-16T11:41:15.948Z] 2437ff75d9bd: Download complete [2024-05-16T11:41:17.890Z] 8998bd30e6a1: Pull complete [2024-05-16T11:41:18.475Z] 04944245beec: Pull complete [2024-05-16T11:41:20.416Z] 699f458cf7ca: Pull complete [2024-05-16T11:41:20.416Z] 765212b225bb: Pull complete [2024-05-16T11:41:20.999Z] f23df028b6ca: Pull complete [2024-05-16T11:41:21.265Z] d65c8cfc05b1: Pull complete [2024-05-16T11:41:39.468Z] 2437ff75d9bd: Pull complete [2024-05-16T11:41:39.468Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-16T11:41:39.468Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-16T11:41:39.468Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T11:41:39.821Z] prd-ubuntu20.04-docker-arm64-4c-16g-283 does not seem to be running inside a container [2024-05-16T11:41:39.962Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-05-16T11:41:42.651Z] $ docker top e9df423d9b8b8c9ff41e13698abac35ca964053732d2137e6ee8bf6a86a23b60 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T11:41:43.275Z] ---> job-cost.sh [2024-05-16T11:41:43.552Z] lf-activate-venv: SKIPPING [2024-05-16T11:41:43.552Z] INFO: No Stack... [2024-05-16T11:41:43.823Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-16T11:41:44.798Z] INFO: Archiving Costs [Pipeline] sh [2024-05-16T11:41:45.143Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2024-05-16T11:41:45.143Z] + cut -d, -f6 [Pipeline] lock [2024-05-16T11:41:45.489Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-470-1-stack-cost] [2024-05-16T11:41:45.494Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-470-1-stack-cost] did not exist. Created. [2024-05-16T11:41:45.504Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-470-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-16T11:41:46.246Z] /w/workspace/device-virtual-go/1@tmp/durable-2ea5970c/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-16T11:41:46.917Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-16T11:41:46.959Z] Warning: overwriting stash ‘stack-cost’ [2024-05-16T11:41:47.001Z] Stashed 1 file(s) [Pipeline] } [2024-05-16T11:41:47.022Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-470-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-16T11:41:47.125Z] $ docker stop --time=1 e9df423d9b8b8c9ff41e13698abac35ca964053732d2137e6ee8bf6a86a23b60 [2024-05-16T11:41:48.584Z] $ docker rm -f --volumes e9df423d9b8b8c9ff41e13698abac35ca964053732d2137e6ee8bf6a86a23b60 [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-05-16T11:41:49.784Z] provisioning config files... [2024-05-16T11:41:49.793Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-470@tmp/config11814932961245188390tmp [Pipeline] { [Pipeline] sh [2024-05-16T11:41:50.146Z] + set +x [2024-05-16T11:41:50.146Z] + bash -s -- [2024-05-16T11:41:50.146Z] + curl -s https://codecov.io/bash [2024-05-16T11:41:50.146Z] [2024-05-16T11:41:50.146Z] _____ _ [2024-05-16T11:41:50.146Z] / ____| | | [2024-05-16T11:41:50.146Z] | | ___ __| | ___ ___ _____ __ [2024-05-16T11:41:50.146Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-16T11:41:50.146Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-16T11:41:50.146Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-16T11:41:50.146Z] Bash-1.0.6 [2024-05-16T11:41:50.146Z] [2024-05-16T11:41:50.146Z] [2024-05-16T11:41:50.146Z] ==> git version 2.25.1 found [2024-05-16T11:41:50.146Z] ==> 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-05-16T11:41:50.146Z] Release-Date: 2020-01-08 [2024-05-16T11:41:50.146Z] 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-05-16T11:41:50.146Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-16T11:41:50.146Z] ==> Jenkins CI detected. [2024-05-16T11:41:50.146Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-470 [2024-05-16T11:41:50.146Z] project root: . [2024-05-16T11:41:50.146Z] --> token set from env [2024-05-16T11:41:50.146Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-05-16T11:41:50.146Z] ==> Running gcov in . (disable via -X gcov) [2024-05-16T11:41:50.146Z] ==> Python coveragepy not found [2024-05-16T11:41:50.146Z] ==> Searching for coverage reports in: [2024-05-16T11:41:50.146Z] + . [2024-05-16T11:41:50.146Z] -> Found 1 reports [2024-05-16T11:41:50.146Z] ==> Detecting git/mercurial file structure [2024-05-16T11:41:50.406Z] ==> Reading reports [2024-05-16T11:41:50.406Z] + ./coverage.out bytes=43063 [2024-05-16T11:41:50.406Z] ==> Appending adjustments [2024-05-16T11:41:50.406Z] https://docs.codecov.io/docs/fixing-reports [2024-05-16T11:41:50.406Z] + Found adjustments [2024-05-16T11:41:50.406Z] ==> Gzipping contents [2024-05-16T11:41:50.406Z] 8.0K /tmp/codecov.abC9DI.gz [2024-05-16T11:41:50.406Z] ==> Uploading reports [2024-05-16T11:41:50.406Z] url: https://codecov.io [2024-05-16T11:41:50.406Z] query: branch=PR-470&commit=3e8e27f2c24b954fe903df5a2e85b791fc4c9775&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-470%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=470&job=&cmd_args= [2024-05-16T11:41:50.406Z] -> Pinging Codecov [2024-05-16T11:41:50.406Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-470&commit=3e8e27f2c24b954fe903df5a2e85b791fc4c9775&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-470%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=470&job=&cmd_args= [2024-05-16T11:41:50.665Z] -> Uploading to [2024-05-16T11:41:50.665Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-16/5E52B4B073DB2E39498172D8E973AA87/3e8e27f2c24b954fe903df5a2e85b791fc4c9775/2f7dbab1-f117-45d9-ba7f-b2d266d8c35b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240516%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240516T114150Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0d1aba64321bc0c9bd0bd9bc9f1723fe1e754be7b4c05b64290bc3b5df9868fe [2024-05-16T11:41:50.665Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-16T11:41:50.665Z] Dload Upload Total Spent Left Speed [2024-05-16T11:41:50.924Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 22615 --:--:-- --:--:-- --:--:-- 22513 100 4998 0 0 100 4998 0 20652 --:--:-- --:--:-- --:--:-- 20567 [2024-05-16T11:41:50.924Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/3e8e27f2c24b954fe903df5a2e85b791fc4c9775 [Pipeline] } [2024-05-16T11:41:50.957Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [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-05-16T11:41:53.306Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-470/archives ] [2024-05-16T11:41:53.306Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-470/archives [2024-05-16T11:41:53.306Z] total 16 [2024-05-16T11:41:53.306Z] drwxr-xr-x 3 root root 4096 May 16 11:30 . [2024-05-16T11:41:53.306Z] drwxrwxr-x 9 jenkins jenkins 4096 May 16 11:30 .. [2024-05-16T11:41:53.306Z] drwxr-xr-x 2 root root 4096 May 16 11:30 cost [2024-05-16T11:41:53.306Z] -rw-r--r-- 1 root root 89 May 16 11:30 cost.csv [2024-05-16T11:41:53.306Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-470/archives [2024-05-16T11:41:53.306Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-470/archives [2024-05-16T11:41:53.306Z] total 16 [2024-05-16T11:41:53.306Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 11:30 . [2024-05-16T11:41:53.306Z] drwxrwxr-x 9 jenkins jenkins 4096 May 16 11:30 .. [2024-05-16T11:41:53.306Z] drwxr-xr-x 2 jenkins jenkins 4096 May 16 11:30 cost [2024-05-16T11:41:53.306Z] -rw-r--r-- 1 jenkins jenkins 89 May 16 11:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-16T11:41:53.643Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T11:41:54.553Z] ---> package-listing.sh [2024-05-16T11:41:54.553Z] ++ facter osfamily [2024-05-16T11:41:54.553Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-16T11:41:54.811Z] + OS_FAMILY=debian [2024-05-16T11:41:54.811Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-470 [2024-05-16T11:41:54.811Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-16T11:41:54.811Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-16T11:41:54.811Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-16T11:41:54.811Z] + PACKAGES=/tmp/packages_start.txt [2024-05-16T11:41:54.811Z] + '[' /w/workspace/foundry_device-virtual-go_PR-470 ']' [2024-05-16T11:41:54.811Z] + PACKAGES=/tmp/packages_end.txt [2024-05-16T11:41:54.811Z] + case "${OS_FAMILY}" in [2024-05-16T11:41:54.811Z] + dpkg -l [2024-05-16T11:41:54.811Z] + grep '^ii' [2024-05-16T11:41:54.811Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-16T11:41:54.811Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-16T11:41:54.811Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-16T11:41:54.811Z] + '[' /w/workspace/foundry_device-virtual-go_PR-470 ']' [2024-05-16T11:41:54.811Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-470/archives/ [2024-05-16T11:41:54.811Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-470/archives/ [Pipeline] echo [2024-05-16T11:41:54.856Z] 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-470/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-16T11:41:55.157Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T11:41:55.802Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T11:41:55.802Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T11:41:55.984Z] prd-ubuntu20.04-docker-8c-8g-282 does not seem to be running inside a container [2024-05-16T11:41:56.010Z] $ 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-470/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-470 -v /w/workspace/foundry_device-virtual-go_PR-470:/w/workspace/foundry_device-virtual-go_PR-470:rw,z -v /w/workspace/foundry_device-virtual-go_PR-470@tmp:/w/workspace/foundry_device-virtual-go_PR-470@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-05-16T11:41:56.231Z] $ docker top 41616e024c8bae6287a456cdc394d4a5ba4937ff5bf761dacca783fadfaf84f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T11:41:56.640Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-16T11:41:56.957Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-16T11:41:57.276Z] + ls /var/log/sa-host [2024-05-16T11:41:57.276Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-16T11:41:57.524Z] provisioning config files... [2024-05-16T11:41:57.534Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-470@tmp/config10467369502476115152tmp [Pipeline] { [Pipeline] echo [2024-05-16T11:41:57.607Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T11:41:57.989Z] ---> create-netrc.sh [Pipeline] } [2024-05-16T11:41:58.022Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-16T11:41:58.538Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-16T11:41:58.584Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T11:41:58.923Z] ---> sudo-logs.sh [2024-05-16T11:41:58.923Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-16T11:41:59.031Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T11:41:59.353Z] ---> job-cost.sh [2024-05-16T11:41:59.353Z] lf-activate-venv: SKIPPING [2024-05-16T11:41:59.353Z] DEBUG: total: 0.2199999988079071 [2024-05-16T11:41:59.353Z] INFO: Retrieving Stack Cost... [2024-05-16T11:41:59.613Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-16T11:42:00.181Z] INFO: Archiving Costs [Pipeline] echo [2024-05-16T11:42:00.224Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T11:42:00.552Z] ---> logs-deploy.sh [2024-05-16T11:42:00.552Z] lf-activate-venv: SKIPPING [2024-05-16T11:42:00.552Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-470/1 [2024-05-16T11:42:00.552Z] INFO: archiving workspace using pattern(s): [2024-05-16T11:42:01.492Z] Archives upload complete. [2024-05-16T11:42:01.493Z] INFO: archiving logs to Nexus