Pull request #1610 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6d16e8182ecb0913aee36e010bf21ba70b942b39+5c2a377d73b399f8f8c2d20a5426d9b5e769b74b (9fa23d1d6b3a92f0b4c2193d2719227749701411) 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-ssh568357354004458828.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6928112289010721623.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1610/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1610/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1915744440757934011.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1610/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17897185003003125537.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17209272803886980385.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1610/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1610/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1067931647021243223.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7253 in /w/workspace/gexfoundry_device-sdk-go_PR-1610 [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-1610 # 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/1610/head:refs/remotes/origin/PR-1610 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5c2a377d73b399f8f8c2d20a5426d9b5e769b74b into PR head commit 6d16e8182ecb0913aee36e010bf21ba70b942b39 Merge succeeded, producing 6d16e8182ecb0913aee36e010bf21ba70b942b39 Checking out Revision 6d16e8182ecb0913aee36e010bf21ba70b942b39 (PR-1610) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f 6d16e8182ecb0913aee36e010bf21ba70b942b39 # 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 5c2a377d73b399f8f8c2d20a5426d9b5e769b74b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6d16e8182ecb0913aee36e010bf21ba70b942b39 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-07T04:19:37.141Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-07T04:19:37.353Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-07T04:19:37.498Z] ========================================================= [2024-08-07T04:19:37.498Z] EdgeX Global Pipelines Version Info [2024-08-07T04:19:37.498Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-07T04:19:38.289Z] ------------------- [2024-08-07T04:19:38.289Z] stable info: [2024-08-07T04:19:38.289Z] ------------------- [2024-08-07T04:19:38.289Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-07T04:19:38.289Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-07T04:19:38.289Z] Message: update stable to v1.0.260 [2024-08-07T04:19:38.858Z] ------------------- [2024-08-07T04:19:38.858Z] experimental info: [2024-08-07T04:19:38.858Z] ------------------- [2024-08-07T04:19:38.858Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-07T04:19:38.858Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-08-07T04:19:38.858Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-07T04:19:39.192Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-08-07T04:19:39.343Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-08-07T04:19:39.408Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-07T04:19:39.470Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-07T04:19:39.531Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-07T04:19:39.595Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-07T04:19:39.651Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-07T04:19:39.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-08-07T04:19:39.765Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-07T04:19:39.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-07T04:19:39.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-07T04:19:39.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-08-07T04:19:40.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-07T04:19:40.059Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-07T04:19:40.112Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-08-07T04:19:40.174Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-08-07T04:19:40.243Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-07T04:19:40.314Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-07T04:19:40.380Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-07T04:19:40.476Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-07T04:19:40.533Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-08-07T04:19:40.671Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-08-07T04:19:40.773Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-07T04:19:40.914Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-07T04:19:41.059Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-08-07T04:19:41.125Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-07T04:19:41.379Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-07T04:19:41.515Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1610 [Pipeline] echo [2024-08-07T04:19:41.572Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1610 [Pipeline] echo [2024-08-07T04:19:41.727Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1610 [Pipeline] echo [2024-08-07T04:19:41.786Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6d16e8182ecb0913aee36e010bf21ba70b942b39 [Pipeline] echo [2024-08-07T04:19:41.850Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6d16e81 [Pipeline] echo [2024-08-07T04:19:41.912Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-07T04:19:42.061Z] provisioning config files... [2024-08-07T04:19:42.078Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp/config4852553691629220493tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T04:19:42.593Z] ---> ****-login.sh [2024-08-07T04:19:42.593Z] nexus3.edgexfoundry.org:10001 [2024-08-07T04:19:42.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T04:19:42.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T04:19:42.859Z] Configure a credential helper to remove this warning. See [2024-08-07T04:19:42.859Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T04:19:42.859Z] [2024-08-07T04:19:42.859Z] Login Succeeded [2024-08-07T04:19:42.859Z] nexus3.edgexfoundry.org:10002 [2024-08-07T04:19:43.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T04:19:43.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T04:19:43.119Z] Configure a credential helper to remove this warning. See [2024-08-07T04:19:43.119Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T04:19:43.119Z] [2024-08-07T04:19:43.119Z] Login Succeeded [2024-08-07T04:19:43.119Z] nexus3.edgexfoundry.org:10003 [2024-08-07T04:19:43.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T04:19:43.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T04:19:43.119Z] Configure a credential helper to remove this warning. See [2024-08-07T04:19:43.119Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T04:19:43.119Z] [2024-08-07T04:19:43.119Z] Login Succeeded [2024-08-07T04:19:43.119Z] nexus3.edgexfoundry.org:10004 [2024-08-07T04:19:43.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T04:19:43.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T04:19:43.378Z] Configure a credential helper to remove this warning. See [2024-08-07T04:19:43.378Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T04:19:43.378Z] [2024-08-07T04:19:43.378Z] Login Succeeded [2024-08-07T04:19:43.378Z] ****.io [2024-08-07T04:19:43.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T04:19:43.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T04:19:43.639Z] Configure a credential helper to remove this warning. See [2024-08-07T04:19:43.639Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T04:19:43.639Z] [2024-08-07T04:19:43.639Z] Login Succeeded [2024-08-07T04:19:43.639Z] ---> ****-login.sh ends [Pipeline] } [2024-08-07T04:19:43.670Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-07T04:19:44.638Z] + git rev-list -1 --merges 6d16e8182ecb0913aee36e010bf21ba70b942b39~1..6d16e8182ecb0913aee36e010bf21ba70b942b39 [Pipeline] echo [2024-08-07T04:19:44.709Z] -----------> git rev-list -1 --merges 6d16e8182ecb0913aee36e010bf21ba70b942b39~1..6d16e8182ecb0913aee36e010bf21ba70b942b39 6d16e8182ecb0913aee36e010bf21ba70b942b39 [false] [Pipeline] sh [2024-08-07T04:19:45.056Z] + git log --format=format:%s -1 6d16e8182ecb0913aee36e010bf21ba70b942b39 [Pipeline] echo [2024-08-07T04:19:45.099Z] ========================================================= [2024-08-07T04:19:45.099Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-07T04:19:45.099Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-07T04:19:45.695Z] + git log --format=format:%s -1 6d16e8182ecb0913aee36e010bf21ba70b942b39 [Pipeline] echo [2024-08-07T04:19:45.735Z] [semverPrep] GIT_COMMIT: 6d16e8182ecb0913aee36e010bf21ba70b942b39, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2024-08-07T04:19:45.805Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-07T04:19:46.277Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-07T04:19:46.278Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-07T04:19:46.278Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-07T04:19:46.278Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-07T04:19:46.278Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-08-07T04:19:46.278Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-07T04:19:46.278Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T04:19:46.872Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-07T04:19:46.872Z] [2024-08-07T04:19:46.872Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T04:19:47.266Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-07T04:19:47.266Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-07T04:19:47.266Z] b85a868b505f: Pulling fs layer [2024-08-07T04:19:47.266Z] e2be974225ed: Pulling fs layer [2024-08-07T04:19:47.267Z] 339a4e72a1f5: Pulling fs layer [2024-08-07T04:19:47.267Z] 988bab9f4d93: Pulling fs layer [2024-08-07T04:19:47.267Z] 1469e6f7b9e6: Pulling fs layer [2024-08-07T04:19:47.267Z] 988bab9f4d93: Waiting [2024-08-07T04:19:47.267Z] eaf3925da568: Pulling fs layer [2024-08-07T04:19:47.267Z] bab4dde63d76: Pulling fs layer [2024-08-07T04:19:47.267Z] eaf3925da568: Waiting [2024-08-07T04:19:47.267Z] bde34c3a00c8: Pulling fs layer [2024-08-07T04:19:47.267Z] b352a97aabf1: Pulling fs layer [2024-08-07T04:19:47.267Z] bab4dde63d76: Waiting [2024-08-07T04:19:47.267Z] bde34c3a00c8: Waiting [2024-08-07T04:19:47.267Z] 4872d77fe225: Pulling fs layer [2024-08-07T04:19:47.267Z] 5851b861e8e6: Pulling fs layer [2024-08-07T04:19:47.267Z] b352a97aabf1: Waiting [2024-08-07T04:19:47.267Z] 4872d77fe225: Waiting [2024-08-07T04:19:47.267Z] e2be974225ed: Verifying Checksum [2024-08-07T04:19:47.267Z] e2be974225ed: Download complete [2024-08-07T04:19:47.267Z] 988bab9f4d93: Download complete [2024-08-07T04:19:47.525Z] 1469e6f7b9e6: Verifying Checksum [2024-08-07T04:19:47.525Z] 1469e6f7b9e6: Download complete [2024-08-07T04:19:47.525Z] 339a4e72a1f5: Verifying Checksum [2024-08-07T04:19:47.525Z] 339a4e72a1f5: Download complete [2024-08-07T04:19:47.525Z] eaf3925da568: Verifying Checksum [2024-08-07T04:19:47.525Z] eaf3925da568: Download complete [2024-08-07T04:19:47.525Z] bde34c3a00c8: Verifying Checksum [2024-08-07T04:19:47.525Z] bde34c3a00c8: Download complete [2024-08-07T04:19:47.525Z] b352a97aabf1: Verifying Checksum [2024-08-07T04:19:47.525Z] b352a97aabf1: Download complete [2024-08-07T04:19:47.525Z] 4872d77fe225: Verifying Checksum [2024-08-07T04:19:47.525Z] 4872d77fe225: Download complete [2024-08-07T04:19:47.525Z] 5851b861e8e6: Download complete [2024-08-07T04:19:47.525Z] b85a868b505f: Verifying Checksum [2024-08-07T04:19:47.525Z] b85a868b505f: Download complete [2024-08-07T04:19:47.783Z] bab4dde63d76: Verifying Checksum [2024-08-07T04:19:47.784Z] bab4dde63d76: Download complete [2024-08-07T04:19:49.161Z] b85a868b505f: Pull complete [2024-08-07T04:19:49.162Z] e2be974225ed: Pull complete [2024-08-07T04:19:49.733Z] 339a4e72a1f5: Pull complete [2024-08-07T04:19:49.733Z] 988bab9f4d93: Pull complete [2024-08-07T04:19:49.992Z] 1469e6f7b9e6: Pull complete [2024-08-07T04:19:49.992Z] eaf3925da568: Pull complete [2024-08-07T04:19:51.892Z] bab4dde63d76: Pull complete [2024-08-07T04:19:51.892Z] bde34c3a00c8: Pull complete [2024-08-07T04:19:51.892Z] b352a97aabf1: Pull complete [2024-08-07T04:19:51.892Z] 4872d77fe225: Pull complete [2024-08-07T04:19:52.152Z] 5851b861e8e6: Pull complete [2024-08-07T04:19:52.152Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-07T04:19:52.152Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-07T04:19:52.152Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T04:19:52.455Z] prd-ubuntu20.04-docker-8c-8g-7253 does not seem to be running inside a container [2024-08-07T04:19:52.488Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1610 -v /w/workspace/gexfoundry_device-sdk-go_PR-1610:/w/workspace/gexfoundry_device-sdk-go_PR-1610:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-08-07T04:19:55.476Z] $ docker top b4b5a51d9115cd7d5e4cd1197f237b34982aa88e96157ae173ac11606d0ceea5 -eo pid,comm [2024-08-07T04:19:55.525Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-08-07T04:19:55.525Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-07T04:19:55.699Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-07T04:19:55.700Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-07T04:19:55.815Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-07T04:19:55.817Z] $ docker exec b4b5a51d9115cd7d5e4cd1197f237b34982aa88e96157ae173ac11606d0ceea5 ssh-agent [2024-08-07T04:19:55.934Z] SSH_AUTH_SOCK=/tmp/ssh-RS7EJJCRWkCt/agent.33 [2024-08-07T04:19:55.934Z] SSH_AGENT_PID=39 [2024-08-07T04:19:55.939Z] Running ssh-add (command line suppressed) [2024-08-07T04:19:56.032Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp/private_key_13051179623188606539.key (/w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp/private_key_13051179623188606539.key) [2024-08-07T04:19:56.049Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-07T04:19:56.516Z] + git tag --points-at HEAD [Pipeline] } [2024-08-07T04:19:56.542Z] $ docker exec --env ******** --env ******** b4b5a51d9115cd7d5e4cd1197f237b34982aa88e96157ae173ac11606d0ceea5 ssh-agent -k [2024-08-07T04:19:56.639Z] unset SSH_AUTH_SOCK; [2024-08-07T04:19:56.639Z] unset SSH_AGENT_PID; [2024-08-07T04:19:56.640Z] echo Agent pid 39 killed; [2024-08-07T04:19:56.647Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-07T04:19:56.757Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-07T04:19:56.757Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-07T04:19:56.881Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-07T04:19:56.884Z] $ docker exec b4b5a51d9115cd7d5e4cd1197f237b34982aa88e96157ae173ac11606d0ceea5 ssh-agent [2024-08-07T04:19:56.997Z] SSH_AUTH_SOCK=/tmp/ssh-RjjRrSv8OJPt/agent.72 [2024-08-07T04:19:56.997Z] SSH_AGENT_PID=78 [2024-08-07T04:19:57.002Z] Running ssh-add (command line suppressed) [2024-08-07T04:19:57.097Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp/private_key_5060530712021441912.key (/w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp/private_key_5060530712021441912.key) [2024-08-07T04:19:57.111Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-07T04:19:57.452Z] + git semver init [2024-08-07T04:19:57.712Z] 2024-08-07 04:19:57,621 [run_init] DEBUG init version:0.0.0 force:False [2024-08-07T04:19:57.712Z] 2024-08-07 04:19:57,622 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1610/.semver [2024-08-07T04:19:57.712Z] 2024-08-07 04:19:57,622 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1610/.semver [2024-08-07T04:19:57.712Z] 2024-08-07 04:19:57,623 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1610/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1610, universal_newlines=False, shell=None, istream=None) [2024-08-07T04:19:59.621Z] 2024-08-07 04:19:59,589 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1610/.git/info/exclude [2024-08-07T04:19:59.621Z] 2024-08-07 04:19:59,589 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1610/.semver/PR-1610 with force:False [2024-08-07T04:19:59.621Z] 2024-08-07 04:19:59,590 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1610/.semver/PR-1610 [2024-08-07T04:19:59.621Z] 2024-08-07 04:19:59,594 [execute] INFO git cat-file --batch-check [2024-08-07T04:19:59.621Z] 2024-08-07 04:19:59,595 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1610/.semver, universal_newlines=False, shell=None, istream=) [2024-08-07T04:19:59.621Z] 2024-08-07 04:19:59,602 [execute] INFO git cat-file --batch [2024-08-07T04:19:59.621Z] 2024-08-07 04:19:59,602 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1610/.semver, universal_newlines=False, shell=None, istream=) [2024-08-07T04:19:59.621Z] 2024-08-07 04:19:59,606 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1610/.semver/PR-1610 [2024-08-07T04:19:59.621Z] 0.0.0 [Pipeline] } [2024-08-07T04:19:59.896Z] $ docker exec --env ******** --env ******** b4b5a51d9115cd7d5e4cd1197f237b34982aa88e96157ae173ac11606d0ceea5 ssh-agent -k [2024-08-07T04:19:59.990Z] unset SSH_AUTH_SOCK; [2024-08-07T04:19:59.990Z] unset SSH_AGENT_PID; [2024-08-07T04:19:59.990Z] echo Agent pid 78 killed; [2024-08-07T04:19:59.999Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-07T04:20:00.463Z] + git semver [Pipeline] } [2024-08-07T04:20:00.840Z] $ docker stop --time=1 b4b5a51d9115cd7d5e4cd1197f237b34982aa88e96157ae173ac11606d0ceea5 [2024-08-07T04:20:02.124Z] $ docker rm -f --volumes b4b5a51d9115cd7d5e4cd1197f237b34982aa88e96157ae173ac11606d0ceea5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-07T04:20:02.535Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-07T04:20:02.832Z] Stashed 1 file(s) [Pipeline] echo [2024-08-07T04:20:02.855Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-07T04:20:03.619Z] provisioning config files... [2024-08-07T04:20:03.631Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp/config4030219058187803249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T04:20:04.010Z] ---> ****-login.sh [2024-08-07T04:20:04.010Z] nexus3.edgexfoundry.org:10001 [2024-08-07T04:20:04.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T04:20:04.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T04:20:04.011Z] Configure a credential helper to remove this warning. See [2024-08-07T04:20:04.011Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T04:20:04.011Z] [2024-08-07T04:20:04.011Z] Login Succeeded [2024-08-07T04:20:04.011Z] nexus3.edgexfoundry.org:10002 [2024-08-07T04:20:04.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T04:20:04.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T04:20:04.011Z] Configure a credential helper to remove this warning. See [2024-08-07T04:20:04.011Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T04:20:04.011Z] [2024-08-07T04:20:04.011Z] Login Succeeded [2024-08-07T04:20:04.011Z] nexus3.edgexfoundry.org:10003 [2024-08-07T04:20:04.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T04:20:04.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T04:20:04.271Z] Configure a credential helper to remove this warning. See [2024-08-07T04:20:04.271Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T04:20:04.271Z] [2024-08-07T04:20:04.271Z] Login Succeeded [2024-08-07T04:20:04.271Z] nexus3.edgexfoundry.org:10004 [2024-08-07T04:20:04.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T04:20:04.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T04:20:04.272Z] Configure a credential helper to remove this warning. See [2024-08-07T04:20:04.272Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T04:20:04.272Z] [2024-08-07T04:20:04.272Z] Login Succeeded [2024-08-07T04:20:04.272Z] ****.io [2024-08-07T04:20:04.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T04:20:04.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T04:20:04.532Z] Configure a credential helper to remove this warning. See [2024-08-07T04:20:04.532Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T04:20:04.532Z] [2024-08-07T04:20:04.532Z] Login Succeeded [2024-08-07T04:20:04.532Z] ---> ****-login.sh ends [Pipeline] } [2024-08-07T04:20:04.577Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-07T04:20:04.818Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-07T04:20:04.868Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-07T04:20:04.911Z] ========================================================= [2024-08-07T04:20:04.911Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-08-07T04:20:04.911Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T04:20:05.435Z] + 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-08-07T04:20:05.435Z] Sending build context to Docker daemon 25.16MB [2024-08-07T04:20:05.435Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-08-07T04:20:05.435Z] Step 2/10 : FROM ${BASE} AS builder [2024-08-07T04:20:05.694Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-08-07T04:20:05.694Z] 619be1103602: Pulling fs layer [2024-08-07T04:20:05.694Z] 7862e08f4a3e: Pulling fs layer [2024-08-07T04:20:05.694Z] 5df492c9dc93: Pulling fs layer [2024-08-07T04:20:05.694Z] 7629e6793208: Pulling fs layer [2024-08-07T04:20:05.694Z] 4f4fb700ef54: Pulling fs layer [2024-08-07T04:20:05.694Z] fb5054dd5b73: Pulling fs layer [2024-08-07T04:20:05.694Z] eeca6798cff9: Pulling fs layer [2024-08-07T04:20:05.694Z] aa269ceb94a6: Pulling fs layer [2024-08-07T04:20:05.694Z] ada007ff1a6a: Pulling fs layer [2024-08-07T04:20:05.694Z] 7629e6793208: Waiting [2024-08-07T04:20:05.694Z] 4f4fb700ef54: Waiting [2024-08-07T04:20:05.694Z] fb5054dd5b73: Waiting [2024-08-07T04:20:05.694Z] eeca6798cff9: Waiting [2024-08-07T04:20:05.694Z] ada007ff1a6a: Waiting [2024-08-07T04:20:05.694Z] 7862e08f4a3e: Download complete [2024-08-07T04:20:05.694Z] 7629e6793208: Verifying Checksum [2024-08-07T04:20:05.694Z] 7629e6793208: Download complete [2024-08-07T04:20:05.694Z] 4f4fb700ef54: Verifying Checksum [2024-08-07T04:20:05.694Z] 4f4fb700ef54: Download complete [2024-08-07T04:20:05.694Z] fb5054dd5b73: Verifying Checksum [2024-08-07T04:20:05.694Z] fb5054dd5b73: Download complete [2024-08-07T04:20:05.694Z] 619be1103602: Verifying Checksum [2024-08-07T04:20:05.694Z] 619be1103602: Download complete [2024-08-07T04:20:05.694Z] eeca6798cff9: Verifying Checksum [2024-08-07T04:20:05.694Z] eeca6798cff9: Download complete [2024-08-07T04:20:05.953Z] 619be1103602: Pull complete [2024-08-07T04:20:05.953Z] ada007ff1a6a: Verifying Checksum [2024-08-07T04:20:05.953Z] ada007ff1a6a: Download complete [2024-08-07T04:20:05.953Z] 7862e08f4a3e: Pull complete [2024-08-07T04:20:06.211Z] 5df492c9dc93: Verifying Checksum [2024-08-07T04:20:06.211Z] 5df492c9dc93: Download complete [2024-08-07T04:20:06.469Z] aa269ceb94a6: Download complete [2024-08-07T04:20:09.772Z] 5df492c9dc93: Pull complete [2024-08-07T04:20:09.772Z] 7629e6793208: Pull complete [2024-08-07T04:20:09.772Z] 4f4fb700ef54: Pull complete [2024-08-07T04:20:09.772Z] fb5054dd5b73: Pull complete [2024-08-07T04:20:09.772Z] eeca6798cff9: Pull complete [2024-08-07T04:20:11.706Z] aa269ceb94a6: Pull complete [2024-08-07T04:20:12.279Z] ada007ff1a6a: Pull complete [2024-08-07T04:20:12.279Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-08-07T04:20:12.279Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-08-07T04:20:12.279Z] ---> f489d0715acc [2024-08-07T04:20:12.279Z] Step 3/10 : ARG MAKE=make build [2024-08-07T04:20:16.486Z] ---> Running in 61fb6b19f6a8 [2024-08-07T04:20:16.486Z] Removing intermediate container 61fb6b19f6a8 [2024-08-07T04:20:16.486Z] ---> 3e3f1d751daa [2024-08-07T04:20:16.486Z] Step 4/10 : WORKDIR /device-sdk-go [2024-08-07T04:20:16.486Z] ---> Running in a9903054df9a [2024-08-07T04:20:16.744Z] Removing intermediate container a9903054df9a [2024-08-07T04:20:16.744Z] ---> 2871c71fd353 [2024-08-07T04:20:16.744Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-07T04:20:16.744Z] ---> Running in 71eaea78abb2 [2024-08-07T04:20:16.744Z] Removing intermediate container 71eaea78abb2 [2024-08-07T04:20:16.744Z] ---> 59734fdfe8b7 [2024-08-07T04:20:16.744Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-08-07T04:20:16.744Z] ---> Running in 293da35d34a8 [2024-08-07T04:20:17.003Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-07T04:20:17.263Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-07T04:20:17.521Z] OK: 264 MiB in 52 packages [2024-08-07T04:20:17.780Z] Removing intermediate container 293da35d34a8 [2024-08-07T04:20:17.780Z] ---> 89972cb0e199 [2024-08-07T04:20:17.780Z] Step 7/10 : COPY go.mod vendor* ./ [2024-08-07T04:20:17.780Z] ---> 2b54b89e4134 [2024-08-07T04:20:17.780Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-07T04:20:18.039Z] ---> Running in dbb58f92c458 [2024-08-07T04:20:18.412Z] Still waiting to schedule task [2024-08-07T04:20:18.412Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-08-07T04:21:14.364Z] Removing intermediate container dbb58f92c458 [2024-08-07T04:21:14.364Z] ---> 42dcd0deb5b9 [2024-08-07T04:21:14.364Z] Step 9/10 : COPY . . [2024-08-07T04:21:14.364Z] ---> 09e78000b7e3 [2024-08-07T04:21:14.364Z] Step 10/10 : RUN ${MAKE} [2024-08-07T04:21:14.364Z] ---> Running in b590b12f5d4c [2024-08-07T04:21:14.364Z] noop [2024-08-07T04:21:14.364Z] Removing intermediate container b590b12f5d4c [2024-08-07T04:21:14.364Z] ---> 23bde535e9b1 [2024-08-07T04:21:14.364Z] Successfully built 23bde535e9b1 [2024-08-07T04:21:14.364Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T04:21:14.850Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-07T04:21:14.851Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T04:21:15.009Z] prd-ubuntu20.04-docker-8c-8g-7253 does not seem to be running inside a container [2024-08-07T04:21:15.040Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1610 -v /w/workspace/gexfoundry_device-sdk-go_PR-1610:/w/workspace/gexfoundry_device-sdk-go_PR-1610:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-07T04:21:15.409Z] $ docker top d6d5247e370e6e3bdbf458c405aa745e5eceecafcefaa7d930fd3555d73c1b20 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T04:21:15.811Z] + go version [2024-08-07T04:21:15.811Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-07T04:21:15.846Z] $ docker stop --time=1 d6d5247e370e6e3bdbf458c405aa745e5eceecafcefaa7d930fd3555d73c1b20 [2024-08-07T04:21:17.115Z] $ docker rm -f --volumes d6d5247e370e6e3bdbf458c405aa745e5eceecafcefaa7d930fd3555d73c1b20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T04:21:17.922Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-07T04:21:17.922Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T04:21:18.086Z] prd-ubuntu20.04-docker-8c-8g-7253 does not seem to be running inside a container [2024-08-07T04:21:18.117Z] $ 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-1610 -v /w/workspace/gexfoundry_device-sdk-go_PR-1610:/w/workspace/gexfoundry_device-sdk-go_PR-1610:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-07T04:21:18.477Z] $ docker top e1808d65ea3f9eccd7f574f089f7e756b89b8b05f8a315f3ae5e4641cb8bf4be -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T04:21:18.891Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1610 [Pipeline] fileExists [Pipeline] sh [2024-08-07T04:21:19.283Z] + make test [2024-08-07T04:21:19.283Z] go test -race -coverprofile=coverage.out ./... [2024-08-07T04:21:27.395Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-08-07T04:21:53.929Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-08-07T04:21:53.929Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-08-07T04:21:53.929Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-08-07T04:21:53.929Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-08-07T04:21:53.929Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-08-07T04:21:53.929Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-08-07T04:21:53.929Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-08-07T04:21:53.929Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.024s coverage: 27.0% of statements [2024-08-07T04:21:53.930Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.035s coverage: 79.4% of statements [2024-08-07T04:21:53.930Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.050s coverage: 86.0% of statements [2024-08-07T04:21:54.873Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-08-07T04:21:55.131Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-08-07T04:21:55.131Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-08-07T04:21:55.640Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7254 in /w/workspace/gexfoundry_device-sdk-go_PR-1610 [Pipeline] { [Pipeline] ws [2024-08-07T04:21:55.716Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-08-07T04:21:55.827Z] The recommended git tool is: git [2024-08-07T04:21:56.066Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.097s coverage: 52.2% of statements [2024-08-07T04:21:56.998Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-08-07T04:21:58.893Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.031s coverage: 14.4% of statements [2024-08-07T04:21:58.893Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.055s coverage: 44.6% of statements [2024-08-07T04:21:58.893Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.050s coverage: 68.5% of statements [2024-08-07T04:21:58.893Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.099s coverage: 89.2% of statements [2024-08-07T04:21:58.893Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.047s coverage: 5.4% of statements [2024-08-07T04:22:03.530Z] using credential edgex-jenkins-ssh [2024-08-07T04:22:03.562Z] Cloning the remote Git repository [2024-08-07T04:22:03.612Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-08-07T04:22:03.754Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-08-07T04:22:03.944Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-08-07T04:22:03.945Z] > git --version # timeout=10 [2024-08-07T04:22:04.002Z] > git --version # 'git version 2.25.1' [2024-08-07T04:22:04.004Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-07T04:22:04.212Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-07T04:22:07.730Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-08-07T04:22:07.754Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-07T04:22:09.105Z] Merging remotes/origin/main commit 5c2a377d73b399f8f8c2d20a5426d9b5e769b74b into PR head commit 6d16e8182ecb0913aee36e010bf21ba70b942b39 [2024-08-07T04:22:09.422Z] Merge succeeded, producing 6d16e8182ecb0913aee36e010bf21ba70b942b39 [2024-08-07T04:22:09.423Z] Checking out Revision 6d16e8182ecb0913aee36e010bf21ba70b942b39 (PR-1610) [2024-08-07T04:22:08.553Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-08-07T04:22:08.588Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-08-07T04:22:08.589Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-07T04:22:08.613Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1610/head:refs/remotes/origin/PR-1610 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-08-07T04:22:09.128Z] > git config core.sparsecheckout # timeout=10 [2024-08-07T04:22:09.186Z] > git checkout -f 6d16e8182ecb0913aee36e010bf21ba70b942b39 # timeout=10 [2024-08-07T04:22:09.301Z] > git remote # timeout=10 [2024-08-07T04:22:09.320Z] > git config --get remote.origin.url # timeout=10 [2024-08-07T04:22:09.347Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-07T04:22:09.374Z] > git merge 5c2a377d73b399f8f8c2d20a5426d9b5e769b74b # timeout=10 [2024-08-07T04:22:09.401Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-08-07T04:22:09.426Z] > git config core.sparsecheckout # timeout=10 [2024-08-07T04:22:09.436Z] > git checkout -f 6d16e8182ecb0913aee36e010bf21ba70b942b39 # timeout=10 [2024-08-07T04:22:09.985Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2024-08-07T04:22:10.030Z] > git --version # timeout=10 [2024-08-07T04:22:10.041Z] > git --version # 'git version 2.25.1' [2024-08-07T04:22:10.056Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-07T04:22:15.076Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-07T04:22:15.076Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-07T04:22:15.076Z] Dload Upload Total Spent Left Speed [2024-08-07T04:22:15.076Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 96451 0 --:--:-- --:--:-- --:--:-- 96451 [Pipeline] sh [2024-08-07T04:22:15.425Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-07T04:22:15.882Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-08-07T04:22:15.882Z] + sudo tee /etc/docker/daemon.new [2024-08-07T04:22:15.882Z] { [2024-08-07T04:22:15.882Z] "registry-mirrors": [ [2024-08-07T04:22:15.882Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-07T04:22:15.882Z] ], [2024-08-07T04:22:15.882Z] "bip": "10.250.0.254/24", [2024-08-07T04:22:15.882Z] "hosts": [ [2024-08-07T04:22:15.882Z] "tcp://0.0.0.0:5555", [2024-08-07T04:22:15.882Z] "unix:///var/run/docker.sock" [2024-08-07T04:22:15.882Z] ], [2024-08-07T04:22:15.882Z] "mtu": 1458, [2024-08-07T04:22:15.882Z] "selinux-enabled": true, [2024-08-07T04:22:15.882Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-07T04:22:15.882Z] } [Pipeline] sh [2024-08-07T04:22:16.248Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-08-07T04:22:16.632Z] + sudo service docker restart [2024-08-07T04:22:30.965Z] GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-07T04:22:34.954Z] provisioning config files... [2024-08-07T04:22:34.980Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7711705558960588641tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T04:22:35.155Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-07T04:22:35.155Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-07T04:22:35.155Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-08-07T04:22:35.288Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-07T04:22:35.327Z] $ docker stop --time=1 e1808d65ea3f9eccd7f574f089f7e756b89b8b05f8a315f3ae5e4641cb8bf4be [2024-08-07T04:22:35.475Z] ---> ****-login.sh [2024-08-07T04:22:35.475Z] nexus3.edgexfoundry.org:10001 [2024-08-07T04:22:35.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T04:22:36.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T04:22:36.020Z] Configure a credential helper to remove this warning. See [2024-08-07T04:22:36.020Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T04:22:36.020Z] [2024-08-07T04:22:36.020Z] Login Succeeded [2024-08-07T04:22:36.020Z] nexus3.edgexfoundry.org:10002 [2024-08-07T04:22:36.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T04:22:36.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T04:22:36.563Z] Configure a credential helper to remove this warning. See [2024-08-07T04:22:36.563Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T04:22:36.563Z] [2024-08-07T04:22:36.563Z] Login Succeeded [2024-08-07T04:22:36.563Z] nexus3.edgexfoundry.org:10003 [2024-08-07T04:22:36.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T04:22:36.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T04:22:36.833Z] Configure a credential helper to remove this warning. See [2024-08-07T04:22:36.833Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T04:22:36.833Z] [2024-08-07T04:22:36.833Z] Login Succeeded [2024-08-07T04:22:36.833Z] nexus3.edgexfoundry.org:10004 [2024-08-07T04:22:37.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T04:22:37.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T04:22:37.107Z] Configure a credential helper to remove this warning. See [2024-08-07T04:22:37.107Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T04:22:37.107Z] [2024-08-07T04:22:37.107Z] Login Succeeded [2024-08-07T04:22:37.107Z] ****.io [2024-08-07T04:22:37.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T04:22:37.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T04:22:37.641Z] Configure a credential helper to remove this warning. See [2024-08-07T04:22:37.641Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T04:22:37.641Z] [2024-08-07T04:22:37.641Z] Login Succeeded [2024-08-07T04:22:37.641Z] ---> ****-login.sh ends [2024-08-07T04:22:39.752Z] $ docker rm -f --volumes e1808d65ea3f9eccd7f574f089f7e756b89b8b05f8a315f3ae5e4641cb8bf4be [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [2024-08-07T04:22:40.443Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2024-08-07T04:22:40.686Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-07T04:22:40.800Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] echo [2024-08-07T04:22:41.040Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-07T04:22:41.093Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-07T04:22:41.142Z] ========================================================= [2024-08-07T04:22:41.142Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-08-07T04:22:41.142Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh [2024-08-07T04:22:41.615Z] + 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-08-07T04:22:41.862Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-07T04:22:42.175Z] + ls -al . [2024-08-07T04:22:42.175Z] total 380 [2024-08-07T04:22:42.175Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 7 04:21 . [2024-08-07T04:22:42.175Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 04:19 .. [2024-08-07T04:22:42.175Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 7 04:19 .dockerignore [2024-08-07T04:22:42.175Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 04:21 .git [2024-08-07T04:22:42.175Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 04:19 .github [2024-08-07T04:22:42.175Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 7 04:19 .gitignore [2024-08-07T04:22:42.175Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 7 04:19 .golangci.yml [2024-08-07T04:22:42.175Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 7 04:19 .semver [2024-08-07T04:22:42.175Z] -rw-rw-r-- 1 jenkins jenkins 48109 Aug 7 04:19 CHANGELOG.md [2024-08-07T04:22:42.175Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 7 04:19 GOVERNANCE.md [2024-08-07T04:22:42.175Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 7 04:19 Jenkinsfile [2024-08-07T04:22:42.175Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 7 04:19 LICENSE [2024-08-07T04:22:42.175Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 7 04:19 Makefile [2024-08-07T04:22:42.175Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 7 04:19 OWNERS.md [2024-08-07T04:22:42.175Z] -rw-rw-r-- 1 jenkins jenkins 4937 Aug 7 04:19 README.md [2024-08-07T04:22:42.175Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 7 04:20 VERSION [2024-08-07T04:22:42.175Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 04:19 bin [2024-08-07T04:22:42.175Z] -rw-r--r-- 1 jenkins jenkins 125703 Aug 7 04:21 coverage.out [2024-08-07T04:22:42.175Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 7 04:19 example [2024-08-07T04:22:42.175Z] -rw-rw-r-- 1 jenkins jenkins 6996 Aug 7 04:19 go.mod [2024-08-07T04:22:42.175Z] -rw-rw-r-- 1 jenkins jenkins 101460 Aug 7 04:19 go.sum [2024-08-07T04:22:42.175Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 7 04:19 internal [2024-08-07T04:22:42.175Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 04:19 openapi [2024-08-07T04:22:42.175Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 7 04:19 pkg [2024-08-07T04:22:42.175Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 04:19 snap [2024-08-07T04:22:42.175Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 7 04:19 version.go [2024-08-07T04:22:42.205Z] Sending build context to Docker daemon 13.02MB [2024-08-07T04:22:42.205Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-08-07T04:22:42.205Z] Step 2/10 : FROM ${BASE} AS builder [2024-08-07T04:22:42.205Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-07T04:22:42.205Z] c6b39de5b339: Pulling fs layer [2024-08-07T04:22:42.205Z] a69c41024577: Pulling fs layer [2024-08-07T04:22:42.205Z] d6de4b400683: Pulling fs layer [2024-08-07T04:22:42.205Z] 35cb2a7552d0: Pulling fs layer [2024-08-07T04:22:42.205Z] 4f4fb700ef54: Pulling fs layer [2024-08-07T04:22:42.205Z] 464afbd9ba4c: Pulling fs layer [2024-08-07T04:22:42.205Z] 00f215d4a9da: Pulling fs layer [2024-08-07T04:22:42.205Z] d496ad576159: Pulling fs layer [2024-08-07T04:22:42.205Z] 00f215d4a9da: Waiting [2024-08-07T04:22:42.205Z] d496ad576159: Waiting [2024-08-07T04:22:42.205Z] 4f4fb700ef54: Waiting [2024-08-07T04:22:42.205Z] 464afbd9ba4c: Waiting [2024-08-07T04:22:42.205Z] 35cb2a7552d0: Waiting [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T04:22:42.482Z] a69c41024577: Download complete [2024-08-07T04:22:42.482Z] 35cb2a7552d0: Verifying Checksum [2024-08-07T04:22:42.482Z] 35cb2a7552d0: Download complete [2024-08-07T04:22:42.482Z] 4f4fb700ef54: Verifying Checksum [2024-08-07T04:22:42.482Z] 4f4fb700ef54: Download complete [2024-08-07T04:22:42.482Z] 464afbd9ba4c: Verifying Checksum [2024-08-07T04:22:42.482Z] 464afbd9ba4c: Download complete [2024-08-07T04:22:42.482Z] c6b39de5b339: Download complete [2024-08-07T04:22:42.617Z] + 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=6d16e8182ecb0913aee36e010bf21ba70b942b39 --label arch=amd64 --label version=0.0.0 . [2024-08-07T04:22:42.617Z] Sending build context to Docker daemon 25.29MB [2024-08-07T04:22:42.617Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-08-07T04:22:42.617Z] Step 2/24 : FROM ${BASE} AS builder [2024-08-07T04:22:42.617Z] ---> 23bde535e9b1 [2024-08-07T04:22:42.617Z] Step 3/24 : ARG MAKE=make build [2024-08-07T04:22:42.751Z] d496ad576159: Verifying Checksum [2024-08-07T04:22:42.751Z] d496ad576159: Download complete [2024-08-07T04:22:43.186Z] ---> Running in c45af5788db3 [2024-08-07T04:22:43.186Z] Removing intermediate container c45af5788db3 [2024-08-07T04:22:43.186Z] ---> d50244a97c1e [2024-08-07T04:22:43.186Z] Step 4/24 : WORKDIR /device-sdk-go [2024-08-07T04:22:43.186Z] ---> Running in dca0fd7b4823 [2024-08-07T04:22:43.186Z] Removing intermediate container dca0fd7b4823 [2024-08-07T04:22:43.186Z] ---> 88d681204d3f [2024-08-07T04:22:43.186Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-07T04:22:43.186Z] ---> Running in 6b436b0a9f7d [2024-08-07T04:22:43.336Z] c6b39de5b339: Pull complete [2024-08-07T04:22:43.445Z] Removing intermediate container 6b436b0a9f7d [2024-08-07T04:22:43.445Z] ---> 3b7b6188d777 [2024-08-07T04:22:43.445Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-08-07T04:22:43.445Z] ---> Running in 1bafe34cbdd3 [2024-08-07T04:22:43.712Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-07T04:22:43.712Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-07T04:22:43.939Z] a69c41024577: Pull complete [2024-08-07T04:22:43.971Z] OK: 264 MiB in 52 packages [2024-08-07T04:22:44.206Z] d6de4b400683: Verifying Checksum [2024-08-07T04:22:44.206Z] d6de4b400683: Download complete [2024-08-07T04:22:44.231Z] Removing intermediate container 1bafe34cbdd3 [2024-08-07T04:22:44.231Z] ---> 23b46fabf59f [2024-08-07T04:22:44.231Z] Step 7/24 : COPY go.mod vendor* ./ [2024-08-07T04:22:44.491Z] ---> ce793f6696be [2024-08-07T04:22:44.491Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-07T04:22:44.491Z] ---> Running in 061d2bc45da0 [2024-08-07T04:22:45.059Z] Removing intermediate container 061d2bc45da0 [2024-08-07T04:22:45.059Z] ---> 97229f5ce726 [2024-08-07T04:22:45.059Z] Step 9/24 : COPY . . [2024-08-07T04:22:45.166Z] 00f215d4a9da: Verifying Checksum [2024-08-07T04:22:45.166Z] 00f215d4a9da: Download complete [2024-08-07T04:22:46.000Z] ---> 85477c4132b5 [2024-08-07T04:22:46.000Z] Step 10/24 : RUN ${MAKE} [2024-08-07T04:22:46.000Z] ---> Running in ffb036e50e5d [2024-08-07T04:22:46.259Z] 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-08-07T04:22:57.476Z] d6de4b400683: Pull complete [2024-08-07T04:22:57.476Z] 35cb2a7552d0: Pull complete [2024-08-07T04:22:57.476Z] 4f4fb700ef54: Pull complete [2024-08-07T04:22:57.476Z] 464afbd9ba4c: Pull complete [2024-08-07T04:23:07.592Z] 00f215d4a9da: Pull complete [2024-08-07T04:23:08.557Z] d496ad576159: Pull complete [2024-08-07T04:23:08.557Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-08-07T04:23:08.557Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-08-07T04:23:08.557Z] ---> f246e2811388 [2024-08-07T04:23:08.557Z] Step 3/10 : ARG MAKE=make build [2024-08-07T04:23:09.516Z] ---> Running in 9d689e0fff55 [2024-08-07T04:23:09.783Z] Removing intermediate container 9d689e0fff55 [2024-08-07T04:23:09.783Z] ---> 2fcd35f5509d [2024-08-07T04:23:09.783Z] Step 4/10 : WORKDIR /device-sdk-go [2024-08-07T04:23:09.783Z] ---> Running in 9381fb607a98 [2024-08-07T04:23:10.056Z] Removing intermediate container 9381fb607a98 [2024-08-07T04:23:10.056Z] ---> b44135e88dc7 [2024-08-07T04:23:10.056Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-07T04:23:10.056Z] ---> Running in 2cdc438bd054 [2024-08-07T04:23:10.324Z] Removing intermediate container 2cdc438bd054 [2024-08-07T04:23:10.324Z] ---> 2205cc3f70e4 [2024-08-07T04:23:10.324Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-08-07T04:23:10.592Z] ---> Running in df9fcc1fc017 [2024-08-07T04:23:11.556Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-07T04:23:12.140Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-07T04:23:13.109Z] OK: 266 MiB in 52 packages [2024-08-07T04:23:13.815Z] Removing intermediate container df9fcc1fc017 [2024-08-07T04:23:13.815Z] ---> b632f5dcffa6 [2024-08-07T04:23:13.815Z] Step 7/10 : COPY go.mod vendor* ./ [2024-08-07T04:23:14.403Z] ---> c733a8070812 [2024-08-07T04:23:14.403Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-07T04:23:14.403Z] ---> Running in 2edcec9f7f02 [2024-08-07T04:23:18.336Z] Removing intermediate container ffb036e50e5d [2024-08-07T04:23:18.337Z] ---> 389793b895f0 [2024-08-07T04:23:18.337Z] Step 11/24 : FROM alpine:3.18 [2024-08-07T04:23:18.337Z] 3.18: Pulling from library/alpine [2024-08-07T04:23:18.337Z] 930bdd4d222e: Pulling fs layer [2024-08-07T04:23:18.337Z] 930bdd4d222e: Download complete [2024-08-07T04:23:18.337Z] 930bdd4d222e: Pull complete [2024-08-07T04:23:18.337Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-07T04:23:18.337Z] Status: Downloaded newer image for alpine:3.18 [2024-08-07T04:23:18.337Z] ---> 18f865063206 [2024-08-07T04:23:18.337Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-08-07T04:23:18.337Z] ---> Running in ba7931b3c894 [2024-08-07T04:23:18.337Z] Removing intermediate container ba7931b3c894 [2024-08-07T04:23:18.337Z] ---> 5a363cec4610 [2024-08-07T04:23:18.337Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-08-07T04:23:18.337Z] ---> Running in 3fa680d265fc [2024-08-07T04:23:18.337Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-07T04:23:18.337Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-07T04:23:18.337Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-07T04:23:18.337Z] Executing busybox-1.36.1-r7.trigger [2024-08-07T04:23:18.337Z] OK: 7 MiB in 16 packages [2024-08-07T04:23:18.337Z] Removing intermediate container 3fa680d265fc [2024-08-07T04:23:18.337Z] ---> ac6aebae1a32 [2024-08-07T04:23:18.337Z] Step 14/24 : RUN apk --no-cache upgrade [2024-08-07T04:23:18.337Z] ---> Running in a0fb0460f0bc [2024-08-07T04:23:18.337Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-07T04:23:18.596Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-07T04:23:18.596Z] OK: 7 MiB in 16 packages [2024-08-07T04:23:18.856Z] Removing intermediate container a0fb0460f0bc [2024-08-07T04:23:18.856Z] ---> 4ba95f155898 [2024-08-07T04:23:18.856Z] Step 15/24 : WORKDIR / [2024-08-07T04:23:19.115Z] ---> Running in cecd11948540 [2024-08-07T04:23:19.115Z] Removing intermediate container cecd11948540 [2024-08-07T04:23:19.115Z] ---> 5dbb71f0dfec [2024-08-07T04:23:19.115Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-08-07T04:23:19.115Z] ---> d08829b5772b [2024-08-07T04:23:19.115Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-08-07T04:23:20.506Z] ---> 8d38054c4bd0 [2024-08-07T04:23:20.506Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-08-07T04:23:20.506Z] ---> 28d4390590b3 [2024-08-07T04:23:20.506Z] Step 19/24 : EXPOSE 59999 [2024-08-07T04:23:20.506Z] ---> Running in 79437eac0895 [2024-08-07T04:23:20.766Z] Removing intermediate container 79437eac0895 [2024-08-07T04:23:20.766Z] ---> fb705ceb018d [2024-08-07T04:23:20.766Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-08-07T04:23:20.766Z] ---> Running in f1699ad41b2d [2024-08-07T04:23:20.766Z] Removing intermediate container f1699ad41b2d [2024-08-07T04:23:20.766Z] ---> 108de379abdd [2024-08-07T04:23:20.766Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-07T04:23:20.766Z] ---> Running in 6a65f3c3e3fe [2024-08-07T04:23:20.766Z] Removing intermediate container 6a65f3c3e3fe [2024-08-07T04:23:20.766Z] ---> dbe23b719b6f [2024-08-07T04:23:20.766Z] Step 22/24 : LABEL arch=amd64 [2024-08-07T04:23:20.766Z] ---> Running in 2e113daad21a [2024-08-07T04:23:21.024Z] Removing intermediate container 2e113daad21a [2024-08-07T04:23:21.024Z] ---> 95695aacef54 [2024-08-07T04:23:21.024Z] Step 23/24 : LABEL git_sha=6d16e8182ecb0913aee36e010bf21ba70b942b39 [2024-08-07T04:23:21.024Z] ---> Running in 1f07b864c976 [2024-08-07T04:23:21.024Z] Removing intermediate container 1f07b864c976 [2024-08-07T04:23:21.024Z] ---> b9b24d818a82 [2024-08-07T04:23:21.024Z] Step 24/24 : LABEL version=0.0.0 [2024-08-07T04:23:21.024Z] ---> Running in 89c94cce5060 [2024-08-07T04:23:21.024Z] Removing intermediate container 89c94cce5060 [2024-08-07T04:23:21.024Z] ---> 553047b1b1c7 [2024-08-07T04:23:21.024Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-07T04:23:21.284Z] Successfully built 553047b1b1c7 [2024-08-07T04:23:21.284Z] 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-08-07T04:23:22.397Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-07T04:23:22.397Z] [2024-08-07T04:23:22.397Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T04:23:22.800Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-07T04:23:22.800Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-07T04:23:22.800Z] 5eb5b503b376: Pulling fs layer [2024-08-07T04:23:22.800Z] 5c69ac0246d0: Pulling fs layer [2024-08-07T04:23:22.800Z] ec43610c2a17: Pulling fs layer [2024-08-07T04:23:22.800Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-07T04:23:22.800Z] 33b1e0a273af: Pulling fs layer [2024-08-07T04:23:22.800Z] 5d3b04190fa2: Pulling fs layer [2024-08-07T04:23:22.800Z] 2f39f015ded8: Pulling fs layer [2024-08-07T04:23:22.800Z] 33b1e0a273af: Waiting [2024-08-07T04:23:22.800Z] 5d3b04190fa2: Waiting [2024-08-07T04:23:22.800Z] 2f39f015ded8: Waiting [2024-08-07T04:23:22.800Z] 3a2ae6a8a46f: Waiting [2024-08-07T04:23:22.800Z] 5c69ac0246d0: Download complete [2024-08-07T04:23:22.800Z] 3a2ae6a8a46f: Verifying Checksum [2024-08-07T04:23:22.800Z] 3a2ae6a8a46f: Download complete [2024-08-07T04:23:22.800Z] 33b1e0a273af: Verifying Checksum [2024-08-07T04:23:22.800Z] 33b1e0a273af: Download complete [2024-08-07T04:23:22.800Z] 5d3b04190fa2: Verifying Checksum [2024-08-07T04:23:22.800Z] 5d3b04190fa2: Download complete [2024-08-07T04:23:22.800Z] ec43610c2a17: Verifying Checksum [2024-08-07T04:23:22.800Z] ec43610c2a17: Download complete [2024-08-07T04:23:23.139Z] 5eb5b503b376: Verifying Checksum [2024-08-07T04:23:23.139Z] 5eb5b503b376: Download complete [2024-08-07T04:23:23.710Z] 2f39f015ded8: Verifying Checksum [2024-08-07T04:23:23.710Z] 2f39f015ded8: Download complete [2024-08-07T04:23:24.278Z] 5eb5b503b376: Pull complete [2024-08-07T04:23:24.278Z] 5c69ac0246d0: Pull complete [2024-08-07T04:23:24.856Z] ec43610c2a17: Pull complete [2024-08-07T04:23:24.856Z] 3a2ae6a8a46f: Pull complete [2024-08-07T04:23:24.856Z] 33b1e0a273af: Pull complete [2024-08-07T04:23:25.125Z] 5d3b04190fa2: Pull complete [2024-08-07T04:23:29.339Z] 2f39f015ded8: Pull complete [2024-08-07T04:23:29.339Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-07T04:23:29.339Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-07T04:23:29.339Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T04:23:29.610Z] prd-ubuntu20.04-docker-8c-8g-7253 does not seem to be running inside a container [2024-08-07T04:23:29.635Z] $ 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-1610 -v /w/workspace/gexfoundry_device-sdk-go_PR-1610:/w/workspace/gexfoundry_device-sdk-go_PR-1610:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-07T04:23:33.176Z] $ docker top 3e74a9863d14b81d4467d1c79f90632ae4195e56492de2b78ce1815ac66a712a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T04:23:34.571Z] ---> job-cost.sh [2024-08-07T04:23:34.571Z] lf-activate-venv: SKIPPING [2024-08-07T04:23:34.571Z] INFO: No Stack... [2024-08-07T04:23:34.831Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-07T04:23:35.091Z] INFO: Archiving Costs [Pipeline] sh [2024-08-07T04:23:35.411Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1610/archives/cost.csv [2024-08-07T04:23:35.411Z] + cut -d, -f6 [Pipeline] lock [2024-08-07T04:23:35.463Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1610-1-stack-cost] [2024-08-07T04:23:35.469Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1610-1-stack-cost] did not exist. Created. [2024-08-07T04:23:35.476Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1610-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-07T04:23:35.894Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-07T04:23:35.955Z] Stashed 1 file(s) [Pipeline] } [2024-08-07T04:23:35.993Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1610-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-07T04:23:36.085Z] $ docker stop --time=1 3e74a9863d14b81d4467d1c79f90632ae4195e56492de2b78ce1815ac66a712a [2024-08-07T04:23:37.228Z] $ docker rm -f --volumes 3e74a9863d14b81d4467d1c79f90632ae4195e56492de2b78ce1815ac66a712a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-08-07T04:25:21.101Z] Removing intermediate container 2edcec9f7f02 [2024-08-07T04:25:21.101Z] ---> 8e57f43173b9 [2024-08-07T04:25:21.101Z] Step 9/10 : COPY . . [2024-08-07T04:25:21.101Z] ---> 118cb4359574 [2024-08-07T04:25:21.101Z] Step 10/10 : RUN ${MAKE} [2024-08-07T04:25:21.101Z] ---> Running in b3e86ceb27b6 [2024-08-07T04:25:21.101Z] noop [2024-08-07T04:25:21.101Z] Removing intermediate container b3e86ceb27b6 [2024-08-07T04:25:21.101Z] ---> 447af6bc1df8 [2024-08-07T04:25:21.101Z] Successfully built 447af6bc1df8 [2024-08-07T04:25:21.101Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T04:25:21.665Z] + docker inspect -f . ci-base-image-arm64 [2024-08-07T04:25:21.665Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T04:25:21.964Z] prd-ubuntu20.04-docker-arm64-4c-16g-7254 does not seem to be running inside a container [2024-08-07T04:25:22.020Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-07T04:25:23.315Z] $ docker top a259ac052b8dacccf9d5a70b7b7debb682c1c36c6f2b3ffda77f45b3fc6f8a73 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T04:25:24.335Z] + go version [2024-08-07T04:25:24.335Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-07T04:25:24.375Z] $ docker stop --time=1 a259ac052b8dacccf9d5a70b7b7debb682c1c36c6f2b3ffda77f45b3fc6f8a73 [2024-08-07T04:25:26.014Z] $ docker rm -f --volumes a259ac052b8dacccf9d5a70b7b7debb682c1c36c6f2b3ffda77f45b3fc6f8a73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T04:25:26.950Z] + docker inspect -f . ci-base-image-arm64 [2024-08-07T04:25:26.950Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T04:25:27.226Z] prd-ubuntu20.04-docker-arm64-4c-16g-7254 does not seem to be running inside a container [2024-08-07T04:25:27.280Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-07T04:25:28.481Z] $ docker top 700a88f7e3df8352ab3c14c226c2203aa23a20624294909aaf48a20fbd46feae -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T04:25:29.065Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-08-07T04:25:30.082Z] + make test [2024-08-07T04:25:30.082Z] go test -race -coverprofile=coverage.out ./... [2024-08-07T04:26:08.946Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-08-07T04:29:30.696Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-08-07T04:29:30.696Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-08-07T04:29:30.696Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-08-07T04:29:30.696Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-08-07T04:29:30.696Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-08-07T04:29:30.696Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.106s coverage: 27.0% of statements [2024-08-07T04:29:34.025Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.176s coverage: 79.4% of statements [2024-08-07T04:29:42.237Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-08-07T04:29:42.237Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-08-07T04:29:42.817Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.251s coverage: 86.0% of statements [2024-08-07T04:29:49.457Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-08-07T04:29:50.872Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.460s coverage: 52.2% of statements [2024-08-07T04:29:54.226Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.168s coverage: 14.4% of statements [2024-08-07T04:29:54.227Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.756s coverage: 44.6% of statements [2024-08-07T04:29:55.183Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-08-07T04:29:55.183Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-08-07T04:29:56.589Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.290s coverage: 68.5% of statements [2024-08-07T04:29:59.160Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.422s coverage: 89.2% of statements [2024-08-07T04:30:04.491Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-08-07T04:30:05.072Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.246s coverage: 5.4% of statements [2024-08-07T04:30:06.479Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-08-07T04:30:06.479Z] GO111MODULE=on go vet ./... [2024-08-07T04:33:43.221Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-07T04:33:43.221Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-07T04:33:43.221Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-08-07T04:33:43.279Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-07T04:33:43.312Z] $ docker stop --time=1 700a88f7e3df8352ab3c14c226c2203aa23a20624294909aaf48a20fbd46feae [2024-08-07T04:33:45.155Z] $ docker rm -f --volumes 700a88f7e3df8352ab3c14c226c2203aa23a20624294909aaf48a20fbd46feae [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-07T04:33:47.392Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-07T04:33:47.436Z] Warning: overwriting stash ‘coverage-report’ [2024-08-07T04:33:47.960Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-07T04:33:48.664Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-07T04:33:49.001Z] + ls -al . [2024-08-07T04:33:49.001Z] total 376 [2024-08-07T04:33:49.001Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 7 04:25 . [2024-08-07T04:33:49.001Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 04:22 .. [2024-08-07T04:33:49.001Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 7 04:22 .dockerignore [2024-08-07T04:33:49.001Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 04:22 .git [2024-08-07T04:33:49.001Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 04:22 .github [2024-08-07T04:33:49.001Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 7 04:22 .gitignore [2024-08-07T04:33:49.001Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 7 04:22 .golangci.yml [2024-08-07T04:33:49.001Z] -rw-rw-r-- 1 jenkins jenkins 48109 Aug 7 04:22 CHANGELOG.md [2024-08-07T04:33:49.001Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 7 04:22 GOVERNANCE.md [2024-08-07T04:33:49.001Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 7 04:22 Jenkinsfile [2024-08-07T04:33:49.001Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 7 04:22 LICENSE [2024-08-07T04:33:49.001Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 7 04:22 Makefile [2024-08-07T04:33:49.001Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 7 04:22 OWNERS.md [2024-08-07T04:33:49.001Z] -rw-rw-r-- 1 jenkins jenkins 4937 Aug 7 04:22 README.md [2024-08-07T04:33:49.001Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 7 04:20 VERSION [2024-08-07T04:33:49.001Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 04:22 bin [2024-08-07T04:33:49.001Z] -rw-r--r-- 1 jenkins jenkins 125702 Aug 7 04:30 coverage.out [2024-08-07T04:33:49.001Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 7 04:22 example [2024-08-07T04:33:49.001Z] -rw-rw-r-- 1 jenkins jenkins 6996 Aug 7 04:22 go.mod [2024-08-07T04:33:49.001Z] -rw-rw-r-- 1 jenkins jenkins 101460 Aug 7 04:22 go.sum [2024-08-07T04:33:49.001Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 7 04:22 internal [2024-08-07T04:33:49.001Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 04:22 openapi [2024-08-07T04:33:49.001Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 7 04:22 pkg [2024-08-07T04:33:49.001Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 04:22 snap [2024-08-07T04:33:49.001Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 7 04:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T04:33:49.539Z] + 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=6d16e8182ecb0913aee36e010bf21ba70b942b39 --label arch=arm64 --label version=0.0.0 . [2024-08-07T04:33:50.119Z] Sending build context to Docker daemon 13.14MB [2024-08-07T04:33:50.119Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-08-07T04:33:50.119Z] Step 2/24 : FROM ${BASE} AS builder [2024-08-07T04:33:50.119Z] ---> 447af6bc1df8 [2024-08-07T04:33:50.119Z] Step 3/24 : ARG MAKE=make build [2024-08-07T04:33:50.393Z] ---> Running in e157f6896400 [2024-08-07T04:33:50.657Z] Removing intermediate container e157f6896400 [2024-08-07T04:33:50.657Z] ---> 1694b1d4bf8c [2024-08-07T04:33:50.657Z] Step 4/24 : WORKDIR /device-sdk-go [2024-08-07T04:33:50.657Z] ---> Running in 038e9461405c [2024-08-07T04:33:50.926Z] Removing intermediate container 038e9461405c [2024-08-07T04:33:50.927Z] ---> a74cd9998e53 [2024-08-07T04:33:50.927Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-07T04:33:51.192Z] ---> Running in c4eeb8b3dd8c [2024-08-07T04:33:51.456Z] Removing intermediate container c4eeb8b3dd8c [2024-08-07T04:33:51.456Z] ---> c91bcfe39795 [2024-08-07T04:33:51.456Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-08-07T04:33:51.456Z] ---> Running in 2b915a8269bc [2024-08-07T04:33:52.410Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-07T04:33:52.989Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-07T04:33:53.946Z] OK: 266 MiB in 52 packages [2024-08-07T04:33:54.525Z] Removing intermediate container 2b915a8269bc [2024-08-07T04:33:54.525Z] ---> 863e2be09760 [2024-08-07T04:33:54.525Z] Step 7/24 : COPY go.mod vendor* ./ [2024-08-07T04:33:55.106Z] ---> 849f8b66d244 [2024-08-07T04:33:55.106Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-07T04:33:55.106Z] ---> Running in dc5141274d34 [2024-08-07T04:33:57.700Z] Removing intermediate container dc5141274d34 [2024-08-07T04:33:57.700Z] ---> 3c928852da0d [2024-08-07T04:33:57.700Z] Step 9/24 : COPY . . [2024-08-07T04:33:59.107Z] ---> e965cca71f16 [2024-08-07T04:33:59.107Z] Step 10/24 : RUN ${MAKE} [2024-08-07T04:33:59.107Z] ---> Running in 828653aec77a [2024-08-07T04:33:59.692Z] 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-08-07T04:37:21.436Z] Removing intermediate container 828653aec77a [2024-08-07T04:37:21.436Z] ---> 1dd5f5ca7fb3 [2024-08-07T04:37:21.436Z] Step 11/24 : FROM alpine:3.18 [2024-08-07T04:37:21.437Z] 3.18: Pulling from library/alpine [2024-08-07T04:37:21.437Z] 4983c3fe2029: Pulling fs layer [2024-08-07T04:37:21.437Z] 4983c3fe2029: Download complete [2024-08-07T04:37:21.437Z] 4983c3fe2029: Pull complete [2024-08-07T04:37:21.437Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-07T04:37:21.437Z] Status: Downloaded newer image for alpine:3.18 [2024-08-07T04:37:21.437Z] ---> a0237000ae83 [2024-08-07T04:37:21.437Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-08-07T04:37:21.437Z] ---> Running in 10e42314ca84 [2024-08-07T04:37:21.437Z] Removing intermediate container 10e42314ca84 [2024-08-07T04:37:21.437Z] ---> 4125f94b5ea5 [2024-08-07T04:37:21.437Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-08-07T04:37:21.437Z] ---> Running in 377d4eea8000 [2024-08-07T04:37:21.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-07T04:37:21.701Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-07T04:37:22.655Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-07T04:37:22.655Z] Executing busybox-1.36.1-r7.trigger [2024-08-07T04:37:22.655Z] OK: 8 MiB in 16 packages [2024-08-07T04:37:23.623Z] Removing intermediate container 377d4eea8000 [2024-08-07T04:37:23.623Z] ---> 5e3fb6d50fc4 [2024-08-07T04:37:23.623Z] Step 14/24 : RUN apk --no-cache upgrade [2024-08-07T04:37:23.623Z] ---> Running in edaccf2b2731 [2024-08-07T04:37:24.582Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-07T04:37:24.847Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-07T04:37:25.824Z] OK: 8 MiB in 16 packages [2024-08-07T04:37:26.784Z] Removing intermediate container edaccf2b2731 [2024-08-07T04:37:26.784Z] ---> 12cf7167239f [2024-08-07T04:37:26.784Z] Step 15/24 : WORKDIR / [2024-08-07T04:37:26.784Z] ---> Running in 7a19d7c271dc [2024-08-07T04:37:27.051Z] Removing intermediate container 7a19d7c271dc [2024-08-07T04:37:27.051Z] ---> 112e8fcb0387 [2024-08-07T04:37:27.051Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-08-07T04:37:27.648Z] ---> 19da557d5ebe [2024-08-07T04:37:27.648Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-08-07T04:37:29.592Z] ---> 297cf29a1802 [2024-08-07T04:37:29.592Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-08-07T04:37:30.237Z] ---> 6f65c4e4f1d5 [2024-08-07T04:37:30.237Z] Step 19/24 : EXPOSE 59999 [2024-08-07T04:37:30.237Z] ---> Running in 947f968974cb [2024-08-07T04:37:30.517Z] Removing intermediate container 947f968974cb [2024-08-07T04:37:30.517Z] ---> 6ec4be6401dc [2024-08-07T04:37:30.517Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-08-07T04:37:30.517Z] ---> Running in 4050f3e07322 [2024-08-07T04:37:30.813Z] Removing intermediate container 4050f3e07322 [2024-08-07T04:37:30.813Z] ---> 5e379ea6126e [2024-08-07T04:37:30.813Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-07T04:37:31.098Z] ---> Running in ffad52ab5e95 [2024-08-07T04:37:31.371Z] Removing intermediate container ffad52ab5e95 [2024-08-07T04:37:31.371Z] ---> c75fd4445379 [2024-08-07T04:37:31.371Z] Step 22/24 : LABEL arch=arm64 [2024-08-07T04:37:31.371Z] ---> Running in b38510e9b868 [2024-08-07T04:37:31.660Z] Removing intermediate container b38510e9b868 [2024-08-07T04:37:31.660Z] ---> ad565b97907b [2024-08-07T04:37:31.660Z] Step 23/24 : LABEL git_sha=6d16e8182ecb0913aee36e010bf21ba70b942b39 [2024-08-07T04:37:31.660Z] ---> Running in fa383f495026 [2024-08-07T04:37:31.968Z] Removing intermediate container fa383f495026 [2024-08-07T04:37:31.968Z] ---> b574be6985ab [2024-08-07T04:37:31.968Z] Step 24/24 : LABEL version=0.0.0 [2024-08-07T04:37:32.245Z] ---> Running in d00e5cbaad9c [2024-08-07T04:37:32.518Z] Removing intermediate container d00e5cbaad9c [2024-08-07T04:37:32.518Z] ---> bf8d9952225f [2024-08-07T04:37:32.518Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-07T04:37:32.518Z] Successfully built bf8d9952225f [2024-08-07T04:37:32.518Z] 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-08-07T04:37:33.501Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-07T04:37:33.502Z] [2024-08-07T04:37:33.502Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T04:37:33.909Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-07T04:37:33.909Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-07T04:37:33.909Z] 8998bd30e6a1: Pulling fs layer [2024-08-07T04:37:33.909Z] 04944245beec: Pulling fs layer [2024-08-07T04:37:33.909Z] 699f458cf7ca: Pulling fs layer [2024-08-07T04:37:33.909Z] 765212b225bb: Pulling fs layer [2024-08-07T04:37:33.909Z] f23df028b6ca: Pulling fs layer [2024-08-07T04:37:33.909Z] d65c8cfc05b1: Pulling fs layer [2024-08-07T04:37:33.909Z] 2437ff75d9bd: Pulling fs layer [2024-08-07T04:37:33.909Z] 765212b225bb: Waiting [2024-08-07T04:37:33.909Z] f23df028b6ca: Waiting [2024-08-07T04:37:33.909Z] d65c8cfc05b1: Waiting [2024-08-07T04:37:33.909Z] 2437ff75d9bd: Waiting [2024-08-07T04:37:34.175Z] 04944245beec: Verifying Checksum [2024-08-07T04:37:34.175Z] 04944245beec: Download complete [2024-08-07T04:37:34.175Z] 765212b225bb: Verifying Checksum [2024-08-07T04:37:34.175Z] 765212b225bb: Download complete [2024-08-07T04:37:34.175Z] f23df028b6ca: Verifying Checksum [2024-08-07T04:37:34.175Z] f23df028b6ca: Download complete [2024-08-07T04:37:34.175Z] d65c8cfc05b1: Verifying Checksum [2024-08-07T04:37:34.175Z] d65c8cfc05b1: Download complete [2024-08-07T04:37:34.440Z] 699f458cf7ca: Verifying Checksum [2024-08-07T04:37:34.440Z] 699f458cf7ca: Download complete [2024-08-07T04:37:34.705Z] 8998bd30e6a1: Verifying Checksum [2024-08-07T04:37:34.705Z] 8998bd30e6a1: Download complete [2024-08-07T04:37:37.277Z] 2437ff75d9bd: Verifying Checksum [2024-08-07T04:37:37.277Z] 2437ff75d9bd: Download complete [2024-08-07T04:37:39.209Z] 8998bd30e6a1: Pull complete [2024-08-07T04:37:39.790Z] 04944245beec: Pull complete [2024-08-07T04:37:41.191Z] 699f458cf7ca: Pull complete [2024-08-07T04:37:41.456Z] 765212b225bb: Pull complete [2024-08-07T04:37:42.410Z] f23df028b6ca: Pull complete [2024-08-07T04:37:42.410Z] d65c8cfc05b1: Pull complete [2024-08-07T04:38:00.591Z] 2437ff75d9bd: Pull complete [2024-08-07T04:38:00.591Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-07T04:38:00.591Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-07T04:38:00.591Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T04:38:00.942Z] prd-ubuntu20.04-docker-arm64-4c-16g-7254 does not seem to be running inside a container [2024-08-07T04:38:01.000Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-08-07T04:38:03.645Z] $ docker top f6771a0562cc57191af64fd730c83fb8ef92b8d89a68b9cd6622ddbc1c15be20 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T04:38:04.250Z] ---> job-cost.sh [2024-08-07T04:38:04.515Z] lf-activate-venv: SKIPPING [2024-08-07T04:38:04.515Z] INFO: No Stack... [2024-08-07T04:38:04.778Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-07T04:38:05.731Z] INFO: Archiving Costs [Pipeline] sh [2024-08-07T04:38:06.404Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2024-08-07T04:38:06.404Z] + cut -d, -f6 [Pipeline] lock [2024-08-07T04:38:06.467Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1610-1-stack-cost] [2024-08-07T04:38:06.475Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1610-1-stack-cost] did not exist. Created. [2024-08-07T04:38:06.481Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1610-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-07T04:38:07.227Z] /w/workspace/device-sdk-go/1@tmp/durable-983edbe4/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-07T04:38:07.903Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-07T04:38:07.949Z] Warning: overwriting stash ‘stack-cost’ [2024-08-07T04:38:08.027Z] Stashed 1 file(s) [Pipeline] } [2024-08-07T04:38:08.048Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1610-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-07T04:38:08.140Z] $ docker stop --time=1 f6771a0562cc57191af64fd730c83fb8ef92b8d89a68b9cd6622ddbc1c15be20 [2024-08-07T04:38:09.618Z] $ docker rm -f --volumes f6771a0562cc57191af64fd730c83fb8ef92b8d89a68b9cd6622ddbc1c15be20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-08-07T04:38:10.833Z] provisioning config files... [2024-08-07T04:38:10.846Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp/config16272345396899856649tmp [Pipeline] { [Pipeline] sh [2024-08-07T04:38:11.241Z] + set +x [2024-08-07T04:38:11.241Z] + curl -s https://codecov.io/bash [2024-08-07T04:38:11.241Z] + bash -s -- [2024-08-07T04:38:11.522Z] [2024-08-07T04:38:11.522Z] _____ _ [2024-08-07T04:38:11.522Z] / ____| | | [2024-08-07T04:38:11.522Z] | | ___ __| | ___ ___ _____ __ [2024-08-07T04:38:11.522Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-08-07T04:38:11.522Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-08-07T04:38:11.522Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-08-07T04:38:11.522Z] Bash-1.0.6 [2024-08-07T04:38:11.522Z] [2024-08-07T04:38:11.522Z] [2024-08-07T04:38:11.522Z] ==> git version 2.25.1 found [2024-08-07T04:38:11.522Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-08-07T04:38:11.522Z] Release-Date: 2020-01-08 [2024-08-07T04:38:11.522Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-08-07T04:38:11.522Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-08-07T04:38:11.522Z] ==> Jenkins CI detected. [2024-08-07T04:38:11.522Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1610 [2024-08-07T04:38:11.522Z] project root: . [2024-08-07T04:38:11.522Z] --> token set from env [2024-08-07T04:38:11.522Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-08-07T04:38:11.522Z] ==> Running gcov in . (disable via -X gcov) [2024-08-07T04:38:11.522Z] ==> Python coveragepy not found [2024-08-07T04:38:11.522Z] ==> Searching for coverage reports in: [2024-08-07T04:38:11.522Z] + . [2024-08-07T04:38:11.522Z] -> Found 1 reports [2024-08-07T04:38:11.522Z] ==> Detecting git/mercurial file structure [2024-08-07T04:38:11.522Z] ==> Reading reports [2024-08-07T04:38:11.522Z] + ./coverage.out bytes=125702 [2024-08-07T04:38:11.522Z] ==> Appending adjustments [2024-08-07T04:38:11.522Z] https://docs.codecov.io/docs/fixing-reports [2024-08-07T04:38:11.806Z] + Found adjustments [2024-08-07T04:38:11.806Z] ==> Gzipping contents [2024-08-07T04:38:11.806Z] 20K /tmp/codecov.2qa5pE.gz [2024-08-07T04:38:11.806Z] ==> Uploading reports [2024-08-07T04:38:11.806Z] url: https://codecov.io [2024-08-07T04:38:11.806Z] query: branch=PR-1610&commit=6d16e8182ecb0913aee36e010bf21ba70b942b39&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1610%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1610&job=&cmd_args= [2024-08-07T04:38:11.806Z] -> Pinging Codecov [2024-08-07T04:38:11.806Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1610&commit=6d16e8182ecb0913aee36e010bf21ba70b942b39&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1610%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1610&job=&cmd_args= [2024-08-07T04:38:12.063Z] -> Uploading to [2024-08-07T04:38:12.063Z] https://storage.googleapis.com/codecov/v4/raw/2024-08-07/7E55EF52A471D76F132DFD9A03CDDE97/6d16e8182ecb0913aee36e010bf21ba70b942b39/9f887b22-c276-4a47-a646-3a4aa85e633c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240807%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240807T043811Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=020ab1058eba2ab6c991cc95838027ad93f23c9a4b783c2f5eff07ee3352915c [2024-08-07T04:38:12.063Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-07T04:38:12.064Z] Dload Upload Total Spent Left Speed [2024-08-07T04:38:12.323Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17143 0 0 100 17143 0 63966 --:--:-- --:--:-- --:--:-- 63966 [2024-08-07T04:38:12.323Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/6d16e8182ecb0913aee36e010bf21ba70b942b39 [Pipeline] } [2024-08-07T04:38:12.363Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-08-07T04:38:14.645Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1610/archives ] [2024-08-07T04:38:14.645Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1610/archives [2024-08-07T04:38:14.645Z] total 16 [2024-08-07T04:38:14.645Z] drwxr-xr-x 3 root root 4096 Aug 7 04:23 . [2024-08-07T04:38:14.645Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 7 04:23 .. [2024-08-07T04:38:14.645Z] drwxr-xr-x 2 root root 4096 Aug 7 04:23 cost [2024-08-07T04:38:14.645Z] -rw-r--r-- 1 root root 86 Aug 7 04:23 cost.csv [2024-08-07T04:38:14.645Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1610/archives [2024-08-07T04:38:14.645Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1610/archives [2024-08-07T04:38:14.645Z] total 16 [2024-08-07T04:38:14.645Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 7 04:23 . [2024-08-07T04:38:14.645Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 7 04:23 .. [2024-08-07T04:38:14.645Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 7 04:23 cost [2024-08-07T04:38:14.645Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 7 04:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-07T04:38:15.002Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T04:38:15.910Z] ---> package-listing.sh [2024-08-07T04:38:15.910Z] ++ facter osfamily [2024-08-07T04:38:15.910Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-07T04:38:16.168Z] + OS_FAMILY=debian [2024-08-07T04:38:16.168Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1610 [2024-08-07T04:38:16.168Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-07T04:38:16.168Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-07T04:38:16.168Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-07T04:38:16.168Z] + PACKAGES=/tmp/packages_start.txt [2024-08-07T04:38:16.168Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1610 ']' [2024-08-07T04:38:16.168Z] + PACKAGES=/tmp/packages_end.txt [2024-08-07T04:38:16.168Z] + case "${OS_FAMILY}" in [2024-08-07T04:38:16.168Z] + dpkg -l [2024-08-07T04:38:16.168Z] + grep '^ii' [2024-08-07T04:38:16.168Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-07T04:38:16.168Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-07T04:38:16.168Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-07T04:38:16.168Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1610 ']' [2024-08-07T04:38:16.168Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1610/archives/ [2024-08-07T04:38:16.168Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1610/archives/ [Pipeline] echo [2024-08-07T04:38:16.212Z] 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-1610/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-08-07T04:38:16.508Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T04:38:17.168Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-07T04:38:17.168Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T04:38:17.343Z] prd-ubuntu20.04-docker-8c-8g-7253 does not seem to be running inside a container [2024-08-07T04:38:17.373Z] $ 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-1610/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-1610 -v /w/workspace/gexfoundry_device-sdk-go_PR-1610:/w/workspace/gexfoundry_device-sdk-go_PR-1610:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-07T04:38:17.553Z] $ docker top 8bf5be7caf8f9238a47dda054fa0351477020e61811ec6dbe491d9835bef32dd -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T04:38:17.971Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-07T04:38:18.289Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-07T04:38:18.599Z] + ls /var/log/sa-host [2024-08-07T04:38:18.599Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-07T04:38:18.863Z] provisioning config files... [2024-08-07T04:38:18.874Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp/config6722039661852711440tmp [Pipeline] { [Pipeline] echo [2024-08-07T04:38:18.951Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T04:38:19.280Z] ---> create-netrc.sh [Pipeline] } [2024-08-07T04:38:19.322Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-07T04:38:19.755Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-07T04:38:19.793Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T04:38:20.122Z] ---> sudo-logs.sh [2024-08-07T04:38:20.122Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-07T04:38:20.231Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T04:38:20.555Z] ---> job-cost.sh [2024-08-07T04:38:20.555Z] lf-activate-venv: SKIPPING [2024-08-07T04:38:20.555Z] DEBUG: total: 0.2199999988079071 [2024-08-07T04:38:20.555Z] INFO: Retrieving Stack Cost... [2024-08-07T04:38:20.815Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-07T04:38:21.380Z] INFO: Archiving Costs [Pipeline] echo [2024-08-07T04:38:21.426Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T04:38:21.757Z] ---> logs-deploy.sh [2024-08-07T04:38:21.757Z] lf-activate-venv: SKIPPING [2024-08-07T04:38:21.757Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1610/1 [2024-08-07T04:38:21.757Z] INFO: archiving workspace using pattern(s): [2024-08-07T04:38:22.692Z] Archives upload complete. [2024-08-07T04:38:22.692Z] INFO: archiving logs to Nexus