Pull request #469 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 71a91b718c57a5882cfc45d31ff4efa42baeea47+9bb147b67aac0611742908cfcb90cbbe5085f9b5 (be0fdc02195150605ecba395690cf96eca33608c) 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-ssh4658530864693500350.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-ssh17204489026650837230.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-469/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-469/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10240163345718577902.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-469/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13103745354028293158.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-ssh9513267123044197097.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-469/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-469/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12320891029067827738.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-147’ Running on prd-ubuntu20.04-docker-8c-8g-150 in /w/workspace/foundry_device-virtual-go_PR-469 [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-469 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/napa commit 9bb147b67aac0611742908cfcb90cbbe5085f9b5 into PR head commit 71a91b718c57a5882cfc45d31ff4efa42baeea47 > 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/469/head:refs/remotes/origin/PR-469 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 71a91b718c57a5882cfc45d31ff4efa42baeea47 # timeout=10 Merge succeeded, producing 71a91b718c57a5882cfc45d31ff4efa42baeea47 Checking out Revision 71a91b718c57a5882cfc45d31ff4efa42baeea47 (PR-469) Commit message: "build: Bump Device SDK v3.1.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9bb147b67aac0611742908cfcb90cbbe5085f9b5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 71a91b718c57a5882cfc45d31ff4efa42baeea47 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-14T03:46:59.304Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-14T03:46:59.543Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-14T03:46:59.667Z] ========================================================= [2024-05-14T03:46:59.667Z] EdgeX Global Pipelines Version Info [2024-05-14T03:46:59.667Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-14T03:47:00.496Z] ------------------- [2024-05-14T03:47:00.496Z] stable info: [2024-05-14T03:47:00.496Z] ------------------- [2024-05-14T03:47:00.496Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-05-14T03:47:00.496Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-14T03:47:00.496Z] Message: update stable to v1.0.258 [2024-05-14T03:47:01.069Z] ------------------- [2024-05-14T03:47:01.069Z] experimental info: [2024-05-14T03:47:01.069Z] ------------------- [2024-05-14T03:47:01.069Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-05-14T03:47:01.069Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-14T03:47:01.069Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-14T03:47:01.310Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2024-05-14T03:47:01.377Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2024-05-14T03:47:01.441Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-14T03:47:01.509Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-14T03:47:01.574Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-14T03:47:01.634Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-14T03:47:01.692Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-14T03:47:01.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-05-14T03:47:01.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-14T03:47:01.870Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-14T03:47:01.925Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-14T03:47:01.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2024-05-14T03:47:02.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-14T03:47:02.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-14T03:47:02.155Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-14T03:47:02.213Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-05-14T03:47:02.266Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-14T03:47:02.325Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-14T03:47:02.380Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-14T03:47:02.466Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-14T03:47:02.529Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-05-14T03:47:02.606Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-05-14T03:47:02.666Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-14T03:47:02.806Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-14T03:47:02.867Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-14T03:47:02.926Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-14T03:47:02.985Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-14T03:47:03.045Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-469 [Pipeline] echo [2024-05-14T03:47:03.103Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-469 [Pipeline] echo [2024-05-14T03:47:03.162Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-469 [Pipeline] echo [2024-05-14T03:47:03.221Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 71a91b718c57a5882cfc45d31ff4efa42baeea47 [Pipeline] echo [2024-05-14T03:47:03.276Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 71a91b7 [Pipeline] echo [2024-05-14T03:47:03.334Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-14T03:47:03.476Z] provisioning config files... [2024-05-14T03:47:03.489Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-469@tmp/config6700936631277100393tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-14T03:47:03.879Z] ---> ****-login.sh [2024-05-14T03:47:03.879Z] nexus3.edgexfoundry.org:10001 [2024-05-14T03:47:04.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T03:47:04.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T03:47:04.401Z] Configure a credential helper to remove this warning. See [2024-05-14T03:47:04.401Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T03:47:04.401Z] [2024-05-14T03:47:04.401Z] Login Succeeded [2024-05-14T03:47:04.401Z] nexus3.edgexfoundry.org:10002 [2024-05-14T03:47:04.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T03:47:04.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T03:47:04.401Z] Configure a credential helper to remove this warning. See [2024-05-14T03:47:04.401Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T03:47:04.401Z] [2024-05-14T03:47:04.401Z] Login Succeeded [2024-05-14T03:47:04.401Z] nexus3.edgexfoundry.org:10003 [2024-05-14T03:47:04.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T03:47:04.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T03:47:04.662Z] Configure a credential helper to remove this warning. See [2024-05-14T03:47:04.662Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T03:47:04.662Z] [2024-05-14T03:47:04.662Z] Login Succeeded [2024-05-14T03:47:04.662Z] nexus3.edgexfoundry.org:10004 [2024-05-14T03:47:04.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T03:47:04.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T03:47:04.662Z] Configure a credential helper to remove this warning. See [2024-05-14T03:47:04.662Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T03:47:04.662Z] [2024-05-14T03:47:04.662Z] Login Succeeded [2024-05-14T03:47:04.662Z] ****.io [2024-05-14T03:47:04.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T03:47:04.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T03:47:04.922Z] Configure a credential helper to remove this warning. See [2024-05-14T03:47:04.922Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T03:47:04.922Z] [2024-05-14T03:47:04.922Z] Login Succeeded [2024-05-14T03:47:04.922Z] ---> ****-login.sh ends [Pipeline] } [2024-05-14T03:47:04.955Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-14T03:47:05.695Z] + git rev-list -1 --merges 71a91b718c57a5882cfc45d31ff4efa42baeea47~1..71a91b718c57a5882cfc45d31ff4efa42baeea47 [Pipeline] echo [2024-05-14T03:47:05.750Z] -----------> git rev-list -1 --merges 71a91b718c57a5882cfc45d31ff4efa42baeea47~1..71a91b718c57a5882cfc45d31ff4efa42baeea47 71a91b718c57a5882cfc45d31ff4efa42baeea47 [false] [Pipeline] sh [2024-05-14T03:47:06.073Z] + git log --format=format:%s -1 71a91b718c57a5882cfc45d31ff4efa42baeea47 [Pipeline] echo [2024-05-14T03:47:06.114Z] ========================================================= [2024-05-14T03:47:06.114Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-14T03:47:06.114Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-14T03:47:06.589Z] + git log --format=format:%s -1 71a91b718c57a5882cfc45d31ff4efa42baeea47 [Pipeline] echo [2024-05-14T03:47:06.630Z] [semverPrep] GIT_COMMIT: 71a91b718c57a5882cfc45d31ff4efa42baeea47, Commit Message: build: Bump Device SDK v3.1.1 [Pipeline] echo [2024-05-14T03:47:06.672Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-14T03:47:07.102Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-14T03:47:07.102Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-14T03:47:07.102Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-14T03:47:07.102Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-14T03:47:07.102Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-14T03:47:07.102Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-14T03:47:07.102Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T03:47:07.696Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-14T03:47:07.696Z] [2024-05-14T03:47:07.696Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T03:47:08.100Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-14T03:47:08.100Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-14T03:47:08.100Z] b85a868b505f: Pulling fs layer [2024-05-14T03:47:08.100Z] e2be974225ed: Pulling fs layer [2024-05-14T03:47:08.100Z] 339a4e72a1f5: Pulling fs layer [2024-05-14T03:47:08.100Z] 988bab9f4d93: Pulling fs layer [2024-05-14T03:47:08.100Z] 1469e6f7b9e6: Pulling fs layer [2024-05-14T03:47:08.100Z] eaf3925da568: Pulling fs layer [2024-05-14T03:47:08.100Z] bab4dde63d76: Pulling fs layer [2024-05-14T03:47:08.100Z] bde34c3a00c8: Pulling fs layer [2024-05-14T03:47:08.100Z] b352a97aabf1: Pulling fs layer [2024-05-14T03:47:08.100Z] 4872d77fe225: Pulling fs layer [2024-05-14T03:47:08.100Z] 5851b861e8e6: Pulling fs layer [2024-05-14T03:47:08.100Z] bab4dde63d76: Waiting [2024-05-14T03:47:08.100Z] bde34c3a00c8: Waiting [2024-05-14T03:47:08.100Z] b352a97aabf1: Waiting [2024-05-14T03:47:08.100Z] 4872d77fe225: Waiting [2024-05-14T03:47:08.100Z] 5851b861e8e6: Waiting [2024-05-14T03:47:08.100Z] 988bab9f4d93: Waiting [2024-05-14T03:47:08.100Z] 1469e6f7b9e6: Waiting [2024-05-14T03:47:08.100Z] eaf3925da568: Waiting [2024-05-14T03:47:08.100Z] e2be974225ed: Verifying Checksum [2024-05-14T03:47:08.100Z] e2be974225ed: Download complete [2024-05-14T03:47:08.100Z] 988bab9f4d93: Verifying Checksum [2024-05-14T03:47:08.100Z] 988bab9f4d93: Download complete [2024-05-14T03:47:08.363Z] 1469e6f7b9e6: Verifying Checksum [2024-05-14T03:47:08.363Z] 1469e6f7b9e6: Download complete [2024-05-14T03:47:08.363Z] eaf3925da568: Download complete [2024-05-14T03:47:08.363Z] 339a4e72a1f5: Verifying Checksum [2024-05-14T03:47:08.363Z] 339a4e72a1f5: Download complete [2024-05-14T03:47:08.363Z] bde34c3a00c8: Download complete [2024-05-14T03:47:08.363Z] b352a97aabf1: Verifying Checksum [2024-05-14T03:47:08.363Z] b352a97aabf1: Download complete [2024-05-14T03:47:08.363Z] 4872d77fe225: Verifying Checksum [2024-05-14T03:47:08.363Z] 4872d77fe225: Download complete [2024-05-14T03:47:08.363Z] 5851b861e8e6: Download complete [2024-05-14T03:47:08.624Z] b85a868b505f: Download complete [2024-05-14T03:47:08.885Z] bab4dde63d76: Verifying Checksum [2024-05-14T03:47:08.885Z] bab4dde63d76: Download complete [2024-05-14T03:47:10.269Z] b85a868b505f: Pull complete [2024-05-14T03:47:10.269Z] e2be974225ed: Pull complete [2024-05-14T03:47:10.529Z] 339a4e72a1f5: Pull complete [2024-05-14T03:47:10.790Z] 988bab9f4d93: Pull complete [2024-05-14T03:47:11.050Z] 1469e6f7b9e6: Pull complete [2024-05-14T03:47:11.050Z] eaf3925da568: Pull complete [2024-05-14T03:47:12.964Z] bab4dde63d76: Pull complete [2024-05-14T03:47:12.964Z] bde34c3a00c8: Pull complete [2024-05-14T03:47:13.222Z] b352a97aabf1: Pull complete [2024-05-14T03:47:13.222Z] 4872d77fe225: Pull complete [2024-05-14T03:47:13.222Z] 5851b861e8e6: Pull complete [2024-05-14T03:47:13.222Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-14T03:47:13.222Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-14T03:47:13.222Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-14T03:47:13.532Z] prd-ubuntu20.04-docker-8c-8g-150 does not seem to be running inside a container [2024-05-14T03:47:13.566Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-469 -v /w/workspace/foundry_device-virtual-go_PR-469:/w/workspace/foundry_device-virtual-go_PR-469:rw,z -v /w/workspace/foundry_device-virtual-go_PR-469@tmp:/w/workspace/foundry_device-virtual-go_PR-469@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-devops/py-git-semver:0.1.4 cat [2024-05-14T03:47:18.152Z] $ docker top c1194d21cc8763c3367f8a2de24414354a980eff1c04df8549221d5b83fb100d -eo pid,comm [2024-05-14T03:47:18.214Z] 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-05-14T03:47:18.214Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-14T03:47:18.375Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-14T03:47:18.375Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-14T03:47:18.489Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-14T03:47:18.495Z] $ docker exec c1194d21cc8763c3367f8a2de24414354a980eff1c04df8549221d5b83fb100d ssh-agent [2024-05-14T03:47:18.596Z] SSH_AUTH_SOCK=/tmp/ssh-Iw9h9ipAEuep/agent.32 [2024-05-14T03:47:18.596Z] SSH_AGENT_PID=38 [2024-05-14T03:47:18.602Z] Running ssh-add (command line suppressed) [2024-05-14T03:47:18.705Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-469@tmp/private_key_18223873866740371849.key (/w/workspace/foundry_device-virtual-go_PR-469@tmp/private_key_18223873866740371849.key) [2024-05-14T03:47:18.715Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-14T03:47:19.068Z] + git tag --points-at HEAD [Pipeline] } [2024-05-14T03:47:19.098Z] $ docker exec --env ******** --env ******** c1194d21cc8763c3367f8a2de24414354a980eff1c04df8549221d5b83fb100d ssh-agent -k [2024-05-14T03:47:19.199Z] unset SSH_AUTH_SOCK; [2024-05-14T03:47:19.199Z] unset SSH_AGENT_PID; [2024-05-14T03:47:19.199Z] echo Agent pid 38 killed; [2024-05-14T03:47:19.209Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-14T03:47:19.337Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-14T03:47:19.337Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-14T03:47:19.444Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-14T03:47:19.450Z] $ docker exec c1194d21cc8763c3367f8a2de24414354a980eff1c04df8549221d5b83fb100d ssh-agent [2024-05-14T03:47:19.547Z] SSH_AUTH_SOCK=/tmp/ssh-PfmuDZPc3B4V/agent.71 [2024-05-14T03:47:19.547Z] SSH_AGENT_PID=77 [2024-05-14T03:47:19.551Z] Running ssh-add (command line suppressed) [2024-05-14T03:47:19.652Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-469@tmp/private_key_14942492008144274478.key (/w/workspace/foundry_device-virtual-go_PR-469@tmp/private_key_14942492008144274478.key) [2024-05-14T03:47:19.663Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-14T03:47:20.005Z] + git semver init [2024-05-14T03:47:20.264Z] 2024-05-14 03:47:20,208 [run_init] DEBUG init version:0.0.0 force:False [2024-05-14T03:47:20.264Z] 2024-05-14 03:47:20,209 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-469/.semver [2024-05-14T03:47:20.264Z] 2024-05-14 03:47:20,210 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-469/.semver [2024-05-14T03:47:20.264Z] 2024-05-14 03:47:20,210 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-469/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-469, universal_newlines=False, shell=None, istream=None) [2024-05-14T03:47:21.648Z] 2024-05-14 03:47:21,443 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-469/.git/info/exclude [2024-05-14T03:47:21.648Z] 2024-05-14 03:47:21,444 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-469/.semver/PR-469 with force:False [2024-05-14T03:47:21.648Z] 2024-05-14 03:47:21,444 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-469/.semver/PR-469 [2024-05-14T03:47:21.648Z] 2024-05-14 03:47:21,448 [execute] INFO git cat-file --batch-check [2024-05-14T03:47:21.648Z] 2024-05-14 03:47:21,449 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-469/.semver, universal_newlines=False, shell=None, istream=) [2024-05-14T03:47:21.648Z] 2024-05-14 03:47:21,455 [execute] INFO git cat-file --batch [2024-05-14T03:47:21.648Z] 2024-05-14 03:47:21,455 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-469/.semver, universal_newlines=False, shell=None, istream=) [2024-05-14T03:47:21.648Z] 2024-05-14 03:47:21,460 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-469/.semver/PR-469 [2024-05-14T03:47:21.648Z] 0.0.0 [Pipeline] } [2024-05-14T03:47:21.678Z] $ docker exec --env ******** --env ******** c1194d21cc8763c3367f8a2de24414354a980eff1c04df8549221d5b83fb100d ssh-agent -k [2024-05-14T03:47:21.790Z] unset SSH_AUTH_SOCK; [2024-05-14T03:47:21.790Z] unset SSH_AGENT_PID; [2024-05-14T03:47:21.791Z] echo Agent pid 77 killed; [2024-05-14T03:47:21.798Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-14T03:47:22.260Z] + git semver [Pipeline] } [2024-05-14T03:47:22.556Z] $ docker stop --time=1 c1194d21cc8763c3367f8a2de24414354a980eff1c04df8549221d5b83fb100d [2024-05-14T03:47:23.847Z] $ docker rm -f --volumes c1194d21cc8763c3367f8a2de24414354a980eff1c04df8549221d5b83fb100d [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-14T03:47:24.272Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-14T03:47:24.606Z] Stashed 1 file(s) [Pipeline] echo [2024-05-14T03:47:24.631Z] [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-05-14T03:47:25.367Z] provisioning config files... [2024-05-14T03:47:25.376Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-469@tmp/config6349104642421514530tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-14T03:47:25.761Z] ---> ****-login.sh [2024-05-14T03:47:25.761Z] nexus3.edgexfoundry.org:10001 [2024-05-14T03:47:25.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T03:47:25.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T03:47:25.761Z] Configure a credential helper to remove this warning. See [2024-05-14T03:47:25.761Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T03:47:25.761Z] [2024-05-14T03:47:25.761Z] Login Succeeded [2024-05-14T03:47:25.761Z] nexus3.edgexfoundry.org:10002 [2024-05-14T03:47:25.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T03:47:25.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T03:47:25.761Z] Configure a credential helper to remove this warning. See [2024-05-14T03:47:25.761Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T03:47:25.761Z] [2024-05-14T03:47:25.761Z] Login Succeeded [2024-05-14T03:47:25.761Z] nexus3.edgexfoundry.org:10003 [2024-05-14T03:47:26.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T03:47:26.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T03:47:26.022Z] Configure a credential helper to remove this warning. See [2024-05-14T03:47:26.022Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T03:47:26.022Z] [2024-05-14T03:47:26.022Z] Login Succeeded [2024-05-14T03:47:26.022Z] nexus3.edgexfoundry.org:10004 [2024-05-14T03:47:26.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T03:47:26.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T03:47:26.022Z] Configure a credential helper to remove this warning. See [2024-05-14T03:47:26.022Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T03:47:26.022Z] [2024-05-14T03:47:26.022Z] Login Succeeded [2024-05-14T03:47:26.022Z] ****.io [2024-05-14T03:47:26.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T03:47:26.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T03:47:26.283Z] Configure a credential helper to remove this warning. See [2024-05-14T03:47:26.283Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T03:47:26.283Z] [2024-05-14T03:47:26.283Z] Login Succeeded [2024-05-14T03:47:26.283Z] ---> ****-login.sh ends [Pipeline] } [2024-05-14T03:47:26.315Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-14T03:47:26.550Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-14T03:47:26.877Z] + grep ^go [0-9].[0-9]* go.mod [2024-05-14T03:47:26.877Z] + cut -d -f 2 [Pipeline] echo [2024-05-14T03:47:26.924Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-14T03:47:26.971Z] ========================================================= [2024-05-14T03:47:26.971Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] [2024-05-14T03:47:26.971Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T03:47:27.496Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-14T03:47:28.066Z] Sending build context to Docker daemon 62.53MB [2024-05-14T03:47:28.066Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-14T03:47:28.066Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-14T03:47:28.066Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2024-05-14T03:47:28.066Z] 619be1103602: Pulling fs layer [2024-05-14T03:47:28.066Z] 7862e08f4a3e: Pulling fs layer [2024-05-14T03:47:28.066Z] 5df492c9dc93: Pulling fs layer [2024-05-14T03:47:28.066Z] 7629e6793208: Pulling fs layer [2024-05-14T03:47:28.066Z] 4f4fb700ef54: Pulling fs layer [2024-05-14T03:47:28.066Z] 8de7f028bff5: Pulling fs layer [2024-05-14T03:47:28.066Z] 44042ff1420b: Pulling fs layer [2024-05-14T03:47:28.066Z] 5cdaf54b7214: Pulling fs layer [2024-05-14T03:47:28.066Z] 38f3e5a9071a: Pulling fs layer [2024-05-14T03:47:28.066Z] 8de7f028bff5: Waiting [2024-05-14T03:47:28.066Z] 44042ff1420b: Waiting [2024-05-14T03:47:28.066Z] 5cdaf54b7214: Waiting [2024-05-14T03:47:28.066Z] 7629e6793208: Waiting [2024-05-14T03:47:28.066Z] 4f4fb700ef54: Waiting [2024-05-14T03:47:28.066Z] 38f3e5a9071a: Waiting [2024-05-14T03:47:28.066Z] 7862e08f4a3e: Download complete [2024-05-14T03:47:28.066Z] 7629e6793208: Verifying Checksum [2024-05-14T03:47:28.066Z] 7629e6793208: Download complete [2024-05-14T03:47:28.066Z] 4f4fb700ef54: Verifying Checksum [2024-05-14T03:47:28.066Z] 4f4fb700ef54: Download complete [2024-05-14T03:47:28.066Z] 8de7f028bff5: Verifying Checksum [2024-05-14T03:47:28.066Z] 8de7f028bff5: Download complete [2024-05-14T03:47:28.066Z] 619be1103602: Verifying Checksum [2024-05-14T03:47:28.066Z] 619be1103602: Download complete [2024-05-14T03:47:28.330Z] 44042ff1420b: Download complete [2024-05-14T03:47:28.330Z] 619be1103602: Pull complete [2024-05-14T03:47:28.591Z] 38f3e5a9071a: Verifying Checksum [2024-05-14T03:47:28.591Z] 38f3e5a9071a: Download complete [2024-05-14T03:47:28.591Z] 7862e08f4a3e: Pull complete [2024-05-14T03:47:28.858Z] 5df492c9dc93: Verifying Checksum [2024-05-14T03:47:28.858Z] 5df492c9dc93: Download complete [2024-05-14T03:47:29.426Z] 5cdaf54b7214: Verifying Checksum [2024-05-14T03:47:29.426Z] 5cdaf54b7214: Download complete [2024-05-14T03:47:33.631Z] 5df492c9dc93: Pull complete [2024-05-14T03:47:33.631Z] 7629e6793208: Pull complete [2024-05-14T03:47:33.631Z] 4f4fb700ef54: Pull complete [2024-05-14T03:47:33.631Z] 8de7f028bff5: Pull complete [2024-05-14T03:47:33.631Z] 44042ff1420b: Pull complete [2024-05-14T03:47:35.535Z] 5cdaf54b7214: Pull complete [2024-05-14T03:47:36.108Z] 38f3e5a9071a: Pull complete [2024-05-14T03:47:36.108Z] Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 [2024-05-14T03:47:36.108Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts [2024-05-14T03:47:36.108Z] ---> 60b93f829570 [2024-05-14T03:47:36.108Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-14T03:47:40.162Z] Still waiting to schedule task [2024-05-14T03:47:40.162Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-148’ is offline [2024-05-14T03:47:44.253Z] ---> Running in ad727c6d3ec3 [2024-05-14T03:47:44.254Z] Removing intermediate container ad727c6d3ec3 [2024-05-14T03:47:44.254Z] ---> b0571a250871 [2024-05-14T03:47:44.254Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-14T03:47:44.254Z] ---> Running in b77d0b68f710 [2024-05-14T03:47:44.254Z] Removing intermediate container b77d0b68f710 [2024-05-14T03:47:44.254Z] ---> 35c5beb38572 [2024-05-14T03:47:44.254Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-05-14T03:47:44.254Z] ---> Running in 0d511b861b36 [2024-05-14T03:47:44.254Z] Removing intermediate container 0d511b861b36 [2024-05-14T03:47:44.254Z] ---> 2808b4f58199 [2024-05-14T03:47:44.254Z] Step 6/12 : WORKDIR /device-virtual-go [2024-05-14T03:47:44.254Z] ---> Running in 35fbdd7e939b [2024-05-14T03:47:44.254Z] Removing intermediate container 35fbdd7e939b [2024-05-14T03:47:44.254Z] ---> 33d6d8c4bc21 [2024-05-14T03:47:44.254Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-14T03:47:44.254Z] ---> Running in 98ec374fc7fd [2024-05-14T03:47:44.254Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-14T03:47:44.254Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-14T03:47:44.254Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-14T03:47:44.254Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-14T03:47:44.254Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-14T03:47:44.254Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-14T03:47:44.254Z] Executing busybox-1.36.1-r5.trigger [2024-05-14T03:47:44.254Z] OK: 268 MiB in 56 packages [2024-05-14T03:47:44.524Z] Removing intermediate container 98ec374fc7fd [2024-05-14T03:47:44.524Z] ---> 12efc05a9aa7 [2024-05-14T03:47:44.524Z] Step 8/12 : COPY go.mod vendor* ./ [2024-05-14T03:47:47.066Z] ---> f5060792a1d5 [2024-05-14T03:47:47.066Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-14T03:47:47.066Z] ---> Running in 0458b3a664e8 [2024-05-14T03:48:19.191Z] Removing intermediate container 0458b3a664e8 [2024-05-14T03:48:19.191Z] ---> 36fec79d9759 [2024-05-14T03:48:19.191Z] Step 10/12 : COPY . . [2024-05-14T03:48:19.191Z] ---> b556295ccd7b [2024-05-14T03:48:19.191Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-14T03:48:19.191Z] ---> Running in ff24713f905f [2024-05-14T03:48:19.191Z] Removing intermediate container ff24713f905f [2024-05-14T03:48:19.191Z] ---> 7c5ed1583d94 [2024-05-14T03:48:19.191Z] Step 12/12 : RUN $MAKE [2024-05-14T03:48:19.191Z] ---> Running in 0bc7e975894b [2024-05-14T03:48:19.450Z] noop [2024-05-14T03:48:19.711Z] Removing intermediate container 0bc7e975894b [2024-05-14T03:48:19.711Z] ---> fba52261660e [2024-05-14T03:48:19.711Z] Successfully built fba52261660e [2024-05-14T03:48:19.711Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T03:48:20.202Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-14T03:48:20.202Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-14T03:48:20.377Z] prd-ubuntu20.04-docker-8c-8g-150 does not seem to be running inside a container [2024-05-14T03:48:20.416Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-469 -v /w/workspace/foundry_device-virtual-go_PR-469:/w/workspace/foundry_device-virtual-go_PR-469:rw,z -v /w/workspace/foundry_device-virtual-go_PR-469@tmp:/w/workspace/foundry_device-virtual-go_PR-469@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-14T03:48:20.769Z] $ docker top c6415f58924b247f0f213311fa6cf5ea6094e2a82236a84c3b1511a8c859e597 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-14T03:48:21.187Z] + go version [2024-05-14T03:48:21.187Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-14T03:48:21.227Z] $ docker stop --time=1 c6415f58924b247f0f213311fa6cf5ea6094e2a82236a84c3b1511a8c859e597 [2024-05-14T03:48:22.466Z] $ docker rm -f --volumes c6415f58924b247f0f213311fa6cf5ea6094e2a82236a84c3b1511a8c859e597 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T03:48:23.320Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-14T03:48:23.320Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-14T03:48:23.485Z] prd-ubuntu20.04-docker-8c-8g-150 does not seem to be running inside a container [2024-05-14T03:48:23.519Z] $ 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-469 -v /w/workspace/foundry_device-virtual-go_PR-469:/w/workspace/foundry_device-virtual-go_PR-469:rw,z -v /w/workspace/foundry_device-virtual-go_PR-469@tmp:/w/workspace/foundry_device-virtual-go_PR-469@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-14T03:48:23.866Z] $ docker top a9775cfebc44fca877ba842f9380a365aa30f2be21ede0302467a776cfe1c1f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-14T03:48:24.280Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-469 [Pipeline] fileExists [Pipeline] sh [2024-05-14T03:48:24.692Z] + make test [2024-05-14T03:48:24.693Z] go test ./... -coverprofile=coverage.out [2024-05-14T03:48:26.083Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-05-14T03:48:38.291Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-05-14T03:48:38.291Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.023s coverage: 58.6% of statements [2024-05-14T03:48:44.856Z] go vet ./... [2024-05-14T03:48:49.042Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-14T03:48:49.042Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-14T03:48:49.042Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-14T03:48:49.091Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-14T03:48:49.479Z] + go mod tidy [Pipeline] } [2024-05-14T03:48:49.770Z] $ docker stop --time=1 a9775cfebc44fca877ba842f9380a365aa30f2be21ede0302467a776cfe1c1f5 [2024-05-14T03:48:54.485Z] $ docker rm -f --volumes a9775cfebc44fca877ba842f9380a365aa30f2be21ede0302467a776cfe1c1f5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-14T03:48:55.070Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-14T03:48:55.197Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-14T03:48:55.954Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-14T03:48:56.276Z] + ls -al . [2024-05-14T03:48:56.276Z] total 204 [2024-05-14T03:48:56.276Z] drwxrwxr-x 9 jenkins jenkins 4096 May 14 03:48 . [2024-05-14T03:48:56.276Z] drwxrwxr-x 4 jenkins jenkins 4096 May 14 03:46 .. [2024-05-14T03:48:56.276Z] drwxrwxr-x 8 jenkins jenkins 4096 May 14 03:48 .git [2024-05-14T03:48:56.276Z] drwxrwxr-x 3 jenkins jenkins 4096 May 14 03:46 .github [2024-05-14T03:48:56.276Z] -rw-rw-r-- 1 jenkins jenkins 264 May 14 03:46 .gitignore [2024-05-14T03:48:56.276Z] -rw-rw-r-- 1 jenkins jenkins 41 May 14 03:46 .golangci.yml [2024-05-14T03:48:56.276Z] drwxr-xr-x 3 jenkins jenkins 4096 May 14 03:47 .semver [2024-05-14T03:48:56.276Z] -rw-rw-r-- 1 jenkins jenkins 9619 May 14 03:46 Attribution.txt [2024-05-14T03:48:56.276Z] -rw-rw-r-- 1 jenkins jenkins 15941 May 14 03:46 CHANGELOG.md [2024-05-14T03:48:56.276Z] -rw-rw-r-- 1 jenkins jenkins 1755 May 14 03:46 Dockerfile [2024-05-14T03:48:56.276Z] -rw-rw-r-- 1 jenkins jenkins 677 May 14 03:46 GOVERNANCE.md [2024-05-14T03:48:56.276Z] -rw-rw-r-- 1 jenkins jenkins 660 May 14 03:46 Jenkinsfile [2024-05-14T03:48:56.276Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 14 03:46 LICENSE [2024-05-14T03:48:56.276Z] -rw-rw-r-- 1 jenkins jenkins 1947 May 14 03:46 Makefile [2024-05-14T03:48:56.276Z] -rw-rw-r-- 1 jenkins jenkins 623 May 14 03:46 OWNERS.md [2024-05-14T03:48:56.276Z] -rw-rw-r-- 1 jenkins jenkins 4103 May 14 03:46 README.md [2024-05-14T03:48:56.276Z] -rw-rw-r-- 1 jenkins jenkins 5 May 14 03:47 VERSION [2024-05-14T03:48:56.276Z] drwxrwxr-x 2 jenkins jenkins 4096 May 14 03:46 bin [2024-05-14T03:48:56.276Z] drwxrwxr-x 3 jenkins jenkins 4096 May 14 03:46 cmd [2024-05-14T03:48:56.276Z] -rw-r--r-- 1 jenkins jenkins 43063 May 14 03:48 coverage.out [2024-05-14T03:48:56.276Z] -rw-rw-r-- 1 jenkins jenkins 3561 May 14 03:46 go.mod [2024-05-14T03:48:56.276Z] -rw-rw-r-- 1 jenkins jenkins 33591 May 14 03:46 go.sum [2024-05-14T03:48:56.276Z] drwxrwxr-x 3 jenkins jenkins 4096 May 14 03:46 internal [2024-05-14T03:48:56.276Z] drwxrwxr-x 6 jenkins jenkins 4096 May 14 03:46 vendor [2024-05-14T03:48:56.276Z] -rw-rw-r-- 1 jenkins jenkins 235 May 14 03:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T03:48:56.705Z] + 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=71a91b718c57a5882cfc45d31ff4efa42baeea47 --label arch=amd64 --label version=0.0.0 . [2024-05-14T03:48:56.965Z] Sending build context to Docker daemon 62.58MB [2024-05-14T03:48:56.965Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-05-14T03:48:56.965Z] Step 2/26 : FROM ${BASE} AS builder [2024-05-14T03:48:56.965Z] ---> fba52261660e [2024-05-14T03:48:56.965Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-14T03:48:58.345Z] ---> Running in ce3ab148f0ef [2024-05-14T03:48:58.345Z] Removing intermediate container ce3ab148f0ef [2024-05-14T03:48:58.345Z] ---> 54f52b15292e [2024-05-14T03:48:58.345Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-05-14T03:48:58.345Z] ---> Running in d91a857b7036 [2024-05-14T03:48:58.345Z] Removing intermediate container d91a857b7036 [2024-05-14T03:48:58.345Z] ---> f3e3488f7f7d [2024-05-14T03:48:58.345Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-05-14T03:48:58.345Z] ---> Running in 654678d54d27 [2024-05-14T03:48:58.345Z] Removing intermediate container 654678d54d27 [2024-05-14T03:48:58.345Z] ---> d3f2d70513e7 [2024-05-14T03:48:58.345Z] Step 6/26 : WORKDIR /device-virtual-go [2024-05-14T03:48:58.345Z] ---> Running in 00290310b89c [2024-05-14T03:48:58.345Z] Removing intermediate container 00290310b89c [2024-05-14T03:48:58.345Z] ---> 830b6720b598 [2024-05-14T03:48:58.345Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-14T03:48:58.345Z] ---> Running in 39bb6bce59d9 [2024-05-14T03:48:58.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-14T03:48:58.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-14T03:48:59.173Z] OK: 268 MiB in 56 packages [2024-05-14T03:48:59.433Z] Removing intermediate container 39bb6bce59d9 [2024-05-14T03:48:59.433Z] ---> a3c43fc9652c [2024-05-14T03:48:59.433Z] Step 8/26 : COPY go.mod vendor* ./ [2024-05-14T03:49:01.975Z] ---> b8882271d777 [2024-05-14T03:49:01.975Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-14T03:49:01.975Z] ---> Running in 92d144f7ce92 [2024-05-14T03:49:02.233Z] skipping... [2024-05-14T03:49:02.494Z] Removing intermediate container 92d144f7ce92 [2024-05-14T03:49:02.494Z] ---> 1d3488bc58d0 [2024-05-14T03:49:02.494Z] Step 10/26 : COPY . . [2024-05-14T03:49:06.697Z] ---> ed8f5c20a30e [2024-05-14T03:49:06.697Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-14T03:49:06.697Z] ---> Running in a2cf1fb8a67d [2024-05-14T03:49:06.697Z] Removing intermediate container a2cf1fb8a67d [2024-05-14T03:49:06.697Z] ---> 2df528452cc9 [2024-05-14T03:49:06.697Z] Step 12/26 : RUN $MAKE [2024-05-14T03:49:06.697Z] ---> Running in eaecd96fb338 [2024-05-14T03:49:06.697Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-05-14T03:49:18.841Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-151 in /w/workspace/foundry_device-virtual-go_PR-469 [Pipeline] { [Pipeline] ws [2024-05-14T03:49:18.921Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2024-05-14T03:49:19.032Z] The recommended git tool is: git [2024-05-14T03:49:23.313Z] using credential edgex-jenkins-ssh [2024-05-14T03:49:23.335Z] Cloning the remote Git repository [2024-05-14T03:49:23.370Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2024-05-14T03:49:23.456Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2024-05-14T03:49:23.581Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-05-14T03:49:23.582Z] > git --version # timeout=10 [2024-05-14T03:49:23.608Z] > git --version # 'git version 2.25.1' [2024-05-14T03:49:23.610Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-14T03:49:23.746Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-14T03:49:26.215Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-05-14T03:49:26.246Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-14T03:49:27.085Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-05-14T03:49:27.122Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-05-14T03:49:27.123Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-14T03:49:27.145Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/469/head:refs/remotes/origin/PR-469 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 [2024-05-14T03:49:28.547Z] Merging remotes/origin/napa commit 9bb147b67aac0611742908cfcb90cbbe5085f9b5 into PR head commit 71a91b718c57a5882cfc45d31ff4efa42baeea47 [2024-05-14T03:49:28.632Z] Removing intermediate container eaecd96fb338 [2024-05-14T03:49:28.632Z] ---> e5f4340bf525 [2024-05-14T03:49:28.632Z] Step 13/26 : FROM alpine:3.18 [2024-05-14T03:49:29.201Z] 3.18: Pulling from library/alpine [2024-05-14T03:49:29.201Z] 619be1103602: Already exists [2024-05-14T03:49:28.558Z] > git config core.sparsecheckout # timeout=10 [2024-05-14T03:49:28.632Z] > git checkout -f 71a91b718c57a5882cfc45d31ff4efa42baeea47 # timeout=10 [2024-05-14T03:49:29.578Z] Merge succeeded, producing 71a91b718c57a5882cfc45d31ff4efa42baeea47 [2024-05-14T03:49:29.579Z] Checking out Revision 71a91b718c57a5882cfc45d31ff4efa42baeea47 (PR-469) [2024-05-14T03:49:29.770Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-14T03:49:29.770Z] Status: Downloaded newer image for alpine:3.18 [2024-05-14T03:49:29.770Z] ---> d3782b16ccc9 [2024-05-14T03:49:29.770Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-05-14T03:49:29.770Z] ---> Running in 9869d32c2783 [2024-05-14T03:49:29.770Z] Removing intermediate container 9869d32c2783 [2024-05-14T03:49:29.770Z] ---> 68a3c269149f [2024-05-14T03:49:29.770Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-05-14T03:49:29.770Z] ---> Running in 94898e00a905 [2024-05-14T03:49:30.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-14T03:49:30.675Z] Commit message: "build: Bump Device SDK v3.1.1" [2024-05-14T03:49:29.475Z] > git remote # timeout=10 [2024-05-14T03:49:29.492Z] > git config --get remote.origin.url # timeout=10 [2024-05-14T03:49:29.514Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-14T03:49:29.533Z] > git merge 9bb147b67aac0611742908cfcb90cbbe5085f9b5 # timeout=10 [2024-05-14T03:49:29.561Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-05-14T03:49:29.584Z] > git config core.sparsecheckout # timeout=10 [2024-05-14T03:49:29.601Z] > git checkout -f 71a91b718c57a5882cfc45d31ff4efa42baeea47 # timeout=10 [2024-05-14T03:49:30.710Z] > git --version # timeout=10 [2024-05-14T03:49:30.720Z] > git --version # 'git version 2.25.1' [2024-05-14T03:49:30.735Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-14T03:49:33.328Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-14T03:49:33.328Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-14T03:49:33.329Z] Executing busybox-1.36.1-r5.trigger [2024-05-14T03:49:33.329Z] OK: 7 MiB in 16 packages [2024-05-14T03:49:33.329Z] Removing intermediate container 94898e00a905 [2024-05-14T03:49:33.329Z] ---> 4cec7ec54f8a [2024-05-14T03:49:33.329Z] Step 16/26 : RUN apk --no-cache upgrade [2024-05-14T03:49:33.329Z] ---> Running in 7ba55ba93dde [2024-05-14T03:49:33.898Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-14T03:49:33.898Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-14T03:49:34.159Z] Upgrading critical system libraries and apk-tools: [2024-05-14T03:49:34.159Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-14T03:49:34.159Z] Executing busybox-1.36.1-r5.trigger [2024-05-14T03:49:34.159Z] Continuing the upgrade transaction with new apk-tools: [2024-05-14T03:49:34.159Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-14T03:49:34.159Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-14T03:49:34.422Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-14T03:49:34.422Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-14T03:49:34.422Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-14T03:49:34.422Z] OK: 7 MiB in 16 packages [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-14T03:49:35.378Z] Removing intermediate container 7ba55ba93dde [2024-05-14T03:49:35.378Z] ---> fe645a6ce60c [2024-05-14T03:49:35.378Z] Step 17/26 : WORKDIR / [2024-05-14T03:49:35.378Z] ---> Running in 51e29824c4bc [2024-05-14T03:49:35.378Z] Removing intermediate container 51e29824c4bc [2024-05-14T03:49:35.378Z] ---> 12a5e43b627c [2024-05-14T03:49:35.378Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-05-14T03:49:35.378Z] ---> 09e1fe3994d1 [2024-05-14T03:49:35.379Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-05-14T03:49:35.563Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-14T03:49:35.563Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-14T03:49:35.563Z] Dload Upload Total Spent Left Speed [2024-05-14T03:49:35.563Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 117k 0 --:--:-- --:--:-- --:--:-- 118k [Pipeline] sh [2024-05-14T03:49:35.638Z] ---> a82c6654131a [2024-05-14T03:49:35.638Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-05-14T03:49:35.909Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-14T03:49:36.253Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-14T03:49:36.253Z] + sudo tee /etc/docker/daemon.new [2024-05-14T03:49:36.253Z] { [2024-05-14T03:49:36.253Z] "registry-mirrors": [ [2024-05-14T03:49:36.253Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-14T03:49:36.253Z] ], [2024-05-14T03:49:36.253Z] "bip": "10.250.0.254/24", [2024-05-14T03:49:36.253Z] "hosts": [ [2024-05-14T03:49:36.253Z] "tcp://0.0.0.0:5555", [2024-05-14T03:49:36.253Z] "unix:///var/run/docker.sock" [2024-05-14T03:49:36.253Z] ], [2024-05-14T03:49:36.253Z] "mtu": 1458, [2024-05-14T03:49:36.253Z] "selinux-enabled": true, [2024-05-14T03:49:36.253Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-14T03:49:36.253Z] } [Pipeline] sh [2024-05-14T03:49:36.603Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-14T03:49:36.952Z] + sudo service docker restart [2024-05-14T03:49:37.094Z] ---> b992051afd68 [2024-05-14T03:49:37.094Z] Step 21/26 : EXPOSE 59900 [2024-05-14T03:49:37.094Z] ---> Running in e07fe065f888 [2024-05-14T03:49:37.094Z] Removing intermediate container e07fe065f888 [2024-05-14T03:49:37.094Z] ---> 70e3686b04bb [2024-05-14T03:49:37.094Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-05-14T03:49:37.094Z] ---> Running in 2f5126cda2be [2024-05-14T03:49:37.094Z] Removing intermediate container 2f5126cda2be [2024-05-14T03:49:37.094Z] ---> 329e968d6b9d [2024-05-14T03:49:37.094Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-14T03:49:37.094Z] ---> Running in e166eb0deb7e [2024-05-14T03:49:37.094Z] Removing intermediate container e166eb0deb7e [2024-05-14T03:49:37.094Z] ---> 6bc17e6eef3a [2024-05-14T03:49:37.094Z] Step 24/26 : LABEL arch=amd64 [2024-05-14T03:49:37.094Z] ---> Running in 476545e1b52c [2024-05-14T03:49:37.094Z] Removing intermediate container 476545e1b52c [2024-05-14T03:49:37.094Z] ---> f86b39188dbe [2024-05-14T03:49:37.094Z] Step 25/26 : LABEL git_sha=71a91b718c57a5882cfc45d31ff4efa42baeea47 [2024-05-14T03:49:37.094Z] ---> Running in 7528a8c621e1 [2024-05-14T03:49:37.355Z] Removing intermediate container 7528a8c621e1 [2024-05-14T03:49:37.355Z] ---> 92e029410e1d [2024-05-14T03:49:37.355Z] Step 26/26 : LABEL version=0.0.0 [2024-05-14T03:49:37.355Z] ---> Running in fe8b75c7c96a [2024-05-14T03:49:37.355Z] Removing intermediate container fe8b75c7c96a [2024-05-14T03:49:37.355Z] ---> eb262c91509a [2024-05-14T03:49:37.355Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-14T03:49:37.355Z] Successfully built eb262c91509a [2024-05-14T03:49:37.355Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T03:49:38.487Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-14T03:49:38.487Z] [2024-05-14T03:49:38.487Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T03:49:38.901Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-14T03:49:38.901Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-14T03:49:38.901Z] 5eb5b503b376: Pulling fs layer [2024-05-14T03:49:38.901Z] 5c69ac0246d0: Pulling fs layer [2024-05-14T03:49:38.901Z] ec43610c2a17: Pulling fs layer [2024-05-14T03:49:38.901Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-14T03:49:38.901Z] 33b1e0a273af: Pulling fs layer [2024-05-14T03:49:38.901Z] 5d3b04190fa2: Pulling fs layer [2024-05-14T03:49:38.901Z] 2f39f015ded8: Pulling fs layer [2024-05-14T03:49:38.901Z] 3a2ae6a8a46f: Waiting [2024-05-14T03:49:38.901Z] 33b1e0a273af: Waiting [2024-05-14T03:49:38.901Z] 5d3b04190fa2: Waiting [2024-05-14T03:49:38.901Z] 2f39f015ded8: Waiting [2024-05-14T03:49:38.901Z] 5c69ac0246d0: Verifying Checksum [2024-05-14T03:49:38.901Z] 5c69ac0246d0: Download complete [2024-05-14T03:49:38.901Z] 3a2ae6a8a46f: Verifying Checksum [2024-05-14T03:49:38.901Z] 3a2ae6a8a46f: Download complete [2024-05-14T03:49:38.901Z] 33b1e0a273af: Verifying Checksum [2024-05-14T03:49:38.901Z] 33b1e0a273af: Download complete [2024-05-14T03:49:38.901Z] 5d3b04190fa2: Verifying Checksum [2024-05-14T03:49:38.901Z] 5d3b04190fa2: Download complete [2024-05-14T03:49:38.901Z] ec43610c2a17: Verifying Checksum [2024-05-14T03:49:38.901Z] ec43610c2a17: Download complete [2024-05-14T03:49:39.163Z] 5eb5b503b376: Verifying Checksum [2024-05-14T03:49:39.163Z] 5eb5b503b376: Download complete [2024-05-14T03:49:39.732Z] 2f39f015ded8: Verifying Checksum [2024-05-14T03:49:39.732Z] 2f39f015ded8: Download complete [2024-05-14T03:49:40.345Z] 5eb5b503b376: Pull complete [2024-05-14T03:49:40.605Z] 5c69ac0246d0: Pull complete [2024-05-14T03:49:41.173Z] ec43610c2a17: Pull complete [2024-05-14T03:49:41.173Z] 3a2ae6a8a46f: Pull complete [2024-05-14T03:49:41.432Z] 33b1e0a273af: Pull complete [2024-05-14T03:49:41.432Z] 5d3b04190fa2: Pull complete [2024-05-14T03:49:46.706Z] 2f39f015ded8: Pull complete [2024-05-14T03:49:46.706Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-14T03:49:46.706Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-14T03:49:46.706Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-14T03:49:47.000Z] prd-ubuntu20.04-docker-8c-8g-150 does not seem to be running inside a container [2024-05-14T03:49:47.040Z] $ 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-469 -v /w/workspace/foundry_device-virtual-go_PR-469:/w/workspace/foundry_device-virtual-go_PR-469:rw,z -v /w/workspace/foundry_device-virtual-go_PR-469@tmp:/w/workspace/foundry_device-virtual-go_PR-469@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-14T03:49:53.805Z] $ docker top c9045fd1ec8f32cc94f34c5d893a0fcd2b2210e4b11757f0ea7e86e98197967c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-14T03:49:54.313Z] ---> job-cost.sh [2024-05-14T03:49:54.313Z] lf-activate-venv: SKIPPING [2024-05-14T03:49:54.313Z] INFO: No Stack... [2024-05-14T03:49:54.573Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-14T03:49:55.144Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-14T03:49:55.368Z] provisioning config files... [2024-05-14T03:49:55.395Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config15691366705263412067tmp [Pipeline] { [Pipeline] libraryResource [2024-05-14T03:49:55.481Z] + cat /w/workspace/foundry_device-virtual-go_PR-469/archives/cost.csv [2024-05-14T03:49:55.481Z] + cut -d, -f6 [Pipeline] sh [Pipeline] lock [2024-05-14T03:49:55.733Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-469-1-stack-cost] [2024-05-14T03:49:55.741Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-469-1-stack-cost] did not exist. Created. [2024-05-14T03:49:55.749Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-469-1-stack-cost] [Pipeline] { [Pipeline] unstash [2024-05-14T03:49:55.900Z] ---> ****-login.sh [2024-05-14T03:49:55.900Z] nexus3.edgexfoundry.org:10001 [Pipeline] sh [2024-05-14T03:49:56.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T03:49:56.210Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-14T03:49:56.302Z] Stashed 1 file(s) [Pipeline] } [2024-05-14T03:49:56.322Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-469-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-14T03:49:56.427Z] $ docker stop --time=1 c9045fd1ec8f32cc94f34c5d893a0fcd2b2210e4b11757f0ea7e86e98197967c [2024-05-14T03:49:56.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T03:49:56.442Z] Configure a credential helper to remove this warning. See [2024-05-14T03:49:56.442Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T03:49:56.442Z] [2024-05-14T03:49:56.442Z] Login Succeeded [2024-05-14T03:49:56.442Z] nexus3.edgexfoundry.org:10002 [2024-05-14T03:49:56.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T03:49:56.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T03:49:56.713Z] Configure a credential helper to remove this warning. See [2024-05-14T03:49:56.713Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T03:49:56.713Z] [2024-05-14T03:49:56.713Z] Login Succeeded [2024-05-14T03:49:56.713Z] nexus3.edgexfoundry.org:10003 [2024-05-14T03:49:56.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T03:49:57.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T03:49:57.259Z] Configure a credential helper to remove this warning. See [2024-05-14T03:49:57.259Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T03:49:57.259Z] [2024-05-14T03:49:57.259Z] Login Succeeded [2024-05-14T03:49:57.259Z] nexus3.edgexfoundry.org:10004 [2024-05-14T03:49:57.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-14T03:49:57.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T03:49:57.528Z] Configure a credential helper to remove this warning. See [2024-05-14T03:49:57.528Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T03:49:57.528Z] [2024-05-14T03:49:57.528Z] Login Succeeded [2024-05-14T03:49:57.528Z] ****.io [2024-05-14T03:49:57.583Z] $ docker rm -f --volumes c9045fd1ec8f32cc94f34c5d893a0fcd2b2210e4b11757f0ea7e86e98197967c [Pipeline] // withDockerContainer [Pipeline] } [2024-05-14T03:49:57.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-14T03:49:58.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-14T03:49:58.381Z] Configure a credential helper to remove this warning. See [2024-05-14T03:49:58.381Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-14T03:49:58.381Z] [2024-05-14T03:49:58.381Z] Login Succeeded [2024-05-14T03:49:58.381Z] ---> ****-login.sh ends [Pipeline] } [2024-05-14T03:49:58.416Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-14T03:49:58.871Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-14T03:49:59.215Z] + + cutgrep -d ^go [0-9].[0-9]* -f go.mod 2 [2024-05-14T03:49:59.215Z] [Pipeline] echo [2024-05-14T03:49:59.304Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-14T03:49:59.352Z] ========================================================= [2024-05-14T03:49:59.352Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] [2024-05-14T03:49:59.352Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T03:49:59.904Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-14T03:50:02.502Z] Sending build context to Docker daemon 46.81MB [2024-05-14T03:50:02.502Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-14T03:50:02.502Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-14T03:50:02.502Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-14T03:50:02.502Z] c6b39de5b339: Pulling fs layer [2024-05-14T03:50:02.502Z] a69c41024577: Pulling fs layer [2024-05-14T03:50:02.502Z] d6de4b400683: Pulling fs layer [2024-05-14T03:50:02.502Z] 35cb2a7552d0: Pulling fs layer [2024-05-14T03:50:02.502Z] 4f4fb700ef54: Pulling fs layer [2024-05-14T03:50:02.502Z] 9e011611b7f5: Pulling fs layer [2024-05-14T03:50:02.502Z] 3bd174042beb: Pulling fs layer [2024-05-14T03:50:02.502Z] 4476f39b5e91: Pulling fs layer [2024-05-14T03:50:02.502Z] 4f4fb700ef54: Waiting [2024-05-14T03:50:02.502Z] 9e011611b7f5: Waiting [2024-05-14T03:50:02.502Z] 3bd174042beb: Waiting [2024-05-14T03:50:02.502Z] 35cb2a7552d0: Waiting [2024-05-14T03:50:02.502Z] 4476f39b5e91: Waiting [2024-05-14T03:50:02.502Z] a69c41024577: Verifying Checksum [2024-05-14T03:50:02.502Z] a69c41024577: Download complete [2024-05-14T03:50:02.502Z] 35cb2a7552d0: Verifying Checksum [2024-05-14T03:50:02.502Z] 35cb2a7552d0: Download complete [2024-05-14T03:50:02.502Z] 4f4fb700ef54: Verifying Checksum [2024-05-14T03:50:02.502Z] 4f4fb700ef54: Download complete [2024-05-14T03:50:02.502Z] 9e011611b7f5: Verifying Checksum [2024-05-14T03:50:02.502Z] 9e011611b7f5: Download complete [2024-05-14T03:50:02.502Z] c6b39de5b339: Download complete [2024-05-14T03:50:02.770Z] 4476f39b5e91: Verifying Checksum [2024-05-14T03:50:02.770Z] 4476f39b5e91: Download complete [2024-05-14T03:50:03.365Z] c6b39de5b339: Pull complete [2024-05-14T03:50:03.946Z] a69c41024577: Pull complete [2024-05-14T03:50:04.213Z] d6de4b400683: Verifying Checksum [2024-05-14T03:50:04.213Z] d6de4b400683: Download complete [2024-05-14T03:50:05.183Z] 3bd174042beb: Verifying Checksum [2024-05-14T03:50:05.183Z] 3bd174042beb: Download complete [2024-05-14T03:50:17.512Z] d6de4b400683: Pull complete [2024-05-14T03:50:17.512Z] 35cb2a7552d0: Pull complete [2024-05-14T03:50:17.512Z] 4f4fb700ef54: Pull complete [2024-05-14T03:50:17.512Z] 9e011611b7f5: Pull complete [2024-05-14T03:50:25.718Z] 3bd174042beb: Pull complete [2024-05-14T03:50:27.655Z] 4476f39b5e91: Pull complete [2024-05-14T03:50:27.655Z] Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 [2024-05-14T03:50:27.655Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts [2024-05-14T03:50:27.655Z] ---> 981a0608b64a [2024-05-14T03:50:27.655Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-14T03:50:29.597Z] ---> Running in 07faef01e77e [2024-05-14T03:50:29.597Z] Removing intermediate container 07faef01e77e [2024-05-14T03:50:29.597Z] ---> eec7c0554af1 [2024-05-14T03:50:29.597Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-14T03:50:29.869Z] ---> Running in 19989164b0d6 [2024-05-14T03:50:30.138Z] Removing intermediate container 19989164b0d6 [2024-05-14T03:50:30.138Z] ---> 2edcb518b3f4 [2024-05-14T03:50:30.138Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-05-14T03:50:30.138Z] ---> Running in 43f06d9ba831 [2024-05-14T03:50:30.405Z] Removing intermediate container 43f06d9ba831 [2024-05-14T03:50:30.405Z] ---> 3a23824d767f [2024-05-14T03:50:30.405Z] Step 6/12 : WORKDIR /device-virtual-go [2024-05-14T03:50:30.405Z] ---> Running in f92eb408e3e2 [2024-05-14T03:50:30.674Z] Removing intermediate container f92eb408e3e2 [2024-05-14T03:50:30.674Z] ---> 68e0a72e040e [2024-05-14T03:50:30.674Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-14T03:50:30.942Z] ---> Running in 9e7f16e0ced8 [2024-05-14T03:50:31.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-14T03:50:32.173Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-14T03:50:33.131Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-14T03:50:33.131Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-14T03:50:33.131Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-14T03:50:33.131Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-14T03:50:33.401Z] Executing busybox-1.36.1-r5.trigger [2024-05-14T03:50:33.401Z] OK: 271 MiB in 56 packages [2024-05-14T03:50:34.369Z] Removing intermediate container 9e7f16e0ced8 [2024-05-14T03:50:34.369Z] ---> e646e8ed089e [2024-05-14T03:50:34.369Z] Step 8/12 : COPY go.mod vendor* ./ [2024-05-14T03:50:41.014Z] ---> 63c229f952a5 [2024-05-14T03:50:41.014Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-14T03:50:41.014Z] ---> Running in 6ae62639cbd2 [2024-05-14T03:51:37.399Z] Removing intermediate container 6ae62639cbd2 [2024-05-14T03:51:37.399Z] ---> 265b7856275f [2024-05-14T03:51:37.399Z] Step 10/12 : COPY . . [2024-05-14T03:51:39.358Z] ---> 99c33f18027f [2024-05-14T03:51:39.358Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-14T03:51:39.358Z] ---> Running in bf0d57d0a163 [2024-05-14T03:51:39.627Z] Removing intermediate container bf0d57d0a163 [2024-05-14T03:51:39.627Z] ---> 3c5d5cc0fdfe [2024-05-14T03:51:39.627Z] Step 12/12 : RUN $MAKE [2024-05-14T03:51:39.909Z] ---> Running in 22c5bd6b8b54 [2024-05-14T03:51:40.873Z] noop [2024-05-14T03:51:41.453Z] Removing intermediate container 22c5bd6b8b54 [2024-05-14T03:51:41.453Z] ---> cb88aee22b23 [2024-05-14T03:51:41.717Z] Successfully built cb88aee22b23 [2024-05-14T03:51:41.717Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T03:51:42.228Z] + docker inspect -f . ci-base-image-arm64 [2024-05-14T03:51:42.228Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-14T03:51:42.525Z] prd-ubuntu20.04-docker-arm64-4c-16g-151 does not seem to be running inside a container [2024-05-14T03:51:42.590Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-14T03:51:43.745Z] $ docker top f3386b3f077d8f4639acdb64ef5fad0afedd361a39a28fd4def4d17cf86aca8f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-14T03:51:44.641Z] + go version [2024-05-14T03:51:44.641Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-14T03:51:44.669Z] $ docker stop --time=1 f3386b3f077d8f4639acdb64ef5fad0afedd361a39a28fd4def4d17cf86aca8f [2024-05-14T03:51:46.269Z] $ docker rm -f --volumes f3386b3f077d8f4639acdb64ef5fad0afedd361a39a28fd4def4d17cf86aca8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T03:51:47.248Z] + docker inspect -f . ci-base-image-arm64 [2024-05-14T03:51:47.248Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-14T03:51:47.517Z] prd-ubuntu20.04-docker-arm64-4c-16g-151 does not seem to be running inside a container [2024-05-14T03:51:47.575Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-14T03:51:48.875Z] $ docker top 4582e793dec7daf2254b729adf62bdbc64562346f2e60ff2dcf72e89386a5576 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-14T03:51:49.495Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2024-05-14T03:51:49.963Z] + make test [2024-05-14T03:51:49.963Z] go test ./... -coverprofile=coverage.out [2024-05-14T03:51:52.553Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-05-14T03:53:44.238Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-05-14T03:53:44.238Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.090s coverage: 58.4% of statements [2024-05-14T03:53:44.238Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-14T03:53:44.238Z] go vet ./... [2024-05-14T03:54:06.324Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-14T03:54:06.324Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-14T03:54:06.324Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-14T03:54:06.377Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-14T03:54:07.169Z] + go mod tidy [Pipeline] } [2024-05-14T03:54:10.535Z] $ docker stop --time=1 4582e793dec7daf2254b729adf62bdbc64562346f2e60ff2dcf72e89386a5576 [2024-05-14T03:54:12.413Z] $ docker rm -f --volumes 4582e793dec7daf2254b729adf62bdbc64562346f2e60ff2dcf72e89386a5576 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-14T03:54:13.711Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-14T03:54:13.751Z] Warning: overwriting stash ‘coverage-report’ [2024-05-14T03:54:14.599Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-14T03:54:15.284Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-14T03:54:15.623Z] + ls -al . [2024-05-14T03:54:15.623Z] total 200 [2024-05-14T03:54:15.623Z] drwxrwxr-x 8 jenkins jenkins 4096 May 14 03:51 . [2024-05-14T03:54:15.623Z] drwxrwxr-x 4 jenkins jenkins 4096 May 14 03:49 .. [2024-05-14T03:54:15.623Z] drwxrwxr-x 8 jenkins jenkins 4096 May 14 03:49 .git [2024-05-14T03:54:15.623Z] drwxrwxr-x 3 jenkins jenkins 4096 May 14 03:49 .github [2024-05-14T03:54:15.623Z] -rw-rw-r-- 1 jenkins jenkins 264 May 14 03:49 .gitignore [2024-05-14T03:54:15.623Z] -rw-rw-r-- 1 jenkins jenkins 41 May 14 03:49 .golangci.yml [2024-05-14T03:54:15.623Z] -rw-rw-r-- 1 jenkins jenkins 9619 May 14 03:49 Attribution.txt [2024-05-14T03:54:15.623Z] -rw-rw-r-- 1 jenkins jenkins 15941 May 14 03:49 CHANGELOG.md [2024-05-14T03:54:15.623Z] -rw-rw-r-- 1 jenkins jenkins 1755 May 14 03:49 Dockerfile [2024-05-14T03:54:15.623Z] -rw-rw-r-- 1 jenkins jenkins 677 May 14 03:49 GOVERNANCE.md [2024-05-14T03:54:15.623Z] -rw-rw-r-- 1 jenkins jenkins 660 May 14 03:49 Jenkinsfile [2024-05-14T03:54:15.623Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 14 03:49 LICENSE [2024-05-14T03:54:15.623Z] -rw-rw-r-- 1 jenkins jenkins 1947 May 14 03:49 Makefile [2024-05-14T03:54:15.623Z] -rw-rw-r-- 1 jenkins jenkins 623 May 14 03:49 OWNERS.md [2024-05-14T03:54:15.623Z] -rw-rw-r-- 1 jenkins jenkins 4103 May 14 03:49 README.md [2024-05-14T03:54:15.623Z] -rw-rw-r-- 1 jenkins jenkins 5 May 14 03:47 VERSION [2024-05-14T03:54:15.623Z] drwxrwxr-x 2 jenkins jenkins 4096 May 14 03:49 bin [2024-05-14T03:54:15.623Z] drwxrwxr-x 3 jenkins jenkins 4096 May 14 03:49 cmd [2024-05-14T03:54:15.623Z] -rw-r--r-- 1 jenkins jenkins 43063 May 14 03:53 coverage.out [2024-05-14T03:54:15.623Z] -rw-rw-r-- 1 jenkins jenkins 3561 May 14 03:49 go.mod [2024-05-14T03:54:15.623Z] -rw-rw-r-- 1 jenkins jenkins 33591 May 14 03:49 go.sum [2024-05-14T03:54:15.623Z] drwxrwxr-x 3 jenkins jenkins 4096 May 14 03:49 internal [2024-05-14T03:54:15.623Z] drwxrwxr-x 6 jenkins jenkins 4096 May 14 03:49 vendor [2024-05-14T03:54:15.623Z] -rw-rw-r-- 1 jenkins jenkins 235 May 14 03:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T03:54:16.083Z] + 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=71a91b718c57a5882cfc45d31ff4efa42baeea47 --label arch=arm64 --label version=0.0.0 . [2024-05-14T03:54:18.651Z] Sending build context to Docker daemon 46.85MB [2024-05-14T03:54:18.651Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-05-14T03:54:18.651Z] Step 2/26 : FROM ${BASE} AS builder [2024-05-14T03:54:18.651Z] ---> cb88aee22b23 [2024-05-14T03:54:18.651Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-14T03:54:18.651Z] ---> Running in 45c0e15127cf [2024-05-14T03:54:19.229Z] Removing intermediate container 45c0e15127cf [2024-05-14T03:54:19.230Z] ---> 9cc416dd9593 [2024-05-14T03:54:19.230Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-05-14T03:54:19.230Z] ---> Running in e78e3031cac3 [2024-05-14T03:54:19.496Z] Removing intermediate container e78e3031cac3 [2024-05-14T03:54:19.496Z] ---> 49ff0a9dc26f [2024-05-14T03:54:19.496Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-05-14T03:54:19.496Z] ---> Running in de10573bef85 [2024-05-14T03:54:19.762Z] Removing intermediate container de10573bef85 [2024-05-14T03:54:19.762Z] ---> 3d895ff9436b [2024-05-14T03:54:19.762Z] Step 6/26 : WORKDIR /device-virtual-go [2024-05-14T03:54:19.762Z] ---> Running in aaa1602a0140 [2024-05-14T03:54:20.030Z] Removing intermediate container aaa1602a0140 [2024-05-14T03:54:20.030Z] ---> 2ffea11748b6 [2024-05-14T03:54:20.030Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-14T03:54:20.301Z] ---> Running in 4583f24d5a23 [2024-05-14T03:54:21.262Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-14T03:54:21.527Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-14T03:54:22.483Z] OK: 271 MiB in 56 packages [2024-05-14T03:54:23.440Z] Removing intermediate container 4583f24d5a23 [2024-05-14T03:54:23.440Z] ---> e759749cd9af [2024-05-14T03:54:23.440Z] Step 8/26 : COPY go.mod vendor* ./ [2024-05-14T03:54:30.090Z] ---> e636059a03e0 [2024-05-14T03:54:30.090Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-14T03:54:30.090Z] ---> Running in b7d2ef33c71e [2024-05-14T03:54:31.050Z] skipping... [2024-05-14T03:54:31.631Z] Removing intermediate container b7d2ef33c71e [2024-05-14T03:54:31.631Z] ---> 05c7a6a02f2a [2024-05-14T03:54:31.631Z] Step 10/26 : COPY . . [2024-05-14T03:54:39.919Z] ---> 9d19f79efcf7 [2024-05-14T03:54:39.919Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-14T03:54:39.919Z] ---> Running in 5d994158ccb5 [2024-05-14T03:54:39.919Z] Removing intermediate container 5d994158ccb5 [2024-05-14T03:54:39.919Z] ---> db9a1103dc79 [2024-05-14T03:54:39.919Z] Step 12/26 : RUN $MAKE [2024-05-14T03:54:39.919Z] ---> Running in a50d0ffb95f3 [2024-05-14T03:54:40.184Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-05-14T03:56:46.830Z] Removing intermediate container a50d0ffb95f3 [2024-05-14T03:56:46.830Z] ---> 3a716184b15d [2024-05-14T03:56:46.830Z] Step 13/26 : FROM alpine:3.18 [2024-05-14T03:56:46.830Z] 3.18: Pulling from library/alpine [2024-05-14T03:56:46.830Z] c6b39de5b339: Already exists [2024-05-14T03:56:46.830Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-14T03:56:46.830Z] Status: Downloaded newer image for alpine:3.18 [2024-05-14T03:56:46.830Z] ---> 33abbf032149 [2024-05-14T03:56:46.830Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-05-14T03:56:46.830Z] ---> Running in 0f4d88246980 [2024-05-14T03:56:46.830Z] Removing intermediate container 0f4d88246980 [2024-05-14T03:56:46.830Z] ---> a01aba40a643 [2024-05-14T03:56:46.830Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-05-14T03:56:46.830Z] ---> Running in 96f90741cfaf [2024-05-14T03:56:46.830Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-14T03:56:46.830Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-14T03:56:47.408Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-14T03:56:47.408Z] Executing busybox-1.36.1-r5.trigger [2024-05-14T03:56:47.408Z] OK: 8 MiB in 16 packages [2024-05-14T03:56:48.360Z] Removing intermediate container 96f90741cfaf [2024-05-14T03:56:48.360Z] ---> c74066784256 [2024-05-14T03:56:48.360Z] Step 16/26 : RUN apk --no-cache upgrade [2024-05-14T03:56:48.360Z] ---> Running in 5f1810d3b205 [2024-05-14T03:56:49.316Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-14T03:56:49.580Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-14T03:56:50.535Z] Upgrading critical system libraries and apk-tools: [2024-05-14T03:56:50.535Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-14T03:56:50.535Z] Executing busybox-1.36.1-r5.trigger [2024-05-14T03:56:50.801Z] Continuing the upgrade transaction with new apk-tools: [2024-05-14T03:56:50.801Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-14T03:56:51.065Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-14T03:56:52.017Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-14T03:56:52.017Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-14T03:56:52.017Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-14T03:56:52.017Z] OK: 8 MiB in 16 packages [2024-05-14T03:56:53.420Z] Removing intermediate container 5f1810d3b205 [2024-05-14T03:56:53.420Z] ---> 4241abf92ddf [2024-05-14T03:56:53.420Z] Step 17/26 : WORKDIR / [2024-05-14T03:56:53.420Z] ---> Running in bb5cde4300a1 [2024-05-14T03:56:53.420Z] Removing intermediate container bb5cde4300a1 [2024-05-14T03:56:53.420Z] ---> 59da5bc5f245 [2024-05-14T03:56:53.420Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-05-14T03:56:54.001Z] ---> b96c1132f4f8 [2024-05-14T03:56:54.001Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-05-14T03:56:54.582Z] ---> 09ac3f4ec898 [2024-05-14T03:56:54.582Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-05-14T03:56:55.983Z] ---> 88983a29c8a3 [2024-05-14T03:56:55.983Z] Step 21/26 : EXPOSE 59900 [2024-05-14T03:56:55.983Z] ---> Running in 7c69cfb86525 [2024-05-14T03:56:56.251Z] Removing intermediate container 7c69cfb86525 [2024-05-14T03:56:56.251Z] ---> 62a75a443a5d [2024-05-14T03:56:56.251Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-05-14T03:56:56.516Z] ---> Running in cbdd0f895d6a [2024-05-14T03:56:56.783Z] Removing intermediate container cbdd0f895d6a [2024-05-14T03:56:56.783Z] ---> fe43ebe296f0 [2024-05-14T03:56:56.783Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-14T03:56:56.783Z] ---> Running in c2970311fd21 [2024-05-14T03:56:57.050Z] Removing intermediate container c2970311fd21 [2024-05-14T03:56:57.050Z] ---> eb6165dff846 [2024-05-14T03:56:57.050Z] Step 24/26 : LABEL arch=arm64 [2024-05-14T03:56:57.050Z] ---> Running in dc119d4842b5 [2024-05-14T03:56:57.316Z] Removing intermediate container dc119d4842b5 [2024-05-14T03:56:57.316Z] ---> a2b87abaeb5a [2024-05-14T03:56:57.316Z] Step 25/26 : LABEL git_sha=71a91b718c57a5882cfc45d31ff4efa42baeea47 [2024-05-14T03:56:57.596Z] ---> Running in b37ed05267a2 [2024-05-14T03:56:57.860Z] Removing intermediate container b37ed05267a2 [2024-05-14T03:56:57.860Z] ---> fa961bdd4aa2 [2024-05-14T03:56:57.860Z] Step 26/26 : LABEL version=0.0.0 [2024-05-14T03:56:57.860Z] ---> Running in 796bd0bc53a7 [2024-05-14T03:56:58.125Z] Removing intermediate container 796bd0bc53a7 [2024-05-14T03:56:58.125Z] ---> 88e585853c1b [2024-05-14T03:56:58.125Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-14T03:56:58.388Z] Successfully built 88e585853c1b [2024-05-14T03:56:58.388Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T03:56:59.340Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-14T03:56:59.340Z] [2024-05-14T03:56:59.340Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T03:56:59.774Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-14T03:56:59.774Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-14T03:56:59.774Z] 8998bd30e6a1: Pulling fs layer [2024-05-14T03:56:59.774Z] 04944245beec: Pulling fs layer [2024-05-14T03:56:59.774Z] 699f458cf7ca: Pulling fs layer [2024-05-14T03:56:59.774Z] 765212b225bb: Pulling fs layer [2024-05-14T03:56:59.774Z] f23df028b6ca: Pulling fs layer [2024-05-14T03:56:59.774Z] d65c8cfc05b1: Pulling fs layer [2024-05-14T03:56:59.774Z] 2437ff75d9bd: Pulling fs layer [2024-05-14T03:56:59.774Z] 765212b225bb: Waiting [2024-05-14T03:56:59.774Z] f23df028b6ca: Waiting [2024-05-14T03:56:59.774Z] d65c8cfc05b1: Waiting [2024-05-14T03:56:59.774Z] 2437ff75d9bd: Waiting [2024-05-14T03:57:00.043Z] 04944245beec: Verifying Checksum [2024-05-14T03:57:00.043Z] 04944245beec: Download complete [2024-05-14T03:57:00.043Z] 765212b225bb: Verifying Checksum [2024-05-14T03:57:00.043Z] 765212b225bb: Download complete [2024-05-14T03:57:00.043Z] f23df028b6ca: Download complete [2024-05-14T03:57:00.043Z] d65c8cfc05b1: Download complete [2024-05-14T03:57:00.310Z] 699f458cf7ca: Verifying Checksum [2024-05-14T03:57:00.310Z] 699f458cf7ca: Download complete [2024-05-14T03:57:00.576Z] 8998bd30e6a1: Download complete [2024-05-14T03:57:03.156Z] 2437ff75d9bd: Verifying Checksum [2024-05-14T03:57:03.156Z] 2437ff75d9bd: Download complete [2024-05-14T03:57:05.096Z] 8998bd30e6a1: Pull complete [2024-05-14T03:57:05.681Z] 04944245beec: Pull complete [2024-05-14T03:57:07.087Z] 699f458cf7ca: Pull complete [2024-05-14T03:57:07.352Z] 765212b225bb: Pull complete [2024-05-14T03:57:08.310Z] f23df028b6ca: Pull complete [2024-05-14T03:57:08.310Z] d65c8cfc05b1: Pull complete [2024-05-14T03:57:26.501Z] 2437ff75d9bd: Pull complete [2024-05-14T03:57:26.501Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-14T03:57:26.501Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-14T03:57:26.501Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-14T03:57:26.878Z] prd-ubuntu20.04-docker-arm64-4c-16g-151 does not seem to be running inside a container [2024-05-14T03:57:26.938Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-05-14T03:57:29.596Z] $ docker top bd636ead2b1f97f91fe21419f2d395b96e869a247e6329cbeb336dcbbb104c1e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-14T03:57:30.532Z] ---> job-cost.sh [2024-05-14T03:57:30.532Z] lf-activate-venv: SKIPPING [2024-05-14T03:57:30.532Z] INFO: No Stack... [2024-05-14T03:57:30.796Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-14T03:57:31.749Z] INFO: Archiving Costs [Pipeline] sh [2024-05-14T03:57:32.407Z] + + catcut /w/workspace/device-virtual-go/1/archives/cost.csv -d, [2024-05-14T03:57:32.407Z] -f6 [Pipeline] lock [2024-05-14T03:57:32.461Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-469-1-stack-cost] [2024-05-14T03:57:32.467Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-469-1-stack-cost] did not exist. Created. [2024-05-14T03:57:32.473Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-469-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-14T03:57:33.226Z] /w/workspace/device-virtual-go/1@tmp/durable-b362510b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-14T03:57:33.917Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-14T03:57:33.962Z] Warning: overwriting stash ‘stack-cost’ [2024-05-14T03:57:34.343Z] Stashed 1 file(s) [Pipeline] } [2024-05-14T03:57:34.372Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-469-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-14T03:57:34.473Z] $ docker stop --time=1 bd636ead2b1f97f91fe21419f2d395b96e869a247e6329cbeb336dcbbb104c1e [2024-05-14T03:57:36.011Z] $ docker rm -f --volumes bd636ead2b1f97f91fe21419f2d395b96e869a247e6329cbeb336dcbbb104c1e [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-05-14T03:57:37.243Z] provisioning config files... [2024-05-14T03:57:37.256Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-469@tmp/config14309749907264472363tmp [Pipeline] { [Pipeline] sh [2024-05-14T03:57:37.629Z] + set +x [2024-05-14T03:57:37.629Z] + curl -s https://codecov.io/bash [2024-05-14T03:57:37.629Z] + bash -s -- [2024-05-14T03:57:37.629Z] [2024-05-14T03:57:37.629Z] _____ _ [2024-05-14T03:57:37.629Z] / ____| | | [2024-05-14T03:57:37.629Z] | | ___ __| | ___ ___ _____ __ [2024-05-14T03:57:37.629Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-14T03:57:37.629Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-14T03:57:37.629Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-14T03:57:37.629Z] Bash-1.0.6 [2024-05-14T03:57:37.629Z] [2024-05-14T03:57:37.629Z] [2024-05-14T03:57:37.629Z] ==> git version 2.25.1 found [2024-05-14T03:57:37.629Z] ==> 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-05-14T03:57:37.629Z] Release-Date: 2020-01-08 [2024-05-14T03:57:37.629Z] 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-05-14T03:57:37.629Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-14T03:57:37.629Z] ==> Jenkins CI detected. [2024-05-14T03:57:37.629Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-469 [2024-05-14T03:57:37.629Z] project root: . [2024-05-14T03:57:37.629Z] --> token set from env [2024-05-14T03:57:37.629Z] Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml [2024-05-14T03:57:37.888Z] ==> Running gcov in . (disable via -X gcov) [2024-05-14T03:57:37.888Z] ==> Python coveragepy not found [2024-05-14T03:57:37.888Z] ==> Searching for coverage reports in: [2024-05-14T03:57:37.888Z] + . [2024-05-14T03:57:37.888Z] -> Found 1 reports [2024-05-14T03:57:37.888Z] ==> Detecting git/mercurial file structure [2024-05-14T03:57:37.888Z] ==> Reading reports [2024-05-14T03:57:37.888Z] + ./coverage.out bytes=43063 [2024-05-14T03:57:37.888Z] ==> Appending adjustments [2024-05-14T03:57:37.888Z] https://docs.codecov.io/docs/fixing-reports [2024-05-14T03:57:37.888Z] + Found adjustments [2024-05-14T03:57:37.888Z] ==> Gzipping contents [2024-05-14T03:57:37.888Z] 20K /tmp/codecov.ju1fnG.gz [2024-05-14T03:57:37.889Z] ==> Uploading reports [2024-05-14T03:57:37.889Z] url: https://codecov.io [2024-05-14T03:57:37.889Z] query: branch=PR-469&commit=71a91b718c57a5882cfc45d31ff4efa42baeea47&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-469%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=469&job=&cmd_args= [2024-05-14T03:57:38.149Z] -> Pinging Codecov [2024-05-14T03:57:38.149Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-469&commit=71a91b718c57a5882cfc45d31ff4efa42baeea47&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-469%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=469&job=&cmd_args= [2024-05-14T03:57:38.149Z] -> Uploading to [2024-05-14T03:57:38.149Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-14/5E52B4B073DB2E39498172D8E973AA87/71a91b718c57a5882cfc45d31ff4efa42baeea47/811ef95a-675a-4267-bb88-c78df331f291.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240514%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240514T035738Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=24b33233113e512efd4bde1e4594885dafbbb31e7dc5b688490d2241e90f6873 [2024-05-14T03:57:38.149Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-14T03:57:38.149Z] Dload Upload Total Spent Left Speed [2024-05-14T03:57:38.408Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16539 0 0 100 16539 0 66689 --:--:-- --:--:-- --:--:-- 66689 [2024-05-14T03:57:38.408Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/71a91b718c57a5882cfc45d31ff4efa42baeea47 [Pipeline] } [2024-05-14T03:57:38.438Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-05-14T03:57:40.877Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-469/archives ] [2024-05-14T03:57:40.877Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-469/archives [2024-05-14T03:57:40.877Z] total 16 [2024-05-14T03:57:40.877Z] drwxr-xr-x 3 root root 4096 May 14 03:49 . [2024-05-14T03:57:40.877Z] drwxrwxr-x 10 jenkins jenkins 4096 May 14 03:49 .. [2024-05-14T03:57:40.877Z] drwxr-xr-x 2 root root 4096 May 14 03:49 cost [2024-05-14T03:57:40.877Z] -rw-r--r-- 1 root root 89 May 14 03:49 cost.csv [2024-05-14T03:57:40.877Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-469/archives [2024-05-14T03:57:40.877Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-469/archives [2024-05-14T03:57:40.877Z] total 16 [2024-05-14T03:57:40.877Z] drwxr-xr-x 3 jenkins jenkins 4096 May 14 03:49 . [2024-05-14T03:57:40.877Z] drwxrwxr-x 10 jenkins jenkins 4096 May 14 03:49 .. [2024-05-14T03:57:40.877Z] drwxr-xr-x 2 jenkins jenkins 4096 May 14 03:49 cost [2024-05-14T03:57:40.877Z] -rw-r--r-- 1 jenkins jenkins 89 May 14 03:49 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-14T03:57:41.215Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-14T03:57:42.117Z] ---> package-listing.sh [2024-05-14T03:57:42.118Z] ++ facter osfamily [2024-05-14T03:57:42.118Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-14T03:57:42.376Z] + OS_FAMILY=debian [2024-05-14T03:57:42.376Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-469 [2024-05-14T03:57:42.376Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-14T03:57:42.376Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-14T03:57:42.376Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-14T03:57:42.376Z] + PACKAGES=/tmp/packages_start.txt [2024-05-14T03:57:42.376Z] + '[' /w/workspace/foundry_device-virtual-go_PR-469 ']' [2024-05-14T03:57:42.376Z] + PACKAGES=/tmp/packages_end.txt [2024-05-14T03:57:42.376Z] + case "${OS_FAMILY}" in [2024-05-14T03:57:42.376Z] + dpkg -l [2024-05-14T03:57:42.376Z] + grep '^ii' [2024-05-14T03:57:42.376Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-14T03:57:42.376Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-14T03:57:42.376Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-14T03:57:42.376Z] + '[' /w/workspace/foundry_device-virtual-go_PR-469 ']' [2024-05-14T03:57:42.376Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-469/archives/ [2024-05-14T03:57:42.376Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-469/archives/ [Pipeline] echo [2024-05-14T03:57:42.418Z] 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-469/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-14T03:57:42.721Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-14T03:57:43.421Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-14T03:57:43.421Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-14T03:57:43.655Z] prd-ubuntu20.04-docker-8c-8g-150 does not seem to be running inside a container [2024-05-14T03:57:43.743Z] $ 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-469/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-469 -v /w/workspace/foundry_device-virtual-go_PR-469:/w/workspace/foundry_device-virtual-go_PR-469:rw,z -v /w/workspace/foundry_device-virtual-go_PR-469@tmp:/w/workspace/foundry_device-virtual-go_PR-469@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-14T03:57:43.947Z] $ docker top 308de17787bc827992125f7719e847c87633ff96a1e19f5667c56fce23a1137f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-14T03:57:44.387Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-14T03:57:44.703Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-14T03:57:45.021Z] + ls /var/log/sa-host [2024-05-14T03:57:45.021Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-14T03:57:45.178Z] provisioning config files... [2024-05-14T03:57:45.188Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-469@tmp/config11965893923243524444tmp [Pipeline] { [Pipeline] echo [2024-05-14T03:57:45.253Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-14T03:57:45.577Z] ---> create-netrc.sh [Pipeline] } [2024-05-14T03:57:45.611Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-14T03:57:46.038Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-14T03:57:46.080Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-14T03:57:46.415Z] ---> sudo-logs.sh [2024-05-14T03:57:46.415Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-14T03:57:46.545Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-14T03:57:46.873Z] ---> job-cost.sh [2024-05-14T03:57:46.873Z] lf-activate-venv: SKIPPING [2024-05-14T03:57:46.873Z] DEBUG: total: 0.2199999988079071 [2024-05-14T03:57:46.873Z] INFO: Retrieving Stack Cost... [2024-05-14T03:57:47.441Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-14T03:57:47.700Z] INFO: Archiving Costs [Pipeline] echo [2024-05-14T03:57:47.741Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-14T03:57:48.067Z] ---> logs-deploy.sh [2024-05-14T03:57:48.067Z] lf-activate-venv: SKIPPING [2024-05-14T03:57:48.067Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-469/1 [2024-05-14T03:57:48.067Z] INFO: archiving workspace using pattern(s): [2024-05-14T03:57:49.010Z] Archives upload complete. [2024-05-14T03:57:49.270Z] INFO: archiving logs to Nexus