Pull request #460 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 40e7de3384c8158fcfa99fa7e25ce6e91ea3f34a+65497920df671d88c31f0789bb704d43110c7187 (fd7168e844c54d17a91e4400d6d86961db73afc5) 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-ssh1061274892928049006.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1508217217521873416.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-460/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-460/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17113319330295026969.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-460/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11646663452251059380.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16036447829031677571.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-460/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-460/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12133404369922402389.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1060 in /w/workspace/foundry_device-virtual-go_PR-460 [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-460 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/460/head:refs/remotes/origin/PR-460 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 65497920df671d88c31f0789bb704d43110c7187 into PR head commit 40e7de3384c8158fcfa99fa7e25ce6e91ea3f34a Merge succeeded, producing 40e7de3384c8158fcfa99fa7e25ce6e91ea3f34a Checking out Revision 40e7de3384c8158fcfa99fa7e25ce6e91ea3f34a (PR-460) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 40e7de3384c8158fcfa99fa7e25ce6e91ea3f34a # 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 65497920df671d88c31f0789bb704d43110c7187 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 40e7de3384c8158fcfa99fa7e25ce6e91ea3f34a # timeout=10 [Pipeline] timeout [2024-02-16T11:52:54.304Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-02-16T11:52:54.509Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-02-16T11:52:54.609Z] ========================================================= [2024-02-16T11:52:54.609Z] EdgeX Global Pipelines Version Info [2024-02-16T11:52:54.609Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-02-16T11:52:55.380Z] ------------------- [2024-02-16T11:52:55.381Z] stable info: [2024-02-16T11:52:55.381Z] ------------------- [2024-02-16T11:52:55.381Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-02-16T11:52:55.381Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-02-16T11:52:55.381Z] Message: update stable to v1.0.258 [2024-02-16T11:52:55.953Z] ------------------- [2024-02-16T11:52:55.953Z] experimental info: [2024-02-16T11:52:55.953Z] ------------------- [2024-02-16T11:52:55.953Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-02-16T11:52:55.953Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-02-16T11:52:55.953Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-02-16T11:52:56.162Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2024-02-16T11:52:56.217Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2024-02-16T11:52:56.273Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-02-16T11:52:56.327Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-02-16T11:52:56.382Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-02-16T11:52:56.439Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-02-16T11:52:56.491Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-02-16T11:52:56.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-02-16T11:52:56.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-02-16T11:52:56.664Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-02-16T11:52:56.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-02-16T11:52:56.787Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2024-02-16T11:52:56.833Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-02-16T11:52:56.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-02-16T11:52:56.956Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-02-16T11:52:57.016Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-02-16T11:52:57.073Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-02-16T11:52:57.136Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-02-16T11:52:57.198Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-02-16T11:52:57.266Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-02-16T11:52:57.333Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-02-16T11:52:57.400Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-02-16T11:52:57.475Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-02-16T11:52:57.547Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-02-16T11:52:57.614Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-02-16T11:52:57.681Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-02-16T11:52:57.755Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-02-16T11:52:57.828Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-460 [Pipeline] echo [2024-02-16T11:52:57.893Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-460 [Pipeline] echo [2024-02-16T11:52:57.964Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-460 [Pipeline] echo [2024-02-16T11:52:58.037Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 40e7de3384c8158fcfa99fa7e25ce6e91ea3f34a [Pipeline] echo [2024-02-16T11:52:58.110Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 40e7de3 [Pipeline] echo [2024-02-16T11:52:58.184Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-16T11:52:58.381Z] provisioning config files... [2024-02-16T11:52:58.402Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-460@tmp/config4123704567605330324tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-16T11:52:58.812Z] ---> ****-login.sh [2024-02-16T11:52:58.812Z] nexus3.edgexfoundry.org:10001 [2024-02-16T11:52:59.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T11:52:59.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T11:52:59.072Z] Configure a credential helper to remove this warning. See [2024-02-16T11:52:59.072Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T11:52:59.072Z] [2024-02-16T11:52:59.072Z] Login Succeeded [2024-02-16T11:52:59.072Z] nexus3.edgexfoundry.org:10002 [2024-02-16T11:52:59.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T11:52:59.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T11:52:59.333Z] Configure a credential helper to remove this warning. See [2024-02-16T11:52:59.333Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T11:52:59.333Z] [2024-02-16T11:52:59.333Z] Login Succeeded [2024-02-16T11:52:59.333Z] nexus3.edgexfoundry.org:10003 [2024-02-16T11:52:59.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T11:52:59.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T11:52:59.334Z] Configure a credential helper to remove this warning. See [2024-02-16T11:52:59.334Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T11:52:59.334Z] [2024-02-16T11:52:59.334Z] Login Succeeded [2024-02-16T11:52:59.334Z] nexus3.edgexfoundry.org:10004 [2024-02-16T11:52:59.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T11:52:59.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T11:52:59.596Z] Configure a credential helper to remove this warning. See [2024-02-16T11:52:59.596Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T11:52:59.596Z] [2024-02-16T11:52:59.596Z] Login Succeeded [2024-02-16T11:52:59.596Z] ****.io [2024-02-16T11:52:59.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T11:52:59.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T11:52:59.858Z] Configure a credential helper to remove this warning. See [2024-02-16T11:52:59.858Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T11:52:59.858Z] [2024-02-16T11:52:59.858Z] Login Succeeded [2024-02-16T11:52:59.858Z] ---> ****-login.sh ends [Pipeline] } [2024-02-16T11:52:59.886Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-02-16T11:53:00.700Z] + git rev-list -1 --merges 40e7de3384c8158fcfa99fa7e25ce6e91ea3f34a~1..40e7de3384c8158fcfa99fa7e25ce6e91ea3f34a [Pipeline] echo [2024-02-16T11:53:00.745Z] -----------> git rev-list -1 --merges 40e7de3384c8158fcfa99fa7e25ce6e91ea3f34a~1..40e7de3384c8158fcfa99fa7e25ce6e91ea3f34a 40e7de3384c8158fcfa99fa7e25ce6e91ea3f34a [false] [Pipeline] sh [2024-02-16T11:53:01.073Z] + git log --format=format:%s -1 40e7de3384c8158fcfa99fa7e25ce6e91ea3f34a [Pipeline] echo [2024-02-16T11:53:01.108Z] ========================================================= [2024-02-16T11:53:01.108Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-02-16T11:53:01.108Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-16T11:53:01.608Z] + git log --format=format:%s -1 40e7de3384c8158fcfa99fa7e25ce6e91ea3f34a [Pipeline] echo [2024-02-16T11:53:01.663Z] [semverPrep] GIT_COMMIT: 40e7de3384c8158fcfa99fa7e25ce6e91ea3f34a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-02-16T11:53:01.722Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-02-16T11:53:02.166Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-02-16T11:53:02.166Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-02-16T11:53:02.166Z] + [ -e /tmp/ssh_known_hosts ] [2024-02-16T11:53:02.166Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-02-16T11:53:02.166Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2024-02-16T11:53:02.166Z] -a /etc/ssh/ssh_known_hosts [2024-02-16T11:53:02.166Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T11:53:02.718Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-16T11:53:02.718Z] [2024-02-16T11:53:02.718Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T11:53:03.139Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-16T11:53:03.139Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-02-16T11:53:03.139Z] b85a868b505f: Pulling fs layer [2024-02-16T11:53:03.139Z] e2be974225ed: Pulling fs layer [2024-02-16T11:53:03.139Z] 339a4e72a1f5: Pulling fs layer [2024-02-16T11:53:03.139Z] 988bab9f4d93: Pulling fs layer [2024-02-16T11:53:03.139Z] 1469e6f7b9e6: Pulling fs layer [2024-02-16T11:53:03.139Z] eaf3925da568: Pulling fs layer [2024-02-16T11:53:03.139Z] bab4dde63d76: Pulling fs layer [2024-02-16T11:53:03.139Z] bde34c3a00c8: Pulling fs layer [2024-02-16T11:53:03.139Z] b352a97aabf1: Pulling fs layer [2024-02-16T11:53:03.139Z] 4872d77fe225: Pulling fs layer [2024-02-16T11:53:03.139Z] 5851b861e8e6: Pulling fs layer [2024-02-16T11:53:03.139Z] b352a97aabf1: Waiting [2024-02-16T11:53:03.139Z] 988bab9f4d93: Waiting [2024-02-16T11:53:03.139Z] 1469e6f7b9e6: Waiting [2024-02-16T11:53:03.139Z] bab4dde63d76: Waiting [2024-02-16T11:53:03.139Z] 4872d77fe225: Waiting [2024-02-16T11:53:03.139Z] eaf3925da568: Waiting [2024-02-16T11:53:03.139Z] 5851b861e8e6: Waiting [2024-02-16T11:53:03.139Z] bde34c3a00c8: Waiting [2024-02-16T11:53:03.139Z] e2be974225ed: Download complete [2024-02-16T11:53:03.139Z] 988bab9f4d93: Verifying Checksum [2024-02-16T11:53:03.139Z] 988bab9f4d93: Download complete [2024-02-16T11:53:03.399Z] 1469e6f7b9e6: Verifying Checksum [2024-02-16T11:53:03.399Z] 1469e6f7b9e6: Download complete [2024-02-16T11:53:03.399Z] 339a4e72a1f5: Verifying Checksum [2024-02-16T11:53:03.399Z] 339a4e72a1f5: Download complete [2024-02-16T11:53:03.399Z] eaf3925da568: Verifying Checksum [2024-02-16T11:53:03.399Z] eaf3925da568: Download complete [2024-02-16T11:53:03.399Z] bde34c3a00c8: Verifying Checksum [2024-02-16T11:53:03.399Z] bde34c3a00c8: Download complete [2024-02-16T11:53:03.399Z] b352a97aabf1: Verifying Checksum [2024-02-16T11:53:03.399Z] b352a97aabf1: Download complete [2024-02-16T11:53:03.399Z] 4872d77fe225: Verifying Checksum [2024-02-16T11:53:03.399Z] 4872d77fe225: Download complete [2024-02-16T11:53:03.399Z] 5851b861e8e6: Verifying Checksum [2024-02-16T11:53:03.399Z] 5851b861e8e6: Download complete [2024-02-16T11:53:03.399Z] b85a868b505f: Verifying Checksum [2024-02-16T11:53:03.399Z] b85a868b505f: Download complete [2024-02-16T11:53:03.661Z] bab4dde63d76: Verifying Checksum [2024-02-16T11:53:03.661Z] bab4dde63d76: Download complete [2024-02-16T11:53:04.602Z] b85a868b505f: Pull complete [2024-02-16T11:53:04.867Z] e2be974225ed: Pull complete [2024-02-16T11:53:05.437Z] 339a4e72a1f5: Pull complete [2024-02-16T11:53:05.437Z] 988bab9f4d93: Pull complete [2024-02-16T11:53:05.697Z] 1469e6f7b9e6: Pull complete [2024-02-16T11:53:05.697Z] eaf3925da568: Pull complete [2024-02-16T11:53:07.613Z] bab4dde63d76: Pull complete [2024-02-16T11:53:07.613Z] bde34c3a00c8: Pull complete [2024-02-16T11:53:07.874Z] b352a97aabf1: Pull complete [2024-02-16T11:53:07.874Z] 4872d77fe225: Pull complete [2024-02-16T11:53:08.136Z] 5851b861e8e6: Pull complete [2024-02-16T11:53:08.136Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-02-16T11:53:08.136Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-16T11:53:08.136Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-16T11:53:08.491Z] prd-ubuntu20.04-docker-8c-8g-1060 does not seem to be running inside a container [2024-02-16T11:53:08.534Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-460 -v /w/workspace/foundry_device-virtual-go_PR-460:/w/workspace/foundry_device-virtual-go_PR-460:rw,z -v /w/workspace/foundry_device-virtual-go_PR-460@tmp:/w/workspace/foundry_device-virtual-go_PR-460@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-02-16T11:53:12.077Z] $ docker top 42214c77799cbc3d45587cbeeac2c215641c18d2d476d58cae31969348539ac2 -eo pid,comm [2024-02-16T11:53:12.126Z] 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-02-16T11:53:12.126Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-02-16T11:53:12.324Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-02-16T11:53:12.324Z] [ssh-agent] Looking for ssh-agent implementation... [2024-02-16T11:53:12.450Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-02-16T11:53:12.456Z] $ docker exec 42214c77799cbc3d45587cbeeac2c215641c18d2d476d58cae31969348539ac2 ssh-agent [2024-02-16T11:53:12.555Z] SSH_AUTH_SOCK=/tmp/ssh-gAHm1LiAUQx9/agent.32 [2024-02-16T11:53:12.555Z] SSH_AGENT_PID=38 [2024-02-16T11:53:12.562Z] Running ssh-add (command line suppressed) [2024-02-16T11:53:12.668Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-460@tmp/private_key_1702954454741798154.key (/w/workspace/foundry_device-virtual-go_PR-460@tmp/private_key_1702954454741798154.key) [2024-02-16T11:53:12.683Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-02-16T11:53:13.041Z] + git tag --points-at HEAD [Pipeline] } [2024-02-16T11:53:13.073Z] $ docker exec --env ******** --env ******** 42214c77799cbc3d45587cbeeac2c215641c18d2d476d58cae31969348539ac2 ssh-agent -k [2024-02-16T11:53:13.172Z] unset SSH_AUTH_SOCK; [2024-02-16T11:53:13.173Z] unset SSH_AGENT_PID; [2024-02-16T11:53:13.173Z] echo Agent pid 38 killed; [2024-02-16T11:53:13.181Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-02-16T11:53:13.330Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-02-16T11:53:13.330Z] [ssh-agent] Looking for ssh-agent implementation... [2024-02-16T11:53:13.447Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-02-16T11:53:13.453Z] $ docker exec 42214c77799cbc3d45587cbeeac2c215641c18d2d476d58cae31969348539ac2 ssh-agent [2024-02-16T11:53:13.556Z] SSH_AUTH_SOCK=/tmp/ssh-BEnzgj0tT9sY/agent.70 [2024-02-16T11:53:13.556Z] SSH_AGENT_PID=76 [2024-02-16T11:53:13.561Z] Running ssh-add (command line suppressed) [2024-02-16T11:53:13.669Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-460@tmp/private_key_18371963625085354034.key (/w/workspace/foundry_device-virtual-go_PR-460@tmp/private_key_18371963625085354034.key) [2024-02-16T11:53:13.680Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-02-16T11:53:14.040Z] + git semver init [2024-02-16T11:53:14.302Z] 2024-02-16 11:53:14,241 [run_init] DEBUG init version:0.0.0 force:False [2024-02-16T11:53:14.302Z] 2024-02-16 11:53:14,242 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-460/.semver [2024-02-16T11:53:14.302Z] 2024-02-16 11:53:14,243 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-460/.semver [2024-02-16T11:53:14.302Z] 2024-02-16 11:53:14,243 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-460/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-460, universal_newlines=False, shell=None, istream=None) [2024-02-16T11:53:15.687Z] 2024-02-16 11:53:15,595 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-460/.git/info/exclude [2024-02-16T11:53:15.687Z] 2024-02-16 11:53:15,596 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-460/.semver/PR-460 with force:False [2024-02-16T11:53:15.687Z] 2024-02-16 11:53:15,596 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-460/.semver/PR-460 [2024-02-16T11:53:15.687Z] 2024-02-16 11:53:15,601 [execute] INFO git cat-file --batch-check [2024-02-16T11:53:15.687Z] 2024-02-16 11:53:15,601 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-460/.semver, universal_newlines=False, shell=None, istream=) [2024-02-16T11:53:15.687Z] 2024-02-16 11:53:15,609 [execute] INFO git cat-file --batch [2024-02-16T11:53:15.687Z] 2024-02-16 11:53:15,610 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-460/.semver, universal_newlines=False, shell=None, istream=) [2024-02-16T11:53:15.687Z] 2024-02-16 11:53:15,616 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-460/.semver/PR-460 [2024-02-16T11:53:15.687Z] 0.0.0 [Pipeline] } [2024-02-16T11:53:15.714Z] $ docker exec --env ******** --env ******** 42214c77799cbc3d45587cbeeac2c215641c18d2d476d58cae31969348539ac2 ssh-agent -k [2024-02-16T11:53:15.814Z] unset SSH_AUTH_SOCK; [2024-02-16T11:53:15.815Z] unset SSH_AGENT_PID; [2024-02-16T11:53:15.815Z] echo Agent pid 76 killed; [2024-02-16T11:53:15.822Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-02-16T11:53:16.360Z] + git semver [Pipeline] } [2024-02-16T11:53:16.649Z] $ docker stop --time=1 42214c77799cbc3d45587cbeeac2c215641c18d2d476d58cae31969348539ac2 [2024-02-16T11:53:17.948Z] $ docker rm -f --volumes 42214c77799cbc3d45587cbeeac2c215641c18d2d476d58cae31969348539ac2 [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-16T11:53:18.402Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-02-16T11:53:18.735Z] Stashed 1 file(s) [Pipeline] echo [2024-02-16T11:53:18.751Z] [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-02-16T11:53:19.644Z] provisioning config files... [2024-02-16T11:53:19.656Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-460@tmp/config4793513202591705989tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-16T11:53:20.046Z] ---> ****-login.sh [2024-02-16T11:53:20.046Z] nexus3.edgexfoundry.org:10001 [2024-02-16T11:53:20.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T11:53:20.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T11:53:20.046Z] Configure a credential helper to remove this warning. See [2024-02-16T11:53:20.046Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T11:53:20.046Z] [2024-02-16T11:53:20.046Z] Login Succeeded [2024-02-16T11:53:20.046Z] nexus3.edgexfoundry.org:10002 [2024-02-16T11:53:20.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T11:53:20.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T11:53:20.307Z] Configure a credential helper to remove this warning. See [2024-02-16T11:53:20.307Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T11:53:20.307Z] [2024-02-16T11:53:20.307Z] Login Succeeded [2024-02-16T11:53:20.307Z] nexus3.edgexfoundry.org:10003 [2024-02-16T11:53:20.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T11:53:20.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T11:53:20.307Z] Configure a credential helper to remove this warning. See [2024-02-16T11:53:20.307Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T11:53:20.307Z] [2024-02-16T11:53:20.307Z] Login Succeeded [2024-02-16T11:53:20.307Z] nexus3.edgexfoundry.org:10004 [2024-02-16T11:53:20.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T11:53:20.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T11:53:20.307Z] Configure a credential helper to remove this warning. See [2024-02-16T11:53:20.307Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T11:53:20.307Z] [2024-02-16T11:53:20.307Z] Login Succeeded [2024-02-16T11:53:20.307Z] ****.io [2024-02-16T11:53:20.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T11:53:20.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T11:53:20.828Z] Configure a credential helper to remove this warning. See [2024-02-16T11:53:20.828Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T11:53:20.828Z] [2024-02-16T11:53:20.828Z] Login Succeeded [2024-02-16T11:53:20.828Z] ---> ****-login.sh ends [Pipeline] } [2024-02-16T11:53:20.856Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-02-16T11:53:21.178Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-16T11:53:21.237Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-16T11:53:21.297Z] ========================================================= [2024-02-16T11:53:21.297Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-02-16T11:53:21.297Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T11:53:21.908Z] + 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-02-16T11:53:21.908Z] Sending build context to Docker daemon 31.61MB [2024-02-16T11:53:21.908Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-02-16T11:53:21.908Z] Step 2/12 : FROM ${BASE} AS builder [2024-02-16T11:53:22.476Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-02-16T11:53:22.477Z] 7264a8db6415: Pulling fs layer [2024-02-16T11:53:22.477Z] c4d48a809fc2: Pulling fs layer [2024-02-16T11:53:22.477Z] 4f1c88b9dad5: Pulling fs layer [2024-02-16T11:53:22.477Z] ad3a456e5733: Pulling fs layer [2024-02-16T11:53:22.477Z] 69c7f0334f64: Pulling fs layer [2024-02-16T11:53:22.477Z] 1f1c1a5573a3: Pulling fs layer [2024-02-16T11:53:22.477Z] ce7588e14bc9: Pulling fs layer [2024-02-16T11:53:22.477Z] b5e4710f87ac: Pulling fs layer [2024-02-16T11:53:22.477Z] ad3a456e5733: Waiting [2024-02-16T11:53:22.477Z] 69c7f0334f64: Waiting [2024-02-16T11:53:22.477Z] 1f1c1a5573a3: Waiting [2024-02-16T11:53:22.477Z] ce7588e14bc9: Waiting [2024-02-16T11:53:22.477Z] b5e4710f87ac: Waiting [2024-02-16T11:53:22.477Z] c4d48a809fc2: Download complete [2024-02-16T11:53:22.477Z] ad3a456e5733: Verifying Checksum [2024-02-16T11:53:22.477Z] ad3a456e5733: Download complete [2024-02-16T11:53:22.477Z] 69c7f0334f64: Download complete [2024-02-16T11:53:22.477Z] 7264a8db6415: Verifying Checksum [2024-02-16T11:53:22.477Z] 7264a8db6415: Download complete [2024-02-16T11:53:22.477Z] 1f1c1a5573a3: Verifying Checksum [2024-02-16T11:53:22.477Z] 1f1c1a5573a3: Download complete [2024-02-16T11:53:22.477Z] 7264a8db6415: Pull complete [2024-02-16T11:53:22.735Z] c4d48a809fc2: Pull complete [2024-02-16T11:53:22.735Z] b5e4710f87ac: Verifying Checksum [2024-02-16T11:53:22.735Z] b5e4710f87ac: Download complete [2024-02-16T11:53:22.735Z] 4f1c88b9dad5: Verifying Checksum [2024-02-16T11:53:22.735Z] 4f1c88b9dad5: Download complete [2024-02-16T11:53:23.302Z] ce7588e14bc9: Verifying Checksum [2024-02-16T11:53:23.302Z] ce7588e14bc9: Download complete [2024-02-16T11:53:26.594Z] 4f1c88b9dad5: Pull complete [2024-02-16T11:53:26.594Z] ad3a456e5733: Pull complete [2024-02-16T11:53:26.594Z] 69c7f0334f64: Pull complete [2024-02-16T11:53:26.594Z] 1f1c1a5573a3: Pull complete [2024-02-16T11:53:29.126Z] ce7588e14bc9: Pull complete [2024-02-16T11:53:29.385Z] b5e4710f87ac: Pull complete [2024-02-16T11:53:29.385Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-02-16T11:53:29.385Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-02-16T11:53:29.385Z] ---> 88b5674ff536 [2024-02-16T11:53:29.385Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-02-16T11:53:34.380Z] Still waiting to schedule task [2024-02-16T11:53:34.380Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-02-16T11:53:34.800Z] ---> Running in 092e7e9dbc3b [2024-02-16T11:53:35.061Z] Removing intermediate container 092e7e9dbc3b [2024-02-16T11:53:35.061Z] ---> 7422caef133e [2024-02-16T11:53:35.061Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-02-16T11:53:35.061Z] ---> Running in 0e394c3e7760 [2024-02-16T11:53:35.061Z] Removing intermediate container 0e394c3e7760 [2024-02-16T11:53:35.061Z] ---> 7ef26a6ddf85 [2024-02-16T11:53:35.061Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-02-16T11:53:35.061Z] ---> Running in 803aaecd43ce [2024-02-16T11:53:35.061Z] Removing intermediate container 803aaecd43ce [2024-02-16T11:53:35.061Z] ---> a804562ad3e2 [2024-02-16T11:53:35.061Z] Step 6/12 : WORKDIR /device-virtual-go [2024-02-16T11:53:35.322Z] ---> Running in 1d1dfd90c34f [2024-02-16T11:53:35.322Z] Removing intermediate container 1d1dfd90c34f [2024-02-16T11:53:35.322Z] ---> 17e4f1ecefff [2024-02-16T11:53:35.322Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-02-16T11:53:35.322Z] ---> Running in be01a4844d26 [2024-02-16T11:53:35.583Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-16T11:53:35.844Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-16T11:53:36.103Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-02-16T11:53:36.103Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-02-16T11:53:36.103Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-02-16T11:53:36.103Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-02-16T11:53:36.103Z] Executing busybox-1.36.1-r5.trigger [2024-02-16T11:53:36.103Z] OK: 268 MiB in 56 packages [2024-02-16T11:53:36.671Z] Removing intermediate container be01a4844d26 [2024-02-16T11:53:36.671Z] ---> 33c52f6f2710 [2024-02-16T11:53:36.671Z] Step 8/12 : COPY go.mod vendor* ./ [2024-02-16T11:53:36.671Z] ---> 28d4127532d2 [2024-02-16T11:53:36.671Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-16T11:53:36.671Z] ---> Running in 9e5160fbcaee [2024-02-16T11:54:08.797Z] Removing intermediate container 9e5160fbcaee [2024-02-16T11:54:08.797Z] ---> 689a5d229a74 [2024-02-16T11:54:08.797Z] Step 10/12 : COPY . . [2024-02-16T11:54:08.797Z] ---> 39404ec2dcdb [2024-02-16T11:54:08.797Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-02-16T11:54:08.797Z] ---> Running in efdc64d4fd61 [2024-02-16T11:54:08.797Z] Removing intermediate container efdc64d4fd61 [2024-02-16T11:54:08.797Z] ---> d847342d6145 [2024-02-16T11:54:08.797Z] Step 12/12 : RUN $MAKE [2024-02-16T11:54:08.797Z] ---> Running in b3b91fd61296 [2024-02-16T11:54:08.797Z] noop [2024-02-16T11:54:08.797Z] Removing intermediate container b3b91fd61296 [2024-02-16T11:54:08.797Z] ---> 092405442ae7 [2024-02-16T11:54:08.797Z] Successfully built 092405442ae7 [2024-02-16T11:54:08.797Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T11:54:09.343Z] + docker inspect -f . ci-base-image-x86_64 [2024-02-16T11:54:09.343Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-16T11:54:09.559Z] prd-ubuntu20.04-docker-8c-8g-1060 does not seem to be running inside a container [2024-02-16T11:54:09.602Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-460 -v /w/workspace/foundry_device-virtual-go_PR-460:/w/workspace/foundry_device-virtual-go_PR-460:rw,z -v /w/workspace/foundry_device-virtual-go_PR-460@tmp:/w/workspace/foundry_device-virtual-go_PR-460@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-02-16T11:54:09.970Z] $ docker top 6ee52c07760818b74be53fd27105249f2d8824a94402ff7522e7b7625404b153 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-16T11:54:10.416Z] + go version [2024-02-16T11:54:10.416Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-02-16T11:54:10.449Z] $ docker stop --time=1 6ee52c07760818b74be53fd27105249f2d8824a94402ff7522e7b7625404b153 [2024-02-16T11:54:11.729Z] $ docker rm -f --volumes 6ee52c07760818b74be53fd27105249f2d8824a94402ff7522e7b7625404b153 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T11:54:12.711Z] + docker inspect -f . ci-base-image-x86_64 [2024-02-16T11:54:12.711Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-16T11:54:12.923Z] prd-ubuntu20.04-docker-8c-8g-1060 does not seem to be running inside a container [2024-02-16T11:54:12.958Z] $ 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-460 -v /w/workspace/foundry_device-virtual-go_PR-460:/w/workspace/foundry_device-virtual-go_PR-460:rw,z -v /w/workspace/foundry_device-virtual-go_PR-460@tmp:/w/workspace/foundry_device-virtual-go_PR-460@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-02-16T11:54:13.295Z] $ docker top c93aa018e94b12ac5b446643e913350bdfcb991c45b6a8aea5c742ee39ccae0a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-16T11:54:13.747Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-460 [Pipeline] fileExists [Pipeline] sh [2024-02-16T11:54:14.141Z] + make test [2024-02-16T11:54:14.141Z] go test ./... -coverprofile=coverage.out [2024-02-16T11:54:15.519Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-02-16T11:54:27.872Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-02-16T11:54:27.872Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.017s coverage: 58.6% of statements [2024-02-16T11:54:33.143Z] go vet ./... [2024-02-16T11:54:37.329Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-02-16T11:54:37.329Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-02-16T11:54:37.329Z] ./bin/test-attribution-txt.sh [2024-02-16T11:54:37.329Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-02-16T11:54:37.371Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-02-16T11:54:37.436Z] $ docker stop --time=1 c93aa018e94b12ac5b446643e913350bdfcb991c45b6a8aea5c742ee39ccae0a [2024-02-16T11:54:40.871Z] $ docker rm -f --volumes c93aa018e94b12ac5b446643e913350bdfcb991c45b6a8aea5c742ee39ccae0a [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-16T11:54:41.459Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-02-16T11:54:41.530Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-02-16T11:54:42.396Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-02-16T11:54:42.716Z] + ls -al . [2024-02-16T11:54:42.716Z] total 200 [2024-02-16T11:54:42.716Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 11:54 . [2024-02-16T11:54:42.717Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 11:52 .. [2024-02-16T11:54:42.717Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 11:54 .git [2024-02-16T11:54:42.717Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 11:52 .github [2024-02-16T11:54:42.717Z] -rw-rw-r-- 1 jenkins jenkins 272 Feb 16 11:52 .gitignore [2024-02-16T11:54:42.717Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 16 11:52 .golangci.yml [2024-02-16T11:54:42.717Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 16 11:53 .semver [2024-02-16T11:54:42.717Z] -rw-rw-r-- 1 jenkins jenkins 9708 Feb 16 11:52 Attribution.txt [2024-02-16T11:54:42.717Z] -rw-rw-r-- 1 jenkins jenkins 15941 Feb 16 11:52 CHANGELOG.md [2024-02-16T11:54:42.717Z] -rw-rw-r-- 1 jenkins jenkins 1755 Feb 16 11:52 Dockerfile [2024-02-16T11:54:42.717Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 16 11:52 GOVERNANCE.md [2024-02-16T11:54:42.717Z] -rw-rw-r-- 1 jenkins jenkins 660 Feb 16 11:52 Jenkinsfile [2024-02-16T11:54:42.717Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 16 11:52 LICENSE [2024-02-16T11:54:42.717Z] -rw-rw-r-- 1 jenkins jenkins 1953 Feb 16 11:52 Makefile [2024-02-16T11:54:42.717Z] -rw-rw-r-- 1 jenkins jenkins 623 Feb 16 11:52 OWNERS.md [2024-02-16T11:54:42.717Z] -rw-rw-r-- 1 jenkins jenkins 4103 Feb 16 11:52 README.md [2024-02-16T11:54:42.717Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 16 11:53 VERSION [2024-02-16T11:54:42.717Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 11:52 bin [2024-02-16T11:54:42.717Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 11:52 cmd [2024-02-16T11:54:42.717Z] -rw-r--r-- 1 jenkins jenkins 43063 Feb 16 11:54 coverage.out [2024-02-16T11:54:42.717Z] -rw-rw-r-- 1 jenkins jenkins 3682 Feb 16 11:52 go.mod [2024-02-16T11:54:42.717Z] -rw-rw-r-- 1 jenkins jenkins 33730 Feb 16 11:52 go.sum [2024-02-16T11:54:42.717Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 11:52 internal [2024-02-16T11:54:42.717Z] -rw-rw-r-- 1 jenkins jenkins 235 Feb 16 11:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T11:54:43.164Z] + 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=40e7de3384c8158fcfa99fa7e25ce6e91ea3f34a --label arch=amd64 --label version=0.0.0 . [2024-02-16T11:54:43.164Z] Sending build context to Docker daemon 31.65MB [2024-02-16T11:54:43.164Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-02-16T11:54:43.164Z] Step 2/26 : FROM ${BASE} AS builder [2024-02-16T11:54:43.164Z] ---> 092405442ae7 [2024-02-16T11:54:43.164Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-02-16T11:54:43.731Z] ---> Running in 1bf9c12874ac [2024-02-16T11:54:43.731Z] Removing intermediate container 1bf9c12874ac [2024-02-16T11:54:43.731Z] ---> 0d159f78a512 [2024-02-16T11:54:43.731Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-02-16T11:54:43.731Z] ---> Running in 1989ffe8d72f [2024-02-16T11:54:43.731Z] Removing intermediate container 1989ffe8d72f [2024-02-16T11:54:43.731Z] ---> a6a6d7a77806 [2024-02-16T11:54:43.731Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-02-16T11:54:43.731Z] ---> Running in db5b1ddecc7e [2024-02-16T11:54:43.990Z] Removing intermediate container db5b1ddecc7e [2024-02-16T11:54:43.990Z] ---> b7a4e3cc03c3 [2024-02-16T11:54:43.990Z] Step 6/26 : WORKDIR /device-virtual-go [2024-02-16T11:54:43.990Z] ---> Running in 8ed7391e230b [2024-02-16T11:54:43.990Z] Removing intermediate container 8ed7391e230b [2024-02-16T11:54:43.990Z] ---> ce0b27d25d3c [2024-02-16T11:54:43.990Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-02-16T11:54:43.990Z] ---> Running in 693fc2ad2ed2 [2024-02-16T11:54:44.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-16T11:54:44.512Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-16T11:54:44.772Z] OK: 268 MiB in 56 packages [2024-02-16T11:54:45.031Z] Removing intermediate container 693fc2ad2ed2 [2024-02-16T11:54:45.031Z] ---> 2cd5d7934e6d [2024-02-16T11:54:45.031Z] Step 8/26 : COPY go.mod vendor* ./ [2024-02-16T11:54:45.031Z] ---> 2f8eae87d557 [2024-02-16T11:54:45.031Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-16T11:54:45.031Z] ---> Running in 866ac3e0af3b [2024-02-16T11:54:45.598Z] Removing intermediate container 866ac3e0af3b [2024-02-16T11:54:45.598Z] ---> b465a6fcdf8f [2024-02-16T11:54:45.598Z] Step 10/26 : COPY . . [2024-02-16T11:54:46.972Z] ---> 75acf7c20003 [2024-02-16T11:54:46.972Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-02-16T11:54:46.972Z] ---> Running in 76f26f633e05 [2024-02-16T11:54:46.972Z] Removing intermediate container 76f26f633e05 [2024-02-16T11:54:46.972Z] ---> 8732c7a038a2 [2024-02-16T11:54:46.972Z] Step 12/26 : RUN $MAKE [2024-02-16T11:54:46.972Z] ---> Running in 6a7c5da55154 [2024-02-16T11:54:47.229Z] 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.8" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-02-16T11:55:09.180Z] Removing intermediate container 6a7c5da55154 [2024-02-16T11:55:09.180Z] ---> 3b3d2de2d046 [2024-02-16T11:55:09.180Z] Step 13/26 : FROM alpine:3.18 [2024-02-16T11:55:09.180Z] 3.18: Pulling from library/alpine [2024-02-16T11:55:09.180Z] 619be1103602: Pulling fs layer [2024-02-16T11:55:09.180Z] 619be1103602: Download complete [2024-02-16T11:55:09.180Z] 619be1103602: Pull complete [2024-02-16T11:55:09.180Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-02-16T11:55:09.180Z] Status: Downloaded newer image for alpine:3.18 [2024-02-16T11:55:09.180Z] ---> d3782b16ccc9 [2024-02-16T11:55:09.180Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-02-16T11:55:09.180Z] ---> Running in bf1bcf89462c [2024-02-16T11:55:09.180Z] Removing intermediate container bf1bcf89462c [2024-02-16T11:55:09.180Z] ---> afc86fc23c75 [2024-02-16T11:55:09.180Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-02-16T11:55:09.180Z] ---> Running in 97980ecda9f1 [2024-02-16T11:55:09.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-16T11:55:09.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-16T11:55:09.181Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-02-16T11:55:09.181Z] Executing busybox-1.36.1-r5.trigger [2024-02-16T11:55:09.181Z] OK: 7 MiB in 16 packages [2024-02-16T11:55:09.181Z] Removing intermediate container 97980ecda9f1 [2024-02-16T11:55:09.181Z] ---> 88f35acb5784 [2024-02-16T11:55:09.181Z] Step 16/26 : RUN apk --no-cache upgrade [2024-02-16T11:55:09.181Z] ---> Running in 84984808f9c9 [2024-02-16T11:55:09.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-16T11:55:09.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-16T11:55:09.181Z] OK: 7 MiB in 16 packages [2024-02-16T11:55:09.181Z] Removing intermediate container 84984808f9c9 [2024-02-16T11:55:09.181Z] ---> b24bd5fc7de3 [2024-02-16T11:55:09.181Z] Step 17/26 : WORKDIR / [2024-02-16T11:55:09.181Z] ---> Running in bba1a055c0cf [2024-02-16T11:55:09.441Z] Removing intermediate container bba1a055c0cf [2024-02-16T11:55:09.441Z] ---> 62d3e886d0e8 [2024-02-16T11:55:09.441Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-02-16T11:55:09.441Z] ---> 0691162677e7 [2024-02-16T11:55:09.441Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-02-16T11:55:09.699Z] ---> 2567423d00b1 [2024-02-16T11:55:09.699Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-02-16T11:55:10.267Z] ---> 5321566384a1 [2024-02-16T11:55:10.267Z] Step 21/26 : EXPOSE 59900 [2024-02-16T11:55:10.267Z] ---> Running in 74cde0be7a2e [2024-02-16T11:55:10.267Z] Removing intermediate container 74cde0be7a2e [2024-02-16T11:55:10.267Z] ---> 193c7989ef93 [2024-02-16T11:55:10.267Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-02-16T11:55:10.267Z] ---> Running in 487a4962c059 [2024-02-16T11:55:10.267Z] Removing intermediate container 487a4962c059 [2024-02-16T11:55:10.267Z] ---> b8c1018720c2 [2024-02-16T11:55:10.267Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-02-16T11:55:10.267Z] ---> Running in 751a1b5c270d [2024-02-16T11:55:10.526Z] Removing intermediate container 751a1b5c270d [2024-02-16T11:55:10.526Z] ---> 670f1f321136 [2024-02-16T11:55:10.526Z] Step 24/26 : LABEL arch=amd64 [2024-02-16T11:55:10.526Z] ---> Running in bc1ed70ef41c [2024-02-16T11:55:10.526Z] Removing intermediate container bc1ed70ef41c [2024-02-16T11:55:10.526Z] ---> 7ac125ee4313 [2024-02-16T11:55:10.526Z] Step 25/26 : LABEL git_sha=40e7de3384c8158fcfa99fa7e25ce6e91ea3f34a [2024-02-16T11:55:10.526Z] ---> Running in cf15705a9ab2 [2024-02-16T11:55:10.526Z] Removing intermediate container cf15705a9ab2 [2024-02-16T11:55:10.526Z] ---> 02a6f138b224 [2024-02-16T11:55:10.526Z] Step 26/26 : LABEL version=0.0.0 [2024-02-16T11:55:10.526Z] ---> Running in e3a1495bf05b [2024-02-16T11:55:10.785Z] Removing intermediate container e3a1495bf05b [2024-02-16T11:55:10.785Z] ---> fd074311d90b [2024-02-16T11:55:10.785Z] [Warning] One or more build-args [ARCH] were not consumed [2024-02-16T11:55:10.785Z] Successfully built fd074311d90b [2024-02-16T11:55:10.785Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T11:55:12.055Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-16T11:55:12.055Z] [2024-02-16T11:55:12.055Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T11:55:12.477Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-16T11:55:12.477Z] latest: Pulling from edgex-lftools-log-publisher [2024-02-16T11:55:12.477Z] 5eb5b503b376: Pulling fs layer [2024-02-16T11:55:12.477Z] 5c69ac0246d0: Pulling fs layer [2024-02-16T11:55:12.477Z] ec43610c2a17: Pulling fs layer [2024-02-16T11:55:12.477Z] 3a2ae6a8a46f: Pulling fs layer [2024-02-16T11:55:12.477Z] 33b1e0a273af: Pulling fs layer [2024-02-16T11:55:12.477Z] 5d3b04190fa2: Pulling fs layer [2024-02-16T11:55:12.477Z] 2f39f015ded8: Pulling fs layer [2024-02-16T11:55:12.477Z] 33b1e0a273af: Waiting [2024-02-16T11:55:12.477Z] 5d3b04190fa2: Waiting [2024-02-16T11:55:12.477Z] 3a2ae6a8a46f: Waiting [2024-02-16T11:55:12.477Z] 2f39f015ded8: Waiting [2024-02-16T11:55:12.477Z] 5c69ac0246d0: Verifying Checksum [2024-02-16T11:55:12.477Z] 5c69ac0246d0: Download complete [2024-02-16T11:55:12.477Z] 3a2ae6a8a46f: Download complete [2024-02-16T11:55:12.736Z] 33b1e0a273af: Verifying Checksum [2024-02-16T11:55:12.736Z] 33b1e0a273af: Download complete [2024-02-16T11:55:12.736Z] 5d3b04190fa2: Verifying Checksum [2024-02-16T11:55:12.736Z] 5d3b04190fa2: Download complete [2024-02-16T11:55:12.736Z] ec43610c2a17: Verifying Checksum [2024-02-16T11:55:12.736Z] ec43610c2a17: Download complete [2024-02-16T11:55:12.736Z] 5eb5b503b376: Verifying Checksum [2024-02-16T11:55:12.736Z] 5eb5b503b376: Download complete [2024-02-16T11:55:13.299Z] 2f39f015ded8: Download complete [2024-02-16T11:55:14.234Z] 5eb5b503b376: Pull complete [2024-02-16T11:55:14.234Z] 5c69ac0246d0: Pull complete [2024-02-16T11:55:14.807Z] ec43610c2a17: Pull complete [2024-02-16T11:55:14.807Z] 3a2ae6a8a46f: Pull complete [2024-02-16T11:55:14.807Z] 33b1e0a273af: Pull complete [2024-02-16T11:55:15.066Z] 5d3b04190fa2: Pull complete [2024-02-16T11:55:17.042Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1061 in /w/workspace/foundry_device-virtual-go_PR-460 [Pipeline] { [Pipeline] ws [2024-02-16T11:55:17.129Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2024-02-16T11:55:19.258Z] 2f39f015ded8: Pull complete [2024-02-16T11:55:19.258Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-02-16T11:55:19.258Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-16T11:55:19.258Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-16T11:55:20.254Z] The recommended git tool is: git [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-16T11:55:20.639Z] prd-ubuntu20.04-docker-8c-8g-1060 does not seem to be running inside a container [2024-02-16T11:55:20.680Z] $ 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-460 -v /w/workspace/foundry_device-virtual-go_PR-460:/w/workspace/foundry_device-virtual-go_PR-460:rw,z -v /w/workspace/foundry_device-virtual-go_PR-460@tmp:/w/workspace/foundry_device-virtual-go_PR-460@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-02-16T11:55:25.392Z] $ docker top 66e1e919bb377acca0aa7d83afecf64ccdded91c9cfac898100aa47fdc1b5a3f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-16T11:55:25.889Z] using credential edgex-jenkins-ssh [2024-02-16T11:55:25.910Z] Cloning the remote Git repository [2024-02-16T11:55:25.920Z] ---> job-cost.sh [2024-02-16T11:55:25.920Z] lf-activate-venv: SKIPPING [2024-02-16T11:55:25.920Z] INFO: No Stack... [2024-02-16T11:55:26.182Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-02-16T11:55:26.442Z] INFO: Archiving Costs [Pipeline] sh [2024-02-16T11:55:25.949Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2024-02-16T11:55:26.036Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2024-02-16T11:55:26.230Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-02-16T11:55:26.231Z] > git --version # timeout=10 [2024-02-16T11:55:26.275Z] > git --version # 'git version 2.25.1' [2024-02-16T11:55:26.279Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-16T11:55:26.460Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-02-16T11:55:26.752Z] + cat /w/workspace/foundry_device-virtual-go_PR-460/archives/cost.csv [2024-02-16T11:55:26.752Z] + cut -d, -f6 [Pipeline] lock [2024-02-16T11:55:26.796Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-460-1-stack-cost] [2024-02-16T11:55:26.801Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-460-1-stack-cost] did not exist. Created. [2024-02-16T11:55:26.806Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-460-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-02-16T11:55:27.269Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-02-16T11:55:27.324Z] Stashed 1 file(s) [Pipeline] } [2024-02-16T11:55:27.386Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-460-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-02-16T11:55:27.523Z] $ docker stop --time=1 66e1e919bb377acca0aa7d83afecf64ccdded91c9cfac898100aa47fdc1b5a3f [2024-02-16T11:55:28.673Z] $ docker rm -f --volumes 66e1e919bb377acca0aa7d83afecf64ccdded91c9cfac898100aa47fdc1b5a3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-02-16T11:55:29.737Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-02-16T11:55:29.780Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-02-16T11:55:31.538Z] Merging remotes/origin/main commit 65497920df671d88c31f0789bb704d43110c7187 into PR head commit 40e7de3384c8158fcfa99fa7e25ce6e91ea3f34a [2024-02-16T11:55:32.014Z] Merge succeeded, producing 40e7de3384c8158fcfa99fa7e25ce6e91ea3f34a [2024-02-16T11:55:32.015Z] Checking out Revision 40e7de3384c8158fcfa99fa7e25ce6e91ea3f34a (PR-460) [2024-02-16T11:55:30.962Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-02-16T11:55:31.022Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-02-16T11:55:31.023Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-16T11:55:31.046Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/460/head:refs/remotes/origin/PR-460 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-02-16T11:55:31.578Z] > git config core.sparsecheckout # timeout=10 [2024-02-16T11:55:31.698Z] > git checkout -f 40e7de3384c8158fcfa99fa7e25ce6e91ea3f34a # timeout=10 [2024-02-16T11:55:31.792Z] > git remote # timeout=10 [2024-02-16T11:55:31.848Z] > git config --get remote.origin.url # timeout=10 [2024-02-16T11:55:31.886Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-16T11:55:31.910Z] > git merge 65497920df671d88c31f0789bb704d43110c7187 # timeout=10 [2024-02-16T11:55:31.945Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-02-16T11:55:32.029Z] > git config core.sparsecheckout # timeout=10 [2024-02-16T11:55:32.808Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-02-16T11:55:32.880Z] > git --version # timeout=10 [2024-02-16T11:55:32.916Z] > git --version # 'git version 2.25.1' [2024-02-16T11:55:32.944Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2024-02-16T11:55:32.078Z] > git checkout -f 40e7de3384c8158fcfa99fa7e25ce6e91ea3f34a # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-16T11:55:34.369Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-02-16T11:55:34.369Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-02-16T11:55:34.369Z] Dload Upload Total Spent Left Speed [2024-02-16T11:55:34.643Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 53673 0 --:--:-- --:--:-- --:--:-- 53673 [Pipeline] sh [2024-02-16T11:55:35.024Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-02-16T11:55:35.418Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-02-16T11:55:35.418Z] + sudo tee /etc/docker/daemon.new [2024-02-16T11:55:35.418Z] { [2024-02-16T11:55:35.418Z] "registry-mirrors": [ [2024-02-16T11:55:35.418Z] "https://nexus3.edgexfoundry.org:10001" [2024-02-16T11:55:35.418Z] ], [2024-02-16T11:55:35.418Z] "bip": "10.250.0.254/24", [2024-02-16T11:55:35.418Z] "hosts": [ [2024-02-16T11:55:35.418Z] "tcp://0.0.0.0:5555", [2024-02-16T11:55:35.418Z] "unix:///var/run/docker.sock" [2024-02-16T11:55:35.418Z] ], [2024-02-16T11:55:35.418Z] "mtu": 1458, [2024-02-16T11:55:35.418Z] "selinux-enabled": true, [2024-02-16T11:55:35.418Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-02-16T11:55:35.418Z] } [Pipeline] sh [2024-02-16T11:55:35.774Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-02-16T11:55:36.150Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-16T11:55:54.562Z] provisioning config files... [2024-02-16T11:55:54.603Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config17699571010344663983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-16T11:55:55.109Z] ---> ****-login.sh [2024-02-16T11:55:55.109Z] nexus3.edgexfoundry.org:10001 [2024-02-16T11:55:55.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T11:55:55.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T11:55:55.653Z] Configure a credential helper to remove this warning. See [2024-02-16T11:55:55.653Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T11:55:55.653Z] [2024-02-16T11:55:55.653Z] Login Succeeded [2024-02-16T11:55:55.653Z] nexus3.edgexfoundry.org:10002 [2024-02-16T11:55:55.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T11:55:55.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T11:55:55.922Z] Configure a credential helper to remove this warning. See [2024-02-16T11:55:55.922Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T11:55:55.922Z] [2024-02-16T11:55:55.922Z] Login Succeeded [2024-02-16T11:55:56.192Z] nexus3.edgexfoundry.org:10003 [2024-02-16T11:55:56.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T11:55:56.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T11:55:56.463Z] Configure a credential helper to remove this warning. See [2024-02-16T11:55:56.463Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T11:55:56.463Z] [2024-02-16T11:55:56.463Z] Login Succeeded [2024-02-16T11:55:56.463Z] nexus3.edgexfoundry.org:10004 [2024-02-16T11:55:56.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T11:55:56.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T11:55:56.738Z] Configure a credential helper to remove this warning. See [2024-02-16T11:55:56.738Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T11:55:56.738Z] [2024-02-16T11:55:56.738Z] Login Succeeded [2024-02-16T11:55:56.738Z] ****.io [2024-02-16T11:55:57.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-16T11:55:57.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-16T11:55:57.279Z] Configure a credential helper to remove this warning. See [2024-02-16T11:55:57.279Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-16T11:55:57.279Z] [2024-02-16T11:55:57.279Z] Login Succeeded [2024-02-16T11:55:57.279Z] ---> ****-login.sh ends [Pipeline] } [2024-02-16T11:55:57.311Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-02-16T11:55:57.847Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-16T11:55:57.921Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-16T11:55:57.991Z] ========================================================= [2024-02-16T11:55:57.991Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-02-16T11:55:57.991Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T11:55:58.642Z] + 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-02-16T11:55:59.232Z] Sending build context to Docker daemon 15.94MB [2024-02-16T11:55:59.232Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-02-16T11:55:59.232Z] Step 2/12 : FROM ${BASE} AS builder [2024-02-16T11:55:59.507Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-02-16T11:55:59.507Z] 9fda8d8052c6: Pulling fs layer [2024-02-16T11:55:59.507Z] 5d54e960e981: Pulling fs layer [2024-02-16T11:55:59.507Z] c4a7e357bf2a: Pulling fs layer [2024-02-16T11:55:59.507Z] f0e02332f6b5: Pulling fs layer [2024-02-16T11:55:59.507Z] 872ee5b61b7b: Pulling fs layer [2024-02-16T11:55:59.507Z] 0c6a40ed1a82: Pulling fs layer [2024-02-16T11:55:59.507Z] 94ae7d8d031c: Pulling fs layer [2024-02-16T11:55:59.507Z] 872ee5b61b7b: Waiting [2024-02-16T11:55:59.507Z] f0e02332f6b5: Waiting [2024-02-16T11:55:59.507Z] 0c6a40ed1a82: Waiting [2024-02-16T11:55:59.507Z] 94ae7d8d031c: Waiting [2024-02-16T11:55:59.507Z] 5d54e960e981: Verifying Checksum [2024-02-16T11:55:59.507Z] 5d54e960e981: Download complete [2024-02-16T11:55:59.507Z] f0e02332f6b5: Verifying Checksum [2024-02-16T11:55:59.507Z] f0e02332f6b5: Download complete [2024-02-16T11:55:59.507Z] 872ee5b61b7b: Verifying Checksum [2024-02-16T11:55:59.507Z] 872ee5b61b7b: Download complete [2024-02-16T11:55:59.507Z] 9fda8d8052c6: Verifying Checksum [2024-02-16T11:55:59.508Z] 9fda8d8052c6: Download complete [2024-02-16T11:55:59.779Z] 94ae7d8d031c: Verifying Checksum [2024-02-16T11:55:59.779Z] 94ae7d8d031c: Download complete [2024-02-16T11:56:00.371Z] 9fda8d8052c6: Pull complete [2024-02-16T11:56:00.959Z] 5d54e960e981: Pull complete [2024-02-16T11:56:01.229Z] c4a7e357bf2a: Verifying Checksum [2024-02-16T11:56:01.229Z] c4a7e357bf2a: Download complete [2024-02-16T11:56:02.650Z] 0c6a40ed1a82: Verifying Checksum [2024-02-16T11:56:02.650Z] 0c6a40ed1a82: Download complete [2024-02-16T11:56:14.970Z] c4a7e357bf2a: Pull complete [2024-02-16T11:56:14.970Z] f0e02332f6b5: Pull complete [2024-02-16T11:56:14.970Z] 872ee5b61b7b: Pull complete [2024-02-16T11:56:23.184Z] 0c6a40ed1a82: Pull complete [2024-02-16T11:56:27.441Z] 94ae7d8d031c: Pull complete [2024-02-16T11:56:27.441Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-02-16T11:56:27.441Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-02-16T11:56:27.441Z] ---> 86de565de09d [2024-02-16T11:56:27.441Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-02-16T11:56:28.852Z] ---> Running in 55e2de91638c [2024-02-16T11:56:29.118Z] Removing intermediate container 55e2de91638c [2024-02-16T11:56:29.118Z] ---> 8de9022efd11 [2024-02-16T11:56:29.118Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-02-16T11:56:29.393Z] ---> Running in 117b63210f70 [2024-02-16T11:56:29.661Z] Removing intermediate container 117b63210f70 [2024-02-16T11:56:29.661Z] ---> 2e88f857fe1b [2024-02-16T11:56:29.661Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-02-16T11:56:29.661Z] ---> Running in 3897ae59917d [2024-02-16T11:56:29.928Z] Removing intermediate container 3897ae59917d [2024-02-16T11:56:29.928Z] ---> 5a998b7d1cb8 [2024-02-16T11:56:29.928Z] Step 6/12 : WORKDIR /device-virtual-go [2024-02-16T11:56:29.928Z] ---> Running in 88b3e0c8e0d9 [2024-02-16T11:56:30.199Z] Removing intermediate container 88b3e0c8e0d9 [2024-02-16T11:56:30.199Z] ---> 5276048be2e2 [2024-02-16T11:56:30.199Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-02-16T11:56:30.470Z] ---> Running in e563f16e42ef [2024-02-16T11:56:31.428Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-16T11:56:31.693Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-16T11:56:32.654Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-02-16T11:56:32.654Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-02-16T11:56:32.654Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-02-16T11:56:32.924Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-02-16T11:56:32.924Z] Executing busybox-1.36.1-r5.trigger [2024-02-16T11:56:32.924Z] OK: 271 MiB in 56 packages [2024-02-16T11:56:33.899Z] Removing intermediate container e563f16e42ef [2024-02-16T11:56:33.899Z] ---> 836a1da8adfc [2024-02-16T11:56:33.899Z] Step 8/12 : COPY go.mod vendor* ./ [2024-02-16T11:56:34.490Z] ---> 1eb782435f81 [2024-02-16T11:56:34.490Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-16T11:56:34.490Z] ---> Running in c100fadff50e [2024-02-16T11:57:42.490Z] Removing intermediate container c100fadff50e [2024-02-16T11:57:42.490Z] ---> 56d8f1097bc7 [2024-02-16T11:57:42.490Z] Step 10/12 : COPY . . [2024-02-16T11:57:42.490Z] ---> 903df58cb048 [2024-02-16T11:57:42.490Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-02-16T11:57:42.490Z] ---> Running in 740bbb1dcac5 [2024-02-16T11:57:42.490Z] Removing intermediate container 740bbb1dcac5 [2024-02-16T11:57:42.490Z] ---> 500af9749a5b [2024-02-16T11:57:42.490Z] Step 12/12 : RUN $MAKE [2024-02-16T11:57:42.490Z] ---> Running in 914dfe0588d2 [2024-02-16T11:57:42.490Z] noop [2024-02-16T11:57:42.490Z] Removing intermediate container 914dfe0588d2 [2024-02-16T11:57:42.490Z] ---> c3562d1697a8 [2024-02-16T11:57:42.490Z] Successfully built c3562d1697a8 [2024-02-16T11:57:42.490Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T11:57:43.095Z] + docker inspect -f . ci-base-image-arm64 [2024-02-16T11:57:43.095Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-16T11:57:43.449Z] prd-ubuntu20.04-docker-arm64-4c-16g-1061 does not seem to be running inside a container [2024-02-16T11:57:43.510Z] $ 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-02-16T11:57:44.738Z] $ docker top 18e8831cf658d815c3663120cd6e6ad68a71d287ef2dd232b12cce7b95266c96 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-16T11:57:45.696Z] + go version [2024-02-16T11:57:45.696Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-02-16T11:57:45.729Z] $ docker stop --time=1 18e8831cf658d815c3663120cd6e6ad68a71d287ef2dd232b12cce7b95266c96 [2024-02-16T11:57:47.359Z] $ docker rm -f --volumes 18e8831cf658d815c3663120cd6e6ad68a71d287ef2dd232b12cce7b95266c96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T11:57:48.561Z] + docker inspect -f . ci-base-image-arm64 [2024-02-16T11:57:48.561Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-16T11:57:48.889Z] prd-ubuntu20.04-docker-arm64-4c-16g-1061 does not seem to be running inside a container [2024-02-16T11:57:48.956Z] $ 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-02-16T11:57:53.290Z] $ docker top c956c269b70c30da58fe57b8dd6227f57a45216c221df9bdf309bb78331c1ff0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-16T11:57:54.254Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2024-02-16T11:57:54.993Z] + make test [2024-02-16T11:57:54.993Z] go test ./... -coverprofile=coverage.out [2024-02-16T11:57:58.331Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-02-16T11:59:34.987Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-02-16T11:59:34.987Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.068s coverage: 58.4% of statements [2024-02-16T11:59:34.987Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-02-16T11:59:34.987Z] go vet ./... [2024-02-16T11:59:43.190Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-02-16T11:59:43.190Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-02-16T11:59:43.190Z] ./bin/test-attribution-txt.sh [2024-02-16T11:59:43.190Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-02-16T11:59:43.229Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-02-16T11:59:43.303Z] $ docker stop --time=1 c956c269b70c30da58fe57b8dd6227f57a45216c221df9bdf309bb78331c1ff0 [2024-02-16T11:59:45.087Z] $ docker rm -f --volumes c956c269b70c30da58fe57b8dd6227f57a45216c221df9bdf309bb78331c1ff0 [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-16T11:59:46.320Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-02-16T11:59:46.365Z] Warning: overwriting stash ‘coverage-report’ [2024-02-16T11:59:46.773Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-16T11:59:47.596Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-02-16T11:59:47.931Z] + ls -al . [2024-02-16T11:59:47.931Z] total 196 [2024-02-16T11:59:47.932Z] drwxrwxr-x 7 jenkins jenkins 4096 Feb 16 11:57 . [2024-02-16T11:59:47.932Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 11:55 .. [2024-02-16T11:59:47.932Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 11:55 .git [2024-02-16T11:59:47.932Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 11:55 .github [2024-02-16T11:59:47.932Z] -rw-rw-r-- 1 jenkins jenkins 272 Feb 16 11:55 .gitignore [2024-02-16T11:59:47.932Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 16 11:55 .golangci.yml [2024-02-16T11:59:47.932Z] -rw-rw-r-- 1 jenkins jenkins 9708 Feb 16 11:55 Attribution.txt [2024-02-16T11:59:47.932Z] -rw-rw-r-- 1 jenkins jenkins 15941 Feb 16 11:55 CHANGELOG.md [2024-02-16T11:59:47.932Z] -rw-rw-r-- 1 jenkins jenkins 1755 Feb 16 11:55 Dockerfile [2024-02-16T11:59:47.932Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 16 11:55 GOVERNANCE.md [2024-02-16T11:59:47.932Z] -rw-rw-r-- 1 jenkins jenkins 660 Feb 16 11:55 Jenkinsfile [2024-02-16T11:59:47.932Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 16 11:55 LICENSE [2024-02-16T11:59:47.932Z] -rw-rw-r-- 1 jenkins jenkins 1953 Feb 16 11:55 Makefile [2024-02-16T11:59:47.932Z] -rw-rw-r-- 1 jenkins jenkins 623 Feb 16 11:55 OWNERS.md [2024-02-16T11:59:47.932Z] -rw-rw-r-- 1 jenkins jenkins 4103 Feb 16 11:55 README.md [2024-02-16T11:59:47.932Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 16 11:53 VERSION [2024-02-16T11:59:47.932Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 11:55 bin [2024-02-16T11:59:47.932Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 11:55 cmd [2024-02-16T11:59:47.932Z] -rw-r--r-- 1 jenkins jenkins 43063 Feb 16 11:59 coverage.out [2024-02-16T11:59:47.932Z] -rw-rw-r-- 1 jenkins jenkins 3682 Feb 16 11:55 go.mod [2024-02-16T11:59:47.932Z] -rw-rw-r-- 1 jenkins jenkins 33730 Feb 16 11:55 go.sum [2024-02-16T11:59:47.932Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 11:55 internal [2024-02-16T11:59:47.932Z] -rw-rw-r-- 1 jenkins jenkins 235 Feb 16 11:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T11:59:48.435Z] + 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=40e7de3384c8158fcfa99fa7e25ce6e91ea3f34a --label arch=arm64 --label version=0.0.0 . [2024-02-16T11:59:51.131Z] Sending build context to Docker daemon 15.99MB [2024-02-16T11:59:51.131Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-02-16T11:59:51.131Z] Step 2/26 : FROM ${BASE} AS builder [2024-02-16T11:59:51.131Z] ---> c3562d1697a8 [2024-02-16T11:59:51.131Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-02-16T11:59:51.397Z] ---> Running in 37a643a70e45 [2024-02-16T11:59:51.665Z] Removing intermediate container 37a643a70e45 [2024-02-16T11:59:51.665Z] ---> f0f1331a243c [2024-02-16T11:59:51.665Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-02-16T11:59:51.665Z] ---> Running in e8ef3b80e06b [2024-02-16T11:59:51.932Z] Removing intermediate container e8ef3b80e06b [2024-02-16T11:59:51.932Z] ---> 798f053c1dd1 [2024-02-16T11:59:51.932Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-02-16T11:59:52.201Z] ---> Running in 1863d0218082 [2024-02-16T11:59:52.466Z] Removing intermediate container 1863d0218082 [2024-02-16T11:59:52.466Z] ---> e47984813636 [2024-02-16T11:59:52.466Z] Step 6/26 : WORKDIR /device-virtual-go [2024-02-16T11:59:52.466Z] ---> Running in 803cc460b2c0 [2024-02-16T11:59:52.732Z] Removing intermediate container 803cc460b2c0 [2024-02-16T11:59:52.732Z] ---> 4d4733dc03b2 [2024-02-16T11:59:52.732Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-02-16T11:59:52.732Z] ---> Running in c70ab3bb05e1 [2024-02-16T11:59:53.698Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-16T11:59:53.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-16T11:59:54.919Z] OK: 271 MiB in 56 packages [2024-02-16T11:59:55.882Z] Removing intermediate container c70ab3bb05e1 [2024-02-16T11:59:55.882Z] ---> d622c7e02dab [2024-02-16T11:59:55.883Z] Step 8/26 : COPY go.mod vendor* ./ [2024-02-16T11:59:56.150Z] ---> 104d9702aea7 [2024-02-16T11:59:56.150Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-16T11:59:56.420Z] ---> Running in 3b06fe07141c [2024-02-16T11:59:58.359Z] Removing intermediate container 3b06fe07141c [2024-02-16T11:59:58.359Z] ---> 18975e9d4c00 [2024-02-16T11:59:58.359Z] Step 10/26 : COPY . . [2024-02-16T11:59:59.316Z] ---> e690bf758304 [2024-02-16T11:59:59.316Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-02-16T11:59:59.316Z] ---> Running in 843f2f826a3d [2024-02-16T11:59:59.582Z] Removing intermediate container 843f2f826a3d [2024-02-16T11:59:59.582Z] ---> 0f2fc5725a00 [2024-02-16T11:59:59.582Z] Step 12/26 : RUN $MAKE [2024-02-16T11:59:59.582Z] ---> Running in 8a91bbe06e1a [2024-02-16T12:00:00.547Z] 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.8" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-02-16T12:01:54.128Z] Removing intermediate container 8a91bbe06e1a [2024-02-16T12:01:54.128Z] ---> ef035a659d57 [2024-02-16T12:01:54.128Z] Step 13/26 : FROM alpine:3.18 [2024-02-16T12:01:54.128Z] 3.18: Pulling from library/alpine [2024-02-16T12:01:54.128Z] c6b39de5b339: Pulling fs layer [2024-02-16T12:01:54.128Z] c6b39de5b339: Download complete [2024-02-16T12:01:54.128Z] c6b39de5b339: Pull complete [2024-02-16T12:01:54.128Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-02-16T12:01:54.128Z] Status: Downloaded newer image for alpine:3.18 [2024-02-16T12:01:54.128Z] ---> 33abbf032149 [2024-02-16T12:01:54.128Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-02-16T12:01:54.128Z] ---> Running in a528fd00d392 [2024-02-16T12:01:54.128Z] Removing intermediate container a528fd00d392 [2024-02-16T12:01:54.128Z] ---> 25a41d54b448 [2024-02-16T12:01:54.128Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-02-16T12:01:54.128Z] ---> Running in ab2e636b90c1 [2024-02-16T12:01:54.128Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-16T12:01:54.128Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-16T12:01:54.128Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-02-16T12:01:54.128Z] Executing busybox-1.36.1-r5.trigger [2024-02-16T12:01:54.128Z] OK: 8 MiB in 16 packages [2024-02-16T12:01:54.128Z] Removing intermediate container ab2e636b90c1 [2024-02-16T12:01:54.128Z] ---> 37febf23cbae [2024-02-16T12:01:54.128Z] Step 16/26 : RUN apk --no-cache upgrade [2024-02-16T12:01:54.128Z] ---> Running in cab551f7483e [2024-02-16T12:01:54.128Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-16T12:01:54.128Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-16T12:01:54.128Z] OK: 8 MiB in 16 packages [2024-02-16T12:01:54.128Z] Removing intermediate container cab551f7483e [2024-02-16T12:01:54.128Z] ---> 4ef2d36d321b [2024-02-16T12:01:54.128Z] Step 17/26 : WORKDIR / [2024-02-16T12:01:54.128Z] ---> Running in 7ad8608bc0d0 [2024-02-16T12:01:54.128Z] Removing intermediate container 7ad8608bc0d0 [2024-02-16T12:01:54.128Z] ---> b0760886c54d [2024-02-16T12:01:54.128Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-02-16T12:01:54.128Z] ---> b00d6da9aa7d [2024-02-16T12:01:54.128Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-02-16T12:01:54.128Z] ---> d104a8957174 [2024-02-16T12:01:54.128Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-02-16T12:01:54.128Z] ---> 0229d6449b21 [2024-02-16T12:01:54.128Z] Step 21/26 : EXPOSE 59900 [2024-02-16T12:01:54.128Z] ---> Running in ae2106ca2694 [2024-02-16T12:01:54.395Z] Removing intermediate container ae2106ca2694 [2024-02-16T12:01:54.395Z] ---> 21623b85e52f [2024-02-16T12:01:54.395Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-02-16T12:01:54.395Z] ---> Running in 02e3c3750d0a [2024-02-16T12:01:54.665Z] Removing intermediate container 02e3c3750d0a [2024-02-16T12:01:54.666Z] ---> cf2d92b1688a [2024-02-16T12:01:54.666Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-02-16T12:01:54.930Z] ---> Running in 806583e59ac4 [2024-02-16T12:01:55.196Z] Removing intermediate container 806583e59ac4 [2024-02-16T12:01:55.196Z] ---> 10c490bd2204 [2024-02-16T12:01:55.196Z] Step 24/26 : LABEL arch=arm64 [2024-02-16T12:01:55.196Z] ---> Running in 3e740567f68a [2024-02-16T12:01:55.471Z] Removing intermediate container 3e740567f68a [2024-02-16T12:01:55.471Z] ---> 68a1c9b49669 [2024-02-16T12:01:55.471Z] Step 25/26 : LABEL git_sha=40e7de3384c8158fcfa99fa7e25ce6e91ea3f34a [2024-02-16T12:01:55.742Z] ---> Running in d9a89104abd9 [2024-02-16T12:01:56.014Z] Removing intermediate container d9a89104abd9 [2024-02-16T12:01:56.014Z] ---> 92d768829700 [2024-02-16T12:01:56.014Z] Step 26/26 : LABEL version=0.0.0 [2024-02-16T12:01:56.014Z] ---> Running in 435d283764a9 [2024-02-16T12:01:56.281Z] Removing intermediate container 435d283764a9 [2024-02-16T12:01:56.281Z] ---> c0ca38869d2f [2024-02-16T12:01:56.281Z] [Warning] One or more build-args [ARCH] were not consumed [2024-02-16T12:01:56.281Z] Successfully built c0ca38869d2f [2024-02-16T12:01:56.281Z] 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T12:01:57.577Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-16T12:01:57.577Z] [2024-02-16T12:01:57.577Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T12:01:58.039Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-16T12:01:58.039Z] arm64: Pulling from edgex-lftools-log-publisher [2024-02-16T12:01:58.039Z] 8998bd30e6a1: Pulling fs layer [2024-02-16T12:01:58.039Z] 04944245beec: Pulling fs layer [2024-02-16T12:01:58.039Z] 699f458cf7ca: Pulling fs layer [2024-02-16T12:01:58.039Z] 765212b225bb: Pulling fs layer [2024-02-16T12:01:58.039Z] f23df028b6ca: Pulling fs layer [2024-02-16T12:01:58.039Z] d65c8cfc05b1: Pulling fs layer [2024-02-16T12:01:58.039Z] 2437ff75d9bd: Pulling fs layer [2024-02-16T12:01:58.039Z] 765212b225bb: Waiting [2024-02-16T12:01:58.039Z] f23df028b6ca: Waiting [2024-02-16T12:01:58.039Z] d65c8cfc05b1: Waiting [2024-02-16T12:01:58.039Z] 2437ff75d9bd: Waiting [2024-02-16T12:01:58.307Z] 04944245beec: Verifying Checksum [2024-02-16T12:01:58.307Z] 04944245beec: Download complete [2024-02-16T12:01:58.307Z] 765212b225bb: Verifying Checksum [2024-02-16T12:01:58.307Z] 765212b225bb: Download complete [2024-02-16T12:01:58.307Z] f23df028b6ca: Verifying Checksum [2024-02-16T12:01:58.307Z] f23df028b6ca: Download complete [2024-02-16T12:01:58.307Z] d65c8cfc05b1: Download complete [2024-02-16T12:01:58.577Z] 699f458cf7ca: Verifying Checksum [2024-02-16T12:01:58.577Z] 699f458cf7ca: Download complete [2024-02-16T12:01:58.845Z] 8998bd30e6a1: Verifying Checksum [2024-02-16T12:01:58.845Z] 8998bd30e6a1: Download complete [2024-02-16T12:02:01.438Z] 2437ff75d9bd: Verifying Checksum [2024-02-16T12:02:01.438Z] 2437ff75d9bd: Download complete [2024-02-16T12:02:04.021Z] 8998bd30e6a1: Pull complete [2024-02-16T12:02:04.022Z] 04944245beec: Pull complete [2024-02-16T12:02:05.961Z] 699f458cf7ca: Pull complete [2024-02-16T12:02:05.961Z] 765212b225bb: Pull complete [2024-02-16T12:02:06.916Z] f23df028b6ca: Pull complete [2024-02-16T12:02:06.916Z] d65c8cfc05b1: Pull complete [2024-02-16T12:02:25.109Z] 2437ff75d9bd: Pull complete [2024-02-16T12:02:25.109Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-02-16T12:02:25.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-16T12:02:25.109Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-16T12:02:25.628Z] prd-ubuntu20.04-docker-arm64-4c-16g-1061 does not seem to be running inside a container [2024-02-16T12:02:25.688Z] $ 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-02-16T12:02:28.273Z] $ docker top a878974c83693617186a0143de0c771c0c540cb29b6ff57f9ffe0185f4150c82 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-16T12:02:29.064Z] ---> job-cost.sh [2024-02-16T12:02:29.363Z] lf-activate-venv: SKIPPING [2024-02-16T12:02:29.363Z] INFO: No Stack... [2024-02-16T12:02:29.630Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-02-16T12:02:30.600Z] INFO: Archiving Costs [Pipeline] sh [2024-02-16T12:02:31.271Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2024-02-16T12:02:31.272Z] + cut -d, -f6 [Pipeline] lock [2024-02-16T12:02:31.349Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-460-1-stack-cost] [2024-02-16T12:02:31.354Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-460-1-stack-cost] did not exist. Created. [2024-02-16T12:02:31.360Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-460-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-02-16T12:02:32.210Z] /w/workspace/device-virtual-go/1@tmp/durable-6729cc22/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-02-16T12:02:32.566Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-02-16T12:02:32.602Z] Warning: overwriting stash ‘stack-cost’ [2024-02-16T12:02:32.653Z] Stashed 1 file(s) [Pipeline] } [2024-02-16T12:02:32.690Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-460-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-02-16T12:02:32.870Z] $ docker stop --time=1 a878974c83693617186a0143de0c771c0c540cb29b6ff57f9ffe0185f4150c82 [2024-02-16T12:02:34.358Z] $ docker rm -f --volumes a878974c83693617186a0143de0c771c0c540cb29b6ff57f9ffe0185f4150c82 [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-02-16T12:02:36.469Z] provisioning config files... [2024-02-16T12:02:36.478Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-460@tmp/config6678716869133690980tmp [Pipeline] { [Pipeline] sh [2024-02-16T12:02:36.917Z] + set +x [2024-02-16T12:02:36.917Z] + curl -s https://codecov.io/bash [2024-02-16T12:02:36.917Z] + bash -s -- [2024-02-16T12:02:36.917Z] [2024-02-16T12:02:36.917Z] _____ _ [2024-02-16T12:02:36.917Z] / ____| | | [2024-02-16T12:02:36.917Z] | | ___ __| | ___ ___ _____ __ [2024-02-16T12:02:36.917Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-02-16T12:02:36.917Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-02-16T12:02:36.917Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-02-16T12:02:36.917Z] Bash-1.0.6 [2024-02-16T12:02:36.917Z] [2024-02-16T12:02:36.917Z] [2024-02-16T12:02:36.917Z] ==> git version 2.25.1 found [2024-02-16T12:02:36.917Z] ==> 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-02-16T12:02:36.917Z] Release-Date: 2020-01-08 [2024-02-16T12:02:36.917Z] 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-02-16T12:02:36.917Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-02-16T12:02:36.917Z] ==> Jenkins CI detected. [2024-02-16T12:02:36.917Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-460 [2024-02-16T12:02:36.917Z] project root: . [2024-02-16T12:02:36.917Z] --> token set from env [2024-02-16T12:02:36.917Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-02-16T12:02:36.917Z] ==> Running gcov in . (disable via -X gcov) [2024-02-16T12:02:36.917Z] ==> Python coveragepy not found [2024-02-16T12:02:36.917Z] ==> Searching for coverage reports in: [2024-02-16T12:02:36.917Z] + . [2024-02-16T12:02:37.178Z] -> Found 1 reports [2024-02-16T12:02:37.178Z] ==> Detecting git/mercurial file structure [2024-02-16T12:02:37.178Z] ==> Reading reports [2024-02-16T12:02:37.178Z] + ./coverage.out bytes=43063 [2024-02-16T12:02:37.178Z] ==> Appending adjustments [2024-02-16T12:02:37.178Z] https://docs.codecov.io/docs/fixing-reports [2024-02-16T12:02:37.178Z] + Found adjustments [2024-02-16T12:02:37.178Z] ==> Gzipping contents [2024-02-16T12:02:37.178Z] 8.0K /tmp/codecov.Hgc0nC.gz [2024-02-16T12:02:37.178Z] ==> Uploading reports [2024-02-16T12:02:37.178Z] url: https://codecov.io [2024-02-16T12:02:37.178Z] query: branch=PR-460&commit=40e7de3384c8158fcfa99fa7e25ce6e91ea3f34a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-460%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=460&job=&cmd_args= [2024-02-16T12:02:37.178Z] -> Pinging Codecov [2024-02-16T12:02:37.178Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-460&commit=40e7de3384c8158fcfa99fa7e25ce6e91ea3f34a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-460%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=460&job=&cmd_args= [2024-02-16T12:02:37.438Z] -> Uploading to [2024-02-16T12:02:37.438Z] https://storage.googleapis.com/codecov/v4/raw/2024-02-16/5E52B4B073DB2E39498172D8E973AA87/40e7de3384c8158fcfa99fa7e25ce6e91ea3f34a/c8b5ff9f-7cb4-45e7-b96c-77c6ff5b4b05.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240216%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240216T120237Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=28eb27cee1c506d7800281564a50fd9fdf5d9b8354e54c581aad18eed4768bda [2024-02-16T12:02:37.438Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-02-16T12:02:37.438Z] Dload Upload Total Spent Left Speed [2024-02-16T12:02:37.698Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 19223 --:--:-- --:--:-- --:--:-- 19223 [2024-02-16T12:02:37.698Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/40e7de3384c8158fcfa99fa7e25ce6e91ea3f34a [Pipeline] } [2024-02-16T12:02:37.732Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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-02-16T12:02:41.035Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-460/archives ] [2024-02-16T12:02:41.035Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-460/archives [2024-02-16T12:02:41.035Z] total 16 [2024-02-16T12:02:41.035Z] drwxr-xr-x 3 root root 4096 Feb 16 11:55 . [2024-02-16T12:02:41.035Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 16 11:55 .. [2024-02-16T12:02:41.035Z] drwxr-xr-x 2 root root 4096 Feb 16 11:55 cost [2024-02-16T12:02:41.035Z] -rw-r--r-- 1 root root 89 Feb 16 11:55 cost.csv [2024-02-16T12:02:41.035Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-460/archives [2024-02-16T12:02:41.035Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-460/archives [2024-02-16T12:02:41.035Z] total 16 [2024-02-16T12:02:41.035Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 16 11:55 . [2024-02-16T12:02:41.035Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 16 11:55 .. [2024-02-16T12:02:41.035Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 16 11:55 cost [2024-02-16T12:02:41.035Z] -rw-r--r-- 1 jenkins jenkins 89 Feb 16 11:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-02-16T12:02:41.368Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-16T12:02:42.270Z] ---> package-listing.sh [2024-02-16T12:02:42.270Z] ++ facter osfamily [2024-02-16T12:02:42.270Z] ++ tr '[:upper:]' '[:lower:]' [2024-02-16T12:02:42.270Z] + OS_FAMILY=debian [2024-02-16T12:02:42.270Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-460 [2024-02-16T12:02:42.270Z] + START_PACKAGES=/tmp/packages_start.txt [2024-02-16T12:02:42.270Z] + END_PACKAGES=/tmp/packages_end.txt [2024-02-16T12:02:42.270Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-02-16T12:02:42.270Z] + PACKAGES=/tmp/packages_start.txt [2024-02-16T12:02:42.270Z] + '[' /w/workspace/foundry_device-virtual-go_PR-460 ']' [2024-02-16T12:02:42.270Z] + PACKAGES=/tmp/packages_end.txt [2024-02-16T12:02:42.270Z] + case "${OS_FAMILY}" in [2024-02-16T12:02:42.531Z] + dpkg -l [2024-02-16T12:02:42.531Z] + grep '^ii' [2024-02-16T12:02:42.531Z] + '[' -f /tmp/packages_start.txt ']' [2024-02-16T12:02:42.531Z] + '[' -f /tmp/packages_end.txt ']' [2024-02-16T12:02:42.531Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-02-16T12:02:42.531Z] + '[' /w/workspace/foundry_device-virtual-go_PR-460 ']' [2024-02-16T12:02:42.531Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-460/archives/ [2024-02-16T12:02:42.531Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-460/archives/ [Pipeline] echo [2024-02-16T12:02:42.569Z] 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-460/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-02-16T12:02:42.862Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-16T12:02:43.546Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-16T12:02:43.546Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-16T12:02:43.791Z] prd-ubuntu20.04-docker-8c-8g-1060 does not seem to be running inside a container [2024-02-16T12:02:43.818Z] $ 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-460/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-460 -v /w/workspace/foundry_device-virtual-go_PR-460:/w/workspace/foundry_device-virtual-go_PR-460:rw,z -v /w/workspace/foundry_device-virtual-go_PR-460@tmp:/w/workspace/foundry_device-virtual-go_PR-460@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-02-16T12:02:44.014Z] $ docker top ad7e9a9b0a4766752d4499f7a2789c00eadea9a3d0bdf0c790e782669a78df02 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-16T12:02:44.497Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-02-16T12:02:44.822Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-02-16T12:02:45.135Z] + ls /var/log/sa-host [2024-02-16T12:02:45.135Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-16T12:02:45.455Z] provisioning config files... [2024-02-16T12:02:45.466Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-460@tmp/config13604206744408800543tmp [Pipeline] { [Pipeline] echo [2024-02-16T12:02:45.619Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-16T12:02:45.942Z] ---> create-netrc.sh [Pipeline] } [2024-02-16T12:02:45.975Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-02-16T12:02:46.499Z] ---> python-tools-install.sh [Pipeline] echo [2024-02-16T12:02:46.539Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-16T12:02:46.854Z] ---> sudo-logs.sh [2024-02-16T12:02:46.855Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-02-16T12:02:47.011Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-16T12:02:47.322Z] ---> job-cost.sh [2024-02-16T12:02:47.322Z] lf-activate-venv: SKIPPING [2024-02-16T12:02:47.322Z] DEBUG: total: 0.2199999988079071 [2024-02-16T12:02:47.322Z] INFO: Retrieving Stack Cost... [2024-02-16T12:02:47.581Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-02-16T12:02:47.840Z] INFO: Archiving Costs [Pipeline] echo [2024-02-16T12:02:47.877Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-16T12:02:48.188Z] ---> logs-deploy.sh [2024-02-16T12:02:48.188Z] lf-activate-venv: SKIPPING [2024-02-16T12:02:48.188Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-460/1 [2024-02-16T12:02:48.188Z] INFO: archiving workspace using pattern(s): [2024-02-16T12:02:49.968Z] Archives upload complete. [2024-02-16T12:02:49.968Z] INFO: archiving logs to Nexus