Pull request #485 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e8a394031044ff1a0cf5890889c0cd3118a539f3+91ab2d1966be996543f139896746dd83b19c5706 (27fb208973a271b95420fb672f5bb632da3ccec4) 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-ssh12732779655460603350.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-ssh14813138646665372437.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-485/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-485/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16222119986959856799.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-485/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1483174737800558541.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-ssh597033286059098889.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-485/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-485/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11999863728344978525.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8382 in /w/workspace/foundry_device-virtual-go_PR-485 [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-485 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 91ab2d1966be996543f139896746dd83b19c5706 into PR head commit e8a394031044ff1a0cf5890889c0cd3118a539f3 Merge succeeded, producing e8a394031044ff1a0cf5890889c0cd3118a539f3 Checking out Revision e8a394031044ff1a0cf5890889c0cd3118a539f3 (PR-485) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/485/head:refs/remotes/origin/PR-485 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e8a394031044ff1a0cf5890889c0cd3118a539f3 # 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 e8a394031044ff1a0cf5890889c0cd3118a539f3 # timeout=10 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 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-23T11:23:54.334Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-23T11:23:54.555Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-23T11:23:54.685Z] ========================================================= [2024-08-23T11:23:54.685Z] EdgeX Global Pipelines Version Info [2024-08-23T11:23:54.685Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-23T11:23:55.833Z] ------------------- [2024-08-23T11:23:55.834Z] stable info: [2024-08-23T11:23:55.834Z] ------------------- [2024-08-23T11:23:55.834Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-23T11:23:55.834Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-23T11:23:55.834Z] Message: update stable to v1.0.260 [2024-08-23T11:23:56.405Z] ------------------- [2024-08-23T11:23:56.405Z] experimental info: [2024-08-23T11:23:56.405Z] ------------------- [2024-08-23T11:23:56.405Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-23T11:23:56.405Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-08-23T11:23:56.406Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-23T11:23:56.629Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2024-08-23T11:23:56.691Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2024-08-23T11:23:56.751Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-23T11:23:56.813Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-23T11:23:56.871Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-23T11:23:56.930Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-23T11:23:56.987Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-23T11:23:57.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-08-23T11:23:57.102Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-23T11:23:57.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-23T11:23:57.212Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-23T11:23:57.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2024-08-23T11:23:57.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-23T11:23:57.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-23T11:23:57.440Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-08-23T11:23:57.501Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-08-23T11:23:57.561Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-23T11:23:57.618Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-23T11:23:57.679Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-23T11:23:57.738Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-23T11:23:57.797Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-08-23T11:23:57.856Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-08-23T11:23:57.916Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-23T11:23:57.975Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-23T11:23:58.034Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-08-23T11:23:58.090Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-23T11:23:58.154Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-23T11:23:58.212Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-485 [Pipeline] echo [2024-08-23T11:23:58.270Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-485 [Pipeline] echo [2024-08-23T11:23:58.326Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-485 [Pipeline] echo [2024-08-23T11:23:58.382Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e8a394031044ff1a0cf5890889c0cd3118a539f3 [Pipeline] echo [2024-08-23T11:23:58.442Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e8a3940 [Pipeline] echo [2024-08-23T11:23:58.497Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-23T11:23:58.643Z] provisioning config files... [2024-08-23T11:23:58.658Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-485@tmp/config694451023729813233tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-23T11:23:59.055Z] ---> ****-login.sh [2024-08-23T11:23:59.055Z] nexus3.edgexfoundry.org:10001 [2024-08-23T11:23:59.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T11:23:59.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T11:23:59.628Z] Configure a credential helper to remove this warning. See [2024-08-23T11:23:59.629Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T11:23:59.629Z] [2024-08-23T11:23:59.629Z] Login Succeeded [2024-08-23T11:23:59.629Z] nexus3.edgexfoundry.org:10002 [2024-08-23T11:23:59.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T11:23:59.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T11:23:59.890Z] Configure a credential helper to remove this warning. See [2024-08-23T11:23:59.890Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T11:23:59.890Z] [2024-08-23T11:23:59.890Z] Login Succeeded [2024-08-23T11:23:59.890Z] nexus3.edgexfoundry.org:10003 [2024-08-23T11:23:59.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T11:23:59.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T11:23:59.890Z] Configure a credential helper to remove this warning. See [2024-08-23T11:23:59.890Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T11:23:59.890Z] [2024-08-23T11:23:59.890Z] Login Succeeded [2024-08-23T11:23:59.890Z] nexus3.edgexfoundry.org:10004 [2024-08-23T11:23:59.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T11:24:00.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T11:24:00.151Z] Configure a credential helper to remove this warning. See [2024-08-23T11:24:00.151Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T11:24:00.151Z] [2024-08-23T11:24:00.151Z] Login Succeeded [2024-08-23T11:24:00.151Z] ****.io [2024-08-23T11:24:00.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T11:24:00.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T11:24:00.412Z] Configure a credential helper to remove this warning. See [2024-08-23T11:24:00.412Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T11:24:00.412Z] [2024-08-23T11:24:00.412Z] Login Succeeded [2024-08-23T11:24:00.412Z] ---> ****-login.sh ends [Pipeline] } [2024-08-23T11:24:00.442Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-23T11:24:01.196Z] + git rev-list -1 --merges e8a394031044ff1a0cf5890889c0cd3118a539f3~1..e8a394031044ff1a0cf5890889c0cd3118a539f3 [Pipeline] echo [2024-08-23T11:24:01.252Z] -----------> git rev-list -1 --merges e8a394031044ff1a0cf5890889c0cd3118a539f3~1..e8a394031044ff1a0cf5890889c0cd3118a539f3 e8a394031044ff1a0cf5890889c0cd3118a539f3 [false] [Pipeline] sh [2024-08-23T11:24:01.596Z] + git log --format=format:%s -1 e8a394031044ff1a0cf5890889c0cd3118a539f3 [Pipeline] echo [2024-08-23T11:24:01.667Z] ========================================================= [2024-08-23T11:24:01.667Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-23T11:24:01.667Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-23T11:24:02.195Z] + git log --format=format:%s -1 e8a394031044ff1a0cf5890889c0cd3118a539f3 [Pipeline] echo [2024-08-23T11:24:02.237Z] [semverPrep] GIT_COMMIT: e8a394031044ff1a0cf5890889c0cd3118a539f3, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-08-23T11:24:02.286Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-23T11:24:02.714Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-23T11:24:02.714Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-23T11:24:02.714Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-23T11:24:02.714Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-23T11:24:02.714Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-08-23T11:24:02.714Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-23T11:24:02.714Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-23T11:24:03.234Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-23T11:24:03.234Z] [2024-08-23T11:24:03.234Z] 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-23T11:24:03.657Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-23T11:24:03.986Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-23T11:24:03.986Z] b85a868b505f: Pulling fs layer [2024-08-23T11:24:03.986Z] e2be974225ed: Pulling fs layer [2024-08-23T11:24:03.986Z] 339a4e72a1f5: Pulling fs layer [2024-08-23T11:24:03.986Z] 988bab9f4d93: Pulling fs layer [2024-08-23T11:24:03.986Z] 1469e6f7b9e6: Pulling fs layer [2024-08-23T11:24:03.986Z] eaf3925da568: Pulling fs layer [2024-08-23T11:24:03.986Z] bab4dde63d76: Pulling fs layer [2024-08-23T11:24:03.986Z] bde34c3a00c8: Pulling fs layer [2024-08-23T11:24:03.986Z] b352a97aabf1: Pulling fs layer [2024-08-23T11:24:03.986Z] 4872d77fe225: Pulling fs layer [2024-08-23T11:24:03.986Z] 5851b861e8e6: Pulling fs layer [2024-08-23T11:24:03.986Z] 988bab9f4d93: Waiting [2024-08-23T11:24:03.986Z] 1469e6f7b9e6: Waiting [2024-08-23T11:24:03.986Z] eaf3925da568: Waiting [2024-08-23T11:24:03.986Z] bab4dde63d76: Waiting [2024-08-23T11:24:03.986Z] bde34c3a00c8: Waiting [2024-08-23T11:24:03.986Z] 4872d77fe225: Waiting [2024-08-23T11:24:03.986Z] 5851b861e8e6: Waiting [2024-08-23T11:24:03.986Z] b352a97aabf1: Waiting [2024-08-23T11:24:03.986Z] e2be974225ed: Verifying Checksum [2024-08-23T11:24:03.986Z] e2be974225ed: Download complete [2024-08-23T11:24:03.986Z] 988bab9f4d93: Verifying Checksum [2024-08-23T11:24:03.986Z] 988bab9f4d93: Download complete [2024-08-23T11:24:04.254Z] 1469e6f7b9e6: Verifying Checksum [2024-08-23T11:24:04.254Z] 1469e6f7b9e6: Download complete [2024-08-23T11:24:04.254Z] eaf3925da568: Verifying Checksum [2024-08-23T11:24:04.254Z] eaf3925da568: Download complete [2024-08-23T11:24:04.254Z] 339a4e72a1f5: Verifying Checksum [2024-08-23T11:24:04.254Z] 339a4e72a1f5: Download complete [2024-08-23T11:24:04.254Z] bde34c3a00c8: Verifying Checksum [2024-08-23T11:24:04.254Z] bde34c3a00c8: Download complete [2024-08-23T11:24:04.254Z] 4872d77fe225: Verifying Checksum [2024-08-23T11:24:04.254Z] 4872d77fe225: Download complete [2024-08-23T11:24:04.254Z] 5851b861e8e6: Verifying Checksum [2024-08-23T11:24:04.254Z] 5851b861e8e6: Download complete [2024-08-23T11:24:04.254Z] b85a868b505f: Verifying Checksum [2024-08-23T11:24:04.254Z] b85a868b505f: Download complete [2024-08-23T11:24:04.513Z] bab4dde63d76: Verifying Checksum [2024-08-23T11:24:04.513Z] bab4dde63d76: Download complete [2024-08-23T11:24:05.890Z] b85a868b505f: Pull complete [2024-08-23T11:24:05.890Z] e2be974225ed: Pull complete [2024-08-23T11:24:06.460Z] 339a4e72a1f5: Pull complete [2024-08-23T11:24:06.460Z] 988bab9f4d93: Pull complete [2024-08-23T11:24:06.719Z] 1469e6f7b9e6: Pull complete [2024-08-23T11:24:06.978Z] eaf3925da568: Pull complete [2024-08-23T11:24:08.884Z] bab4dde63d76: Pull complete [2024-08-23T11:24:08.884Z] bde34c3a00c8: Pull complete [2024-08-23T11:24:08.884Z] b352a97aabf1: Pull complete [2024-08-23T11:24:08.884Z] 4872d77fe225: Pull complete [2024-08-23T11:24:09.144Z] 5851b861e8e6: Pull complete [2024-08-23T11:24:09.144Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-23T11:24:09.144Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-23T11:24:09.144Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-23T11:24:09.528Z] prd-ubuntu20.04-docker-8c-8g-8382 does not seem to be running inside a container [2024-08-23T11:24:09.567Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-485 -v /w/workspace/foundry_device-virtual-go_PR-485:/w/workspace/foundry_device-virtual-go_PR-485:rw,z -v /w/workspace/foundry_device-virtual-go_PR-485@tmp:/w/workspace/foundry_device-virtual-go_PR-485@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-08-23T11:24:13.019Z] $ docker top d9b55b6c528e20a2d053cbcffcaa071806ae2196e083e16faa4a3859ef8635de -eo pid,comm [2024-08-23T11:24:13.088Z] 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-23T11:24:13.088Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-23T11:24:26.127Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-23T11:24:26.128Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-23T11:24:26.255Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-23T11:24:26.257Z] $ docker exec d9b55b6c528e20a2d053cbcffcaa071806ae2196e083e16faa4a3859ef8635de ssh-agent [2024-08-23T11:24:26.363Z] SSH_AUTH_SOCK=/tmp/ssh-A4IzvfPuFdiP/agent.33 [2024-08-23T11:24:26.363Z] SSH_AGENT_PID=39 [2024-08-23T11:24:26.369Z] Running ssh-add (command line suppressed) [2024-08-23T11:24:26.482Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-485@tmp/private_key_12424434190260910267.key (/w/workspace/foundry_device-virtual-go_PR-485@tmp/private_key_12424434190260910267.key) [2024-08-23T11:24:26.498Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-23T11:24:26.844Z] + git tag --points-at HEAD [Pipeline] } [2024-08-23T11:24:26.871Z] $ docker exec --env ******** --env ******** d9b55b6c528e20a2d053cbcffcaa071806ae2196e083e16faa4a3859ef8635de ssh-agent -k [2024-08-23T11:24:26.983Z] unset SSH_AUTH_SOCK; [2024-08-23T11:24:26.983Z] unset SSH_AGENT_PID; [2024-08-23T11:24:26.983Z] echo Agent pid 39 killed; [2024-08-23T11:24:26.998Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-23T11:24:27.120Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-23T11:24:27.120Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-23T11:24:27.232Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-23T11:24:27.233Z] $ docker exec d9b55b6c528e20a2d053cbcffcaa071806ae2196e083e16faa4a3859ef8635de ssh-agent [2024-08-23T11:24:27.345Z] SSH_AUTH_SOCK=/tmp/ssh-wotGWeAlem59/agent.72 [2024-08-23T11:24:27.345Z] SSH_AGENT_PID=78 [2024-08-23T11:24:27.350Z] Running ssh-add (command line suppressed) [2024-08-23T11:24:27.461Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-485@tmp/private_key_8608477796857039103.key (/w/workspace/foundry_device-virtual-go_PR-485@tmp/private_key_8608477796857039103.key) [2024-08-23T11:24:27.476Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-23T11:24:27.830Z] + git semver init [2024-08-23T11:24:28.089Z] 2024-08-23 11:24:27,997 [run_init] DEBUG init version:0.0.0 force:False [2024-08-23T11:24:28.089Z] 2024-08-23 11:24:27,998 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-485/.semver [2024-08-23T11:24:28.089Z] 2024-08-23 11:24:27,998 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-485/.semver [2024-08-23T11:24:28.089Z] 2024-08-23 11:24:27,999 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-485/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-485, universal_newlines=False, shell=None, istream=None) [2024-08-23T11:24:30.630Z] 2024-08-23 11:24:30,152 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-485/.git/info/exclude [2024-08-23T11:24:30.630Z] 2024-08-23 11:24:30,153 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-485/.semver/PR-485 with force:False [2024-08-23T11:24:30.630Z] 2024-08-23 11:24:30,153 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-485/.semver/PR-485 [2024-08-23T11:24:30.630Z] 2024-08-23 11:24:30,158 [execute] INFO git cat-file --batch-check [2024-08-23T11:24:30.630Z] 2024-08-23 11:24:30,158 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-485/.semver, universal_newlines=False, shell=None, istream=) [2024-08-23T11:24:30.630Z] 2024-08-23 11:24:30,165 [execute] INFO git cat-file --batch [2024-08-23T11:24:30.630Z] 2024-08-23 11:24:30,165 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-485/.semver, universal_newlines=False, shell=None, istream=) [2024-08-23T11:24:30.630Z] 2024-08-23 11:24:30,170 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-485/.semver/PR-485 [2024-08-23T11:24:30.630Z] 0.0.0 [Pipeline] } [2024-08-23T11:24:30.658Z] $ docker exec --env ******** --env ******** d9b55b6c528e20a2d053cbcffcaa071806ae2196e083e16faa4a3859ef8635de ssh-agent -k [2024-08-23T11:24:30.753Z] unset SSH_AUTH_SOCK; [2024-08-23T11:24:30.753Z] unset SSH_AGENT_PID; [2024-08-23T11:24:30.753Z] echo Agent pid 78 killed; [2024-08-23T11:24:30.768Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-23T11:24:31.226Z] + git semver [Pipeline] } [2024-08-23T11:24:31.510Z] $ docker stop --time=1 d9b55b6c528e20a2d053cbcffcaa071806ae2196e083e16faa4a3859ef8635de [2024-08-23T11:24:32.839Z] $ docker rm -f --volumes d9b55b6c528e20a2d053cbcffcaa071806ae2196e083e16faa4a3859ef8635de [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-23T11:24:33.327Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-23T11:24:33.693Z] Stashed 1 file(s) [Pipeline] echo [2024-08-23T11:24:33.715Z] [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-23T11:24:34.442Z] provisioning config files... [2024-08-23T11:24:34.452Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-485@tmp/config3529260528933281325tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-23T11:24:34.822Z] ---> ****-login.sh [2024-08-23T11:24:34.822Z] nexus3.edgexfoundry.org:10001 [2024-08-23T11:24:34.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T11:24:34.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T11:24:34.822Z] Configure a credential helper to remove this warning. See [2024-08-23T11:24:34.822Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T11:24:34.822Z] [2024-08-23T11:24:34.822Z] Login Succeeded [2024-08-23T11:24:34.822Z] nexus3.edgexfoundry.org:10002 [2024-08-23T11:24:34.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T11:24:34.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T11:24:34.822Z] Configure a credential helper to remove this warning. See [2024-08-23T11:24:34.822Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T11:24:34.822Z] [2024-08-23T11:24:34.822Z] Login Succeeded [2024-08-23T11:24:34.823Z] nexus3.edgexfoundry.org:10003 [2024-08-23T11:24:35.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T11:24:35.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T11:24:35.082Z] Configure a credential helper to remove this warning. See [2024-08-23T11:24:35.082Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T11:24:35.082Z] [2024-08-23T11:24:35.082Z] Login Succeeded [2024-08-23T11:24:35.082Z] nexus3.edgexfoundry.org:10004 [2024-08-23T11:24:35.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T11:24:35.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T11:24:35.082Z] Configure a credential helper to remove this warning. See [2024-08-23T11:24:35.082Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T11:24:35.082Z] [2024-08-23T11:24:35.082Z] Login Succeeded [2024-08-23T11:24:35.082Z] ****.io [2024-08-23T11:24:35.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T11:24:35.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T11:24:35.341Z] Configure a credential helper to remove this warning. See [2024-08-23T11:24:35.341Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T11:24:35.341Z] [2024-08-23T11:24:35.342Z] Login Succeeded [2024-08-23T11:24:35.342Z] ---> ****-login.sh ends [Pipeline] } [2024-08-23T11:24:35.373Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-23T11:24:35.605Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-23T11:24:35.655Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-23T11:24:35.697Z] ========================================================= [2024-08-23T11:24:35.697Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-08-23T11:24:35.697Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-23T11:24:36.200Z] + 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-23T11:24:36.200Z] Sending build context to Docker daemon 37.59MB [2024-08-23T11:24:36.200Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-08-23T11:24:36.200Z] Step 2/12 : FROM ${BASE} AS builder [2024-08-23T11:24:36.459Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-08-23T11:24:36.459Z] 619be1103602: Pulling fs layer [2024-08-23T11:24:36.459Z] 7862e08f4a3e: Pulling fs layer [2024-08-23T11:24:36.459Z] 5df492c9dc93: Pulling fs layer [2024-08-23T11:24:36.459Z] 7629e6793208: Pulling fs layer [2024-08-23T11:24:36.459Z] 4f4fb700ef54: Pulling fs layer [2024-08-23T11:24:36.459Z] fb5054dd5b73: Pulling fs layer [2024-08-23T11:24:36.459Z] eeca6798cff9: Pulling fs layer [2024-08-23T11:24:36.459Z] aa269ceb94a6: Pulling fs layer [2024-08-23T11:24:36.459Z] ada007ff1a6a: Pulling fs layer [2024-08-23T11:24:36.459Z] 7629e6793208: Waiting [2024-08-23T11:24:36.459Z] eeca6798cff9: Waiting [2024-08-23T11:24:36.459Z] aa269ceb94a6: Waiting [2024-08-23T11:24:36.459Z] ada007ff1a6a: Waiting [2024-08-23T11:24:36.459Z] 4f4fb700ef54: Waiting [2024-08-23T11:24:36.459Z] fb5054dd5b73: Waiting [2024-08-23T11:24:36.459Z] 7862e08f4a3e: Verifying Checksum [2024-08-23T11:24:36.459Z] 7862e08f4a3e: Download complete [2024-08-23T11:24:36.459Z] 7629e6793208: Verifying Checksum [2024-08-23T11:24:36.459Z] 7629e6793208: Download complete [2024-08-23T11:24:36.459Z] 4f4fb700ef54: Verifying Checksum [2024-08-23T11:24:36.459Z] 4f4fb700ef54: Download complete [2024-08-23T11:24:36.459Z] fb5054dd5b73: Verifying Checksum [2024-08-23T11:24:36.459Z] fb5054dd5b73: Download complete [2024-08-23T11:24:36.459Z] 619be1103602: Verifying Checksum [2024-08-23T11:24:36.459Z] 619be1103602: Download complete [2024-08-23T11:24:36.459Z] eeca6798cff9: Verifying Checksum [2024-08-23T11:24:36.459Z] eeca6798cff9: Download complete [2024-08-23T11:24:36.717Z] 619be1103602: Pull complete [2024-08-23T11:24:36.717Z] ada007ff1a6a: Verifying Checksum [2024-08-23T11:24:36.717Z] 7862e08f4a3e: Pull complete [2024-08-23T11:24:36.975Z] 5df492c9dc93: Verifying Checksum [2024-08-23T11:24:36.975Z] 5df492c9dc93: Download complete [2024-08-23T11:24:37.233Z] aa269ceb94a6: Verifying Checksum [2024-08-23T11:24:37.233Z] aa269ceb94a6: Download complete [2024-08-23T11:24:40.517Z] 5df492c9dc93: Pull complete [2024-08-23T11:24:40.517Z] 7629e6793208: Pull complete [2024-08-23T11:24:40.517Z] 4f4fb700ef54: Pull complete [2024-08-23T11:24:40.517Z] fb5054dd5b73: Pull complete [2024-08-23T11:24:40.775Z] eeca6798cff9: Pull complete [2024-08-23T11:24:43.308Z] aa269ceb94a6: Pull complete [2024-08-23T11:24:43.877Z] ada007ff1a6a: Pull complete [2024-08-23T11:24:43.877Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-08-23T11:24:43.877Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-08-23T11:24:43.877Z] ---> f489d0715acc [2024-08-23T11:24:43.877Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-23T11:24:49.158Z] ---> Running in ca7e2ada149a [2024-08-23T11:24:49.238Z] Still waiting to schedule task [2024-08-23T11:24:49.239Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-08-23T11:24:49.418Z] Removing intermediate container ca7e2ada149a [2024-08-23T11:24:49.418Z] ---> a47672c42c95 [2024-08-23T11:24:49.418Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-08-23T11:24:49.418Z] ---> Running in 3eec41b32208 [2024-08-23T11:24:49.418Z] Removing intermediate container 3eec41b32208 [2024-08-23T11:24:49.418Z] ---> b08c0c2dd2f2 [2024-08-23T11:24:49.418Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-08-23T11:24:49.418Z] ---> Running in 1a0c4f80b78c [2024-08-23T11:24:49.677Z] Removing intermediate container 1a0c4f80b78c [2024-08-23T11:24:49.677Z] ---> 18d4a6353b85 [2024-08-23T11:24:49.677Z] Step 6/12 : WORKDIR /device-virtual-go [2024-08-23T11:24:49.677Z] ---> Running in 72746b790a64 [2024-08-23T11:24:49.677Z] Removing intermediate container 72746b790a64 [2024-08-23T11:24:49.677Z] ---> 2b0e5b669817 [2024-08-23T11:24:49.677Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-23T11:24:49.677Z] ---> Running in a4afc43d5e4c [2024-08-23T11:24:49.936Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-23T11:24:50.193Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-23T11:24:50.451Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-08-23T11:24:50.451Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-08-23T11:24:50.452Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-08-23T11:24:50.452Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-08-23T11:24:50.452Z] Executing busybox-1.36.1-r5.trigger [2024-08-23T11:24:50.452Z] OK: 268 MiB in 56 packages [2024-08-23T11:24:51.018Z] Removing intermediate container a4afc43d5e4c [2024-08-23T11:24:51.018Z] ---> e698dbd4dc27 [2024-08-23T11:24:51.018Z] Step 8/12 : COPY go.mod vendor* ./ [2024-08-23T11:24:51.018Z] ---> cadfe98244d0 [2024-08-23T11:24:51.018Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-23T11:24:51.018Z] ---> Running in 64b63adf8302 [2024-08-23T11:26:12.466Z] Removing intermediate container 64b63adf8302 [2024-08-23T11:26:12.466Z] ---> 703bc13c59bb [2024-08-23T11:26:12.466Z] Step 10/12 : COPY . . [2024-08-23T11:26:12.466Z] ---> 87f6293f7359 [2024-08-23T11:26:12.466Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-23T11:26:12.466Z] ---> Running in 093ee0fdfb28 [2024-08-23T11:26:12.466Z] Removing intermediate container 093ee0fdfb28 [2024-08-23T11:26:12.466Z] ---> 6fde65ceb6c2 [2024-08-23T11:26:12.466Z] Step 12/12 : RUN $MAKE [2024-08-23T11:26:12.466Z] ---> Running in 381782bdbcc2 [2024-08-23T11:26:12.466Z] noop [2024-08-23T11:26:12.466Z] Removing intermediate container 381782bdbcc2 [2024-08-23T11:26:12.466Z] ---> 487fa8c8132a [2024-08-23T11:26:12.466Z] Successfully built 487fa8c8132a [2024-08-23T11:26:12.466Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-23T11:26:12.983Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-23T11:26:12.983Z] . [2024-08-23T11:26:12.996Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8383 in /w/workspace/foundry_device-virtual-go_PR-485 [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-23T11:26:13.152Z] prd-ubuntu20.04-docker-8c-8g-8382 does not seem to be running inside a container [2024-08-23T11:26:13.182Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-485 -v /w/workspace/foundry_device-virtual-go_PR-485:/w/workspace/foundry_device-virtual-go_PR-485:rw,z -v /w/workspace/foundry_device-virtual-go_PR-485@tmp:/w/workspace/foundry_device-virtual-go_PR-485@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-23T11:26:13.594Z] $ docker top 8c92a8e727f3ede108bec6a583ca62c67aeb2de047eb337df35da6b12918821d -eo pid,comm [Pipeline] { [Pipeline] ws [2024-08-23T11:26:13.700Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] sh [Pipeline] checkout [2024-08-23T11:26:13.837Z] The recommended git tool is: git [2024-08-23T11:26:14.027Z] + go version [2024-08-23T11:26:14.027Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-23T11:26:14.059Z] $ docker stop --time=1 8c92a8e727f3ede108bec6a583ca62c67aeb2de047eb337df35da6b12918821d [2024-08-23T11:26:15.412Z] $ docker rm -f --volumes 8c92a8e727f3ede108bec6a583ca62c67aeb2de047eb337df35da6b12918821d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-23T11:26:16.256Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-23T11:26:16.256Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-23T11:26:16.440Z] prd-ubuntu20.04-docker-8c-8g-8382 does not seem to be running inside a container [2024-08-23T11:26:16.465Z] $ 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-485 -v /w/workspace/foundry_device-virtual-go_PR-485:/w/workspace/foundry_device-virtual-go_PR-485:rw,z -v /w/workspace/foundry_device-virtual-go_PR-485@tmp:/w/workspace/foundry_device-virtual-go_PR-485@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-23T11:26:16.816Z] $ docker top 59ad3e2dcd5f7a5dbea2a923b21bbbb59a603a972da54a208f5be5deefb05b26 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-23T11:26:17.227Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-485 [Pipeline] fileExists [Pipeline] sh [2024-08-23T11:26:17.619Z] + make test [2024-08-23T11:26:17.619Z] go test ./... -coverprofile=coverage.out [2024-08-23T11:26:18.579Z] using credential edgex-jenkins-ssh [2024-08-23T11:26:18.601Z] Cloning the remote Git repository [2024-08-23T11:26:18.636Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2024-08-23T11:26:18.716Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2024-08-23T11:26:18.836Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-08-23T11:26:18.836Z] > git --version # timeout=10 [2024-08-23T11:26:18.857Z] > git --version # 'git version 2.25.1' [2024-08-23T11:26:18.859Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-23T11:26:18.995Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-23T11:26:22.615Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-08-23T11:26:22.640Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-23T11:26:24.111Z] Merging remotes/origin/main commit 91ab2d1966be996543f139896746dd83b19c5706 into PR head commit e8a394031044ff1a0cf5890889c0cd3118a539f3 [2024-08-23T11:26:23.452Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-08-23T11:26:23.491Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-08-23T11:26:23.492Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-23T11:26:23.516Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/485/head:refs/remotes/origin/PR-485 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-08-23T11:26:24.129Z] > git config core.sparsecheckout # timeout=10 [2024-08-23T11:26:24.208Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-08-23T11:26:24.401Z] Merge succeeded, producing e8a394031044ff1a0cf5890889c0cd3118a539f3 [2024-08-23T11:26:24.401Z] Checking out Revision e8a394031044ff1a0cf5890889c0cd3118a539f3 (PR-485) [2024-08-23T11:26:24.905Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-08-23T11:26:24.943Z] > git --version # timeout=10 [2024-08-23T11:26:24.956Z] > git --version # 'git version 2.25.1' [2024-08-23T11:26:24.984Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-23T11:26:24.223Z] > git checkout -f e8a394031044ff1a0cf5890889c0cd3118a539f3 # timeout=10 [2024-08-23T11:26:24.306Z] > git remote # timeout=10 [2024-08-23T11:26:24.323Z] > git config --get remote.origin.url # timeout=10 [2024-08-23T11:26:24.336Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-23T11:26:24.356Z] > git merge 91ab2d1966be996543f139896746dd83b19c5706 # timeout=10 [2024-08-23T11:26:24.383Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-08-23T11:26:24.405Z] > git config core.sparsecheckout # timeout=10 [2024-08-23T11:26:24.421Z] > git checkout -f e8a394031044ff1a0cf5890889c0cd3118a539f3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-23T11:26:29.918Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-23T11:26:29.919Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-23T11:26:29.919Z] Dload Upload Total Spent Left Speed [2024-08-23T11:26:29.919Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 110k 0 --:--:-- --:--:-- --:--:-- 110k [Pipeline] sh [2024-08-23T11:26:30.274Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-23T11:26:30.621Z] + sudo tee /etc/docker/daemon.new [2024-08-23T11:26:30.621Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-08-23T11:26:30.621Z] { [2024-08-23T11:26:30.621Z] "registry-mirrors": [ [2024-08-23T11:26:30.621Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-23T11:26:30.621Z] ], [2024-08-23T11:26:30.621Z] "bip": "10.250.0.254/24", [2024-08-23T11:26:30.621Z] "hosts": [ [2024-08-23T11:26:30.621Z] "tcp://0.0.0.0:5555", [2024-08-23T11:26:30.621Z] "unix:///var/run/docker.sock" [2024-08-23T11:26:30.621Z] ], [2024-08-23T11:26:30.621Z] "mtu": 1458, [2024-08-23T11:26:30.621Z] "selinux-enabled": true, [2024-08-23T11:26:30.621Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-23T11:26:30.621Z] } [Pipeline] sh [2024-08-23T11:26:30.968Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-08-23T11:26:31.326Z] + sudo service docker restart [2024-08-23T11:26:42.311Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-08-23T11:26:42.311Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.012s coverage: 58.4% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-23T11:26:49.652Z] provisioning config files... [2024-08-23T11:26:49.676Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config8514699562870958612tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-23T11:26:50.166Z] ---> ****-login.sh [2024-08-23T11:26:50.166Z] nexus3.edgexfoundry.org:10001 [2024-08-23T11:26:50.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T11:26:50.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T11:26:50.710Z] Configure a credential helper to remove this warning. See [2024-08-23T11:26:50.710Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T11:26:50.710Z] [2024-08-23T11:26:50.710Z] Login Succeeded [2024-08-23T11:26:50.710Z] nexus3.edgexfoundry.org:10002 [2024-08-23T11:26:50.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T11:26:50.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T11:26:50.979Z] Configure a credential helper to remove this warning. See [2024-08-23T11:26:50.979Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T11:26:50.979Z] [2024-08-23T11:26:50.979Z] Login Succeeded [2024-08-23T11:26:50.979Z] nexus3.edgexfoundry.org:10003 [2024-08-23T11:26:51.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T11:26:51.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T11:26:51.525Z] Configure a credential helper to remove this warning. See [2024-08-23T11:26:51.525Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T11:26:51.525Z] [2024-08-23T11:26:51.525Z] Login Succeeded [2024-08-23T11:26:51.525Z] nexus3.edgexfoundry.org:10004 [2024-08-23T11:26:51.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T11:26:51.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T11:26:51.796Z] Configure a credential helper to remove this warning. See [2024-08-23T11:26:51.796Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T11:26:51.796Z] [2024-08-23T11:26:51.796Z] Login Succeeded [2024-08-23T11:26:51.796Z] ****.io [2024-08-23T11:26:52.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T11:26:52.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T11:26:52.332Z] Configure a credential helper to remove this warning. See [2024-08-23T11:26:52.332Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T11:26:52.332Z] [2024-08-23T11:26:52.332Z] Login Succeeded [2024-08-23T11:26:52.332Z] ---> ****-login.sh ends [Pipeline] } [2024-08-23T11:26:52.371Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-23T11:26:52.967Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-23T11:26:53.014Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-23T11:26:53.073Z] ========================================================= [2024-08-23T11:26:53.073Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-08-23T11:26:53.073Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-23T11:26:53.602Z] + 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-23T11:26:54.195Z] Sending build context to Docker daemon 18.98MB [2024-08-23T11:26:54.195Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-08-23T11:26:54.195Z] Step 2/12 : FROM ${BASE} AS builder [2024-08-23T11:26:54.195Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-23T11:26:54.195Z] c6b39de5b339: Pulling fs layer [2024-08-23T11:26:54.195Z] a69c41024577: Pulling fs layer [2024-08-23T11:26:54.195Z] d6de4b400683: Pulling fs layer [2024-08-23T11:26:54.195Z] 35cb2a7552d0: Pulling fs layer [2024-08-23T11:26:54.195Z] 4f4fb700ef54: Pulling fs layer [2024-08-23T11:26:54.195Z] 464afbd9ba4c: Pulling fs layer [2024-08-23T11:26:54.195Z] 00f215d4a9da: Pulling fs layer [2024-08-23T11:26:54.195Z] d496ad576159: Pulling fs layer [2024-08-23T11:26:54.195Z] 464afbd9ba4c: Waiting [2024-08-23T11:26:54.195Z] 00f215d4a9da: Waiting [2024-08-23T11:26:54.195Z] 4f4fb700ef54: Waiting [2024-08-23T11:26:54.195Z] 35cb2a7552d0: Waiting [2024-08-23T11:26:54.195Z] d496ad576159: Waiting [2024-08-23T11:26:54.469Z] a69c41024577: Download complete [2024-08-23T11:26:54.469Z] 35cb2a7552d0: Verifying Checksum [2024-08-23T11:26:54.469Z] 35cb2a7552d0: Download complete [2024-08-23T11:26:54.469Z] 4f4fb700ef54: Verifying Checksum [2024-08-23T11:26:54.469Z] 4f4fb700ef54: Download complete [2024-08-23T11:26:54.469Z] 464afbd9ba4c: Verifying Checksum [2024-08-23T11:26:54.469Z] 464afbd9ba4c: Download complete [2024-08-23T11:26:54.469Z] c6b39de5b339: Download complete [2024-08-23T11:26:54.604Z] go vet ./... [2024-08-23T11:26:54.740Z] d496ad576159: Verifying Checksum [2024-08-23T11:26:54.740Z] d496ad576159: Download complete [2024-08-23T11:26:55.327Z] c6b39de5b339: Pull complete [2024-08-23T11:26:55.911Z] a69c41024577: Pull complete [2024-08-23T11:26:56.192Z] d6de4b400683: Verifying Checksum [2024-08-23T11:26:56.192Z] d6de4b400683: Download complete [2024-08-23T11:26:57.154Z] 00f215d4a9da: Verifying Checksum [2024-08-23T11:26:57.154Z] 00f215d4a9da: Download complete [2024-08-23T11:26:59.876Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-23T11:26:59.876Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-23T11:26:59.876Z] ./bin/test-attribution-txt.sh [2024-08-23T11:26:59.876Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-08-23T11:26:59.936Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-23T11:26:59.987Z] $ docker stop --time=1 59ad3e2dcd5f7a5dbea2a923b21bbbb59a603a972da54a208f5be5deefb05b26 [2024-08-23T11:27:03.457Z] $ docker rm -f --volumes 59ad3e2dcd5f7a5dbea2a923b21bbbb59a603a972da54a208f5be5deefb05b26 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-23T11:27:04.127Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-23T11:27:04.214Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-08-23T11:27:04.962Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-23T11:27:05.280Z] + ls -al . [2024-08-23T11:27:05.280Z] total 276 [2024-08-23T11:27:05.280Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 11:26 . [2024-08-23T11:27:05.280Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 11:23 .. [2024-08-23T11:27:05.280Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 11:26 .git [2024-08-23T11:27:05.280Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 11:23 .github [2024-08-23T11:27:05.280Z] -rw-rw-r-- 1 jenkins jenkins 272 Aug 23 11:23 .gitignore [2024-08-23T11:27:05.280Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 23 11:23 .golangci.yml [2024-08-23T11:27:05.280Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 11:24 .semver [2024-08-23T11:27:05.280Z] -rw-rw-r-- 1 jenkins jenkins 17933 Aug 23 11:23 Attribution.txt [2024-08-23T11:27:05.280Z] -rw-rw-r-- 1 jenkins jenkins 15941 Aug 23 11:23 CHANGELOG.md [2024-08-23T11:27:05.280Z] -rw-rw-r-- 1 jenkins jenkins 1755 Aug 23 11:23 Dockerfile [2024-08-23T11:27:05.280Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 23 11:23 GOVERNANCE.md [2024-08-23T11:27:05.280Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 23 11:23 Jenkinsfile [2024-08-23T11:27:05.280Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 23 11:23 LICENSE [2024-08-23T11:27:05.280Z] -rw-rw-r-- 1 jenkins jenkins 1953 Aug 23 11:23 Makefile [2024-08-23T11:27:05.280Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 23 11:23 OWNERS.md [2024-08-23T11:27:05.280Z] -rw-rw-r-- 1 jenkins jenkins 4103 Aug 23 11:23 README.md [2024-08-23T11:27:05.280Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 23 11:24 VERSION [2024-08-23T11:27:05.280Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 11:23 bin [2024-08-23T11:27:05.280Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 11:23 cmd [2024-08-23T11:27:05.280Z] -rw-r--r-- 1 jenkins jenkins 43247 Aug 23 11:26 coverage.out [2024-08-23T11:27:05.280Z] -rw-rw-r-- 1 jenkins jenkins 6923 Aug 23 11:23 go.mod [2024-08-23T11:27:05.280Z] -rw-rw-r-- 1 jenkins jenkins 101673 Aug 23 11:23 go.sum [2024-08-23T11:27:05.280Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 11:23 internal [2024-08-23T11:27:05.280Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 23 11:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-23T11:27:05.707Z] + 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=e8a394031044ff1a0cf5890889c0cd3118a539f3 --label arch=amd64 --label version=0.0.0 . [2024-08-23T11:27:05.708Z] Sending build context to Docker daemon 37.63MB [2024-08-23T11:27:05.708Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-08-23T11:27:05.708Z] Step 2/26 : FROM ${BASE} AS builder [2024-08-23T11:27:05.708Z] ---> 487fa8c8132a [2024-08-23T11:27:05.708Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-23T11:27:06.276Z] ---> Running in a52caded655b [2024-08-23T11:27:06.276Z] Removing intermediate container a52caded655b [2024-08-23T11:27:06.276Z] ---> 81b56ba1a775 [2024-08-23T11:27:06.276Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-08-23T11:27:06.276Z] ---> Running in eb6b8e6a91a5 [2024-08-23T11:27:06.536Z] Removing intermediate container eb6b8e6a91a5 [2024-08-23T11:27:06.536Z] ---> cfcc7aa5825c [2024-08-23T11:27:06.536Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-08-23T11:27:06.536Z] ---> Running in a53743cc0596 [2024-08-23T11:27:06.536Z] Removing intermediate container a53743cc0596 [2024-08-23T11:27:06.536Z] ---> 61b0ba6dc993 [2024-08-23T11:27:06.536Z] Step 6/26 : WORKDIR /device-virtual-go [2024-08-23T11:27:06.536Z] ---> Running in 648519ce75f3 [2024-08-23T11:27:06.536Z] Removing intermediate container 648519ce75f3 [2024-08-23T11:27:06.536Z] ---> 221492b2d08d [2024-08-23T11:27:06.536Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-23T11:27:06.536Z] ---> Running in 389e3442f208 [2024-08-23T11:27:06.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-23T11:27:07.054Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-23T11:27:07.313Z] OK: 268 MiB in 56 packages [2024-08-23T11:27:07.572Z] Removing intermediate container 389e3442f208 [2024-08-23T11:27:07.572Z] ---> 29f5addc77bc [2024-08-23T11:27:07.572Z] Step 8/26 : COPY go.mod vendor* ./ [2024-08-23T11:27:07.831Z] ---> 1fa87074791b [2024-08-23T11:27:07.831Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-23T11:27:07.831Z] ---> Running in e74f45c6bda5 [2024-08-23T11:27:08.399Z] Removing intermediate container e74f45c6bda5 [2024-08-23T11:27:08.399Z] ---> 07db3e4ded57 [2024-08-23T11:27:08.399Z] Step 10/26 : COPY . . [2024-08-23T11:27:09.473Z] d6de4b400683: Pull complete [2024-08-23T11:27:09.473Z] 35cb2a7552d0: Pull complete [2024-08-23T11:27:09.473Z] 4f4fb700ef54: Pull complete [2024-08-23T11:27:09.473Z] 464afbd9ba4c: Pull complete [2024-08-23T11:27:09.777Z] ---> e2559fe76e3d [2024-08-23T11:27:09.777Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-23T11:27:09.777Z] ---> Running in a95b94e1cbc1 [2024-08-23T11:27:09.777Z] Removing intermediate container a95b94e1cbc1 [2024-08-23T11:27:09.777Z] ---> d6d7ac3b2483 [2024-08-23T11:27:09.777Z] Step 12/26 : RUN $MAKE [2024-08-23T11:27:09.777Z] ---> Running in 89e30970a7c8 [2024-08-23T11:27:10.036Z] 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.32" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-08-23T11:27:17.688Z] 00f215d4a9da: Pull complete [2024-08-23T11:27:19.646Z] d496ad576159: Pull complete [2024-08-23T11:27:19.646Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-08-23T11:27:19.646Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-08-23T11:27:19.646Z] ---> f246e2811388 [2024-08-23T11:27:19.646Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-23T11:27:21.055Z] ---> Running in 5d7d6749baf8 [2024-08-23T11:27:21.325Z] Removing intermediate container 5d7d6749baf8 [2024-08-23T11:27:21.325Z] ---> 763faeda0ec9 [2024-08-23T11:27:21.325Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-08-23T11:27:21.325Z] ---> Running in bb3c612c5c9e [2024-08-23T11:27:21.594Z] Removing intermediate container bb3c612c5c9e [2024-08-23T11:27:21.594Z] ---> 0a608a5bdd37 [2024-08-23T11:27:21.594Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-08-23T11:27:21.862Z] ---> Running in 5a2c1331cfb4 [2024-08-23T11:27:22.130Z] Removing intermediate container 5a2c1331cfb4 [2024-08-23T11:27:22.130Z] ---> fe54ffd044fc [2024-08-23T11:27:22.130Z] Step 6/12 : WORKDIR /device-virtual-go [2024-08-23T11:27:22.130Z] ---> Running in 35ea9f4ea61d [2024-08-23T11:27:22.398Z] Removing intermediate container 35ea9f4ea61d [2024-08-23T11:27:22.398Z] ---> 6597fa8b77d2 [2024-08-23T11:27:22.398Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-23T11:27:22.666Z] ---> Running in 08e6f2651fd6 [2024-08-23T11:27:23.626Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-23T11:27:24.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-23T11:27:25.166Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-08-23T11:27:25.166Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-08-23T11:27:25.166Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-08-23T11:27:25.432Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-08-23T11:27:25.432Z] Executing busybox-1.36.1-r5.trigger [2024-08-23T11:27:25.432Z] OK: 271 MiB in 56 packages [2024-08-23T11:27:26.390Z] Removing intermediate container 08e6f2651fd6 [2024-08-23T11:27:26.390Z] ---> 0fdf9d212df7 [2024-08-23T11:27:26.390Z] Step 8/12 : COPY go.mod vendor* ./ [2024-08-23T11:27:26.975Z] ---> ade88752e27f [2024-08-23T11:27:26.975Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-23T11:27:26.975Z] ---> Running in 433f33004770 [2024-08-23T11:27:42.232Z] Removing intermediate container 89e30970a7c8 [2024-08-23T11:27:42.232Z] ---> c1f2a6273fc4 [2024-08-23T11:27:42.232Z] Step 13/26 : FROM alpine:3.18 [2024-08-23T11:27:42.232Z] 3.18: Pulling from library/alpine [2024-08-23T11:27:42.232Z] 930bdd4d222e: Pulling fs layer [2024-08-23T11:27:42.232Z] 930bdd4d222e: Download complete [2024-08-23T11:27:42.232Z] 930bdd4d222e: Pull complete [2024-08-23T11:27:42.232Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-23T11:27:42.232Z] Status: Downloaded newer image for alpine:3.18 [2024-08-23T11:27:42.232Z] ---> 18f865063206 [2024-08-23T11:27:42.232Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-08-23T11:27:42.504Z] ---> Running in 3cb735173c96 [2024-08-23T11:27:42.504Z] Removing intermediate container 3cb735173c96 [2024-08-23T11:27:42.504Z] ---> fe5a157ad05f [2024-08-23T11:27:42.504Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-08-23T11:27:42.504Z] ---> Running in 48bd10394039 [2024-08-23T11:27:42.764Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-23T11:27:42.765Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-23T11:27:43.024Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-23T11:27:43.024Z] Executing busybox-1.36.1-r7.trigger [2024-08-23T11:27:43.024Z] OK: 7 MiB in 16 packages [2024-08-23T11:27:43.598Z] Removing intermediate container 48bd10394039 [2024-08-23T11:27:43.598Z] ---> ac67a96ee5f4 [2024-08-23T11:27:43.598Z] Step 16/26 : RUN apk --no-cache upgrade [2024-08-23T11:27:43.598Z] ---> Running in 703d089de482 [2024-08-23T11:27:43.858Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-23T11:27:43.858Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-23T11:27:43.858Z] OK: 7 MiB in 16 packages [2024-08-23T11:27:44.425Z] Removing intermediate container 703d089de482 [2024-08-23T11:27:44.425Z] ---> 0d6162b80b12 [2024-08-23T11:27:44.425Z] Step 17/26 : WORKDIR / [2024-08-23T11:27:44.425Z] ---> Running in a9acff396235 [2024-08-23T11:27:44.425Z] Removing intermediate container a9acff396235 [2024-08-23T11:27:44.425Z] ---> 0b3a069fd951 [2024-08-23T11:27:44.425Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-08-23T11:27:44.425Z] ---> 0c79a84f933c [2024-08-23T11:27:44.425Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-08-23T11:27:44.684Z] ---> 3cdec59a43e2 [2024-08-23T11:27:44.684Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-08-23T11:27:45.623Z] ---> a225c301d5f9 [2024-08-23T11:27:45.623Z] Step 21/26 : EXPOSE 59900 [2024-08-23T11:27:45.623Z] ---> Running in e8104e231507 [2024-08-23T11:27:45.623Z] Removing intermediate container e8104e231507 [2024-08-23T11:27:45.623Z] ---> a2e182157690 [2024-08-23T11:27:45.623Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-08-23T11:27:45.623Z] ---> Running in 2878718e0e89 [2024-08-23T11:27:45.623Z] Removing intermediate container 2878718e0e89 [2024-08-23T11:27:45.623Z] ---> ce66dee853dd [2024-08-23T11:27:45.623Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-23T11:27:45.623Z] ---> Running in 96ec8d23c155 [2024-08-23T11:27:45.884Z] Removing intermediate container 96ec8d23c155 [2024-08-23T11:27:45.884Z] ---> 4ecb9a5db614 [2024-08-23T11:27:45.884Z] Step 24/26 : LABEL arch=amd64 [2024-08-23T11:27:45.884Z] ---> Running in b29d425ab7dd [2024-08-23T11:27:45.884Z] Removing intermediate container b29d425ab7dd [2024-08-23T11:27:45.884Z] ---> dc3445f2e071 [2024-08-23T11:27:45.884Z] Step 25/26 : LABEL git_sha=e8a394031044ff1a0cf5890889c0cd3118a539f3 [2024-08-23T11:27:45.884Z] ---> Running in 1c912a825b7f [2024-08-23T11:27:45.884Z] Removing intermediate container 1c912a825b7f [2024-08-23T11:27:45.884Z] ---> 573cd28e649a [2024-08-23T11:27:45.884Z] Step 26/26 : LABEL version=0.0.0 [2024-08-23T11:27:45.884Z] ---> Running in bb94702ce6d6 [2024-08-23T11:27:46.145Z] Removing intermediate container bb94702ce6d6 [2024-08-23T11:27:46.145Z] ---> e33b663c431c [2024-08-23T11:27:46.145Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-23T11:27:46.145Z] Successfully built e33b663c431c [2024-08-23T11:27:46.145Z] 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-23T11:27:47.222Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-23T11:27:47.222Z] [2024-08-23T11:27:47.222Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-23T11:27:47.628Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-23T11:27:47.628Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-23T11:27:47.628Z] 5eb5b503b376: Pulling fs layer [2024-08-23T11:27:47.628Z] 5c69ac0246d0: Pulling fs layer [2024-08-23T11:27:47.628Z] ec43610c2a17: Pulling fs layer [2024-08-23T11:27:47.628Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-23T11:27:47.628Z] 33b1e0a273af: Pulling fs layer [2024-08-23T11:27:47.628Z] 5d3b04190fa2: Pulling fs layer [2024-08-23T11:27:47.628Z] 2f39f015ded8: Pulling fs layer [2024-08-23T11:27:47.628Z] 3a2ae6a8a46f: Waiting [2024-08-23T11:27:47.628Z] 33b1e0a273af: Waiting [2024-08-23T11:27:47.628Z] 5d3b04190fa2: Waiting [2024-08-23T11:27:47.628Z] 2f39f015ded8: Waiting [2024-08-23T11:27:47.628Z] 5c69ac0246d0: Verifying Checksum [2024-08-23T11:27:47.628Z] 5c69ac0246d0: Download complete [2024-08-23T11:27:47.628Z] 3a2ae6a8a46f: Download complete [2024-08-23T11:27:47.628Z] 33b1e0a273af: Verifying Checksum [2024-08-23T11:27:47.628Z] 33b1e0a273af: Download complete [2024-08-23T11:27:47.628Z] 5d3b04190fa2: Download complete [2024-08-23T11:27:47.628Z] ec43610c2a17: Verifying Checksum [2024-08-23T11:27:47.628Z] ec43610c2a17: Download complete [2024-08-23T11:27:47.887Z] 5eb5b503b376: Verifying Checksum [2024-08-23T11:27:47.887Z] 5eb5b503b376: Download complete [2024-08-23T11:27:48.459Z] 2f39f015ded8: Download complete [2024-08-23T11:27:49.026Z] 5eb5b503b376: Pull complete [2024-08-23T11:27:49.026Z] 5c69ac0246d0: Pull complete [2024-08-23T11:27:49.593Z] ec43610c2a17: Pull complete [2024-08-23T11:27:49.593Z] 3a2ae6a8a46f: Pull complete [2024-08-23T11:27:49.852Z] 33b1e0a273af: Pull complete [2024-08-23T11:27:49.852Z] 5d3b04190fa2: Pull complete [2024-08-23T11:27:54.040Z] 2f39f015ded8: Pull complete [2024-08-23T11:27:54.040Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-23T11:27:54.040Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-23T11:27:54.040Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-23T11:27:54.320Z] prd-ubuntu20.04-docker-8c-8g-8382 does not seem to be running inside a container [2024-08-23T11:27:54.348Z] $ 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-485 -v /w/workspace/foundry_device-virtual-go_PR-485:/w/workspace/foundry_device-virtual-go_PR-485:rw,z -v /w/workspace/foundry_device-virtual-go_PR-485@tmp:/w/workspace/foundry_device-virtual-go_PR-485@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-23T11:27:58.808Z] $ docker top a29227440ba3c8ea92e4363d7cc175eaed3d589a0b2cf2fa468522a69c9020ee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-23T11:27:59.301Z] ---> job-cost.sh [2024-08-23T11:27:59.301Z] lf-activate-venv: SKIPPING [2024-08-23T11:27:59.301Z] INFO: No Stack... [2024-08-23T11:27:59.560Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-23T11:28:00.129Z] INFO: Archiving Costs [Pipeline] sh [2024-08-23T11:28:00.456Z] + cat /w/workspace/foundry_device-virtual-go_PR-485/archives/cost.csv [2024-08-23T11:28:00.457Z] + cut -d, -f6 [Pipeline] lock [2024-08-23T11:28:00.507Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-485-1-stack-cost] [2024-08-23T11:28:00.515Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-485-1-stack-cost] did not exist. Created. [2024-08-23T11:28:00.521Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-485-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-23T11:28:00.944Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-23T11:28:01.010Z] Stashed 1 file(s) [Pipeline] } [2024-08-23T11:28:01.050Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-485-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-23T11:28:01.149Z] $ docker stop --time=1 a29227440ba3c8ea92e4363d7cc175eaed3d589a0b2cf2fa468522a69c9020ee [2024-08-23T11:28:02.310Z] $ docker rm -f --volumes a29227440ba3c8ea92e4363d7cc175eaed3d589a0b2cf2fa468522a69c9020ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-08-23T11:29:18.643Z] Removing intermediate container 433f33004770 [2024-08-23T11:29:18.644Z] ---> fe2a486d18fe [2024-08-23T11:29:18.644Z] Step 10/12 : COPY . . [2024-08-23T11:29:18.644Z] ---> 2010c8a607be [2024-08-23T11:29:18.644Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-23T11:29:18.644Z] ---> Running in 8f64d54298cf [2024-08-23T11:29:18.644Z] Removing intermediate container 8f64d54298cf [2024-08-23T11:29:18.644Z] ---> c371357922cd [2024-08-23T11:29:18.644Z] Step 12/12 : RUN $MAKE [2024-08-23T11:29:18.644Z] ---> Running in 3fafb7d02ede [2024-08-23T11:29:18.644Z] noop [2024-08-23T11:29:18.644Z] Removing intermediate container 3fafb7d02ede [2024-08-23T11:29:18.644Z] ---> 909664d70308 [2024-08-23T11:29:18.644Z] Successfully built 909664d70308 [2024-08-23T11:29:18.644Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-23T11:29:19.161Z] + docker inspect -f . ci-base-image-arm64 [2024-08-23T11:29:19.161Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-23T11:29:19.550Z] prd-ubuntu20.04-docker-arm64-4c-16g-8383 does not seem to be running inside a container [2024-08-23T11:29:19.609Z] $ 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-23T11:29:20.891Z] $ docker top cff9fe3cb81ce231c9070870ae181b9b7303f06eeae25082e852814310f8364e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-23T11:29:21.794Z] + go version [2024-08-23T11:29:21.794Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-23T11:29:21.830Z] $ docker stop --time=1 cff9fe3cb81ce231c9070870ae181b9b7303f06eeae25082e852814310f8364e [2024-08-23T11:29:23.414Z] $ docker rm -f --volumes cff9fe3cb81ce231c9070870ae181b9b7303f06eeae25082e852814310f8364e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-23T11:29:24.336Z] + docker inspect -f . ci-base-image-arm64 [2024-08-23T11:29:24.336Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-23T11:29:24.610Z] prd-ubuntu20.04-docker-arm64-4c-16g-8383 does not seem to be running inside a container [2024-08-23T11:29:24.661Z] $ 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-23T11:29:25.793Z] $ docker top b4635f247cdf4adfd08aebdf93a3238759e8952b1d6cfd5d536e7222b02d54b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-23T11:29:26.706Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2024-08-23T11:29:27.422Z] + make test [2024-08-23T11:29:27.422Z] go test ./... -coverprofile=coverage.out [2024-08-23T11:29:32.966Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-08-23T11:33:09.903Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-08-23T11:33:09.903Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.057s coverage: 58.3% of statements [2024-08-23T11:33:09.903Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-08-23T11:33:09.903Z] go vet ./... [2024-08-23T11:33:48.783Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-23T11:33:48.783Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-23T11:33:48.783Z] ./bin/test-attribution-txt.sh [2024-08-23T11:33:48.783Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-08-23T11:33:48.838Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-23T11:33:48.878Z] $ docker stop --time=1 b4635f247cdf4adfd08aebdf93a3238759e8952b1d6cfd5d536e7222b02d54b9 [2024-08-23T11:33:50.788Z] $ docker rm -f --volumes b4635f247cdf4adfd08aebdf93a3238759e8952b1d6cfd5d536e7222b02d54b9 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-23T11:33:52.343Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-23T11:33:52.400Z] Warning: overwriting stash ‘coverage-report’ [2024-08-23T11:33:52.826Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-23T11:33:53.475Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-23T11:33:53.812Z] + ls -al . [2024-08-23T11:33:53.812Z] total 272 [2024-08-23T11:33:53.812Z] drwxrwxr-x 7 jenkins jenkins 4096 Aug 23 11:29 . [2024-08-23T11:33:53.812Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 11:26 .. [2024-08-23T11:33:53.812Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 11:26 .git [2024-08-23T11:33:53.812Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 11:26 .github [2024-08-23T11:33:53.812Z] -rw-rw-r-- 1 jenkins jenkins 272 Aug 23 11:26 .gitignore [2024-08-23T11:33:53.812Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 23 11:26 .golangci.yml [2024-08-23T11:33:53.812Z] -rw-rw-r-- 1 jenkins jenkins 17933 Aug 23 11:26 Attribution.txt [2024-08-23T11:33:53.812Z] -rw-rw-r-- 1 jenkins jenkins 15941 Aug 23 11:26 CHANGELOG.md [2024-08-23T11:33:53.812Z] -rw-rw-r-- 1 jenkins jenkins 1755 Aug 23 11:26 Dockerfile [2024-08-23T11:33:53.812Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 23 11:26 GOVERNANCE.md [2024-08-23T11:33:53.812Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 23 11:26 Jenkinsfile [2024-08-23T11:33:53.812Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 23 11:26 LICENSE [2024-08-23T11:33:53.812Z] -rw-rw-r-- 1 jenkins jenkins 1953 Aug 23 11:26 Makefile [2024-08-23T11:33:53.812Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 23 11:26 OWNERS.md [2024-08-23T11:33:53.812Z] -rw-rw-r-- 1 jenkins jenkins 4103 Aug 23 11:26 README.md [2024-08-23T11:33:53.812Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 23 11:24 VERSION [2024-08-23T11:33:53.812Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 11:26 bin [2024-08-23T11:33:53.812Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 11:26 cmd [2024-08-23T11:33:53.812Z] -rw-r--r-- 1 jenkins jenkins 43247 Aug 23 11:33 coverage.out [2024-08-23T11:33:53.812Z] -rw-rw-r-- 1 jenkins jenkins 6923 Aug 23 11:26 go.mod [2024-08-23T11:33:53.812Z] -rw-rw-r-- 1 jenkins jenkins 101673 Aug 23 11:26 go.sum [2024-08-23T11:33:53.812Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 11:26 internal [2024-08-23T11:33:53.812Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 23 11:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-23T11:33:54.263Z] + 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=e8a394031044ff1a0cf5890889c0cd3118a539f3 --label arch=arm64 --label version=0.0.0 . [2024-08-23T11:33:54.847Z] Sending build context to Docker daemon 19.03MB [2024-08-23T11:33:54.847Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-08-23T11:33:54.847Z] Step 2/26 : FROM ${BASE} AS builder [2024-08-23T11:33:54.847Z] ---> 909664d70308 [2024-08-23T11:33:54.847Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-23T11:33:55.114Z] ---> Running in 8f28ba5260ac [2024-08-23T11:33:55.383Z] Removing intermediate container 8f28ba5260ac [2024-08-23T11:33:55.383Z] ---> 5abf306295b5 [2024-08-23T11:33:55.383Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-08-23T11:33:55.383Z] ---> Running in 3e7e28f108ae [2024-08-23T11:33:55.965Z] Removing intermediate container 3e7e28f108ae [2024-08-23T11:33:55.965Z] ---> b8809eb91f4c [2024-08-23T11:33:55.965Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-08-23T11:33:55.965Z] ---> Running in d35c2f06cd2a [2024-08-23T11:33:56.238Z] Removing intermediate container d35c2f06cd2a [2024-08-23T11:33:56.238Z] ---> 4a168cdc17da [2024-08-23T11:33:56.238Z] Step 6/26 : WORKDIR /device-virtual-go [2024-08-23T11:33:56.238Z] ---> Running in 6a5c9bf6630f [2024-08-23T11:33:56.823Z] Removing intermediate container 6a5c9bf6630f [2024-08-23T11:33:56.823Z] ---> 9a3e70caaa8c [2024-08-23T11:33:56.823Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-23T11:33:56.823Z] ---> Running in 7ba5aeacc665 [2024-08-23T11:33:57.779Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-23T11:33:58.044Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-23T11:33:58.999Z] OK: 271 MiB in 56 packages [2024-08-23T11:33:59.956Z] Removing intermediate container 7ba5aeacc665 [2024-08-23T11:33:59.956Z] ---> 8bc5cc70f1a8 [2024-08-23T11:33:59.956Z] Step 8/26 : COPY go.mod vendor* ./ [2024-08-23T11:34:00.223Z] ---> 3f0776c2f1de [2024-08-23T11:34:00.223Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-23T11:34:00.495Z] ---> Running in 8a335d70a1ff [2024-08-23T11:34:03.070Z] Removing intermediate container 8a335d70a1ff [2024-08-23T11:34:03.070Z] ---> d01859d0efbe [2024-08-23T11:34:03.070Z] Step 10/26 : COPY . . [2024-08-23T11:34:04.470Z] ---> bb04c63ec202 [2024-08-23T11:34:04.470Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-23T11:34:04.470Z] ---> Running in 593c7e1cc9a0 [2024-08-23T11:34:04.470Z] Removing intermediate container 593c7e1cc9a0 [2024-08-23T11:34:04.470Z] ---> 6e1cbb6ada7f [2024-08-23T11:34:04.470Z] Step 12/26 : RUN $MAKE [2024-08-23T11:34:04.470Z] ---> Running in 779cea887bdc [2024-08-23T11:34:05.425Z] 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.32" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-08-23T11:37:27.197Z] Removing intermediate container 779cea887bdc [2024-08-23T11:37:27.197Z] ---> bacf1a976501 [2024-08-23T11:37:27.197Z] Step 13/26 : FROM alpine:3.18 [2024-08-23T11:37:27.197Z] 3.18: Pulling from library/alpine [2024-08-23T11:37:27.197Z] 4983c3fe2029: Pulling fs layer [2024-08-23T11:37:27.197Z] 4983c3fe2029: Verifying Checksum [2024-08-23T11:37:27.197Z] 4983c3fe2029: Download complete [2024-08-23T11:37:27.197Z] 4983c3fe2029: Pull complete [2024-08-23T11:37:27.197Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-23T11:37:27.197Z] Status: Downloaded newer image for alpine:3.18 [2024-08-23T11:37:27.197Z] ---> a0237000ae83 [2024-08-23T11:37:27.197Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-08-23T11:37:27.197Z] ---> Running in 13ce805358a0 [2024-08-23T11:37:27.197Z] Removing intermediate container 13ce805358a0 [2024-08-23T11:37:27.197Z] ---> 8bb5e05db5bd [2024-08-23T11:37:27.197Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-08-23T11:37:27.197Z] ---> Running in 6e16c4f2efb8 [2024-08-23T11:37:27.197Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-23T11:37:27.197Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-23T11:37:27.197Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-23T11:37:27.197Z] Executing busybox-1.36.1-r7.trigger [2024-08-23T11:37:27.197Z] OK: 8 MiB in 16 packages [2024-08-23T11:37:27.197Z] Removing intermediate container 6e16c4f2efb8 [2024-08-23T11:37:27.197Z] ---> 2793f0cdee8e [2024-08-23T11:37:27.197Z] Step 16/26 : RUN apk --no-cache upgrade [2024-08-23T11:37:27.197Z] ---> Running in 5734648fea83 [2024-08-23T11:37:27.197Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-23T11:37:27.197Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-23T11:37:27.197Z] OK: 8 MiB in 16 packages [2024-08-23T11:37:27.784Z] Removing intermediate container 5734648fea83 [2024-08-23T11:37:27.784Z] ---> d3559aa64080 [2024-08-23T11:37:27.784Z] Step 17/26 : WORKDIR / [2024-08-23T11:37:27.784Z] ---> Running in b83fc9bf0d45 [2024-08-23T11:37:28.051Z] Removing intermediate container b83fc9bf0d45 [2024-08-23T11:37:28.051Z] ---> 0fdc5d81d1f0 [2024-08-23T11:37:28.051Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-08-23T11:37:28.642Z] ---> 29d252fd6573 [2024-08-23T11:37:28.642Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-08-23T11:37:29.222Z] ---> 76a7ec605c6e [2024-08-23T11:37:29.222Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-08-23T11:37:30.629Z] ---> 630b8d93b7c3 [2024-08-23T11:37:30.629Z] Step 21/26 : EXPOSE 59900 [2024-08-23T11:37:30.895Z] ---> Running in e4a30bf907f9 [2024-08-23T11:37:31.161Z] Removing intermediate container e4a30bf907f9 [2024-08-23T11:37:31.161Z] ---> dcb15ad9a02f [2024-08-23T11:37:31.161Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-08-23T11:37:31.161Z] ---> Running in c5cca0dfe321 [2024-08-23T11:37:31.430Z] Removing intermediate container c5cca0dfe321 [2024-08-23T11:37:31.430Z] ---> f7fc35588ca4 [2024-08-23T11:37:31.430Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-23T11:37:31.697Z] ---> Running in 7162e02a9e63 [2024-08-23T11:37:31.963Z] Removing intermediate container 7162e02a9e63 [2024-08-23T11:37:31.963Z] ---> 95812ed42882 [2024-08-23T11:37:31.963Z] Step 24/26 : LABEL arch=arm64 [2024-08-23T11:37:31.963Z] ---> Running in 6e5e2287e098 [2024-08-23T11:37:32.229Z] Removing intermediate container 6e5e2287e098 [2024-08-23T11:37:32.229Z] ---> 4299455ffc09 [2024-08-23T11:37:32.229Z] Step 25/26 : LABEL git_sha=e8a394031044ff1a0cf5890889c0cd3118a539f3 [2024-08-23T11:37:32.229Z] ---> Running in bb01ec570a90 [2024-08-23T11:37:32.495Z] Removing intermediate container bb01ec570a90 [2024-08-23T11:37:32.495Z] ---> 90f3135ebce1 [2024-08-23T11:37:32.495Z] Step 26/26 : LABEL version=0.0.0 [2024-08-23T11:37:32.762Z] ---> Running in f723d11f9ec1 [2024-08-23T11:37:33.028Z] Removing intermediate container f723d11f9ec1 [2024-08-23T11:37:33.028Z] ---> e7813c8f01d5 [2024-08-23T11:37:33.028Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-23T11:37:33.028Z] Successfully built e7813c8f01d5 [2024-08-23T11:37:33.028Z] 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-23T11:37:33.982Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-23T11:37:33.982Z] [2024-08-23T11:37:33.982Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-23T11:37:34.413Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-23T11:37:34.413Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-23T11:37:34.413Z] 8998bd30e6a1: Pulling fs layer [2024-08-23T11:37:34.413Z] 04944245beec: Pulling fs layer [2024-08-23T11:37:34.413Z] 699f458cf7ca: Pulling fs layer [2024-08-23T11:37:34.413Z] 765212b225bb: Pulling fs layer [2024-08-23T11:37:34.413Z] f23df028b6ca: Pulling fs layer [2024-08-23T11:37:34.413Z] d65c8cfc05b1: Pulling fs layer [2024-08-23T11:37:34.413Z] 2437ff75d9bd: Pulling fs layer [2024-08-23T11:37:34.413Z] 765212b225bb: Waiting [2024-08-23T11:37:34.414Z] f23df028b6ca: Waiting [2024-08-23T11:37:34.414Z] d65c8cfc05b1: Waiting [2024-08-23T11:37:34.414Z] 2437ff75d9bd: Waiting [2024-08-23T11:37:34.679Z] 04944245beec: Verifying Checksum [2024-08-23T11:37:34.679Z] 04944245beec: Download complete [2024-08-23T11:37:34.679Z] 765212b225bb: Verifying Checksum [2024-08-23T11:37:34.679Z] 765212b225bb: Download complete [2024-08-23T11:37:34.679Z] f23df028b6ca: Verifying Checksum [2024-08-23T11:37:34.679Z] f23df028b6ca: Download complete [2024-08-23T11:37:34.679Z] d65c8cfc05b1: Verifying Checksum [2024-08-23T11:37:34.679Z] d65c8cfc05b1: Download complete [2024-08-23T11:37:34.679Z] 699f458cf7ca: Verifying Checksum [2024-08-23T11:37:34.679Z] 699f458cf7ca: Download complete [2024-08-23T11:37:35.265Z] 8998bd30e6a1: Verifying Checksum [2024-08-23T11:37:35.265Z] 8998bd30e6a1: Download complete [2024-08-23T11:37:37.854Z] 2437ff75d9bd: Verifying Checksum [2024-08-23T11:37:37.854Z] 2437ff75d9bd: Download complete [2024-08-23T11:37:39.791Z] 8998bd30e6a1: Pull complete [2024-08-23T11:37:40.372Z] 04944245beec: Pull complete [2024-08-23T11:37:41.777Z] 699f458cf7ca: Pull complete [2024-08-23T11:37:42.044Z] 765212b225bb: Pull complete [2024-08-23T11:37:42.631Z] f23df028b6ca: Pull complete [2024-08-23T11:37:42.900Z] d65c8cfc05b1: Pull complete [2024-08-23T11:38:01.109Z] 2437ff75d9bd: Pull complete [2024-08-23T11:38:01.109Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-23T11:38:01.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-23T11:38:01.109Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-23T11:38:01.452Z] prd-ubuntu20.04-docker-arm64-4c-16g-8383 does not seem to be running inside a container [2024-08-23T11:38:01.507Z] $ 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-23T11:38:04.117Z] $ docker top 3372b52ef96ee9e9c0def4aba62530b5277a5e111996b16492dac524a6d0f15f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-23T11:38:05.004Z] ---> job-cost.sh [2024-08-23T11:38:05.004Z] lf-activate-venv: SKIPPING [2024-08-23T11:38:05.004Z] INFO: No Stack... [2024-08-23T11:38:05.581Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-23T11:38:06.158Z] INFO: Archiving Costs [Pipeline] sh [2024-08-23T11:38:06.813Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2024-08-23T11:38:06.813Z] + cut -d, -f6 [Pipeline] lock [2024-08-23T11:38:06.890Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-485-1-stack-cost] [2024-08-23T11:38:06.899Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-485-1-stack-cost] did not exist. Created. [2024-08-23T11:38:06.910Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-485-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-23T11:38:07.334Z] /w/workspace/device-virtual-go/1@tmp/durable-2f41619a/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-23T11:38:07.989Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-23T11:38:08.034Z] Warning: overwriting stash ‘stack-cost’ [2024-08-23T11:38:08.088Z] Stashed 1 file(s) [Pipeline] } [2024-08-23T11:38:08.109Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-485-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-23T11:38:08.197Z] $ docker stop --time=1 3372b52ef96ee9e9c0def4aba62530b5277a5e111996b16492dac524a6d0f15f [2024-08-23T11:38:09.665Z] $ docker rm -f --volumes 3372b52ef96ee9e9c0def4aba62530b5277a5e111996b16492dac524a6d0f15f [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-23T11:38:10.875Z] provisioning config files... [2024-08-23T11:38:10.883Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-485@tmp/config9662897477807379244tmp [Pipeline] { [Pipeline] sh [2024-08-23T11:38:11.237Z] + set +x [2024-08-23T11:38:11.238Z] + curl -s https://codecov.io/bash [2024-08-23T11:38:11.238Z] + bash -s -- [2024-08-23T11:38:11.238Z] [2024-08-23T11:38:11.238Z] _____ _ [2024-08-23T11:38:11.238Z] / ____| | | [2024-08-23T11:38:11.238Z] | | ___ __| | ___ ___ _____ __ [2024-08-23T11:38:11.238Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-08-23T11:38:11.238Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-08-23T11:38:11.238Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-08-23T11:38:11.238Z] Bash-1.0.6 [2024-08-23T11:38:11.238Z] [2024-08-23T11:38:11.238Z] [2024-08-23T11:38:11.238Z] ==> git version 2.25.1 found [2024-08-23T11:38:11.238Z] ==> 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-23T11:38:11.238Z] Release-Date: 2020-01-08 [2024-08-23T11:38:11.238Z] 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-23T11:38:11.238Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-08-23T11:38:11.238Z] ==> Jenkins CI detected. [2024-08-23T11:38:11.238Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-485 [2024-08-23T11:38:11.238Z] project root: . [2024-08-23T11:38:11.238Z] --> token set from env [2024-08-23T11:38:11.238Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-08-23T11:38:11.499Z] ==> Running gcov in . (disable via -X gcov) [2024-08-23T11:38:11.499Z] ==> Python coveragepy not found [2024-08-23T11:38:11.499Z] ==> Searching for coverage reports in: [2024-08-23T11:38:11.499Z] + . [2024-08-23T11:38:11.499Z] -> Found 1 reports [2024-08-23T11:38:11.499Z] ==> Detecting git/mercurial file structure [2024-08-23T11:38:11.499Z] ==> Reading reports [2024-08-23T11:38:11.499Z] + ./coverage.out bytes=43247 [2024-08-23T11:38:11.499Z] ==> Appending adjustments [2024-08-23T11:38:11.499Z] https://docs.codecov.io/docs/fixing-reports [2024-08-23T11:38:11.499Z] + Found adjustments [2024-08-23T11:38:11.499Z] ==> Gzipping contents [2024-08-23T11:38:11.499Z] 8.0K /tmp/codecov.zqYcby.gz [2024-08-23T11:38:11.499Z] ==> Uploading reports [2024-08-23T11:38:11.499Z] url: https://codecov.io [2024-08-23T11:38:11.499Z] query: branch=PR-485&commit=e8a394031044ff1a0cf5890889c0cd3118a539f3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-485%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=485&job=&cmd_args= [2024-08-23T11:38:11.499Z] -> Pinging Codecov [2024-08-23T11:38:11.499Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-485&commit=e8a394031044ff1a0cf5890889c0cd3118a539f3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-485%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=485&job=&cmd_args= [2024-08-23T11:38:11.759Z] -> Uploading to [2024-08-23T11:38:11.759Z] https://storage.googleapis.com/codecov/v4/raw/2024-08-23/5E52B4B073DB2E39498172D8E973AA87/e8a394031044ff1a0cf5890889c0cd3118a539f3/3cf7e7c5-e2dd-46a7-9703-56d760691e81.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240823%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240823T113811Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=716b8329fcad2cf589b64bfa9b95edf94ef02310e28d768218c3745d0ae57a84 [2024-08-23T11:38:11.759Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-23T11:38:11.759Z] Dload Upload Total Spent Left Speed [2024-08-23T11:38:12.021Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5022 0 0 100 5022 0 22026 --:--:-- --:--:-- --:--:-- 22026 [2024-08-23T11:38:12.021Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/e8a394031044ff1a0cf5890889c0cd3118a539f3 [Pipeline] } [2024-08-23T11:38:12.052Z] 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-23T11:38:14.434Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-485/archives ] [2024-08-23T11:38:14.434Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-485/archives [2024-08-23T11:38:14.434Z] total 16 [2024-08-23T11:38:14.434Z] drwxr-xr-x 3 root root 4096 Aug 23 11:27 . [2024-08-23T11:38:14.434Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 23 11:28 .. [2024-08-23T11:38:14.434Z] drwxr-xr-x 2 root root 4096 Aug 23 11:27 cost [2024-08-23T11:38:14.434Z] -rw-r--r-- 1 root root 89 Aug 23 11:27 cost.csv [2024-08-23T11:38:14.434Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-485/archives [2024-08-23T11:38:14.434Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-485/archives [2024-08-23T11:38:14.434Z] total 16 [2024-08-23T11:38:14.434Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 11:27 . [2024-08-23T11:38:14.434Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 23 11:28 .. [2024-08-23T11:38:14.434Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 23 11:27 cost [2024-08-23T11:38:14.434Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 23 11:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-23T11:38:14.793Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-23T11:38:15.690Z] ---> package-listing.sh [2024-08-23T11:38:15.690Z] ++ facter osfamily [2024-08-23T11:38:15.690Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-23T11:38:15.949Z] + OS_FAMILY=debian [2024-08-23T11:38:15.949Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-485 [2024-08-23T11:38:15.949Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-23T11:38:15.949Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-23T11:38:15.949Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-23T11:38:15.949Z] + PACKAGES=/tmp/packages_start.txt [2024-08-23T11:38:15.949Z] + '[' /w/workspace/foundry_device-virtual-go_PR-485 ']' [2024-08-23T11:38:15.949Z] + PACKAGES=/tmp/packages_end.txt [2024-08-23T11:38:15.949Z] + case "${OS_FAMILY}" in [2024-08-23T11:38:15.949Z] + dpkg -l [2024-08-23T11:38:15.949Z] + grep '^ii' [2024-08-23T11:38:15.949Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-23T11:38:15.949Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-23T11:38:15.949Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-23T11:38:15.949Z] + '[' /w/workspace/foundry_device-virtual-go_PR-485 ']' [2024-08-23T11:38:15.949Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-485/archives/ [2024-08-23T11:38:15.949Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-485/archives/ [Pipeline] echo [2024-08-23T11:38:15.986Z] 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-485/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-08-23T11:38:16.281Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-23T11:38:16.942Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-23T11:38:16.942Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-23T11:38:17.145Z] prd-ubuntu20.04-docker-8c-8g-8382 does not seem to be running inside a container [2024-08-23T11:38:17.176Z] $ 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-485/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-485 -v /w/workspace/foundry_device-virtual-go_PR-485:/w/workspace/foundry_device-virtual-go_PR-485:rw,z -v /w/workspace/foundry_device-virtual-go_PR-485@tmp:/w/workspace/foundry_device-virtual-go_PR-485@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-23T11:38:17.370Z] $ docker top 1a72ee0a3c153b3f9ea1bc3b7554a1c87dadf72a67e63af9c04ee95ab03acce5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-23T11:38:17.779Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-23T11:38:18.093Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-23T11:38:18.407Z] + ls /var/log/sa-host [2024-08-23T11:38:18.407Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-23T11:38:18.657Z] provisioning config files... [2024-08-23T11:38:18.666Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-485@tmp/config10858439464498301632tmp [Pipeline] { [Pipeline] echo [2024-08-23T11:38:18.745Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-23T11:38:19.066Z] ---> create-netrc.sh [Pipeline] } [2024-08-23T11:38:19.098Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-23T11:38:19.543Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-23T11:38:19.578Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-23T11:38:19.909Z] ---> sudo-logs.sh [2024-08-23T11:38:19.909Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-23T11:38:20.154Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-23T11:38:20.486Z] ---> job-cost.sh [2024-08-23T11:38:20.486Z] lf-activate-venv: SKIPPING [2024-08-23T11:38:20.486Z] DEBUG: total: 0.2199999988079071 [2024-08-23T11:38:20.486Z] INFO: Retrieving Stack Cost... [2024-08-23T11:38:20.746Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-23T11:38:21.313Z] INFO: Archiving Costs [Pipeline] echo [2024-08-23T11:38:21.357Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-23T11:38:21.681Z] ---> logs-deploy.sh [2024-08-23T11:38:21.681Z] lf-activate-venv: SKIPPING [2024-08-23T11:38:21.681Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-485/1 [2024-08-23T11:38:21.681Z] INFO: archiving workspace using pattern(s): [2024-08-23T11:38:22.621Z] Archives upload complete. [2024-08-23T11:38:22.622Z] INFO: archiving logs to Nexus