Pull request #483 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cc7412d263391a1465ae94517db85e818bd9f88d+91ab2d1966be996543f139896746dd83b19c5706 (8cbf3c701b3145e145f0250987eefbaaf341039a) 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-ssh7077573610585948160.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-ssh939501503477893537.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-483/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-483/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11494742803204153753.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-483/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3468607246547937498.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-ssh16376923888803080780.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-483/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-483/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15733195512567878695.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 ‘prd-ubuntu20.04-docker-8c-8g-7295’ Running on prd-ubuntu20.04-docker-8c-8g-7297 in /w/workspace/foundry_device-virtual-go_PR-483 [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-483 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 91ab2d1966be996543f139896746dd83b19c5706 into PR head commit cc7412d263391a1465ae94517db85e818bd9f88d Merge succeeded, producing cc7412d263391a1465ae94517db85e818bd9f88d Checking out Revision cc7412d263391a1465ae94517db85e818bd9f88d (PR-483) 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 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/483/head:refs/remotes/origin/PR-483 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cc7412d263391a1465ae94517db85e818bd9f88d # 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 91ab2d1966be996543f139896746dd83b19c5706 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cc7412d263391a1465ae94517db85e818bd9f88d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-07T12:03:00.126Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-07T12:03:00.360Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-07T12:03:00.486Z] ========================================================= [2024-08-07T12:03:00.486Z] EdgeX Global Pipelines Version Info [2024-08-07T12:03:00.486Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-07T12:03:01.658Z] ------------------- [2024-08-07T12:03:01.658Z] stable info: [2024-08-07T12:03:01.658Z] ------------------- [2024-08-07T12:03:01.658Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-07T12:03:01.658Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-07T12:03:01.658Z] Message: update stable to v1.0.260 [2024-08-07T12:03:01.921Z] ------------------- [2024-08-07T12:03:01.921Z] experimental info: [2024-08-07T12:03:01.921Z] ------------------- [2024-08-07T12:03:01.921Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-07T12:03:01.921Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-08-07T12:03:01.921Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-07T12:03:02.160Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2024-08-07T12:03:02.218Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2024-08-07T12:03:02.281Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-07T12:03:02.342Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-07T12:03:02.400Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-07T12:03:02.457Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-07T12:03:02.518Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-07T12:03:02.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-08-07T12:03:02.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-07T12:03:02.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-07T12:03:02.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-07T12:03:02.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2024-08-07T12:03:02.882Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-07T12:03:02.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-07T12:03:02.999Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-08-07T12:03:03.055Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-08-07T12:03:03.118Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-07T12:03:03.181Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-07T12:03:03.243Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-07T12:03:03.306Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-07T12:03:03.373Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-08-07T12:03:03.433Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-08-07T12:03:03.493Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-07T12:03:03.558Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-07T12:03:03.627Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-08-07T12:03:03.693Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-07T12:03:03.758Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-07T12:03:03.819Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-483 [Pipeline] echo [2024-08-07T12:03:03.882Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-483 [Pipeline] echo [2024-08-07T12:03:03.954Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-483 [Pipeline] echo [2024-08-07T12:03:04.025Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cc7412d263391a1465ae94517db85e818bd9f88d [Pipeline] echo [2024-08-07T12:03:04.088Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cc7412d [Pipeline] echo [2024-08-07T12:03:04.155Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-07T12:03:04.312Z] provisioning config files... [2024-08-07T12:03:04.328Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-483@tmp/config13419638181822224343tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T12:03:04.724Z] ---> ****-login.sh [2024-08-07T12:03:04.724Z] nexus3.edgexfoundry.org:10001 [2024-08-07T12:03:04.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T12:03:04.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T12:03:04.983Z] Configure a credential helper to remove this warning. See [2024-08-07T12:03:04.983Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T12:03:04.983Z] [2024-08-07T12:03:04.983Z] Login Succeeded [2024-08-07T12:03:04.983Z] nexus3.edgexfoundry.org:10002 [2024-08-07T12:03:05.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T12:03:05.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T12:03:05.243Z] Configure a credential helper to remove this warning. See [2024-08-07T12:03:05.243Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T12:03:05.243Z] [2024-08-07T12:03:05.243Z] Login Succeeded [2024-08-07T12:03:05.243Z] nexus3.edgexfoundry.org:10003 [2024-08-07T12:03:05.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T12:03:05.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T12:03:05.243Z] Configure a credential helper to remove this warning. See [2024-08-07T12:03:05.243Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T12:03:05.243Z] [2024-08-07T12:03:05.243Z] Login Succeeded [2024-08-07T12:03:05.243Z] nexus3.edgexfoundry.org:10004 [2024-08-07T12:03:05.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T12:03:05.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T12:03:05.503Z] Configure a credential helper to remove this warning. See [2024-08-07T12:03:05.503Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T12:03:05.503Z] [2024-08-07T12:03:05.503Z] Login Succeeded [2024-08-07T12:03:05.503Z] ****.io [2024-08-07T12:03:05.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T12:03:05.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T12:03:05.763Z] Configure a credential helper to remove this warning. See [2024-08-07T12:03:05.763Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T12:03:05.763Z] [2024-08-07T12:03:05.763Z] Login Succeeded [2024-08-07T12:03:05.763Z] ---> ****-login.sh ends [Pipeline] } [2024-08-07T12:03:05.805Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-07T12:03:06.572Z] + git rev-list -1 --merges cc7412d263391a1465ae94517db85e818bd9f88d~1..cc7412d263391a1465ae94517db85e818bd9f88d [Pipeline] echo [2024-08-07T12:03:06.617Z] -----------> git rev-list -1 --merges cc7412d263391a1465ae94517db85e818bd9f88d~1..cc7412d263391a1465ae94517db85e818bd9f88d cc7412d263391a1465ae94517db85e818bd9f88d [false] [Pipeline] sh [2024-08-07T12:03:07.058Z] + git log --format=format:%s -1 cc7412d263391a1465ae94517db85e818bd9f88d [Pipeline] echo [2024-08-07T12:03:07.105Z] ========================================================= [2024-08-07T12:03:07.105Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-07T12:03:07.105Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-07T12:03:07.636Z] + git log --format=format:%s -1 cc7412d263391a1465ae94517db85e818bd9f88d [Pipeline] echo [2024-08-07T12:03:07.680Z] [semverPrep] GIT_COMMIT: cc7412d263391a1465ae94517db85e818bd9f88d, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-08-07T12:03:07.723Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-07T12:03:08.133Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-07T12:03:08.133Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-07T12:03:08.133Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-07T12:03:08.133Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-07T12:03:08.133Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-08-07T12:03:08.133Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-07T12:03:08.133Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T12:03:08.702Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-07T12:03:08.702Z] [2024-08-07T12:03:08.702Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T12:03:09.112Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-07T12:03:09.112Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-07T12:03:09.112Z] b85a868b505f: Pulling fs layer [2024-08-07T12:03:09.112Z] e2be974225ed: Pulling fs layer [2024-08-07T12:03:09.112Z] 339a4e72a1f5: Pulling fs layer [2024-08-07T12:03:09.112Z] 988bab9f4d93: Pulling fs layer [2024-08-07T12:03:09.112Z] 1469e6f7b9e6: Pulling fs layer [2024-08-07T12:03:09.112Z] eaf3925da568: Pulling fs layer [2024-08-07T12:03:09.112Z] bab4dde63d76: Pulling fs layer [2024-08-07T12:03:09.112Z] bde34c3a00c8: Pulling fs layer [2024-08-07T12:03:09.112Z] b352a97aabf1: Pulling fs layer [2024-08-07T12:03:09.112Z] 4872d77fe225: Pulling fs layer [2024-08-07T12:03:09.112Z] 5851b861e8e6: Pulling fs layer [2024-08-07T12:03:09.112Z] bab4dde63d76: Waiting [2024-08-07T12:03:09.112Z] bde34c3a00c8: Waiting [2024-08-07T12:03:09.112Z] 4872d77fe225: Waiting [2024-08-07T12:03:09.112Z] b352a97aabf1: Waiting [2024-08-07T12:03:09.112Z] 988bab9f4d93: Waiting [2024-08-07T12:03:09.112Z] 1469e6f7b9e6: Waiting [2024-08-07T12:03:09.112Z] eaf3925da568: Waiting [2024-08-07T12:03:10.494Z] e2be974225ed: Download complete [2024-08-07T12:03:10.494Z] 988bab9f4d93: Download complete [2024-08-07T12:03:10.494Z] 1469e6f7b9e6: Verifying Checksum [2024-08-07T12:03:10.494Z] 1469e6f7b9e6: Download complete [2024-08-07T12:03:10.494Z] eaf3925da568: Download complete [2024-08-07T12:03:10.494Z] 339a4e72a1f5: Verifying Checksum [2024-08-07T12:03:10.494Z] 339a4e72a1f5: Download complete [2024-08-07T12:03:10.494Z] bde34c3a00c8: Verifying Checksum [2024-08-07T12:03:10.494Z] bde34c3a00c8: Download complete [2024-08-07T12:03:10.494Z] b352a97aabf1: Verifying Checksum [2024-08-07T12:03:10.494Z] b352a97aabf1: Download complete [2024-08-07T12:03:10.494Z] 4872d77fe225: Verifying Checksum [2024-08-07T12:03:10.494Z] 4872d77fe225: Download complete [2024-08-07T12:03:10.494Z] 5851b861e8e6: Verifying Checksum [2024-08-07T12:03:10.494Z] 5851b861e8e6: Download complete [2024-08-07T12:03:10.494Z] b85a868b505f: Verifying Checksum [2024-08-07T12:03:10.494Z] b85a868b505f: Download complete [2024-08-07T12:03:10.752Z] bab4dde63d76: Verifying Checksum [2024-08-07T12:03:10.752Z] bab4dde63d76: Download complete [2024-08-07T12:03:12.129Z] b85a868b505f: Pull complete [2024-08-07T12:03:12.129Z] e2be974225ed: Pull complete [2024-08-07T12:03:12.387Z] 339a4e72a1f5: Pull complete [2024-08-07T12:03:12.645Z] 988bab9f4d93: Pull complete [2024-08-07T12:03:12.903Z] 1469e6f7b9e6: Pull complete [2024-08-07T12:03:12.903Z] eaf3925da568: Pull complete [2024-08-07T12:03:14.814Z] bab4dde63d76: Pull complete [2024-08-07T12:03:14.814Z] bde34c3a00c8: Pull complete [2024-08-07T12:03:14.814Z] b352a97aabf1: Pull complete [2024-08-07T12:03:14.814Z] 4872d77fe225: Pull complete [2024-08-07T12:03:14.814Z] 5851b861e8e6: Pull complete [2024-08-07T12:03:14.814Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-07T12:03:14.814Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-07T12:03:14.814Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T12:03:15.105Z] prd-ubuntu20.04-docker-8c-8g-7297 does not seem to be running inside a container [2024-08-07T12:03:15.136Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-483 -v /w/workspace/foundry_device-virtual-go_PR-483:/w/workspace/foundry_device-virtual-go_PR-483:rw,z -v /w/workspace/foundry_device-virtual-go_PR-483@tmp:/w/workspace/foundry_device-virtual-go_PR-483@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-08-07T12:03:18.213Z] $ docker top 0a933fa651e39f4e54d5702e74f6f36bc3b91299785ad05c2e275c234a361b58 -eo pid,comm [2024-08-07T12:03:18.274Z] 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-08-07T12:03:18.274Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-07T12:03:18.449Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-07T12:03:18.449Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-07T12:03:18.570Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-07T12:03:18.572Z] $ docker exec 0a933fa651e39f4e54d5702e74f6f36bc3b91299785ad05c2e275c234a361b58 ssh-agent [2024-08-07T12:03:18.679Z] SSH_AUTH_SOCK=/tmp/ssh-X8IWgrL1Yl2x/agent.32 [2024-08-07T12:03:18.679Z] SSH_AGENT_PID=38 [2024-08-07T12:03:18.687Z] Running ssh-add (command line suppressed) [2024-08-07T12:03:18.778Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-483@tmp/private_key_17742544821830888806.key (/w/workspace/foundry_device-virtual-go_PR-483@tmp/private_key_17742544821830888806.key) [2024-08-07T12:03:18.796Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-07T12:03:19.141Z] + git tag --points-at HEAD [Pipeline] } [2024-08-07T12:03:19.168Z] $ docker exec --env ******** --env ******** 0a933fa651e39f4e54d5702e74f6f36bc3b91299785ad05c2e275c234a361b58 ssh-agent -k [2024-08-07T12:03:19.268Z] unset SSH_AUTH_SOCK; [2024-08-07T12:03:19.269Z] unset SSH_AGENT_PID; [2024-08-07T12:03:19.269Z] echo Agent pid 38 killed; [2024-08-07T12:03:19.278Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-07T12:03:19.392Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-07T12:03:19.392Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-07T12:03:19.494Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-07T12:03:19.496Z] $ docker exec 0a933fa651e39f4e54d5702e74f6f36bc3b91299785ad05c2e275c234a361b58 ssh-agent [2024-08-07T12:03:19.594Z] SSH_AUTH_SOCK=/tmp/ssh-g5tcgxtQPKAI/agent.71 [2024-08-07T12:03:19.594Z] SSH_AGENT_PID=77 [2024-08-07T12:03:19.598Z] Running ssh-add (command line suppressed) [2024-08-07T12:03:19.684Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-483@tmp/private_key_1025544131302619323.key (/w/workspace/foundry_device-virtual-go_PR-483@tmp/private_key_1025544131302619323.key) [2024-08-07T12:03:19.697Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-07T12:03:20.039Z] + git semver init [2024-08-07T12:03:20.298Z] 2024-08-07 12:03:20,218 [run_init] DEBUG init version:0.0.0 force:False [2024-08-07T12:03:20.298Z] 2024-08-07 12:03:20,219 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-483/.semver [2024-08-07T12:03:20.298Z] 2024-08-07 12:03:20,219 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-483/.semver [2024-08-07T12:03:20.298Z] 2024-08-07 12:03:20,219 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-483/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-483, universal_newlines=False, shell=None, istream=None) [2024-08-07T12:03:22.203Z] 2024-08-07 12:03:22,186 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-483/.git/info/exclude [2024-08-07T12:03:22.203Z] 2024-08-07 12:03:22,187 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-483/.semver/PR-483 with force:False [2024-08-07T12:03:22.203Z] 2024-08-07 12:03:22,187 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-483/.semver/PR-483 [2024-08-07T12:03:22.203Z] 2024-08-07 12:03:22,191 [execute] INFO git cat-file --batch-check [2024-08-07T12:03:22.203Z] 2024-08-07 12:03:22,192 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-483/.semver, universal_newlines=False, shell=None, istream=) [2024-08-07T12:03:22.203Z] 2024-08-07 12:03:22,198 [execute] INFO git cat-file --batch [2024-08-07T12:03:22.203Z] 2024-08-07 12:03:22,198 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-483/.semver, universal_newlines=False, shell=None, istream=) [2024-08-07T12:03:22.463Z] 2024-08-07 12:03:22,203 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-483/.semver/PR-483 [2024-08-07T12:03:22.463Z] 0.0.0 [Pipeline] } [2024-08-07T12:03:22.489Z] $ docker exec --env ******** --env ******** 0a933fa651e39f4e54d5702e74f6f36bc3b91299785ad05c2e275c234a361b58 ssh-agent -k [2024-08-07T12:03:22.586Z] unset SSH_AUTH_SOCK; [2024-08-07T12:03:22.587Z] unset SSH_AGENT_PID; [2024-08-07T12:03:22.587Z] echo Agent pid 77 killed; [2024-08-07T12:03:22.599Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-07T12:03:23.077Z] + git semver [Pipeline] } [2024-08-07T12:03:23.368Z] $ docker stop --time=1 0a933fa651e39f4e54d5702e74f6f36bc3b91299785ad05c2e275c234a361b58 [2024-08-07T12:03:24.640Z] $ docker rm -f --volumes 0a933fa651e39f4e54d5702e74f6f36bc3b91299785ad05c2e275c234a361b58 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-07T12:03:25.066Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-07T12:03:25.389Z] Stashed 1 file(s) [Pipeline] echo [2024-08-07T12:03:25.413Z] [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-08-07T12:03:26.152Z] provisioning config files... [2024-08-07T12:03:26.161Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-483@tmp/config17304251930564111368tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T12:03:26.538Z] ---> ****-login.sh [2024-08-07T12:03:26.538Z] nexus3.edgexfoundry.org:10001 [2024-08-07T12:03:26.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T12:03:26.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T12:03:26.538Z] Configure a credential helper to remove this warning. See [2024-08-07T12:03:26.538Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T12:03:26.538Z] [2024-08-07T12:03:26.538Z] Login Succeeded [2024-08-07T12:03:26.538Z] nexus3.edgexfoundry.org:10002 [2024-08-07T12:03:26.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T12:03:26.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T12:03:26.538Z] Configure a credential helper to remove this warning. See [2024-08-07T12:03:26.538Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T12:03:26.538Z] [2024-08-07T12:03:26.538Z] Login Succeeded [2024-08-07T12:03:26.538Z] nexus3.edgexfoundry.org:10003 [2024-08-07T12:03:26.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T12:03:26.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T12:03:26.798Z] Configure a credential helper to remove this warning. See [2024-08-07T12:03:26.798Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T12:03:26.798Z] [2024-08-07T12:03:26.798Z] Login Succeeded [2024-08-07T12:03:26.798Z] nexus3.edgexfoundry.org:10004 [2024-08-07T12:03:26.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T12:03:26.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T12:03:26.798Z] Configure a credential helper to remove this warning. See [2024-08-07T12:03:26.798Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T12:03:26.798Z] [2024-08-07T12:03:26.798Z] Login Succeeded [2024-08-07T12:03:26.798Z] ****.io [2024-08-07T12:03:26.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T12:03:27.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T12:03:27.059Z] Configure a credential helper to remove this warning. See [2024-08-07T12:03:27.059Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T12:03:27.059Z] [2024-08-07T12:03:27.059Z] Login Succeeded [2024-08-07T12:03:27.059Z] ---> ****-login.sh ends [Pipeline] } [2024-08-07T12:03:27.095Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-07T12:03:27.342Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-07T12:03:27.391Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-07T12:03:27.439Z] ========================================================= [2024-08-07T12:03:27.439Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-08-07T12:03:27.439Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T12:03:27.969Z] + 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-08-07T12:03:27.969Z] Sending build context to Docker daemon 37.58MB [2024-08-07T12:03:27.969Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-08-07T12:03:27.969Z] Step 2/12 : FROM ${BASE} AS builder [2024-08-07T12:03:28.229Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-08-07T12:03:28.229Z] 619be1103602: Pulling fs layer [2024-08-07T12:03:28.229Z] 7862e08f4a3e: Pulling fs layer [2024-08-07T12:03:28.229Z] 5df492c9dc93: Pulling fs layer [2024-08-07T12:03:28.229Z] 7629e6793208: Pulling fs layer [2024-08-07T12:03:28.229Z] 4f4fb700ef54: Pulling fs layer [2024-08-07T12:03:28.229Z] fb5054dd5b73: Pulling fs layer [2024-08-07T12:03:28.229Z] eeca6798cff9: Pulling fs layer [2024-08-07T12:03:28.229Z] aa269ceb94a6: Pulling fs layer [2024-08-07T12:03:28.229Z] ada007ff1a6a: Pulling fs layer [2024-08-07T12:03:28.229Z] 7629e6793208: Waiting [2024-08-07T12:03:28.229Z] 4f4fb700ef54: Waiting [2024-08-07T12:03:28.229Z] aa269ceb94a6: Waiting [2024-08-07T12:03:28.229Z] ada007ff1a6a: Waiting [2024-08-07T12:03:28.229Z] fb5054dd5b73: Waiting [2024-08-07T12:03:28.229Z] eeca6798cff9: Waiting [2024-08-07T12:03:28.229Z] 7862e08f4a3e: Download complete [2024-08-07T12:03:28.229Z] 7629e6793208: Verifying Checksum [2024-08-07T12:03:28.229Z] 7629e6793208: Download complete [2024-08-07T12:03:28.229Z] 4f4fb700ef54: Verifying Checksum [2024-08-07T12:03:28.229Z] 4f4fb700ef54: Download complete [2024-08-07T12:03:28.229Z] fb5054dd5b73: Verifying Checksum [2024-08-07T12:03:28.229Z] fb5054dd5b73: Download complete [2024-08-07T12:03:28.489Z] 619be1103602: Verifying Checksum [2024-08-07T12:03:28.489Z] 619be1103602: Download complete [2024-08-07T12:03:28.489Z] eeca6798cff9: Verifying Checksum [2024-08-07T12:03:28.489Z] eeca6798cff9: Download complete [2024-08-07T12:03:28.489Z] 619be1103602: Pull complete [2024-08-07T12:03:28.750Z] 7862e08f4a3e: Pull complete [2024-08-07T12:03:28.750Z] ada007ff1a6a: Verifying Checksum [2024-08-07T12:03:28.750Z] ada007ff1a6a: Download complete [2024-08-07T12:03:29.012Z] 5df492c9dc93: Verifying Checksum [2024-08-07T12:03:29.012Z] 5df492c9dc93: Download complete [2024-08-07T12:03:29.270Z] aa269ceb94a6: Verifying Checksum [2024-08-07T12:03:29.270Z] aa269ceb94a6: Download complete [2024-08-07T12:03:32.551Z] 5df492c9dc93: Pull complete [2024-08-07T12:03:32.551Z] 7629e6793208: Pull complete [2024-08-07T12:03:32.551Z] 4f4fb700ef54: Pull complete [2024-08-07T12:03:32.551Z] fb5054dd5b73: Pull complete [2024-08-07T12:03:32.811Z] eeca6798cff9: Pull complete [2024-08-07T12:03:35.341Z] aa269ceb94a6: Pull complete [2024-08-07T12:03:35.908Z] ada007ff1a6a: Pull complete [2024-08-07T12:03:35.908Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-08-07T12:03:35.908Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-08-07T12:03:35.908Z] ---> f489d0715acc [2024-08-07T12:03:35.908Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-07T12:03:40.932Z] Still waiting to schedule task [2024-08-07T12:03:40.932Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7296’ [2024-08-07T12:03:41.265Z] ---> Running in 1c13466f99c1 [2024-08-07T12:03:41.265Z] Removing intermediate container 1c13466f99c1 [2024-08-07T12:03:41.265Z] ---> 077952877961 [2024-08-07T12:03:41.265Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-08-07T12:03:41.265Z] ---> Running in 294f687ce67c [2024-08-07T12:03:41.265Z] Removing intermediate container 294f687ce67c [2024-08-07T12:03:41.265Z] ---> bbc7bea2eabe [2024-08-07T12:03:41.265Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-08-07T12:03:41.265Z] ---> Running in ff0b1e36abd8 [2024-08-07T12:03:41.265Z] Removing intermediate container ff0b1e36abd8 [2024-08-07T12:03:41.265Z] ---> d873b5965338 [2024-08-07T12:03:41.265Z] Step 6/12 : WORKDIR /device-virtual-go [2024-08-07T12:03:41.265Z] ---> Running in e12a7492c4b5 [2024-08-07T12:03:41.265Z] Removing intermediate container e12a7492c4b5 [2024-08-07T12:03:41.265Z] ---> 7a85c39962fb [2024-08-07T12:03:41.265Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-07T12:03:41.265Z] ---> Running in 3366f1443e1b [2024-08-07T12:03:41.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-07T12:03:41.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-07T12:03:41.783Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-08-07T12:03:41.783Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-08-07T12:03:41.783Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-08-07T12:03:41.783Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-08-07T12:03:41.783Z] Executing busybox-1.36.1-r5.trigger [2024-08-07T12:03:41.783Z] OK: 268 MiB in 56 packages [2024-08-07T12:03:42.374Z] Removing intermediate container 3366f1443e1b [2024-08-07T12:03:42.374Z] ---> 8d7f55d5ee7d [2024-08-07T12:03:42.374Z] Step 8/12 : COPY go.mod vendor* ./ [2024-08-07T12:03:42.634Z] ---> 5432e58398ce [2024-08-07T12:03:42.634Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-07T12:03:42.634Z] ---> Running in df53f23fdbdb [2024-08-07T12:04:29.388Z] Removing intermediate container df53f23fdbdb [2024-08-07T12:04:29.388Z] ---> d99fae4cd16d [2024-08-07T12:04:29.388Z] Step 10/12 : COPY . . [2024-08-07T12:04:29.647Z] ---> 373354a77084 [2024-08-07T12:04:29.647Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-07T12:04:29.647Z] ---> Running in 304b0c02b2f9 [2024-08-07T12:04:29.647Z] Removing intermediate container 304b0c02b2f9 [2024-08-07T12:04:29.647Z] ---> b5701883979a [2024-08-07T12:04:29.647Z] Step 12/12 : RUN $MAKE [2024-08-07T12:04:29.647Z] ---> Running in 0fbad7cba52c [2024-08-07T12:04:29.904Z] noop [2024-08-07T12:04:30.163Z] Removing intermediate container 0fbad7cba52c [2024-08-07T12:04:30.163Z] ---> 8610fecc51ca [2024-08-07T12:04:30.163Z] Successfully built 8610fecc51ca [2024-08-07T12:04:30.163Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T12:04:30.651Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-07T12:04:30.651Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T12:04:30.820Z] prd-ubuntu20.04-docker-8c-8g-7297 does not seem to be running inside a container [2024-08-07T12:04:30.850Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-483 -v /w/workspace/foundry_device-virtual-go_PR-483:/w/workspace/foundry_device-virtual-go_PR-483:rw,z -v /w/workspace/foundry_device-virtual-go_PR-483@tmp:/w/workspace/foundry_device-virtual-go_PR-483@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-08-07T12:04:31.175Z] $ docker top c8b1089e43c38eb22a151bd2c604134aa42cf52545475eeadb9bf63cf2989546 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T12:04:31.595Z] + go version [2024-08-07T12:04:31.596Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-07T12:04:31.630Z] $ docker stop --time=1 c8b1089e43c38eb22a151bd2c604134aa42cf52545475eeadb9bf63cf2989546 [2024-08-07T12:04:32.931Z] $ docker rm -f --volumes c8b1089e43c38eb22a151bd2c604134aa42cf52545475eeadb9bf63cf2989546 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T12:04:33.742Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-07T12:04:33.742Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T12:04:33.906Z] prd-ubuntu20.04-docker-8c-8g-7297 does not seem to be running inside a container [2024-08-07T12:04:33.942Z] $ 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-483 -v /w/workspace/foundry_device-virtual-go_PR-483:/w/workspace/foundry_device-virtual-go_PR-483:rw,z -v /w/workspace/foundry_device-virtual-go_PR-483@tmp:/w/workspace/foundry_device-virtual-go_PR-483@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-08-07T12:04:34.260Z] $ docker top 98faef8a54fdbe33a045617bb05ce5ec34e748b7b215982e05b6c04fa4a2a102 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T12:04:34.676Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-483 [Pipeline] fileExists [Pipeline] sh [2024-08-07T12:04:35.070Z] + make test [2024-08-07T12:04:35.070Z] go test ./... -coverprofile=coverage.out [2024-08-07T12:04:36.974Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-08-07T12:04:55.072Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-08-07T12:04:55.072Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.011s coverage: 58.4% of statements [2024-08-07T12:05:05.059Z] go vet ./... [2024-08-07T12:05:11.653Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-07T12:05:11.653Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-07T12:05:11.653Z] ./bin/test-attribution-txt.sh [2024-08-07T12:05:11.653Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-08-07T12:05:11.698Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-07T12:05:11.740Z] $ docker stop --time=1 98faef8a54fdbe33a045617bb05ce5ec34e748b7b215982e05b6c04fa4a2a102 [2024-08-07T12:05:16.102Z] $ docker rm -f --volumes 98faef8a54fdbe33a045617bb05ce5ec34e748b7b215982e05b6c04fa4a2a102 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-07T12:05:16.805Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-07T12:05:16.891Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-08-07T12:05:17.632Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-07T12:05:17.959Z] + ls -al . [2024-08-07T12:05:17.959Z] total 276 [2024-08-07T12:05:17.959Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 12:04 . [2024-08-07T12:05:17.959Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 12:02 .. [2024-08-07T12:05:17.959Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 12:04 .git [2024-08-07T12:05:17.959Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 12:02 .github [2024-08-07T12:05:17.959Z] -rw-rw-r-- 1 jenkins jenkins 272 Aug 7 12:02 .gitignore [2024-08-07T12:05:17.959Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 7 12:02 .golangci.yml [2024-08-07T12:05:17.959Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 7 12:03 .semver [2024-08-07T12:05:17.959Z] -rw-rw-r-- 1 jenkins jenkins 17933 Aug 7 12:02 Attribution.txt [2024-08-07T12:05:17.959Z] -rw-rw-r-- 1 jenkins jenkins 15941 Aug 7 12:02 CHANGELOG.md [2024-08-07T12:05:17.959Z] -rw-rw-r-- 1 jenkins jenkins 1755 Aug 7 12:02 Dockerfile [2024-08-07T12:05:17.959Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 7 12:02 GOVERNANCE.md [2024-08-07T12:05:17.959Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 7 12:02 Jenkinsfile [2024-08-07T12:05:17.959Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 7 12:02 LICENSE [2024-08-07T12:05:17.959Z] -rw-rw-r-- 1 jenkins jenkins 1953 Aug 7 12:02 Makefile [2024-08-07T12:05:17.959Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 7 12:02 OWNERS.md [2024-08-07T12:05:17.959Z] -rw-rw-r-- 1 jenkins jenkins 4103 Aug 7 12:02 README.md [2024-08-07T12:05:17.959Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 7 12:03 VERSION [2024-08-07T12:05:17.959Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 12:02 bin [2024-08-07T12:05:17.959Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 12:02 cmd [2024-08-07T12:05:17.959Z] -rw-r--r-- 1 jenkins jenkins 43247 Aug 7 12:04 coverage.out [2024-08-07T12:05:17.959Z] -rw-rw-r-- 1 jenkins jenkins 6923 Aug 7 12:02 go.mod [2024-08-07T12:05:17.959Z] -rw-rw-r-- 1 jenkins jenkins 101673 Aug 7 12:02 go.sum [2024-08-07T12:05:17.959Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 12:02 internal [2024-08-07T12:05:17.959Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 7 12:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T12:05:18.482Z] + 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=cc7412d263391a1465ae94517db85e818bd9f88d --label arch=amd64 --label version=0.0.0 . [2024-08-07T12:05:18.482Z] Sending build context to Docker daemon 37.62MB [2024-08-07T12:05:18.482Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-08-07T12:05:18.482Z] Step 2/26 : FROM ${BASE} AS builder [2024-08-07T12:05:18.482Z] ---> 8610fecc51ca [2024-08-07T12:05:18.482Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-07T12:05:19.055Z] ---> Running in 6d0bb9388e84 [2024-08-07T12:05:19.055Z] Removing intermediate container 6d0bb9388e84 [2024-08-07T12:05:19.055Z] ---> 7dc1274ab28b [2024-08-07T12:05:19.055Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-08-07T12:05:19.055Z] ---> Running in 58afb6937d7f [2024-08-07T12:05:19.314Z] Removing intermediate container 58afb6937d7f [2024-08-07T12:05:19.314Z] ---> f02acfbe733c [2024-08-07T12:05:19.314Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-08-07T12:05:19.314Z] ---> Running in 9d4e221f97b5 [2024-08-07T12:05:19.314Z] Removing intermediate container 9d4e221f97b5 [2024-08-07T12:05:19.314Z] ---> 8d3584bf5f85 [2024-08-07T12:05:19.314Z] Step 6/26 : WORKDIR /device-virtual-go [2024-08-07T12:05:19.314Z] ---> Running in 7cc8a2e16b24 [2024-08-07T12:05:19.314Z] Removing intermediate container 7cc8a2e16b24 [2024-08-07T12:05:19.314Z] ---> e93499742b3c [2024-08-07T12:05:19.314Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-07T12:05:19.574Z] ---> Running in 37cdcf38a032 [2024-08-07T12:05:19.834Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-07T12:05:19.834Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-07T12:05:20.094Z] OK: 268 MiB in 56 packages [2024-08-07T12:05:20.353Z] Removing intermediate container 37cdcf38a032 [2024-08-07T12:05:20.353Z] ---> f3eada287af4 [2024-08-07T12:05:20.353Z] Step 8/26 : COPY go.mod vendor* ./ [2024-08-07T12:05:20.612Z] ---> d32504af4f40 [2024-08-07T12:05:20.612Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-07T12:05:20.612Z] ---> Running in eb0afee62f5c [2024-08-07T12:05:21.179Z] Removing intermediate container eb0afee62f5c [2024-08-07T12:05:21.179Z] ---> 0130ace0dd6e [2024-08-07T12:05:21.179Z] Step 10/26 : COPY . . [2024-08-07T12:05:22.578Z] ---> 872e71a238a9 [2024-08-07T12:05:22.578Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-07T12:05:22.578Z] ---> Running in 1b136bf882b9 [2024-08-07T12:05:22.578Z] Removing intermediate container 1b136bf882b9 [2024-08-07T12:05:22.578Z] ---> 2b092936a983 [2024-08-07T12:05:22.578Z] Step 12/26 : RUN $MAKE [2024-08-07T12:05:22.578Z] ---> Running in 48be8389e7f7 [2024-08-07T12:05:22.578Z] 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.30" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-08-07T12:05:54.645Z] Removing intermediate container 48be8389e7f7 [2024-08-07T12:05:54.645Z] ---> 9263bc43cb1c [2024-08-07T12:05:54.645Z] Step 13/26 : FROM alpine:3.18 [2024-08-07T12:05:54.645Z] 3.18: Pulling from library/alpine [2024-08-07T12:05:54.645Z] 930bdd4d222e: Pulling fs layer [2024-08-07T12:05:54.645Z] 930bdd4d222e: Download complete [2024-08-07T12:05:54.645Z] 930bdd4d222e: Pull complete [2024-08-07T12:05:54.645Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-07T12:05:54.645Z] Status: Downloaded newer image for alpine:3.18 [2024-08-07T12:05:54.645Z] ---> 18f865063206 [2024-08-07T12:05:54.645Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-08-07T12:05:54.645Z] ---> Running in cf6670b25021 [2024-08-07T12:05:54.645Z] Removing intermediate container cf6670b25021 [2024-08-07T12:05:54.645Z] ---> 2873eb28442e [2024-08-07T12:05:54.645Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-08-07T12:05:54.645Z] ---> Running in c22f7628e8b7 [2024-08-07T12:05:54.645Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-07T12:05:54.904Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-07T12:05:55.163Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-07T12:05:55.163Z] Executing busybox-1.36.1-r7.trigger [2024-08-07T12:05:55.163Z] OK: 7 MiB in 16 packages [2024-08-07T12:05:55.421Z] Removing intermediate container c22f7628e8b7 [2024-08-07T12:05:55.421Z] ---> 847d114014d6 [2024-08-07T12:05:55.421Z] Step 16/26 : RUN apk --no-cache upgrade [2024-08-07T12:05:55.421Z] ---> Running in 577143ad9aee [2024-08-07T12:05:55.680Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-07T12:05:55.938Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-07T12:05:55.938Z] OK: 7 MiB in 16 packages [2024-08-07T12:05:56.874Z] Removing intermediate container 577143ad9aee [2024-08-07T12:05:56.874Z] ---> 6591bf584785 [2024-08-07T12:05:56.874Z] Step 17/26 : WORKDIR / [2024-08-07T12:05:56.874Z] ---> Running in dc6804bc1b8f [2024-08-07T12:05:56.874Z] Removing intermediate container dc6804bc1b8f [2024-08-07T12:05:56.874Z] ---> 441540ee72f8 [2024-08-07T12:05:56.874Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-08-07T12:05:57.132Z] ---> df18bc0e6269 [2024-08-07T12:05:57.132Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-08-07T12:05:57.132Z] ---> e44003401dc4 [2024-08-07T12:05:57.132Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-08-07T12:05:58.519Z] ---> 875013f94179 [2024-08-07T12:05:58.519Z] Step 21/26 : EXPOSE 59900 [2024-08-07T12:05:58.519Z] ---> Running in bae44ced7667 [2024-08-07T12:05:58.519Z] Removing intermediate container bae44ced7667 [2024-08-07T12:05:58.519Z] ---> 3819f642849d [2024-08-07T12:05:58.519Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-08-07T12:05:58.519Z] ---> Running in 17476a3ef5cd [2024-08-07T12:05:58.519Z] Removing intermediate container 17476a3ef5cd [2024-08-07T12:05:58.519Z] ---> 6e3423d3bf87 [2024-08-07T12:05:58.519Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-07T12:05:58.519Z] ---> Running in 2f7352d3dbda [2024-08-07T12:05:58.519Z] Removing intermediate container 2f7352d3dbda [2024-08-07T12:05:58.519Z] ---> 75b0f89d329a [2024-08-07T12:05:58.519Z] Step 24/26 : LABEL arch=amd64 [2024-08-07T12:05:58.519Z] ---> Running in ffbf9e6190da [2024-08-07T12:05:58.519Z] Removing intermediate container ffbf9e6190da [2024-08-07T12:05:58.519Z] ---> e7b449384626 [2024-08-07T12:05:58.519Z] Step 25/26 : LABEL git_sha=cc7412d263391a1465ae94517db85e818bd9f88d [2024-08-07T12:05:58.777Z] ---> Running in 2fa43b8caa1f [2024-08-07T12:05:58.777Z] Removing intermediate container 2fa43b8caa1f [2024-08-07T12:05:58.777Z] ---> d15acc44dd8d [2024-08-07T12:05:58.777Z] Step 26/26 : LABEL version=0.0.0 [2024-08-07T12:05:58.777Z] ---> Running in bd44e134c3b9 [2024-08-07T12:05:58.777Z] Removing intermediate container bd44e134c3b9 [2024-08-07T12:05:58.777Z] ---> 7047a28db06b [2024-08-07T12:05:58.777Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-07T12:05:58.777Z] Successfully built 7047a28db06b [2024-08-07T12:05:58.777Z] 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-08-07T12:05:59.774Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-07T12:05:59.774Z] [2024-08-07T12:05:59.774Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T12:06:00.180Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-07T12:06:00.180Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-07T12:06:00.180Z] 5eb5b503b376: Pulling fs layer [2024-08-07T12:06:00.180Z] 5c69ac0246d0: Pulling fs layer [2024-08-07T12:06:00.180Z] ec43610c2a17: Pulling fs layer [2024-08-07T12:06:00.180Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-07T12:06:00.180Z] 33b1e0a273af: Pulling fs layer [2024-08-07T12:06:00.180Z] 5d3b04190fa2: Pulling fs layer [2024-08-07T12:06:00.180Z] 2f39f015ded8: Pulling fs layer [2024-08-07T12:06:00.180Z] 3a2ae6a8a46f: Waiting [2024-08-07T12:06:00.180Z] 2f39f015ded8: Waiting [2024-08-07T12:06:00.180Z] 33b1e0a273af: Waiting [2024-08-07T12:06:00.180Z] 5d3b04190fa2: Waiting [2024-08-07T12:06:00.180Z] 5c69ac0246d0: Download complete [2024-08-07T12:06:00.180Z] 3a2ae6a8a46f: Verifying Checksum [2024-08-07T12:06:00.180Z] 3a2ae6a8a46f: Download complete [2024-08-07T12:06:00.180Z] 33b1e0a273af: Verifying Checksum [2024-08-07T12:06:00.180Z] 33b1e0a273af: Download complete [2024-08-07T12:06:00.180Z] 5d3b04190fa2: Download complete [2024-08-07T12:06:00.180Z] ec43610c2a17: Verifying Checksum [2024-08-07T12:06:00.180Z] ec43610c2a17: Download complete [2024-08-07T12:06:00.437Z] 5eb5b503b376: Verifying Checksum [2024-08-07T12:06:00.437Z] 5eb5b503b376: Download complete [2024-08-07T12:06:01.001Z] 2f39f015ded8: Download complete [2024-08-07T12:06:01.567Z] 5eb5b503b376: Pull complete [2024-08-07T12:06:01.567Z] 5c69ac0246d0: Pull complete [2024-08-07T12:06:01.829Z] ec43610c2a17: Pull complete [2024-08-07T12:06:02.086Z] 3a2ae6a8a46f: Pull complete [2024-08-07T12:06:02.344Z] 33b1e0a273af: Pull complete [2024-08-07T12:06:02.344Z] 5d3b04190fa2: Pull complete [2024-08-07T12:06:06.534Z] 2f39f015ded8: Pull complete [2024-08-07T12:06:06.534Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-07T12:06:06.534Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-07T12:06:06.534Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T12:06:06.788Z] prd-ubuntu20.04-docker-8c-8g-7297 does not seem to be running inside a container [2024-08-07T12:06:06.818Z] $ 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-483 -v /w/workspace/foundry_device-virtual-go_PR-483:/w/workspace/foundry_device-virtual-go_PR-483:rw,z -v /w/workspace/foundry_device-virtual-go_PR-483@tmp:/w/workspace/foundry_device-virtual-go_PR-483@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-08-07T12:06:10.038Z] $ docker top eecedfe73976077b84974e55b968cfb738312a7de866d6992736934843581f06 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T12:06:10.521Z] ---> job-cost.sh [2024-08-07T12:06:10.521Z] lf-activate-venv: SKIPPING [2024-08-07T12:06:10.521Z] INFO: No Stack... [2024-08-07T12:06:10.780Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-07T12:06:11.347Z] INFO: Archiving Costs [Pipeline] sh [2024-08-07T12:06:11.670Z] + cat /w/workspace/foundry_device-virtual-go_PR-483/archives/cost.csv [2024-08-07T12:06:11.670Z] + cut -d, -f6 [Pipeline] lock [2024-08-07T12:06:11.723Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-483-1-stack-cost] [2024-08-07T12:06:11.729Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-483-1-stack-cost] did not exist. Created. [2024-08-07T12:06:11.736Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-483-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-07T12:06:12.154Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-07T12:06:12.204Z] Stashed 1 file(s) [Pipeline] } [2024-08-07T12:06:12.245Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-483-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-07T12:06:12.333Z] $ docker stop --time=1 eecedfe73976077b84974e55b968cfb738312a7de866d6992736934843581f06 [2024-08-07T12:06:13.481Z] $ docker rm -f --volumes eecedfe73976077b84974e55b968cfb738312a7de866d6992736934843581f06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-08-07T12:06:53.251Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7300 in /w/workspace/foundry_device-virtual-go_PR-483 [Pipeline] { [Pipeline] ws [2024-08-07T12:06:53.318Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2024-08-07T12:06:56.452Z] The recommended git tool is: git [2024-08-07T12:07:05.706Z] using credential edgex-jenkins-ssh [2024-08-07T12:07:05.731Z] Cloning the remote Git repository [2024-08-07T12:07:05.812Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2024-08-07T12:07:05.925Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2024-08-07T12:07:06.151Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-08-07T12:07:06.153Z] > git --version # timeout=10 [2024-08-07T12:07:06.184Z] > git --version # 'git version 2.25.1' [2024-08-07T12:07:06.187Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-07T12:07:06.415Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-07T12:07:11.424Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-08-07T12:07:11.459Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-07T12:07:13.308Z] Merging remotes/origin/main commit 91ab2d1966be996543f139896746dd83b19c5706 into PR head commit cc7412d263391a1465ae94517db85e818bd9f88d [2024-08-07T12:07:13.646Z] Merge succeeded, producing cc7412d263391a1465ae94517db85e818bd9f88d [2024-08-07T12:07:13.646Z] Checking out Revision cc7412d263391a1465ae94517db85e818bd9f88d (PR-483) [2024-08-07T12:07:12.674Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-08-07T12:07:12.722Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-08-07T12:07:12.723Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-07T12:07:12.751Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/483/head:refs/remotes/origin/PR-483 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-08-07T12:07:13.332Z] > git config core.sparsecheckout # timeout=10 [2024-08-07T12:07:13.416Z] > git checkout -f cc7412d263391a1465ae94517db85e818bd9f88d # timeout=10 [2024-08-07T12:07:13.518Z] > git remote # timeout=10 [2024-08-07T12:07:13.540Z] > git config --get remote.origin.url # timeout=10 [2024-08-07T12:07:13.566Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-07T12:07:13.590Z] > git merge 91ab2d1966be996543f139896746dd83b19c5706 # timeout=10 [2024-08-07T12:07:13.624Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-08-07T12:07:13.654Z] > git config core.sparsecheckout # timeout=10 [2024-08-07T12:07:14.311Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-08-07T12:07:14.366Z] > git --version # timeout=10 [2024-08-07T12:07:14.382Z] > git --version # 'git version 2.25.1' [2024-08-07T12:07:14.431Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-07T12:07:13.679Z] > git checkout -f cc7412d263391a1465ae94517db85e818bd9f88d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-07T12:07:19.597Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-07T12:07:19.597Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-07T12:07:19.597Z] Dload Upload Total Spent Left Speed [2024-08-07T12:07:19.597Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2024-08-07T12:07:19.967Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-07T12:07:20.350Z] + sudo tee /etc/docker/daemon.new [2024-08-07T12:07:20.350Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-08-07T12:07:20.350Z] { [2024-08-07T12:07:20.350Z] "registry-mirrors": [ [2024-08-07T12:07:20.350Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-07T12:07:20.350Z] ], [2024-08-07T12:07:20.350Z] "bip": "10.250.0.254/24", [2024-08-07T12:07:20.350Z] "hosts": [ [2024-08-07T12:07:20.350Z] "tcp://0.0.0.0:5555", [2024-08-07T12:07:20.350Z] "unix:///var/run/docker.sock" [2024-08-07T12:07:20.350Z] ], [2024-08-07T12:07:20.350Z] "mtu": 1458, [2024-08-07T12:07:20.350Z] "selinux-enabled": true, [2024-08-07T12:07:20.350Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-07T12:07:20.350Z] } [Pipeline] sh [2024-08-07T12:07:20.717Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-08-07T12:07:21.084Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-07T12:07:39.454Z] provisioning config files... [2024-08-07T12:07:39.484Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config6866056369669412885tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T12:07:40.013Z] ---> ****-login.sh [2024-08-07T12:07:40.013Z] nexus3.edgexfoundry.org:10001 [2024-08-07T12:07:40.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T12:07:40.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T12:07:40.604Z] Configure a credential helper to remove this warning. See [2024-08-07T12:07:40.604Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T12:07:40.604Z] [2024-08-07T12:07:40.604Z] Login Succeeded [2024-08-07T12:07:40.604Z] nexus3.edgexfoundry.org:10002 [2024-08-07T12:07:40.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T12:07:41.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T12:07:41.161Z] Configure a credential helper to remove this warning. See [2024-08-07T12:07:41.161Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T12:07:41.161Z] [2024-08-07T12:07:41.161Z] Login Succeeded [2024-08-07T12:07:41.161Z] nexus3.edgexfoundry.org:10003 [2024-08-07T12:07:41.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T12:07:41.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T12:07:41.436Z] Configure a credential helper to remove this warning. See [2024-08-07T12:07:41.436Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T12:07:41.436Z] [2024-08-07T12:07:41.436Z] Login Succeeded [2024-08-07T12:07:41.711Z] nexus3.edgexfoundry.org:10004 [2024-08-07T12:07:41.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T12:07:41.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T12:07:41.983Z] Configure a credential helper to remove this warning. See [2024-08-07T12:07:41.983Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T12:07:41.983Z] [2024-08-07T12:07:41.983Z] Login Succeeded [2024-08-07T12:07:41.983Z] ****.io [2024-08-07T12:07:42.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T12:07:42.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T12:07:42.528Z] Configure a credential helper to remove this warning. See [2024-08-07T12:07:42.528Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T12:07:42.528Z] [2024-08-07T12:07:42.528Z] Login Succeeded [2024-08-07T12:07:42.528Z] ---> ****-login.sh ends [Pipeline] } [2024-08-07T12:07:42.560Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-07T12:07:43.075Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-07T12:07:43.125Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-07T12:07:43.177Z] ========================================================= [2024-08-07T12:07:43.177Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-08-07T12:07:43.177Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T12:07:43.788Z] + 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-08-07T12:07:44.390Z] Sending build context to Docker daemon 18.98MB [2024-08-07T12:07:44.390Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-08-07T12:07:44.390Z] Step 2/12 : FROM ${BASE} AS builder [2024-08-07T12:07:44.673Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-07T12:07:44.673Z] c6b39de5b339: Pulling fs layer [2024-08-07T12:07:44.673Z] a69c41024577: Pulling fs layer [2024-08-07T12:07:44.673Z] d6de4b400683: Pulling fs layer [2024-08-07T12:07:44.673Z] 35cb2a7552d0: Pulling fs layer [2024-08-07T12:07:44.673Z] 4f4fb700ef54: Pulling fs layer [2024-08-07T12:07:44.673Z] 464afbd9ba4c: Pulling fs layer [2024-08-07T12:07:44.673Z] 00f215d4a9da: Pulling fs layer [2024-08-07T12:07:44.673Z] d496ad576159: Pulling fs layer [2024-08-07T12:07:44.673Z] 4f4fb700ef54: Waiting [2024-08-07T12:07:44.673Z] 35cb2a7552d0: Waiting [2024-08-07T12:07:44.673Z] 00f215d4a9da: Waiting [2024-08-07T12:07:44.673Z] d496ad576159: Waiting [2024-08-07T12:07:44.673Z] 464afbd9ba4c: Waiting [2024-08-07T12:07:44.673Z] a69c41024577: Verifying Checksum [2024-08-07T12:07:44.673Z] a69c41024577: Download complete [2024-08-07T12:07:44.673Z] 35cb2a7552d0: Download complete [2024-08-07T12:07:44.673Z] 4f4fb700ef54: Verifying Checksum [2024-08-07T12:07:44.673Z] 4f4fb700ef54: Download complete [2024-08-07T12:07:44.673Z] c6b39de5b339: Verifying Checksum [2024-08-07T12:07:44.673Z] c6b39de5b339: Download complete [2024-08-07T12:07:44.673Z] 464afbd9ba4c: Verifying Checksum [2024-08-07T12:07:44.673Z] 464afbd9ba4c: Download complete [2024-08-07T12:07:45.269Z] d496ad576159: Verifying Checksum [2024-08-07T12:07:45.269Z] d496ad576159: Download complete [2024-08-07T12:07:45.858Z] c6b39de5b339: Pull complete [2024-08-07T12:07:46.446Z] a69c41024577: Pull complete [2024-08-07T12:07:46.716Z] d6de4b400683: Verifying Checksum [2024-08-07T12:07:46.716Z] d6de4b400683: Download complete [2024-08-07T12:07:48.132Z] 00f215d4a9da: Verifying Checksum [2024-08-07T12:07:48.132Z] 00f215d4a9da: Download complete [2024-08-07T12:08:00.475Z] d6de4b400683: Pull complete [2024-08-07T12:08:00.475Z] 35cb2a7552d0: Pull complete [2024-08-07T12:08:00.475Z] 4f4fb700ef54: Pull complete [2024-08-07T12:08:00.475Z] 464afbd9ba4c: Pull complete [2024-08-07T12:08:10.562Z] 00f215d4a9da: Pull complete [2024-08-07T12:08:11.145Z] d496ad576159: Pull complete [2024-08-07T12:08:11.145Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-08-07T12:08:11.145Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-08-07T12:08:11.145Z] ---> f246e2811388 [2024-08-07T12:08:11.145Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-07T12:08:12.112Z] ---> Running in 9869981496ae [2024-08-07T12:08:12.706Z] Removing intermediate container 9869981496ae [2024-08-07T12:08:12.706Z] ---> 17723585f9d2 [2024-08-07T12:08:12.706Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-08-07T12:08:12.706Z] ---> Running in b9ce9b5f0f21 [2024-08-07T12:08:14.119Z] Removing intermediate container b9ce9b5f0f21 [2024-08-07T12:08:14.120Z] ---> 9a44221c1b4c [2024-08-07T12:08:14.120Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-08-07T12:08:14.120Z] ---> Running in afd163d2e0a3 [2024-08-07T12:08:14.389Z] Removing intermediate container afd163d2e0a3 [2024-08-07T12:08:14.389Z] ---> b93a8bd68cd9 [2024-08-07T12:08:14.389Z] Step 6/12 : WORKDIR /device-virtual-go [2024-08-07T12:08:14.389Z] ---> Running in cbe479291199 [2024-08-07T12:08:14.675Z] Removing intermediate container cbe479291199 [2024-08-07T12:08:14.675Z] ---> 53c55a25868e [2024-08-07T12:08:14.675Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-07T12:08:14.956Z] ---> Running in 45d51bad2527 [2024-08-07T12:08:15.923Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-07T12:08:16.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-07T12:08:17.462Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-08-07T12:08:17.462Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-08-07T12:08:17.462Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-08-07T12:08:17.730Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-08-07T12:08:17.730Z] Executing busybox-1.36.1-r5.trigger [2024-08-07T12:08:17.730Z] OK: 271 MiB in 56 packages [2024-08-07T12:08:18.688Z] Removing intermediate container 45d51bad2527 [2024-08-07T12:08:18.688Z] ---> 5c2b8fb391b3 [2024-08-07T12:08:18.688Z] Step 8/12 : COPY go.mod vendor* ./ [2024-08-07T12:08:19.279Z] ---> 39d33a6e9c73 [2024-08-07T12:08:19.279Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-07T12:08:19.279Z] ---> Running in d62273a90c82 [2024-08-07T12:10:25.974Z] Removing intermediate container d62273a90c82 [2024-08-07T12:10:25.974Z] ---> 5d12608242db [2024-08-07T12:10:25.974Z] Step 10/12 : COPY . . [2024-08-07T12:10:25.974Z] ---> 41e08bca3590 [2024-08-07T12:10:25.974Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-07T12:10:25.974Z] ---> Running in 8f4865099317 [2024-08-07T12:10:25.974Z] Removing intermediate container 8f4865099317 [2024-08-07T12:10:25.974Z] ---> 4b1ab0bd4c9b [2024-08-07T12:10:25.974Z] Step 12/12 : RUN $MAKE [2024-08-07T12:10:25.974Z] ---> Running in 63d856ea5190 [2024-08-07T12:10:25.974Z] noop [2024-08-07T12:10:25.974Z] Removing intermediate container 63d856ea5190 [2024-08-07T12:10:25.974Z] ---> b8aff9a49857 [2024-08-07T12:10:25.974Z] Successfully built b8aff9a49857 [2024-08-07T12:10:25.974Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T12:10:26.517Z] + docker inspect -f . ci-base-image-arm64 [2024-08-07T12:10:26.517Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T12:10:26.861Z] prd-ubuntu20.04-docker-arm64-4c-16g-7300 does not seem to be running inside a container [2024-08-07T12:10:26.930Z] $ 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-08-07T12:10:28.232Z] $ docker top ad9e940102836ca197633547250c14e6a6746e52a9d5e0b9c08229eb9c89bff9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T12:10:29.183Z] + go version [2024-08-07T12:10:29.183Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-07T12:10:29.227Z] $ docker stop --time=1 ad9e940102836ca197633547250c14e6a6746e52a9d5e0b9c08229eb9c89bff9 [2024-08-07T12:10:30.904Z] $ docker rm -f --volumes ad9e940102836ca197633547250c14e6a6746e52a9d5e0b9c08229eb9c89bff9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T12:10:31.979Z] + docker inspect -f . ci-base-image-arm64 [2024-08-07T12:10:31.979Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T12:10:32.284Z] prd-ubuntu20.04-docker-arm64-4c-16g-7300 does not seem to be running inside a container [2024-08-07T12:10:32.364Z] $ 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-08-07T12:10:33.628Z] $ docker top 7fee48e8784de9e57cf693df7b48e357986ae3a901b08ec68d3f807b821be4c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T12:10:34.523Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2024-08-07T12:10:35.261Z] + make test [2024-08-07T12:10:35.261Z] go test ./... -coverprofile=coverage.out [2024-08-07T12:10:41.923Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-08-07T12:14:23.444Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-08-07T12:14:23.444Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.067s coverage: 58.3% of statements [2024-08-07T12:14:23.444Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-08-07T12:14:23.444Z] go vet ./... [2024-08-07T12:15:10.314Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-07T12:15:10.314Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-07T12:15:10.314Z] ./bin/test-attribution-txt.sh [2024-08-07T12:15:10.314Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-08-07T12:15:10.375Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-07T12:15:10.424Z] $ docker stop --time=1 7fee48e8784de9e57cf693df7b48e357986ae3a901b08ec68d3f807b821be4c5 [2024-08-07T12:15:12.367Z] $ docker rm -f --volumes 7fee48e8784de9e57cf693df7b48e357986ae3a901b08ec68d3f807b821be4c5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-07T12:15:14.127Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-07T12:15:14.171Z] Warning: overwriting stash ‘coverage-report’ [2024-08-07T12:15:14.718Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-07T12:15:15.395Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-07T12:15:15.745Z] + ls -al . [2024-08-07T12:15:15.745Z] total 272 [2024-08-07T12:15:15.745Z] drwxrwxr-x 7 jenkins jenkins 4096 Aug 7 12:10 . [2024-08-07T12:15:15.745Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 12:07 .. [2024-08-07T12:15:15.745Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 12:07 .git [2024-08-07T12:15:15.745Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 12:07 .github [2024-08-07T12:15:15.746Z] -rw-rw-r-- 1 jenkins jenkins 272 Aug 7 12:07 .gitignore [2024-08-07T12:15:15.746Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 7 12:07 .golangci.yml [2024-08-07T12:15:15.746Z] -rw-rw-r-- 1 jenkins jenkins 17933 Aug 7 12:07 Attribution.txt [2024-08-07T12:15:15.746Z] -rw-rw-r-- 1 jenkins jenkins 15941 Aug 7 12:07 CHANGELOG.md [2024-08-07T12:15:15.746Z] -rw-rw-r-- 1 jenkins jenkins 1755 Aug 7 12:07 Dockerfile [2024-08-07T12:15:15.746Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 7 12:07 GOVERNANCE.md [2024-08-07T12:15:15.746Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 7 12:07 Jenkinsfile [2024-08-07T12:15:15.746Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 7 12:07 LICENSE [2024-08-07T12:15:15.746Z] -rw-rw-r-- 1 jenkins jenkins 1953 Aug 7 12:07 Makefile [2024-08-07T12:15:15.746Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 7 12:07 OWNERS.md [2024-08-07T12:15:15.746Z] -rw-rw-r-- 1 jenkins jenkins 4103 Aug 7 12:07 README.md [2024-08-07T12:15:15.746Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 7 12:03 VERSION [2024-08-07T12:15:15.746Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 12:07 bin [2024-08-07T12:15:15.746Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 12:07 cmd [2024-08-07T12:15:15.746Z] -rw-r--r-- 1 jenkins jenkins 43247 Aug 7 12:14 coverage.out [2024-08-07T12:15:15.746Z] -rw-rw-r-- 1 jenkins jenkins 6923 Aug 7 12:07 go.mod [2024-08-07T12:15:15.746Z] -rw-rw-r-- 1 jenkins jenkins 101673 Aug 7 12:07 go.sum [2024-08-07T12:15:15.746Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 12:07 internal [2024-08-07T12:15:15.746Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 7 12:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T12:15:16.243Z] + 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=cc7412d263391a1465ae94517db85e818bd9f88d --label arch=arm64 --label version=0.0.0 . [2024-08-07T12:15:16.878Z] Sending build context to Docker daemon 19.03MB [2024-08-07T12:15:16.878Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-08-07T12:15:16.878Z] Step 2/26 : FROM ${BASE} AS builder [2024-08-07T12:15:16.878Z] ---> b8aff9a49857 [2024-08-07T12:15:16.878Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-07T12:15:17.153Z] ---> Running in 74ba824cf53a [2024-08-07T12:15:17.422Z] Removing intermediate container 74ba824cf53a [2024-08-07T12:15:17.422Z] ---> 1c49412066de [2024-08-07T12:15:17.422Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-08-07T12:15:17.422Z] ---> Running in b9174a257b02 [2024-08-07T12:15:17.733Z] Removing intermediate container b9174a257b02 [2024-08-07T12:15:17.733Z] ---> 0bf189a32fb8 [2024-08-07T12:15:17.733Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-08-07T12:15:18.007Z] ---> Running in 2954f73b8423 [2024-08-07T12:15:18.289Z] Removing intermediate container 2954f73b8423 [2024-08-07T12:15:18.289Z] ---> 79bba87aab98 [2024-08-07T12:15:18.289Z] Step 6/26 : WORKDIR /device-virtual-go [2024-08-07T12:15:18.289Z] ---> Running in b32b58ce8f8c [2024-08-07T12:15:18.566Z] Removing intermediate container b32b58ce8f8c [2024-08-07T12:15:18.566Z] ---> 966a29884c55 [2024-08-07T12:15:18.566Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-07T12:15:18.831Z] ---> Running in 3633cb1cbc9d [2024-08-07T12:15:19.794Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-07T12:15:20.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-07T12:15:21.332Z] OK: 271 MiB in 56 packages [2024-08-07T12:15:22.296Z] Removing intermediate container 3633cb1cbc9d [2024-08-07T12:15:22.296Z] ---> c4ccdf683fb7 [2024-08-07T12:15:22.296Z] Step 8/26 : COPY go.mod vendor* ./ [2024-08-07T12:15:22.881Z] ---> d55e9c730846 [2024-08-07T12:15:22.881Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-07T12:15:22.881Z] ---> Running in 28d2517ed32c [2024-08-07T12:15:25.459Z] Removing intermediate container 28d2517ed32c [2024-08-07T12:15:25.459Z] ---> 1d0244ddaa7d [2024-08-07T12:15:25.459Z] Step 10/26 : COPY . . [2024-08-07T12:15:27.396Z] ---> 859b010a18f6 [2024-08-07T12:15:27.396Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-07T12:15:27.396Z] ---> Running in 8ff1458a8d75 [2024-08-07T12:15:27.396Z] Removing intermediate container 8ff1458a8d75 [2024-08-07T12:15:27.396Z] ---> 823f526c481d [2024-08-07T12:15:27.396Z] Step 12/26 : RUN $MAKE [2024-08-07T12:15:27.666Z] ---> Running in 00dc36f22a30 [2024-08-07T12:15:28.623Z] 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.30" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-08-07T12:19:20.389Z] Removing intermediate container 00dc36f22a30 [2024-08-07T12:19:20.389Z] ---> 0a4a2111ffd5 [2024-08-07T12:19:20.389Z] Step 13/26 : FROM alpine:3.18 [2024-08-07T12:19:30.464Z] 3.18: Pulling from library/alpine [2024-08-07T12:19:30.464Z] 4983c3fe2029: Pulling fs layer [2024-08-07T12:19:30.464Z] 4983c3fe2029: Verifying Checksum [2024-08-07T12:19:30.464Z] 4983c3fe2029: Download complete [2024-08-07T12:19:30.464Z] 4983c3fe2029: Pull complete [2024-08-07T12:19:30.732Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-07T12:19:30.732Z] Status: Downloaded newer image for alpine:3.18 [2024-08-07T12:19:30.732Z] ---> a0237000ae83 [2024-08-07T12:19:30.732Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-08-07T12:19:30.732Z] ---> Running in 0e8ba65b32ed [2024-08-07T12:19:31.009Z] Removing intermediate container 0e8ba65b32ed [2024-08-07T12:19:31.009Z] ---> 9767b4dae1fd [2024-08-07T12:19:31.009Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-08-07T12:19:31.279Z] ---> Running in 1612ce9b0eda [2024-08-07T12:19:32.243Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-07T12:19:32.825Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-07T12:19:34.234Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-07T12:19:34.234Z] Executing busybox-1.36.1-r7.trigger [2024-08-07T12:19:34.234Z] OK: 8 MiB in 16 packages [2024-08-07T12:19:35.199Z] Removing intermediate container 1612ce9b0eda [2024-08-07T12:19:35.199Z] ---> 23075fddce2a [2024-08-07T12:19:35.199Z] Step 16/26 : RUN apk --no-cache upgrade [2024-08-07T12:19:35.199Z] ---> Running in 26a44b38bf96 [2024-08-07T12:19:36.161Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-07T12:19:36.428Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-07T12:19:37.838Z] OK: 8 MiB in 16 packages [2024-08-07T12:19:38.807Z] Removing intermediate container 26a44b38bf96 [2024-08-07T12:19:38.807Z] ---> 5b21d988b935 [2024-08-07T12:19:38.807Z] Step 17/26 : WORKDIR / [2024-08-07T12:19:38.807Z] ---> Running in 7440710c1c23 [2024-08-07T12:19:39.075Z] Removing intermediate container 7440710c1c23 [2024-08-07T12:19:39.075Z] ---> 5e14bd123f5d [2024-08-07T12:19:39.075Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-08-07T12:19:39.659Z] ---> b735cbf56368 [2024-08-07T12:19:39.659Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-08-07T12:19:40.247Z] ---> a3e528ff36c1 [2024-08-07T12:19:40.247Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-08-07T12:19:42.193Z] ---> d337833881ea [2024-08-07T12:19:42.193Z] Step 21/26 : EXPOSE 59900 [2024-08-07T12:19:42.193Z] ---> Running in 873a93328e3b [2024-08-07T12:19:42.464Z] Removing intermediate container 873a93328e3b [2024-08-07T12:19:42.464Z] ---> e6b5fd191e28 [2024-08-07T12:19:42.464Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-08-07T12:19:42.464Z] ---> Running in 29bb637bd974 [2024-08-07T12:19:43.609Z] Removing intermediate container 29bb637bd974 [2024-08-07T12:19:43.609Z] ---> 1f1560ab1627 [2024-08-07T12:19:43.609Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-07T12:19:43.609Z] ---> Running in 0febad30d16e [2024-08-07T12:19:43.878Z] Removing intermediate container 0febad30d16e [2024-08-07T12:19:43.878Z] ---> a1c0365afdf4 [2024-08-07T12:19:43.878Z] Step 24/26 : LABEL arch=arm64 [2024-08-07T12:19:43.878Z] ---> Running in 06ab95580432 [2024-08-07T12:19:44.154Z] Removing intermediate container 06ab95580432 [2024-08-07T12:19:44.154Z] ---> 26d5fa3aa4a9 [2024-08-07T12:19:44.154Z] Step 25/26 : LABEL git_sha=cc7412d263391a1465ae94517db85e818bd9f88d [2024-08-07T12:19:44.421Z] ---> Running in 3a9c75425e95 [2024-08-07T12:19:44.688Z] Removing intermediate container 3a9c75425e95 [2024-08-07T12:19:44.688Z] ---> 71234ab33684 [2024-08-07T12:19:44.688Z] Step 26/26 : LABEL version=0.0.0 [2024-08-07T12:19:44.688Z] ---> Running in f8cb68c87893 [2024-08-07T12:19:44.958Z] Removing intermediate container f8cb68c87893 [2024-08-07T12:19:44.958Z] ---> 58f5b0891c87 [2024-08-07T12:19:44.958Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-07T12:19:45.225Z] Successfully built 58f5b0891c87 [2024-08-07T12:19:45.225Z] 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-08-07T12:19:46.174Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-07T12:19:46.174Z] [2024-08-07T12:19:46.174Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T12:19:46.627Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-07T12:19:46.627Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-07T12:19:46.627Z] 8998bd30e6a1: Pulling fs layer [2024-08-07T12:19:46.627Z] 04944245beec: Pulling fs layer [2024-08-07T12:19:46.627Z] 699f458cf7ca: Pulling fs layer [2024-08-07T12:19:46.627Z] 765212b225bb: Pulling fs layer [2024-08-07T12:19:46.627Z] f23df028b6ca: Pulling fs layer [2024-08-07T12:19:46.627Z] d65c8cfc05b1: Pulling fs layer [2024-08-07T12:19:46.627Z] 2437ff75d9bd: Pulling fs layer [2024-08-07T12:19:46.627Z] 765212b225bb: Waiting [2024-08-07T12:19:46.627Z] f23df028b6ca: Waiting [2024-08-07T12:19:46.627Z] d65c8cfc05b1: Waiting [2024-08-07T12:19:46.627Z] 2437ff75d9bd: Waiting [2024-08-07T12:19:46.897Z] 04944245beec: Verifying Checksum [2024-08-07T12:19:46.897Z] 04944245beec: Download complete [2024-08-07T12:19:46.897Z] 765212b225bb: Verifying Checksum [2024-08-07T12:19:46.897Z] 765212b225bb: Download complete [2024-08-07T12:19:46.897Z] f23df028b6ca: Verifying Checksum [2024-08-07T12:19:46.897Z] f23df028b6ca: Download complete [2024-08-07T12:19:46.897Z] d65c8cfc05b1: Verifying Checksum [2024-08-07T12:19:46.897Z] d65c8cfc05b1: Download complete [2024-08-07T12:19:47.165Z] 699f458cf7ca: Verifying Checksum [2024-08-07T12:19:47.165Z] 699f458cf7ca: Download complete [2024-08-07T12:19:47.748Z] 8998bd30e6a1: Verifying Checksum [2024-08-07T12:19:47.748Z] 8998bd30e6a1: Download complete [2024-08-07T12:19:50.334Z] 2437ff75d9bd: Verifying Checksum [2024-08-07T12:19:50.334Z] 2437ff75d9bd: Download complete [2024-08-07T12:19:52.915Z] 8998bd30e6a1: Pull complete [2024-08-07T12:19:52.915Z] 04944245beec: Pull complete [2024-08-07T12:19:54.852Z] 699f458cf7ca: Pull complete [2024-08-07T12:19:55.126Z] 765212b225bb: Pull complete [2024-08-07T12:19:56.087Z] f23df028b6ca: Pull complete [2024-08-07T12:19:56.087Z] d65c8cfc05b1: Pull complete [2024-08-07T12:20:14.293Z] 2437ff75d9bd: Pull complete [2024-08-07T12:20:14.293Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-07T12:20:14.293Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-07T12:20:14.293Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T12:20:14.669Z] prd-ubuntu20.04-docker-arm64-4c-16g-7300 does not seem to be running inside a container [2024-08-07T12:20:14.778Z] $ 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-08-07T12:20:17.859Z] $ docker top ce0bacae572c33e023767efb94690941264d25a2450b959301ee137e5bf9f9fc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T12:20:18.787Z] ---> job-cost.sh [2024-08-07T12:20:18.788Z] lf-activate-venv: SKIPPING [2024-08-07T12:20:18.788Z] INFO: No Stack... [2024-08-07T12:20:19.054Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-07T12:20:20.013Z] INFO: Archiving Costs [Pipeline] sh [2024-08-07T12:20:20.676Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2024-08-07T12:20:20.676Z] + cut -d, -f6 [Pipeline] lock [2024-08-07T12:20:20.761Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-483-1-stack-cost] [2024-08-07T12:20:20.767Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-483-1-stack-cost] did not exist. Created. [2024-08-07T12:20:20.775Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-483-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-07T12:20:21.521Z] /w/workspace/device-virtual-go/1@tmp/durable-bd9e2977/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-07T12:20:21.898Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-07T12:20:21.925Z] Warning: overwriting stash ‘stack-cost’ [2024-08-07T12:20:21.977Z] Stashed 1 file(s) [Pipeline] } [2024-08-07T12:20:21.997Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-483-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-07T12:20:22.086Z] $ docker stop --time=1 ce0bacae572c33e023767efb94690941264d25a2450b959301ee137e5bf9f9fc [2024-08-07T12:20:23.582Z] $ docker rm -f --volumes ce0bacae572c33e023767efb94690941264d25a2450b959301ee137e5bf9f9fc [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-08-07T12:20:24.737Z] provisioning config files... [2024-08-07T12:20:24.744Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-483@tmp/config5114702992582529619tmp [Pipeline] { [Pipeline] sh [2024-08-07T12:20:25.091Z] + set +x [2024-08-07T12:20:25.091Z] + bash -s -- [2024-08-07T12:20:25.091Z] + curl -s https://codecov.io/bash [2024-08-07T12:20:25.351Z] [2024-08-07T12:20:25.351Z] _____ _ [2024-08-07T12:20:25.351Z] / ____| | | [2024-08-07T12:20:25.351Z] | | ___ __| | ___ ___ _____ __ [2024-08-07T12:20:25.351Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-08-07T12:20:25.351Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-08-07T12:20:25.351Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-08-07T12:20:25.351Z] Bash-1.0.6 [2024-08-07T12:20:25.351Z] [2024-08-07T12:20:25.351Z] [2024-08-07T12:20:25.351Z] ==> git version 2.25.1 found [2024-08-07T12:20:25.351Z] ==> 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-08-07T12:20:25.351Z] Release-Date: 2020-01-08 [2024-08-07T12:20:25.351Z] 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-08-07T12:20:25.351Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-08-07T12:20:25.351Z] ==> Jenkins CI detected. [2024-08-07T12:20:25.351Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-483 [2024-08-07T12:20:25.351Z] project root: . [2024-08-07T12:20:25.351Z] --> token set from env [2024-08-07T12:20:25.351Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-08-07T12:20:25.351Z] ==> Running gcov in . (disable via -X gcov) [2024-08-07T12:20:25.351Z] ==> Python coveragepy not found [2024-08-07T12:20:25.351Z] ==> Searching for coverage reports in: [2024-08-07T12:20:25.351Z] + . [2024-08-07T12:20:25.351Z] -> Found 1 reports [2024-08-07T12:20:25.351Z] ==> Detecting git/mercurial file structure [2024-08-07T12:20:25.351Z] ==> Reading reports [2024-08-07T12:20:25.351Z] + ./coverage.out bytes=43247 [2024-08-07T12:20:25.351Z] ==> Appending adjustments [2024-08-07T12:20:25.351Z] https://docs.codecov.io/docs/fixing-reports [2024-08-07T12:20:25.351Z] + Found adjustments [2024-08-07T12:20:25.351Z] ==> Gzipping contents [2024-08-07T12:20:25.351Z] 8.0K /tmp/codecov.v1DbwB.gz [2024-08-07T12:20:25.351Z] ==> Uploading reports [2024-08-07T12:20:25.351Z] url: https://codecov.io [2024-08-07T12:20:25.351Z] query: branch=PR-483&commit=cc7412d263391a1465ae94517db85e818bd9f88d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-483%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=483&job=&cmd_args= [2024-08-07T12:20:25.351Z] -> Pinging Codecov [2024-08-07T12:20:25.352Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-483&commit=cc7412d263391a1465ae94517db85e818bd9f88d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-483%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=483&job=&cmd_args= [2024-08-07T12:20:25.611Z] -> Uploading to [2024-08-07T12:20:25.612Z] https://storage.googleapis.com/codecov/v4/raw/2024-08-07/5E52B4B073DB2E39498172D8E973AA87/cc7412d263391a1465ae94517db85e818bd9f88d/27a87536-21d4-4a4e-9a71-4e44aaae52fa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240807%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240807T122025Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ab6e808a67990107acbf0638dd610ee3fce94f9073081f6d33651ea5fe0d9b08 [2024-08-07T12:20:25.612Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-07T12:20:25.612Z] Dload Upload Total Spent Left Speed [2024-08-07T12:20:25.872Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5022 0 0 100 5022 0 24617 --:--:-- --:--:-- --:--:-- 24497 100 5022 0 0 100 5022 0 22621 --:--:-- --:--:-- --:--:-- 22520 [2024-08-07T12:20:25.872Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/cc7412d263391a1465ae94517db85e818bd9f88d [Pipeline] } [2024-08-07T12:20:25.906Z] 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-08-07T12:20:28.145Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-483/archives ] [2024-08-07T12:20:28.145Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-483/archives [2024-08-07T12:20:28.145Z] total 16 [2024-08-07T12:20:28.145Z] drwxr-xr-x 3 root root 4096 Aug 7 12:06 . [2024-08-07T12:20:28.145Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 7 12:06 .. [2024-08-07T12:20:28.145Z] drwxr-xr-x 2 root root 4096 Aug 7 12:06 cost [2024-08-07T12:20:28.145Z] -rw-r--r-- 1 root root 89 Aug 7 12:06 cost.csv [2024-08-07T12:20:28.145Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-483/archives [2024-08-07T12:20:28.145Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-483/archives [2024-08-07T12:20:28.145Z] total 16 [2024-08-07T12:20:28.145Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 7 12:06 . [2024-08-07T12:20:28.145Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 7 12:06 .. [2024-08-07T12:20:28.145Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 7 12:06 cost [2024-08-07T12:20:28.145Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 7 12:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-07T12:20:28.482Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T12:20:29.390Z] ---> package-listing.sh [2024-08-07T12:20:29.390Z] ++ facter osfamily [2024-08-07T12:20:29.390Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-07T12:20:29.649Z] + OS_FAMILY=debian [2024-08-07T12:20:29.649Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-483 [2024-08-07T12:20:29.649Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-07T12:20:29.649Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-07T12:20:29.649Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-07T12:20:29.649Z] + PACKAGES=/tmp/packages_start.txt [2024-08-07T12:20:29.649Z] + '[' /w/workspace/foundry_device-virtual-go_PR-483 ']' [2024-08-07T12:20:29.649Z] + PACKAGES=/tmp/packages_end.txt [2024-08-07T12:20:29.649Z] + case "${OS_FAMILY}" in [2024-08-07T12:20:29.650Z] + dpkg -l [2024-08-07T12:20:29.650Z] + grep '^ii' [2024-08-07T12:20:29.650Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-07T12:20:29.650Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-07T12:20:29.650Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-07T12:20:29.650Z] + '[' /w/workspace/foundry_device-virtual-go_PR-483 ']' [2024-08-07T12:20:29.650Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-483/archives/ [2024-08-07T12:20:29.650Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-483/archives/ [Pipeline] echo [2024-08-07T12:20:29.689Z] 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-483/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-08-07T12:20:29.989Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T12:20:30.652Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-07T12:20:30.652Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T12:20:30.827Z] prd-ubuntu20.04-docker-8c-8g-7297 does not seem to be running inside a container [2024-08-07T12:20:30.852Z] $ 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-483/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-483 -v /w/workspace/foundry_device-virtual-go_PR-483:/w/workspace/foundry_device-virtual-go_PR-483:rw,z -v /w/workspace/foundry_device-virtual-go_PR-483@tmp:/w/workspace/foundry_device-virtual-go_PR-483@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-08-07T12:20:31.632Z] $ docker top 8fc7359ce6d6ed2d4e77a30d2de5c26561301cc33eac61f38d9fecb826bc342e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T12:20:32.056Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-07T12:20:32.374Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-07T12:20:32.692Z] + ls /var/log/sa-host [2024-08-07T12:20:32.692Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-07T12:20:32.949Z] provisioning config files... [2024-08-07T12:20:32.958Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-483@tmp/config3060123621385790552tmp [Pipeline] { [Pipeline] echo [2024-08-07T12:20:33.048Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T12:20:33.395Z] ---> create-netrc.sh [Pipeline] } [2024-08-07T12:20:33.436Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-07T12:20:33.876Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-07T12:20:33.924Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T12:20:34.252Z] ---> sudo-logs.sh [2024-08-07T12:20:34.252Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-07T12:20:34.365Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T12:20:34.699Z] ---> job-cost.sh [2024-08-07T12:20:34.699Z] lf-activate-venv: SKIPPING [2024-08-07T12:20:34.699Z] DEBUG: total: 0.2199999988079071 [2024-08-07T12:20:34.699Z] INFO: Retrieving Stack Cost... [2024-08-07T12:20:35.336Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-07T12:20:35.612Z] INFO: Archiving Costs [Pipeline] echo [2024-08-07T12:20:35.654Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T12:20:36.009Z] ---> logs-deploy.sh [2024-08-07T12:20:36.009Z] lf-activate-venv: SKIPPING [2024-08-07T12:20:36.009Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-483/1 [2024-08-07T12:20:36.009Z] INFO: archiving workspace using pattern(s): [2024-08-07T12:20:37.004Z] Archives upload complete. [2024-08-07T12:20:37.004Z] INFO: archiving logs to Nexus