Pull request #1562 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9544082f048f76804b288fb0b402f10e684d59d4+4f47f79f53f1840767b32d78ce83479da4d392c8 (714cccc270d2c6e505e5d2bd1ee91ccae40469df) 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-ssh14884194225042713752.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-ssh2763795006042762242.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-sdk-go/branches/PR-1562/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-sdk-go/branches/PR-1562/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14015347952267019093.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-sdk-go/branches/PR-1562/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1943074678821686566.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-ssh9770755674728147864.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-sdk-go/branches/PR-1562/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-sdk-go/branches/PR-1562/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1155300513121305511.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-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 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 ‘prd-ubuntu20.04-docker-8c-8g-2151’ is offline Running on prd-ubuntu20.04-docker-8c-8g-2153 in /w/workspace/gexfoundry_device-sdk-go_PR-1562 [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-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1562 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1562/head:refs/remotes/origin/PR-1562 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4f47f79f53f1840767b32d78ce83479da4d392c8 into PR head commit 9544082f048f76804b288fb0b402f10e684d59d4 Merge succeeded, producing 9544082f048f76804b288fb0b402f10e684d59d4 Checking out Revision 9544082f048f76804b288fb0b402f10e684d59d4 (PR-1562) Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } > git config core.sparsecheckout # timeout=10 > git checkout -f 9544082f048f76804b288fb0b402f10e684d59d4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4f47f79f53f1840767b32d78ce83479da4d392c8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9544082f048f76804b288fb0b402f10e684d59d4 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-04T04:42:29.948Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-04T04:42:30.152Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-04T04:42:30.265Z] ========================================================= [2024-03-04T04:42:30.265Z] EdgeX Global Pipelines Version Info [2024-03-04T04:42:30.265Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-04T04:42:31.027Z] ------------------- [2024-03-04T04:42:31.027Z] stable info: [2024-03-04T04:42:31.027Z] ------------------- [2024-03-04T04:42:31.027Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-04T04:42:31.027Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-04T04:42:31.027Z] Message: update stable to v1.0.258 [2024-03-04T04:42:31.599Z] ------------------- [2024-03-04T04:42:31.599Z] experimental info: [2024-03-04T04:42:31.599Z] ------------------- [2024-03-04T04:42:31.599Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-04T04:42:31.599Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-04T04:42:31.599Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-04T04:42:31.838Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-03-04T04:42:31.896Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-03-04T04:42:31.953Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-04T04:42:32.008Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-04T04:42:32.066Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-04T04:42:32.127Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-04T04:42:32.186Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-04T04:42:32.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-03-04T04:42:32.306Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-04T04:42:32.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-04T04:42:32.425Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-04T04:42:32.487Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-03-04T04:42:32.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-04T04:42:32.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-04T04:42:32.674Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-04T04:42:32.738Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-03-04T04:42:32.803Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-04T04:42:32.869Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-04T04:42:32.940Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-04T04:42:33.004Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-04T04:42:33.070Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-03-04T04:42:33.137Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-03-04T04:42:33.204Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-04T04:42:33.270Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-04T04:42:33.343Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-04T04:42:33.413Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-04T04:42:33.482Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-04T04:42:33.555Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1562 [Pipeline] echo [2024-03-04T04:42:33.627Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1562 [Pipeline] echo [2024-03-04T04:42:33.700Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1562 [Pipeline] echo [2024-03-04T04:42:33.765Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9544082f048f76804b288fb0b402f10e684d59d4 [Pipeline] echo [2024-03-04T04:42:33.837Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9544082 [Pipeline] echo [2024-03-04T04:42:33.915Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-04T04:42:34.081Z] provisioning config files... [2024-03-04T04:42:34.117Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1562@tmp/config12094100216081320473tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-04T04:42:34.503Z] ---> ****-login.sh [2024-03-04T04:42:34.503Z] nexus3.edgexfoundry.org:10001 [2024-03-04T04:42:34.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T04:42:34.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T04:42:34.767Z] Configure a credential helper to remove this warning. See [2024-03-04T04:42:34.767Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T04:42:34.767Z] [2024-03-04T04:42:34.767Z] Login Succeeded [2024-03-04T04:42:34.767Z] nexus3.edgexfoundry.org:10002 [2024-03-04T04:42:35.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T04:42:35.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T04:42:35.029Z] Configure a credential helper to remove this warning. See [2024-03-04T04:42:35.029Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T04:42:35.029Z] [2024-03-04T04:42:35.029Z] Login Succeeded [2024-03-04T04:42:35.029Z] nexus3.edgexfoundry.org:10003 [2024-03-04T04:42:35.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T04:42:35.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T04:42:35.029Z] Configure a credential helper to remove this warning. See [2024-03-04T04:42:35.029Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T04:42:35.029Z] [2024-03-04T04:42:35.029Z] Login Succeeded [2024-03-04T04:42:35.029Z] nexus3.edgexfoundry.org:10004 [2024-03-04T04:42:35.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T04:42:35.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T04:42:35.292Z] Configure a credential helper to remove this warning. See [2024-03-04T04:42:35.292Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T04:42:35.292Z] [2024-03-04T04:42:35.292Z] Login Succeeded [2024-03-04T04:42:35.292Z] ****.io [2024-03-04T04:42:35.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T04:42:35.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T04:42:35.554Z] Configure a credential helper to remove this warning. See [2024-03-04T04:42:35.554Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T04:42:35.554Z] [2024-03-04T04:42:35.554Z] Login Succeeded [2024-03-04T04:42:35.554Z] ---> ****-login.sh ends [Pipeline] } [2024-03-04T04:42:35.585Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-04T04:42:36.372Z] + git rev-list -1 --merges 9544082f048f76804b288fb0b402f10e684d59d4~1..9544082f048f76804b288fb0b402f10e684d59d4 [Pipeline] echo [2024-03-04T04:42:36.413Z] -----------> git rev-list -1 --merges 9544082f048f76804b288fb0b402f10e684d59d4~1..9544082f048f76804b288fb0b402f10e684d59d4 9544082f048f76804b288fb0b402f10e684d59d4 [false] [Pipeline] sh [2024-03-04T04:42:36.741Z] + git log --format=format:%s -1 9544082f048f76804b288fb0b402f10e684d59d4 [Pipeline] echo [2024-03-04T04:42:36.781Z] ========================================================= [2024-03-04T04:42:36.781Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-04T04:42:36.781Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-04T04:42:37.260Z] + git log --format=format:%s -1 9544082f048f76804b288fb0b402f10e684d59d4 [Pipeline] echo [2024-03-04T04:42:37.296Z] [semverPrep] GIT_COMMIT: 9544082f048f76804b288fb0b402f10e684d59d4, Commit Message: build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 [Pipeline] echo [2024-03-04T04:42:37.348Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-04T04:42:37.788Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-04T04:42:37.788Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-04T04:42:37.788Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-04T04:42:37.788Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-04T04:42:37.788Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-03-04T04:42:37.788Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-04T04:42:37.788Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T04:42:38.286Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-04T04:42:38.286Z] [2024-03-04T04:42:38.286Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T04:42:38.685Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-04T04:42:38.685Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-04T04:42:38.685Z] b85a868b505f: Pulling fs layer [2024-03-04T04:42:38.685Z] e2be974225ed: Pulling fs layer [2024-03-04T04:42:38.685Z] 339a4e72a1f5: Pulling fs layer [2024-03-04T04:42:38.685Z] 988bab9f4d93: Pulling fs layer [2024-03-04T04:42:38.685Z] 1469e6f7b9e6: Pulling fs layer [2024-03-04T04:42:38.685Z] eaf3925da568: Pulling fs layer [2024-03-04T04:42:38.685Z] bab4dde63d76: Pulling fs layer [2024-03-04T04:42:38.685Z] bde34c3a00c8: Pulling fs layer [2024-03-04T04:42:38.685Z] b352a97aabf1: Pulling fs layer [2024-03-04T04:42:38.685Z] 4872d77fe225: Pulling fs layer [2024-03-04T04:42:38.685Z] 5851b861e8e6: Pulling fs layer [2024-03-04T04:42:38.685Z] 1469e6f7b9e6: Waiting [2024-03-04T04:42:38.685Z] 988bab9f4d93: Waiting [2024-03-04T04:42:38.685Z] 4872d77fe225: Waiting [2024-03-04T04:42:38.685Z] bde34c3a00c8: Waiting [2024-03-04T04:42:38.685Z] b352a97aabf1: Waiting [2024-03-04T04:42:38.685Z] bab4dde63d76: Waiting [2024-03-04T04:42:38.685Z] eaf3925da568: Waiting [2024-03-04T04:42:38.685Z] e2be974225ed: Download complete [2024-03-04T04:42:38.685Z] 988bab9f4d93: Verifying Checksum [2024-03-04T04:42:38.685Z] 988bab9f4d93: Download complete [2024-03-04T04:42:38.945Z] 1469e6f7b9e6: Verifying Checksum [2024-03-04T04:42:38.945Z] 1469e6f7b9e6: Download complete [2024-03-04T04:42:38.945Z] 339a4e72a1f5: Verifying Checksum [2024-03-04T04:42:38.945Z] 339a4e72a1f5: Download complete [2024-03-04T04:42:38.945Z] bde34c3a00c8: Download complete [2024-03-04T04:42:38.945Z] 4872d77fe225: Verifying Checksum [2024-03-04T04:42:38.945Z] 4872d77fe225: Download complete [2024-03-04T04:42:38.945Z] 5851b861e8e6: Download complete [2024-03-04T04:42:38.945Z] b85a868b505f: Verifying Checksum [2024-03-04T04:42:38.945Z] b85a868b505f: Download complete [2024-03-04T04:42:39.207Z] bab4dde63d76: Verifying Checksum [2024-03-04T04:42:39.207Z] bab4dde63d76: Download complete [2024-03-04T04:42:40.146Z] b85a868b505f: Pull complete [2024-03-04T04:42:40.407Z] e2be974225ed: Pull complete [2024-03-04T04:42:40.975Z] 339a4e72a1f5: Pull complete [2024-03-04T04:42:40.975Z] 988bab9f4d93: Pull complete [2024-03-04T04:42:41.244Z] 1469e6f7b9e6: Pull complete [2024-03-04T04:42:41.244Z] eaf3925da568: Pull complete [2024-03-04T04:42:43.162Z] bab4dde63d76: Pull complete [2024-03-04T04:42:43.163Z] bde34c3a00c8: Pull complete [2024-03-04T04:42:43.423Z] b352a97aabf1: Pull complete [2024-03-04T04:42:43.423Z] 4872d77fe225: Pull complete [2024-03-04T04:42:43.423Z] 5851b861e8e6: Pull complete [2024-03-04T04:42:43.684Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-04T04:42:43.684Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-04T04:42:43.684Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-04T04:42:44.053Z] prd-ubuntu20.04-docker-8c-8g-2153 does not seem to be running inside a container [2024-03-04T04:42:44.092Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1562 -v /w/workspace/gexfoundry_device-sdk-go_PR-1562:/w/workspace/gexfoundry_device-sdk-go_PR-1562:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1562@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1562@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-03-04T04:42:47.741Z] $ docker top f6fbbfb6a82a660f5361f99975b2357eeb9a7cca37e0c4214e21098f65f19635 -eo pid,comm [2024-03-04T04:42:47.801Z] 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-03-04T04:42:47.801Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-04T04:42:47.993Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-04T04:42:47.993Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-04T04:42:48.108Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-04T04:42:48.117Z] $ docker exec f6fbbfb6a82a660f5361f99975b2357eeb9a7cca37e0c4214e21098f65f19635 ssh-agent [2024-03-04T04:42:48.212Z] SSH_AUTH_SOCK=/tmp/ssh-C9ywInqSoIEu/agent.32 [2024-03-04T04:42:48.212Z] SSH_AGENT_PID=38 [2024-03-04T04:42:48.220Z] Running ssh-add (command line suppressed) [2024-03-04T04:42:48.324Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1562@tmp/private_key_18183197624972223288.key (/w/workspace/gexfoundry_device-sdk-go_PR-1562@tmp/private_key_18183197624972223288.key) [2024-03-04T04:42:48.333Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-04T04:42:48.691Z] + git tag --points-at HEAD [Pipeline] } [2024-03-04T04:42:48.721Z] $ docker exec --env ******** --env ******** f6fbbfb6a82a660f5361f99975b2357eeb9a7cca37e0c4214e21098f65f19635 ssh-agent -k [2024-03-04T04:42:48.832Z] unset SSH_AUTH_SOCK; [2024-03-04T04:42:48.833Z] unset SSH_AGENT_PID; [2024-03-04T04:42:48.833Z] echo Agent pid 38 killed; [2024-03-04T04:42:48.846Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-04T04:42:48.984Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-04T04:42:48.984Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-04T04:42:49.101Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-04T04:42:49.109Z] $ docker exec f6fbbfb6a82a660f5361f99975b2357eeb9a7cca37e0c4214e21098f65f19635 ssh-agent [2024-03-04T04:42:49.210Z] SSH_AUTH_SOCK=/tmp/ssh-anES7mqz1z4o/agent.70 [2024-03-04T04:42:49.210Z] SSH_AGENT_PID=77 [2024-03-04T04:42:49.214Z] Running ssh-add (command line suppressed) [2024-03-04T04:42:49.329Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1562@tmp/private_key_13065619112671317853.key (/w/workspace/gexfoundry_device-sdk-go_PR-1562@tmp/private_key_13065619112671317853.key) [2024-03-04T04:42:49.341Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-04T04:42:49.700Z] + git semver init [2024-03-04T04:42:49.961Z] 2024-03-04 04:42:49,899 [run_init] DEBUG init version:0.0.0 force:False [2024-03-04T04:42:49.961Z] 2024-03-04 04:42:49,900 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1562/.semver [2024-03-04T04:42:49.961Z] 2024-03-04 04:42:49,900 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1562/.semver [2024-03-04T04:42:49.961Z] 2024-03-04 04:42:49,901 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1562/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1562, universal_newlines=False, shell=None, istream=None) [2024-03-04T04:42:51.343Z] 2024-03-04 04:42:51,154 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1562/.git/info/exclude [2024-03-04T04:42:51.343Z] 2024-03-04 04:42:51,154 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1562/.semver/PR-1562 with force:False [2024-03-04T04:42:51.343Z] 2024-03-04 04:42:51,154 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1562/.semver/PR-1562 [2024-03-04T04:42:51.343Z] 2024-03-04 04:42:51,159 [execute] INFO git cat-file --batch-check [2024-03-04T04:42:51.343Z] 2024-03-04 04:42:51,160 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1562/.semver, universal_newlines=False, shell=None, istream=) [2024-03-04T04:42:51.343Z] 2024-03-04 04:42:51,166 [execute] INFO git cat-file --batch [2024-03-04T04:42:51.343Z] 2024-03-04 04:42:51,167 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1562/.semver, universal_newlines=False, shell=None, istream=) [2024-03-04T04:42:51.343Z] 2024-03-04 04:42:51,172 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1562/.semver/PR-1562 [2024-03-04T04:42:51.343Z] 0.0.0 [Pipeline] } [2024-03-04T04:42:51.374Z] $ docker exec --env ******** --env ******** f6fbbfb6a82a660f5361f99975b2357eeb9a7cca37e0c4214e21098f65f19635 ssh-agent -k [2024-03-04T04:42:51.474Z] unset SSH_AUTH_SOCK; [2024-03-04T04:42:51.475Z] unset SSH_AGENT_PID; [2024-03-04T04:42:51.476Z] echo Agent pid 77 killed; [2024-03-04T04:42:51.481Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-04T04:42:52.011Z] + git semver [Pipeline] } [2024-03-04T04:42:52.308Z] $ docker stop --time=1 f6fbbfb6a82a660f5361f99975b2357eeb9a7cca37e0c4214e21098f65f19635 [2024-03-04T04:42:53.585Z] $ docker rm -f --volumes f6fbbfb6a82a660f5361f99975b2357eeb9a7cca37e0c4214e21098f65f19635 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-04T04:42:54.036Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-04T04:42:54.373Z] Stashed 1 file(s) [Pipeline] echo [2024-03-04T04:42:54.391Z] [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-03-04T04:42:55.321Z] provisioning config files... [2024-03-04T04:42:55.335Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1562@tmp/config9814243611668479590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-04T04:42:55.732Z] ---> ****-login.sh [2024-03-04T04:42:55.732Z] nexus3.edgexfoundry.org:10001 [2024-03-04T04:42:55.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T04:42:55.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T04:42:55.732Z] Configure a credential helper to remove this warning. See [2024-03-04T04:42:55.732Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T04:42:55.732Z] [2024-03-04T04:42:55.732Z] Login Succeeded [2024-03-04T04:42:55.732Z] nexus3.edgexfoundry.org:10002 [2024-03-04T04:42:55.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T04:42:55.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T04:42:55.732Z] Configure a credential helper to remove this warning. See [2024-03-04T04:42:55.733Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T04:42:55.733Z] [2024-03-04T04:42:55.733Z] Login Succeeded [2024-03-04T04:42:55.733Z] nexus3.edgexfoundry.org:10003 [2024-03-04T04:42:55.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T04:42:55.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T04:42:55.993Z] Configure a credential helper to remove this warning. See [2024-03-04T04:42:55.993Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T04:42:55.993Z] [2024-03-04T04:42:55.993Z] Login Succeeded [2024-03-04T04:42:55.993Z] nexus3.edgexfoundry.org:10004 [2024-03-04T04:42:55.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T04:42:55.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T04:42:55.993Z] Configure a credential helper to remove this warning. See [2024-03-04T04:42:55.993Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T04:42:55.993Z] [2024-03-04T04:42:55.993Z] Login Succeeded [2024-03-04T04:42:55.993Z] ****.io [2024-03-04T04:42:56.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T04:42:56.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T04:42:56.253Z] Configure a credential helper to remove this warning. See [2024-03-04T04:42:56.253Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T04:42:56.253Z] [2024-03-04T04:42:56.253Z] Login Succeeded [2024-03-04T04:42:56.253Z] ---> ****-login.sh ends [Pipeline] } [2024-03-04T04:42:56.283Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-04T04:42:56.601Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-04T04:42:56.665Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-04T04:42:56.724Z] ========================================================= [2024-03-04T04:42:56.724Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-04T04:42:56.724Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T04:42:57.294Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-03-04T04:42:57.294Z] Sending build context to Docker daemon 21.96MB [2024-03-04T04:42:57.294Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-03-04T04:42:57.294Z] Step 2/10 : FROM ${BASE} AS builder [2024-03-04T04:42:57.553Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-04T04:42:57.553Z] 7264a8db6415: Pulling fs layer [2024-03-04T04:42:57.553Z] c4d48a809fc2: Pulling fs layer [2024-03-04T04:42:57.553Z] 4f1c88b9dad5: Pulling fs layer [2024-03-04T04:42:57.553Z] ad3a456e5733: Pulling fs layer [2024-03-04T04:42:57.553Z] 69c7f0334f64: Pulling fs layer [2024-03-04T04:42:57.553Z] 1f1c1a5573a3: Pulling fs layer [2024-03-04T04:42:57.553Z] ce7588e14bc9: Pulling fs layer [2024-03-04T04:42:57.553Z] b5e4710f87ac: Pulling fs layer [2024-03-04T04:42:57.553Z] ad3a456e5733: Waiting [2024-03-04T04:42:57.553Z] 1f1c1a5573a3: Waiting [2024-03-04T04:42:57.553Z] 69c7f0334f64: Waiting [2024-03-04T04:42:57.553Z] ce7588e14bc9: Waiting [2024-03-04T04:42:57.553Z] b5e4710f87ac: Waiting [2024-03-04T04:42:57.553Z] c4d48a809fc2: Download complete [2024-03-04T04:42:57.553Z] ad3a456e5733: Verifying Checksum [2024-03-04T04:42:57.553Z] 69c7f0334f64: Download complete [2024-03-04T04:42:57.553Z] 7264a8db6415: Verifying Checksum [2024-03-04T04:42:57.554Z] 7264a8db6415: Download complete [2024-03-04T04:42:57.554Z] 1f1c1a5573a3: Verifying Checksum [2024-03-04T04:42:57.554Z] 1f1c1a5573a3: Download complete [2024-03-04T04:42:57.817Z] 7264a8db6415: Pull complete [2024-03-04T04:42:57.817Z] b5e4710f87ac: Verifying Checksum [2024-03-04T04:42:57.817Z] b5e4710f87ac: Download complete [2024-03-04T04:42:57.817Z] c4d48a809fc2: Pull complete [2024-03-04T04:42:57.817Z] 4f1c88b9dad5: Download complete [2024-03-04T04:42:58.385Z] ce7588e14bc9: Verifying Checksum [2024-03-04T04:42:58.385Z] ce7588e14bc9: Download complete [2024-03-04T04:43:01.675Z] 4f1c88b9dad5: Pull complete [2024-03-04T04:43:01.675Z] ad3a456e5733: Pull complete [2024-03-04T04:43:01.675Z] 69c7f0334f64: Pull complete [2024-03-04T04:43:01.675Z] 1f1c1a5573a3: Pull complete [2024-03-04T04:43:04.217Z] ce7588e14bc9: Pull complete [2024-03-04T04:43:04.495Z] b5e4710f87ac: Pull complete [2024-03-04T04:43:04.496Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-04T04:43:04.496Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-04T04:43:04.496Z] ---> 88b5674ff536 [2024-03-04T04:43:04.496Z] Step 3/10 : ARG MAKE=make build [2024-03-04T04:43:09.812Z] ---> Running in a8337a96770d [2024-03-04T04:43:09.812Z] Removing intermediate container a8337a96770d [2024-03-04T04:43:09.812Z] ---> 6b94a19e7c1d [2024-03-04T04:43:09.812Z] Step 4/10 : WORKDIR /device-sdk-go [2024-03-04T04:43:09.812Z] ---> Running in 3f29d6c2555c [2024-03-04T04:43:09.812Z] Removing intermediate container 3f29d6c2555c [2024-03-04T04:43:09.812Z] ---> 5f2188ef28ae [2024-03-04T04:43:09.812Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-04T04:43:09.812Z] ---> Running in 6357373653a4 [2024-03-04T04:43:09.812Z] Removing intermediate container 6357373653a4 [2024-03-04T04:43:09.812Z] ---> 26e5407e9ead [2024-03-04T04:43:09.812Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-03-04T04:43:09.812Z] ---> Running in 6af10f758a55 [2024-03-04T04:43:09.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-04T04:43:09.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-04T04:43:10.060Z] Still waiting to schedule task [2024-03-04T04:43:10.060Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-03-04T04:43:10.077Z] OK: 264 MiB in 52 packages [2024-03-04T04:43:10.646Z] Removing intermediate container 6af10f758a55 [2024-03-04T04:43:10.647Z] ---> a3cc1279b90f [2024-03-04T04:43:10.647Z] Step 7/10 : COPY go.mod vendor* ./ [2024-03-04T04:43:10.647Z] ---> d502296b4868 [2024-03-04T04:43:10.647Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-04T04:43:10.647Z] ---> Running in d6508e68070a [2024-03-04T04:43:42.879Z] Removing intermediate container d6508e68070a [2024-03-04T04:43:42.879Z] ---> c37bc449e84b [2024-03-04T04:43:42.879Z] Step 9/10 : COPY . . [2024-03-04T04:43:42.879Z] ---> 8b511e855be0 [2024-03-04T04:43:42.879Z] Step 10/10 : RUN ${MAKE} [2024-03-04T04:43:42.879Z] ---> Running in d975a118fc94 [2024-03-04T04:43:42.879Z] noop [2024-03-04T04:43:42.879Z] Removing intermediate container d975a118fc94 [2024-03-04T04:43:42.879Z] ---> 8a50e829a655 [2024-03-04T04:43:42.879Z] Successfully built 8a50e829a655 [2024-03-04T04:43:42.879Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T04:43:43.443Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-04T04:43:43.443Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-04T04:43:43.671Z] prd-ubuntu20.04-docker-8c-8g-2153 does not seem to be running inside a container [2024-03-04T04:43:43.712Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1562 -v /w/workspace/gexfoundry_device-sdk-go_PR-1562:/w/workspace/gexfoundry_device-sdk-go_PR-1562:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1562@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1562@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-04T04:43:44.110Z] $ docker top 6d17e69fc0cccc96dc36e15cfebd62455c7ed462780028ca396282930353f4e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-04T04:43:44.579Z] + go version [2024-03-04T04:43:44.579Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-04T04:43:44.613Z] $ docker stop --time=1 6d17e69fc0cccc96dc36e15cfebd62455c7ed462780028ca396282930353f4e3 [2024-03-04T04:43:45.868Z] $ docker rm -f --volumes 6d17e69fc0cccc96dc36e15cfebd62455c7ed462780028ca396282930353f4e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T04:43:46.868Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-04T04:43:46.868Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-04T04:43:47.065Z] prd-ubuntu20.04-docker-8c-8g-2153 does not seem to be running inside a container [2024-03-04T04:43:47.097Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1562 -v /w/workspace/gexfoundry_device-sdk-go_PR-1562:/w/workspace/gexfoundry_device-sdk-go_PR-1562:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1562@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1562@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-04T04:43:47.444Z] $ docker top 922e5dc2511955712af0f3764956464f65f8d96cf1ec52d8d94948c7f5fbcec8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-04T04:43:47.898Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1562 [Pipeline] fileExists [Pipeline] sh [2024-03-04T04:43:48.279Z] + make test [2024-03-04T04:43:48.279Z] go test -race -coverprofile=coverage.out ./... [2024-03-04T04:43:54.851Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-03-04T04:44:09.732Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-03-04T04:44:09.732Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-03-04T04:44:09.732Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-03-04T04:44:09.732Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-03-04T04:44:09.732Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-03-04T04:44:09.732Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-03-04T04:44:09.732Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-03-04T04:44:09.732Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-03-04T04:44:09.732Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.045s coverage: 27.6% of statements [2024-03-04T04:44:09.732Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.069s coverage: 81.5% of statements [2024-03-04T04:44:09.732Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.079s coverage: 86.0% of statements [2024-03-04T04:44:09.732Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.078s coverage: 71.8% of statements [2024-03-04T04:44:09.732Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-03-04T04:44:09.732Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-03-04T04:44:10.668Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-03-04T04:44:12.570Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.057s coverage: 14.4% of statements [2024-03-04T04:44:12.570Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.693s coverage: 45.9% of statements [2024-03-04T04:44:12.570Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.080s coverage: 68.5% of statements [2024-03-04T04:44:12.570Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.096s coverage: 89.2% of statements [2024-03-04T04:44:12.570Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.046s coverage: 5.5% of statements [2024-03-04T04:44:34.501Z] GO111MODULE=on go vet ./... [2024-03-04T04:44:38.684Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-04T04:44:38.684Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-04T04:44:38.684Z] ./bin/test-attribution-txt.sh [2024-03-04T04:44:38.684Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-04T04:44:38.728Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-04T04:44:38.792Z] $ docker stop --time=1 922e5dc2511955712af0f3764956464f65f8d96cf1ec52d8d94948c7f5fbcec8 [2024-03-04T04:44:43.067Z] $ docker rm -f --volumes 922e5dc2511955712af0f3764956464f65f8d96cf1ec52d8d94948c7f5fbcec8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-04T04:44:43.738Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-04T04:44:43.847Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-03-04T04:44:44.669Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-04T04:44:44.977Z] + ls -al . [2024-03-04T04:44:44.978Z] total 308 [2024-03-04T04:44:44.978Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 4 04:43 . [2024-03-04T04:44:44.978Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 4 04:42 .. [2024-03-04T04:44:44.978Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 4 04:42 .dockerignore [2024-03-04T04:44:44.978Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 4 04:44 .git [2024-03-04T04:44:44.978Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 04:42 .github [2024-03-04T04:44:44.978Z] -rw-rw-r-- 1 jenkins jenkins 137 Mar 4 04:42 .gitignore [2024-03-04T04:44:44.978Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 4 04:42 .golangci.yml [2024-03-04T04:44:44.978Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 4 04:42 .semver [2024-03-04T04:44:44.978Z] -rw-rw-r-- 1 jenkins jenkins 48109 Mar 4 04:42 CHANGELOG.md [2024-03-04T04:44:44.978Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 4 04:42 GOVERNANCE.md [2024-03-04T04:44:44.978Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 4 04:42 Jenkinsfile [2024-03-04T04:44:44.978Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 4 04:42 LICENSE [2024-03-04T04:44:44.978Z] -rw-rw-r-- 1 jenkins jenkins 1842 Mar 4 04:42 Makefile [2024-03-04T04:44:44.978Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 4 04:42 OWNERS.md [2024-03-04T04:44:44.978Z] -rw-rw-r-- 1 jenkins jenkins 4933 Mar 4 04:42 README.md [2024-03-04T04:44:44.978Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 4 04:42 VERSION [2024-03-04T04:44:44.978Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 4 04:42 bin [2024-03-04T04:44:44.978Z] -rw-r--r-- 1 jenkins jenkins 122155 Mar 4 04:44 coverage.out [2024-03-04T04:44:44.978Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 4 04:42 example [2024-03-04T04:44:44.978Z] -rw-rw-r-- 1 jenkins jenkins 3768 Mar 4 04:42 go.mod [2024-03-04T04:44:44.978Z] -rw-rw-r-- 1 jenkins jenkins 33519 Mar 4 04:42 go.sum [2024-03-04T04:44:44.978Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 4 04:42 internal [2024-03-04T04:44:44.978Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 04:42 openapi [2024-03-04T04:44:44.978Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 4 04:42 pkg [2024-03-04T04:44:44.978Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 4 04:42 snap [2024-03-04T04:44:44.978Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 4 04:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T04:44:45.422Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=9544082f048f76804b288fb0b402f10e684d59d4 --label arch=amd64 --label version=0.0.0 . [2024-03-04T04:44:45.422Z] Sending build context to Docker daemon 22.08MB [2024-03-04T04:44:45.422Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-03-04T04:44:45.422Z] Step 2/23 : FROM ${BASE} AS builder [2024-03-04T04:44:45.422Z] ---> 8a50e829a655 [2024-03-04T04:44:45.423Z] Step 3/23 : ARG MAKE=make build [2024-03-04T04:44:45.989Z] ---> Running in bebf887e61eb [2024-03-04T04:44:45.989Z] Removing intermediate container bebf887e61eb [2024-03-04T04:44:45.989Z] ---> 6b7aa2c77690 [2024-03-04T04:44:45.989Z] Step 4/23 : WORKDIR /device-sdk-go [2024-03-04T04:44:45.989Z] ---> Running in 24a2d3853c4b [2024-03-04T04:44:46.248Z] Removing intermediate container 24a2d3853c4b [2024-03-04T04:44:46.248Z] ---> 550385882dfe [2024-03-04T04:44:46.248Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-04T04:44:46.248Z] ---> Running in 2686981f61f9 [2024-03-04T04:44:46.248Z] Removing intermediate container 2686981f61f9 [2024-03-04T04:44:46.248Z] ---> c745d5bc1a49 [2024-03-04T04:44:46.248Z] Step 6/23 : RUN apk add --update --no-cache make git [2024-03-04T04:44:46.248Z] ---> Running in d4132f75defa [2024-03-04T04:44:46.512Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-04T04:44:46.984Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-04T04:44:46.984Z] OK: 264 MiB in 52 packages [2024-03-04T04:44:47.243Z] Removing intermediate container d4132f75defa [2024-03-04T04:44:47.243Z] ---> 3f962129238c [2024-03-04T04:44:47.243Z] Step 7/23 : COPY go.mod vendor* ./ [2024-03-04T04:44:47.501Z] ---> 9a02381ce673 [2024-03-04T04:44:47.501Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-04T04:44:47.501Z] ---> Running in 3fe548be2509 [2024-03-04T04:44:48.069Z] Removing intermediate container 3fe548be2509 [2024-03-04T04:44:48.069Z] ---> 66a3fd66eb0f [2024-03-04T04:44:48.069Z] Step 9/23 : COPY . . [2024-03-04T04:44:48.658Z] ---> 3be6390574e3 [2024-03-04T04:44:48.658Z] Step 10/23 : RUN ${MAKE} [2024-03-04T04:44:48.917Z] ---> Running in c8c55506955c [2024-03-04T04:44:49.175Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-03-04T04:44:50.506Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2154 in /w/workspace/gexfoundry_device-sdk-go_PR-1562 [Pipeline] { [Pipeline] ws [2024-03-04T04:44:50.599Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-03-04T04:44:50.705Z] The recommended git tool is: git [2024-03-04T04:44:55.800Z] using credential edgex-jenkins-ssh [2024-03-04T04:44:55.821Z] Cloning the remote Git repository [2024-03-04T04:44:55.858Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-03-04T04:44:55.936Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-03-04T04:44:56.064Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-03-04T04:44:56.065Z] > git --version # timeout=10 [2024-03-04T04:44:56.083Z] > git --version # 'git version 2.25.1' [2024-03-04T04:44:56.085Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-04T04:44:56.228Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-04T04:44:58.489Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-03-04T04:44:58.505Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-04T04:45:00.121Z] Merging remotes/origin/main commit 4f47f79f53f1840767b32d78ce83479da4d392c8 into PR head commit 9544082f048f76804b288fb0b402f10e684d59d4 [2024-03-04T04:45:00.420Z] Merge succeeded, producing 9544082f048f76804b288fb0b402f10e684d59d4 [2024-03-04T04:45:00.420Z] Checking out Revision 9544082f048f76804b288fb0b402f10e684d59d4 (PR-1562) [2024-03-04T04:44:59.509Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-03-04T04:44:59.544Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-03-04T04:44:59.545Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-04T04:44:59.560Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1562/head:refs/remotes/origin/PR-1562 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-03-04T04:45:00.145Z] > git config core.sparsecheckout # timeout=10 [2024-03-04T04:45:00.223Z] > git checkout -f 9544082f048f76804b288fb0b402f10e684d59d4 # timeout=10 [2024-03-04T04:45:00.340Z] > git remote # timeout=10 [2024-03-04T04:45:00.356Z] > git config --get remote.origin.url # timeout=10 [2024-03-04T04:45:00.370Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-04T04:45:00.382Z] > git merge 4f47f79f53f1840767b32d78ce83479da4d392c8 # timeout=10 [2024-03-04T04:45:00.405Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-03-04T04:45:00.425Z] > git config core.sparsecheckout # timeout=10 [2024-03-04T04:45:00.441Z] > git checkout -f 9544082f048f76804b288fb0b402f10e684d59d4 # timeout=10 [2024-03-04T04:45:00.975Z] Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0" [2024-03-04T04:45:01.019Z] > git --version # timeout=10 [2024-03-04T04:45:01.034Z] > git --version # 'git version 2.25.1' [2024-03-04T04:45:01.044Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-04T04:45:02.399Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-04T04:45:02.399Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-04T04:45:02.399Z] Dload Upload Total Spent Left Speed [2024-03-04T04:45:02.399Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 112k 0 --:--:-- --:--:-- --:--:-- 111k [Pipeline] sh [2024-03-04T04:45:02.741Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-03-04T04:45:03.114Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-03-04T04:45:03.114Z] + sudo tee /etc/docker/daemon.new [2024-03-04T04:45:03.114Z] { [2024-03-04T04:45:03.114Z] "registry-mirrors": [ [2024-03-04T04:45:03.114Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-04T04:45:03.114Z] ], [2024-03-04T04:45:03.114Z] "bip": "10.250.0.254/24", [2024-03-04T04:45:03.114Z] "hosts": [ [2024-03-04T04:45:03.114Z] "tcp://0.0.0.0:5555", [2024-03-04T04:45:03.114Z] "unix:///var/run/docker.sock" [2024-03-04T04:45:03.114Z] ], [2024-03-04T04:45:03.114Z] "mtu": 1458, [2024-03-04T04:45:03.114Z] "selinux-enabled": true, [2024-03-04T04:45:03.114Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-04T04:45:03.114Z] } [Pipeline] sh [2024-03-04T04:45:03.474Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-04T04:45:03.817Z] + sudo service docker restart [2024-03-04T04:45:11.107Z] Removing intermediate container c8c55506955c [2024-03-04T04:45:11.107Z] ---> f5de4d46da37 [2024-03-04T04:45:11.107Z] Step 11/23 : FROM alpine:3.18 [2024-03-04T04:45:11.107Z] 3.18: Pulling from library/alpine [2024-03-04T04:45:11.107Z] 619be1103602: Pulling fs layer [2024-03-04T04:45:11.107Z] 619be1103602: Verifying Checksum [2024-03-04T04:45:11.107Z] 619be1103602: Download complete [2024-03-04T04:45:11.107Z] 619be1103602: Pull complete [2024-03-04T04:45:11.107Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-04T04:45:11.107Z] Status: Downloaded newer image for alpine:3.18 [2024-03-04T04:45:11.107Z] ---> d3782b16ccc9 [2024-03-04T04:45:11.107Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-03-04T04:45:11.107Z] ---> Running in 14087a81ea3d [2024-03-04T04:45:11.107Z] Removing intermediate container 14087a81ea3d [2024-03-04T04:45:11.107Z] ---> 73dd6053e70b [2024-03-04T04:45:11.107Z] Step 13/23 : RUN apk add --update --no-cache [2024-03-04T04:45:11.107Z] ---> Running in 505815e32c60 [2024-03-04T04:45:11.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-04T04:45:11.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-04T04:45:11.369Z] OK: 7 MiB in 15 packages [2024-03-04T04:45:11.940Z] Removing intermediate container 505815e32c60 [2024-03-04T04:45:11.940Z] ---> b3ec6e378fe9 [2024-03-04T04:45:11.940Z] Step 14/23 : WORKDIR / [2024-03-04T04:45:11.940Z] ---> Running in e0076c01b310 [2024-03-04T04:45:11.940Z] Removing intermediate container e0076c01b310 [2024-03-04T04:45:11.940Z] ---> d90e4dde99cc [2024-03-04T04:45:11.940Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-03-04T04:45:11.940Z] ---> 605287d9d724 [2024-03-04T04:45:11.940Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-03-04T04:45:12.877Z] ---> d2d387f34a02 [2024-03-04T04:45:12.877Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-03-04T04:45:13.136Z] ---> 4724491ceb1b [2024-03-04T04:45:13.136Z] Step 18/23 : EXPOSE 59999 [2024-03-04T04:45:13.136Z] ---> Running in 669b27f49808 [2024-03-04T04:45:13.136Z] Removing intermediate container 669b27f49808 [2024-03-04T04:45:13.136Z] ---> 250a2cf5f297 [2024-03-04T04:45:13.136Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2024-03-04T04:45:13.136Z] ---> Running in 624326a76424 [2024-03-04T04:45:13.136Z] Removing intermediate container 624326a76424 [2024-03-04T04:45:13.136Z] ---> 2fe6a4cb067d [2024-03-04T04:45:13.136Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-04T04:45:13.136Z] ---> Running in 7f26ddc2e6a9 [2024-03-04T04:45:13.395Z] Removing intermediate container 7f26ddc2e6a9 [2024-03-04T04:45:13.395Z] ---> d1752523da69 [2024-03-04T04:45:13.395Z] Step 21/23 : LABEL arch=amd64 [2024-03-04T04:45:13.395Z] ---> Running in 53d882ef30cf [2024-03-04T04:45:13.395Z] Removing intermediate container 53d882ef30cf [2024-03-04T04:45:13.395Z] ---> 629baddb131b [2024-03-04T04:45:13.395Z] Step 22/23 : LABEL git_sha=9544082f048f76804b288fb0b402f10e684d59d4 [2024-03-04T04:45:13.396Z] ---> Running in 13527775648e [2024-03-04T04:45:13.396Z] Removing intermediate container 13527775648e [2024-03-04T04:45:13.396Z] ---> b199383762fe [2024-03-04T04:45:13.396Z] Step 23/23 : LABEL version=0.0.0 [2024-03-04T04:45:13.396Z] ---> Running in e72712ab8013 [2024-03-04T04:45:13.656Z] Removing intermediate container e72712ab8013 [2024-03-04T04:45:13.656Z] ---> bf9d75bab265 [2024-03-04T04:45:13.656Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-04T04:45:13.656Z] Successfully built bf9d75bab265 [2024-03-04T04:45:13.656Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T04:45:14.974Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-04T04:45:14.974Z] [2024-03-04T04:45:14.974Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T04:45:15.394Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-04T04:45:15.395Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-04T04:45:15.395Z] 5eb5b503b376: Pulling fs layer [2024-03-04T04:45:15.395Z] 5c69ac0246d0: Pulling fs layer [2024-03-04T04:45:15.395Z] ec43610c2a17: Pulling fs layer [2024-03-04T04:45:15.395Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-04T04:45:15.395Z] 33b1e0a273af: Pulling fs layer [2024-03-04T04:45:15.395Z] 5d3b04190fa2: Pulling fs layer [2024-03-04T04:45:15.395Z] 2f39f015ded8: Pulling fs layer [2024-03-04T04:45:15.395Z] 3a2ae6a8a46f: Waiting [2024-03-04T04:45:15.395Z] 2f39f015ded8: Waiting [2024-03-04T04:45:15.395Z] 5d3b04190fa2: Waiting [2024-03-04T04:45:15.395Z] 5c69ac0246d0: Download complete [2024-03-04T04:45:15.395Z] 3a2ae6a8a46f: Download complete [2024-03-04T04:45:15.395Z] 33b1e0a273af: Verifying Checksum [2024-03-04T04:45:15.395Z] 33b1e0a273af: Download complete [2024-03-04T04:45:15.395Z] 5d3b04190fa2: Verifying Checksum [2024-03-04T04:45:15.395Z] 5d3b04190fa2: Download complete [2024-03-04T04:45:15.395Z] ec43610c2a17: Verifying Checksum [2024-03-04T04:45:15.395Z] ec43610c2a17: Download complete [2024-03-04T04:45:15.660Z] 5eb5b503b376: Verifying Checksum [2024-03-04T04:45:15.660Z] 5eb5b503b376: Download complete [2024-03-04T04:45:16.240Z] 2f39f015ded8: Download complete [2024-03-04T04:45:16.805Z] 5eb5b503b376: Pull complete [2024-03-04T04:45:17.063Z] 5c69ac0246d0: Pull complete [2024-03-04T04:45:17.321Z] ec43610c2a17: Pull complete [2024-03-04T04:45:17.579Z] 3a2ae6a8a46f: Pull complete [2024-03-04T04:45:17.839Z] 33b1e0a273af: Pull complete [2024-03-04T04:45:17.839Z] 5d3b04190fa2: Pull complete [2024-03-04T04:45:22.029Z] 2f39f015ded8: Pull complete [2024-03-04T04:45:22.029Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-04T04:45:22.029Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-04T04:45:22.029Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] configFileProvider [2024-03-04T04:45:22.211Z] provisioning config files... [2024-03-04T04:45:22.239Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6274093092806512851tmp [Pipeline] // withEnv [Pipeline] } [Pipeline] { [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-04T04:45:22.585Z] prd-ubuntu20.04-docker-8c-8g-2153 does not seem to be running inside a container [2024-03-04T04:45:22.617Z] $ 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/gexfoundry_device-sdk-go_PR-1562 -v /w/workspace/gexfoundry_device-sdk-go_PR-1562:/w/workspace/gexfoundry_device-sdk-go_PR-1562:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1562@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1562@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-04T04:45:26.492Z] $ docker top 1526e425acc2efcf31ed739ab157bf4fecc6028a083f0faadadaf26e5b85cb27 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2024-03-04T04:45:27.019Z] ---> ****-login.sh [2024-03-04T04:45:27.019Z] nexus3.edgexfoundry.org:10001 [2024-03-04T04:45:27.261Z] ---> job-cost.sh [2024-03-04T04:45:27.261Z] lf-activate-venv: SKIPPING [2024-03-04T04:45:27.261Z] INFO: No Stack... [2024-03-04T04:45:27.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T04:45:27.521Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-04T04:45:27.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T04:45:27.558Z] Configure a credential helper to remove this warning. See [2024-03-04T04:45:27.559Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T04:45:27.559Z] [2024-03-04T04:45:27.559Z] Login Succeeded [2024-03-04T04:45:27.559Z] nexus3.edgexfoundry.org:10002 [2024-03-04T04:45:27.783Z] INFO: Archiving Costs [Pipeline] sh [2024-03-04T04:45:27.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T04:45:27.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T04:45:27.828Z] Configure a credential helper to remove this warning. See [2024-03-04T04:45:27.828Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T04:45:27.828Z] [2024-03-04T04:45:27.828Z] Login Succeeded [2024-03-04T04:45:27.828Z] nexus3.edgexfoundry.org:10003 [2024-03-04T04:45:28.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T04:45:28.105Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1562/archives/cost.csv [2024-03-04T04:45:28.105Z] + cut -d, -f6 [Pipeline] lock [2024-03-04T04:45:28.166Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1562-1-stack-cost] [2024-03-04T04:45:28.173Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1562-1-stack-cost] did not exist. Created. [2024-03-04T04:45:28.179Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1562-1-stack-cost] [Pipeline] { [Pipeline] unstash [2024-03-04T04:45:28.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T04:45:28.365Z] Configure a credential helper to remove this warning. See [2024-03-04T04:45:28.365Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T04:45:28.365Z] [2024-03-04T04:45:28.365Z] Login Succeeded [2024-03-04T04:45:28.365Z] nexus3.edgexfoundry.org:10004 [2024-03-04T04:45:28.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh [2024-03-04T04:45:28.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T04:45:28.638Z] Configure a credential helper to remove this warning. See [2024-03-04T04:45:28.638Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T04:45:28.638Z] [2024-03-04T04:45:28.638Z] Login Succeeded [2024-03-04T04:45:28.638Z] ****.io [2024-03-04T04:45:28.663Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-04T04:45:28.722Z] Stashed 1 file(s) [Pipeline] } [2024-03-04T04:45:28.780Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1562-1-stack-cost] [Pipeline] // lock [2024-03-04T04:45:28.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] } [2024-03-04T04:45:28.964Z] $ docker stop --time=1 1526e425acc2efcf31ed739ab157bf4fecc6028a083f0faadadaf26e5b85cb27 [2024-03-04T04:45:29.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T04:45:29.183Z] Configure a credential helper to remove this warning. See [2024-03-04T04:45:29.183Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T04:45:29.183Z] [2024-03-04T04:45:29.183Z] Login Succeeded [2024-03-04T04:45:29.183Z] ---> ****-login.sh ends [2024-03-04T04:45:30.124Z] $ docker rm -f --volumes 1526e425acc2efcf31ed739ab157bf4fecc6028a083f0faadadaf26e5b85cb27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2024-03-04T04:45:30.316Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2024-03-04T04:45:31.171Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-04T04:45:31.261Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-04T04:45:31.347Z] ========================================================= [2024-03-04T04:45:31.347Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-04T04:45:31.347Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T04:45:32.007Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-03-04T04:45:33.415Z] Sending build context to Docker daemon 11.39MB [2024-03-04T04:45:33.415Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-03-04T04:45:33.415Z] Step 2/10 : FROM ${BASE} AS builder [2024-03-04T04:45:33.685Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-04T04:45:33.685Z] 9fda8d8052c6: Pulling fs layer [2024-03-04T04:45:33.685Z] 5d54e960e981: Pulling fs layer [2024-03-04T04:45:33.685Z] c4a7e357bf2a: Pulling fs layer [2024-03-04T04:45:33.685Z] f0e02332f6b5: Pulling fs layer [2024-03-04T04:45:33.685Z] 872ee5b61b7b: Pulling fs layer [2024-03-04T04:45:33.685Z] 0c6a40ed1a82: Pulling fs layer [2024-03-04T04:45:33.685Z] 94ae7d8d031c: Pulling fs layer [2024-03-04T04:45:33.685Z] f0e02332f6b5: Waiting [2024-03-04T04:45:33.685Z] 872ee5b61b7b: Waiting [2024-03-04T04:45:33.685Z] 0c6a40ed1a82: Waiting [2024-03-04T04:45:33.685Z] 94ae7d8d031c: Waiting [2024-03-04T04:45:33.685Z] 5d54e960e981: Verifying Checksum [2024-03-04T04:45:33.685Z] f0e02332f6b5: Verifying Checksum [2024-03-04T04:45:33.685Z] f0e02332f6b5: Download complete [2024-03-04T04:45:33.685Z] 872ee5b61b7b: Verifying Checksum [2024-03-04T04:45:33.685Z] 872ee5b61b7b: Download complete [2024-03-04T04:45:33.685Z] 9fda8d8052c6: Download complete [2024-03-04T04:45:34.269Z] 94ae7d8d031c: Verifying Checksum [2024-03-04T04:45:34.269Z] 94ae7d8d031c: Download complete [2024-03-04T04:45:34.551Z] 9fda8d8052c6: Pull complete [2024-03-04T04:45:35.142Z] 5d54e960e981: Pull complete [2024-03-04T04:45:35.409Z] c4a7e357bf2a: Verifying Checksum [2024-03-04T04:45:35.409Z] c4a7e357bf2a: Download complete [2024-03-04T04:45:36.367Z] 0c6a40ed1a82: Verifying Checksum [2024-03-04T04:45:36.367Z] 0c6a40ed1a82: Download complete [2024-03-04T04:45:48.687Z] c4a7e357bf2a: Pull complete [2024-03-04T04:45:48.687Z] f0e02332f6b5: Pull complete [2024-03-04T04:45:48.687Z] 872ee5b61b7b: Pull complete [2024-03-04T04:45:56.897Z] 0c6a40ed1a82: Pull complete [2024-03-04T04:46:03.540Z] 94ae7d8d031c: Pull complete [2024-03-04T04:46:03.540Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-04T04:46:03.540Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-04T04:46:03.540Z] ---> 86de565de09d [2024-03-04T04:46:03.540Z] Step 3/10 : ARG MAKE=make build [2024-03-04T04:46:03.540Z] ---> Running in ce8dbdb44f24 [2024-03-04T04:46:03.540Z] Removing intermediate container ce8dbdb44f24 [2024-03-04T04:46:03.540Z] ---> 064fca80af62 [2024-03-04T04:46:03.540Z] Step 4/10 : WORKDIR /device-sdk-go [2024-03-04T04:46:03.807Z] ---> Running in 2688df73fc34 [2024-03-04T04:46:04.075Z] Removing intermediate container 2688df73fc34 [2024-03-04T04:46:04.075Z] ---> 6533a262c380 [2024-03-04T04:46:04.075Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-04T04:46:04.075Z] ---> Running in 64584a0cbc88 [2024-03-04T04:46:04.347Z] Removing intermediate container 64584a0cbc88 [2024-03-04T04:46:04.347Z] ---> 4e0c1c803810 [2024-03-04T04:46:04.347Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-03-04T04:46:04.347Z] ---> Running in c019d0a7bf9e [2024-03-04T04:46:05.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-04T04:46:05.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-04T04:46:07.346Z] OK: 266 MiB in 52 packages [2024-03-04T04:46:07.933Z] Removing intermediate container c019d0a7bf9e [2024-03-04T04:46:07.933Z] ---> 4e3a2ff6466e [2024-03-04T04:46:07.933Z] Step 7/10 : COPY go.mod vendor* ./ [2024-03-04T04:46:08.518Z] ---> 07c83471b9aa [2024-03-04T04:46:08.518Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-04T04:46:08.518Z] ---> Running in fc771824ee60 [2024-03-04T04:47:16.402Z] Removing intermediate container fc771824ee60 [2024-03-04T04:47:16.402Z] ---> 5e34e86ceb5a [2024-03-04T04:47:16.402Z] Step 9/10 : COPY . . [2024-03-04T04:47:16.402Z] ---> 272361c6d43e [2024-03-04T04:47:16.402Z] Step 10/10 : RUN ${MAKE} [2024-03-04T04:47:16.402Z] ---> Running in c60e066e4ee0 [2024-03-04T04:47:16.402Z] noop [2024-03-04T04:47:16.402Z] Removing intermediate container c60e066e4ee0 [2024-03-04T04:47:16.402Z] ---> 5015f6cc037f [2024-03-04T04:47:16.402Z] Successfully built 5015f6cc037f [2024-03-04T04:47:16.402Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T04:47:17.000Z] + docker inspect -f . ci-base-image-arm64 [2024-03-04T04:47:17.000Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-04T04:47:17.373Z] prd-ubuntu20.04-docker-arm64-4c-16g-2154 does not seem to be running inside a container [2024-03-04T04:47:17.434Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-03-04T04:47:18.740Z] $ docker top d16d91ab5e65e85dd8c4f1a87338a32a97c2629ad89a78fb5cf8f18774310869 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-04T04:47:19.697Z] + go version [2024-03-04T04:47:19.697Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-04T04:47:19.732Z] $ docker stop --time=1 d16d91ab5e65e85dd8c4f1a87338a32a97c2629ad89a78fb5cf8f18774310869 [2024-03-04T04:47:21.302Z] $ docker rm -f --volumes d16d91ab5e65e85dd8c4f1a87338a32a97c2629ad89a78fb5cf8f18774310869 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T04:47:22.561Z] + docker inspect -f . ci-base-image-arm64 [2024-03-04T04:47:22.561Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-04T04:47:22.892Z] prd-ubuntu20.04-docker-arm64-4c-16g-2154 does not seem to be running inside a container [2024-03-04T04:47:22.955Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-03-04T04:47:24.059Z] $ docker top 68bee8c5a377f6e007e42263a824405caa5aa7d7374739a0daaada33b91569b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-04T04:47:24.688Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-03-04T04:47:25.385Z] + make test [2024-03-04T04:47:25.385Z] go test -race -coverprofile=coverage.out ./... [2024-03-04T04:47:58.528Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-03-04T04:49:35.778Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-03-04T04:49:35.778Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-03-04T04:49:35.778Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-03-04T04:49:35.778Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-03-04T04:49:35.778Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-03-04T04:49:44.029Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.205s coverage: 27.6% of statements [2024-03-04T04:49:52.373Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.268s coverage: 81.5% of statements [2024-03-04T04:50:00.570Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-03-04T04:50:00.570Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-03-04T04:50:00.570Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.315s coverage: 86.0% of statements [2024-03-04T04:50:05.920Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-03-04T04:50:07.340Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.841s coverage: 71.8% of statements [2024-03-04T04:50:11.611Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.333s coverage: 14.4% of statements [2024-03-04T04:50:11.611Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.398s coverage: 45.9% of statements [2024-03-04T04:50:11.876Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-03-04T04:50:11.877Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-03-04T04:50:13.812Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.582s coverage: 68.5% of statements [2024-03-04T04:50:17.147Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.403s coverage: 89.2% of statements [2024-03-04T04:50:17.147Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-03-04T04:50:18.552Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.277s coverage: 5.5% of statements [2024-03-04T04:50:19.546Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-04T04:50:19.547Z] GO111MODULE=on go vet ./... [2024-03-04T04:52:11.184Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-04T04:52:11.185Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-04T04:52:11.185Z] ./bin/test-attribution-txt.sh [2024-03-04T04:52:11.185Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-04T04:52:11.228Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-04T04:52:11.300Z] $ docker stop --time=1 68bee8c5a377f6e007e42263a824405caa5aa7d7374739a0daaada33b91569b8 [2024-03-04T04:52:13.208Z] $ docker rm -f --volumes 68bee8c5a377f6e007e42263a824405caa5aa7d7374739a0daaada33b91569b8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-04T04:52:14.915Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-04T04:52:14.950Z] Warning: overwriting stash ‘coverage-report’ [2024-03-04T04:52:15.434Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-04T04:52:16.248Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-04T04:52:16.588Z] + ls -al . [2024-03-04T04:52:16.588Z] total 304 [2024-03-04T04:52:16.588Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 4 04:47 . [2024-03-04T04:52:16.588Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 4 04:44 .. [2024-03-04T04:52:16.588Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 4 04:45 .dockerignore [2024-03-04T04:52:16.588Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 4 04:45 .git [2024-03-04T04:52:16.588Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 04:45 .github [2024-03-04T04:52:16.588Z] -rw-rw-r-- 1 jenkins jenkins 137 Mar 4 04:45 .gitignore [2024-03-04T04:52:16.588Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 4 04:45 .golangci.yml [2024-03-04T04:52:16.588Z] -rw-rw-r-- 1 jenkins jenkins 48109 Mar 4 04:45 CHANGELOG.md [2024-03-04T04:52:16.588Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 4 04:45 GOVERNANCE.md [2024-03-04T04:52:16.588Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 4 04:45 Jenkinsfile [2024-03-04T04:52:16.588Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 4 04:45 LICENSE [2024-03-04T04:52:16.588Z] -rw-rw-r-- 1 jenkins jenkins 1842 Mar 4 04:45 Makefile [2024-03-04T04:52:16.588Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 4 04:45 OWNERS.md [2024-03-04T04:52:16.588Z] -rw-rw-r-- 1 jenkins jenkins 4933 Mar 4 04:45 README.md [2024-03-04T04:52:16.588Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 4 04:42 VERSION [2024-03-04T04:52:16.588Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 4 04:45 bin [2024-03-04T04:52:16.588Z] -rw-r--r-- 1 jenkins jenkins 122154 Mar 4 04:50 coverage.out [2024-03-04T04:52:16.588Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 4 04:45 example [2024-03-04T04:52:16.588Z] -rw-rw-r-- 1 jenkins jenkins 3768 Mar 4 04:45 go.mod [2024-03-04T04:52:16.588Z] -rw-rw-r-- 1 jenkins jenkins 33519 Mar 4 04:45 go.sum [2024-03-04T04:52:16.588Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 4 04:45 internal [2024-03-04T04:52:16.588Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 04:45 openapi [2024-03-04T04:52:16.588Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 4 04:45 pkg [2024-03-04T04:52:16.588Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 4 04:45 snap [2024-03-04T04:52:16.588Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 4 04:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T04:52:17.085Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=9544082f048f76804b288fb0b402f10e684d59d4 --label arch=arm64 --label version=0.0.0 . [2024-03-04T04:52:17.664Z] Sending build context to Docker daemon 11.51MB [2024-03-04T04:52:17.664Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-03-04T04:52:17.664Z] Step 2/23 : FROM ${BASE} AS builder [2024-03-04T04:52:17.664Z] ---> 5015f6cc037f [2024-03-04T04:52:17.664Z] Step 3/23 : ARG MAKE=make build [2024-03-04T04:52:17.664Z] ---> Running in 5647c26363e5 [2024-03-04T04:52:17.930Z] Removing intermediate container 5647c26363e5 [2024-03-04T04:52:17.930Z] ---> 06b8fbac035f [2024-03-04T04:52:17.930Z] Step 4/23 : WORKDIR /device-sdk-go [2024-03-04T04:52:18.197Z] ---> Running in 1105eb0c0cbc [2024-03-04T04:52:18.462Z] Removing intermediate container 1105eb0c0cbc [2024-03-04T04:52:18.462Z] ---> 29f7310c675e [2024-03-04T04:52:18.462Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-04T04:52:18.462Z] ---> Running in 09aa0c1c485b [2024-03-04T04:52:18.728Z] Removing intermediate container 09aa0c1c485b [2024-03-04T04:52:18.728Z] ---> 7dca635d2ff2 [2024-03-04T04:52:18.728Z] Step 6/23 : RUN apk add --update --no-cache make git [2024-03-04T04:52:18.728Z] ---> Running in 89c74e5210e3 [2024-03-04T04:52:19.683Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-04T04:52:20.263Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-04T04:52:21.219Z] OK: 266 MiB in 52 packages [2024-03-04T04:52:22.177Z] Removing intermediate container 89c74e5210e3 [2024-03-04T04:52:22.177Z] ---> e17fca0123a4 [2024-03-04T04:52:22.177Z] Step 7/23 : COPY go.mod vendor* ./ [2024-03-04T04:52:26.423Z] ---> e06381c57526 [2024-03-04T04:52:26.423Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-04T04:52:26.423Z] ---> Running in 1cb22fcadccf [2024-03-04T04:52:27.832Z] Removing intermediate container 1cb22fcadccf [2024-03-04T04:52:27.832Z] ---> 0648202e0bea [2024-03-04T04:52:27.832Z] Step 9/23 : COPY . . [2024-03-04T04:52:29.776Z] ---> 09665a8fa6f0 [2024-03-04T04:52:29.776Z] Step 10/23 : RUN ${MAKE} [2024-03-04T04:52:29.776Z] ---> Running in 45894579162b [2024-03-04T04:52:30.362Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-03-04T04:54:21.997Z] Removing intermediate container 45894579162b [2024-03-04T04:54:21.997Z] ---> 285fc90ba672 [2024-03-04T04:54:21.997Z] Step 11/23 : FROM alpine:3.18 [2024-03-04T04:54:21.997Z] 3.18: Pulling from library/alpine [2024-03-04T04:54:21.997Z] c6b39de5b339: Pulling fs layer [2024-03-04T04:54:21.997Z] c6b39de5b339: Verifying Checksum [2024-03-04T04:54:21.997Z] c6b39de5b339: Download complete [2024-03-04T04:54:21.997Z] c6b39de5b339: Pull complete [2024-03-04T04:54:21.997Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-04T04:54:21.997Z] Status: Downloaded newer image for alpine:3.18 [2024-03-04T04:54:21.997Z] ---> 33abbf032149 [2024-03-04T04:54:21.997Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-03-04T04:54:21.997Z] ---> Running in 737a73df9b0a [2024-03-04T04:54:21.997Z] Removing intermediate container 737a73df9b0a [2024-03-04T04:54:21.997Z] ---> 7c13a7132377 [2024-03-04T04:54:21.997Z] Step 13/23 : RUN apk add --update --no-cache [2024-03-04T04:54:21.997Z] ---> Running in c5f37fe78a68 [2024-03-04T04:54:21.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-04T04:54:21.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-04T04:54:21.997Z] OK: 8 MiB in 15 packages [2024-03-04T04:54:21.997Z] Removing intermediate container c5f37fe78a68 [2024-03-04T04:54:21.997Z] ---> dbc18e1d90b5 [2024-03-04T04:54:21.997Z] Step 14/23 : WORKDIR / [2024-03-04T04:54:21.997Z] ---> Running in 041a534de5e9 [2024-03-04T04:54:21.997Z] Removing intermediate container 041a534de5e9 [2024-03-04T04:54:21.997Z] ---> 0d46e17aeba7 [2024-03-04T04:54:21.997Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-03-04T04:54:21.997Z] ---> 87d0be2adf54 [2024-03-04T04:54:21.997Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-03-04T04:54:22.589Z] ---> 9330ca38fb33 [2024-03-04T04:54:22.589Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-03-04T04:54:23.170Z] ---> da81d0be2b75 [2024-03-04T04:54:23.170Z] Step 18/23 : EXPOSE 59999 [2024-03-04T04:54:23.170Z] ---> Running in 7ad2d6dfa9df [2024-03-04T04:54:23.441Z] Removing intermediate container 7ad2d6dfa9df [2024-03-04T04:54:23.441Z] ---> 5b8d08f91be0 [2024-03-04T04:54:23.441Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2024-03-04T04:54:23.441Z] ---> Running in c5a12fd29d3c [2024-03-04T04:54:23.710Z] Removing intermediate container c5a12fd29d3c [2024-03-04T04:54:23.710Z] ---> 4b1e797a512b [2024-03-04T04:54:23.710Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-04T04:54:24.073Z] ---> Running in 6d0356566342 [2024-03-04T04:54:24.073Z] Removing intermediate container 6d0356566342 [2024-03-04T04:54:24.073Z] ---> 68cfe7bd1008 [2024-03-04T04:54:24.073Z] Step 21/23 : LABEL arch=arm64 [2024-03-04T04:54:24.357Z] ---> Running in 40c598c40bcc [2024-03-04T04:54:24.631Z] Removing intermediate container 40c598c40bcc [2024-03-04T04:54:24.631Z] ---> 082d4531722d [2024-03-04T04:54:24.631Z] Step 22/23 : LABEL git_sha=9544082f048f76804b288fb0b402f10e684d59d4 [2024-03-04T04:54:24.631Z] ---> Running in 8c889a78abbb [2024-03-04T04:54:24.914Z] Removing intermediate container 8c889a78abbb [2024-03-04T04:54:24.914Z] ---> 351dee11a715 [2024-03-04T04:54:24.914Z] Step 23/23 : LABEL version=0.0.0 [2024-03-04T04:54:25.201Z] ---> Running in 75bcee40adfc [2024-03-04T04:54:25.473Z] Removing intermediate container 75bcee40adfc [2024-03-04T04:54:25.473Z] ---> bc52b2501bd7 [2024-03-04T04:54:25.473Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-04T04:54:25.473Z] Successfully built bc52b2501bd7 [2024-03-04T04:54:25.473Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T04:54:26.869Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-04T04:54:26.869Z] [2024-03-04T04:54:26.869Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T04:54:27.340Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-04T04:54:27.340Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-04T04:54:27.340Z] 8998bd30e6a1: Pulling fs layer [2024-03-04T04:54:27.340Z] 04944245beec: Pulling fs layer [2024-03-04T04:54:27.340Z] 699f458cf7ca: Pulling fs layer [2024-03-04T04:54:27.340Z] 765212b225bb: Pulling fs layer [2024-03-04T04:54:27.340Z] f23df028b6ca: Pulling fs layer [2024-03-04T04:54:27.340Z] d65c8cfc05b1: Pulling fs layer [2024-03-04T04:54:27.340Z] 2437ff75d9bd: Pulling fs layer [2024-03-04T04:54:27.340Z] 765212b225bb: Waiting [2024-03-04T04:54:27.340Z] f23df028b6ca: Waiting [2024-03-04T04:54:27.340Z] d65c8cfc05b1: Waiting [2024-03-04T04:54:27.340Z] 2437ff75d9bd: Waiting [2024-03-04T04:54:27.618Z] 04944245beec: Verifying Checksum [2024-03-04T04:54:27.618Z] 04944245beec: Download complete [2024-03-04T04:54:27.618Z] 765212b225bb: Verifying Checksum [2024-03-04T04:54:27.618Z] 765212b225bb: Download complete [2024-03-04T04:54:27.618Z] f23df028b6ca: Verifying Checksum [2024-03-04T04:54:27.618Z] f23df028b6ca: Download complete [2024-03-04T04:54:27.618Z] d65c8cfc05b1: Verifying Checksum [2024-03-04T04:54:27.618Z] d65c8cfc05b1: Download complete [2024-03-04T04:54:27.884Z] 699f458cf7ca: Verifying Checksum [2024-03-04T04:54:27.884Z] 699f458cf7ca: Download complete [2024-03-04T04:54:28.162Z] 8998bd30e6a1: Verifying Checksum [2024-03-04T04:54:28.162Z] 8998bd30e6a1: Download complete [2024-03-04T04:54:30.747Z] 2437ff75d9bd: Verifying Checksum [2024-03-04T04:54:30.747Z] 2437ff75d9bd: Download complete [2024-03-04T04:54:32.689Z] 8998bd30e6a1: Pull complete [2024-03-04T04:54:36.936Z] 04944245beec: Pull complete [2024-03-04T04:54:38.341Z] 699f458cf7ca: Pull complete [2024-03-04T04:54:38.341Z] 765212b225bb: Pull complete [2024-03-04T04:54:39.298Z] f23df028b6ca: Pull complete [2024-03-04T04:54:39.563Z] d65c8cfc05b1: Pull complete [2024-03-04T04:54:57.754Z] 2437ff75d9bd: Pull complete [2024-03-04T04:54:57.754Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-04T04:54:57.754Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-04T04:54:57.754Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-04T04:54:58.249Z] prd-ubuntu20.04-docker-arm64-4c-16g-2154 does not seem to be running inside a container [2024-03-04T04:54:58.307Z] $ 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-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-03-04T04:55:00.846Z] $ docker top d70df00b43f34cb9e678ded5e6317cb9685d7c15d52c8cd19bc752700f458144 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-04T04:55:01.518Z] ---> job-cost.sh [2024-03-04T04:55:01.784Z] lf-activate-venv: SKIPPING [2024-03-04T04:55:01.784Z] INFO: No Stack... [2024-03-04T04:55:02.372Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-04T04:55:02.954Z] INFO: Archiving Costs [Pipeline] sh [2024-03-04T04:55:03.617Z] + + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2024-03-04T04:55:03.617Z] cut -d, -f6 [Pipeline] lock [2024-03-04T04:55:03.688Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1562-1-stack-cost] [2024-03-04T04:55:03.694Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1562-1-stack-cost] did not exist. Created. [2024-03-04T04:55:03.702Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1562-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-04T04:55:04.502Z] /w/workspace/device-sdk-go/1@tmp/durable-8dd152a0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-04T04:55:05.164Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-04T04:55:05.202Z] Warning: overwriting stash ‘stack-cost’ [2024-03-04T04:55:05.284Z] Stashed 1 file(s) [Pipeline] } [2024-03-04T04:55:05.300Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1562-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-04T04:55:05.485Z] $ docker stop --time=1 d70df00b43f34cb9e678ded5e6317cb9685d7c15d52c8cd19bc752700f458144 [2024-03-04T04:55:07.036Z] $ docker rm -f --volumes d70df00b43f34cb9e678ded5e6317cb9685d7c15d52c8cd19bc752700f458144 [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-03-04T04:55:09.016Z] provisioning config files... [2024-03-04T04:55:09.025Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1562@tmp/config405854629761067154tmp [Pipeline] { [Pipeline] sh [2024-03-04T04:55:09.449Z] + set +x [2024-03-04T04:55:09.449Z] + curl -s https://codecov.io/bash [2024-03-04T04:55:09.449Z] + bash -s -- [2024-03-04T04:55:09.449Z] [2024-03-04T04:55:09.449Z] _____ _ [2024-03-04T04:55:09.449Z] / ____| | | [2024-03-04T04:55:09.449Z] | | ___ __| | ___ ___ _____ __ [2024-03-04T04:55:09.449Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-04T04:55:09.449Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-04T04:55:09.449Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-04T04:55:09.449Z] Bash-1.0.6 [2024-03-04T04:55:09.449Z] [2024-03-04T04:55:09.449Z] [2024-03-04T04:55:09.449Z] ==> git version 2.25.1 found [2024-03-04T04:55:09.449Z] ==> 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-03-04T04:55:09.449Z] Release-Date: 2020-01-08 [2024-03-04T04:55:09.449Z] 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-03-04T04:55:09.449Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-04T04:55:09.449Z] ==> Jenkins CI detected. [2024-03-04T04:55:09.449Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1562 [2024-03-04T04:55:09.449Z] project root: . [2024-03-04T04:55:09.449Z] --> token set from env [2024-03-04T04:55:09.449Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-04T04:55:09.708Z] ==> Running gcov in . (disable via -X gcov) [2024-03-04T04:55:09.708Z] ==> Python coveragepy not found [2024-03-04T04:55:09.708Z] ==> Searching for coverage reports in: [2024-03-04T04:55:09.708Z] + . [2024-03-04T04:55:09.708Z] -> Found 1 reports [2024-03-04T04:55:09.708Z] ==> Detecting git/mercurial file structure [2024-03-04T04:55:09.708Z] ==> Reading reports [2024-03-04T04:55:09.709Z] + ./coverage.out bytes=122154 [2024-03-04T04:55:09.709Z] ==> Appending adjustments [2024-03-04T04:55:09.709Z] https://docs.codecov.io/docs/fixing-reports [2024-03-04T04:55:09.976Z] + Found adjustments [2024-03-04T04:55:09.976Z] ==> Gzipping contents [2024-03-04T04:55:09.976Z] 20K /tmp/codecov.OHX2Up.gz [2024-03-04T04:55:09.976Z] ==> Uploading reports [2024-03-04T04:55:09.976Z] url: https://codecov.io [2024-03-04T04:55:09.976Z] query: branch=PR-1562&commit=9544082f048f76804b288fb0b402f10e684d59d4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1562%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1562&job=&cmd_args= [2024-03-04T04:55:09.976Z] -> Pinging Codecov [2024-03-04T04:55:09.977Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1562&commit=9544082f048f76804b288fb0b402f10e684d59d4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1562%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1562&job=&cmd_args= [2024-03-04T04:55:10.237Z] -> Uploading to [2024-03-04T04:55:10.237Z] https://storage.googleapis.com/codecov/v4/raw/2024-03-04/7E55EF52A471D76F132DFD9A03CDDE97/9544082f048f76804b288fb0b402f10e684d59d4/b1188195-2ff3-49b9-8fa2-2cd6e40a573a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240304%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240304T045509Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=55d742b427ceaa877c6ed8a080b0ef71fe594d558d1e61bcb61c342bd4d2a075 [2024-03-04T04:55:10.237Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-04T04:55:10.237Z] Dload Upload Total Spent Left Speed [2024-03-04T04:55:10.503Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16724 0 0 100 16724 0 77069 --:--:-- --:--:-- --:--:-- 76715 100 16724 0 0 100 16724 0 56120 --:--:-- --:--:-- --:--:-- 56120 [2024-03-04T04:55:10.503Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/9544082f048f76804b288fb0b402f10e684d59d4 [Pipeline] } [2024-03-04T04:55:10.530Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-03-04T04:55:13.728Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1562/archives ] [2024-03-04T04:55:13.728Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1562/archives [2024-03-04T04:55:13.728Z] total 16 [2024-03-04T04:55:13.728Z] drwxr-xr-x 3 root root 4096 Mar 4 04:45 . [2024-03-04T04:55:13.728Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 4 04:45 .. [2024-03-04T04:55:13.728Z] drwxr-xr-x 2 root root 4096 Mar 4 04:45 cost [2024-03-04T04:55:13.728Z] -rw-r--r-- 1 root root 86 Mar 4 04:45 cost.csv [2024-03-04T04:55:13.728Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1562/archives [2024-03-04T04:55:13.728Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1562/archives [2024-03-04T04:55:13.728Z] total 16 [2024-03-04T04:55:13.728Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 4 04:45 . [2024-03-04T04:55:13.728Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 4 04:45 .. [2024-03-04T04:55:13.728Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 4 04:45 cost [2024-03-04T04:55:13.728Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 4 04:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-04T04:55:14.063Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-04T04:55:14.958Z] ---> package-listing.sh [2024-03-04T04:55:14.958Z] ++ facter osfamily [2024-03-04T04:55:14.958Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-04T04:55:15.217Z] + OS_FAMILY=debian [2024-03-04T04:55:15.217Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1562 [2024-03-04T04:55:15.217Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-04T04:55:15.217Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-04T04:55:15.217Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-04T04:55:15.217Z] + PACKAGES=/tmp/packages_start.txt [2024-03-04T04:55:15.217Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1562 ']' [2024-03-04T04:55:15.217Z] + PACKAGES=/tmp/packages_end.txt [2024-03-04T04:55:15.217Z] + case "${OS_FAMILY}" in [2024-03-04T04:55:15.217Z] + dpkg -l [2024-03-04T04:55:15.217Z] + grep '^ii' [2024-03-04T04:55:15.217Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-04T04:55:15.217Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-04T04:55:15.217Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-04T04:55:15.217Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1562 ']' [2024-03-04T04:55:15.217Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1562/archives/ [2024-03-04T04:55:15.217Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1562/archives/ [Pipeline] echo [2024-03-04T04:55:15.254Z] 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/gexfoundry_device-sdk-go_PR-1562/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-03-04T04:55:15.544Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T04:55:16.217Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-04T04:55:16.217Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-04T04:55:16.474Z] prd-ubuntu20.04-docker-8c-8g-2153 does not seem to be running inside a container [2024-03-04T04:55:16.509Z] $ 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/gexfoundry_device-sdk-go_PR-1562/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1562 -v /w/workspace/gexfoundry_device-sdk-go_PR-1562:/w/workspace/gexfoundry_device-sdk-go_PR-1562:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1562@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1562@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-04T04:55:16.691Z] $ docker top a24e957408e31a1572e19d54cec4e22a49e9911967ddb7efc733f4785f227da9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-04T04:55:17.181Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-04T04:55:17.489Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-04T04:55:17.804Z] + ls /var/log/sa-host [2024-03-04T04:55:17.804Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-04T04:55:18.076Z] provisioning config files... [2024-03-04T04:55:18.087Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1562@tmp/config4478970771842043199tmp [Pipeline] { [Pipeline] echo [2024-03-04T04:55:18.232Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-04T04:55:18.550Z] ---> create-netrc.sh [Pipeline] } [2024-03-04T04:55:18.580Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-04T04:55:19.079Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-04T04:55:19.115Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-04T04:55:19.432Z] ---> sudo-logs.sh [2024-03-04T04:55:19.432Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-04T04:55:19.573Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-04T04:55:19.886Z] ---> job-cost.sh [2024-03-04T04:55:19.886Z] lf-activate-venv: SKIPPING [2024-03-04T04:55:19.886Z] DEBUG: total: 0.2199999988079071 [2024-03-04T04:55:19.886Z] INFO: Retrieving Stack Cost... [2024-03-04T04:55:20.455Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-04T04:55:20.715Z] INFO: Archiving Costs [Pipeline] echo [2024-03-04T04:55:20.759Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-04T04:55:21.075Z] ---> logs-deploy.sh [2024-03-04T04:55:21.075Z] lf-activate-venv: SKIPPING [2024-03-04T04:55:21.075Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1562/1 [2024-03-04T04:55:21.075Z] INFO: archiving workspace using pattern(s): [2024-03-04T04:55:22.017Z] Archives upload complete. [2024-03-04T04:55:22.277Z] INFO: archiving logs to Nexus