Pull request #481 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 61be2951695892e915ff05e0a22b7e68c90b022e+b84fa34e0b11c1ec26c6ceaca31148e20eaa0441 (40cad1816eb4ad3837ca803734c47a340072494c) 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-ssh2360948816141242096.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-ssh15603878010750150688.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-481/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-481/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5401581128680761309.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-481/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2341288431078443970.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-ssh14409432513489444318.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-481/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-481/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7535811518672377709.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6444 in /w/workspace/foundry_device-virtual-go_PR-481 [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-481 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/481/head:refs/remotes/origin/PR-481 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b84fa34e0b11c1ec26c6ceaca31148e20eaa0441 into PR head commit 61be2951695892e915ff05e0a22b7e68c90b022e Merge succeeded, producing 61be2951695892e915ff05e0a22b7e68c90b022e Checking out Revision 61be2951695892e915ff05e0a22b7e68c90b022e (PR-481) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f 61be2951695892e915ff05e0a22b7e68c90b022e # 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 b84fa34e0b11c1ec26c6ceaca31148e20eaa0441 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 61be2951695892e915ff05e0a22b7e68c90b022e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-25T11:13:07.651Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-25T11:13:07.909Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-25T11:13:08.058Z] ========================================================= [2024-07-25T11:13:08.058Z] EdgeX Global Pipelines Version Info [2024-07-25T11:13:08.058Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-25T11:13:08.828Z] ------------------- [2024-07-25T11:13:08.828Z] stable info: [2024-07-25T11:13:08.828Z] ------------------- [2024-07-25T11:13:08.828Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-25T11:13:08.828Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-25T11:13:08.828Z] Message: update stable to v1.0.260 [2024-07-25T11:13:09.398Z] ------------------- [2024-07-25T11:13:09.398Z] experimental info: [2024-07-25T11:13:09.398Z] ------------------- [2024-07-25T11:13:09.398Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-25T11:13:09.398Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-25T11:13:09.398Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-25T11:13:09.634Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2024-07-25T11:13:09.699Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2024-07-25T11:13:09.765Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-25T11:13:09.830Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-25T11:13:09.902Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-25T11:13:09.970Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-25T11:13:10.035Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-25T11:13:10.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-25T11:13:10.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-25T11:13:10.224Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-25T11:13:10.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-25T11:13:10.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2024-07-25T11:13:10.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-25T11:13:10.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-25T11:13:10.532Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-25T11:13:10.592Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-25T11:13:10.655Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-25T11:13:10.713Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-25T11:13:10.783Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-25T11:13:10.847Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-25T11:13:10.905Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-25T11:13:10.969Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-25T11:13:11.034Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-25T11:13:11.109Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-25T11:13:11.183Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-25T11:13:11.243Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-25T11:13:11.305Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-25T11:13:11.365Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-481 [Pipeline] echo [2024-07-25T11:13:11.422Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-481 [Pipeline] echo [2024-07-25T11:13:11.483Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-481 [Pipeline] echo [2024-07-25T11:13:11.548Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 61be2951695892e915ff05e0a22b7e68c90b022e [Pipeline] echo [2024-07-25T11:13:11.618Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 61be295 [Pipeline] echo [2024-07-25T11:13:11.682Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-25T11:13:11.852Z] provisioning config files... [2024-07-25T11:13:11.869Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-481@tmp/config2000468657398018040tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-25T11:13:12.273Z] ---> ****-login.sh [2024-07-25T11:13:12.273Z] nexus3.edgexfoundry.org:10001 [2024-07-25T11:13:12.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T11:13:12.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T11:13:12.535Z] Configure a credential helper to remove this warning. See [2024-07-25T11:13:12.535Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T11:13:12.535Z] [2024-07-25T11:13:12.535Z] Login Succeeded [2024-07-25T11:13:12.535Z] nexus3.edgexfoundry.org:10002 [2024-07-25T11:13:12.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T11:13:12.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T11:13:12.535Z] Configure a credential helper to remove this warning. See [2024-07-25T11:13:12.535Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T11:13:12.535Z] [2024-07-25T11:13:12.535Z] Login Succeeded [2024-07-25T11:13:12.535Z] nexus3.edgexfoundry.org:10003 [2024-07-25T11:13:12.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T11:13:12.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T11:13:12.797Z] Configure a credential helper to remove this warning. See [2024-07-25T11:13:12.797Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T11:13:12.797Z] [2024-07-25T11:13:12.797Z] Login Succeeded [2024-07-25T11:13:12.797Z] nexus3.edgexfoundry.org:10004 [2024-07-25T11:13:12.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T11:13:12.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T11:13:12.797Z] Configure a credential helper to remove this warning. See [2024-07-25T11:13:12.797Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T11:13:12.797Z] [2024-07-25T11:13:12.797Z] Login Succeeded [2024-07-25T11:13:12.797Z] ****.io [2024-07-25T11:13:13.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T11:13:13.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T11:13:13.058Z] Configure a credential helper to remove this warning. See [2024-07-25T11:13:13.058Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T11:13:13.058Z] [2024-07-25T11:13:13.058Z] Login Succeeded [2024-07-25T11:13:13.058Z] ---> ****-login.sh ends [Pipeline] } [2024-07-25T11:13:13.100Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-25T11:13:16.226Z] + git rev-list -1 --merges 61be2951695892e915ff05e0a22b7e68c90b022e~1..61be2951695892e915ff05e0a22b7e68c90b022e [Pipeline] echo [2024-07-25T11:13:16.537Z] -----------> git rev-list -1 --merges 61be2951695892e915ff05e0a22b7e68c90b022e~1..61be2951695892e915ff05e0a22b7e68c90b022e 61be2951695892e915ff05e0a22b7e68c90b022e [false] [Pipeline] sh [2024-07-25T11:13:17.015Z] + git log --format=format:%s -1 61be2951695892e915ff05e0a22b7e68c90b022e [Pipeline] echo [2024-07-25T11:13:17.185Z] ========================================================= [2024-07-25T11:13:17.185Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-25T11:13:17.185Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-25T11:13:18.634Z] + git log --format=format:%s -1 61be2951695892e915ff05e0a22b7e68c90b022e [Pipeline] echo [2024-07-25T11:13:18.885Z] [semverPrep] GIT_COMMIT: 61be2951695892e915ff05e0a22b7e68c90b022e, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-07-25T11:13:18.962Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-25T11:13:19.758Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-25T11:13:19.758Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-25T11:13:19.758Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-25T11:13:19.758Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-25T11:13:19.758Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-25T11:13:19.758Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-25T11:13:19.758Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T11:13:21.559Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-25T11:13:21.560Z] [2024-07-25T11:13:21.560Z] 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-25T11:13:22.542Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-25T11:13:22.542Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-25T11:13:22.542Z] b85a868b505f: Pulling fs layer [2024-07-25T11:13:22.542Z] e2be974225ed: Pulling fs layer [2024-07-25T11:13:22.542Z] 339a4e72a1f5: Pulling fs layer [2024-07-25T11:13:22.542Z] 988bab9f4d93: Pulling fs layer [2024-07-25T11:13:22.542Z] 1469e6f7b9e6: Pulling fs layer [2024-07-25T11:13:22.542Z] eaf3925da568: Pulling fs layer [2024-07-25T11:13:22.542Z] bab4dde63d76: Pulling fs layer [2024-07-25T11:13:22.542Z] bde34c3a00c8: Pulling fs layer [2024-07-25T11:13:22.542Z] b352a97aabf1: Pulling fs layer [2024-07-25T11:13:22.542Z] 4872d77fe225: Pulling fs layer [2024-07-25T11:13:22.542Z] 5851b861e8e6: Pulling fs layer [2024-07-25T11:13:22.542Z] 988bab9f4d93: Waiting [2024-07-25T11:13:22.542Z] eaf3925da568: Waiting [2024-07-25T11:13:22.542Z] 1469e6f7b9e6: Waiting [2024-07-25T11:13:22.542Z] bab4dde63d76: Waiting [2024-07-25T11:13:22.542Z] 4872d77fe225: Waiting [2024-07-25T11:13:22.542Z] bde34c3a00c8: Waiting [2024-07-25T11:13:22.542Z] b352a97aabf1: Waiting [2024-07-25T11:13:22.542Z] 5851b861e8e6: Waiting [2024-07-25T11:13:22.542Z] e2be974225ed: Download complete [2024-07-25T11:13:22.542Z] 988bab9f4d93: Verifying Checksum [2024-07-25T11:13:22.542Z] 988bab9f4d93: Download complete [2024-07-25T11:13:22.542Z] 1469e6f7b9e6: Verifying Checksum [2024-07-25T11:13:22.542Z] 1469e6f7b9e6: Download complete [2024-07-25T11:13:22.803Z] eaf3925da568: Download complete [2024-07-25T11:13:22.803Z] 339a4e72a1f5: Verifying Checksum [2024-07-25T11:13:22.803Z] 339a4e72a1f5: Download complete [2024-07-25T11:13:22.803Z] bde34c3a00c8: Verifying Checksum [2024-07-25T11:13:22.803Z] bde34c3a00c8: Download complete [2024-07-25T11:13:22.803Z] 4872d77fe225: Verifying Checksum [2024-07-25T11:13:22.803Z] 4872d77fe225: Download complete [2024-07-25T11:13:22.803Z] 5851b861e8e6: Verifying Checksum [2024-07-25T11:13:22.803Z] 5851b861e8e6: Download complete [2024-07-25T11:13:22.803Z] b85a868b505f: Verifying Checksum [2024-07-25T11:13:22.803Z] b85a868b505f: Download complete [2024-07-25T11:13:23.061Z] bab4dde63d76: Verifying Checksum [2024-07-25T11:13:23.061Z] bab4dde63d76: Download complete [2024-07-25T11:13:23.998Z] b85a868b505f: Pull complete [2024-07-25T11:13:23.998Z] e2be974225ed: Pull complete [2024-07-25T11:13:24.259Z] 339a4e72a1f5: Pull complete [2024-07-25T11:13:24.517Z] 988bab9f4d93: Pull complete [2024-07-25T11:13:24.776Z] 1469e6f7b9e6: Pull complete [2024-07-25T11:13:24.777Z] eaf3925da568: Pull complete [2024-07-25T11:13:26.685Z] bab4dde63d76: Pull complete [2024-07-25T11:13:26.685Z] bde34c3a00c8: Pull complete [2024-07-25T11:13:26.685Z] b352a97aabf1: Pull complete [2024-07-25T11:13:26.685Z] 4872d77fe225: Pull complete [2024-07-25T11:13:26.685Z] 5851b861e8e6: Pull complete [2024-07-25T11:13:26.685Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-25T11:13:26.685Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-25T11:13:26.685Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T11:13:27.746Z] prd-ubuntu20.04-docker-8c-8g-6444 does not seem to be running inside a container [2024-07-25T11:13:27.774Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-481 -v /w/workspace/foundry_device-virtual-go_PR-481:/w/workspace/foundry_device-virtual-go_PR-481:rw,z -v /w/workspace/foundry_device-virtual-go_PR-481@tmp:/w/workspace/foundry_device-virtual-go_PR-481@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-25T11:13:31.555Z] $ docker top aad1e0ae4df8aa605499e37e2847b492ab7ad989e000a05f01797f235ef7bdce -eo pid,comm [2024-07-25T11:13:31.611Z] 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-25T11:13:31.611Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-25T11:13:32.885Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-25T11:13:32.885Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-25T11:13:32.988Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-25T11:13:32.989Z] $ docker exec aad1e0ae4df8aa605499e37e2847b492ab7ad989e000a05f01797f235ef7bdce ssh-agent [2024-07-25T11:13:33.087Z] SSH_AUTH_SOCK=/tmp/ssh-BkVRjGrCHRNp/agent.32 [2024-07-25T11:13:33.087Z] SSH_AGENT_PID=38 [2024-07-25T11:13:33.094Z] Running ssh-add (command line suppressed) [2024-07-25T11:13:33.182Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-481@tmp/private_key_2554033737660201067.key (/w/workspace/foundry_device-virtual-go_PR-481@tmp/private_key_2554033737660201067.key) [2024-07-25T11:13:33.197Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-25T11:13:33.947Z] + git tag --points-at HEAD [Pipeline] } [2024-07-25T11:13:34.051Z] $ docker exec --env ******** --env ******** aad1e0ae4df8aa605499e37e2847b492ab7ad989e000a05f01797f235ef7bdce ssh-agent -k [2024-07-25T11:13:34.140Z] unset SSH_AUTH_SOCK; [2024-07-25T11:13:34.140Z] unset SSH_AGENT_PID; [2024-07-25T11:13:34.140Z] echo Agent pid 38 killed; [2024-07-25T11:13:34.151Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-25T11:13:34.614Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-25T11:13:34.614Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-25T11:13:34.720Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-25T11:13:34.720Z] $ docker exec aad1e0ae4df8aa605499e37e2847b492ab7ad989e000a05f01797f235ef7bdce ssh-agent [2024-07-25T11:13:34.818Z] SSH_AUTH_SOCK=/tmp/ssh-1QQzG0SGNpQh/agent.71 [2024-07-25T11:13:34.818Z] SSH_AGENT_PID=77 [2024-07-25T11:13:34.822Z] Running ssh-add (command line suppressed) [2024-07-25T11:13:34.935Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-481@tmp/private_key_11379027009065894584.key (/w/workspace/foundry_device-virtual-go_PR-481@tmp/private_key_11379027009065894584.key) [2024-07-25T11:13:34.950Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-25T11:13:35.641Z] + git semver init [2024-07-25T11:13:35.905Z] 2024-07-25 11:13:35,801 [run_init] DEBUG init version:0.0.0 force:False [2024-07-25T11:13:35.905Z] 2024-07-25 11:13:35,802 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-481/.semver [2024-07-25T11:13:35.905Z] 2024-07-25 11:13:35,802 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-481/.semver [2024-07-25T11:13:35.905Z] 2024-07-25 11:13:35,802 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-481/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-481, universal_newlines=False, shell=None, istream=None) [2024-07-25T11:13:37.834Z] 2024-07-25 11:13:37,705 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-481/.git/info/exclude [2024-07-25T11:13:37.834Z] 2024-07-25 11:13:37,706 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-481/.semver/PR-481 with force:False [2024-07-25T11:13:37.834Z] 2024-07-25 11:13:37,706 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-481/.semver/PR-481 [2024-07-25T11:13:37.834Z] 2024-07-25 11:13:37,708 [execute] INFO git cat-file --batch-check [2024-07-25T11:13:37.834Z] 2024-07-25 11:13:37,709 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-481/.semver, universal_newlines=False, shell=None, istream=) [2024-07-25T11:13:37.835Z] 2024-07-25 11:13:37,716 [execute] INFO git cat-file --batch [2024-07-25T11:13:37.835Z] 2024-07-25 11:13:37,716 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-481/.semver, universal_newlines=False, shell=None, istream=) [2024-07-25T11:13:37.835Z] 2024-07-25 11:13:37,721 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-481/.semver/PR-481 [2024-07-25T11:13:37.835Z] 0.0.0 [Pipeline] } [2024-07-25T11:13:37.861Z] $ docker exec --env ******** --env ******** aad1e0ae4df8aa605499e37e2847b492ab7ad989e000a05f01797f235ef7bdce ssh-agent -k [2024-07-25T11:13:37.950Z] unset SSH_AUTH_SOCK; [2024-07-25T11:13:37.950Z] unset SSH_AGENT_PID; [2024-07-25T11:13:37.951Z] echo Agent pid 77 killed; [2024-07-25T11:13:37.959Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-25T11:13:38.412Z] + git semver [Pipeline] } [2024-07-25T11:13:38.700Z] $ docker stop --time=1 aad1e0ae4df8aa605499e37e2847b492ab7ad989e000a05f01797f235ef7bdce [2024-07-25T11:13:40.010Z] $ docker rm -f --volumes aad1e0ae4df8aa605499e37e2847b492ab7ad989e000a05f01797f235ef7bdce [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-25T11:13:41.332Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-25T11:13:44.096Z] Stashed 1 file(s) [Pipeline] echo [2024-07-25T11:13:44.131Z] [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-25T11:13:44.886Z] provisioning config files... [2024-07-25T11:13:44.897Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-481@tmp/config14069523998003157655tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-25T11:13:45.274Z] ---> ****-login.sh [2024-07-25T11:13:45.274Z] nexus3.edgexfoundry.org:10001 [2024-07-25T11:13:45.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T11:13:45.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T11:13:45.274Z] Configure a credential helper to remove this warning. See [2024-07-25T11:13:45.274Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T11:13:45.274Z] [2024-07-25T11:13:45.274Z] Login Succeeded [2024-07-25T11:13:45.274Z] nexus3.edgexfoundry.org:10002 [2024-07-25T11:13:45.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T11:13:45.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T11:13:45.275Z] Configure a credential helper to remove this warning. See [2024-07-25T11:13:45.275Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T11:13:45.275Z] [2024-07-25T11:13:45.275Z] Login Succeeded [2024-07-25T11:13:45.275Z] nexus3.edgexfoundry.org:10003 [2024-07-25T11:13:45.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T11:13:45.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T11:13:45.535Z] Configure a credential helper to remove this warning. See [2024-07-25T11:13:45.535Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T11:13:45.535Z] [2024-07-25T11:13:45.535Z] Login Succeeded [2024-07-25T11:13:45.536Z] nexus3.edgexfoundry.org:10004 [2024-07-25T11:13:45.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T11:13:45.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T11:13:45.536Z] Configure a credential helper to remove this warning. See [2024-07-25T11:13:45.536Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T11:13:45.536Z] [2024-07-25T11:13:45.536Z] Login Succeeded [2024-07-25T11:13:45.536Z] ****.io [2024-07-25T11:13:45.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T11:13:45.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T11:13:45.796Z] Configure a credential helper to remove this warning. See [2024-07-25T11:13:45.797Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T11:13:45.797Z] [2024-07-25T11:13:45.797Z] Login Succeeded [2024-07-25T11:13:45.797Z] ---> ****-login.sh ends [Pipeline] } [2024-07-25T11:13:45.832Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-25T11:13:46.075Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-25T11:13:46.123Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-25T11:13:46.176Z] ========================================================= [2024-07-25T11:13:46.176Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-25T11:13:46.176Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T11:13:46.701Z] + 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-25T11:13:46.701Z] Sending build context to Docker daemon 37.55MB [2024-07-25T11:13:46.701Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-25T11:13:46.701Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-25T11:13:46.962Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-25T11:13:46.962Z] 619be1103602: Pulling fs layer [2024-07-25T11:13:46.962Z] 7862e08f4a3e: Pulling fs layer [2024-07-25T11:13:46.962Z] 5df492c9dc93: Pulling fs layer [2024-07-25T11:13:46.962Z] 7629e6793208: Pulling fs layer [2024-07-25T11:13:46.962Z] 4f4fb700ef54: Pulling fs layer [2024-07-25T11:13:46.962Z] fb5054dd5b73: Pulling fs layer [2024-07-25T11:13:46.962Z] eeca6798cff9: Pulling fs layer [2024-07-25T11:13:46.962Z] aa269ceb94a6: Pulling fs layer [2024-07-25T11:13:46.962Z] ada007ff1a6a: Pulling fs layer [2024-07-25T11:13:46.962Z] 7629e6793208: Waiting [2024-07-25T11:13:46.962Z] 4f4fb700ef54: Waiting [2024-07-25T11:13:46.962Z] aa269ceb94a6: Waiting [2024-07-25T11:13:46.962Z] ada007ff1a6a: Waiting [2024-07-25T11:13:46.962Z] fb5054dd5b73: Waiting [2024-07-25T11:13:46.962Z] eeca6798cff9: Waiting [2024-07-25T11:13:46.962Z] 7862e08f4a3e: Verifying Checksum [2024-07-25T11:13:46.962Z] 7862e08f4a3e: Download complete [2024-07-25T11:13:46.962Z] 7629e6793208: Download complete [2024-07-25T11:13:46.962Z] 4f4fb700ef54: Download complete [2024-07-25T11:13:46.962Z] fb5054dd5b73: Verifying Checksum [2024-07-25T11:13:46.962Z] fb5054dd5b73: Download complete [2024-07-25T11:13:46.962Z] 619be1103602: Verifying Checksum [2024-07-25T11:13:46.962Z] 619be1103602: Download complete [2024-07-25T11:13:46.962Z] eeca6798cff9: Verifying Checksum [2024-07-25T11:13:46.962Z] eeca6798cff9: Download complete [2024-07-25T11:13:47.222Z] 619be1103602: Pull complete [2024-07-25T11:13:47.222Z] 7862e08f4a3e: Pull complete [2024-07-25T11:13:47.222Z] ada007ff1a6a: Download complete [2024-07-25T11:13:47.481Z] 5df492c9dc93: Verifying Checksum [2024-07-25T11:13:47.482Z] 5df492c9dc93: Download complete [2024-07-25T11:13:47.739Z] aa269ceb94a6: Verifying Checksum [2024-07-25T11:13:47.739Z] aa269ceb94a6: Download complete [2024-07-25T11:13:50.267Z] 5df492c9dc93: Pull complete [2024-07-25T11:13:50.267Z] 7629e6793208: Pull complete [2024-07-25T11:13:50.267Z] 4f4fb700ef54: Pull complete [2024-07-25T11:13:50.527Z] fb5054dd5b73: Pull complete [2024-07-25T11:13:50.527Z] eeca6798cff9: Pull complete [2024-07-25T11:13:53.056Z] aa269ceb94a6: Pull complete [2024-07-25T11:13:53.056Z] ada007ff1a6a: Pull complete [2024-07-25T11:13:53.056Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-25T11:13:53.056Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-25T11:13:53.056Z] ---> f489d0715acc [2024-07-25T11:13:53.056Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-25T11:13:59.631Z] ---> Running in 7f38d378c6b6 [2024-07-25T11:13:59.631Z] Removing intermediate container 7f38d378c6b6 [2024-07-25T11:13:59.631Z] ---> 83750da94a76 [2024-07-25T11:13:59.631Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-25T11:13:59.631Z] ---> Running in 50a933c76041 [2024-07-25T11:13:59.631Z] Removing intermediate container 50a933c76041 [2024-07-25T11:13:59.631Z] ---> 4d6359791e70 [2024-07-25T11:13:59.631Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-07-25T11:13:59.631Z] ---> Running in 0e98128353c6 [2024-07-25T11:13:59.631Z] Removing intermediate container 0e98128353c6 [2024-07-25T11:13:59.631Z] ---> 0548e22cf07c [2024-07-25T11:13:59.631Z] Step 6/12 : WORKDIR /device-virtual-go [2024-07-25T11:13:59.631Z] ---> Running in 89a914dfe1e8 [2024-07-25T11:13:59.631Z] Removing intermediate container 89a914dfe1e8 [2024-07-25T11:13:59.631Z] ---> 4baa40aa8d4f [2024-07-25T11:13:59.631Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-25T11:13:59.631Z] ---> Running in 63afddc1fc1f [2024-07-25T11:13:59.631Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-25T11:13:59.667Z] Still waiting to schedule task [2024-07-25T11:13:59.667Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6440’ is offline [2024-07-25T11:13:59.891Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-25T11:14:00.150Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-25T11:14:00.150Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-25T11:14:00.150Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-25T11:14:00.150Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-25T11:14:00.150Z] Executing busybox-1.36.1-r5.trigger [2024-07-25T11:14:00.150Z] OK: 268 MiB in 56 packages [2024-07-25T11:14:00.720Z] Removing intermediate container 63afddc1fc1f [2024-07-25T11:14:00.720Z] ---> 72457d8d6dd6 [2024-07-25T11:14:00.720Z] Step 8/12 : COPY go.mod vendor* ./ [2024-07-25T11:14:00.979Z] ---> f7bd7f62d533 [2024-07-25T11:14:00.979Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-25T11:14:00.979Z] ---> Running in 951a0cae7095 [2024-07-25T11:14:57.221Z] Removing intermediate container 951a0cae7095 [2024-07-25T11:14:57.221Z] ---> 2036256ce8ba [2024-07-25T11:14:57.221Z] Step 10/12 : COPY . . [2024-07-25T11:14:57.221Z] ---> 6f65f2e71c39 [2024-07-25T11:14:57.221Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-25T11:14:57.221Z] ---> Running in e6b26c4a509b [2024-07-25T11:14:57.221Z] Removing intermediate container e6b26c4a509b [2024-07-25T11:14:57.221Z] ---> 5f3a88774f67 [2024-07-25T11:14:57.221Z] Step 12/12 : RUN $MAKE [2024-07-25T11:14:57.221Z] ---> Running in 23c30716a0b8 [2024-07-25T11:14:57.221Z] noop [2024-07-25T11:14:57.221Z] Removing intermediate container 23c30716a0b8 [2024-07-25T11:14:57.221Z] ---> 67dc951eb782 [2024-07-25T11:14:57.221Z] Successfully built 67dc951eb782 [2024-07-25T11:14:57.221Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T11:14:57.735Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-25T11:14:57.735Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T11:14:57.912Z] prd-ubuntu20.04-docker-8c-8g-6444 does not seem to be running inside a container [2024-07-25T11:14:57.940Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-481 -v /w/workspace/foundry_device-virtual-go_PR-481:/w/workspace/foundry_device-virtual-go_PR-481:rw,z -v /w/workspace/foundry_device-virtual-go_PR-481@tmp:/w/workspace/foundry_device-virtual-go_PR-481@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-25T11:14:58.272Z] $ docker top 8b5941f9ac5b97a6b5ddcb3a9d87a013c24d5c60b9371219ab8e8f6a5c4b241f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-25T11:14:58.701Z] + go version [2024-07-25T11:14:58.701Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-25T11:14:58.735Z] $ docker stop --time=1 8b5941f9ac5b97a6b5ddcb3a9d87a013c24d5c60b9371219ab8e8f6a5c4b241f [2024-07-25T11:14:59.988Z] $ docker rm -f --volumes 8b5941f9ac5b97a6b5ddcb3a9d87a013c24d5c60b9371219ab8e8f6a5c4b241f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T11:15:00.785Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-25T11:15:00.785Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T11:15:00.955Z] prd-ubuntu20.04-docker-8c-8g-6444 does not seem to be running inside a container [2024-07-25T11:15:00.982Z] $ 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-481 -v /w/workspace/foundry_device-virtual-go_PR-481:/w/workspace/foundry_device-virtual-go_PR-481:rw,z -v /w/workspace/foundry_device-virtual-go_PR-481@tmp:/w/workspace/foundry_device-virtual-go_PR-481@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-25T11:15:01.281Z] $ docker top 11d1714e0f38f48198beb24dcbf503596347d9368b6e5ab3ddece50ad2ab89e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-25T11:15:01.702Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-481 [Pipeline] fileExists [Pipeline] sh [2024-07-25T11:15:02.088Z] + make test [2024-07-25T11:15:02.088Z] go test ./... -coverprofile=coverage.out [2024-07-25T11:15:03.992Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-07-25T11:15:22.065Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-07-25T11:15:22.065Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.008s coverage: 58.4% of statements [2024-07-25T11:15:25.601Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6446 in /w/workspace/foundry_device-virtual-go_PR-481 [Pipeline] { [Pipeline] ws [2024-07-25T11:15:25.683Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2024-07-25T11:15:25.780Z] The recommended git tool is: git [2024-07-25T11:15:27.323Z] go vet ./... [2024-07-25T11:15:30.389Z] using credential edgex-jenkins-ssh [2024-07-25T11:15:30.412Z] Cloning the remote Git repository [2024-07-25T11:15:30.451Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2024-07-25T11:15:30.537Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2024-07-25T11:15:30.668Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-07-25T11:15:30.669Z] > git --version # timeout=10 [2024-07-25T11:15:30.687Z] > git --version # 'git version 2.25.1' [2024-07-25T11:15:30.689Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-25T11:15:30.824Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-25T11:15:32.581Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-25T11:15:32.581Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-25T11:15:32.581Z] ./bin/test-attribution-txt.sh [2024-07-25T11:15:32.581Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-07-25T11:15:32.637Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-25T11:15:32.678Z] $ docker stop --time=1 11d1714e0f38f48198beb24dcbf503596347d9368b6e5ab3ddece50ad2ab89e2 [2024-07-25T11:15:34.310Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-07-25T11:15:34.332Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-25T11:15:35.701Z] Merging remotes/origin/main commit b84fa34e0b11c1ec26c6ceaca31148e20eaa0441 into PR head commit 61be2951695892e915ff05e0a22b7e68c90b022e [2024-07-25T11:15:35.966Z] Merge succeeded, producing 61be2951695892e915ff05e0a22b7e68c90b022e [2024-07-25T11:15:35.967Z] Checking out Revision 61be2951695892e915ff05e0a22b7e68c90b022e (PR-481) [2024-07-25T11:15:35.136Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-07-25T11:15:35.174Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-07-25T11:15:35.176Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-25T11:15:35.202Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/481/head:refs/remotes/origin/PR-481 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-25T11:15:35.718Z] > git config core.sparsecheckout # timeout=10 [2024-07-25T11:15:35.775Z] > git checkout -f 61be2951695892e915ff05e0a22b7e68c90b022e # timeout=10 [2024-07-25T11:15:35.859Z] > git remote # timeout=10 [2024-07-25T11:15:35.875Z] > git config --get remote.origin.url # timeout=10 [2024-07-25T11:15:35.902Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-25T11:15:35.923Z] > git merge b84fa34e0b11c1ec26c6ceaca31148e20eaa0441 # timeout=10 [2024-07-25T11:15:35.946Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-25T11:15:35.969Z] > git config core.sparsecheckout # timeout=10 [2024-07-25T11:15:35.981Z] > git checkout -f 61be2951695892e915ff05e0a22b7e68c90b022e # timeout=10 [2024-07-25T11:15:36.508Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-07-25T11:15:36.551Z] > git --version # timeout=10 [2024-07-25T11:15:36.563Z] > git --version # 'git version 2.25.1' [2024-07-25T11:15:36.583Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-25T11:15:37.621Z] $ docker rm -f --volumes 11d1714e0f38f48198beb24dcbf503596347d9368b6e5ab3ddece50ad2ab89e2 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-25T11:15:38.364Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-25T11:15:38.450Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-25T11:15:39.383Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-25T11:15:39.701Z] + ls -al . [2024-07-25T11:15:39.701Z] total 276 [2024-07-25T11:15:39.701Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 11:15 . [2024-07-25T11:15:39.701Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 11:13 .. [2024-07-25T11:15:39.701Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 11:15 .git [2024-07-25T11:15:39.701Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 11:13 .github [2024-07-25T11:15:39.701Z] -rw-rw-r-- 1 jenkins jenkins 272 Jul 25 11:13 .gitignore [2024-07-25T11:15:39.701Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 25 11:13 .golangci.yml [2024-07-25T11:15:39.701Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 25 11:13 .semver [2024-07-25T11:15:39.701Z] -rw-rw-r-- 1 jenkins jenkins 17933 Jul 25 11:13 Attribution.txt [2024-07-25T11:15:39.701Z] -rw-rw-r-- 1 jenkins jenkins 15941 Jul 25 11:13 CHANGELOG.md [2024-07-25T11:15:39.701Z] -rw-rw-r-- 1 jenkins jenkins 1755 Jul 25 11:13 Dockerfile [2024-07-25T11:15:39.701Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 25 11:13 GOVERNANCE.md [2024-07-25T11:15:39.701Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 25 11:13 Jenkinsfile [2024-07-25T11:15:39.701Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 25 11:13 LICENSE [2024-07-25T11:15:39.701Z] -rw-rw-r-- 1 jenkins jenkins 1953 Jul 25 11:13 Makefile [2024-07-25T11:15:39.701Z] -rw-rw-r-- 1 jenkins jenkins 623 Jul 25 11:13 OWNERS.md [2024-07-25T11:15:39.701Z] -rw-rw-r-- 1 jenkins jenkins 4103 Jul 25 11:13 README.md [2024-07-25T11:15:39.701Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 25 11:13 VERSION [2024-07-25T11:15:39.701Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 11:13 bin [2024-07-25T11:15:39.701Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 11:13 cmd [2024-07-25T11:15:39.701Z] -rw-r--r-- 1 jenkins jenkins 43247 Jul 25 11:15 coverage.out [2024-07-25T11:15:39.701Z] -rw-rw-r-- 1 jenkins jenkins 6923 Jul 25 11:13 go.mod [2024-07-25T11:15:39.701Z] -rw-rw-r-- 1 jenkins jenkins 101673 Jul 25 11:13 go.sum [2024-07-25T11:15:39.701Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 11:13 internal [2024-07-25T11:15:39.701Z] -rw-rw-r-- 1 jenkins jenkins 235 Jul 25 11:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T11:15:40.130Z] + 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=61be2951695892e915ff05e0a22b7e68c90b022e --label arch=amd64 --label version=0.0.0 . [2024-07-25T11:15:40.130Z] Sending build context to Docker daemon 37.6MB [2024-07-25T11:15:40.130Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-25T11:15:40.130Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-25T11:15:40.130Z] ---> 67dc951eb782 [2024-07-25T11:15:40.130Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-25T11:15:41.068Z] ---> Running in 9b7cae928f9a [2024-07-25T11:15:41.068Z] Removing intermediate container 9b7cae928f9a [2024-07-25T11:15:41.068Z] ---> fbf0408b4539 [2024-07-25T11:15:41.068Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-25T11:15:41.068Z] ---> Running in 8eaed1c0e430 [2024-07-25T11:15:41.068Z] Removing intermediate container 8eaed1c0e430 [2024-07-25T11:15:41.068Z] ---> cb3bc2708899 [2024-07-25T11:15:41.068Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-07-25T11:15:41.068Z] ---> Running in 063193de93e6 [2024-07-25T11:15:41.068Z] Removing intermediate container 063193de93e6 [2024-07-25T11:15:41.068Z] ---> bc4b86125478 [2024-07-25T11:15:41.068Z] Step 6/26 : WORKDIR /device-virtual-go [2024-07-25T11:15:41.068Z] ---> Running in 284b9bf2718c [2024-07-25T11:15:41.327Z] Removing intermediate container 284b9bf2718c [2024-07-25T11:15:41.327Z] ---> 7a85b4bc09a2 [2024-07-25T11:15:41.327Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-25T11:15:41.327Z] ---> Running in b76c9bcd52b6 [2024-07-25T11:15:41.468Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-25T11:15:41.468Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-25T11:15:41.468Z] Dload Upload Total Spent Left Speed [2024-07-25T11:15:41.468Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh [2024-07-25T11:15:41.585Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-25T11:15:41.820Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [2024-07-25T11:15:41.845Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [Pipeline] sh [2024-07-25T11:15:42.104Z] OK: 268 MiB in 56 packages [2024-07-25T11:15:42.170Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-25T11:15:42.170Z] + sudo tee /etc/docker/daemon.new [2024-07-25T11:15:42.170Z] { [2024-07-25T11:15:42.170Z] "registry-mirrors": [ [2024-07-25T11:15:42.170Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-25T11:15:42.170Z] ], [2024-07-25T11:15:42.170Z] "bip": "10.250.0.254/24", [2024-07-25T11:15:42.170Z] "hosts": [ [2024-07-25T11:15:42.170Z] "tcp://0.0.0.0:5555", [2024-07-25T11:15:42.170Z] "unix:///var/run/docker.sock" [2024-07-25T11:15:42.170Z] ], [2024-07-25T11:15:42.170Z] "mtu": 1458, [2024-07-25T11:15:42.170Z] "selinux-enabled": true, [2024-07-25T11:15:42.170Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-25T11:15:42.170Z] } [Pipeline] sh [2024-07-25T11:15:42.363Z] Removing intermediate container b76c9bcd52b6 [2024-07-25T11:15:42.363Z] ---> e2fb3e9c909d [2024-07-25T11:15:42.363Z] Step 8/26 : COPY go.mod vendor* ./ [2024-07-25T11:15:42.521Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-25T11:15:42.622Z] ---> 84900d04480d [2024-07-25T11:15:42.622Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-25T11:15:42.622Z] ---> Running in 325b8b79cb98 [2024-07-25T11:15:42.872Z] + sudo service docker restart [2024-07-25T11:15:43.191Z] Removing intermediate container 325b8b79cb98 [2024-07-25T11:15:43.191Z] ---> ff55ba10588e [2024-07-25T11:15:43.191Z] Step 10/26 : COPY . . [2024-07-25T11:15:44.131Z] ---> d226ba5e5c67 [2024-07-25T11:15:44.131Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-25T11:15:44.131Z] ---> Running in 6d09be5df43e [2024-07-25T11:15:44.131Z] Removing intermediate container 6d09be5df43e [2024-07-25T11:15:44.131Z] ---> adf9a94bbf2a [2024-07-25T11:15:44.131Z] Step 12/26 : RUN $MAKE [2024-07-25T11:15:44.131Z] ---> Running in d7fccf4f0fc1 [2024-07-25T11:15:44.390Z] 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.27" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-25T11:16:01.197Z] provisioning config files... [2024-07-25T11:16:01.219Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config12218955487956101566tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-25T11:16:01.704Z] ---> ****-login.sh [2024-07-25T11:16:01.704Z] nexus3.edgexfoundry.org:10001 [2024-07-25T11:16:01.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T11:16:02.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T11:16:02.242Z] Configure a credential helper to remove this warning. See [2024-07-25T11:16:02.242Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T11:16:02.242Z] [2024-07-25T11:16:02.242Z] Login Succeeded [2024-07-25T11:16:02.513Z] nexus3.edgexfoundry.org:10002 [2024-07-25T11:16:02.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T11:16:02.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T11:16:02.781Z] Configure a credential helper to remove this warning. See [2024-07-25T11:16:02.782Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T11:16:02.782Z] [2024-07-25T11:16:02.782Z] Login Succeeded [2024-07-25T11:16:02.782Z] nexus3.edgexfoundry.org:10003 [2024-07-25T11:16:03.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T11:16:03.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T11:16:03.049Z] Configure a credential helper to remove this warning. See [2024-07-25T11:16:03.049Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T11:16:03.049Z] [2024-07-25T11:16:03.049Z] Login Succeeded [2024-07-25T11:16:03.049Z] nexus3.edgexfoundry.org:10004 [2024-07-25T11:16:03.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T11:16:03.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T11:16:03.316Z] Configure a credential helper to remove this warning. See [2024-07-25T11:16:03.316Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T11:16:03.316Z] [2024-07-25T11:16:03.316Z] Login Succeeded [2024-07-25T11:16:03.316Z] ****.io [2024-07-25T11:16:03.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T11:16:03.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T11:16:03.846Z] Configure a credential helper to remove this warning. See [2024-07-25T11:16:03.846Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T11:16:03.846Z] [2024-07-25T11:16:03.846Z] Login Succeeded [2024-07-25T11:16:03.846Z] ---> ****-login.sh ends [Pipeline] } [2024-07-25T11:16:03.880Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-25T11:16:04.325Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-25T11:16:04.382Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-25T11:16:04.439Z] ========================================================= [2024-07-25T11:16:04.439Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-25T11:16:04.439Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T11:16:04.984Z] + 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-25T11:16:05.570Z] Sending build context to Docker daemon 18.97MB [2024-07-25T11:16:05.570Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-25T11:16:05.570Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-25T11:16:05.570Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-25T11:16:05.570Z] c6b39de5b339: Pulling fs layer [2024-07-25T11:16:05.570Z] a69c41024577: Pulling fs layer [2024-07-25T11:16:05.570Z] d6de4b400683: Pulling fs layer [2024-07-25T11:16:05.570Z] 35cb2a7552d0: Pulling fs layer [2024-07-25T11:16:05.570Z] 4f4fb700ef54: Pulling fs layer [2024-07-25T11:16:05.570Z] 464afbd9ba4c: Pulling fs layer [2024-07-25T11:16:05.570Z] 00f215d4a9da: Pulling fs layer [2024-07-25T11:16:05.570Z] d496ad576159: Pulling fs layer [2024-07-25T11:16:05.570Z] 35cb2a7552d0: Waiting [2024-07-25T11:16:05.570Z] 464afbd9ba4c: Waiting [2024-07-25T11:16:05.570Z] 00f215d4a9da: Waiting [2024-07-25T11:16:05.570Z] d496ad576159: Waiting [2024-07-25T11:16:05.570Z] 4f4fb700ef54: Waiting [2024-07-25T11:16:05.842Z] a69c41024577: Download complete [2024-07-25T11:16:05.842Z] 35cb2a7552d0: Verifying Checksum [2024-07-25T11:16:05.842Z] 35cb2a7552d0: Download complete [2024-07-25T11:16:05.842Z] 4f4fb700ef54: Verifying Checksum [2024-07-25T11:16:05.842Z] 4f4fb700ef54: Download complete [2024-07-25T11:16:05.842Z] 464afbd9ba4c: Verifying Checksum [2024-07-25T11:16:05.842Z] 464afbd9ba4c: Download complete [2024-07-25T11:16:05.842Z] c6b39de5b339: Verifying Checksum [2024-07-25T11:16:05.842Z] c6b39de5b339: Download complete [2024-07-25T11:16:06.112Z] d496ad576159: Verifying Checksum [2024-07-25T11:16:06.112Z] d496ad576159: Download complete [2024-07-25T11:16:06.697Z] c6b39de5b339: Pull complete [2024-07-25T11:16:07.283Z] a69c41024577: Pull complete [2024-07-25T11:16:07.549Z] d6de4b400683: Verifying Checksum [2024-07-25T11:16:07.549Z] d6de4b400683: Download complete [2024-07-25T11:16:08.510Z] 00f215d4a9da: Download complete [2024-07-25T11:16:16.470Z] Removing intermediate container d7fccf4f0fc1 [2024-07-25T11:16:16.470Z] ---> dc01f4367fdf [2024-07-25T11:16:16.470Z] Step 13/26 : FROM alpine:3.18 [2024-07-25T11:16:16.470Z] 3.18: Pulling from library/alpine [2024-07-25T11:16:16.470Z] 930bdd4d222e: Pulling fs layer [2024-07-25T11:16:16.470Z] 930bdd4d222e: Verifying Checksum [2024-07-25T11:16:16.470Z] 930bdd4d222e: Download complete [2024-07-25T11:16:16.470Z] 930bdd4d222e: Pull complete [2024-07-25T11:16:16.470Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-25T11:16:16.470Z] Status: Downloaded newer image for alpine:3.18 [2024-07-25T11:16:16.470Z] ---> 18f865063206 [2024-07-25T11:16:16.470Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-07-25T11:16:16.470Z] ---> Running in 7c1454700230 [2024-07-25T11:16:16.470Z] Removing intermediate container 7c1454700230 [2024-07-25T11:16:16.470Z] ---> 454b252a51e0 [2024-07-25T11:16:16.470Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-07-25T11:16:16.470Z] ---> Running in ca884485b0b9 [2024-07-25T11:16:16.470Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-25T11:16:16.470Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-25T11:16:16.470Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-25T11:16:16.470Z] Executing busybox-1.36.1-r7.trigger [2024-07-25T11:16:16.470Z] OK: 7 MiB in 16 packages [2024-07-25T11:16:16.729Z] Removing intermediate container ca884485b0b9 [2024-07-25T11:16:16.729Z] ---> c2c28ed562d9 [2024-07-25T11:16:16.729Z] Step 16/26 : RUN apk --no-cache upgrade [2024-07-25T11:16:16.729Z] ---> Running in 568da09d4351 [2024-07-25T11:16:16.988Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-25T11:16:16.988Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-25T11:16:17.248Z] OK: 7 MiB in 16 packages [2024-07-25T11:16:17.506Z] Removing intermediate container 568da09d4351 [2024-07-25T11:16:17.506Z] ---> 48846e832c80 [2024-07-25T11:16:17.506Z] Step 17/26 : WORKDIR / [2024-07-25T11:16:17.506Z] ---> Running in 0da83dcbea68 [2024-07-25T11:16:17.764Z] Removing intermediate container 0da83dcbea68 [2024-07-25T11:16:17.764Z] ---> 43be5f9f562d [2024-07-25T11:16:17.764Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-07-25T11:16:17.764Z] ---> a291dd9bbb9c [2024-07-25T11:16:17.764Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-07-25T11:16:18.022Z] ---> 07c578231689 [2024-07-25T11:16:18.022Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-07-25T11:16:18.957Z] ---> 9ede5e081c69 [2024-07-25T11:16:18.957Z] Step 21/26 : EXPOSE 59900 [2024-07-25T11:16:18.957Z] ---> Running in b0564ae2751b [2024-07-25T11:16:18.957Z] Removing intermediate container b0564ae2751b [2024-07-25T11:16:18.957Z] ---> 91951f3a8007 [2024-07-25T11:16:18.957Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-07-25T11:16:18.957Z] ---> Running in 44079478f58a [2024-07-25T11:16:19.215Z] Removing intermediate container 44079478f58a [2024-07-25T11:16:19.215Z] ---> 80090222e19d [2024-07-25T11:16:19.215Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-25T11:16:19.215Z] ---> Running in d03606dc4079 [2024-07-25T11:16:19.215Z] Removing intermediate container d03606dc4079 [2024-07-25T11:16:19.215Z] ---> 75a8e7a9d993 [2024-07-25T11:16:19.215Z] Step 24/26 : LABEL arch=amd64 [2024-07-25T11:16:19.215Z] ---> Running in 6a253db9bff5 [2024-07-25T11:16:19.215Z] Removing intermediate container 6a253db9bff5 [2024-07-25T11:16:19.215Z] ---> 7fc09b12ef54 [2024-07-25T11:16:19.215Z] Step 25/26 : LABEL git_sha=61be2951695892e915ff05e0a22b7e68c90b022e [2024-07-25T11:16:19.476Z] ---> Running in 6991b19cacce [2024-07-25T11:16:19.476Z] Removing intermediate container 6991b19cacce [2024-07-25T11:16:19.476Z] ---> a541b92183d1 [2024-07-25T11:16:19.476Z] Step 26/26 : LABEL version=0.0.0 [2024-07-25T11:16:19.476Z] ---> Running in 4049bb9d8322 [2024-07-25T11:16:19.476Z] Removing intermediate container 4049bb9d8322 [2024-07-25T11:16:19.476Z] ---> 7d87785d055c [2024-07-25T11:16:19.476Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-25T11:16:19.476Z] Successfully built 7d87785d055c [2024-07-25T11:16:19.476Z] 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-25T11:16:20.512Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-25T11:16:20.512Z] [2024-07-25T11:16:20.512Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T11:16:20.826Z] d6de4b400683: Pull complete [2024-07-25T11:16:20.826Z] 35cb2a7552d0: Pull complete [2024-07-25T11:16:20.826Z] 4f4fb700ef54: Pull complete [2024-07-25T11:16:20.826Z] 464afbd9ba4c: Pull complete [2024-07-25T11:16:20.920Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-25T11:16:20.920Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-25T11:16:20.920Z] 5eb5b503b376: Pulling fs layer [2024-07-25T11:16:20.920Z] 5c69ac0246d0: Pulling fs layer [2024-07-25T11:16:20.920Z] ec43610c2a17: Pulling fs layer [2024-07-25T11:16:20.920Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-25T11:16:20.920Z] 33b1e0a273af: Pulling fs layer [2024-07-25T11:16:20.920Z] 5d3b04190fa2: Pulling fs layer [2024-07-25T11:16:20.920Z] 2f39f015ded8: Pulling fs layer [2024-07-25T11:16:20.920Z] 3a2ae6a8a46f: Waiting [2024-07-25T11:16:20.920Z] 33b1e0a273af: Waiting [2024-07-25T11:16:20.920Z] 5d3b04190fa2: Waiting [2024-07-25T11:16:20.920Z] 2f39f015ded8: Waiting [2024-07-25T11:16:20.920Z] 5c69ac0246d0: Verifying Checksum [2024-07-25T11:16:20.920Z] 5c69ac0246d0: Download complete [2024-07-25T11:16:20.920Z] 3a2ae6a8a46f: Download complete [2024-07-25T11:16:20.920Z] 33b1e0a273af: Verifying Checksum [2024-07-25T11:16:20.920Z] 33b1e0a273af: Download complete [2024-07-25T11:16:20.920Z] 5d3b04190fa2: Verifying Checksum [2024-07-25T11:16:20.920Z] 5d3b04190fa2: Download complete [2024-07-25T11:16:20.920Z] ec43610c2a17: Verifying Checksum [2024-07-25T11:16:20.920Z] ec43610c2a17: Download complete [2024-07-25T11:16:21.179Z] 5eb5b503b376: Verifying Checksum [2024-07-25T11:16:21.179Z] 5eb5b503b376: Download complete [2024-07-25T11:16:21.748Z] 2f39f015ded8: Download complete [2024-07-25T11:16:22.318Z] 5eb5b503b376: Pull complete [2024-07-25T11:16:22.318Z] 5c69ac0246d0: Pull complete [2024-07-25T11:16:22.889Z] ec43610c2a17: Pull complete [2024-07-25T11:16:22.889Z] 3a2ae6a8a46f: Pull complete [2024-07-25T11:16:23.148Z] 33b1e0a273af: Pull complete [2024-07-25T11:16:23.148Z] 5d3b04190fa2: Pull complete [2024-07-25T11:16:27.355Z] 2f39f015ded8: Pull complete [2024-07-25T11:16:27.355Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-25T11:16:27.355Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-25T11:16:27.355Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T11:16:27.632Z] prd-ubuntu20.04-docker-8c-8g-6444 does not seem to be running inside a container [2024-07-25T11:16:27.656Z] $ 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-481 -v /w/workspace/foundry_device-virtual-go_PR-481:/w/workspace/foundry_device-virtual-go_PR-481:rw,z -v /w/workspace/foundry_device-virtual-go_PR-481@tmp:/w/workspace/foundry_device-virtual-go_PR-481@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-25T11:16:30.942Z] 00f215d4a9da: Pull complete [2024-07-25T11:16:30.942Z] d496ad576159: Pull complete [2024-07-25T11:16:30.942Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-25T11:16:30.942Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-25T11:16:30.942Z] ---> f246e2811388 [2024-07-25T11:16:30.942Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-25T11:16:32.888Z] ---> Running in ebc1f20d0aa6 [2024-07-25T11:16:32.888Z] Removing intermediate container ebc1f20d0aa6 [2024-07-25T11:16:32.888Z] ---> 21cc9677dc4b [2024-07-25T11:16:32.888Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-25T11:16:33.156Z] ---> Running in ef2e077c606e [2024-07-25T11:16:33.423Z] Removing intermediate container ef2e077c606e [2024-07-25T11:16:33.423Z] ---> 6a1e4d3811f9 [2024-07-25T11:16:33.423Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-07-25T11:16:33.423Z] ---> Running in 04cf93dcce68 [2024-07-25T11:16:33.691Z] Removing intermediate container 04cf93dcce68 [2024-07-25T11:16:33.691Z] ---> 25fb118a8e6e [2024-07-25T11:16:33.691Z] Step 6/12 : WORKDIR /device-virtual-go [2024-07-25T11:16:33.691Z] ---> Running in 6858fedce686 [2024-07-25T11:16:34.279Z] Removing intermediate container 6858fedce686 [2024-07-25T11:16:34.279Z] ---> 9d6e4c4d7aeb [2024-07-25T11:16:34.279Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-25T11:16:34.279Z] ---> Running in c293e59d3088 [2024-07-25T11:16:34.292Z] $ docker top 735c363ab6767a589b83ba616cc517c65b76e4d3b6bd851e974b81574a06490c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-25T11:16:34.901Z] ---> job-cost.sh [2024-07-25T11:16:34.901Z] lf-activate-venv: SKIPPING [2024-07-25T11:16:34.901Z] INFO: No Stack... [2024-07-25T11:16:35.164Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-25T11:16:35.250Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-25T11:16:35.424Z] INFO: Archiving Costs [Pipeline] sh [2024-07-25T11:16:35.748Z] + cat /w/workspace/foundry_device-virtual-go_PR-481/archives/cost.csv [2024-07-25T11:16:35.749Z] + cut -d, -f6 [Pipeline] lock [2024-07-25T11:16:35.801Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-481-1-stack-cost] [2024-07-25T11:16:35.807Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-481-1-stack-cost] did not exist. Created. [2024-07-25T11:16:35.817Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-481-1-stack-cost] [Pipeline] { [2024-07-25T11:16:35.834Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [Pipeline] unstash [Pipeline] sh [2024-07-25T11:16:36.254Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-25T11:16:36.315Z] Stashed 1 file(s) [Pipeline] } [2024-07-25T11:16:36.354Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-481-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-25T11:16:36.453Z] $ docker stop --time=1 735c363ab6767a589b83ba616cc517c65b76e4d3b6bd851e974b81574a06490c [2024-07-25T11:16:36.800Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-25T11:16:36.800Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-25T11:16:36.800Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-25T11:16:36.800Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-25T11:16:36.800Z] Executing busybox-1.36.1-r5.trigger [2024-07-25T11:16:36.800Z] OK: 271 MiB in 56 packages [2024-07-25T11:16:37.723Z] $ docker rm -f --volumes 735c363ab6767a589b83ba616cc517c65b76e4d3b6bd851e974b81574a06490c [2024-07-25T11:16:37.765Z] Removing intermediate container c293e59d3088 [2024-07-25T11:16:37.765Z] ---> 98c6a5941269 [2024-07-25T11:16:37.765Z] Step 8/12 : COPY go.mod vendor* ./ [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-25T11:16:38.351Z] ---> c6860ee8dcb8 [2024-07-25T11:16:38.351Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-25T11:16:38.351Z] ---> Running in 5b3eaf56f899 [2024-07-25T11:18:30.014Z] Removing intermediate container 5b3eaf56f899 [2024-07-25T11:18:30.014Z] ---> 5e21b493d62d [2024-07-25T11:18:30.014Z] Step 10/12 : COPY . . [2024-07-25T11:18:30.014Z] ---> f1844cd097f1 [2024-07-25T11:18:30.014Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-25T11:18:30.014Z] ---> Running in 81d7092bb42b [2024-07-25T11:18:30.014Z] Removing intermediate container 81d7092bb42b [2024-07-25T11:18:30.014Z] ---> 5c31c20688d5 [2024-07-25T11:18:30.014Z] Step 12/12 : RUN $MAKE [2024-07-25T11:18:30.014Z] ---> Running in e83a2ef5b7e8 [2024-07-25T11:18:30.014Z] noop [2024-07-25T11:18:30.014Z] Removing intermediate container e83a2ef5b7e8 [2024-07-25T11:18:30.014Z] ---> 78ae1ab10485 [2024-07-25T11:18:30.014Z] Successfully built 78ae1ab10485 [2024-07-25T11:18:30.014Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T11:18:30.546Z] + docker inspect -f . ci-base-image-arm64 [2024-07-25T11:18:30.546Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T11:18:30.881Z] prd-ubuntu20.04-docker-arm64-4c-16g-6446 does not seem to be running inside a container [2024-07-25T11:18:30.931Z] $ 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-25T11:18:32.167Z] $ docker top 16f8fcde35a9ea2e45a783a146b9c5519444d27a42c0190283230fb3eb10f837 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-25T11:18:33.093Z] + go version [2024-07-25T11:18:33.093Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-25T11:18:33.124Z] $ docker stop --time=1 16f8fcde35a9ea2e45a783a146b9c5519444d27a42c0190283230fb3eb10f837 [2024-07-25T11:18:34.748Z] $ docker rm -f --volumes 16f8fcde35a9ea2e45a783a146b9c5519444d27a42c0190283230fb3eb10f837 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T11:18:35.713Z] + docker inspect -f . ci-base-image-arm64 [2024-07-25T11:18:35.713Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T11:18:36.000Z] prd-ubuntu20.04-docker-arm64-4c-16g-6446 does not seem to be running inside a container [2024-07-25T11:18:36.052Z] $ 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-25T11:18:37.250Z] $ docker top 89f3b0698514fd4814769594744da0835681f9b792b75bbe502441d551b8cd3d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-25T11:18:38.162Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2024-07-25T11:18:38.892Z] + make test [2024-07-25T11:18:38.892Z] go test ./... -coverprofile=coverage.out [2024-07-25T11:18:44.254Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-07-25T11:22:21.266Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-07-25T11:22:21.266Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.055s coverage: 58.3% of statements [2024-07-25T11:22:21.266Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-25T11:22:21.266Z] go vet ./... [2024-07-25T11:23:00.191Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-25T11:23:00.191Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-25T11:23:00.191Z] ./bin/test-attribution-txt.sh [2024-07-25T11:23:00.191Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-07-25T11:23:00.252Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-25T11:23:00.278Z] $ docker stop --time=1 89f3b0698514fd4814769594744da0835681f9b792b75bbe502441d551b8cd3d [2024-07-25T11:23:02.128Z] $ docker rm -f --volumes 89f3b0698514fd4814769594744da0835681f9b792b75bbe502441d551b8cd3d [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-25T11:23:03.702Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-25T11:23:03.747Z] Warning: overwriting stash ‘coverage-report’ [2024-07-25T11:23:04.196Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-25T11:23:04.848Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-25T11:23:05.190Z] + ls -al . [2024-07-25T11:23:05.190Z] total 272 [2024-07-25T11:23:05.190Z] drwxrwxr-x 7 jenkins jenkins 4096 Jul 25 11:18 . [2024-07-25T11:23:05.190Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 11:15 .. [2024-07-25T11:23:05.190Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 11:15 .git [2024-07-25T11:23:05.190Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 11:15 .github [2024-07-25T11:23:05.190Z] -rw-rw-r-- 1 jenkins jenkins 272 Jul 25 11:15 .gitignore [2024-07-25T11:23:05.190Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 25 11:15 .golangci.yml [2024-07-25T11:23:05.190Z] -rw-rw-r-- 1 jenkins jenkins 17933 Jul 25 11:15 Attribution.txt [2024-07-25T11:23:05.190Z] -rw-rw-r-- 1 jenkins jenkins 15941 Jul 25 11:15 CHANGELOG.md [2024-07-25T11:23:05.190Z] -rw-rw-r-- 1 jenkins jenkins 1755 Jul 25 11:15 Dockerfile [2024-07-25T11:23:05.190Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 25 11:15 GOVERNANCE.md [2024-07-25T11:23:05.190Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 25 11:15 Jenkinsfile [2024-07-25T11:23:05.190Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 25 11:15 LICENSE [2024-07-25T11:23:05.190Z] -rw-rw-r-- 1 jenkins jenkins 1953 Jul 25 11:15 Makefile [2024-07-25T11:23:05.190Z] -rw-rw-r-- 1 jenkins jenkins 623 Jul 25 11:15 OWNERS.md [2024-07-25T11:23:05.190Z] -rw-rw-r-- 1 jenkins jenkins 4103 Jul 25 11:15 README.md [2024-07-25T11:23:05.190Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 25 11:13 VERSION [2024-07-25T11:23:05.190Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 11:15 bin [2024-07-25T11:23:05.190Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 11:15 cmd [2024-07-25T11:23:05.190Z] -rw-r--r-- 1 jenkins jenkins 43247 Jul 25 11:22 coverage.out [2024-07-25T11:23:05.190Z] -rw-rw-r-- 1 jenkins jenkins 6923 Jul 25 11:15 go.mod [2024-07-25T11:23:05.190Z] -rw-rw-r-- 1 jenkins jenkins 101673 Jul 25 11:15 go.sum [2024-07-25T11:23:05.190Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 11:15 internal [2024-07-25T11:23:05.190Z] -rw-rw-r-- 1 jenkins jenkins 235 Jul 25 11:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T11:23:05.651Z] + 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=61be2951695892e915ff05e0a22b7e68c90b022e --label arch=arm64 --label version=0.0.0 . [2024-07-25T11:23:06.244Z] Sending build context to Docker daemon 19.01MB [2024-07-25T11:23:06.244Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-25T11:23:06.244Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-25T11:23:06.244Z] ---> 78ae1ab10485 [2024-07-25T11:23:06.244Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-25T11:23:06.511Z] ---> Running in 61f414c53ec4 [2024-07-25T11:23:06.777Z] Removing intermediate container 61f414c53ec4 [2024-07-25T11:23:06.777Z] ---> 33c5e4d6404d [2024-07-25T11:23:06.777Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-25T11:23:06.777Z] ---> Running in 7ea19888a840 [2024-07-25T11:23:07.043Z] Removing intermediate container 7ea19888a840 [2024-07-25T11:23:07.044Z] ---> 0ac1325e965f [2024-07-25T11:23:07.044Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-07-25T11:23:07.044Z] ---> Running in 46f1f3691fb3 [2024-07-25T11:23:07.311Z] Removing intermediate container 46f1f3691fb3 [2024-07-25T11:23:07.311Z] ---> 5647c2158df9 [2024-07-25T11:23:07.311Z] Step 6/26 : WORKDIR /device-virtual-go [2024-07-25T11:23:07.584Z] ---> Running in a7fd18e09cb5 [2024-07-25T11:23:07.852Z] Removing intermediate container a7fd18e09cb5 [2024-07-25T11:23:07.852Z] ---> 3635b34351d6 [2024-07-25T11:23:07.852Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-25T11:23:07.852Z] ---> Running in 04fcd1c1e990 [2024-07-25T11:23:08.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-25T11:23:09.395Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-25T11:23:10.354Z] OK: 271 MiB in 56 packages [2024-07-25T11:23:11.314Z] Removing intermediate container 04fcd1c1e990 [2024-07-25T11:23:11.314Z] ---> 8ecdd19605d7 [2024-07-25T11:23:11.314Z] Step 8/26 : COPY go.mod vendor* ./ [2024-07-25T11:23:11.584Z] ---> d788f1f91a87 [2024-07-25T11:23:11.584Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-25T11:23:11.584Z] ---> Running in 6b822f9ab9ea [2024-07-25T11:23:14.163Z] Removing intermediate container 6b822f9ab9ea [2024-07-25T11:23:14.163Z] ---> fdd70292b958 [2024-07-25T11:23:14.163Z] Step 10/26 : COPY . . [2024-07-25T11:23:15.604Z] ---> e8a95fbf0891 [2024-07-25T11:23:15.604Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-25T11:23:15.604Z] ---> Running in 7266275583df [2024-07-25T11:23:15.870Z] Removing intermediate container 7266275583df [2024-07-25T11:23:15.870Z] ---> 7ef1da39787e [2024-07-25T11:23:15.870Z] Step 12/26 : RUN $MAKE [2024-07-25T11:23:15.870Z] ---> Running in 6039df09a351 [2024-07-25T11:23:16.832Z] 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.27" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-07-25T11:26:38.609Z] Removing intermediate container 6039df09a351 [2024-07-25T11:26:38.609Z] ---> 2d7d0416cc29 [2024-07-25T11:26:38.609Z] Step 13/26 : FROM alpine:3.18 [2024-07-25T11:26:38.609Z] 3.18: Pulling from library/alpine [2024-07-25T11:26:38.609Z] 4983c3fe2029: Pulling fs layer [2024-07-25T11:26:38.609Z] 4983c3fe2029: Verifying Checksum [2024-07-25T11:26:38.609Z] 4983c3fe2029: Download complete [2024-07-25T11:26:38.609Z] 4983c3fe2029: Pull complete [2024-07-25T11:26:38.609Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-25T11:26:38.609Z] Status: Downloaded newer image for alpine:3.18 [2024-07-25T11:26:38.609Z] ---> a0237000ae83 [2024-07-25T11:26:38.609Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-07-25T11:26:38.609Z] ---> Running in dc50a8d3e4fb [2024-07-25T11:26:38.609Z] Removing intermediate container dc50a8d3e4fb [2024-07-25T11:26:38.609Z] ---> 3f0c61048f90 [2024-07-25T11:26:38.609Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-07-25T11:26:38.609Z] ---> Running in f8c1b5ac8b19 [2024-07-25T11:26:38.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-25T11:26:38.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-25T11:26:38.609Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-25T11:26:38.609Z] Executing busybox-1.36.1-r7.trigger [2024-07-25T11:26:38.609Z] OK: 8 MiB in 16 packages [2024-07-25T11:26:38.609Z] Removing intermediate container f8c1b5ac8b19 [2024-07-25T11:26:38.609Z] ---> c01295ebe46b [2024-07-25T11:26:38.609Z] Step 16/26 : RUN apk --no-cache upgrade [2024-07-25T11:26:38.609Z] ---> Running in 9bada9da53cb [2024-07-25T11:26:38.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-25T11:26:38.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-25T11:26:38.609Z] OK: 8 MiB in 16 packages [2024-07-25T11:26:38.878Z] Removing intermediate container 9bada9da53cb [2024-07-25T11:26:38.878Z] ---> 57110ae0c5bf [2024-07-25T11:26:38.878Z] Step 17/26 : WORKDIR / [2024-07-25T11:26:38.878Z] ---> Running in 47d0f013ec7c [2024-07-25T11:26:39.147Z] Removing intermediate container 47d0f013ec7c [2024-07-25T11:26:39.147Z] ---> c018509b6421 [2024-07-25T11:26:39.147Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-07-25T11:26:39.732Z] ---> 689d8246c138 [2024-07-25T11:26:39.732Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-07-25T11:26:40.322Z] ---> be4b2c207bf9 [2024-07-25T11:26:40.322Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-07-25T11:26:41.738Z] ---> 35da84a54504 [2024-07-25T11:26:41.738Z] Step 21/26 : EXPOSE 59900 [2024-07-25T11:26:42.007Z] ---> Running in 6f6b178c6da2 [2024-07-25T11:26:42.594Z] Removing intermediate container 6f6b178c6da2 [2024-07-25T11:26:42.594Z] ---> 1dd83c3b08a8 [2024-07-25T11:26:42.594Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-07-25T11:26:42.861Z] ---> Running in 0cb18735aa03 [2024-07-25T11:26:43.128Z] Removing intermediate container 0cb18735aa03 [2024-07-25T11:26:43.128Z] ---> 5b32dab68cf0 [2024-07-25T11:26:43.128Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-25T11:26:43.128Z] ---> Running in e96d0d05f554 [2024-07-25T11:26:43.395Z] Removing intermediate container e96d0d05f554 [2024-07-25T11:26:43.395Z] ---> 2bbd3f8d7577 [2024-07-25T11:26:43.395Z] Step 24/26 : LABEL arch=arm64 [2024-07-25T11:26:43.395Z] ---> Running in f8cb28247342 [2024-07-25T11:26:43.662Z] Removing intermediate container f8cb28247342 [2024-07-25T11:26:43.662Z] ---> 4b4b6a745183 [2024-07-25T11:26:43.662Z] Step 25/26 : LABEL git_sha=61be2951695892e915ff05e0a22b7e68c90b022e [2024-07-25T11:26:43.937Z] ---> Running in eb9365466a82 [2024-07-25T11:26:44.210Z] Removing intermediate container eb9365466a82 [2024-07-25T11:26:44.210Z] ---> 1a027e5776c4 [2024-07-25T11:26:44.210Z] Step 26/26 : LABEL version=0.0.0 [2024-07-25T11:26:44.210Z] ---> Running in 3385a8b99a1d [2024-07-25T11:26:44.475Z] Removing intermediate container 3385a8b99a1d [2024-07-25T11:26:44.475Z] ---> be0daf368042 [2024-07-25T11:26:44.475Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-25T11:26:44.475Z] Successfully built be0daf368042 [2024-07-25T11:26:44.475Z] 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-25T11:26:45.439Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-25T11:26:45.439Z] [2024-07-25T11:26:45.439Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T11:26:45.869Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-25T11:26:45.869Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-25T11:26:45.869Z] 8998bd30e6a1: Pulling fs layer [2024-07-25T11:26:45.869Z] 04944245beec: Pulling fs layer [2024-07-25T11:26:45.869Z] 699f458cf7ca: Pulling fs layer [2024-07-25T11:26:45.869Z] 765212b225bb: Pulling fs layer [2024-07-25T11:26:45.869Z] f23df028b6ca: Pulling fs layer [2024-07-25T11:26:45.869Z] d65c8cfc05b1: Pulling fs layer [2024-07-25T11:26:45.869Z] 2437ff75d9bd: Pulling fs layer [2024-07-25T11:26:45.869Z] f23df028b6ca: Waiting [2024-07-25T11:26:45.869Z] d65c8cfc05b1: Waiting [2024-07-25T11:26:45.869Z] 2437ff75d9bd: Waiting [2024-07-25T11:26:45.869Z] 765212b225bb: Waiting [2024-07-25T11:26:46.136Z] 04944245beec: Verifying Checksum [2024-07-25T11:26:46.136Z] 04944245beec: Download complete [2024-07-25T11:26:46.136Z] 765212b225bb: Verifying Checksum [2024-07-25T11:26:46.136Z] 765212b225bb: Download complete [2024-07-25T11:26:46.136Z] f23df028b6ca: Download complete [2024-07-25T11:26:46.136Z] d65c8cfc05b1: Verifying Checksum [2024-07-25T11:26:46.136Z] d65c8cfc05b1: Download complete [2024-07-25T11:26:46.137Z] 699f458cf7ca: Verifying Checksum [2024-07-25T11:26:46.137Z] 699f458cf7ca: Download complete [2024-07-25T11:26:46.718Z] 8998bd30e6a1: Verifying Checksum [2024-07-25T11:26:46.718Z] 8998bd30e6a1: Download complete [2024-07-25T11:26:49.300Z] 2437ff75d9bd: Verifying Checksum [2024-07-25T11:26:49.300Z] 2437ff75d9bd: Download complete [2024-07-25T11:26:51.240Z] 8998bd30e6a1: Pull complete [2024-07-25T11:26:51.823Z] 04944245beec: Pull complete [2024-07-25T11:26:53.231Z] 699f458cf7ca: Pull complete [2024-07-25T11:26:53.499Z] 765212b225bb: Pull complete [2024-07-25T11:26:54.456Z] f23df028b6ca: Pull complete [2024-07-25T11:26:54.722Z] d65c8cfc05b1: Pull complete [2024-07-25T11:27:12.915Z] 2437ff75d9bd: Pull complete [2024-07-25T11:27:12.915Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-25T11:27:12.915Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-25T11:27:12.915Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T11:27:13.301Z] prd-ubuntu20.04-docker-arm64-4c-16g-6446 does not seem to be running inside a container [2024-07-25T11:27:13.352Z] $ 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-25T11:27:16.001Z] $ docker top 04641cf0419366dd041feaf3fd410e831b0feaf43359d309d9099ef95845989d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-25T11:27:16.919Z] ---> job-cost.sh [2024-07-25T11:27:16.919Z] lf-activate-venv: SKIPPING [2024-07-25T11:27:16.919Z] INFO: No Stack... [2024-07-25T11:27:17.497Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-25T11:27:18.453Z] INFO: Archiving Costs [Pipeline] sh [2024-07-25T11:27:19.114Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2024-07-25T11:27:19.114Z] + cut -d, -f6 [Pipeline] lock [2024-07-25T11:27:19.193Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-481-1-stack-cost] [2024-07-25T11:27:19.199Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-481-1-stack-cost] did not exist. Created. [2024-07-25T11:27:19.206Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-481-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-25T11:27:19.955Z] /w/workspace/device-virtual-go/1@tmp/durable-e4d5c5a2/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-25T11:27:20.628Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-25T11:27:20.672Z] Warning: overwriting stash ‘stack-cost’ [2024-07-25T11:27:20.716Z] Stashed 1 file(s) [Pipeline] } [2024-07-25T11:27:20.738Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-481-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-25T11:27:20.856Z] $ docker stop --time=1 04641cf0419366dd041feaf3fd410e831b0feaf43359d309d9099ef95845989d [2024-07-25T11:27:22.328Z] $ docker rm -f --volumes 04641cf0419366dd041feaf3fd410e831b0feaf43359d309d9099ef95845989d [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-25T11:27:23.859Z] provisioning config files... [2024-07-25T11:27:23.867Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-481@tmp/config9181125951965683944tmp [Pipeline] { [Pipeline] sh [2024-07-25T11:27:24.235Z] + set +x [2024-07-25T11:27:24.235Z] + curl -s https://codecov.io/bash [2024-07-25T11:27:24.235Z] + bash -s -- [2024-07-25T11:27:24.235Z] [2024-07-25T11:27:24.235Z] _____ _ [2024-07-25T11:27:24.235Z] / ____| | | [2024-07-25T11:27:24.235Z] | | ___ __| | ___ ___ _____ __ [2024-07-25T11:27:24.235Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-25T11:27:24.235Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-25T11:27:24.235Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-25T11:27:24.235Z] Bash-1.0.6 [2024-07-25T11:27:24.235Z] [2024-07-25T11:27:24.235Z] [2024-07-25T11:27:24.235Z] ==> git version 2.25.1 found [2024-07-25T11:27:24.235Z] ==> 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-25T11:27:24.235Z] Release-Date: 2020-01-08 [2024-07-25T11:27:24.236Z] 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-25T11:27:24.236Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-25T11:27:24.236Z] ==> Jenkins CI detected. [2024-07-25T11:27:24.236Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-481 [2024-07-25T11:27:24.236Z] project root: . [2024-07-25T11:27:24.236Z] --> token set from env [2024-07-25T11:27:25.018Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-25T11:27:25.018Z] ==> Running gcov in . (disable via -X gcov) [2024-07-25T11:27:25.018Z] ==> Python coveragepy not found [2024-07-25T11:27:25.018Z] ==> Searching for coverage reports in: [2024-07-25T11:27:25.018Z] + . [2024-07-25T11:27:25.018Z] -> Found 1 reports [2024-07-25T11:27:25.018Z] ==> Detecting git/mercurial file structure [2024-07-25T11:27:25.018Z] ==> Reading reports [2024-07-25T11:27:25.018Z] + ./coverage.out bytes=43247 [2024-07-25T11:27:25.018Z] ==> Appending adjustments [2024-07-25T11:27:25.292Z] https://docs.codecov.io/docs/fixing-reports [2024-07-25T11:27:25.292Z] + Found adjustments [2024-07-25T11:27:25.292Z] ==> Gzipping contents [2024-07-25T11:27:25.551Z] 8.0K /tmp/codecov.i0rN1y.gz [2024-07-25T11:27:25.551Z] ==> Uploading reports [2024-07-25T11:27:25.551Z] url: https://codecov.io [2024-07-25T11:27:25.551Z] query: branch=PR-481&commit=61be2951695892e915ff05e0a22b7e68c90b022e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-481%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=481&job=&cmd_args= [2024-07-25T11:27:25.814Z] -> Pinging Codecov [2024-07-25T11:27:25.814Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-481&commit=61be2951695892e915ff05e0a22b7e68c90b022e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-481%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=481&job=&cmd_args= [2024-07-25T11:27:26.075Z] -> Uploading to [2024-07-25T11:27:26.075Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-25/5E52B4B073DB2E39498172D8E973AA87/61be2951695892e915ff05e0a22b7e68c90b022e/2d5d0dc0-d16c-4c7a-9e8e-c069d5c7b6e0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240725%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240725T112725Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=492ce1e800c0a1e63a421b4c8d80466948e874a1cc27c1311ec601a5485cc7dd [2024-07-25T11:27:26.075Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-25T11:27:26.075Z] Dload Upload Total Spent Left Speed [2024-07-25T11:27:26.646Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5022 0 0 100 5022 0 14946 --:--:-- --:--:-- --:--:-- 14902 100 5022 0 0 100 5022 0 14902 --:--:-- --:--:-- --:--:-- 14857 [2024-07-25T11:27:26.646Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/61be2951695892e915ff05e0a22b7e68c90b022e [Pipeline] } [2024-07-25T11:27:26.683Z] 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-25T11:27:29.054Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-481/archives ] [2024-07-25T11:27:29.054Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-481/archives [2024-07-25T11:27:29.054Z] total 16 [2024-07-25T11:27:29.054Z] drwxr-xr-x 3 root root 4096 Jul 25 11:16 . [2024-07-25T11:27:29.054Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 25 11:16 .. [2024-07-25T11:27:29.054Z] drwxr-xr-x 2 root root 4096 Jul 25 11:16 cost [2024-07-25T11:27:29.054Z] -rw-r--r-- 1 root root 89 Jul 25 11:16 cost.csv [2024-07-25T11:27:29.054Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-481/archives [2024-07-25T11:27:29.054Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-481/archives [2024-07-25T11:27:29.054Z] total 16 [2024-07-25T11:27:29.054Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 25 11:16 . [2024-07-25T11:27:29.054Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 25 11:16 .. [2024-07-25T11:27:29.054Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 25 11:16 cost [2024-07-25T11:27:29.054Z] -rw-r--r-- 1 jenkins jenkins 89 Jul 25 11:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-25T11:27:29.398Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-25T11:27:30.676Z] ---> package-listing.sh [2024-07-25T11:27:30.676Z] ++ facter osfamily [2024-07-25T11:27:30.676Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-25T11:27:30.676Z] + OS_FAMILY=debian [2024-07-25T11:27:30.676Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-481 [2024-07-25T11:27:30.676Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-25T11:27:30.676Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-25T11:27:30.676Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-25T11:27:30.676Z] + PACKAGES=/tmp/packages_start.txt [2024-07-25T11:27:30.676Z] + '[' /w/workspace/foundry_device-virtual-go_PR-481 ']' [2024-07-25T11:27:30.676Z] + PACKAGES=/tmp/packages_end.txt [2024-07-25T11:27:30.676Z] + case "${OS_FAMILY}" in [2024-07-25T11:27:30.676Z] + dpkg -l [2024-07-25T11:27:30.676Z] + grep '^ii' [2024-07-25T11:27:30.936Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-25T11:27:30.936Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-25T11:27:30.936Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-25T11:27:31.201Z] + '[' /w/workspace/foundry_device-virtual-go_PR-481 ']' [2024-07-25T11:27:31.201Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-481/archives/ [2024-07-25T11:27:31.201Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-481/archives/ [Pipeline] echo [2024-07-25T11:27:31.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-481/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-25T11:27:31.544Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T11:27:32.447Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-25T11:27:32.447Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T11:27:32.623Z] prd-ubuntu20.04-docker-8c-8g-6444 does not seem to be running inside a container [2024-07-25T11:27:32.647Z] $ 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-481/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-481 -v /w/workspace/foundry_device-virtual-go_PR-481:/w/workspace/foundry_device-virtual-go_PR-481:rw,z -v /w/workspace/foundry_device-virtual-go_PR-481@tmp:/w/workspace/foundry_device-virtual-go_PR-481@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-25T11:27:40.147Z] $ docker top b69c5344238e53d4c5cb00184d7cabf100e53e00a603a000e4278098cc2cfc84 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-25T11:27:40.591Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-25T11:27:41.135Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-25T11:27:41.545Z] + ls /var/log/sa-host [2024-07-25T11:27:41.545Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-25T11:27:41.803Z] provisioning config files... [2024-07-25T11:27:41.813Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-481@tmp/config5466488251209933395tmp [Pipeline] { [Pipeline] echo [2024-07-25T11:27:41.890Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-25T11:27:42.367Z] ---> create-netrc.sh [Pipeline] } [2024-07-25T11:27:42.400Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-25T11:27:42.895Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-25T11:27:42.939Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-25T11:27:43.268Z] ---> sudo-logs.sh [2024-07-25T11:27:43.269Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-25T11:27:43.385Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-25T11:27:43.716Z] ---> job-cost.sh [2024-07-25T11:27:43.716Z] lf-activate-venv: SKIPPING [2024-07-25T11:27:43.716Z] DEBUG: total: 0.2199999988079071 [2024-07-25T11:27:43.716Z] INFO: Retrieving Stack Cost... [2024-07-25T11:27:44.284Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-25T11:27:44.544Z] INFO: Archiving Costs [Pipeline] echo [2024-07-25T11:27:44.587Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-25T11:27:44.928Z] ---> logs-deploy.sh [2024-07-25T11:27:44.928Z] lf-activate-venv: SKIPPING [2024-07-25T11:27:44.928Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-481/1 [2024-07-25T11:27:44.928Z] INFO: archiving workspace using pattern(s): [2024-07-25T11:27:46.310Z] Archives upload complete. [2024-07-25T11:27:46.310Z] INFO: archiving logs to Nexus