Pull request #1618 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2142bae1f45ba2855303e44800e00e2aa6ee3206+083c381ac4cc923d13d653dabf1097f47e3433f3 (778d3f7c1244dcd54def620fff920a1c1b39ae6c) 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-ssh17001414594070444438.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh18273385697344750310.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 f3350a1713306dce7682ed7e37d5774890d03277 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1618/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1618/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14119660963629519150.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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 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-ssh11170800270803267157.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1618/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1618/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1874775077753547662.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-9255’ is offline Running on prd-ubuntu20.04-docker-8c-8g-9256 in /w/workspace/gexfoundry_device-sdk-go_PR-1618 [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-1618 # 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/1618/head:refs/remotes/origin/PR-1618 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 083c381ac4cc923d13d653dabf1097f47e3433f3 into PR head commit 2142bae1f45ba2855303e44800e00e2aa6ee3206 Merge succeeded, producing 2142bae1f45ba2855303e44800e00e2aa6ee3206 Checking out Revision 2142bae1f45ba2855303e44800e00e2aa6ee3206 (PR-1618) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git config core.sparsecheckout # timeout=10 > git checkout -f 2142bae1f45ba2855303e44800e00e2aa6ee3206 # 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 083c381ac4cc923d13d653dabf1097f47e3433f3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2142bae1f45ba2855303e44800e00e2aa6ee3206 # timeout=10 > git rev-list --no-walk 32976106376497f80a51a4ba1ecd880c9a8cabe8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-09-03T06:16:07.065Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-09-03T06:16:07.139Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-09-03T06:16:07.171Z] ========================================================= [2024-09-03T06:16:07.172Z] EdgeX Global Pipelines Version Info [2024-09-03T06:16:07.172Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-09-03T06:16:08.294Z] ------------------- [2024-09-03T06:16:08.294Z] stable info: [2024-09-03T06:16:08.294Z] ------------------- [2024-09-03T06:16:08.294Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-03T06:16:08.294Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-03T06:16:08.294Z] Message: update stable to v1.0.263 [2024-09-03T06:16:08.555Z] ------------------- [2024-09-03T06:16:08.555Z] experimental info: [2024-09-03T06:16:08.555Z] ------------------- [2024-09-03T06:16:08.555Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-03T06:16:08.555Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-03T06:16:08.555Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-09-03T06:16:08.638Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-09-03T06:16:08.667Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-09-03T06:16:08.694Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-09-03T06:16:08.712Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-09-03T06:16:08.734Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-09-03T06:16:08.754Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-09-03T06:16:08.775Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-09-03T06:16:08.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-09-03T06:16:08.821Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-09-03T06:16:08.843Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-09-03T06:16:08.863Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-09-03T06:16:08.886Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-09-03T06:16:08.919Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-09-03T06:16:08.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-09-03T06:16:08.966Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-09-03T06:16:08.989Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-09-03T06:16:09.014Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-09-03T06:16:09.036Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-09-03T06:16:09.061Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-09-03T06:16:09.085Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-09-03T06:16:09.112Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-09-03T06:16:09.136Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-09-03T06:16:09.171Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-09-03T06:16:09.201Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-09-03T06:16:09.228Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-09-03T06:16:09.256Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-09-03T06:16:09.275Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-09-03T06:16:09.304Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1618 [Pipeline] echo [2024-09-03T06:16:09.333Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1618 [Pipeline] echo [2024-09-03T06:16:09.361Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1618 [Pipeline] echo [2024-09-03T06:16:09.384Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2142bae1f45ba2855303e44800e00e2aa6ee3206 [Pipeline] echo [2024-09-03T06:16:09.406Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2142bae [Pipeline] echo [2024-09-03T06:16:09.433Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-03T06:16:09.513Z] provisioning config files... [2024-09-03T06:16:09.528Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/config12571239915061730940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-03T06:16:09.865Z] ---> ****-login.sh [2024-09-03T06:16:09.865Z] nexus3.edgexfoundry.org:10001 [2024-09-03T06:16:10.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T06:16:10.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T06:16:10.124Z] Configure a credential helper to remove this warning. See [2024-09-03T06:16:10.124Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T06:16:10.124Z] [2024-09-03T06:16:10.124Z] Login Succeeded [2024-09-03T06:16:10.125Z] nexus3.edgexfoundry.org:10002 [2024-09-03T06:16:10.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T06:16:10.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T06:16:10.125Z] Configure a credential helper to remove this warning. See [2024-09-03T06:16:10.125Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T06:16:10.125Z] [2024-09-03T06:16:10.125Z] Login Succeeded [2024-09-03T06:16:10.125Z] nexus3.edgexfoundry.org:10003 [2024-09-03T06:16:10.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T06:16:10.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T06:16:10.385Z] Configure a credential helper to remove this warning. See [2024-09-03T06:16:10.385Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T06:16:10.385Z] [2024-09-03T06:16:10.385Z] Login Succeeded [2024-09-03T06:16:10.385Z] nexus3.edgexfoundry.org:10004 [2024-09-03T06:16:10.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T06:16:10.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T06:16:10.385Z] Configure a credential helper to remove this warning. See [2024-09-03T06:16:10.385Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T06:16:10.385Z] [2024-09-03T06:16:10.385Z] Login Succeeded [2024-09-03T06:16:10.385Z] ****.io [2024-09-03T06:16:10.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T06:16:10.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T06:16:10.645Z] Configure a credential helper to remove this warning. See [2024-09-03T06:16:10.645Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T06:16:10.645Z] [2024-09-03T06:16:10.645Z] Login Succeeded [2024-09-03T06:16:10.645Z] ---> ****-login.sh ends [Pipeline] } [2024-09-03T06:16:10.653Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-09-03T06:16:11.060Z] + git rev-list -1 --merges 2142bae1f45ba2855303e44800e00e2aa6ee3206~1..2142bae1f45ba2855303e44800e00e2aa6ee3206 [Pipeline] echo [2024-09-03T06:16:11.089Z] -----------> git rev-list -1 --merges 2142bae1f45ba2855303e44800e00e2aa6ee3206~1..2142bae1f45ba2855303e44800e00e2aa6ee3206 2142bae1f45ba2855303e44800e00e2aa6ee3206 [false] [Pipeline] sh [2024-09-03T06:16:11.382Z] + git log --format=format:%s -1 2142bae1f45ba2855303e44800e00e2aa6ee3206 [Pipeline] echo [2024-09-03T06:16:11.399Z] ========================================================= [2024-09-03T06:16:11.399Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-03T06:16:11.399Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-03T06:16:11.750Z] + git log --format=format:%s -1 2142bae1f45ba2855303e44800e00e2aa6ee3206 [Pipeline] echo [2024-09-03T06:16:11.762Z] [semverPrep] GIT_COMMIT: 2142bae1f45ba2855303e44800e00e2aa6ee3206, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2024-09-03T06:16:11.776Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-09-03T06:16:12.150Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-03T06:16:12.150Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-09-03T06:16:12.150Z] + [ -e /tmp/ssh_known_hosts ] [2024-09-03T06:16:12.150Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-09-03T06:16:12.150Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-09-03T06:16:12.150Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-09-03T06:16:12.150Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T06:16:12.505Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-03T06:16:12.506Z] [2024-09-03T06:16:12.506Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T06:16:12.836Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-03T06:16:12.836Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-09-03T06:16:12.836Z] b85a868b505f: Pulling fs layer [2024-09-03T06:16:12.836Z] e2be974225ed: Pulling fs layer [2024-09-03T06:16:12.836Z] 339a4e72a1f5: Pulling fs layer [2024-09-03T06:16:12.836Z] 988bab9f4d93: Pulling fs layer [2024-09-03T06:16:12.836Z] 1469e6f7b9e6: Pulling fs layer [2024-09-03T06:16:12.836Z] eaf3925da568: Pulling fs layer [2024-09-03T06:16:12.836Z] bab4dde63d76: Pulling fs layer [2024-09-03T06:16:12.836Z] bde34c3a00c8: Pulling fs layer [2024-09-03T06:16:12.836Z] b352a97aabf1: Pulling fs layer [2024-09-03T06:16:12.836Z] 4872d77fe225: Pulling fs layer [2024-09-03T06:16:12.836Z] 5851b861e8e6: Pulling fs layer [2024-09-03T06:16:12.836Z] 988bab9f4d93: Waiting [2024-09-03T06:16:12.836Z] bde34c3a00c8: Waiting [2024-09-03T06:16:12.836Z] 1469e6f7b9e6: Waiting [2024-09-03T06:16:12.836Z] eaf3925da568: Waiting [2024-09-03T06:16:12.836Z] bab4dde63d76: Waiting [2024-09-03T06:16:12.836Z] b352a97aabf1: Waiting [2024-09-03T06:16:12.836Z] 4872d77fe225: Waiting [2024-09-03T06:16:12.836Z] 5851b861e8e6: Waiting [2024-09-03T06:16:12.836Z] e2be974225ed: Download complete [2024-09-03T06:16:12.836Z] 988bab9f4d93: Verifying Checksum [2024-09-03T06:16:12.836Z] 988bab9f4d93: Download complete [2024-09-03T06:16:12.836Z] 339a4e72a1f5: Verifying Checksum [2024-09-03T06:16:12.836Z] 339a4e72a1f5: Download complete [2024-09-03T06:16:12.836Z] 1469e6f7b9e6: Verifying Checksum [2024-09-03T06:16:12.836Z] 1469e6f7b9e6: Download complete [2024-09-03T06:16:12.836Z] eaf3925da568: Verifying Checksum [2024-09-03T06:16:12.836Z] eaf3925da568: Download complete [2024-09-03T06:16:13.109Z] bde34c3a00c8: Download complete [2024-09-03T06:16:13.109Z] b352a97aabf1: Verifying Checksum [2024-09-03T06:16:13.109Z] b352a97aabf1: Download complete [2024-09-03T06:16:13.109Z] 4872d77fe225: Verifying Checksum [2024-09-03T06:16:13.109Z] 4872d77fe225: Download complete [2024-09-03T06:16:13.109Z] 5851b861e8e6: Verifying Checksum [2024-09-03T06:16:13.109Z] 5851b861e8e6: Download complete [2024-09-03T06:16:13.109Z] b85a868b505f: Verifying Checksum [2024-09-03T06:16:13.109Z] b85a868b505f: Download complete [2024-09-03T06:16:13.372Z] bab4dde63d76: Verifying Checksum [2024-09-03T06:16:14.313Z] b85a868b505f: Pull complete [2024-09-03T06:16:14.573Z] e2be974225ed: Pull complete [2024-09-03T06:16:15.140Z] 339a4e72a1f5: Pull complete [2024-09-03T06:16:15.141Z] 988bab9f4d93: Pull complete [2024-09-03T06:16:15.401Z] 1469e6f7b9e6: Pull complete [2024-09-03T06:16:15.401Z] eaf3925da568: Pull complete [2024-09-03T06:16:17.306Z] bab4dde63d76: Pull complete [2024-09-03T06:16:17.306Z] bde34c3a00c8: Pull complete [2024-09-03T06:16:17.566Z] b352a97aabf1: Pull complete [2024-09-03T06:16:17.566Z] 4872d77fe225: Pull complete [2024-09-03T06:16:17.566Z] 5851b861e8e6: Pull complete [2024-09-03T06:16:17.566Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-09-03T06:16:17.566Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-03T06:16:17.566Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T06:16:17.982Z] prd-ubuntu20.04-docker-8c-8g-9256 does not seem to be running inside a container [2024-09-03T06:16:18.008Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1618 -v /w/workspace/gexfoundry_device-sdk-go_PR-1618:/w/workspace/gexfoundry_device-sdk-go_PR-1618:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1618@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-devops/py-git-semver:0.1.4 cat [2024-09-03T06:16:21.683Z] $ docker top d58a0c512aa06555b611ab5bc26ab045fe9f6302c4a5884839e207eeeb62371f -eo pid,comm [2024-09-03T06:16:21.744Z] 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-09-03T06:16:21.744Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-03T06:16:21.801Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-03T06:16:21.801Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-03T06:16:21.923Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-03T06:16:21.922Z] $ docker exec d58a0c512aa06555b611ab5bc26ab045fe9f6302c4a5884839e207eeeb62371f ssh-agent [2024-09-03T06:16:22.039Z] SSH_AUTH_SOCK=/tmp/ssh-Fey8n4dV8OTA/agent.33 [2024-09-03T06:16:22.039Z] SSH_AGENT_PID=39 [2024-09-03T06:16:22.046Z] Running ssh-add (command line suppressed) [2024-09-03T06:16:22.139Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/private_key_12111205318772705621.key (/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/private_key_12111205318772705621.key) [2024-09-03T06:16:22.159Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-03T06:16:22.457Z] + git tag --points-at HEAD [Pipeline] } [2024-09-03T06:16:22.464Z] $ docker exec --env ******** --env ******** d58a0c512aa06555b611ab5bc26ab045fe9f6302c4a5884839e207eeeb62371f ssh-agent -k [2024-09-03T06:16:22.562Z] unset SSH_AUTH_SOCK; [2024-09-03T06:16:22.563Z] unset SSH_AGENT_PID; [2024-09-03T06:16:22.563Z] echo Agent pid 39 killed; [2024-09-03T06:16:22.576Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-09-03T06:16:22.620Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-03T06:16:22.620Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-03T06:16:22.771Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-03T06:16:22.770Z] $ docker exec d58a0c512aa06555b611ab5bc26ab045fe9f6302c4a5884839e207eeeb62371f ssh-agent [2024-09-03T06:16:22.892Z] SSH_AUTH_SOCK=/tmp/ssh-2ejtfz4WYLkW/agent.72 [2024-09-03T06:16:22.892Z] SSH_AGENT_PID=78 [2024-09-03T06:16:22.898Z] Running ssh-add (command line suppressed) [2024-09-03T06:16:23.004Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/private_key_6249091088249660478.key (/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/private_key_6249091088249660478.key) [2024-09-03T06:16:23.025Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-03T06:16:23.324Z] + git semver init [2024-09-03T06:16:23.588Z] 2024-09-03 06:16:23,519 [run_init] DEBUG init version:0.0.0 force:False [2024-09-03T06:16:23.588Z] 2024-09-03 06:16:23,520 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver [2024-09-03T06:16:23.588Z] 2024-09-03 06:16:23,521 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver [2024-09-03T06:16:23.588Z] 2024-09-03 06:16:23,521 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1618, universal_newlines=False, shell=None, istream=None) [2024-09-03T06:16:26.151Z] 2024-09-03 06:16:25,594 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1618/.git/info/exclude [2024-09-03T06:16:26.151Z] 2024-09-03 06:16:25,594 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver/PR-1618 with force:False [2024-09-03T06:16:26.151Z] 2024-09-03 06:16:25,594 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver/PR-1618 [2024-09-03T06:16:26.151Z] 2024-09-03 06:16:25,599 [execute] INFO git cat-file --batch-check [2024-09-03T06:16:26.151Z] 2024-09-03 06:16:25,599 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver, universal_newlines=False, shell=None, istream=) [2024-09-03T06:16:26.151Z] 2024-09-03 06:16:25,605 [execute] INFO git cat-file --batch [2024-09-03T06:16:26.151Z] 2024-09-03 06:16:25,605 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver, universal_newlines=False, shell=None, istream=) [2024-09-03T06:16:26.151Z] 2024-09-03 06:16:25,611 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver/PR-1618 [2024-09-03T06:16:26.151Z] 0.0.0 [Pipeline] } [2024-09-03T06:16:26.161Z] $ docker exec --env ******** --env ******** d58a0c512aa06555b611ab5bc26ab045fe9f6302c4a5884839e207eeeb62371f ssh-agent -k [2024-09-03T06:16:26.264Z] unset SSH_AUTH_SOCK; [2024-09-03T06:16:26.264Z] unset SSH_AGENT_PID; [2024-09-03T06:16:26.264Z] echo Agent pid 78 killed; [2024-09-03T06:16:26.279Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-03T06:16:26.613Z] + git semver [Pipeline] } [2024-09-03T06:16:26.888Z] $ docker stop --time=1 d58a0c512aa06555b611ab5bc26ab045fe9f6302c4a5884839e207eeeb62371f [2024-09-03T06:16:28.212Z] $ docker rm -f --volumes d58a0c512aa06555b611ab5bc26ab045fe9f6302c4a5884839e207eeeb62371f [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-03T06:16:28.568Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-09-03T06:16:28.849Z] Stashed 1 file(s) [Pipeline] echo [2024-09-03T06:16:28.854Z] [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-09-03T06:16:29.047Z] provisioning config files... [2024-09-03T06:16:29.058Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/config4102335262384390326tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-03T06:16:29.362Z] ---> ****-login.sh [2024-09-03T06:16:29.362Z] nexus3.edgexfoundry.org:10001 [2024-09-03T06:16:29.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T06:16:29.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T06:16:29.362Z] Configure a credential helper to remove this warning. See [2024-09-03T06:16:29.362Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T06:16:29.362Z] [2024-09-03T06:16:29.362Z] Login Succeeded [2024-09-03T06:16:29.362Z] nexus3.edgexfoundry.org:10002 [2024-09-03T06:16:29.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T06:16:29.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T06:16:29.621Z] Configure a credential helper to remove this warning. See [2024-09-03T06:16:29.621Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T06:16:29.621Z] [2024-09-03T06:16:29.621Z] Login Succeeded [2024-09-03T06:16:29.621Z] nexus3.edgexfoundry.org:10003 [2024-09-03T06:16:29.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T06:16:29.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T06:16:29.621Z] Configure a credential helper to remove this warning. See [2024-09-03T06:16:29.621Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T06:16:29.621Z] [2024-09-03T06:16:29.621Z] Login Succeeded [2024-09-03T06:16:29.621Z] nexus3.edgexfoundry.org:10004 [2024-09-03T06:16:29.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T06:16:29.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T06:16:29.622Z] Configure a credential helper to remove this warning. See [2024-09-03T06:16:29.622Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T06:16:29.622Z] [2024-09-03T06:16:29.622Z] Login Succeeded [2024-09-03T06:16:29.882Z] ****.io [2024-09-03T06:16:29.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T06:16:29.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T06:16:29.882Z] Configure a credential helper to remove this warning. See [2024-09-03T06:16:29.882Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T06:16:29.882Z] [2024-09-03T06:16:30.141Z] Login Succeeded [2024-09-03T06:16:30.141Z] ---> ****-login.sh ends [Pipeline] } [2024-09-03T06:16:30.149Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-03T06:16:30.265Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-03T06:16:30.282Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-03T06:16:30.295Z] ========================================================= [2024-09-03T06:16:30.295Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-09-03T06:16:30.295Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T06:16:30.657Z] + 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-09-03T06:16:30.657Z] Sending build context to Docker daemon 25.3MB [2024-09-03T06:16:30.657Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-09-03T06:16:30.657Z] Step 2/10 : FROM ${BASE} AS builder [2024-09-03T06:16:30.916Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-09-03T06:16:30.916Z] 619be1103602: Pulling fs layer [2024-09-03T06:16:30.916Z] 7862e08f4a3e: Pulling fs layer [2024-09-03T06:16:30.916Z] 5df492c9dc93: Pulling fs layer [2024-09-03T06:16:30.916Z] 7629e6793208: Pulling fs layer [2024-09-03T06:16:30.916Z] 4f4fb700ef54: Pulling fs layer [2024-09-03T06:16:30.916Z] fb5054dd5b73: Pulling fs layer [2024-09-03T06:16:30.916Z] eeca6798cff9: Pulling fs layer [2024-09-03T06:16:30.916Z] aa269ceb94a6: Pulling fs layer [2024-09-03T06:16:30.916Z] ada007ff1a6a: Pulling fs layer [2024-09-03T06:16:30.916Z] 4f4fb700ef54: Waiting [2024-09-03T06:16:30.916Z] 7629e6793208: Waiting [2024-09-03T06:16:30.916Z] fb5054dd5b73: Waiting [2024-09-03T06:16:30.916Z] ada007ff1a6a: Waiting [2024-09-03T06:16:30.916Z] 7862e08f4a3e: Verifying Checksum [2024-09-03T06:16:30.916Z] 7862e08f4a3e: Download complete [2024-09-03T06:16:30.916Z] 7629e6793208: Verifying Checksum [2024-09-03T06:16:30.916Z] 7629e6793208: Download complete [2024-09-03T06:16:30.916Z] 4f4fb700ef54: Download complete [2024-09-03T06:16:30.916Z] 619be1103602: Verifying Checksum [2024-09-03T06:16:30.916Z] 619be1103602: Download complete [2024-09-03T06:16:30.916Z] fb5054dd5b73: Download complete [2024-09-03T06:16:30.916Z] eeca6798cff9: Verifying Checksum [2024-09-03T06:16:30.916Z] eeca6798cff9: Download complete [2024-09-03T06:16:30.916Z] ada007ff1a6a: Verifying Checksum [2024-09-03T06:16:30.916Z] ada007ff1a6a: Download complete [2024-09-03T06:16:31.176Z] 619be1103602: Pull complete [2024-09-03T06:16:31.176Z] 7862e08f4a3e: Pull complete [2024-09-03T06:16:31.435Z] 5df492c9dc93: Verifying Checksum [2024-09-03T06:16:31.435Z] 5df492c9dc93: Download complete [2024-09-03T06:16:31.693Z] aa269ceb94a6: Verifying Checksum [2024-09-03T06:16:31.693Z] aa269ceb94a6: Download complete [2024-09-03T06:16:34.981Z] 5df492c9dc93: Pull complete [2024-09-03T06:16:34.981Z] 7629e6793208: Pull complete [2024-09-03T06:16:34.981Z] 4f4fb700ef54: Pull complete [2024-09-03T06:16:34.981Z] fb5054dd5b73: Pull complete [2024-09-03T06:16:34.981Z] eeca6798cff9: Pull complete [2024-09-03T06:16:37.513Z] aa269ceb94a6: Pull complete [2024-09-03T06:16:38.080Z] ada007ff1a6a: Pull complete [2024-09-03T06:16:38.080Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-09-03T06:16:38.080Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-09-03T06:16:38.080Z] ---> f489d0715acc [2024-09-03T06:16:38.080Z] Step 3/10 : ARG MAKE=make build [2024-09-03T06:16:42.280Z] ---> Running in 3380cbb21a9d [2024-09-03T06:16:42.280Z] Removing intermediate container 3380cbb21a9d [2024-09-03T06:16:42.280Z] ---> 334a286e9a2c [2024-09-03T06:16:42.280Z] Step 4/10 : WORKDIR /device-sdk-go [2024-09-03T06:16:42.280Z] ---> Running in 0a282a1f7448 [2024-09-03T06:16:42.280Z] Removing intermediate container 0a282a1f7448 [2024-09-03T06:16:42.280Z] ---> 2a3eff72b3db [2024-09-03T06:16:42.280Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-03T06:16:42.280Z] ---> Running in 21546c1a1100 [2024-09-03T06:16:42.280Z] Removing intermediate container 21546c1a1100 [2024-09-03T06:16:42.280Z] ---> 6b0b766642a8 [2024-09-03T06:16:42.280Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-09-03T06:16:42.280Z] ---> Running in 18fdc102c285 [2024-09-03T06:16:42.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-03T06:16:42.798Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-03T06:16:43.056Z] OK: 264 MiB in 52 packages [2024-09-03T06:16:43.316Z] Removing intermediate container 18fdc102c285 [2024-09-03T06:16:43.316Z] ---> aad70cdaf247 [2024-09-03T06:16:43.316Z] Step 7/10 : COPY go.mod vendor* ./ [2024-09-03T06:16:43.575Z] ---> f8c413dc8739 [2024-09-03T06:16:43.575Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-03T06:16:43.575Z] ---> Running in 38ddeaa6ea0f [2024-09-03T06:16:43.984Z] Still waiting to schedule task [2024-09-03T06:16:43.984Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-9257’ is offline [2024-09-03T06:17:30.365Z] Removing intermediate container 38ddeaa6ea0f [2024-09-03T06:17:30.365Z] ---> 6c562a64c887 [2024-09-03T06:17:30.365Z] Step 9/10 : COPY . . [2024-09-03T06:17:31.305Z] ---> 7dc2a946ac18 [2024-09-03T06:17:31.305Z] Step 10/10 : RUN ${MAKE} [2024-09-03T06:17:31.305Z] ---> Running in 676451c21d6d [2024-09-03T06:17:31.305Z] noop [2024-09-03T06:17:31.566Z] Removing intermediate container 676451c21d6d [2024-09-03T06:17:31.566Z] ---> d96713b1c915 [2024-09-03T06:17:31.566Z] Successfully built d96713b1c915 [2024-09-03T06:17:31.566Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T06:17:31.914Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-03T06:17:31.914Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T06:17:32.003Z] prd-ubuntu20.04-docker-8c-8g-9256 does not seem to be running inside a container [2024-09-03T06:17:32.032Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1618 -v /w/workspace/gexfoundry_device-sdk-go_PR-1618:/w/workspace/gexfoundry_device-sdk-go_PR-1618:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-09-03T06:17:32.377Z] $ docker top 313f063bfaa1df55a06ac8fe79dcdf0f307f35876caef0e360eb383369e22c6f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-03T06:17:32.734Z] + go version [2024-09-03T06:17:32.734Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-09-03T06:17:32.743Z] $ docker stop --time=1 313f063bfaa1df55a06ac8fe79dcdf0f307f35876caef0e360eb383369e22c6f [2024-09-03T06:17:34.026Z] $ docker rm -f --volumes 313f063bfaa1df55a06ac8fe79dcdf0f307f35876caef0e360eb383369e22c6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T06:17:34.493Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-03T06:17:34.493Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T06:17:34.576Z] prd-ubuntu20.04-docker-8c-8g-9256 does not seem to be running inside a container [2024-09-03T06:17:34.601Z] $ 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-1618 -v /w/workspace/gexfoundry_device-sdk-go_PR-1618:/w/workspace/gexfoundry_device-sdk-go_PR-1618:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-09-03T06:17:34.936Z] $ docker top dbb2a26ad2cee15ce92108129578173b432c69016545644693fe85139a6f15f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-03T06:17:35.290Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1618 [Pipeline] fileExists [Pipeline] sh [2024-09-03T06:17:35.602Z] + make test [2024-09-03T06:17:35.602Z] go test -race -coverprofile=coverage.out ./... [2024-09-03T06:17:43.717Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-09-03T06:18:10.246Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-09-03T06:18:10.246Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-09-03T06:18:10.246Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-09-03T06:18:10.246Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-09-03T06:18:10.246Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-09-03T06:18:10.246Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-09-03T06:18:10.246Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-09-03T06:18:10.246Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.032s coverage: 26.0% of statements [2024-09-03T06:18:10.246Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.031s coverage: 79.4% of statements [2024-09-03T06:18:10.246Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.042s coverage: 86.0% of statements [2024-09-03T06:18:11.757Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-09-03T06:18:11.757Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-09-03T06:18:11.757Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-09-03T06:18:11.757Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-09-03T06:18:12.701Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.093s coverage: 45.2% of statements [2024-09-03T06:18:13.639Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-09-03T06:18:15.548Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.044s coverage: 14.4% of statements [2024-09-03T06:18:15.548Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.341s coverage: 44.6% of statements [2024-09-03T06:18:15.548Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.061s coverage: 68.5% of statements [2024-09-03T06:18:15.548Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.095s coverage: 89.2% of statements [2024-09-03T06:18:15.548Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.052s coverage: 5.3% of statements [2024-09-03T06:18:54.259Z] GO111MODULE=on go vet ./... [2024-09-03T06:18:54.517Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-03T06:18:54.517Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-03T06:18:54.778Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-09-03T06:18:55.054Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-03T06:18:55.069Z] $ docker stop --time=1 dbb2a26ad2cee15ce92108129578173b432c69016545644693fe85139a6f15f1 [2024-09-03T06:19:00.133Z] $ docker rm -f --volumes dbb2a26ad2cee15ce92108129578173b432c69016545644693fe85139a6f15f1 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-03T06:19:00.804Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-03T06:19:00.880Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-09-03T06:19:01.331Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-03T06:19:01.614Z] + ls -al . [2024-09-03T06:19:01.614Z] total 384 [2024-09-03T06:19:01.614Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 3 06:17 . [2024-09-03T06:19:01.614Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 3 06:15 .. [2024-09-03T06:19:01.614Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 3 06:16 .dockerignore [2024-09-03T06:19:01.614Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 3 06:18 .git [2024-09-03T06:19:01.614Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 3 06:16 .github [2024-09-03T06:19:01.614Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 3 06:16 .gitignore [2024-09-03T06:19:01.614Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 3 06:16 .golangci.yml [2024-09-03T06:19:01.614Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 3 06:16 .semver [2024-09-03T06:19:01.614Z] -rw-rw-r-- 1 jenkins jenkins 48109 Sep 3 06:16 CHANGELOG.md [2024-09-03T06:19:01.614Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 3 06:16 GOVERNANCE.md [2024-09-03T06:19:01.614Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 3 06:16 Jenkinsfile [2024-09-03T06:19:01.614Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 3 06:16 LICENSE [2024-09-03T06:19:01.614Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 3 06:16 Makefile [2024-09-03T06:19:01.614Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 3 06:16 OWNERS.md [2024-09-03T06:19:01.614Z] -rw-rw-r-- 1 jenkins jenkins 4937 Sep 3 06:16 README.md [2024-09-03T06:19:01.614Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 3 06:16 VERSION [2024-09-03T06:19:01.614Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 3 06:16 bin [2024-09-03T06:19:01.614Z] -rw-r--r-- 1 jenkins jenkins 127941 Sep 3 06:18 coverage.out [2024-09-03T06:19:01.614Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 3 06:16 example [2024-09-03T06:19:01.614Z] -rw-rw-r-- 1 jenkins jenkins 6984 Sep 3 06:16 go.mod [2024-09-03T06:19:01.614Z] -rw-rw-r-- 1 jenkins jenkins 101460 Sep 3 06:16 go.sum [2024-09-03T06:19:01.614Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 3 06:16 internal [2024-09-03T06:19:01.614Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 3 06:16 openapi [2024-09-03T06:19:01.614Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 3 06:16 pkg [2024-09-03T06:19:01.614Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 3 06:16 snap [2024-09-03T06:19:01.614Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 3 06:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T06:19:01.930Z] + 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=2142bae1f45ba2855303e44800e00e2aa6ee3206 --label arch=amd64 --label version=0.0.0 . [2024-09-03T06:19:01.930Z] Sending build context to Docker daemon 25.42MB [2024-09-03T06:19:01.930Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-09-03T06:19:01.930Z] Step 2/24 : FROM ${BASE} AS builder [2024-09-03T06:19:01.930Z] ---> d96713b1c915 [2024-09-03T06:19:01.930Z] Step 3/24 : ARG MAKE=make build [2024-09-03T06:19:02.499Z] ---> Running in 3c941676fe41 [2024-09-03T06:19:02.758Z] Removing intermediate container 3c941676fe41 [2024-09-03T06:19:02.758Z] ---> c7dadf14f847 [2024-09-03T06:19:02.758Z] Step 4/24 : WORKDIR /device-sdk-go [2024-09-03T06:19:02.758Z] ---> Running in b458d9620995 [2024-09-03T06:19:02.758Z] Removing intermediate container b458d9620995 [2024-09-03T06:19:02.758Z] ---> 6c04affd8644 [2024-09-03T06:19:02.758Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-03T06:19:02.758Z] ---> Running in 40194c9c172f [2024-09-03T06:19:02.758Z] Removing intermediate container 40194c9c172f [2024-09-03T06:19:02.758Z] ---> 7874203ad113 [2024-09-03T06:19:02.758Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-09-03T06:19:02.758Z] ---> Running in 03f4f926a412 [2024-09-03T06:19:03.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-03T06:19:03.277Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-03T06:19:03.536Z] OK: 264 MiB in 52 packages [2024-09-03T06:19:03.795Z] Removing intermediate container 03f4f926a412 [2024-09-03T06:19:03.795Z] ---> c8e583e3c3f7 [2024-09-03T06:19:03.795Z] Step 7/24 : COPY go.mod vendor* ./ [2024-09-03T06:19:04.053Z] ---> 9ff767edeffb [2024-09-03T06:19:04.053Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-03T06:19:04.053Z] ---> Running in bdf998f7374f [2024-09-03T06:19:04.620Z] Removing intermediate container bdf998f7374f [2024-09-03T06:19:04.620Z] ---> d01a2740718c [2024-09-03T06:19:04.620Z] Step 9/24 : COPY . . [2024-09-03T06:19:05.555Z] ---> b2d2db0400bf [2024-09-03T06:19:05.555Z] Step 10/24 : RUN ${MAKE} [2024-09-03T06:19:05.555Z] ---> Running in f7cf6e55682e [2024-09-03T06:19:05.814Z] 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-09-03T06:19:30.844Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9258 in /w/workspace/gexfoundry_device-sdk-go_PR-1618 [Pipeline] { [Pipeline] ws [2024-09-03T06:19:30.867Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2024-09-03T06:19:33.927Z] The recommended git tool is: git [2024-09-03T06:19:41.450Z] using credential edgex-jenkins-ssh [2024-09-03T06:19:41.471Z] Cloning the remote Git repository [2024-09-03T06:19:41.568Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-09-03T06:19:41.788Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2024-09-03T06:19:42.164Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-09-03T06:19:42.165Z] > git --version # timeout=10 [2024-09-03T06:19:42.290Z] > git --version # 'git version 2.25.1' [2024-09-03T06:19:42.293Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-03T06:19:42.639Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-03T06:19:44.590Z] Removing intermediate container f7cf6e55682e [2024-09-03T06:19:44.590Z] ---> 4931737bb0f9 [2024-09-03T06:19:44.590Z] Step 11/24 : FROM alpine:3.18 [2024-09-03T06:19:44.590Z] 3.18: Pulling from library/alpine [2024-09-03T06:19:44.590Z] 930bdd4d222e: Pulling fs layer [2024-09-03T06:19:44.590Z] 930bdd4d222e: Download complete [2024-09-03T06:19:44.590Z] 930bdd4d222e: Pull complete [2024-09-03T06:19:44.590Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-09-03T06:19:44.590Z] Status: Downloaded newer image for alpine:3.18 [2024-09-03T06:19:44.590Z] ---> 18f865063206 [2024-09-03T06:19:44.590Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-09-03T06:19:44.590Z] ---> Running in 27753c096588 [2024-09-03T06:19:44.590Z] Removing intermediate container 27753c096588 [2024-09-03T06:19:44.590Z] ---> 61ba82475c62 [2024-09-03T06:19:44.590Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-09-03T06:19:44.590Z] ---> Running in 3c46c736ef8c [2024-09-03T06:19:44.590Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-03T06:19:44.590Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-03T06:19:44.590Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-03T06:19:44.590Z] Executing busybox-1.36.1-r7.trigger [2024-09-03T06:19:44.590Z] OK: 7 MiB in 16 packages [2024-09-03T06:19:44.590Z] Removing intermediate container 3c46c736ef8c [2024-09-03T06:19:44.590Z] ---> 4f87d1f842b7 [2024-09-03T06:19:44.590Z] Step 14/24 : RUN apk --no-cache upgrade [2024-09-03T06:19:44.590Z] ---> Running in bdc7fc8e5645 [2024-09-03T06:19:44.590Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-03T06:19:44.590Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-03T06:19:44.590Z] OK: 7 MiB in 16 packages [2024-09-03T06:19:44.590Z] Removing intermediate container bdc7fc8e5645 [2024-09-03T06:19:44.590Z] ---> 1d8ae27263dc [2024-09-03T06:19:44.590Z] Step 15/24 : WORKDIR / [2024-09-03T06:19:44.590Z] ---> Running in fa7e9e663e43 [2024-09-03T06:19:44.590Z] Removing intermediate container fa7e9e663e43 [2024-09-03T06:19:44.590Z] ---> 588b68756d43 [2024-09-03T06:19:44.590Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-09-03T06:19:44.590Z] ---> 98d2a8e5f5a1 [2024-09-03T06:19:44.590Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-09-03T06:19:45.178Z] ---> ca59d87885b8 [2024-09-03T06:19:45.178Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-09-03T06:19:45.441Z] ---> 1c89c1b12979 [2024-09-03T06:19:45.441Z] Step 19/24 : EXPOSE 59999 [2024-09-03T06:19:45.441Z] ---> Running in 7082793d128b [2024-09-03T06:19:45.441Z] Removing intermediate container 7082793d128b [2024-09-03T06:19:45.441Z] ---> e8e873c389b9 [2024-09-03T06:19:45.441Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-09-03T06:19:45.441Z] ---> Running in ee0c05d8c80d [2024-09-03T06:19:45.441Z] Removing intermediate container ee0c05d8c80d [2024-09-03T06:19:45.441Z] ---> 99c92f5ff3d3 [2024-09-03T06:19:45.441Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-09-03T06:19:45.441Z] ---> Running in 0529d3bc5979 [2024-09-03T06:19:45.441Z] Removing intermediate container 0529d3bc5979 [2024-09-03T06:19:45.441Z] ---> 9de5e240369f [2024-09-03T06:19:45.441Z] Step 22/24 : LABEL arch=amd64 [2024-09-03T06:19:45.700Z] ---> Running in 0b4f37c7b9b3 [2024-09-03T06:19:45.700Z] Removing intermediate container 0b4f37c7b9b3 [2024-09-03T06:19:45.700Z] ---> 74782e01bc18 [2024-09-03T06:19:45.700Z] Step 23/24 : LABEL git_sha=2142bae1f45ba2855303e44800e00e2aa6ee3206 [2024-09-03T06:19:45.700Z] ---> Running in 2c7926a7cefe [2024-09-03T06:19:45.700Z] Removing intermediate container 2c7926a7cefe [2024-09-03T06:19:45.700Z] ---> 03eb26b2be28 [2024-09-03T06:19:45.700Z] Step 24/24 : LABEL version=0.0.0 [2024-09-03T06:19:45.700Z] ---> Running in 42d614875b3c [2024-09-03T06:19:45.959Z] Removing intermediate container 42d614875b3c [2024-09-03T06:19:45.959Z] ---> 5b563af7ae4e [2024-09-03T06:19:45.959Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-03T06:19:45.959Z] Successfully built 5b563af7ae4e [2024-09-03T06:19:45.959Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T06:19:46.448Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-03T06:19:46.449Z] [2024-09-03T06:19:46.449Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T06:19:46.757Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-03T06:19:46.757Z] latest: Pulling from edgex-lftools-log-publisher [2024-09-03T06:19:46.757Z] 5eb5b503b376: Pulling fs layer [2024-09-03T06:19:46.757Z] 5c69ac0246d0: Pulling fs layer [2024-09-03T06:19:46.757Z] ec43610c2a17: Pulling fs layer [2024-09-03T06:19:46.757Z] 3a2ae6a8a46f: Pulling fs layer [2024-09-03T06:19:46.757Z] 33b1e0a273af: Pulling fs layer [2024-09-03T06:19:46.757Z] 5d3b04190fa2: Pulling fs layer [2024-09-03T06:19:46.757Z] 2f39f015ded8: Pulling fs layer [2024-09-03T06:19:46.757Z] 3a2ae6a8a46f: Waiting [2024-09-03T06:19:46.757Z] 33b1e0a273af: Waiting [2024-09-03T06:19:46.757Z] 5d3b04190fa2: Waiting [2024-09-03T06:19:46.757Z] 2f39f015ded8: Waiting [2024-09-03T06:19:46.757Z] 5c69ac0246d0: Download complete [2024-09-03T06:19:47.015Z] 3a2ae6a8a46f: Download complete [2024-09-03T06:19:47.015Z] 33b1e0a273af: Verifying Checksum [2024-09-03T06:19:47.015Z] 33b1e0a273af: Download complete [2024-09-03T06:19:47.015Z] 5d3b04190fa2: Verifying Checksum [2024-09-03T06:19:47.015Z] 5d3b04190fa2: Download complete [2024-09-03T06:19:47.015Z] ec43610c2a17: Verifying Checksum [2024-09-03T06:19:47.015Z] ec43610c2a17: Download complete [2024-09-03T06:19:47.015Z] 5eb5b503b376: Download complete [2024-09-03T06:19:46.479Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-09-03T06:19:46.555Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-03T06:19:47.582Z] 2f39f015ded8: Download complete [2024-09-03T06:19:48.148Z] 5eb5b503b376: Pull complete [2024-09-03T06:19:48.405Z] 5c69ac0246d0: Pull complete [2024-09-03T06:19:48.974Z] ec43610c2a17: Pull complete [2024-09-03T06:19:48.974Z] 3a2ae6a8a46f: Pull complete [2024-09-03T06:19:48.988Z] Merging remotes/origin/main commit 083c381ac4cc923d13d653dabf1097f47e3433f3 into PR head commit 2142bae1f45ba2855303e44800e00e2aa6ee3206 [2024-09-03T06:19:48.177Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-09-03T06:19:48.279Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-09-03T06:19:48.280Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-03T06:19:48.319Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1618/head:refs/remotes/origin/PR-1618 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-09-03T06:19:49.006Z] > git config core.sparsecheckout # timeout=10 [2024-09-03T06:19:49.133Z] > git checkout -f 2142bae1f45ba2855303e44800e00e2aa6ee3206 # timeout=10 [2024-09-03T06:19:49.231Z] 33b1e0a273af: Pull complete [2024-09-03T06:19:49.232Z] 5d3b04190fa2: Pull complete [2024-09-03T06:19:49.502Z] Merge succeeded, producing 2142bae1f45ba2855303e44800e00e2aa6ee3206 [2024-09-03T06:19:49.502Z] Checking out Revision 2142bae1f45ba2855303e44800e00e2aa6ee3206 (PR-1618) [2024-09-03T06:19:50.406Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2024-09-03T06:19:49.289Z] > git remote # timeout=10 [2024-09-03T06:19:49.329Z] > git config --get remote.origin.url # timeout=10 [2024-09-03T06:19:49.371Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-03T06:19:49.418Z] > git merge 083c381ac4cc923d13d653dabf1097f47e3433f3 # timeout=10 [2024-09-03T06:19:49.452Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-09-03T06:19:49.509Z] > git config core.sparsecheckout # timeout=10 [2024-09-03T06:19:49.537Z] > git checkout -f 2142bae1f45ba2855303e44800e00e2aa6ee3206 # timeout=10 [2024-09-03T06:19:53.409Z] 2f39f015ded8: Pull complete [2024-09-03T06:19:53.409Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-09-03T06:19:53.409Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-03T06:19:53.409Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T06:19:53.526Z] prd-ubuntu20.04-docker-8c-8g-9256 does not seem to be running inside a container [2024-09-03T06:19:53.551Z] $ 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-1618 -v /w/workspace/gexfoundry_device-sdk-go_PR-1618:/w/workspace/gexfoundry_device-sdk-go_PR-1618:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-03T06:19:55.363Z] [2024-09-03T06:19:55.363Z] GitHub has been notified of this commit’s build result [2024-09-03T06:19:55.363Z] [2024-09-03T06:19:58.605Z] $ docker top 5ec8cb76385137e9c0bcfebea4faa22462cdf89455798410b44698264938227a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-03T06:19:59.001Z] ---> job-cost.sh [2024-09-03T06:19:59.001Z] lf-activate-venv: SKIPPING [2024-09-03T06:19:59.001Z] INFO: No Stack... [2024-09-03T06:19:59.259Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-03T06:19:59.379Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-09-03T06:19:59.379Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-03T06:19:59.379Z] Dload Upload Total Spent Left Speed [2024-09-03T06:19:59.379Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 231k 0 --:--:-- --:--:-- --:--:-- 231k [Pipeline] sh [2024-09-03T06:19:59.518Z] INFO: Archiving Costs [Pipeline] sh [2024-09-03T06:19:59.713Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-09-03T06:19:59.809Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1618/archives/cost.csv [2024-09-03T06:19:59.809Z] + cut -d, -f6 [Pipeline] lock [2024-09-03T06:19:59.824Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1618-2-stack-cost] [2024-09-03T06:19:59.834Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1618-2-stack-cost] did not exist. Created. [2024-09-03T06:19:59.841Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1618-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-03T06:20:00.047Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-09-03T06:20:00.047Z] + sudo tee /etc/docker/daemon.new [2024-09-03T06:20:00.047Z] { [2024-09-03T06:20:00.047Z] "registry-mirrors": [ [2024-09-03T06:20:00.047Z] "https://nexus3.edgexfoundry.org:10001" [2024-09-03T06:20:00.047Z] ], [2024-09-03T06:20:00.047Z] "bip": "10.250.0.254/24", [2024-09-03T06:20:00.047Z] "hosts": [ [2024-09-03T06:20:00.047Z] "tcp://0.0.0.0:5555", [2024-09-03T06:20:00.047Z] "unix:///var/run/docker.sock" [2024-09-03T06:20:00.047Z] ], [2024-09-03T06:20:00.047Z] "mtu": 1458, [2024-09-03T06:20:00.047Z] "selinux-enabled": true, [2024-09-03T06:20:00.047Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-09-03T06:20:00.047Z] } [Pipeline] sh [2024-09-03T06:20:00.149Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-09-03T06:20:00.178Z] Stashed 1 file(s) [Pipeline] } [2024-09-03T06:20:00.187Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1618-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-03T06:20:00.209Z] $ docker stop --time=1 5ec8cb76385137e9c0bcfebea4faa22462cdf89455798410b44698264938227a [2024-09-03T06:20:00.381Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2024-09-03T06:20:01.373Z] $ docker rm -f --volumes 5ec8cb76385137e9c0bcfebea4faa22462cdf89455798410b44698264938227a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-03T06:20:01.751Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-03T06:20:20.042Z] provisioning config files... [2024-09-03T06:20:20.075Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config16447515351747566917tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-03T06:20:20.569Z] ---> ****-login.sh [2024-09-03T06:20:20.569Z] nexus3.edgexfoundry.org:10001 [2024-09-03T06:20:20.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T06:20:21.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T06:20:21.110Z] Configure a credential helper to remove this warning. See [2024-09-03T06:20:21.110Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T06:20:21.110Z] [2024-09-03T06:20:21.110Z] Login Succeeded [2024-09-03T06:20:21.110Z] nexus3.edgexfoundry.org:10002 [2024-09-03T06:20:21.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T06:20:21.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T06:20:21.654Z] Configure a credential helper to remove this warning. See [2024-09-03T06:20:21.654Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T06:20:21.654Z] [2024-09-03T06:20:21.654Z] Login Succeeded [2024-09-03T06:20:21.654Z] nexus3.edgexfoundry.org:10003 [2024-09-03T06:20:21.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T06:20:21.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T06:20:21.926Z] Configure a credential helper to remove this warning. See [2024-09-03T06:20:21.926Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T06:20:21.926Z] [2024-09-03T06:20:21.926Z] Login Succeeded [2024-09-03T06:20:21.926Z] nexus3.edgexfoundry.org:10004 [2024-09-03T06:20:22.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T06:20:22.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T06:20:22.195Z] Configure a credential helper to remove this warning. See [2024-09-03T06:20:22.195Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T06:20:22.195Z] [2024-09-03T06:20:22.195Z] Login Succeeded [2024-09-03T06:20:22.195Z] ****.io [2024-09-03T06:20:22.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T06:20:25.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T06:20:25.055Z] Configure a credential helper to remove this warning. See [2024-09-03T06:20:25.055Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T06:20:25.055Z] [2024-09-03T06:20:25.055Z] Login Succeeded [2024-09-03T06:20:25.055Z] ---> ****-login.sh ends [Pipeline] } [2024-09-03T06:20:25.069Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-03T06:20:25.414Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-03T06:20:25.435Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-03T06:20:25.451Z] ========================================================= [2024-09-03T06:20:25.451Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-09-03T06:20:25.451Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T06:20:25.832Z] + 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-09-03T06:20:26.433Z] Sending build context to Docker daemon 13.1MB [2024-09-03T06:20:26.433Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-09-03T06:20:26.433Z] Step 2/10 : FROM ${BASE} AS builder [2024-09-03T06:20:26.708Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-09-03T06:20:26.708Z] c6b39de5b339: Pulling fs layer [2024-09-03T06:20:26.708Z] a69c41024577: Pulling fs layer [2024-09-03T06:20:26.708Z] d6de4b400683: Pulling fs layer [2024-09-03T06:20:26.708Z] 35cb2a7552d0: Pulling fs layer [2024-09-03T06:20:26.708Z] 4f4fb700ef54: Pulling fs layer [2024-09-03T06:20:26.708Z] 464afbd9ba4c: Pulling fs layer [2024-09-03T06:20:26.708Z] 00f215d4a9da: Pulling fs layer [2024-09-03T06:20:26.708Z] d496ad576159: Pulling fs layer [2024-09-03T06:20:26.708Z] 4f4fb700ef54: Waiting [2024-09-03T06:20:26.708Z] 464afbd9ba4c: Waiting [2024-09-03T06:20:26.708Z] 00f215d4a9da: Waiting [2024-09-03T06:20:26.708Z] d496ad576159: Waiting [2024-09-03T06:20:26.708Z] 35cb2a7552d0: Waiting [2024-09-03T06:20:26.708Z] a69c41024577: Verifying Checksum [2024-09-03T06:20:26.708Z] a69c41024577: Download complete [2024-09-03T06:20:26.708Z] 35cb2a7552d0: Verifying Checksum [2024-09-03T06:20:26.708Z] 35cb2a7552d0: Download complete [2024-09-03T06:20:26.708Z] 4f4fb700ef54: Verifying Checksum [2024-09-03T06:20:26.708Z] 4f4fb700ef54: Download complete [2024-09-03T06:20:26.708Z] 464afbd9ba4c: Verifying Checksum [2024-09-03T06:20:26.708Z] 464afbd9ba4c: Download complete [2024-09-03T06:20:26.708Z] c6b39de5b339: Download complete [2024-09-03T06:20:27.305Z] d496ad576159: Verifying Checksum [2024-09-03T06:20:27.305Z] d496ad576159: Download complete [2024-09-03T06:20:27.896Z] c6b39de5b339: Pull complete [2024-09-03T06:20:28.490Z] a69c41024577: Pull complete [2024-09-03T06:20:28.490Z] d6de4b400683: Verifying Checksum [2024-09-03T06:20:28.490Z] d6de4b400683: Download complete [2024-09-03T06:20:29.904Z] 00f215d4a9da: Verifying Checksum [2024-09-03T06:20:29.904Z] 00f215d4a9da: Download complete [2024-09-03T06:20:42.288Z] d6de4b400683: Pull complete [2024-09-03T06:20:42.288Z] 35cb2a7552d0: Pull complete [2024-09-03T06:20:42.288Z] 4f4fb700ef54: Pull complete [2024-09-03T06:20:42.556Z] 464afbd9ba4c: Pull complete [2024-09-03T06:20:52.665Z] 00f215d4a9da: Pull complete [2024-09-03T06:20:53.623Z] d496ad576159: Pull complete [2024-09-03T06:20:53.624Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-09-03T06:20:53.624Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-09-03T06:20:53.624Z] ---> f246e2811388 [2024-09-03T06:20:53.624Z] Step 3/10 : ARG MAKE=make build [2024-09-03T06:20:54.588Z] ---> Running in 40a5a9f187d7 [2024-09-03T06:20:55.178Z] Removing intermediate container 40a5a9f187d7 [2024-09-03T06:20:55.178Z] ---> c16cdf39a3b5 [2024-09-03T06:20:55.178Z] Step 4/10 : WORKDIR /device-sdk-go [2024-09-03T06:20:55.178Z] ---> Running in 5afb29c18386 [2024-09-03T06:20:55.446Z] Removing intermediate container 5afb29c18386 [2024-09-03T06:20:55.446Z] ---> ada589032243 [2024-09-03T06:20:55.446Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-03T06:20:55.446Z] ---> Running in 072653d8b465 [2024-09-03T06:20:55.718Z] Removing intermediate container 072653d8b465 [2024-09-03T06:20:55.718Z] ---> 0476e583c9f0 [2024-09-03T06:20:55.718Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-09-03T06:20:55.987Z] ---> Running in 5ba3b4467e87 [2024-09-03T06:20:57.402Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-03T06:20:57.402Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-03T06:20:58.367Z] OK: 266 MiB in 52 packages [2024-09-03T06:20:59.336Z] Removing intermediate container 5ba3b4467e87 [2024-09-03T06:20:59.336Z] ---> de2198a72977 [2024-09-03T06:20:59.336Z] Step 7/10 : COPY go.mod vendor* ./ [2024-09-03T06:20:59.929Z] ---> e5eb25289d0b [2024-09-03T06:20:59.929Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-03T06:20:59.929Z] ---> Running in 3eda5057cba6 [2024-09-03T06:21:46.812Z] go: github.com/gabriel-vasile/mimetype@v1.4.3: Get "https://storage.googleapis.com/proxy-golang-org-prod/8df50aaa37f10f1f-github.com:gabriel-vasile:mimetype-v1.4.3.zip?Expires=1725420093&GoogleAccessId=gcs-urlsigner-prod%40golang-modproxy.iam.gserviceaccount.com&Signature=Hx0w0bHvfpzRZvkCbBLSpcVm6g0Rxpe0t7D87s72wB7J%2BYniCYZ9Re6NGNt%2FXQ8sLr24VDMyUsFz6jdM36kVieDJ%2FunH%2BexlFhQvpRkv7z1mre0D%2F%2BKpFCKaISIE2079oXxBMW92bS8xXCJ%2Bi8jscBmguJPqk1qdoDDXKKxl1bTZlwVioXLqOG3yVargqtBXfmZMvIf9KfnO9CtLaSr8CS7enRFA%2F98Ev20qz42sfpzPjd%2FXkrtANHWVdDOc4%2BolTJzSnhs3%2FFnV40SKgL5ZvQgkNoWZc4q4f%2FY1e1iPzxor5Cbvn%2BAYuOUT8Vp8Od%2FaGeA3PfiVRgiuxlIxW%2B1kbg%3D%3D": dial tcp [2607:f8b0:400b:803::201b]:443: connect: cannot assign requested address [2024-09-03T06:21:46.813Z] go: github.com/klauspost/compress@v1.17.2: Get "https://storage.googleapis.com/proxy-golang-org-prod/3f182d1392558b79-github.com:klauspost:compress-v1.17.2.zip?Expires=1725430539&GoogleAccessId=gcs-urlsigner-prod%40golang-modproxy.iam.gserviceaccount.com&Signature=Z8RO%2Fky8QV9bHSgW4IEUhZylEzO3UgYf93279M4Xu%2FSLHVQitqwd9t8YXlkXYPJqjP5tUtgtS1OsOV6glZRxz6RwIl0yY2EnkrgFH7DHfiORztyINuj9tOEdmKj9ZiIwIt4KjqpMQ6Fltm9hy8D5l%2BNFwM6tLISOb9PxhxbiY8oUOnYybndPs%2Fx%2BUJdE7Z7rYX4OKQVbC%2BUpE5pKTTY0nfNAANdtVmdrms42Es1pDzihtVvMXjy8hZluz5ltdtGNqc%2FXTKTzCrURUvyavSTX53aVyOw74c6e6%2F0%2F8w2H%2FBML7vCAb1NnujhBai98F8lydOiDDuSf7VDmzzFNg5dBHg%3D%3D": dial tcp [2607:f8b0:400b:803::201b]:443: connect: cannot assign requested address [2024-09-03T06:21:46.813Z] go: google.golang.org/api@v0.44.0: Get "https://storage.googleapis.com/proxy-golang-org-prod/aeae1c5efcbfd982-google.golang.org:api-v0.44.0.zip?Expires=1725430541&GoogleAccessId=gcs-urlsigner-prod%40golang-modproxy.iam.gserviceaccount.com&Signature=vyW2nAaOLK%2FPMqEqeNpPCS6qbqiXsR3E%2F8eYPowB9pNVVuGY7MuQZseYSDJ2VjxSTPMGI0Ody4TauGhmpP0lDkVKzUUxk1wTufhkYl1j4cY0SlgkcZ6oORzHYt9FKLzj9uhMpbGuNfD2WCzEUH1qbqf9TnAei77MnMdHsIS9R%2FQ%2FPoGeNWdPn7MK06NUN%2BCBJ9oHusKY94BzVTE2joVV%2BijREsulZdET9%2B9Nhwjc63WRV7URDMDHvmHzTk8fyBdYiA1HHLoXmUG9BajFjL%2B%2FYIEX09yWDDsTKyrnv86f6OTm%2BiFWqAOrjrisS7cfrIUMQBprSCLJD1lnoq0iBBItlQ%3D%3D": dial tcp [2607:f8b0:400b:802::201b]:443: connect: cannot assign requested address [2024-09-03T06:21:46.813Z] skipping... [2024-09-03T06:22:43.246Z] Removing intermediate container 3eda5057cba6 [2024-09-03T06:22:43.246Z] ---> a57bf460ca2e [2024-09-03T06:22:43.246Z] Step 9/10 : COPY . . [2024-09-03T06:22:43.246Z] ---> 021bf4709d92 [2024-09-03T06:22:43.246Z] Step 10/10 : RUN ${MAKE} [2024-09-03T06:22:43.514Z] ---> Running in dc5097006171 [2024-09-03T06:22:44.479Z] noop [2024-09-03T06:22:45.065Z] Removing intermediate container dc5097006171 [2024-09-03T06:22:45.065Z] ---> 72c69b2c134e [2024-09-03T06:22:45.065Z] Successfully built 72c69b2c134e [2024-09-03T06:22:45.065Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T06:22:45.437Z] + docker inspect -f . ci-base-image-arm64 [2024-09-03T06:22:45.437Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T06:22:45.652Z] prd-ubuntu20.04-docker-arm64-4c-16g-9258 does not seem to be running inside a container [2024-09-03T06:22:45.897Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-09-03T06:22:47.093Z] $ docker top 6ac339fcf8ede71e74860c5f180cc4fb893f785c129f07557856fd2c3c181581 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-03T06:22:47.775Z] + go version [2024-09-03T06:22:47.775Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-09-03T06:22:47.929Z] $ docker stop --time=1 6ac339fcf8ede71e74860c5f180cc4fb893f785c129f07557856fd2c3c181581 [2024-09-03T06:22:49.540Z] $ docker rm -f --volumes 6ac339fcf8ede71e74860c5f180cc4fb893f785c129f07557856fd2c3c181581 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T06:22:50.011Z] + docker inspect -f . ci-base-image-arm64 [2024-09-03T06:22:50.011Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T06:22:50.214Z] prd-ubuntu20.04-docker-arm64-4c-16g-9258 does not seem to be running inside a container [2024-09-03T06:22:50.369Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-09-03T06:22:51.588Z] $ docker top 8be448870f131147c1ea65278abb966fcc66d3dbff0476838cffa4c87431010e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-03T06:22:52.344Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2024-09-03T06:22:52.999Z] + make test [2024-09-03T06:22:52.999Z] go test -race -coverprofile=coverage.out ./... [2024-09-03T06:22:53.963Z] go: downloading github.com/gabriel-vasile/mimetype v1.4.3 [2024-09-03T06:23:40.847Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-09-03T06:27:02.657Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-09-03T06:27:02.657Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-09-03T06:27:02.657Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-09-03T06:27:02.657Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-09-03T06:27:02.657Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-09-03T06:27:15.021Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.114s coverage: 26.0% of statements [2024-09-03T06:27:19.463Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.179s coverage: 79.4% of statements [2024-09-03T06:27:27.672Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-09-03T06:27:27.672Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-09-03T06:27:28.253Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.260s coverage: 86.0% of statements [2024-09-03T06:27:36.491Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-09-03T06:27:37.451Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.431s coverage: 45.2% of statements [2024-09-03T06:27:40.024Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.170s coverage: 14.4% of statements [2024-09-03T06:27:40.024Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.759s coverage: 44.6% of statements [2024-09-03T06:27:41.428Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-09-03T06:27:41.428Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-09-03T06:27:41.428Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-09-03T06:27:42.832Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.308s coverage: 68.5% of statements [2024-09-03T06:27:47.074Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.364s coverage: 89.2% of statements [2024-09-03T06:27:49.646Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-09-03T06:27:50.601Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.246s coverage: 5.3% of statements [2024-09-03T06:27:52.004Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-09-03T06:27:52.004Z] GO111MODULE=on go vet ./... [2024-09-03T06:31:43.796Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-03T06:31:43.796Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-03T06:31:43.796Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-09-03T06:31:43.817Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-03T06:31:43.810Z] $ docker stop --time=1 8be448870f131147c1ea65278abb966fcc66d3dbff0476838cffa4c87431010e [2024-09-03T06:31:45.783Z] $ docker rm -f --volumes 8be448870f131147c1ea65278abb966fcc66d3dbff0476838cffa4c87431010e [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-03T06:31:48.135Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-03T06:31:48.152Z] Warning: overwriting stash ‘coverage-report’ [2024-09-03T06:31:48.716Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-03T06:31:49.115Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-03T06:31:49.428Z] + ls -al . [2024-09-03T06:31:49.428Z] total 380 [2024-09-03T06:31:49.428Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 3 06:22 . [2024-09-03T06:31:49.428Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 3 06:19 .. [2024-09-03T06:31:49.428Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 3 06:19 .dockerignore [2024-09-03T06:31:49.428Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 3 06:19 .git [2024-09-03T06:31:49.428Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 3 06:19 .github [2024-09-03T06:31:49.428Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 3 06:19 .gitignore [2024-09-03T06:31:49.428Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 3 06:19 .golangci.yml [2024-09-03T06:31:49.428Z] -rw-rw-r-- 1 jenkins jenkins 48109 Sep 3 06:19 CHANGELOG.md [2024-09-03T06:31:49.428Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 3 06:19 GOVERNANCE.md [2024-09-03T06:31:49.428Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 3 06:19 Jenkinsfile [2024-09-03T06:31:49.428Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 3 06:19 LICENSE [2024-09-03T06:31:49.428Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 3 06:19 Makefile [2024-09-03T06:31:49.428Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 3 06:19 OWNERS.md [2024-09-03T06:31:49.428Z] -rw-rw-r-- 1 jenkins jenkins 4937 Sep 3 06:19 README.md [2024-09-03T06:31:49.428Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 3 06:16 VERSION [2024-09-03T06:31:49.428Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 3 06:19 bin [2024-09-03T06:31:49.428Z] -rw-r--r-- 1 jenkins jenkins 127940 Sep 3 06:27 coverage.out [2024-09-03T06:31:49.428Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 3 06:19 example [2024-09-03T06:31:49.428Z] -rw-rw-r-- 1 jenkins jenkins 6984 Sep 3 06:19 go.mod [2024-09-03T06:31:49.428Z] -rw-rw-r-- 1 jenkins jenkins 101460 Sep 3 06:19 go.sum [2024-09-03T06:31:49.428Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 3 06:19 internal [2024-09-03T06:31:49.428Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 3 06:19 openapi [2024-09-03T06:31:49.428Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 3 06:19 pkg [2024-09-03T06:31:49.428Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 3 06:19 snap [2024-09-03T06:31:49.428Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 3 06:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T06:31:49.773Z] + 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=2142bae1f45ba2855303e44800e00e2aa6ee3206 --label arch=arm64 --label version=0.0.0 . [2024-09-03T06:31:50.368Z] Sending build context to Docker daemon 13.23MB [2024-09-03T06:31:50.368Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-09-03T06:31:50.368Z] Step 2/24 : FROM ${BASE} AS builder [2024-09-03T06:31:50.368Z] ---> 72c69b2c134e [2024-09-03T06:31:50.368Z] Step 3/24 : ARG MAKE=make build [2024-09-03T06:31:50.634Z] ---> Running in 9b71274eab2e [2024-09-03T06:31:50.899Z] Removing intermediate container 9b71274eab2e [2024-09-03T06:31:50.899Z] ---> 75d00fd6baca [2024-09-03T06:31:50.899Z] Step 4/24 : WORKDIR /device-sdk-go [2024-09-03T06:31:50.899Z] ---> Running in af1c461596d2 [2024-09-03T06:31:51.164Z] Removing intermediate container af1c461596d2 [2024-09-03T06:31:51.164Z] ---> fbf7657a9a2d [2024-09-03T06:31:51.164Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-03T06:31:51.164Z] ---> Running in a30c05ed2c27 [2024-09-03T06:31:51.431Z] Removing intermediate container a30c05ed2c27 [2024-09-03T06:31:51.431Z] ---> 51283461abfe [2024-09-03T06:31:51.431Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-09-03T06:31:51.698Z] ---> Running in 2c08e26d592f [2024-09-03T06:31:52.654Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-03T06:31:52.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-03T06:31:53.874Z] OK: 266 MiB in 52 packages [2024-09-03T06:31:54.830Z] Removing intermediate container 2c08e26d592f [2024-09-03T06:31:54.830Z] ---> 1952ed8f6355 [2024-09-03T06:31:54.830Z] Step 7/24 : COPY go.mod vendor* ./ [2024-09-03T06:31:55.096Z] ---> e58545d3b7bf [2024-09-03T06:31:55.097Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-03T06:31:55.362Z] ---> Running in 6f4a05a53797 [2024-09-03T06:32:17.407Z] Removing intermediate container 6f4a05a53797 [2024-09-03T06:32:17.407Z] ---> a0e95e769c61 [2024-09-03T06:32:17.407Z] Step 9/24 : COPY . . [2024-09-03T06:32:17.407Z] ---> eb601cdd94fd [2024-09-03T06:32:17.407Z] Step 10/24 : RUN ${MAKE} [2024-09-03T06:32:17.407Z] ---> Running in 7fda3149da9e [2024-09-03T06:32:18.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-09-03T06:35:56.715Z] Removing intermediate container 7fda3149da9e [2024-09-03T06:35:56.715Z] ---> a038ffb5bfc7 [2024-09-03T06:35:56.715Z] Step 11/24 : FROM alpine:3.18 [2024-09-03T06:35:56.715Z] 3.18: Pulling from library/alpine [2024-09-03T06:35:56.715Z] 4983c3fe2029: Pulling fs layer [2024-09-03T06:35:56.715Z] 4983c3fe2029: Verifying Checksum [2024-09-03T06:35:56.715Z] 4983c3fe2029: Download complete [2024-09-03T06:35:56.715Z] 4983c3fe2029: Pull complete [2024-09-03T06:35:56.715Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-09-03T06:35:56.715Z] Status: Downloaded newer image for alpine:3.18 [2024-09-03T06:35:56.715Z] ---> a0237000ae83 [2024-09-03T06:35:56.715Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-09-03T06:35:56.715Z] ---> Running in b5395598782a [2024-09-03T06:35:56.715Z] Removing intermediate container b5395598782a [2024-09-03T06:35:56.715Z] ---> ab5fe1d2481f [2024-09-03T06:35:56.715Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-09-03T06:35:56.715Z] ---> Running in c9ec0f38c0f4 [2024-09-03T06:35:56.715Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-03T06:35:56.715Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-03T06:35:56.715Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-03T06:35:56.715Z] Executing busybox-1.36.1-r7.trigger [2024-09-03T06:35:56.715Z] OK: 8 MiB in 16 packages [2024-09-03T06:35:56.715Z] Removing intermediate container c9ec0f38c0f4 [2024-09-03T06:35:56.715Z] ---> 73956444df7b [2024-09-03T06:35:56.715Z] Step 14/24 : RUN apk --no-cache upgrade [2024-09-03T06:35:56.715Z] ---> Running in fea5c0b31abf [2024-09-03T06:35:56.715Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-03T06:35:56.715Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-03T06:35:56.715Z] OK: 8 MiB in 16 packages [2024-09-03T06:35:56.715Z] Removing intermediate container fea5c0b31abf [2024-09-03T06:35:56.715Z] ---> 2310adc1c149 [2024-09-03T06:35:56.715Z] Step 15/24 : WORKDIR / [2024-09-03T06:35:56.715Z] ---> Running in 6fea9791377f [2024-09-03T06:35:56.715Z] Removing intermediate container 6fea9791377f [2024-09-03T06:35:56.715Z] ---> 329b23cb9458 [2024-09-03T06:35:56.715Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-09-03T06:35:56.715Z] ---> 6e2adf21b0d0 [2024-09-03T06:35:56.715Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-09-03T06:35:56.715Z] ---> e9b971713569 [2024-09-03T06:35:56.715Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-09-03T06:35:56.715Z] ---> ed0876322f40 [2024-09-03T06:35:56.715Z] Step 19/24 : EXPOSE 59999 [2024-09-03T06:35:56.715Z] ---> Running in 25e18b567482 [2024-09-03T06:35:56.715Z] Removing intermediate container 25e18b567482 [2024-09-03T06:35:56.715Z] ---> 354dafc87590 [2024-09-03T06:35:56.715Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-09-03T06:35:56.715Z] ---> Running in c09570ca4ecc [2024-09-03T06:35:56.715Z] Removing intermediate container c09570ca4ecc [2024-09-03T06:35:56.715Z] ---> b4e468eb021f [2024-09-03T06:35:56.715Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-09-03T06:35:56.715Z] ---> Running in 600691e35dbd [2024-09-03T06:35:56.715Z] Removing intermediate container 600691e35dbd [2024-09-03T06:35:56.715Z] ---> 887243018572 [2024-09-03T06:35:56.715Z] Step 22/24 : LABEL arch=arm64 [2024-09-03T06:35:56.715Z] ---> Running in 297bbb53d2d7 [2024-09-03T06:35:56.715Z] Removing intermediate container 297bbb53d2d7 [2024-09-03T06:35:56.715Z] ---> 0d9ab6832282 [2024-09-03T06:35:56.715Z] Step 23/24 : LABEL git_sha=2142bae1f45ba2855303e44800e00e2aa6ee3206 [2024-09-03T06:35:56.715Z] ---> Running in 30ec128798e5 [2024-09-03T06:35:56.715Z] Removing intermediate container 30ec128798e5 [2024-09-03T06:35:56.715Z] ---> f1edecec4fd4 [2024-09-03T06:35:56.715Z] Step 24/24 : LABEL version=0.0.0 [2024-09-03T06:35:56.715Z] ---> Running in bfc0695fd316 [2024-09-03T06:35:56.715Z] Removing intermediate container bfc0695fd316 [2024-09-03T06:35:56.715Z] ---> 9b93c2868e76 [2024-09-03T06:35:56.715Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-03T06:35:56.715Z] Successfully built 9b93c2868e76 [2024-09-03T06:35:56.715Z] 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T06:35:57.176Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-03T06:35:57.176Z] [2024-09-03T06:35:57.176Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T06:35:57.505Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-03T06:35:57.505Z] arm64: Pulling from edgex-lftools-log-publisher [2024-09-03T06:35:57.505Z] 8998bd30e6a1: Pulling fs layer [2024-09-03T06:35:57.505Z] 04944245beec: Pulling fs layer [2024-09-03T06:35:57.505Z] 699f458cf7ca: Pulling fs layer [2024-09-03T06:35:57.505Z] 765212b225bb: Pulling fs layer [2024-09-03T06:35:57.505Z] f23df028b6ca: Pulling fs layer [2024-09-03T06:35:57.505Z] d65c8cfc05b1: Pulling fs layer [2024-09-03T06:35:57.505Z] 2437ff75d9bd: Pulling fs layer [2024-09-03T06:35:57.505Z] f23df028b6ca: Waiting [2024-09-03T06:35:57.505Z] d65c8cfc05b1: Waiting [2024-09-03T06:35:57.505Z] 2437ff75d9bd: Waiting [2024-09-03T06:35:57.505Z] 765212b225bb: Waiting [2024-09-03T06:35:57.772Z] 04944245beec: Verifying Checksum [2024-09-03T06:35:57.772Z] 04944245beec: Download complete [2024-09-03T06:35:57.772Z] 765212b225bb: Verifying Checksum [2024-09-03T06:35:57.772Z] 765212b225bb: Download complete [2024-09-03T06:35:57.772Z] f23df028b6ca: Verifying Checksum [2024-09-03T06:35:57.772Z] f23df028b6ca: Download complete [2024-09-03T06:35:57.772Z] d65c8cfc05b1: Verifying Checksum [2024-09-03T06:35:57.772Z] d65c8cfc05b1: Download complete [2024-09-03T06:35:57.772Z] 699f458cf7ca: Verifying Checksum [2024-09-03T06:35:57.772Z] 699f458cf7ca: Download complete [2024-09-03T06:35:58.354Z] 8998bd30e6a1: Verifying Checksum [2024-09-03T06:35:58.354Z] 8998bd30e6a1: Download complete [2024-09-03T06:36:00.931Z] 2437ff75d9bd: Download complete [2024-09-03T06:36:02.873Z] 8998bd30e6a1: Pull complete [2024-09-03T06:36:03.455Z] 04944245beec: Pull complete [2024-09-03T06:36:04.862Z] 699f458cf7ca: Pull complete [2024-09-03T06:36:05.129Z] 765212b225bb: Pull complete [2024-09-03T06:36:06.118Z] f23df028b6ca: Pull complete [2024-09-03T06:36:06.118Z] d65c8cfc05b1: Pull complete [2024-09-03T06:36:24.364Z] 2437ff75d9bd: Pull complete [2024-09-03T06:36:24.364Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-09-03T06:36:24.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-03T06:36:24.364Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T06:36:24.564Z] prd-ubuntu20.04-docker-arm64-4c-16g-9258 does not seem to be running inside a container [2024-09-03T06:36:24.599Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-09-03T06:36:27.256Z] $ docker top 1281161220d521ad7a667d58cbc973fddb947d11d89fc20cb096de0d2d09eea4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-03T06:36:28.119Z] ---> job-cost.sh [2024-09-03T06:36:28.119Z] lf-activate-venv: SKIPPING [2024-09-03T06:36:28.119Z] INFO: No Stack... [2024-09-03T06:36:28.384Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-09-03T06:36:29.337Z] INFO: Archiving Costs [Pipeline] sh [2024-09-03T06:36:29.971Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2024-09-03T06:36:29.971Z] + cut -d, -f6 [Pipeline] lock [2024-09-03T06:36:30.028Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1618-2-stack-cost] [2024-09-03T06:36:30.040Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1618-2-stack-cost] did not exist. Created. [2024-09-03T06:36:30.048Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1618-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-03T06:36:30.694Z] /w/workspace/device-sdk-go/2@tmp/durable-60b36aec/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-09-03T06:36:31.326Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-09-03T06:36:31.350Z] Warning: overwriting stash ‘stack-cost’ [2024-09-03T06:36:31.435Z] Stashed 1 file(s) [Pipeline] } [2024-09-03T06:36:31.444Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1618-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-03T06:36:31.452Z] $ docker stop --time=1 1281161220d521ad7a667d58cbc973fddb947d11d89fc20cb096de0d2d09eea4 [2024-09-03T06:36:32.982Z] $ docker rm -f --volumes 1281161220d521ad7a667d58cbc973fddb947d11d89fc20cb096de0d2d09eea4 [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-09-03T06:36:33.478Z] provisioning config files... [2024-09-03T06:36:33.486Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/config10260099992266094425tmp [Pipeline] { [Pipeline] sh [2024-09-03T06:36:33.787Z] + set +x [2024-09-03T06:36:33.787Z] + curl -s https://codecov.io/bash [2024-09-03T06:36:33.787Z] + bash -s -- [2024-09-03T06:36:33.787Z] [2024-09-03T06:36:33.787Z] _____ _ [2024-09-03T06:36:33.787Z] / ____| | | [2024-09-03T06:36:33.787Z] | | ___ __| | ___ ___ _____ __ [2024-09-03T06:36:33.787Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-09-03T06:36:33.787Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-09-03T06:36:33.787Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-09-03T06:36:33.787Z] Bash-1.0.6 [2024-09-03T06:36:33.787Z] [2024-09-03T06:36:33.787Z] [2024-09-03T06:36:33.787Z] ==> git version 2.25.1 found [2024-09-03T06:36:33.787Z] ==> 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-09-03T06:36:33.787Z] Release-Date: 2020-01-08 [2024-09-03T06:36:33.787Z] 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-09-03T06:36:33.787Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-09-03T06:36:33.787Z] ==> Jenkins CI detected. [2024-09-03T06:36:33.787Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1618 [2024-09-03T06:36:33.787Z] project root: . [2024-09-03T06:36:33.787Z] --> token set from env [2024-09-03T06:36:33.787Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-09-03T06:36:33.787Z] ==> Running gcov in . (disable via -X gcov) [2024-09-03T06:36:33.787Z] ==> Python coveragepy not found [2024-09-03T06:36:33.787Z] ==> Searching for coverage reports in: [2024-09-03T06:36:33.787Z] + . [2024-09-03T06:36:33.787Z] -> Found 1 reports [2024-09-03T06:36:33.787Z] ==> Detecting git/mercurial file structure [2024-09-03T06:36:33.787Z] ==> Reading reports [2024-09-03T06:36:33.787Z] + ./coverage.out bytes=127940 [2024-09-03T06:36:33.787Z] ==> Appending adjustments [2024-09-03T06:36:33.787Z] https://docs.codecov.io/docs/fixing-reports [2024-09-03T06:36:34.355Z] + Found adjustments [2024-09-03T06:36:34.355Z] ==> Gzipping contents [2024-09-03T06:36:34.355Z] 20K /tmp/codecov.zHg1fz.gz [2024-09-03T06:36:34.355Z] ==> Uploading reports [2024-09-03T06:36:34.355Z] url: https://codecov.io [2024-09-03T06:36:34.355Z] query: branch=PR-1618&commit=2142bae1f45ba2855303e44800e00e2aa6ee3206&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1618%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1618&job=&cmd_args= [2024-09-03T06:36:34.355Z] -> Pinging Codecov [2024-09-03T06:36:34.355Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1618&commit=2142bae1f45ba2855303e44800e00e2aa6ee3206&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1618%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1618&job=&cmd_args= [2024-09-03T06:36:34.355Z] -> Uploading to [2024-09-03T06:36:34.356Z] https://storage.googleapis.com/codecov/v4/raw/2024-09-03/7E55EF52A471D76F132DFD9A03CDDE97/2142bae1f45ba2855303e44800e00e2aa6ee3206/1a56babf-1c5d-4413-921a-218c64e2cfe3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240903%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240903T063634Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0f3ac28203b97567a03e466ff6bbda601f129f8b63df92e0de282151fe5e8a73 [2024-09-03T06:36:34.356Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-03T06:36:34.356Z] Dload Upload Total Spent Left Speed [2024-09-03T06:36:34.615Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17672 0 0 100 17672 0 87485 --:--:-- --:--:-- --:--:-- 87054 100 17672 0 0 100 17672 0 73633 --:--:-- --:--:-- --:--:-- 73327 [2024-09-03T06:36:34.615Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/2142bae1f45ba2855303e44800e00e2aa6ee3206 [Pipeline] } [2024-09-03T06:36:34.622Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-09-03T06:36:35.412Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1618/archives ] [2024-09-03T06:36:35.413Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1618/archives [2024-09-03T06:36:35.413Z] total 16 [2024-09-03T06:36:35.413Z] drwxr-xr-x 3 root root 4096 Sep 3 06:19 . [2024-09-03T06:36:35.413Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 3 06:19 .. [2024-09-03T06:36:35.413Z] drwxr-xr-x 2 root root 4096 Sep 3 06:19 cost [2024-09-03T06:36:35.413Z] -rw-r--r-- 1 root root 86 Sep 3 06:19 cost.csv [2024-09-03T06:36:35.413Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1618/archives [2024-09-03T06:36:35.413Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1618/archives [2024-09-03T06:36:35.413Z] total 16 [2024-09-03T06:36:35.413Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 3 06:19 . [2024-09-03T06:36:35.413Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 3 06:19 .. [2024-09-03T06:36:35.413Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 3 06:19 cost [2024-09-03T06:36:35.413Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 3 06:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-09-03T06:36:35.704Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-03T06:36:36.567Z] ---> package-listing.sh [2024-09-03T06:36:36.567Z] ++ facter osfamily [2024-09-03T06:36:36.567Z] ++ tr '[:upper:]' '[:lower:]' [2024-09-03T06:36:36.826Z] + OS_FAMILY=debian [2024-09-03T06:36:36.826Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1618 [2024-09-03T06:36:36.826Z] + START_PACKAGES=/tmp/packages_start.txt [2024-09-03T06:36:36.826Z] + END_PACKAGES=/tmp/packages_end.txt [2024-09-03T06:36:36.826Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-09-03T06:36:36.826Z] + PACKAGES=/tmp/packages_start.txt [2024-09-03T06:36:36.826Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1618 ']' [2024-09-03T06:36:36.826Z] + PACKAGES=/tmp/packages_end.txt [2024-09-03T06:36:36.826Z] + case "${OS_FAMILY}" in [2024-09-03T06:36:36.826Z] + dpkg -l [2024-09-03T06:36:36.826Z] + grep '^ii' [2024-09-03T06:36:36.826Z] + '[' -f /tmp/packages_start.txt ']' [2024-09-03T06:36:36.826Z] + '[' -f /tmp/packages_end.txt ']' [2024-09-03T06:36:36.826Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-09-03T06:36:36.826Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1618 ']' [2024-09-03T06:36:36.826Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1618/archives/ [2024-09-03T06:36:36.826Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1618/archives/ [Pipeline] echo [2024-09-03T06:36:36.838Z] 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-1618/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-09-03T06:36:37.116Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T06:36:37.680Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-03T06:36:37.680Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T06:36:37.762Z] prd-ubuntu20.04-docker-8c-8g-9256 does not seem to be running inside a container [2024-09-03T06:36:37.787Z] $ 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-1618/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-1618 -v /w/workspace/gexfoundry_device-sdk-go_PR-1618:/w/workspace/gexfoundry_device-sdk-go_PR-1618:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-03T06:36:37.977Z] $ docker top a506ad5a73f544bf87986e492f302073d905f8ab4ec0e19a30d4088229fe79cd -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-03T06:36:38.382Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-09-03T06:36:38.691Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-09-03T06:36:39.025Z] + ls /var/log/sa-host [2024-09-03T06:36:39.025Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-03T06:36:39.131Z] provisioning config files... [2024-09-03T06:36:39.139Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/config5854457526795959068tmp [Pipeline] { [Pipeline] echo [2024-09-03T06:36:39.159Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-03T06:36:39.447Z] ---> create-netrc.sh [Pipeline] } [2024-09-03T06:36:39.456Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-09-03T06:36:39.789Z] ---> python-tools-install.sh [Pipeline] echo [2024-09-03T06:36:39.799Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-03T06:36:40.086Z] ---> sudo-logs.sh [2024-09-03T06:36:40.086Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-09-03T06:36:40.113Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-03T06:36:40.399Z] ---> job-cost.sh [2024-09-03T06:36:40.399Z] lf-activate-venv: SKIPPING [2024-09-03T06:36:40.399Z] DEBUG: total: 0.2199999988079071 [2024-09-03T06:36:40.399Z] INFO: Retrieving Stack Cost... [2024-09-03T06:36:40.658Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-03T06:36:41.224Z] INFO: Archiving Costs [Pipeline] echo [2024-09-03T06:36:41.239Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-03T06:36:41.522Z] ---> logs-deploy.sh [2024-09-03T06:36:41.522Z] lf-activate-venv: SKIPPING [2024-09-03T06:36:41.522Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1618/2 [2024-09-03T06:36:41.522Z] INFO: archiving workspace using pattern(s): [2024-09-03T06:36:42.459Z] Archives upload complete. [2024-09-03T06:36:42.459Z] INFO: archiving logs to Nexus