Pull request #474 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2404411371f062037d1ada821faca8080a127271+5d512c18d1c7b78db7dd773bf8816c37bfaa059e (d9d02e642b46bb12a184e237aa5813b5fe5db27c) 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-ssh4757324298786221558.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh3403950912830347079.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 590556114a56c6d90cc8043840e039c2f74196dc 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-474/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-474/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2192207406416217581.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-474/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16842674470688523769.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh10861401222161425378.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-474/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-474/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8576453615892637382.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 590556114a56c6d90cc8043840e039c2f74196dc Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-4701’ is offline Running on prd-ubuntu20.04-docker-8c-8g-4707 in /w/workspace/foundry_device-virtual-go_PR-474 [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-474 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 5d512c18d1c7b78db7dd773bf8816c37bfaa059e into PR head commit 2404411371f062037d1ada821faca8080a127271 Merge succeeded, producing 2404411371f062037d1ada821faca8080a127271 Checking out Revision 2404411371f062037d1ada821faca8080a127271 (PR-474) Commit message: "build(deps): Bump github.com/gorilla/schema from 1.2.0 to 1.4.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > 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/474/head:refs/remotes/origin/PR-474 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2404411371f062037d1ada821faca8080a127271 # 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 5d512c18d1c7b78db7dd773bf8816c37bfaa059e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2404411371f062037d1ada821faca8080a127271 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-01T20:41:14.538Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-01T20:41:14.757Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-01T20:41:14.870Z] ========================================================= [2024-07-01T20:41:14.870Z] EdgeX Global Pipelines Version Info [2024-07-01T20:41:14.870Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-01T20:41:15.621Z] ------------------- [2024-07-01T20:41:15.621Z] stable info: [2024-07-01T20:41:15.621Z] ------------------- [2024-07-01T20:41:15.621Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-01T20:41:15.621Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-01T20:41:15.621Z] Message: update stable to v1.0.260 [2024-07-01T20:41:16.189Z] ------------------- [2024-07-01T20:41:16.189Z] experimental info: [2024-07-01T20:41:16.189Z] ------------------- [2024-07-01T20:41:16.189Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-01T20:41:16.189Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-01T20:41:16.189Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-01T20:41:16.410Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2024-07-01T20:41:16.480Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2024-07-01T20:41:16.539Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-01T20:41:16.593Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-01T20:41:16.647Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-01T20:41:16.706Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-01T20:41:16.768Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-01T20:41:16.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-01T20:41:16.889Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-01T20:41:16.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-01T20:41:17.021Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-01T20:41:17.089Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2024-07-01T20:41:17.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-01T20:41:17.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-01T20:41:17.272Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-01T20:41:17.361Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-01T20:41:17.425Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-01T20:41:17.484Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-01T20:41:17.551Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-01T20:41:17.610Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-01T20:41:17.671Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-01T20:41:17.739Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-01T20:41:17.796Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-01T20:41:17.854Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-01T20:41:17.920Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-01T20:41:17.977Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-01T20:41:18.036Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-01T20:41:18.095Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-474 [Pipeline] echo [2024-07-01T20:41:18.173Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-474 [Pipeline] echo [2024-07-01T20:41:18.235Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-474 [Pipeline] echo [2024-07-01T20:41:18.299Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2404411371f062037d1ada821faca8080a127271 [Pipeline] echo [2024-07-01T20:41:18.363Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2404411 [Pipeline] echo [2024-07-01T20:41:18.429Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-01T20:41:18.635Z] provisioning config files... [2024-07-01T20:41:18.672Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-474@tmp/config16790679085595318922tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-01T20:41:19.058Z] ---> ****-login.sh [2024-07-01T20:41:19.058Z] nexus3.edgexfoundry.org:10001 [2024-07-01T20:41:19.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:41:19.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:41:19.319Z] Configure a credential helper to remove this warning. See [2024-07-01T20:41:19.319Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:41:19.319Z] [2024-07-01T20:41:19.319Z] Login Succeeded [2024-07-01T20:41:19.319Z] nexus3.edgexfoundry.org:10002 [2024-07-01T20:41:19.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:41:19.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:41:19.319Z] Configure a credential helper to remove this warning. See [2024-07-01T20:41:19.319Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:41:19.319Z] [2024-07-01T20:41:19.319Z] Login Succeeded [2024-07-01T20:41:19.320Z] nexus3.edgexfoundry.org:10003 [2024-07-01T20:41:19.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:41:19.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:41:19.579Z] Configure a credential helper to remove this warning. See [2024-07-01T20:41:19.579Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:41:19.579Z] [2024-07-01T20:41:19.579Z] Login Succeeded [2024-07-01T20:41:19.579Z] nexus3.edgexfoundry.org:10004 [2024-07-01T20:41:19.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:41:19.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:41:19.886Z] Configure a credential helper to remove this warning. See [2024-07-01T20:41:19.886Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:41:19.886Z] [2024-07-01T20:41:19.886Z] Login Succeeded [2024-07-01T20:41:19.886Z] ****.io [2024-07-01T20:41:19.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:41:20.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:41:20.149Z] Configure a credential helper to remove this warning. See [2024-07-01T20:41:20.149Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:41:20.149Z] [2024-07-01T20:41:20.149Z] Login Succeeded [2024-07-01T20:41:20.149Z] ---> ****-login.sh ends [Pipeline] } [2024-07-01T20:41:20.187Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-01T20:41:20.884Z] + git rev-list -1 --merges 2404411371f062037d1ada821faca8080a127271~1..2404411371f062037d1ada821faca8080a127271 [Pipeline] echo [2024-07-01T20:41:20.940Z] -----------> git rev-list -1 --merges 2404411371f062037d1ada821faca8080a127271~1..2404411371f062037d1ada821faca8080a127271 2404411371f062037d1ada821faca8080a127271 [false] [Pipeline] sh [2024-07-01T20:41:21.273Z] + git log --format=format:%s -1 2404411371f062037d1ada821faca8080a127271 [Pipeline] echo [2024-07-01T20:41:21.325Z] ========================================================= [2024-07-01T20:41:21.326Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-01T20:41:21.326Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-01T20:41:21.848Z] + git log --format=format:%s -1 2404411371f062037d1ada821faca8080a127271 [Pipeline] echo [2024-07-01T20:41:21.898Z] [semverPrep] GIT_COMMIT: 2404411371f062037d1ada821faca8080a127271, Commit Message: build(deps): Bump github.com/gorilla/schema from 1.2.0 to 1.4.1 [Pipeline] echo [2024-07-01T20:41:21.950Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-01T20:41:22.352Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-01T20:41:22.352Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-01T20:41:22.352Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-01T20:41:22.352Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-01T20:41:22.352Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-01T20:41:22.352Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-01T20:41:22.352Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T20:41:22.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-01T20:41:22.812Z] [2024-07-01T20:41:22.812Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T20:41:23.209Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-01T20:41:23.209Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-01T20:41:23.209Z] b85a868b505f: Pulling fs layer [2024-07-01T20:41:23.209Z] e2be974225ed: Pulling fs layer [2024-07-01T20:41:23.209Z] 339a4e72a1f5: Pulling fs layer [2024-07-01T20:41:23.209Z] 988bab9f4d93: Pulling fs layer [2024-07-01T20:41:23.209Z] 1469e6f7b9e6: Pulling fs layer [2024-07-01T20:41:23.209Z] eaf3925da568: Pulling fs layer [2024-07-01T20:41:23.209Z] bab4dde63d76: Pulling fs layer [2024-07-01T20:41:23.209Z] bde34c3a00c8: Pulling fs layer [2024-07-01T20:41:23.209Z] b352a97aabf1: Pulling fs layer [2024-07-01T20:41:23.209Z] 4872d77fe225: Pulling fs layer [2024-07-01T20:41:23.209Z] 988bab9f4d93: Waiting [2024-07-01T20:41:23.209Z] 1469e6f7b9e6: Waiting [2024-07-01T20:41:23.209Z] 5851b861e8e6: Pulling fs layer [2024-07-01T20:41:23.209Z] eaf3925da568: Waiting [2024-07-01T20:41:23.209Z] b352a97aabf1: Waiting [2024-07-01T20:41:23.209Z] bde34c3a00c8: Waiting [2024-07-01T20:41:23.209Z] 4872d77fe225: Waiting [2024-07-01T20:41:23.209Z] 5851b861e8e6: Waiting [2024-07-01T20:41:23.209Z] e2be974225ed: Download complete [2024-07-01T20:41:23.209Z] 988bab9f4d93: Verifying Checksum [2024-07-01T20:41:23.209Z] 988bab9f4d93: Download complete [2024-07-01T20:41:23.469Z] 1469e6f7b9e6: Verifying Checksum [2024-07-01T20:41:23.469Z] 1469e6f7b9e6: Download complete [2024-07-01T20:41:23.469Z] eaf3925da568: Download complete [2024-07-01T20:41:23.469Z] 339a4e72a1f5: Verifying Checksum [2024-07-01T20:41:23.469Z] 339a4e72a1f5: Download complete [2024-07-01T20:41:23.469Z] bde34c3a00c8: Download complete [2024-07-01T20:41:23.469Z] b352a97aabf1: Download complete [2024-07-01T20:41:23.469Z] 4872d77fe225: Download complete [2024-07-01T20:41:23.469Z] 5851b861e8e6: Verifying Checksum [2024-07-01T20:41:23.469Z] 5851b861e8e6: Download complete [2024-07-01T20:41:23.727Z] b85a868b505f: Verifying Checksum [2024-07-01T20:41:23.727Z] b85a868b505f: Download complete [2024-07-01T20:41:23.986Z] bab4dde63d76: Verifying Checksum [2024-07-01T20:41:23.986Z] bab4dde63d76: Download complete [2024-07-01T20:41:24.922Z] b85a868b505f: Pull complete [2024-07-01T20:41:25.183Z] e2be974225ed: Pull complete [2024-07-01T20:41:25.748Z] 339a4e72a1f5: Pull complete [2024-07-01T20:41:25.748Z] 988bab9f4d93: Pull complete [2024-07-01T20:41:26.009Z] 1469e6f7b9e6: Pull complete [2024-07-01T20:41:26.009Z] eaf3925da568: Pull complete [2024-07-01T20:41:27.916Z] bab4dde63d76: Pull complete [2024-07-01T20:41:27.916Z] bde34c3a00c8: Pull complete [2024-07-01T20:41:28.175Z] b352a97aabf1: Pull complete [2024-07-01T20:41:28.176Z] 4872d77fe225: Pull complete [2024-07-01T20:41:28.176Z] 5851b861e8e6: Pull complete [2024-07-01T20:41:28.435Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-01T20:41:28.435Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-01T20:41:28.435Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-01T20:41:28.780Z] prd-ubuntu20.04-docker-8c-8g-4707 does not seem to be running inside a container [2024-07-01T20:41:28.806Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-474 -v /w/workspace/foundry_device-virtual-go_PR-474:/w/workspace/foundry_device-virtual-go_PR-474:rw,z -v /w/workspace/foundry_device-virtual-go_PR-474@tmp:/w/workspace/foundry_device-virtual-go_PR-474@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-07-01T20:41:33.834Z] $ docker top 6448bb7cff466ad70b4a8434760622ec066df7cc25c58080b0b736d466dbead7 -eo pid,comm [2024-07-01T20:41:33.891Z] 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-07-01T20:41:33.891Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-01T20:41:34.101Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-01T20:41:34.101Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-01T20:41:34.214Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-01T20:41:34.214Z] $ docker exec 6448bb7cff466ad70b4a8434760622ec066df7cc25c58080b0b736d466dbead7 ssh-agent [2024-07-01T20:41:34.323Z] SSH_AUTH_SOCK=/tmp/ssh-4kIDJ3cPw2WQ/agent.32 [2024-07-01T20:41:34.323Z] SSH_AGENT_PID=38 [2024-07-01T20:41:34.329Z] Running ssh-add (command line suppressed) [2024-07-01T20:41:34.432Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-474@tmp/private_key_11115886237258578472.key (/w/workspace/foundry_device-virtual-go_PR-474@tmp/private_key_11115886237258578472.key) [2024-07-01T20:41:34.458Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-01T20:41:34.817Z] + git tag --points-at HEAD [Pipeline] } [2024-07-01T20:41:34.843Z] $ docker exec --env ******** --env ******** 6448bb7cff466ad70b4a8434760622ec066df7cc25c58080b0b736d466dbead7 ssh-agent -k [2024-07-01T20:41:34.936Z] unset SSH_AUTH_SOCK; [2024-07-01T20:41:34.937Z] unset SSH_AGENT_PID; [2024-07-01T20:41:34.937Z] echo Agent pid 38 killed; [2024-07-01T20:41:34.951Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-01T20:41:35.073Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-01T20:41:35.073Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-01T20:41:35.180Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-01T20:41:35.180Z] $ docker exec 6448bb7cff466ad70b4a8434760622ec066df7cc25c58080b0b736d466dbead7 ssh-agent [2024-07-01T20:41:35.301Z] SSH_AUTH_SOCK=/tmp/ssh-Ejpcp4qtJmDR/agent.71 [2024-07-01T20:41:35.301Z] SSH_AGENT_PID=77 [2024-07-01T20:41:35.307Z] Running ssh-add (command line suppressed) [2024-07-01T20:41:35.399Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-474@tmp/private_key_3505770293494926745.key (/w/workspace/foundry_device-virtual-go_PR-474@tmp/private_key_3505770293494926745.key) [2024-07-01T20:41:35.415Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-01T20:41:35.761Z] + git semver init [2024-07-01T20:41:36.019Z] 2024-07-01 20:41:35,922 [run_init] DEBUG init version:0.0.0 force:False [2024-07-01T20:41:36.019Z] 2024-07-01 20:41:35,923 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-474/.semver [2024-07-01T20:41:36.019Z] 2024-07-01 20:41:35,923 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-474/.semver [2024-07-01T20:41:36.019Z] 2024-07-01 20:41:35,923 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-474/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-474, universal_newlines=False, shell=None, istream=None) [2024-07-01T20:41:38.552Z] 2024-07-01 20:41:37,957 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-474/.git/info/exclude [2024-07-01T20:41:38.552Z] 2024-07-01 20:41:37,957 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-474/.semver/PR-474 with force:False [2024-07-01T20:41:38.552Z] 2024-07-01 20:41:37,958 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-474/.semver/PR-474 [2024-07-01T20:41:38.552Z] 2024-07-01 20:41:37,962 [execute] INFO git cat-file --batch-check [2024-07-01T20:41:38.552Z] 2024-07-01 20:41:37,962 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-474/.semver, universal_newlines=False, shell=None, istream=) [2024-07-01T20:41:38.552Z] 2024-07-01 20:41:37,968 [execute] INFO git cat-file --batch [2024-07-01T20:41:38.552Z] 2024-07-01 20:41:37,968 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-474/.semver, universal_newlines=False, shell=None, istream=) [2024-07-01T20:41:38.552Z] 2024-07-01 20:41:37,973 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-474/.semver/PR-474 [2024-07-01T20:41:38.552Z] 0.0.0 [Pipeline] } [2024-07-01T20:41:38.577Z] $ docker exec --env ******** --env ******** 6448bb7cff466ad70b4a8434760622ec066df7cc25c58080b0b736d466dbead7 ssh-agent -k [2024-07-01T20:41:38.682Z] unset SSH_AUTH_SOCK; [2024-07-01T20:41:38.682Z] unset SSH_AGENT_PID; [2024-07-01T20:41:38.682Z] echo Agent pid 77 killed; [2024-07-01T20:41:38.694Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-01T20:41:39.171Z] + git semver [Pipeline] } [2024-07-01T20:41:39.458Z] $ docker stop --time=1 6448bb7cff466ad70b4a8434760622ec066df7cc25c58080b0b736d466dbead7 [2024-07-01T20:41:40.748Z] $ docker rm -f --volumes 6448bb7cff466ad70b4a8434760622ec066df7cc25c58080b0b736d466dbead7 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-01T20:41:41.193Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-01T20:41:41.563Z] Stashed 1 file(s) [Pipeline] echo [2024-07-01T20:41:41.593Z] [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-07-01T20:41:42.355Z] provisioning config files... [2024-07-01T20:41:42.364Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-474@tmp/config14344390315684504195tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-01T20:41:42.746Z] ---> ****-login.sh [2024-07-01T20:41:42.746Z] nexus3.edgexfoundry.org:10001 [2024-07-01T20:41:42.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:41:42.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:41:42.747Z] Configure a credential helper to remove this warning. See [2024-07-01T20:41:42.747Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:41:42.747Z] [2024-07-01T20:41:42.747Z] Login Succeeded [2024-07-01T20:41:42.747Z] nexus3.edgexfoundry.org:10002 [2024-07-01T20:41:42.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:41:43.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:41:43.016Z] Configure a credential helper to remove this warning. See [2024-07-01T20:41:43.016Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:41:43.016Z] [2024-07-01T20:41:43.016Z] Login Succeeded [2024-07-01T20:41:43.016Z] nexus3.edgexfoundry.org:10003 [2024-07-01T20:41:43.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:41:43.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:41:43.016Z] Configure a credential helper to remove this warning. See [2024-07-01T20:41:43.016Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:41:43.016Z] [2024-07-01T20:41:43.016Z] Login Succeeded [2024-07-01T20:41:43.016Z] nexus3.edgexfoundry.org:10004 [2024-07-01T20:41:43.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:41:43.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:41:43.016Z] Configure a credential helper to remove this warning. See [2024-07-01T20:41:43.016Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:41:43.016Z] [2024-07-01T20:41:43.016Z] Login Succeeded [2024-07-01T20:41:43.016Z] ****.io [2024-07-01T20:41:43.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:41:43.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:41:43.276Z] Configure a credential helper to remove this warning. See [2024-07-01T20:41:43.276Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:41:43.276Z] [2024-07-01T20:41:43.276Z] Login Succeeded [2024-07-01T20:41:43.276Z] ---> ****-login.sh ends [Pipeline] } [2024-07-01T20:41:43.308Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-01T20:41:43.586Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-01T20:41:43.657Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-01T20:41:43.704Z] ========================================================= [2024-07-01T20:41:43.704Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-01T20:41:43.704Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T20:41:44.289Z] + 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-07-01T20:41:44.548Z] Sending build context to Docker daemon 37.5MB [2024-07-01T20:41:44.548Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-01T20:41:44.548Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-01T20:41:45.115Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-01T20:41:45.115Z] 619be1103602: Pulling fs layer [2024-07-01T20:41:45.115Z] 7862e08f4a3e: Pulling fs layer [2024-07-01T20:41:45.115Z] 5df492c9dc93: Pulling fs layer [2024-07-01T20:41:45.115Z] 7629e6793208: Pulling fs layer [2024-07-01T20:41:45.115Z] 4f4fb700ef54: Pulling fs layer [2024-07-01T20:41:45.115Z] fb5054dd5b73: Pulling fs layer [2024-07-01T20:41:45.115Z] eeca6798cff9: Pulling fs layer [2024-07-01T20:41:45.115Z] aa269ceb94a6: Pulling fs layer [2024-07-01T20:41:45.115Z] ada007ff1a6a: Pulling fs layer [2024-07-01T20:41:45.115Z] 7629e6793208: Waiting [2024-07-01T20:41:45.115Z] 4f4fb700ef54: Waiting [2024-07-01T20:41:45.115Z] fb5054dd5b73: Waiting [2024-07-01T20:41:45.115Z] eeca6798cff9: Waiting [2024-07-01T20:41:45.115Z] aa269ceb94a6: Waiting [2024-07-01T20:41:45.115Z] ada007ff1a6a: Waiting [2024-07-01T20:41:45.115Z] 7862e08f4a3e: Verifying Checksum [2024-07-01T20:41:45.115Z] 7862e08f4a3e: Download complete [2024-07-01T20:41:45.115Z] 7629e6793208: Verifying Checksum [2024-07-01T20:41:45.115Z] 7629e6793208: Download complete [2024-07-01T20:41:45.115Z] 4f4fb700ef54: Download complete [2024-07-01T20:41:45.115Z] fb5054dd5b73: Download complete [2024-07-01T20:41:45.115Z] 619be1103602: Download complete [2024-07-01T20:41:45.115Z] eeca6798cff9: Verifying Checksum [2024-07-01T20:41:45.115Z] eeca6798cff9: Download complete [2024-07-01T20:41:45.411Z] ada007ff1a6a: Verifying Checksum [2024-07-01T20:41:45.411Z] ada007ff1a6a: Download complete [2024-07-01T20:41:45.411Z] 619be1103602: Pull complete [2024-07-01T20:41:45.671Z] 5df492c9dc93: Verifying Checksum [2024-07-01T20:41:45.672Z] 5df492c9dc93: Download complete [2024-07-01T20:41:45.931Z] 7862e08f4a3e: Pull complete [2024-07-01T20:41:46.194Z] aa269ceb94a6: Verifying Checksum [2024-07-01T20:41:46.194Z] aa269ceb94a6: Download complete [2024-07-01T20:41:51.606Z] 5df492c9dc93: Pull complete [2024-07-01T20:41:51.606Z] 7629e6793208: Pull complete [2024-07-01T20:41:51.606Z] 4f4fb700ef54: Pull complete [2024-07-01T20:41:51.606Z] fb5054dd5b73: Pull complete [2024-07-01T20:41:51.606Z] eeca6798cff9: Pull complete [2024-07-01T20:41:54.894Z] aa269ceb94a6: Pull complete [2024-07-01T20:41:55.833Z] ada007ff1a6a: Pull complete [2024-07-01T20:41:55.833Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-01T20:41:55.833Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-01T20:41:55.833Z] ---> f489d0715acc [2024-07-01T20:41:55.833Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-01T20:41:57.123Z] Still waiting to schedule task [2024-07-01T20:41:57.123Z] ‘prd-centos7-blackbox-4c-2g-4589’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-07-01T20:41:57.123Z] ‘prd-ubuntu18.04-docker-8c-8g-4546’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-07-01T20:41:57.123Z] ‘prd-ubuntu20.04-docker-8c-8g-4712’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-07-01T20:41:57.123Z] ‘prd-ubuntu20.04-docker-8c-8g-4714’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-07-01T20:41:57.124Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-4715’ is offline [2024-07-01T20:42:08.043Z] ---> Running in f5de61ee183b [2024-07-01T20:42:08.043Z] Removing intermediate container f5de61ee183b [2024-07-01T20:42:08.043Z] ---> 2e82d2e6fa1e [2024-07-01T20:42:08.043Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-01T20:42:08.043Z] ---> Running in cac28212a61d [2024-07-01T20:42:08.043Z] Removing intermediate container cac28212a61d [2024-07-01T20:42:08.043Z] ---> 270f849bc833 [2024-07-01T20:42:08.043Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-07-01T20:42:08.043Z] ---> Running in 6a27d07ea34c [2024-07-01T20:42:08.043Z] Removing intermediate container 6a27d07ea34c [2024-07-01T20:42:08.043Z] ---> a3481ecf3180 [2024-07-01T20:42:08.043Z] Step 6/12 : WORKDIR /device-virtual-go [2024-07-01T20:42:08.043Z] ---> Running in 07470d26d9e7 [2024-07-01T20:42:08.043Z] Removing intermediate container 07470d26d9e7 [2024-07-01T20:42:08.043Z] ---> 728dc8550a26 [2024-07-01T20:42:08.043Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-01T20:42:08.043Z] ---> Running in 403125b82db4 [2024-07-01T20:42:08.304Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-01T20:42:08.564Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-01T20:42:08.823Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-07-01T20:42:08.823Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-01T20:42:08.823Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-07-01T20:42:08.823Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-07-01T20:42:08.823Z] Executing busybox-1.36.1-r5.trigger [2024-07-01T20:42:08.823Z] OK: 268 MiB in 56 packages [2024-07-01T20:42:10.761Z] Removing intermediate container 403125b82db4 [2024-07-01T20:42:10.761Z] ---> 75f0fcf84a31 [2024-07-01T20:42:10.761Z] Step 8/12 : COPY go.mod vendor* ./ [2024-07-01T20:42:10.761Z] ---> 05758a20b439 [2024-07-01T20:42:10.761Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-01T20:42:10.761Z] ---> Running in 2bea35ddfc0f [2024-07-01T20:43:47.272Z] Removing intermediate container 2bea35ddfc0f [2024-07-01T20:43:47.272Z] ---> ddcbd5ba52b2 [2024-07-01T20:43:47.272Z] Step 10/12 : COPY . . [2024-07-01T20:43:47.272Z] ---> 88fa443a4aad [2024-07-01T20:43:47.272Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-01T20:43:47.272Z] ---> Running in e9d8d01a9d95 [2024-07-01T20:43:47.272Z] Removing intermediate container e9d8d01a9d95 [2024-07-01T20:43:47.272Z] ---> 71fbfdf6e46f [2024-07-01T20:43:47.272Z] Step 12/12 : RUN $MAKE [2024-07-01T20:43:47.272Z] ---> Running in b674897751ff [2024-07-01T20:43:47.272Z] noop [2024-07-01T20:43:47.272Z] Removing intermediate container b674897751ff [2024-07-01T20:43:47.272Z] ---> 3a35b93478cb [2024-07-01T20:43:47.272Z] Successfully built 3a35b93478cb [2024-07-01T20:43:47.272Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T20:43:47.798Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-01T20:43:47.798Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-01T20:43:47.989Z] prd-ubuntu20.04-docker-8c-8g-4707 does not seem to be running inside a container [2024-07-01T20:43:48.013Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-474 -v /w/workspace/foundry_device-virtual-go_PR-474:/w/workspace/foundry_device-virtual-go_PR-474:rw,z -v /w/workspace/foundry_device-virtual-go_PR-474@tmp:/w/workspace/foundry_device-virtual-go_PR-474@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-07-01T20:43:48.621Z] $ docker top 30562090a033342773dd0b678619473fc8d34f4f109641e72250752df20ae781 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-01T20:43:49.045Z] + go version [2024-07-01T20:43:49.045Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-01T20:43:49.077Z] $ docker stop --time=1 30562090a033342773dd0b678619473fc8d34f4f109641e72250752df20ae781 [2024-07-01T20:43:50.591Z] $ docker rm -f --volumes 30562090a033342773dd0b678619473fc8d34f4f109641e72250752df20ae781 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T20:43:51.449Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-01T20:43:51.449Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-01T20:43:51.630Z] prd-ubuntu20.04-docker-8c-8g-4707 does not seem to be running inside a container [2024-07-01T20:43:51.653Z] $ 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-474 -v /w/workspace/foundry_device-virtual-go_PR-474:/w/workspace/foundry_device-virtual-go_PR-474:rw,z -v /w/workspace/foundry_device-virtual-go_PR-474@tmp:/w/workspace/foundry_device-virtual-go_PR-474@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-07-01T20:43:52.249Z] $ docker top 7f2f2c501da44c7b7dabb19ef478d9d44559b42c00d5b28d0752a4851691cf22 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-01T20:43:52.677Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-474 [Pipeline] fileExists [Pipeline] sh [2024-07-01T20:43:53.073Z] + make test [2024-07-01T20:43:53.073Z] go test ./... -coverprofile=coverage.out [2024-07-01T20:43:57.260Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-07-01T20:44:15.396Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-07-01T20:44:15.396Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.011s coverage: 58.6% of statements [2024-07-01T20:44:27.596Z] go vet ./... [2024-07-01T20:44:31.822Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-01T20:44:32.082Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-01T20:44:32.082Z] ./bin/test-attribution-txt.sh [2024-07-01T20:44:32.082Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-01T20:44:32.082Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-01T20:44:32.083Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-01T20:44:32.083Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-01T20:44:32.128Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-01T20:44:32.159Z] $ docker stop --time=1 7f2f2c501da44c7b7dabb19ef478d9d44559b42c00d5b28d0752a4851691cf22 [2024-07-01T20:44:39.618Z] $ docker rm -f --volumes 7f2f2c501da44c7b7dabb19ef478d9d44559b42c00d5b28d0752a4851691cf22 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-01T20:44:40.315Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-01T20:44:40.407Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-01T20:44:41.046Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-01T20:44:41.365Z] + ls -al . [2024-07-01T20:44:41.365Z] total 268 [2024-07-01T20:44:41.365Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 20:43 . [2024-07-01T20:44:41.365Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 20:41 .. [2024-07-01T20:44:41.365Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 20:44 .git [2024-07-01T20:44:41.365Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 20:41 .github [2024-07-01T20:44:41.365Z] -rw-rw-r-- 1 jenkins jenkins 272 Jul 1 20:41 .gitignore [2024-07-01T20:44:41.365Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 1 20:41 .golangci.yml [2024-07-01T20:44:41.365Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 1 20:41 .semver [2024-07-01T20:44:41.365Z] -rw-rw-r-- 1 jenkins jenkins 9708 Jul 1 20:41 Attribution.txt [2024-07-01T20:44:41.365Z] -rw-rw-r-- 1 jenkins jenkins 15941 Jul 1 20:41 CHANGELOG.md [2024-07-01T20:44:41.365Z] -rw-rw-r-- 1 jenkins jenkins 1755 Jul 1 20:41 Dockerfile [2024-07-01T20:44:41.365Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 1 20:41 GOVERNANCE.md [2024-07-01T20:44:41.365Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 1 20:41 Jenkinsfile [2024-07-01T20:44:41.365Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 1 20:41 LICENSE [2024-07-01T20:44:41.365Z] -rw-rw-r-- 1 jenkins jenkins 1953 Jul 1 20:41 Makefile [2024-07-01T20:44:41.365Z] -rw-rw-r-- 1 jenkins jenkins 623 Jul 1 20:41 OWNERS.md [2024-07-01T20:44:41.365Z] -rw-rw-r-- 1 jenkins jenkins 4103 Jul 1 20:41 README.md [2024-07-01T20:44:41.365Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 1 20:41 VERSION [2024-07-01T20:44:41.365Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 20:41 bin [2024-07-01T20:44:41.365Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 20:41 cmd [2024-07-01T20:44:41.365Z] -rw-r--r-- 1 jenkins jenkins 43063 Jul 1 20:44 coverage.out [2024-07-01T20:44:41.365Z] -rw-rw-r-- 1 jenkins jenkins 6979 Jul 1 20:41 go.mod [2024-07-01T20:44:41.365Z] -rw-rw-r-- 1 jenkins jenkins 101949 Jul 1 20:41 go.sum [2024-07-01T20:44:41.365Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 20:41 internal [2024-07-01T20:44:41.365Z] -rw-rw-r-- 1 jenkins jenkins 235 Jul 1 20:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T20:44:41.796Z] + 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=2404411371f062037d1ada821faca8080a127271 --label arch=amd64 --label version=0.0.0 . [2024-07-01T20:44:42.056Z] Sending build context to Docker daemon 37.54MB [2024-07-01T20:44:42.056Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-01T20:44:42.056Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-01T20:44:42.056Z] ---> 3a35b93478cb [2024-07-01T20:44:42.056Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-01T20:44:42.999Z] ---> Running in 50be1e761287 [2024-07-01T20:44:43.258Z] Removing intermediate container 50be1e761287 [2024-07-01T20:44:43.258Z] ---> 9103d8c4f7c7 [2024-07-01T20:44:43.258Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-01T20:44:43.521Z] ---> Running in d72445cc41dd [2024-07-01T20:44:43.779Z] Removing intermediate container d72445cc41dd [2024-07-01T20:44:43.779Z] ---> b606011af90d [2024-07-01T20:44:43.779Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-07-01T20:44:44.049Z] ---> Running in af90834f8f03 [2024-07-01T20:44:44.640Z] Removing intermediate container af90834f8f03 [2024-07-01T20:44:44.640Z] ---> 355972630c0a [2024-07-01T20:44:44.640Z] Step 6/26 : WORKDIR /device-virtual-go [2024-07-01T20:44:44.640Z] ---> Running in f60a6f091705 [2024-07-01T20:44:44.640Z] Removing intermediate container f60a6f091705 [2024-07-01T20:44:44.640Z] ---> 1796796ffc08 [2024-07-01T20:44:44.640Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-01T20:44:44.640Z] ---> Running in 8789877cdc1f [2024-07-01T20:44:45.209Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-01T20:44:45.209Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-01T20:44:45.209Z] OK: 268 MiB in 56 packages [2024-07-01T20:44:46.171Z] Removing intermediate container 8789877cdc1f [2024-07-01T20:44:46.171Z] ---> 12369e932c32 [2024-07-01T20:44:46.171Z] Step 8/26 : COPY go.mod vendor* ./ [2024-07-01T20:44:46.741Z] ---> ab451913431d [2024-07-01T20:44:46.741Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-01T20:44:46.741Z] ---> Running in cab30643fcdb [2024-07-01T20:44:48.116Z] Removing intermediate container cab30643fcdb [2024-07-01T20:44:48.116Z] ---> 19b3789031c6 [2024-07-01T20:44:48.116Z] Step 10/26 : COPY . . [2024-07-01T20:44:50.040Z] ---> fa206744285e [2024-07-01T20:44:50.040Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-01T20:44:50.040Z] ---> Running in ba82a215ed44 [2024-07-01T20:44:50.040Z] Removing intermediate container ba82a215ed44 [2024-07-01T20:44:50.040Z] ---> 88fce3c1736e [2024-07-01T20:44:50.040Z] Step 12/26 : RUN $MAKE [2024-07-01T20:44:50.040Z] ---> Running in 84a77b664446 [2024-07-01T20:44:50.607Z] 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.18" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-07-01T20:44:51.223Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4722 in /w/workspace/foundry_device-virtual-go_PR-474 [Pipeline] { [Pipeline] ws [2024-07-01T20:44:51.308Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2024-07-01T20:44:54.428Z] The recommended git tool is: git [2024-07-01T20:45:00.718Z] using credential edgex-jenkins-ssh [2024-07-01T20:45:00.743Z] Cloning the remote Git repository [2024-07-01T20:45:00.803Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2024-07-01T20:45:00.929Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2024-07-01T20:45:01.112Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-07-01T20:45:01.114Z] > git --version # timeout=10 [2024-07-01T20:45:01.139Z] > git --version # 'git version 2.25.1' [2024-07-01T20:45:01.142Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-01T20:45:01.322Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-01T20:45:05.479Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-07-01T20:45:05.504Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-01T20:45:07.514Z] Merging remotes/origin/main commit 5d512c18d1c7b78db7dd773bf8816c37bfaa059e into PR head commit 2404411371f062037d1ada821faca8080a127271 [2024-07-01T20:45:06.894Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-07-01T20:45:06.944Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-07-01T20:45:06.946Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-01T20:45:06.975Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-01T20:45:07.532Z] > git config core.sparsecheckout # timeout=10 [2024-07-01T20:45:07.613Z] > git checkout -f 2404411371f062037d1ada821faca8080a127271 # timeout=10 [2024-07-01T20:45:07.842Z] Merge succeeded, producing 2404411371f062037d1ada821faca8080a127271 [2024-07-01T20:45:07.842Z] Checking out Revision 2404411371f062037d1ada821faca8080a127271 (PR-474) [2024-07-01T20:45:08.532Z] Commit message: "build(deps): Bump github.com/gorilla/schema from 1.2.0 to 1.4.1" [2024-07-01T20:45:08.584Z] > git --version # timeout=10 [2024-07-01T20:45:08.605Z] > git --version # 'git version 2.25.1' [2024-07-01T20:45:08.629Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-01T20:45:07.709Z] > git remote # timeout=10 [2024-07-01T20:45:07.733Z] > git config --get remote.origin.url # timeout=10 [2024-07-01T20:45:07.755Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-01T20:45:07.779Z] > git merge 5d512c18d1c7b78db7dd773bf8816c37bfaa059e # timeout=10 [2024-07-01T20:45:07.818Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-01T20:45:07.846Z] > git config core.sparsecheckout # timeout=10 [2024-07-01T20:45:07.868Z] > git checkout -f 2404411371f062037d1ada821faca8080a127271 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-01T20:45:13.932Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-01T20:45:13.932Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-01T20:45:13.932Z] Dload Upload Total Spent Left Speed [2024-07-01T20:45:13.932Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 162k 0 --:--:-- --:--:-- --:--:-- 164k [Pipeline] sh [2024-07-01T20:45:14.314Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-01T20:45:14.694Z] + sudo tee /etc/docker/daemon.new [2024-07-01T20:45:14.694Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-01T20:45:14.694Z] { [2024-07-01T20:45:14.694Z] "registry-mirrors": [ [2024-07-01T20:45:14.694Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-01T20:45:14.694Z] ], [2024-07-01T20:45:14.694Z] "bip": "10.250.0.254/24", [2024-07-01T20:45:14.694Z] "hosts": [ [2024-07-01T20:45:14.694Z] "tcp://0.0.0.0:5555", [2024-07-01T20:45:14.694Z] "unix:///var/run/docker.sock" [2024-07-01T20:45:14.694Z] ], [2024-07-01T20:45:14.694Z] "mtu": 1458, [2024-07-01T20:45:14.694Z] "selinux-enabled": true, [2024-07-01T20:45:14.694Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-01T20:45:14.694Z] } [Pipeline] sh [2024-07-01T20:45:15.091Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-01T20:45:15.463Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-01T20:45:33.897Z] provisioning config files... [2024-07-01T20:45:33.936Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config11319906556475186450tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-01T20:45:34.964Z] ---> ****-login.sh [2024-07-01T20:45:34.964Z] nexus3.edgexfoundry.org:10001 [2024-07-01T20:45:35.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:45:35.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:45:35.840Z] Configure a credential helper to remove this warning. See [2024-07-01T20:45:35.840Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:45:35.840Z] [2024-07-01T20:45:35.840Z] Login Succeeded [2024-07-01T20:45:36.114Z] nexus3.edgexfoundry.org:10002 [2024-07-01T20:45:36.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:45:36.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:45:36.391Z] Configure a credential helper to remove this warning. See [2024-07-01T20:45:36.391Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:45:36.391Z] [2024-07-01T20:45:36.391Z] Login Succeeded [2024-07-01T20:45:36.391Z] nexus3.edgexfoundry.org:10003 [2024-07-01T20:45:36.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:45:36.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:45:36.939Z] Configure a credential helper to remove this warning. See [2024-07-01T20:45:36.939Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:45:36.939Z] [2024-07-01T20:45:36.939Z] Login Succeeded [2024-07-01T20:45:36.939Z] nexus3.edgexfoundry.org:10004 [2024-07-01T20:45:37.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:45:37.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:45:37.213Z] Configure a credential helper to remove this warning. See [2024-07-01T20:45:37.213Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:45:37.213Z] [2024-07-01T20:45:37.213Z] Login Succeeded [2024-07-01T20:45:37.213Z] ****.io [2024-07-01T20:45:37.296Z] Removing intermediate container 84a77b664446 [2024-07-01T20:45:37.296Z] ---> c1f6bda8dd71 [2024-07-01T20:45:37.296Z] Step 13/26 : FROM alpine:3.18 [2024-07-01T20:45:37.296Z] 3.18: Pulling from library/alpine [2024-07-01T20:45:37.296Z] 73baa7ef167e: Pulling fs layer [2024-07-01T20:45:37.296Z] 73baa7ef167e: Download complete [2024-07-01T20:45:37.296Z] 73baa7ef167e: Pull complete [2024-07-01T20:45:37.296Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-01T20:45:37.296Z] Status: Downloaded newer image for alpine:3.18 [2024-07-01T20:45:37.296Z] ---> 8fd7cac70a4a [2024-07-01T20:45:37.296Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-07-01T20:45:37.296Z] ---> Running in 0cb605b1981d [2024-07-01T20:45:37.296Z] Removing intermediate container 0cb605b1981d [2024-07-01T20:45:37.296Z] ---> e71a5de642db [2024-07-01T20:45:37.296Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-07-01T20:45:37.296Z] ---> Running in 0383ea0829f3 [2024-07-01T20:45:37.296Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-01T20:45:37.296Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-01T20:45:37.296Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-01T20:45:37.296Z] Executing busybox-1.36.1-r7.trigger [2024-07-01T20:45:37.296Z] OK: 7 MiB in 16 packages [2024-07-01T20:45:37.296Z] Removing intermediate container 0383ea0829f3 [2024-07-01T20:45:37.296Z] ---> 9000e2b15b95 [2024-07-01T20:45:37.296Z] Step 16/26 : RUN apk --no-cache upgrade [2024-07-01T20:45:37.296Z] ---> Running in f6b66407223a [2024-07-01T20:45:37.296Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-01T20:45:37.296Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-01T20:45:37.296Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-01T20:45:37.296Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-01T20:45:37.296Z] OK: 7 MiB in 16 packages [2024-07-01T20:45:37.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-01T20:45:37.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-01T20:45:37.756Z] Configure a credential helper to remove this warning. See [2024-07-01T20:45:37.756Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-01T20:45:37.756Z] [2024-07-01T20:45:37.756Z] Login Succeeded [2024-07-01T20:45:37.756Z] ---> ****-login.sh ends [Pipeline] } [2024-07-01T20:45:37.795Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-01T20:45:38.370Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-01T20:45:38.425Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-01T20:45:38.480Z] ========================================================= [2024-07-01T20:45:38.481Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-01T20:45:38.481Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2024-07-01T20:45:38.680Z] Removing intermediate container f6b66407223a [2024-07-01T20:45:38.680Z] ---> 5ca151676231 [2024-07-01T20:45:38.680Z] Step 17/26 : WORKDIR / [Pipeline] sh [2024-07-01T20:45:38.939Z] ---> Running in 88574398cab1 [2024-07-01T20:45:39.094Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-01T20:45:39.519Z] Removing intermediate container 88574398cab1 [2024-07-01T20:45:39.519Z] ---> 95cadf5a7174 [2024-07-01T20:45:39.519Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-07-01T20:45:39.685Z] Sending build context to Docker daemon 18.93MB [2024-07-01T20:45:39.964Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-01T20:45:39.964Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-01T20:45:39.964Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-01T20:45:39.964Z] c6b39de5b339: Pulling fs layer [2024-07-01T20:45:39.964Z] a69c41024577: Pulling fs layer [2024-07-01T20:45:39.964Z] d6de4b400683: Pulling fs layer [2024-07-01T20:45:39.964Z] 35cb2a7552d0: Pulling fs layer [2024-07-01T20:45:39.964Z] 4f4fb700ef54: Pulling fs layer [2024-07-01T20:45:39.964Z] 464afbd9ba4c: Pulling fs layer [2024-07-01T20:45:39.964Z] 00f215d4a9da: Pulling fs layer [2024-07-01T20:45:39.964Z] d496ad576159: Pulling fs layer [2024-07-01T20:45:39.964Z] 4f4fb700ef54: Waiting [2024-07-01T20:45:39.964Z] 464afbd9ba4c: Waiting [2024-07-01T20:45:39.964Z] 00f215d4a9da: Waiting [2024-07-01T20:45:39.964Z] d496ad576159: Waiting [2024-07-01T20:45:39.964Z] 35cb2a7552d0: Waiting [2024-07-01T20:45:40.099Z] ---> 7cdb15398c56 [2024-07-01T20:45:40.099Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-07-01T20:45:40.251Z] a69c41024577: Download complete [2024-07-01T20:45:40.251Z] 35cb2a7552d0: Verifying Checksum [2024-07-01T20:45:40.251Z] 35cb2a7552d0: Download complete [2024-07-01T20:45:40.251Z] 4f4fb700ef54: Verifying Checksum [2024-07-01T20:45:40.251Z] 4f4fb700ef54: Download complete [2024-07-01T20:45:40.251Z] 464afbd9ba4c: Verifying Checksum [2024-07-01T20:45:40.251Z] 464afbd9ba4c: Download complete [2024-07-01T20:45:40.251Z] c6b39de5b339: Verifying Checksum [2024-07-01T20:45:40.251Z] c6b39de5b339: Download complete [2024-07-01T20:45:40.666Z] ---> edc935e5b061 [2024-07-01T20:45:40.666Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-07-01T20:45:40.860Z] d496ad576159: Verifying Checksum [2024-07-01T20:45:40.861Z] d496ad576159: Download complete [2024-07-01T20:45:41.462Z] c6b39de5b339: Pull complete [2024-07-01T20:45:42.454Z] a69c41024577: Pull complete [2024-07-01T20:45:42.735Z] d6de4b400683: Download complete [2024-07-01T20:45:43.230Z] ---> 42305c1a991e [2024-07-01T20:45:43.230Z] Step 21/26 : EXPOSE 59900 [2024-07-01T20:45:43.230Z] ---> Running in d7a550d456a4 [2024-07-01T20:45:43.493Z] Removing intermediate container d7a550d456a4 [2024-07-01T20:45:43.493Z] ---> 8903594182d2 [2024-07-01T20:45:43.493Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-07-01T20:45:43.785Z] ---> Running in 833c88805240 [2024-07-01T20:45:44.168Z] 00f215d4a9da: Verifying Checksum [2024-07-01T20:45:44.168Z] 00f215d4a9da: Download complete [2024-07-01T20:45:44.354Z] Removing intermediate container 833c88805240 [2024-07-01T20:45:44.354Z] ---> 009251ff6024 [2024-07-01T20:45:44.354Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-01T20:45:44.614Z] ---> Running in 2b27029585d7 [2024-07-01T20:45:45.994Z] Removing intermediate container 2b27029585d7 [2024-07-01T20:45:45.994Z] ---> 0ce2f43e43a4 [2024-07-01T20:45:45.994Z] Step 24/26 : LABEL arch=amd64 [2024-07-01T20:45:46.608Z] ---> Running in 469f4d6ef576 [2024-07-01T20:45:47.201Z] Removing intermediate container 469f4d6ef576 [2024-07-01T20:45:47.201Z] ---> 42a845a071be [2024-07-01T20:45:47.201Z] Step 25/26 : LABEL git_sha=2404411371f062037d1ada821faca8080a127271 [2024-07-01T20:45:48.583Z] ---> Running in fcb6f6fb514f [2024-07-01T20:45:48.843Z] Removing intermediate container fcb6f6fb514f [2024-07-01T20:45:48.843Z] ---> 2021679a0eb8 [2024-07-01T20:45:48.843Z] Step 26/26 : LABEL version=0.0.0 [2024-07-01T20:45:48.843Z] ---> Running in 34de64b28ab9 [2024-07-01T20:45:49.783Z] Removing intermediate container 34de64b28ab9 [2024-07-01T20:45:49.783Z] ---> ebb2cc7e4a35 [2024-07-01T20:45:49.783Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-01T20:45:49.783Z] Successfully built ebb2cc7e4a35 [2024-07-01T20:45:50.350Z] 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-07-01T20:45:51.418Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-01T20:45:51.418Z] [2024-07-01T20:45:51.418Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T20:45:51.827Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-01T20:45:51.827Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-01T20:45:51.827Z] 5eb5b503b376: Pulling fs layer [2024-07-01T20:45:51.827Z] 5c69ac0246d0: Pulling fs layer [2024-07-01T20:45:51.827Z] ec43610c2a17: Pulling fs layer [2024-07-01T20:45:51.827Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-01T20:45:51.827Z] 33b1e0a273af: Pulling fs layer [2024-07-01T20:45:51.827Z] 5d3b04190fa2: Pulling fs layer [2024-07-01T20:45:51.827Z] 2f39f015ded8: Pulling fs layer [2024-07-01T20:45:51.827Z] 3a2ae6a8a46f: Waiting [2024-07-01T20:45:51.827Z] 33b1e0a273af: Waiting [2024-07-01T20:45:51.827Z] 5d3b04190fa2: Waiting [2024-07-01T20:45:51.827Z] 2f39f015ded8: Waiting [2024-07-01T20:45:52.085Z] 5c69ac0246d0: Verifying Checksum [2024-07-01T20:45:52.085Z] 5c69ac0246d0: Download complete [2024-07-01T20:45:52.085Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-01T20:45:52.085Z] 3a2ae6a8a46f: Download complete [2024-07-01T20:45:52.085Z] 33b1e0a273af: Verifying Checksum [2024-07-01T20:45:52.085Z] 33b1e0a273af: Download complete [2024-07-01T20:45:52.085Z] 5d3b04190fa2: Verifying Checksum [2024-07-01T20:45:52.085Z] 5d3b04190fa2: Download complete [2024-07-01T20:45:52.085Z] ec43610c2a17: Verifying Checksum [2024-07-01T20:45:52.085Z] ec43610c2a17: Download complete [2024-07-01T20:45:52.342Z] 5eb5b503b376: Verifying Checksum [2024-07-01T20:45:52.342Z] 5eb5b503b376: Download complete [2024-07-01T20:45:53.273Z] 2f39f015ded8: Download complete [2024-07-01T20:45:54.219Z] 5eb5b503b376: Pull complete [2024-07-01T20:45:54.477Z] 5c69ac0246d0: Pull complete [2024-07-01T20:45:55.411Z] ec43610c2a17: Pull complete [2024-07-01T20:45:55.669Z] 3a2ae6a8a46f: Pull complete [2024-07-01T20:45:55.928Z] 33b1e0a273af: Pull complete [2024-07-01T20:45:56.186Z] 5d3b04190fa2: Pull complete [2024-07-01T20:45:59.355Z] d6de4b400683: Pull complete [2024-07-01T20:45:59.355Z] 35cb2a7552d0: Pull complete [2024-07-01T20:45:59.355Z] 4f4fb700ef54: Pull complete [2024-07-01T20:45:59.355Z] 464afbd9ba4c: Pull complete [2024-07-01T20:46:09.501Z] 00f215d4a9da: Pull complete [2024-07-01T20:46:09.846Z] d496ad576159: Pull complete [2024-07-01T20:46:09.846Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-01T20:46:09.846Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-01T20:46:09.846Z] ---> f246e2811388 [2024-07-01T20:46:09.846Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-01T20:46:11.312Z] ---> Running in 504b5d84057f [2024-07-01T20:46:11.912Z] Removing intermediate container 504b5d84057f [2024-07-01T20:46:11.912Z] ---> 9b0ee226b2c4 [2024-07-01T20:46:11.912Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-01T20:46:11.912Z] ---> Running in a35bfc1306dd [2024-07-01T20:46:12.504Z] Removing intermediate container a35bfc1306dd [2024-07-01T20:46:12.504Z] ---> b8b2f3936494 [2024-07-01T20:46:12.504Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-07-01T20:46:12.504Z] ---> Running in 656f1ff9e2db [2024-07-01T20:46:12.776Z] Removing intermediate container 656f1ff9e2db [2024-07-01T20:46:12.776Z] ---> d5647320abef [2024-07-01T20:46:12.776Z] Step 6/12 : WORKDIR /device-virtual-go [2024-07-01T20:46:13.047Z] ---> Running in 92f93f38c22f [2024-07-01T20:46:13.327Z] Removing intermediate container 92f93f38c22f [2024-07-01T20:46:13.327Z] ---> 01c8d2458f00 [2024-07-01T20:46:13.327Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-01T20:46:13.608Z] ---> Running in 80b4ead80383 [2024-07-01T20:46:14.276Z] 2f39f015ded8: Pull complete [2024-07-01T20:46:14.276Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-01T20:46:14.276Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-01T20:46:14.536Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-01T20:46:14.829Z] prd-ubuntu20.04-docker-8c-8g-4707 does not seem to be running inside a container [2024-07-01T20:46:14.852Z] $ 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-474 -v /w/workspace/foundry_device-virtual-go_PR-474:/w/workspace/foundry_device-virtual-go_PR-474:rw,z -v /w/workspace/foundry_device-virtual-go_PR-474@tmp:/w/workspace/foundry_device-virtual-go_PR-474@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-07-01T20:46:15.041Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-01T20:46:15.313Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-01T20:46:16.275Z] $ docker top 0ffc05be3e656f137e46f7175f32f133fd304b4bc33422a34cd5b86cfed89044 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-01T20:46:16.740Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-07-01T20:46:16.740Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-01T20:46:16.740Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-07-01T20:46:16.813Z] ---> job-cost.sh [2024-07-01T20:46:16.813Z] lf-activate-venv: SKIPPING [2024-07-01T20:46:16.813Z] INFO: No Stack... [2024-07-01T20:46:17.016Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-07-01T20:46:17.016Z] Executing busybox-1.36.1-r5.trigger [2024-07-01T20:46:17.016Z] OK: 271 MiB in 56 packages [2024-07-01T20:46:17.072Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-01T20:46:17.331Z] INFO: Archiving Costs [Pipeline] sh [2024-07-01T20:46:17.655Z] + cat /w/workspace/foundry_device-virtual-go_PR-474/archives/cost.csv [2024-07-01T20:46:17.655Z] + cut -d, -f6 [Pipeline] lock [2024-07-01T20:46:17.717Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-474-1-stack-cost] [2024-07-01T20:46:17.723Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-474-1-stack-cost] did not exist. Created. [2024-07-01T20:46:17.729Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-474-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-01T20:46:18.162Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-01T20:46:18.230Z] Stashed 1 file(s) [Pipeline] } [2024-07-01T20:46:18.273Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-474-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-01T20:46:18.358Z] $ docker stop --time=1 0ffc05be3e656f137e46f7175f32f133fd304b4bc33422a34cd5b86cfed89044 [2024-07-01T20:46:18.449Z] Removing intermediate container 80b4ead80383 [2024-07-01T20:46:18.449Z] ---> 4e18f15e37d3 [2024-07-01T20:46:18.449Z] Step 8/12 : COPY go.mod vendor* ./ [2024-07-01T20:46:19.045Z] ---> 37700c0219c7 [2024-07-01T20:46:19.045Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-01T20:46:19.045Z] ---> Running in 5244f0706c64 [2024-07-01T20:46:21.146Z] $ docker rm -f --volumes 0ffc05be3e656f137e46f7175f32f133fd304b4bc33422a34cd5b86cfed89044 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-01T20:48:41.103Z] Removing intermediate container 5244f0706c64 [2024-07-01T20:48:41.103Z] ---> 4069355c3424 [2024-07-01T20:48:41.103Z] Step 10/12 : COPY . . [2024-07-01T20:48:41.103Z] ---> fb4578b89e3f [2024-07-01T20:48:41.103Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-01T20:48:41.103Z] ---> Running in 0f6466a65ed1 [2024-07-01T20:48:41.103Z] Removing intermediate container 0f6466a65ed1 [2024-07-01T20:48:41.103Z] ---> 50b8a8176f7c [2024-07-01T20:48:41.103Z] Step 12/12 : RUN $MAKE [2024-07-01T20:48:41.103Z] ---> Running in a284a728dd00 [2024-07-01T20:48:41.103Z] noop [2024-07-01T20:48:41.103Z] Removing intermediate container a284a728dd00 [2024-07-01T20:48:41.103Z] ---> b0f1ce109089 [2024-07-01T20:48:41.103Z] Successfully built b0f1ce109089 [2024-07-01T20:48:41.103Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T20:48:41.645Z] + docker inspect -f . ci-base-image-arm64 [2024-07-01T20:48:41.645Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-01T20:48:42.019Z] prd-ubuntu20.04-docker-arm64-4c-16g-4722 does not seem to be running inside a container [2024-07-01T20:48:42.104Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-01T20:48:43.856Z] $ docker top a49eb2bd7fe545fd2b5b743e8b63c732fb9d32525398221afc65f7878d96d305 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-01T20:48:44.880Z] + go version [2024-07-01T20:48:44.880Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-01T20:48:44.920Z] $ docker stop --time=1 a49eb2bd7fe545fd2b5b743e8b63c732fb9d32525398221afc65f7878d96d305 [2024-07-01T20:48:46.776Z] $ docker rm -f --volumes a49eb2bd7fe545fd2b5b743e8b63c732fb9d32525398221afc65f7878d96d305 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T20:48:47.819Z] + docker inspect -f . ci-base-image-arm64 [2024-07-01T20:48:47.819Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-01T20:48:48.160Z] prd-ubuntu20.04-docker-arm64-4c-16g-4722 does not seem to be running inside a container [2024-07-01T20:48:48.264Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-01T20:48:49.793Z] $ docker top 20e42f13a16dc4ded17cd4d6fabe8b8b0aab9210272013fe63d0a6aa0702f3af -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-01T20:48:50.797Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2024-07-01T20:48:51.563Z] + make test [2024-07-01T20:48:51.563Z] go test ./... -coverprofile=coverage.out [2024-07-01T20:49:01.742Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-07-01T20:54:23.994Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-07-01T20:54:23.994Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.073s coverage: 58.4% of statements [2024-07-01T20:54:23.994Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-01T20:54:23.994Z] go vet ./... [2024-07-01T20:55:20.456Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-01T20:55:20.456Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-01T20:55:20.456Z] ./bin/test-attribution-txt.sh [2024-07-01T20:55:20.456Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-01T20:55:20.456Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-01T20:55:20.505Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-01T20:55:20.546Z] $ docker stop --time=1 20e42f13a16dc4ded17cd4d6fabe8b8b0aab9210272013fe63d0a6aa0702f3af [2024-07-01T20:55:22.585Z] $ docker rm -f --volumes 20e42f13a16dc4ded17cd4d6fabe8b8b0aab9210272013fe63d0a6aa0702f3af [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-01T20:55:24.555Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-01T20:55:24.603Z] Warning: overwriting stash ‘coverage-report’ [2024-07-01T20:55:25.361Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-01T20:55:26.050Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-01T20:55:26.425Z] + ls -al . [2024-07-01T20:55:26.425Z] total 264 [2024-07-01T20:55:26.425Z] drwxrwxr-x 7 jenkins jenkins 4096 Jul 1 20:48 . [2024-07-01T20:55:26.425Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 20:45 .. [2024-07-01T20:55:26.425Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 20:45 .git [2024-07-01T20:55:26.425Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 20:45 .github [2024-07-01T20:55:26.425Z] -rw-rw-r-- 1 jenkins jenkins 272 Jul 1 20:45 .gitignore [2024-07-01T20:55:26.425Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 1 20:45 .golangci.yml [2024-07-01T20:55:26.425Z] -rw-rw-r-- 1 jenkins jenkins 9708 Jul 1 20:45 Attribution.txt [2024-07-01T20:55:26.425Z] -rw-rw-r-- 1 jenkins jenkins 15941 Jul 1 20:45 CHANGELOG.md [2024-07-01T20:55:26.425Z] -rw-rw-r-- 1 jenkins jenkins 1755 Jul 1 20:45 Dockerfile [2024-07-01T20:55:26.425Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 1 20:45 GOVERNANCE.md [2024-07-01T20:55:26.425Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 1 20:45 Jenkinsfile [2024-07-01T20:55:26.425Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 1 20:45 LICENSE [2024-07-01T20:55:26.425Z] -rw-rw-r-- 1 jenkins jenkins 1953 Jul 1 20:45 Makefile [2024-07-01T20:55:26.425Z] -rw-rw-r-- 1 jenkins jenkins 623 Jul 1 20:45 OWNERS.md [2024-07-01T20:55:26.425Z] -rw-rw-r-- 1 jenkins jenkins 4103 Jul 1 20:45 README.md [2024-07-01T20:55:26.425Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 1 20:41 VERSION [2024-07-01T20:55:26.425Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 20:45 bin [2024-07-01T20:55:26.425Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 20:45 cmd [2024-07-01T20:55:26.425Z] -rw-r--r-- 1 jenkins jenkins 43063 Jul 1 20:54 coverage.out [2024-07-01T20:55:26.425Z] -rw-rw-r-- 1 jenkins jenkins 6979 Jul 1 20:45 go.mod [2024-07-01T20:55:26.425Z] -rw-rw-r-- 1 jenkins jenkins 101949 Jul 1 20:45 go.sum [2024-07-01T20:55:26.425Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 20:45 internal [2024-07-01T20:55:26.425Z] -rw-rw-r-- 1 jenkins jenkins 235 Jul 1 20:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T20:55:26.922Z] + 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=2404411371f062037d1ada821faca8080a127271 --label arch=arm64 --label version=0.0.0 . [2024-07-01T20:55:27.904Z] Sending build context to Docker daemon 18.98MB [2024-07-01T20:55:27.904Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-01T20:55:27.904Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-01T20:55:27.904Z] ---> b0f1ce109089 [2024-07-01T20:55:27.904Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-01T20:55:27.904Z] ---> Running in e27b04207540 [2024-07-01T20:55:28.496Z] Removing intermediate container e27b04207540 [2024-07-01T20:55:28.496Z] ---> 34e46637c6b6 [2024-07-01T20:55:28.496Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-01T20:55:28.496Z] ---> Running in 7193ac0b1c68 [2024-07-01T20:55:29.092Z] Removing intermediate container 7193ac0b1c68 [2024-07-01T20:55:29.092Z] ---> 9ddac1aa72d3 [2024-07-01T20:55:29.092Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-07-01T20:55:29.092Z] ---> Running in 305cff302c90 [2024-07-01T20:55:29.365Z] Removing intermediate container 305cff302c90 [2024-07-01T20:55:29.365Z] ---> c8e8d52f2ed5 [2024-07-01T20:55:29.365Z] Step 6/26 : WORKDIR /device-virtual-go [2024-07-01T20:55:29.637Z] ---> Running in 9665f3f67118 [2024-07-01T20:55:29.909Z] Removing intermediate container 9665f3f67118 [2024-07-01T20:55:29.909Z] ---> bf325792e5cd [2024-07-01T20:55:29.909Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-01T20:55:30.185Z] ---> Running in eeac163caeab [2024-07-01T20:55:31.622Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-01T20:55:31.894Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-01T20:55:33.949Z] OK: 271 MiB in 56 packages [2024-07-01T20:55:34.927Z] Removing intermediate container eeac163caeab [2024-07-01T20:55:34.927Z] ---> 053e1684dcc9 [2024-07-01T20:55:34.927Z] Step 8/26 : COPY go.mod vendor* ./ [2024-07-01T20:55:35.523Z] ---> fc966b57ecb7 [2024-07-01T20:55:35.523Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-01T20:55:35.523Z] ---> Running in f87d2cac0cdc [2024-07-01T20:55:38.923Z] Removing intermediate container f87d2cac0cdc [2024-07-01T20:55:38.923Z] ---> 1aca558a89bd [2024-07-01T20:55:38.923Z] Step 10/26 : COPY . . [2024-07-01T20:55:40.909Z] ---> 028c77e6c5df [2024-07-01T20:55:40.909Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-01T20:55:40.909Z] ---> Running in 2041fec44e68 [2024-07-01T20:55:41.511Z] Removing intermediate container 2041fec44e68 [2024-07-01T20:55:41.511Z] ---> a7ab2bec2d74 [2024-07-01T20:55:41.511Z] Step 12/26 : RUN $MAKE [2024-07-01T20:55:41.511Z] ---> Running in 20f6553d6115 [2024-07-01T20:55:42.970Z] 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.18" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-07-01T21:00:20.067Z] Removing intermediate container 20f6553d6115 [2024-07-01T21:00:20.067Z] ---> fb8614706f2e [2024-07-01T21:00:20.067Z] Step 13/26 : FROM alpine:3.18 [2024-07-01T21:00:20.067Z] 3.18: Pulling from library/alpine [2024-07-01T21:00:20.067Z] 5c905c7ebe2f: Pulling fs layer [2024-07-01T21:00:20.067Z] 5c905c7ebe2f: Verifying Checksum [2024-07-01T21:00:20.067Z] 5c905c7ebe2f: Download complete [2024-07-01T21:00:20.067Z] 5c905c7ebe2f: Pull complete [2024-07-01T21:00:20.067Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-01T21:00:20.067Z] Status: Downloaded newer image for alpine:3.18 [2024-07-01T21:00:20.067Z] ---> dec292d02e07 [2024-07-01T21:00:20.067Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-07-01T21:00:20.067Z] ---> Running in e63a170fa134 [2024-07-01T21:00:20.067Z] Removing intermediate container e63a170fa134 [2024-07-01T21:00:20.067Z] ---> bea0b943da72 [2024-07-01T21:00:20.067Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-07-01T21:00:20.067Z] ---> Running in 8188260e21f2 [2024-07-01T21:00:20.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-01T21:00:20.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-01T21:00:20.067Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-01T21:00:20.067Z] Executing busybox-1.36.1-r7.trigger [2024-07-01T21:00:20.067Z] OK: 8 MiB in 16 packages [2024-07-01T21:00:20.067Z] Removing intermediate container 8188260e21f2 [2024-07-01T21:00:20.067Z] ---> 14c1c828e7e2 [2024-07-01T21:00:20.067Z] Step 16/26 : RUN apk --no-cache upgrade [2024-07-01T21:00:20.067Z] ---> Running in a73c890a1b13 [2024-07-01T21:00:20.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-01T21:00:20.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-01T21:00:20.067Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-01T21:00:20.067Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-01T21:00:20.067Z] OK: 8 MiB in 16 packages [2024-07-01T21:00:20.067Z] Removing intermediate container a73c890a1b13 [2024-07-01T21:00:20.067Z] ---> 095dc2d1900f [2024-07-01T21:00:20.067Z] Step 17/26 : WORKDIR / [2024-07-01T21:00:20.067Z] ---> Running in e7458220ab27 [2024-07-01T21:00:20.067Z] Removing intermediate container e7458220ab27 [2024-07-01T21:00:20.067Z] ---> c8b89a7700b8 [2024-07-01T21:00:20.067Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-07-01T21:00:21.033Z] ---> 512a46ba7240 [2024-07-01T21:00:21.033Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-07-01T21:00:21.621Z] ---> 08f057ea79db [2024-07-01T21:00:21.621Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-07-01T21:00:23.568Z] ---> 71752c4d5a06 [2024-07-01T21:00:23.568Z] Step 21/26 : EXPOSE 59900 [2024-07-01T21:00:23.568Z] ---> Running in 3446ac93fae6 [2024-07-01T21:00:23.835Z] Removing intermediate container 3446ac93fae6 [2024-07-01T21:00:23.835Z] ---> 736340a3196c [2024-07-01T21:00:23.835Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-07-01T21:00:23.835Z] ---> Running in 4dd45e266954 [2024-07-01T21:00:24.117Z] Removing intermediate container 4dd45e266954 [2024-07-01T21:00:24.117Z] ---> a58e448ead14 [2024-07-01T21:00:24.117Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-01T21:00:24.384Z] ---> Running in ab6c9447da24 [2024-07-01T21:00:24.652Z] Removing intermediate container ab6c9447da24 [2024-07-01T21:00:24.653Z] ---> 3c239ee25287 [2024-07-01T21:00:24.653Z] Step 24/26 : LABEL arch=arm64 [2024-07-01T21:00:24.653Z] ---> Running in 6568eef92401 [2024-07-01T21:00:24.920Z] Removing intermediate container 6568eef92401 [2024-07-01T21:00:24.920Z] ---> 6e62ef21c222 [2024-07-01T21:00:24.920Z] Step 25/26 : LABEL git_sha=2404411371f062037d1ada821faca8080a127271 [2024-07-01T21:00:25.189Z] ---> Running in 15cd50344c2e [2024-07-01T21:00:25.456Z] Removing intermediate container 15cd50344c2e [2024-07-01T21:00:25.456Z] ---> d7a374ba89e0 [2024-07-01T21:00:25.456Z] Step 26/26 : LABEL version=0.0.0 [2024-07-01T21:00:25.456Z] ---> Running in 377c760554fc [2024-07-01T21:00:26.057Z] Removing intermediate container 377c760554fc [2024-07-01T21:00:26.057Z] ---> 55fb714f1b71 [2024-07-01T21:00:26.057Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-01T21:00:26.057Z] Successfully built 55fb714f1b71 [2024-07-01T21:00:26.057Z] 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-07-01T21:00:27.035Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-01T21:00:27.035Z] [2024-07-01T21:00:27.035Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T21:00:27.472Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-01T21:00:27.472Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-01T21:00:27.473Z] 8998bd30e6a1: Pulling fs layer [2024-07-01T21:00:27.473Z] 04944245beec: Pulling fs layer [2024-07-01T21:00:27.473Z] 699f458cf7ca: Pulling fs layer [2024-07-01T21:00:27.473Z] 765212b225bb: Pulling fs layer [2024-07-01T21:00:27.473Z] f23df028b6ca: Pulling fs layer [2024-07-01T21:00:27.473Z] d65c8cfc05b1: Pulling fs layer [2024-07-01T21:00:27.473Z] 2437ff75d9bd: Pulling fs layer [2024-07-01T21:00:27.473Z] 765212b225bb: Waiting [2024-07-01T21:00:27.473Z] f23df028b6ca: Waiting [2024-07-01T21:00:27.473Z] d65c8cfc05b1: Waiting [2024-07-01T21:00:27.473Z] 2437ff75d9bd: Waiting [2024-07-01T21:00:27.741Z] 04944245beec: Verifying Checksum [2024-07-01T21:00:27.741Z] 04944245beec: Download complete [2024-07-01T21:00:27.741Z] 765212b225bb: Verifying Checksum [2024-07-01T21:00:27.741Z] 765212b225bb: Download complete [2024-07-01T21:00:27.741Z] f23df028b6ca: Verifying Checksum [2024-07-01T21:00:27.741Z] f23df028b6ca: Download complete [2024-07-01T21:00:27.741Z] d65c8cfc05b1: Verifying Checksum [2024-07-01T21:00:27.741Z] d65c8cfc05b1: Download complete [2024-07-01T21:00:28.011Z] 699f458cf7ca: Verifying Checksum [2024-07-01T21:00:28.011Z] 699f458cf7ca: Download complete [2024-07-01T21:00:28.280Z] 8998bd30e6a1: Download complete [2024-07-01T21:00:30.879Z] 2437ff75d9bd: Verifying Checksum [2024-07-01T21:00:30.879Z] 2437ff75d9bd: Download complete [2024-07-01T21:00:33.471Z] 8998bd30e6a1: Pull complete [2024-07-01T21:00:34.433Z] 04944245beec: Pull complete [2024-07-01T21:00:35.842Z] 699f458cf7ca: Pull complete [2024-07-01T21:00:36.425Z] 765212b225bb: Pull complete [2024-07-01T21:00:37.386Z] f23df028b6ca: Pull complete [2024-07-01T21:00:37.386Z] d65c8cfc05b1: Pull complete [2024-07-01T21:00:55.614Z] 2437ff75d9bd: Pull complete [2024-07-01T21:00:55.614Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-01T21:00:55.614Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-01T21:00:55.614Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-01T21:00:56.035Z] prd-ubuntu20.04-docker-arm64-4c-16g-4722 does not seem to be running inside a container [2024-07-01T21:00:56.113Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-01T21:00:59.398Z] $ docker top 7e4fad124e974b84219b9dd00cc7e0b3100473760f1f9c60817982690219c656 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-01T21:01:00.527Z] ---> job-cost.sh [2024-07-01T21:01:00.527Z] lf-activate-venv: SKIPPING [2024-07-01T21:01:00.527Z] INFO: No Stack... [2024-07-01T21:01:01.119Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-01T21:01:02.094Z] INFO: Archiving Costs [Pipeline] sh [2024-07-01T21:01:02.775Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2024-07-01T21:01:02.775Z] + cut -d, -f6 [Pipeline] lock [2024-07-01T21:01:02.852Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-474-1-stack-cost] [2024-07-01T21:01:02.860Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-474-1-stack-cost] did not exist. Created. [2024-07-01T21:01:02.866Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-474-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-01T21:01:03.622Z] /w/workspace/device-virtual-go/1@tmp/durable-019c6ff7/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-01T21:01:04.317Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-01T21:01:04.361Z] Warning: overwriting stash ‘stack-cost’ [2024-07-01T21:01:04.413Z] Stashed 1 file(s) [Pipeline] } [2024-07-01T21:01:04.433Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-474-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-01T21:01:04.525Z] $ docker stop --time=1 7e4fad124e974b84219b9dd00cc7e0b3100473760f1f9c60817982690219c656 [2024-07-01T21:01:06.173Z] $ docker rm -f --volumes 7e4fad124e974b84219b9dd00cc7e0b3100473760f1f9c60817982690219c656 [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-07-01T21:01:07.434Z] provisioning config files... [2024-07-01T21:01:07.443Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-474@tmp/config7586575833204446733tmp [Pipeline] { [Pipeline] sh [2024-07-01T21:01:07.811Z] + set +x [2024-07-01T21:01:07.811Z] + + bash -s -- [2024-07-01T21:01:07.811Z] curl -s https://codecov.io/bash [2024-07-01T21:01:07.811Z] [2024-07-01T21:01:07.811Z] _____ _ [2024-07-01T21:01:07.811Z] / ____| | | [2024-07-01T21:01:07.811Z] | | ___ __| | ___ ___ _____ __ [2024-07-01T21:01:07.811Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-01T21:01:07.811Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-01T21:01:07.811Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-01T21:01:07.811Z] Bash-1.0.6 [2024-07-01T21:01:07.811Z] [2024-07-01T21:01:07.811Z] [2024-07-01T21:01:07.811Z] ==> git version 2.25.1 found [2024-07-01T21:01:07.811Z] ==> 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-07-01T21:01:07.811Z] Release-Date: 2020-01-08 [2024-07-01T21:01:07.811Z] 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-07-01T21:01:07.811Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-01T21:01:07.811Z] ==> Jenkins CI detected. [2024-07-01T21:01:07.811Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-474 [2024-07-01T21:01:07.811Z] project root: . [2024-07-01T21:01:07.811Z] --> token set from env [2024-07-01T21:01:07.811Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-01T21:01:07.811Z] ==> Running gcov in . (disable via -X gcov) [2024-07-01T21:01:07.811Z] ==> Python coveragepy not found [2024-07-01T21:01:07.811Z] ==> Searching for coverage reports in: [2024-07-01T21:01:07.811Z] + . [2024-07-01T21:01:07.811Z] -> Found 1 reports [2024-07-01T21:01:07.811Z] ==> Detecting git/mercurial file structure [2024-07-01T21:01:07.811Z] ==> Reading reports [2024-07-01T21:01:07.811Z] + ./coverage.out bytes=43063 [2024-07-01T21:01:07.811Z] ==> Appending adjustments [2024-07-01T21:01:07.811Z] https://docs.codecov.io/docs/fixing-reports [2024-07-01T21:01:08.074Z] + Found adjustments [2024-07-01T21:01:08.074Z] ==> Gzipping contents [2024-07-01T21:01:08.074Z] 8.0K /tmp/codecov.z79OgQ.gz [2024-07-01T21:01:08.074Z] ==> Uploading reports [2024-07-01T21:01:08.074Z] url: https://codecov.io [2024-07-01T21:01:08.074Z] query: branch=PR-474&commit=2404411371f062037d1ada821faca8080a127271&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-474%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=474&job=&cmd_args= [2024-07-01T21:01:08.074Z] -> Pinging Codecov [2024-07-01T21:01:08.075Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-474&commit=2404411371f062037d1ada821faca8080a127271&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-474%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=474&job=&cmd_args= [2024-07-01T21:01:08.075Z] -> Uploading to [2024-07-01T21:01:08.075Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-01/5E52B4B073DB2E39498172D8E973AA87/2404411371f062037d1ada821faca8080a127271/21ce0ac7-48da-4342-a123-6781f99d83ee.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240701%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240701T210107Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=82111aafff8b2f11985a1f051fc286767fc62e33dbd64f80c93e1c0633a2a5a2 [2024-07-01T21:01:08.075Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-01T21:01:08.075Z] Dload Upload Total Spent Left Speed [2024-07-01T21:01:08.333Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 19297 --:--:-- --:--:-- --:--:-- 19297 [2024-07-01T21:01:08.333Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/2404411371f062037d1ada821faca8080a127271 [Pipeline] } [2024-07-01T21:01:08.366Z] 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-07-01T21:01:10.676Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-474/archives ] [2024-07-01T21:01:10.676Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-474/archives [2024-07-01T21:01:10.676Z] total 16 [2024-07-01T21:01:10.676Z] drwxr-xr-x 3 root root 4096 Jul 1 20:46 . [2024-07-01T21:01:10.676Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 1 20:46 .. [2024-07-01T21:01:10.676Z] drwxr-xr-x 2 root root 4096 Jul 1 20:46 cost [2024-07-01T21:01:10.676Z] -rw-r--r-- 1 root root 89 Jul 1 20:46 cost.csv [2024-07-01T21:01:10.676Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-474/archives [2024-07-01T21:01:10.676Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-474/archives [2024-07-01T21:01:10.676Z] total 16 [2024-07-01T21:01:10.676Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 1 20:46 . [2024-07-01T21:01:10.676Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 1 20:46 .. [2024-07-01T21:01:10.676Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 1 20:46 cost [2024-07-01T21:01:10.676Z] -rw-r--r-- 1 jenkins jenkins 89 Jul 1 20:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-01T21:01:11.015Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-01T21:01:11.940Z] ---> package-listing.sh [2024-07-01T21:01:11.940Z] ++ facter osfamily [2024-07-01T21:01:11.940Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-01T21:01:12.199Z] + OS_FAMILY=debian [2024-07-01T21:01:12.199Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-474 [2024-07-01T21:01:12.199Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-01T21:01:12.199Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-01T21:01:12.199Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-01T21:01:12.199Z] + PACKAGES=/tmp/packages_start.txt [2024-07-01T21:01:12.199Z] + '[' /w/workspace/foundry_device-virtual-go_PR-474 ']' [2024-07-01T21:01:12.199Z] + PACKAGES=/tmp/packages_end.txt [2024-07-01T21:01:12.199Z] + case "${OS_FAMILY}" in [2024-07-01T21:01:12.199Z] + dpkg -l [2024-07-01T21:01:12.199Z] + grep '^ii' [2024-07-01T21:01:12.199Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-01T21:01:12.199Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-01T21:01:12.199Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-01T21:01:12.199Z] + '[' /w/workspace/foundry_device-virtual-go_PR-474 ']' [2024-07-01T21:01:12.200Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-474/archives/ [2024-07-01T21:01:12.200Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-474/archives/ [Pipeline] echo [2024-07-01T21:01:12.246Z] 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-474/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-01T21:01:12.550Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-01T21:01:13.208Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-01T21:01:13.208Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-01T21:01:13.387Z] prd-ubuntu20.04-docker-8c-8g-4707 does not seem to be running inside a container [2024-07-01T21:01:13.411Z] $ 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-474/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-474 -v /w/workspace/foundry_device-virtual-go_PR-474:/w/workspace/foundry_device-virtual-go_PR-474:rw,z -v /w/workspace/foundry_device-virtual-go_PR-474@tmp:/w/workspace/foundry_device-virtual-go_PR-474@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-07-01T21:01:14.166Z] $ docker top f716725b65257b428bc2e66ddf7b5b71a84f8e7da9d7495b9ed81e1e108c4a02 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-01T21:01:14.585Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-01T21:01:14.931Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-01T21:01:15.252Z] + ls /var/log/sa-host [2024-07-01T21:01:15.252Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-01T21:01:15.418Z] provisioning config files... [2024-07-01T21:01:15.427Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-474@tmp/config10507764840910207210tmp [Pipeline] { [Pipeline] echo [2024-07-01T21:01:15.518Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-01T21:01:15.850Z] ---> create-netrc.sh [Pipeline] } [2024-07-01T21:01:15.882Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-01T21:01:16.308Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-01T21:01:16.352Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-01T21:01:16.688Z] ---> sudo-logs.sh [2024-07-01T21:01:16.688Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-01T21:01:16.792Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-01T21:01:17.126Z] ---> job-cost.sh [2024-07-01T21:01:17.126Z] lf-activate-venv: SKIPPING [2024-07-01T21:01:17.126Z] DEBUG: total: 0.2199999988079071 [2024-07-01T21:01:17.126Z] INFO: Retrieving Stack Cost... [2024-07-01T21:01:17.701Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-01T21:01:17.962Z] INFO: Archiving Costs [Pipeline] echo [2024-07-01T21:01:18.007Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-01T21:01:18.338Z] ---> logs-deploy.sh [2024-07-01T21:01:18.338Z] lf-activate-venv: SKIPPING [2024-07-01T21:01:18.338Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-474/1 [2024-07-01T21:01:18.338Z] INFO: archiving workspace using pattern(s): [2024-07-01T21:01:19.271Z] Archives upload complete. [2024-07-01T21:01:19.530Z] INFO: archiving logs to Nexus