Pull request #1492 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e091e5f8efce8c81a9f693009b3399adb4b6b9d3+33fe8b615815503aada03d5ced23786186fa4554 (8dd07a5b9c5564efa0d9b40ffe26d7142e0393a2) 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-ssh1151528708921413343.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh16231171701818613002.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-1492/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-1492/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh283051259406477410.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-1492/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7018438714889044290.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh10720697320030549405.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-1492/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-1492/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18257549725523536583.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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.20 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-3176 in /w/workspace/gexfoundry_device-sdk-go_PR-1492 [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-1492 # 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 Merging remotes/origin/main commit 33fe8b615815503aada03d5ced23786186fa4554 into PR head commit e091e5f8efce8c81a9f693009b3399adb4b6b9d3 Merge succeeded, producing e091e5f8efce8c81a9f693009b3399adb4b6b9d3 Checking out Revision e091e5f8efce8c81a9f693009b3399adb4b6b9d3 (PR-1492) 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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 > 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/1492/head:refs/remotes/origin/PR-1492 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e091e5f8efce8c81a9f693009b3399adb4b6b9d3 # 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 33fe8b615815503aada03d5ced23786186fa4554 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e091e5f8efce8c81a9f693009b3399adb4b6b9d3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-09T04:28:24.759Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-09T04:28:24.935Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-09T04:28:25.037Z] ========================================================= [2023-08-09T04:28:25.037Z] EdgeX Global Pipelines Version Info [2023-08-09T04:28:25.037Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-09T04:28:25.792Z] ------------------- [2023-08-09T04:28:25.792Z] stable info: [2023-08-09T04:28:25.792Z] ------------------- [2023-08-09T04:28:25.792Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-09T04:28:25.792Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-09T04:28:25.792Z] Message: update stable to v1.0.250 [2023-08-09T04:28:26.363Z] ------------------- [2023-08-09T04:28:26.363Z] experimental info: [2023-08-09T04:28:26.363Z] ------------------- [2023-08-09T04:28:26.363Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-09T04:28:26.363Z] Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 [2023-08-09T04:28:26.363Z] Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-09T04:28:26.638Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-08-09T04:28:26.674Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-08-09T04:28:26.709Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-09T04:28:26.745Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-09T04:28:26.784Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-09T04:28:26.822Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-09T04:28:26.872Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-09T04:28:26.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-08-09T04:28:26.949Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-09T04:28:26.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-09T04:28:27.021Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-09T04:28:27.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-08-09T04:28:27.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-09T04:28:27.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-09T04:28:27.180Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-09T04:28:27.216Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-08-09T04:28:27.260Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-09T04:28:27.300Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-09T04:28:27.340Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-09T04:28:27.381Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-09T04:28:27.416Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-08-09T04:28:27.456Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-08-09T04:28:27.497Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-09T04:28:27.537Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-09T04:28:27.578Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-09T04:28:27.619Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-09T04:28:27.671Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-09T04:28:27.713Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1492 [Pipeline] echo [2023-08-09T04:28:27.754Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1492 [Pipeline] echo [2023-08-09T04:28:27.796Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1492 [Pipeline] echo [2023-08-09T04:28:27.841Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e091e5f8efce8c81a9f693009b3399adb4b6b9d3 [Pipeline] echo [2023-08-09T04:28:27.881Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e091e5f [Pipeline] echo [2023-08-09T04:28:27.926Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T04:28:28.048Z] provisioning config files... [2023-08-09T04:28:28.062Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp/config11977032662227509882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T04:28:28.412Z] ---> docker-login.sh [2023-08-09T04:28:28.412Z] nexus3.edgexfoundry.org:10001 [2023-08-09T04:28:28.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T04:28:28.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T04:28:28.936Z] Configure a credential helper to remove this warning. See [2023-08-09T04:28:28.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T04:28:28.936Z] [2023-08-09T04:28:28.936Z] Login Succeeded [2023-08-09T04:28:28.936Z] nexus3.edgexfoundry.org:10002 [2023-08-09T04:28:28.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T04:28:28.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T04:28:28.936Z] Configure a credential helper to remove this warning. See [2023-08-09T04:28:28.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T04:28:28.936Z] [2023-08-09T04:28:28.936Z] Login Succeeded [2023-08-09T04:28:28.936Z] nexus3.edgexfoundry.org:10003 [2023-08-09T04:28:28.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T04:28:29.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T04:28:29.197Z] Configure a credential helper to remove this warning. See [2023-08-09T04:28:29.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T04:28:29.197Z] [2023-08-09T04:28:29.197Z] Login Succeeded [2023-08-09T04:28:29.197Z] nexus3.edgexfoundry.org:10004 [2023-08-09T04:28:29.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T04:28:29.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T04:28:29.197Z] Configure a credential helper to remove this warning. See [2023-08-09T04:28:29.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T04:28:29.197Z] [2023-08-09T04:28:29.197Z] Login Succeeded [2023-08-09T04:28:29.197Z] docker.io [2023-08-09T04:28:29.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T04:28:29.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T04:28:29.457Z] Configure a credential helper to remove this warning. See [2023-08-09T04:28:29.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T04:28:29.457Z] [2023-08-09T04:28:29.457Z] Login Succeeded [2023-08-09T04:28:29.457Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T04:28:29.488Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-09T04:28:30.122Z] + git rev-list -1 --merges e091e5f8efce8c81a9f693009b3399adb4b6b9d3~1..e091e5f8efce8c81a9f693009b3399adb4b6b9d3 [Pipeline] echo [2023-08-09T04:28:30.185Z] -----------> git rev-list -1 --merges e091e5f8efce8c81a9f693009b3399adb4b6b9d3~1..e091e5f8efce8c81a9f693009b3399adb4b6b9d3 e091e5f8efce8c81a9f693009b3399adb4b6b9d3 [false] [Pipeline] sh [2023-08-09T04:28:30.495Z] + git log --format=format:%s -1 e091e5f8efce8c81a9f693009b3399adb4b6b9d3 [Pipeline] echo [2023-08-09T04:28:30.534Z] ========================================================= [2023-08-09T04:28:30.534Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-09T04:28:30.534Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T04:28:30.970Z] + git log --format=format:%s -1 e091e5f8efce8c81a9f693009b3399adb4b6b9d3 [Pipeline] echo [2023-08-09T04:28:31.002Z] [semverPrep] GIT_COMMIT: e091e5f8efce8c81a9f693009b3399adb4b6b9d3, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-08-09T04:28:31.036Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-09T04:28:31.448Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T04:28:31.448Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-09T04:28:31.448Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-09T04:28:31.448Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-09T04:28:31.448Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-09T04:28:31.448Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-09T04:28:31.448Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T04:28:31.944Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T04:28:31.944Z] [2023-08-09T04:28:31.944Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T04:28:32.417Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T04:28:32.417Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-09T04:28:32.417Z] b85a868b505f: Pulling fs layer [2023-08-09T04:28:32.417Z] e2be974225ed: Pulling fs layer [2023-08-09T04:28:32.417Z] 339a4e72a1f5: Pulling fs layer [2023-08-09T04:28:32.417Z] 988bab9f4d93: Pulling fs layer [2023-08-09T04:28:32.417Z] 1469e6f7b9e6: Pulling fs layer [2023-08-09T04:28:32.417Z] eaf3925da568: Pulling fs layer [2023-08-09T04:28:32.417Z] bab4dde63d76: Pulling fs layer [2023-08-09T04:28:32.417Z] bde34c3a00c8: Pulling fs layer [2023-08-09T04:28:32.417Z] b352a97aabf1: Pulling fs layer [2023-08-09T04:28:32.417Z] 4872d77fe225: Pulling fs layer [2023-08-09T04:28:32.417Z] 5851b861e8e6: Pulling fs layer [2023-08-09T04:28:32.417Z] 988bab9f4d93: Waiting [2023-08-09T04:28:32.417Z] 1469e6f7b9e6: Waiting [2023-08-09T04:28:32.417Z] bab4dde63d76: Waiting [2023-08-09T04:28:32.417Z] bde34c3a00c8: Waiting [2023-08-09T04:28:32.417Z] b352a97aabf1: Waiting [2023-08-09T04:28:32.417Z] 4872d77fe225: Waiting [2023-08-09T04:28:32.417Z] 5851b861e8e6: Waiting [2023-08-09T04:28:32.417Z] eaf3925da568: Waiting [2023-08-09T04:28:32.417Z] e2be974225ed: Verifying Checksum [2023-08-09T04:28:32.417Z] e2be974225ed: Download complete [2023-08-09T04:28:32.417Z] 988bab9f4d93: Verifying Checksum [2023-08-09T04:28:32.417Z] 988bab9f4d93: Download complete [2023-08-09T04:28:32.681Z] 1469e6f7b9e6: Verifying Checksum [2023-08-09T04:28:32.681Z] 1469e6f7b9e6: Download complete [2023-08-09T04:28:32.681Z] 339a4e72a1f5: Verifying Checksum [2023-08-09T04:28:32.681Z] 339a4e72a1f5: Download complete [2023-08-09T04:28:32.681Z] eaf3925da568: Download complete [2023-08-09T04:28:32.681Z] bde34c3a00c8: Download complete [2023-08-09T04:28:32.681Z] b352a97aabf1: Verifying Checksum [2023-08-09T04:28:32.681Z] b352a97aabf1: Download complete [2023-08-09T04:28:32.681Z] 4872d77fe225: Verifying Checksum [2023-08-09T04:28:32.681Z] 4872d77fe225: Download complete [2023-08-09T04:28:32.681Z] 5851b861e8e6: Download complete [2023-08-09T04:28:32.681Z] b85a868b505f: Verifying Checksum [2023-08-09T04:28:32.681Z] b85a868b505f: Download complete [2023-08-09T04:28:32.940Z] bab4dde63d76: Verifying Checksum [2023-08-09T04:28:32.940Z] bab4dde63d76: Download complete [2023-08-09T04:28:34.328Z] b85a868b505f: Pull complete [2023-08-09T04:28:34.328Z] e2be974225ed: Pull complete [2023-08-09T04:28:34.906Z] 339a4e72a1f5: Pull complete [2023-08-09T04:28:34.906Z] 988bab9f4d93: Pull complete [2023-08-09T04:28:35.166Z] 1469e6f7b9e6: Pull complete [2023-08-09T04:28:35.166Z] eaf3925da568: Pull complete [2023-08-09T04:28:37.098Z] bab4dde63d76: Pull complete [2023-08-09T04:28:37.098Z] bde34c3a00c8: Pull complete [2023-08-09T04:28:37.360Z] b352a97aabf1: Pull complete [2023-08-09T04:28:37.360Z] 4872d77fe225: Pull complete [2023-08-09T04:28:37.360Z] 5851b861e8e6: Pull complete [2023-08-09T04:28:37.360Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-09T04:28:37.360Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T04:28:37.360Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T04:28:37.590Z] prd-ubuntu20.04-docker-8c-8g-3176 does not seem to be running inside a container [2023-08-09T04:28:37.620Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1492 -v /w/workspace/gexfoundry_device-sdk-go_PR-1492:/w/workspace/gexfoundry_device-sdk-go_PR-1492:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1492@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-09T04:28:40.277Z] $ docker top 243fe25ecf436e1c2014c1082314ad2f9422f6605069e2bd68f90819b54ac59f -eo pid,comm [2023-08-09T04:28:40.335Z] 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). [2023-08-09T04:28:40.335Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T04:28:40.464Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T04:28:40.464Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T04:28:40.598Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T04:28:40.601Z] $ docker exec 243fe25ecf436e1c2014c1082314ad2f9422f6605069e2bd68f90819b54ac59f ssh-agent [2023-08-09T04:28:40.716Z] SSH_AUTH_SOCK=/tmp/ssh-ZH3rHMRjPlaR/agent.32 [2023-08-09T04:28:40.716Z] SSH_AGENT_PID=38 [2023-08-09T04:28:40.723Z] Running ssh-add (command line suppressed) [2023-08-09T04:28:40.823Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp/private_key_5144974186127470147.key (/w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp/private_key_5144974186127470147.key) [2023-08-09T04:28:40.838Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T04:28:41.167Z] + git tag --points-at HEAD [Pipeline] } [2023-08-09T04:28:41.194Z] $ docker exec --env ******** --env ******** 243fe25ecf436e1c2014c1082314ad2f9422f6605069e2bd68f90819b54ac59f ssh-agent -k [2023-08-09T04:28:41.296Z] unset SSH_AUTH_SOCK; [2023-08-09T04:28:41.296Z] unset SSH_AGENT_PID; [2023-08-09T04:28:41.296Z] echo Agent pid 38 killed; [2023-08-09T04:28:41.309Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-09T04:28:41.400Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T04:28:41.400Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T04:28:41.541Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T04:28:41.543Z] $ docker exec 243fe25ecf436e1c2014c1082314ad2f9422f6605069e2bd68f90819b54ac59f ssh-agent [2023-08-09T04:28:41.664Z] SSH_AUTH_SOCK=/tmp/ssh-Z7kZth62rZzg/agent.70 [2023-08-09T04:28:41.664Z] SSH_AGENT_PID=76 [2023-08-09T04:28:41.670Z] Running ssh-add (command line suppressed) [2023-08-09T04:28:41.778Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp/private_key_7693850234573374861.key (/w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp/private_key_7693850234573374861.key) [2023-08-09T04:28:41.805Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T04:28:42.151Z] + git semver init [2023-08-09T04:28:42.411Z] 2023-08-09 04:28:42,319 [run_init] DEBUG init version:0.0.0 force:False [2023-08-09T04:28:42.411Z] 2023-08-09 04:28:42,319 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1492/.semver [2023-08-09T04:28:42.411Z] 2023-08-09 04:28:42,320 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1492/.semver [2023-08-09T04:28:42.411Z] 2023-08-09 04:28:42,320 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1492/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1492, universal_newlines=False, shell=None, istream=None) [2023-08-09T04:28:43.360Z] 2023-08-09 04:28:43,235 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1492/.git/info/exclude [2023-08-09T04:28:43.360Z] 2023-08-09 04:28:43,236 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1492/.semver/PR-1492 with force:False [2023-08-09T04:28:43.360Z] 2023-08-09 04:28:43,236 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1492/.semver/PR-1492 [2023-08-09T04:28:43.360Z] 2023-08-09 04:28:43,241 [execute] INFO git cat-file --batch-check [2023-08-09T04:28:43.360Z] 2023-08-09 04:28:43,241 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1492/.semver, universal_newlines=False, shell=None, istream=) [2023-08-09T04:28:43.360Z] 2023-08-09 04:28:43,249 [execute] INFO git cat-file --batch [2023-08-09T04:28:43.360Z] 2023-08-09 04:28:43,250 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1492/.semver, universal_newlines=False, shell=None, istream=) [2023-08-09T04:28:43.360Z] 2023-08-09 04:28:43,255 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1492/.semver/PR-1492 [2023-08-09T04:28:43.360Z] 0.0.0 [Pipeline] } [2023-08-09T04:28:43.387Z] $ docker exec --env ******** --env ******** 243fe25ecf436e1c2014c1082314ad2f9422f6605069e2bd68f90819b54ac59f ssh-agent -k [2023-08-09T04:28:43.519Z] unset SSH_AUTH_SOCK; [2023-08-09T04:28:43.519Z] unset SSH_AGENT_PID; [2023-08-09T04:28:43.520Z] echo Agent pid 76 killed; [2023-08-09T04:28:43.529Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T04:28:43.969Z] + git semver [Pipeline] } [2023-08-09T04:28:44.251Z] $ docker stop --time=1 243fe25ecf436e1c2014c1082314ad2f9422f6605069e2bd68f90819b54ac59f [2023-08-09T04:28:45.539Z] $ docker rm -f --volumes 243fe25ecf436e1c2014c1082314ad2f9422f6605069e2bd68f90819b54ac59f [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T04:28:45.940Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-09T04:28:46.220Z] Stashed 1 file(s) [Pipeline] echo [2023-08-09T04:28:46.240Z] [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 [2023-08-09T04:28:46.826Z] provisioning config files... [2023-08-09T04:28:46.835Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp/config6940068488744984163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T04:28:47.176Z] ---> docker-login.sh [2023-08-09T04:28:47.176Z] nexus3.edgexfoundry.org:10001 [2023-08-09T04:28:47.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T04:28:47.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T04:28:47.176Z] Configure a credential helper to remove this warning. See [2023-08-09T04:28:47.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T04:28:47.176Z] [2023-08-09T04:28:47.176Z] Login Succeeded [2023-08-09T04:28:47.176Z] nexus3.edgexfoundry.org:10002 [2023-08-09T04:28:47.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T04:28:47.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T04:28:47.176Z] Configure a credential helper to remove this warning. See [2023-08-09T04:28:47.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T04:28:47.176Z] [2023-08-09T04:28:47.176Z] Login Succeeded [2023-08-09T04:28:47.176Z] nexus3.edgexfoundry.org:10003 [2023-08-09T04:28:47.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T04:28:47.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T04:28:47.437Z] Configure a credential helper to remove this warning. See [2023-08-09T04:28:47.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T04:28:47.437Z] [2023-08-09T04:28:47.437Z] Login Succeeded [2023-08-09T04:28:47.437Z] nexus3.edgexfoundry.org:10004 [2023-08-09T04:28:47.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T04:28:47.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T04:28:47.437Z] Configure a credential helper to remove this warning. See [2023-08-09T04:28:47.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T04:28:47.437Z] [2023-08-09T04:28:47.437Z] Login Succeeded [2023-08-09T04:28:47.437Z] docker.io [2023-08-09T04:28:47.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T04:28:47.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T04:28:47.696Z] Configure a credential helper to remove this warning. See [2023-08-09T04:28:47.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T04:28:47.696Z] [2023-08-09T04:28:47.696Z] Login Succeeded [2023-08-09T04:28:47.696Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T04:28:47.726Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-09T04:28:47.918Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T04:28:47.953Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T04:28:47.981Z] ========================================================= [2023-08-09T04:28:47.982Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-09T04:28:47.982Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T04:28:48.429Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-09T04:28:48.429Z] Sending build context to Docker daemon 11.05MB [2023-08-09T04:28:48.429Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T04:28:48.429Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-09T04:28:48.687Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-09T04:28:48.687Z] 4db1b89c0bd1: Pulling fs layer [2023-08-09T04:28:48.687Z] 6911f1a30b25: Pulling fs layer [2023-08-09T04:28:48.687Z] e194b8c5c2a9: Pulling fs layer [2023-08-09T04:28:48.687Z] 6863d3e3a2b1: Pulling fs layer [2023-08-09T04:28:48.687Z] ec0bb842ea78: Pulling fs layer [2023-08-09T04:28:48.687Z] 40a00589a448: Pulling fs layer [2023-08-09T04:28:48.687Z] 6c08303d61cc: Pulling fs layer [2023-08-09T04:28:48.687Z] 798269fcf238: Pulling fs layer [2023-08-09T04:28:48.687Z] 6863d3e3a2b1: Waiting [2023-08-09T04:28:48.687Z] ec0bb842ea78: Waiting [2023-08-09T04:28:48.687Z] 40a00589a448: Waiting [2023-08-09T04:28:48.687Z] 6c08303d61cc: Waiting [2023-08-09T04:28:48.687Z] 798269fcf238: Waiting [2023-08-09T04:28:48.687Z] 6911f1a30b25: Retrying in 5 seconds [2023-08-09T04:28:48.687Z] 4db1b89c0bd1: Verifying Checksum [2023-08-09T04:28:48.687Z] 4db1b89c0bd1: Download complete [2023-08-09T04:28:48.687Z] 6863d3e3a2b1: Verifying Checksum [2023-08-09T04:28:48.687Z] 6863d3e3a2b1: Download complete [2023-08-09T04:28:48.687Z] ec0bb842ea78: Download complete [2023-08-09T04:28:48.687Z] 40a00589a448: Verifying Checksum [2023-08-09T04:28:48.687Z] 40a00589a448: Download complete [2023-08-09T04:28:48.947Z] 4db1b89c0bd1: Pull complete [2023-08-09T04:28:49.514Z] e194b8c5c2a9: Verifying Checksum [2023-08-09T04:28:49.514Z] e194b8c5c2a9: Download complete [2023-08-09T04:28:49.773Z] 6911f1a30b25: Retrying in 4 seconds [2023-08-09T04:28:49.773Z] 6c08303d61cc: Verifying Checksum [2023-08-09T04:28:49.773Z] 6c08303d61cc: Download complete [2023-08-09T04:28:49.773Z] 798269fcf238: Download complete [2023-08-09T04:28:50.709Z] 6911f1a30b25: Retrying in 3 seconds [2023-08-09T04:28:51.649Z] 6911f1a30b25: Retrying in 2 seconds [2023-08-09T04:28:52.586Z] 6911f1a30b25: Retrying in 1 second [2023-08-09T04:28:53.966Z] 6911f1a30b25: Retrying in 10 seconds [2023-08-09T04:28:54.902Z] 6911f1a30b25: Retrying in 9 seconds [2023-08-09T04:28:55.837Z] 6911f1a30b25: Retrying in 8 seconds [2023-08-09T04:28:56.774Z] 6911f1a30b25: Retrying in 7 seconds [2023-08-09T04:28:57.712Z] 6911f1a30b25: Retrying in 6 seconds [2023-08-09T04:28:58.649Z] 6911f1a30b25: Retrying in 5 seconds [2023-08-09T04:28:59.583Z] 6911f1a30b25: Retrying in 4 seconds [2023-08-09T04:29:00.960Z] 6911f1a30b25: Retrying in 3 seconds [2023-08-09T04:29:01.655Z] Still waiting to schedule task [2023-08-09T04:29:01.655Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-09T04:29:01.894Z] 6911f1a30b25: Retrying in 2 seconds [2023-08-09T04:29:02.835Z] 6911f1a30b25: Retrying in 1 second [2023-08-09T04:29:03.772Z] 6911f1a30b25: Verifying Checksum [2023-08-09T04:29:03.772Z] 6911f1a30b25: Download complete [2023-08-09T04:29:03.772Z] 6911f1a30b25: Pull complete [2023-08-09T04:29:07.957Z] e194b8c5c2a9: Pull complete [2023-08-09T04:29:07.957Z] 6863d3e3a2b1: Pull complete [2023-08-09T04:29:07.957Z] ec0bb842ea78: Pull complete [2023-08-09T04:29:07.957Z] 40a00589a448: Pull complete [2023-08-09T04:29:09.860Z] 6c08303d61cc: Pull complete [2023-08-09T04:29:10.795Z] 798269fcf238: Pull complete [2023-08-09T04:29:11.053Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-09T04:29:11.053Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-09T04:29:11.053Z] ---> ec979cd7f677 [2023-08-09T04:29:11.053Z] Step 3/10 : ARG MAKE=make build [2023-08-09T04:29:15.246Z] ---> Running in 551596d3e9df [2023-08-09T04:29:15.246Z] Removing intermediate container 551596d3e9df [2023-08-09T04:29:15.246Z] ---> 8e456eef8569 [2023-08-09T04:29:15.246Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-09T04:29:15.246Z] ---> Running in 3e09d4225dba [2023-08-09T04:29:15.246Z] Removing intermediate container 3e09d4225dba [2023-08-09T04:29:15.246Z] ---> 27b9bc87dd45 [2023-08-09T04:29:15.246Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-09T04:29:15.246Z] ---> Running in a6efb16f5672 [2023-08-09T04:29:15.246Z] Removing intermediate container a6efb16f5672 [2023-08-09T04:29:15.246Z] ---> c4610210f587 [2023-08-09T04:29:15.246Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-09T04:29:15.246Z] ---> Running in e0b9ab325268 [2023-08-09T04:29:15.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T04:29:15.770Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T04:29:16.028Z] OK: 265 MiB in 53 packages [2023-08-09T04:29:16.286Z] Removing intermediate container e0b9ab325268 [2023-08-09T04:29:16.286Z] ---> 763ce6b306fb [2023-08-09T04:29:16.286Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-09T04:29:16.544Z] ---> 1501ade200eb [2023-08-09T04:29:16.544Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T04:29:16.544Z] ---> Running in c48537c873b6 [2023-08-09T04:30:12.778Z] Removing intermediate container c48537c873b6 [2023-08-09T04:30:12.778Z] ---> 7bfce2705ae3 [2023-08-09T04:30:12.778Z] Step 9/10 : COPY . . [2023-08-09T04:30:12.778Z] ---> 455b843738e6 [2023-08-09T04:30:12.778Z] Step 10/10 : RUN ${MAKE} [2023-08-09T04:30:12.778Z] ---> Running in a450ad7a9cd2 [2023-08-09T04:30:12.778Z] noop [2023-08-09T04:30:12.778Z] Removing intermediate container a450ad7a9cd2 [2023-08-09T04:30:12.778Z] ---> b5e26636a9c9 [2023-08-09T04:30:12.778Z] Successfully built b5e26636a9c9 [2023-08-09T04:30:12.778Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T04:30:13.230Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-09T04:30:13.231Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T04:30:13.384Z] prd-ubuntu20.04-docker-8c-8g-3176 does not seem to be running inside a container [2023-08-09T04:30:13.416Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1492 -v /w/workspace/gexfoundry_device-sdk-go_PR-1492:/w/workspace/gexfoundry_device-sdk-go_PR-1492:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1492@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-x86_64 cat [2023-08-09T04:30:13.746Z] $ docker top 024237f88a4b6d3606e2d06283a307bef01ff0977dae8da9f9a5c7ae06cb46e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T04:30:14.130Z] + go version [2023-08-09T04:30:14.130Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-09T04:30:14.166Z] $ docker stop --time=1 024237f88a4b6d3606e2d06283a307bef01ff0977dae8da9f9a5c7ae06cb46e0 [2023-08-09T04:30:15.433Z] $ docker rm -f --volumes 024237f88a4b6d3606e2d06283a307bef01ff0977dae8da9f9a5c7ae06cb46e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T04:30:16.160Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-09T04:30:16.160Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T04:30:16.317Z] prd-ubuntu20.04-docker-8c-8g-3176 does not seem to be running inside a container [2023-08-09T04:30:16.352Z] $ 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-1492 -v /w/workspace/gexfoundry_device-sdk-go_PR-1492:/w/workspace/gexfoundry_device-sdk-go_PR-1492:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1492@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-x86_64 cat [2023-08-09T04:30:16.679Z] $ docker top 88c862725eced73d24e157bbc103dfdb31691f8b7eded2288c6a25cb69cb0c4b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T04:30:17.173Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1492 [Pipeline] fileExists [Pipeline] sh [2023-08-09T04:30:17.542Z] + make test [2023-08-09T04:30:17.542Z] go test -race -coverprofile=coverage.out ./... [2023-08-09T04:30:25.650Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-09T04:30:35.395Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3177 in /w/workspace/gexfoundry_device-sdk-go_PR-1492 [Pipeline] { [Pipeline] ws [2023-08-09T04:30:35.450Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-08-09T04:30:35.556Z] The recommended git tool is: git [2023-08-09T04:30:37.841Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-09T04:30:37.841Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-09T04:30:37.841Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-09T04:30:37.841Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-09T04:30:37.841Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-09T04:30:38.773Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.061s coverage: 27.6% of statements [2023-08-09T04:30:38.773Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.072s coverage: 80.2% of statements [2023-08-09T04:30:39.713Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-09T04:30:39.713Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-09T04:30:39.971Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.111s coverage: 86.0% of statements [2023-08-09T04:30:39.971Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-09T04:30:40.231Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.084s coverage: 71.8% of statements [2023-08-09T04:30:40.295Z] using credential edgex-jenkins-ssh [2023-08-09T04:30:40.310Z] Cloning the remote Git repository [2023-08-09T04:30:40.355Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-08-09T04:30:41.163Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-09T04:30:41.163Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-09T04:30:40.452Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-08-09T04:30:40.599Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-08-09T04:30:40.600Z] > git --version # timeout=10 [2023-08-09T04:30:40.623Z] > git --version # 'git version 2.25.1' [2023-08-09T04:30:40.625Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-09T04:30:40.772Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-09T04:30:41.729Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-09T04:30:42.330Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-08-09T04:30:42.359Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-09T04:30:43.105Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.073s coverage: 14.3% of statements [2023-08-09T04:30:43.733Z] Merging remotes/origin/main commit 33fe8b615815503aada03d5ced23786186fa4554 into PR head commit e091e5f8efce8c81a9f693009b3399adb4b6b9d3 [2023-08-09T04:30:44.053Z] Merge succeeded, producing e091e5f8efce8c81a9f693009b3399adb4b6b9d3 [2023-08-09T04:30:44.053Z] Checking out Revision e091e5f8efce8c81a9f693009b3399adb4b6b9d3 (PR-1492) [2023-08-09T04:30:43.202Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-08-09T04:30:43.238Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-08-09T04:30:43.238Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-09T04:30:43.253Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1492/head:refs/remotes/origin/PR-1492 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-09T04:30:43.751Z] > git config core.sparsecheckout # timeout=10 [2023-08-09T04:30:43.842Z] > git checkout -f e091e5f8efce8c81a9f693009b3399adb4b6b9d3 # timeout=10 [2023-08-09T04:30:43.948Z] > git remote # timeout=10 [2023-08-09T04:30:43.970Z] > git config --get remote.origin.url # timeout=10 [2023-08-09T04:30:43.999Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-09T04:30:44.013Z] > git merge 33fe8b615815503aada03d5ced23786186fa4554 # timeout=10 [2023-08-09T04:30:44.039Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-09T04:30:44.062Z] > git config core.sparsecheckout # timeout=10 [2023-08-09T04:30:44.080Z] > git checkout -f e091e5f8efce8c81a9f693009b3399adb4b6b9d3 # timeout=10 [2023-08-09T04:30:44.607Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-08-09T04:30:44.660Z] > git --version # timeout=10 [2023-08-09T04:30:44.675Z] > git --version # 'git version 2.25.1' [2023-08-09T04:30:44.688Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T04:30:45.638Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.616s coverage: 43.8% of statements [2023-08-09T04:30:45.638Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.071s coverage: 68.5% of statements [2023-08-09T04:30:45.638Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.119s coverage: 89.2% of statements [2023-08-09T04:30:45.638Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.063s coverage: 5.5% of statements [2023-08-09T04:30:45.830Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-09T04:30:45.830Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-09T04:30:45.830Z] Dload Upload Total Spent Left Speed [2023-08-09T04:30:46.099Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 33822 0 --:--:-- --:--:-- --:--:-- 33822 [Pipeline] sh [2023-08-09T04:30:46.767Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-09T04:30:47.106Z] + sudo tee /etc/docker/daemon.new [2023-08-09T04:30:47.106Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-09T04:30:47.106Z] { [2023-08-09T04:30:47.106Z] "registry-mirrors": [ [2023-08-09T04:30:47.106Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-09T04:30:47.106Z] ], [2023-08-09T04:30:47.106Z] "bip": "10.250.0.254/24", [2023-08-09T04:30:47.106Z] "hosts": [ [2023-08-09T04:30:47.106Z] "tcp://0.0.0.0:5555", [2023-08-09T04:30:47.106Z] "unix:///var/run/docker.sock" [2023-08-09T04:30:47.106Z] ], [2023-08-09T04:30:47.106Z] "mtu": 1458, [2023-08-09T04:30:47.106Z] "selinux-enabled": true, [2023-08-09T04:30:47.106Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-09T04:30:47.106Z] } [Pipeline] sh [2023-08-09T04:30:47.449Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-09T04:30:47.796Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T04:31:06.096Z] provisioning config files... [2023-08-09T04:31:06.119Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config15178704366117834275tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T04:31:06.503Z] ---> docker-login.sh [2023-08-09T04:31:06.503Z] nexus3.edgexfoundry.org:10001 [2023-08-09T04:31:06.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T04:31:07.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T04:31:07.044Z] Configure a credential helper to remove this warning. See [2023-08-09T04:31:07.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T04:31:07.044Z] [2023-08-09T04:31:07.044Z] Login Succeeded [2023-08-09T04:31:07.044Z] nexus3.edgexfoundry.org:10002 [2023-08-09T04:31:07.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T04:31:07.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T04:31:07.313Z] Configure a credential helper to remove this warning. See [2023-08-09T04:31:07.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T04:31:07.313Z] [2023-08-09T04:31:07.313Z] Login Succeeded [2023-08-09T04:31:07.313Z] nexus3.edgexfoundry.org:10003 [2023-08-09T04:31:07.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T04:31:07.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T04:31:07.865Z] Configure a credential helper to remove this warning. See [2023-08-09T04:31:07.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T04:31:07.865Z] [2023-08-09T04:31:07.865Z] Login Succeeded [2023-08-09T04:31:07.865Z] nexus3.edgexfoundry.org:10004 [2023-08-09T04:31:08.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T04:31:08.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T04:31:08.142Z] Configure a credential helper to remove this warning. See [2023-08-09T04:31:08.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T04:31:08.142Z] [2023-08-09T04:31:08.142Z] Login Succeeded [2023-08-09T04:31:08.142Z] docker.io [2023-08-09T04:31:08.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T04:31:08.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T04:31:08.679Z] Configure a credential helper to remove this warning. See [2023-08-09T04:31:08.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T04:31:08.679Z] [2023-08-09T04:31:08.679Z] Login Succeeded [2023-08-09T04:31:08.679Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T04:31:08.712Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-09T04:31:09.073Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T04:31:09.111Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T04:31:09.147Z] ========================================================= [2023-08-09T04:31:09.147Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-09T04:31:09.147Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T04:31:09.645Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-09T04:31:09.914Z] Sending build context to Docker daemon 5.893MB [2023-08-09T04:31:09.914Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T04:31:09.914Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-09T04:31:10.185Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-09T04:31:10.185Z] edb6bdbacee9: Pulling fs layer [2023-08-09T04:31:10.185Z] 5f9638ab2659: Pulling fs layer [2023-08-09T04:31:10.185Z] 8d51d6327a98: Pulling fs layer [2023-08-09T04:31:10.185Z] 8b374f2dd631: Pulling fs layer [2023-08-09T04:31:10.185Z] ec14aa9079de: Pulling fs layer [2023-08-09T04:31:10.185Z] 2f466654f4bb: Pulling fs layer [2023-08-09T04:31:10.185Z] 554e91adad29: Pulling fs layer [2023-08-09T04:31:10.185Z] 8b374f2dd631: Waiting [2023-08-09T04:31:10.185Z] ec14aa9079de: Waiting [2023-08-09T04:31:10.185Z] 2f466654f4bb: Waiting [2023-08-09T04:31:10.185Z] 554e91adad29: Waiting [2023-08-09T04:31:10.185Z] 5f9638ab2659: Verifying Checksum [2023-08-09T04:31:10.185Z] 5f9638ab2659: Download complete [2023-08-09T04:31:10.185Z] 8b374f2dd631: Verifying Checksum [2023-08-09T04:31:10.185Z] 8b374f2dd631: Download complete [2023-08-09T04:31:10.185Z] ec14aa9079de: Verifying Checksum [2023-08-09T04:31:10.185Z] ec14aa9079de: Download complete [2023-08-09T04:31:10.185Z] edb6bdbacee9: Verifying Checksum [2023-08-09T04:31:10.185Z] edb6bdbacee9: Download complete [2023-08-09T04:31:11.604Z] edb6bdbacee9: Pull complete [2023-08-09T04:31:11.604Z] 554e91adad29: Verifying Checksum [2023-08-09T04:31:11.604Z] 554e91adad29: Download complete [2023-08-09T04:31:12.165Z] GO111MODULE=on go vet ./... [2023-08-09T04:31:12.165Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-09T04:31:12.165Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-09T04:31:12.165Z] ./bin/test-attribution-txt.sh [2023-08-09T04:31:12.165Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-09T04:31:12.165Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-09T04:31:12.165Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-09T04:31:12.165Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-09T04:31:12.165Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-09T04:31:12.212Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-09T04:31:12.244Z] $ docker stop --time=1 88c862725eced73d24e157bbc103dfdb31691f8b7eded2288c6a25cb69cb0c4b [2023-08-09T04:31:12.575Z] 8d51d6327a98: Verifying Checksum [2023-08-09T04:31:12.575Z] 8d51d6327a98: Download complete [2023-08-09T04:31:12.575Z] 2f466654f4bb: Verifying Checksum [2023-08-09T04:31:12.575Z] 2f466654f4bb: Download complete [2023-08-09T04:31:13.534Z] 5f9638ab2659: Pull complete [2023-08-09T04:31:15.880Z] $ docker rm -f --volumes 88c862725eced73d24e157bbc103dfdb31691f8b7eded2288c6a25cb69cb0c4b [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T04:31:16.558Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-09T04:31:16.643Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-09T04:31:17.330Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-09T04:31:17.641Z] + ls -al . [2023-08-09T04:31:17.641Z] total 304 [2023-08-09T04:31:17.641Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 9 04:30 . [2023-08-09T04:31:17.641Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 04:28 .. [2023-08-09T04:31:17.641Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 9 04:28 .dockerignore [2023-08-09T04:31:17.641Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 04:28 .git [2023-08-09T04:31:17.641Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 04:28 .github [2023-08-09T04:31:17.641Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 9 04:28 .gitignore [2023-08-09T04:31:17.641Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 9 04:28 .golangci.yml [2023-08-09T04:31:17.641Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 04:28 .semver [2023-08-09T04:31:17.641Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 9 04:28 CHANGELOG.md [2023-08-09T04:31:17.641Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 04:28 GOVERNANCE.md [2023-08-09T04:31:17.641Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 9 04:28 Jenkinsfile [2023-08-09T04:31:17.641Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 9 04:28 LICENSE [2023-08-09T04:31:17.641Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 9 04:28 Makefile [2023-08-09T04:31:17.641Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 9 04:28 OWNERS.md [2023-08-09T04:31:17.641Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 9 04:28 README.md [2023-08-09T04:31:17.641Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 04:28 VERSION [2023-08-09T04:31:17.641Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 04:28 bin [2023-08-09T04:31:17.641Z] -rw-r--r-- 1 jenkins jenkins 120273 Aug 9 04:30 coverage.out [2023-08-09T04:31:17.641Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 9 04:28 example [2023-08-09T04:31:17.641Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 9 04:28 go.mod [2023-08-09T04:31:17.641Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 9 04:28 go.sum [2023-08-09T04:31:17.641Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 9 04:28 internal [2023-08-09T04:31:17.641Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 04:28 openapi [2023-08-09T04:31:17.641Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 9 04:28 pkg [2023-08-09T04:31:17.641Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 04:28 snap [2023-08-09T04:31:17.641Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 9 04:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T04:31:18.088Z] + 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=e091e5f8efce8c81a9f693009b3399adb4b6b9d3 --label arch=amd64 --label version=0.0.0 . [2023-08-09T04:31:18.088Z] Sending build context to Docker daemon 11.17MB [2023-08-09T04:31:18.088Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T04:31:18.088Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-09T04:31:18.088Z] ---> b5e26636a9c9 [2023-08-09T04:31:18.088Z] Step 3/23 : ARG MAKE=make build [2023-08-09T04:31:18.347Z] ---> Running in 10a7a16b12ce [2023-08-09T04:31:18.347Z] Removing intermediate container 10a7a16b12ce [2023-08-09T04:31:18.347Z] ---> 01c561be2538 [2023-08-09T04:31:18.347Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-09T04:31:18.347Z] ---> Running in 07710613a3a2 [2023-08-09T04:31:18.610Z] Removing intermediate container 07710613a3a2 [2023-08-09T04:31:18.610Z] ---> f50403484b08 [2023-08-09T04:31:18.610Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-09T04:31:18.610Z] ---> Running in 811cd6718e2e [2023-08-09T04:31:18.610Z] Removing intermediate container 811cd6718e2e [2023-08-09T04:31:18.610Z] ---> 70e0bf5566ce [2023-08-09T04:31:18.610Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-09T04:31:18.610Z] ---> Running in b7da3ae8aa72 [2023-08-09T04:31:18.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T04:31:19.128Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T04:31:19.387Z] OK: 265 MiB in 53 packages [2023-08-09T04:31:19.646Z] Removing intermediate container b7da3ae8aa72 [2023-08-09T04:31:19.646Z] ---> 6cfc852796db [2023-08-09T04:31:19.646Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-09T04:31:19.906Z] ---> 2d7cb6803773 [2023-08-09T04:31:19.906Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T04:31:19.906Z] ---> Running in ed275930ce59 [2023-08-09T04:31:20.471Z] Removing intermediate container ed275930ce59 [2023-08-09T04:31:20.471Z] ---> 09bcda9d75cf [2023-08-09T04:31:20.471Z] Step 9/23 : COPY . . [2023-08-09T04:31:21.038Z] ---> 91a4f2dbb375 [2023-08-09T04:31:21.038Z] Step 10/23 : RUN ${MAKE} [2023-08-09T04:31:21.038Z] ---> Running in ff93ab0ae74b [2023-08-09T04:31:21.297Z] 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 [2023-08-09T04:31:28.657Z] 8d51d6327a98: Pull complete [2023-08-09T04:31:28.657Z] 8b374f2dd631: Pull complete [2023-08-09T04:31:28.657Z] ec14aa9079de: Pull complete [2023-08-09T04:31:35.340Z] 2f466654f4bb: Pull complete [2023-08-09T04:31:36.772Z] 554e91adad29: Pull complete [2023-08-09T04:31:36.772Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-09T04:31:36.772Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-09T04:31:36.772Z] ---> 1e15ea492957 [2023-08-09T04:31:36.772Z] Step 3/10 : ARG MAKE=make build [2023-08-09T04:31:42.109Z] ---> Running in c167877aa9a8 [2023-08-09T04:31:42.380Z] Removing intermediate container c167877aa9a8 [2023-08-09T04:31:42.380Z] ---> 16a9b43169ae [2023-08-09T04:31:42.380Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-09T04:31:42.380Z] ---> Running in dfc4c591f9eb [2023-08-09T04:31:42.648Z] Removing intermediate container dfc4c591f9eb [2023-08-09T04:31:42.648Z] ---> ad03c6341ba6 [2023-08-09T04:31:42.648Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-09T04:31:42.916Z] ---> Running in 3aa7310a63a6 [2023-08-09T04:31:43.188Z] Removing intermediate container 3aa7310a63a6 [2023-08-09T04:31:43.188Z] ---> 8d69defa7802 [2023-08-09T04:31:43.188Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-09T04:31:43.188Z] ---> Running in b8ba5d14395b [2023-08-09T04:31:43.228Z] Removing intermediate container ff93ab0ae74b [2023-08-09T04:31:43.228Z] ---> ce17529eef05 [2023-08-09T04:31:43.228Z] Step 11/23 : FROM alpine:3.17 [2023-08-09T04:31:43.228Z] 3.17: Pulling from library/alpine [2023-08-09T04:31:43.228Z] 9398808236ff: Pulling fs layer [2023-08-09T04:31:43.228Z] 9398808236ff: Verifying Checksum [2023-08-09T04:31:43.228Z] 9398808236ff: Download complete [2023-08-09T04:31:43.228Z] 9398808236ff: Pull complete [2023-08-09T04:31:43.228Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-09T04:31:43.228Z] Status: Downloaded newer image for alpine:3.17 [2023-08-09T04:31:43.228Z] ---> 1e0b8b5322fc [2023-08-09T04:31:43.228Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-09T04:31:43.228Z] ---> Running in bd2c0a42abff [2023-08-09T04:31:43.228Z] Removing intermediate container bd2c0a42abff [2023-08-09T04:31:43.228Z] ---> 87b1f0c113f2 [2023-08-09T04:31:43.228Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-09T04:31:43.228Z] ---> Running in 0cae1035fe59 [2023-08-09T04:31:43.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T04:31:43.746Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T04:31:44.005Z] OK: 7 MiB in 15 packages [2023-08-09T04:31:44.154Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T04:31:44.263Z] Removing intermediate container 0cae1035fe59 [2023-08-09T04:31:44.263Z] ---> a4e9c3d3dd81 [2023-08-09T04:31:44.263Z] Step 14/23 : WORKDIR / [2023-08-09T04:31:44.263Z] ---> Running in c7bccb019680 [2023-08-09T04:31:44.263Z] Removing intermediate container c7bccb019680 [2023-08-09T04:31:44.263Z] ---> 3dd6d50813ab [2023-08-09T04:31:44.263Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-09T04:31:44.520Z] ---> 5c76745c941d [2023-08-09T04:31:44.520Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-09T04:31:44.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T04:31:45.508Z] ---> eeb8e57ef9fe [2023-08-09T04:31:45.508Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-09T04:31:45.508Z] ---> 380b29abc1ef [2023-08-09T04:31:45.508Z] Step 18/23 : EXPOSE 59999 [2023-08-09T04:31:45.508Z] ---> Running in 516a605dd7da [2023-08-09T04:31:45.699Z] OK: 263 MiB in 53 packages [2023-08-09T04:31:45.768Z] Removing intermediate container 516a605dd7da [2023-08-09T04:31:45.768Z] ---> 47a1334cb727 [2023-08-09T04:31:45.768Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-09T04:31:45.768Z] ---> Running in fff9fab68237 [2023-08-09T04:31:45.768Z] Removing intermediate container fff9fab68237 [2023-08-09T04:31:45.768Z] ---> b231ad556984 [2023-08-09T04:31:45.768Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-09T04:31:45.768Z] ---> Running in a0095439a0d0 [2023-08-09T04:31:45.768Z] Removing intermediate container a0095439a0d0 [2023-08-09T04:31:45.768Z] ---> 1df8439a91ff [2023-08-09T04:31:45.768Z] Step 21/23 : LABEL arch=amd64 [2023-08-09T04:31:46.027Z] ---> Running in d86bfa68fadd [2023-08-09T04:31:46.027Z] Removing intermediate container d86bfa68fadd [2023-08-09T04:31:46.027Z] ---> e3258ea24685 [2023-08-09T04:31:46.027Z] Step 22/23 : LABEL git_sha=e091e5f8efce8c81a9f693009b3399adb4b6b9d3 [2023-08-09T04:31:46.027Z] ---> Running in 0ed058bcce4b [2023-08-09T04:31:46.027Z] Removing intermediate container 0ed058bcce4b [2023-08-09T04:31:46.027Z] ---> cc90cc5c1c97 [2023-08-09T04:31:46.027Z] Step 23/23 : LABEL version=0.0.0 [2023-08-09T04:31:46.027Z] ---> Running in 2ba58cd0074a [2023-08-09T04:31:46.286Z] Removing intermediate container 2ba58cd0074a [2023-08-09T04:31:46.286Z] ---> 176da5e446ef [2023-08-09T04:31:46.286Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-09T04:31:46.286Z] Successfully built 176da5e446ef [2023-08-09T04:31:46.286Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [2023-08-09T04:31:46.667Z] Removing intermediate container b8ba5d14395b [2023-08-09T04:31:46.667Z] ---> f3a3b4ea2e90 [2023-08-09T04:31:46.667Z] Step 7/10 : COPY go.mod vendor* ./ [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2023-08-09T04:31:46.939Z] ---> b597b17e9223 [2023-08-09T04:31:46.939Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T04:31:46.939Z] ---> Running in f9b1500fd8b5 [Pipeline] sh [2023-08-09T04:31:47.256Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T04:31:47.256Z] [2023-08-09T04:31:47.256Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T04:31:47.627Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T04:31:47.627Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-09T04:31:47.627Z] 5eb5b503b376: Pulling fs layer [2023-08-09T04:31:47.627Z] 5c69ac0246d0: Pulling fs layer [2023-08-09T04:31:47.627Z] ec43610c2a17: Pulling fs layer [2023-08-09T04:31:47.627Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-09T04:31:47.627Z] 33b1e0a273af: Pulling fs layer [2023-08-09T04:31:47.627Z] 5d3b04190fa2: Pulling fs layer [2023-08-09T04:31:47.627Z] 2f39f015ded8: Pulling fs layer [2023-08-09T04:31:47.627Z] 3a2ae6a8a46f: Waiting [2023-08-09T04:31:47.627Z] 33b1e0a273af: Waiting [2023-08-09T04:31:47.627Z] 2f39f015ded8: Waiting [2023-08-09T04:31:47.627Z] 5d3b04190fa2: Waiting [2023-08-09T04:31:47.627Z] 5c69ac0246d0: Verifying Checksum [2023-08-09T04:31:47.627Z] 5c69ac0246d0: Download complete [2023-08-09T04:31:47.627Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-09T04:31:47.627Z] 3a2ae6a8a46f: Download complete [2023-08-09T04:31:47.627Z] 33b1e0a273af: Verifying Checksum [2023-08-09T04:31:47.627Z] 33b1e0a273af: Download complete [2023-08-09T04:31:47.628Z] 5d3b04190fa2: Verifying Checksum [2023-08-09T04:31:47.628Z] 5d3b04190fa2: Download complete [2023-08-09T04:31:47.628Z] ec43610c2a17: Verifying Checksum [2023-08-09T04:31:47.628Z] ec43610c2a17: Download complete [2023-08-09T04:31:47.887Z] 5eb5b503b376: Verifying Checksum [2023-08-09T04:31:47.887Z] 5eb5b503b376: Download complete [2023-08-09T04:31:48.455Z] 2f39f015ded8: Download complete [2023-08-09T04:31:49.388Z] 5eb5b503b376: Pull complete [2023-08-09T04:31:49.388Z] 5c69ac0246d0: Pull complete [2023-08-09T04:31:49.646Z] ec43610c2a17: Pull complete [2023-08-09T04:31:49.904Z] 3a2ae6a8a46f: Pull complete [2023-08-09T04:31:49.904Z] 33b1e0a273af: Pull complete [2023-08-09T04:31:50.162Z] 5d3b04190fa2: Pull complete [2023-08-09T04:31:55.569Z] 2f39f015ded8: Pull complete [2023-08-09T04:31:55.569Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-09T04:31:55.569Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T04:31:55.569Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T04:31:55.803Z] prd-ubuntu20.04-docker-8c-8g-3176 does not seem to be running inside a container [2023-08-09T04:31:55.838Z] $ 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-1492 -v /w/workspace/gexfoundry_device-sdk-go_PR-1492:/w/workspace/gexfoundry_device-sdk-go_PR-1492:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1492@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 [2023-08-09T04:32:00.160Z] $ docker top 52f31365de5f235532b3695815acf9b9e68a2f6738e22e3ca2ffed7e8fd7de08 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T04:32:00.630Z] ---> job-cost.sh [2023-08-09T04:32:00.631Z] lf-activate-venv: SKIPPING [2023-08-09T04:32:00.631Z] INFO: No Stack... [2023-08-09T04:32:00.889Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-09T04:32:01.457Z] INFO: Archiving Costs [Pipeline] sh [2023-08-09T04:32:01.782Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1492/archives/cost.csv [2023-08-09T04:32:01.782Z] + cut -d, -f6 [Pipeline] lock [2023-08-09T04:32:01.822Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1492-1-stack-cost] [2023-08-09T04:32:01.826Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1492-1-stack-cost] did not exist. Created. [2023-08-09T04:32:01.826Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1492-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-09T04:32:02.226Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-09T04:32:02.285Z] Stashed 1 file(s) [Pipeline] } [2023-08-09T04:32:02.311Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1492-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-09T04:32:02.393Z] $ docker stop --time=1 52f31365de5f235532b3695815acf9b9e68a2f6738e22e3ca2ffed7e8fd7de08 [2023-08-09T04:32:03.541Z] $ docker rm -f --volumes 52f31365de5f235532b3695815acf9b9e68a2f6738e22e3ca2ffed7e8fd7de08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-09T04:32:54.828Z] Removing intermediate container f9b1500fd8b5 [2023-08-09T04:32:54.828Z] ---> 6f5b0e897b25 [2023-08-09T04:32:54.828Z] Step 9/10 : COPY . . [2023-08-09T04:32:54.828Z] ---> 90df44c23bd4 [2023-08-09T04:32:54.828Z] Step 10/10 : RUN ${MAKE} [2023-08-09T04:32:54.828Z] ---> Running in fb18cf63567c [2023-08-09T04:32:54.828Z] noop [2023-08-09T04:32:54.828Z] Removing intermediate container fb18cf63567c [2023-08-09T04:32:54.828Z] ---> 4e5dd95aec4c [2023-08-09T04:32:54.828Z] Successfully built 4e5dd95aec4c [2023-08-09T04:32:54.828Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T04:32:55.296Z] + docker inspect -f . ci-base-image-arm64 [2023-08-09T04:32:55.296Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T04:32:55.574Z] prd-ubuntu20.04-docker-arm64-4c-16g-3177 does not seem to be running inside a container [2023-08-09T04:32:55.638Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-09T04:32:56.778Z] $ docker top 44e8b3681281e765f0110f8944585d62007f935673b9d472e7ee81bd5e6296e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T04:32:57.651Z] + go version [2023-08-09T04:32:57.651Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-09T04:32:57.691Z] $ docker stop --time=1 44e8b3681281e765f0110f8944585d62007f935673b9d472e7ee81bd5e6296e9 [2023-08-09T04:32:59.271Z] $ docker rm -f --volumes 44e8b3681281e765f0110f8944585d62007f935673b9d472e7ee81bd5e6296e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T04:33:00.121Z] + docker inspect -f . ci-base-image-arm64 [2023-08-09T04:33:00.121Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T04:33:00.381Z] prd-ubuntu20.04-docker-arm64-4c-16g-3177 does not seem to be running inside a container [2023-08-09T04:33:00.444Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-09T04:33:01.561Z] $ docker top d442e257f971b7316975022fa6bb396c012e2f5a32218eede1cbd63f196efc25 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T04:33:02.115Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-08-09T04:33:02.623Z] + make test [2023-08-09T04:33:02.623Z] go test -race -coverprofile=coverage.out ./... [2023-08-09T04:33:41.506Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-09T04:35:48.178Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-09T04:35:48.178Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-09T04:35:48.178Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-09T04:35:48.178Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-09T04:35:48.178Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-09T04:35:53.520Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.228s coverage: 27.6% of statements [2023-08-09T04:35:57.767Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.259s coverage: 80.2% of statements [2023-08-09T04:36:10.068Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-09T04:36:10.068Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-09T04:36:10.336Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.351s coverage: 86.0% of statements [2023-08-09T04:36:16.982Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-09T04:36:16.982Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.424s coverage: 71.8% of statements [2023-08-09T04:36:20.325Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.274s coverage: 14.3% of statements [2023-08-09T04:36:22.903Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-09T04:36:22.903Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-09T04:36:27.169Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 6.582s coverage: 43.8% of statements [2023-08-09T04:36:27.169Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.409s coverage: 68.5% of statements [2023-08-09T04:36:27.169Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.434s coverage: 89.2% of statements [2023-08-09T04:36:28.123Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-09T04:36:28.389Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.240s coverage: 5.5% of statements [2023-08-09T04:36:29.345Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-09T04:36:29.345Z] GO111MODULE=on go vet ./... [2023-08-09T04:38:51.042Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-09T04:38:51.042Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-09T04:38:51.042Z] ./bin/test-attribution-txt.sh [2023-08-09T04:38:51.042Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-09T04:38:51.042Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-09T04:38:51.042Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-09T04:38:51.042Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-09T04:38:51.042Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-09T04:38:51.079Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-09T04:38:51.108Z] $ docker stop --time=1 d442e257f971b7316975022fa6bb396c012e2f5a32218eede1cbd63f196efc25 [2023-08-09T04:38:52.964Z] $ docker rm -f --volumes d442e257f971b7316975022fa6bb396c012e2f5a32218eede1cbd63f196efc25 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T04:38:54.545Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-09T04:38:54.584Z] Warning: overwriting stash ‘coverage-report’ [2023-08-09T04:38:55.096Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T04:38:55.673Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-09T04:38:56.003Z] + ls -al . [2023-08-09T04:38:56.003Z] total 300 [2023-08-09T04:38:56.003Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 04:33 . [2023-08-09T04:38:56.003Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 04:30 .. [2023-08-09T04:38:56.003Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 9 04:30 .dockerignore [2023-08-09T04:38:56.003Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 04:30 .git [2023-08-09T04:38:56.003Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 04:30 .github [2023-08-09T04:38:56.003Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 9 04:30 .gitignore [2023-08-09T04:38:56.003Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 9 04:30 .golangci.yml [2023-08-09T04:38:56.003Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 9 04:30 CHANGELOG.md [2023-08-09T04:38:56.003Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 04:30 GOVERNANCE.md [2023-08-09T04:38:56.003Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 9 04:30 Jenkinsfile [2023-08-09T04:38:56.003Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 9 04:30 LICENSE [2023-08-09T04:38:56.003Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 9 04:30 Makefile [2023-08-09T04:38:56.003Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 9 04:30 OWNERS.md [2023-08-09T04:38:56.003Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 9 04:30 README.md [2023-08-09T04:38:56.003Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 04:28 VERSION [2023-08-09T04:38:56.003Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 04:30 bin [2023-08-09T04:38:56.003Z] -rw-r--r-- 1 jenkins jenkins 120271 Aug 9 04:36 coverage.out [2023-08-09T04:38:56.003Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 9 04:30 example [2023-08-09T04:38:56.003Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 9 04:30 go.mod [2023-08-09T04:38:56.003Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 9 04:30 go.sum [2023-08-09T04:38:56.003Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 9 04:30 internal [2023-08-09T04:38:56.003Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 04:30 openapi [2023-08-09T04:38:56.003Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 9 04:30 pkg [2023-08-09T04:38:56.003Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 04:30 snap [2023-08-09T04:38:56.004Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 9 04:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T04:38:56.410Z] + 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=e091e5f8efce8c81a9f693009b3399adb4b6b9d3 --label arch=arm64 --label version=0.0.0 . [2023-08-09T04:38:56.681Z] Sending build context to Docker daemon 6.013MB [2023-08-09T04:38:56.681Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T04:38:56.681Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-09T04:38:56.681Z] ---> 4e5dd95aec4c [2023-08-09T04:38:56.681Z] Step 3/23 : ARG MAKE=make build [2023-08-09T04:38:56.949Z] ---> Running in 343225134cdb [2023-08-09T04:38:57.217Z] Removing intermediate container 343225134cdb [2023-08-09T04:38:57.217Z] ---> e36e066d82d8 [2023-08-09T04:38:57.217Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-09T04:38:57.217Z] ---> Running in b46b3bdbc1ca [2023-08-09T04:38:57.484Z] Removing intermediate container b46b3bdbc1ca [2023-08-09T04:38:57.484Z] ---> 74935bef04f2 [2023-08-09T04:38:57.484Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-09T04:38:57.751Z] ---> Running in 291ce30891c5 [2023-08-09T04:38:58.018Z] Removing intermediate container 291ce30891c5 [2023-08-09T04:38:58.018Z] ---> d00c89be3615 [2023-08-09T04:38:58.018Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-09T04:38:58.018Z] ---> Running in d75283385040 [2023-08-09T04:38:59.043Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T04:38:59.634Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T04:39:00.615Z] OK: 263 MiB in 53 packages [2023-08-09T04:39:02.592Z] Removing intermediate container d75283385040 [2023-08-09T04:39:02.592Z] ---> 551eac9318a1 [2023-08-09T04:39:02.592Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-09T04:39:02.861Z] ---> 365eba437824 [2023-08-09T04:39:02.861Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T04:39:02.861Z] ---> Running in a008eaef16cd [2023-08-09T04:39:04.802Z] Removing intermediate container a008eaef16cd [2023-08-09T04:39:04.802Z] ---> 50760b7cb4a9 [2023-08-09T04:39:04.802Z] Step 9/23 : COPY . . [2023-08-09T04:39:05.762Z] ---> 8f9dee7d2eb2 [2023-08-09T04:39:05.762Z] Step 10/23 : RUN ${MAKE} [2023-08-09T04:39:05.762Z] ---> Running in 2caeefbbf875 [2023-08-09T04:39:06.723Z] 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 [2023-08-09T04:41:13.458Z] Removing intermediate container 2caeefbbf875 [2023-08-09T04:41:13.458Z] ---> 401b1a485ec3 [2023-08-09T04:41:13.458Z] Step 11/23 : FROM alpine:3.17 [2023-08-09T04:41:16.785Z] 3.17: Pulling from library/alpine [2023-08-09T04:41:16.785Z] 4060ece20d7a: Pulling fs layer [2023-08-09T04:41:17.052Z] 4060ece20d7a: Verifying Checksum [2023-08-09T04:41:17.636Z] 4060ece20d7a: Pull complete [2023-08-09T04:41:17.636Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-09T04:41:17.636Z] Status: Downloaded newer image for alpine:3.17 [2023-08-09T04:41:17.636Z] ---> 8650cd65339b [2023-08-09T04:41:17.636Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-09T04:41:17.636Z] ---> Running in 41a23830b6d7 [2023-08-09T04:41:17.919Z] Removing intermediate container 41a23830b6d7 [2023-08-09T04:41:17.919Z] ---> edf197611867 [2023-08-09T04:41:17.919Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-09T04:41:17.919Z] ---> Running in ef0575512c62 [2023-08-09T04:41:18.881Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T04:41:19.460Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T04:41:20.418Z] OK: 7 MiB in 15 packages [2023-08-09T04:41:21.375Z] Removing intermediate container ef0575512c62 [2023-08-09T04:41:21.375Z] ---> ee6248811175 [2023-08-09T04:41:21.375Z] Step 14/23 : WORKDIR / [2023-08-09T04:41:21.375Z] ---> Running in 1b27348901b8 [2023-08-09T04:41:21.641Z] Removing intermediate container 1b27348901b8 [2023-08-09T04:41:21.641Z] ---> 1515434a2f61 [2023-08-09T04:41:21.641Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-09T04:41:22.223Z] ---> bdc40cf5cf6d [2023-08-09T04:41:22.223Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-09T04:41:23.631Z] ---> bda925bfef92 [2023-08-09T04:41:23.631Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-09T04:41:23.898Z] ---> 63847bca489a [2023-08-09T04:41:23.898Z] Step 18/23 : EXPOSE 59999 [2023-08-09T04:41:23.898Z] ---> Running in d8ed56101793 [2023-08-09T04:41:24.165Z] Removing intermediate container d8ed56101793 [2023-08-09T04:41:24.165Z] ---> ece41570edaf [2023-08-09T04:41:24.165Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-09T04:41:24.165Z] ---> Running in 5bfb0d9c05dc [2023-08-09T04:41:24.754Z] Removing intermediate container 5bfb0d9c05dc [2023-08-09T04:41:24.754Z] ---> 8c46a6933983 [2023-08-09T04:41:24.754Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-09T04:41:24.754Z] ---> Running in f0812c881222 [2023-08-09T04:41:25.021Z] Removing intermediate container f0812c881222 [2023-08-09T04:41:25.021Z] ---> 102dcab6df45 [2023-08-09T04:41:25.021Z] Step 21/23 : LABEL arch=arm64 [2023-08-09T04:41:25.021Z] ---> Running in 43b6563f9af3 [2023-08-09T04:41:25.287Z] Removing intermediate container 43b6563f9af3 [2023-08-09T04:41:25.287Z] ---> 993242ebb9eb [2023-08-09T04:41:25.287Z] Step 22/23 : LABEL git_sha=e091e5f8efce8c81a9f693009b3399adb4b6b9d3 [2023-08-09T04:41:25.287Z] ---> Running in 7a59a3802a6f [2023-08-09T04:41:25.555Z] Removing intermediate container 7a59a3802a6f [2023-08-09T04:41:25.555Z] ---> 1afcae695e4e [2023-08-09T04:41:25.555Z] Step 23/23 : LABEL version=0.0.0 [2023-08-09T04:41:25.555Z] ---> Running in 7e17cac08bbc [2023-08-09T04:41:25.821Z] Removing intermediate container 7e17cac08bbc [2023-08-09T04:41:25.821Z] ---> 232c76aa16c8 [2023-08-09T04:41:25.821Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-09T04:41:26.085Z] Successfully built 232c76aa16c8 [2023-08-09T04:41:26.085Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T04:41:26.873Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T04:41:26.873Z] [2023-08-09T04:41:26.873Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T04:41:27.268Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T04:41:27.268Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-09T04:41:27.268Z] 8998bd30e6a1: Pulling fs layer [2023-08-09T04:41:27.268Z] 04944245beec: Pulling fs layer [2023-08-09T04:41:27.268Z] 699f458cf7ca: Pulling fs layer [2023-08-09T04:41:27.268Z] 765212b225bb: Pulling fs layer [2023-08-09T04:41:27.268Z] f23df028b6ca: Pulling fs layer [2023-08-09T04:41:27.268Z] d65c8cfc05b1: Pulling fs layer [2023-08-09T04:41:27.268Z] 2437ff75d9bd: Pulling fs layer [2023-08-09T04:41:27.268Z] 765212b225bb: Waiting [2023-08-09T04:41:27.268Z] d65c8cfc05b1: Waiting [2023-08-09T04:41:27.268Z] 2437ff75d9bd: Waiting [2023-08-09T04:41:27.268Z] f23df028b6ca: Waiting [2023-08-09T04:41:27.540Z] 04944245beec: Verifying Checksum [2023-08-09T04:41:27.540Z] 04944245beec: Download complete [2023-08-09T04:41:27.540Z] 765212b225bb: Verifying Checksum [2023-08-09T04:41:27.540Z] 765212b225bb: Download complete [2023-08-09T04:41:27.540Z] f23df028b6ca: Verifying Checksum [2023-08-09T04:41:27.540Z] f23df028b6ca: Download complete [2023-08-09T04:41:27.540Z] d65c8cfc05b1: Verifying Checksum [2023-08-09T04:41:27.540Z] d65c8cfc05b1: Download complete [2023-08-09T04:41:27.540Z] 699f458cf7ca: Verifying Checksum [2023-08-09T04:41:27.540Z] 699f458cf7ca: Download complete [2023-08-09T04:41:28.123Z] 8998bd30e6a1: Verifying Checksum [2023-08-09T04:41:28.123Z] 8998bd30e6a1: Download complete [2023-08-09T04:41:30.059Z] 2437ff75d9bd: Verifying Checksum [2023-08-09T04:41:30.059Z] 2437ff75d9bd: Download complete [2023-08-09T04:41:31.997Z] 8998bd30e6a1: Pull complete [2023-08-09T04:41:32.264Z] 04944245beec: Pull complete [2023-08-09T04:41:33.669Z] 699f458cf7ca: Pull complete [2023-08-09T04:41:33.935Z] 765212b225bb: Pull complete [2023-08-09T04:41:34.516Z] f23df028b6ca: Pull complete [2023-08-09T04:41:34.780Z] d65c8cfc05b1: Pull complete [2023-08-09T04:41:49.759Z] 2437ff75d9bd: Pull complete [2023-08-09T04:41:49.759Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-09T04:41:49.759Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T04:41:49.759Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T04:41:50.066Z] prd-ubuntu20.04-docker-arm64-4c-16g-3177 does not seem to be running inside a container [2023-08-09T04:41:50.122Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-09T04:41:52.580Z] $ docker top 72e2fb7f5c0e4fabf4e584a5f337a248cb1080bc2472c4884f601799fbb8603c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T04:41:53.477Z] ---> job-cost.sh [2023-08-09T04:41:53.477Z] lf-activate-venv: SKIPPING [2023-08-09T04:41:53.477Z] INFO: No Stack... [2023-08-09T04:41:53.741Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-09T04:41:54.694Z] INFO: Archiving Costs [Pipeline] sh [2023-08-09T04:41:55.032Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-08-09T04:41:55.032Z] + cut -d, -f6 [Pipeline] lock [2023-08-09T04:41:55.113Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1492-1-stack-cost] [2023-08-09T04:41:55.121Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1492-1-stack-cost] did not exist. Created. [2023-08-09T04:41:55.121Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1492-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-09T04:41:55.536Z] /w/workspace/device-sdk-go/1@tmp/durable-9e1167d1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-09T04:41:56.217Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-09T04:41:56.254Z] Warning: overwriting stash ‘stack-cost’ [2023-08-09T04:41:56.328Z] Stashed 1 file(s) [Pipeline] } [2023-08-09T04:41:56.347Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1492-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-09T04:41:56.433Z] $ docker stop --time=1 72e2fb7f5c0e4fabf4e584a5f337a248cb1080bc2472c4884f601799fbb8603c [2023-08-09T04:41:57.907Z] $ docker rm -f --volumes 72e2fb7f5c0e4fabf4e584a5f337a248cb1080bc2472c4884f601799fbb8603c [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 [2023-08-09T04:41:58.931Z] provisioning config files... [2023-08-09T04:41:58.939Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp/config16038463775467890188tmp [Pipeline] { [Pipeline] sh [2023-08-09T04:41:59.281Z] + set +x [2023-08-09T04:41:59.281Z] + curl -s https://codecov.io/bash [2023-08-09T04:41:59.281Z] + bash -s -- [2023-08-09T04:41:59.281Z] [2023-08-09T04:41:59.281Z] _____ _ [2023-08-09T04:41:59.281Z] / ____| | | [2023-08-09T04:41:59.281Z] | | ___ __| | ___ ___ _____ __ [2023-08-09T04:41:59.281Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-09T04:41:59.281Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-09T04:41:59.281Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-09T04:41:59.281Z] Bash-1.0.6 [2023-08-09T04:41:59.281Z] [2023-08-09T04:41:59.281Z] [2023-08-09T04:41:59.281Z] ==> git version 2.25.1 found [2023-08-09T04:41:59.281Z] ==> 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 [2023-08-09T04:41:59.281Z] Release-Date: 2020-01-08 [2023-08-09T04:41:59.281Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-08-09T04:41:59.281Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-09T04:41:59.281Z] ==> Jenkins CI detected. [2023-08-09T04:41:59.281Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1492 [2023-08-09T04:41:59.281Z] project root: . [2023-08-09T04:41:59.281Z] --> token set from env [2023-08-09T04:41:59.281Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-09T04:41:59.281Z] ==> Running gcov in . (disable via -X gcov) [2023-08-09T04:41:59.281Z] ==> Python coveragepy not found [2023-08-09T04:41:59.281Z] ==> Searching for coverage reports in: [2023-08-09T04:41:59.281Z] + . [2023-08-09T04:41:59.281Z] -> Found 1 reports [2023-08-09T04:41:59.281Z] ==> Detecting git/mercurial file structure [2023-08-09T04:41:59.546Z] ==> Reading reports [2023-08-09T04:41:59.546Z] + ./coverage.out bytes=120271 [2023-08-09T04:41:59.546Z] ==> Appending adjustments [2023-08-09T04:41:59.546Z] https://docs.codecov.io/docs/fixing-reports [2023-08-09T04:41:59.805Z] + Found adjustments [2023-08-09T04:41:59.805Z] ==> Gzipping contents [2023-08-09T04:41:59.805Z] 20K /tmp/codecov.EQGxaT.gz [2023-08-09T04:41:59.805Z] ==> Uploading reports [2023-08-09T04:41:59.805Z] url: https://codecov.io [2023-08-09T04:41:59.805Z] query: branch=PR-1492&commit=e091e5f8efce8c81a9f693009b3399adb4b6b9d3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1492%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1492&job=&cmd_args= [2023-08-09T04:41:59.805Z] -> Pinging Codecov [2023-08-09T04:41:59.805Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1492&commit=e091e5f8efce8c81a9f693009b3399adb4b6b9d3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1492%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1492&job=&cmd_args= [2023-08-09T04:41:59.805Z] -> Uploading to [2023-08-09T04:41:59.805Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-09/7E55EF52A471D76F132DFD9A03CDDE97/e091e5f8efce8c81a9f693009b3399adb4b6b9d3/bec46802-77b6-43f5-b711-47e9b026065b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230809%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230809T044159Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=457611671c9099086ec9570b0eae1f479cfc82b6b3b0c35e8c9e200d0cabe564 [2023-08-09T04:41:59.805Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-09T04:41:59.805Z] Dload Upload Total Spent Left Speed [2023-08-09T04:42:00.066Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16464 0 0 100 16464 0 84865 --:--:-- --:--:-- --:--:-- 84865 [2023-08-09T04:42:00.066Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/e091e5f8efce8c81a9f693009b3399adb4b6b9d3 [Pipeline] } [2023-08-09T04:42:00.099Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-08-09T04:42:02.170Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1492/archives ] [2023-08-09T04:42:02.170Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1492/archives [2023-08-09T04:42:02.170Z] total 16 [2023-08-09T04:42:02.170Z] drwxr-xr-x 3 root root 4096 Aug 9 04:32 . [2023-08-09T04:42:02.170Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 9 04:32 .. [2023-08-09T04:42:02.170Z] drwxr-xr-x 2 root root 4096 Aug 9 04:32 cost [2023-08-09T04:42:02.170Z] -rw-r--r-- 1 root root 86 Aug 9 04:32 cost.csv [2023-08-09T04:42:02.170Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1492/archives [2023-08-09T04:42:02.170Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1492/archives [2023-08-09T04:42:02.170Z] total 16 [2023-08-09T04:42:02.170Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 04:32 . [2023-08-09T04:42:02.170Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 9 04:32 .. [2023-08-09T04:42:02.170Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 04:32 cost [2023-08-09T04:42:02.170Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 9 04:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-09T04:42:02.498Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T04:42:03.379Z] ---> package-listing.sh [2023-08-09T04:42:03.379Z] ++ facter osfamily [2023-08-09T04:42:03.379Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-09T04:42:03.637Z] + OS_FAMILY=debian [2023-08-09T04:42:03.637Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1492 [2023-08-09T04:42:03.637Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-09T04:42:03.637Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-09T04:42:03.637Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-09T04:42:03.637Z] + PACKAGES=/tmp/packages_start.txt [2023-08-09T04:42:03.637Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1492 ']' [2023-08-09T04:42:03.637Z] + PACKAGES=/tmp/packages_end.txt [2023-08-09T04:42:03.637Z] + case "${OS_FAMILY}" in [2023-08-09T04:42:03.637Z] + grep '^ii' [2023-08-09T04:42:03.637Z] + dpkg -l [2023-08-09T04:42:03.637Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-09T04:42:03.637Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-09T04:42:03.637Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-09T04:42:03.637Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1492 ']' [2023-08-09T04:42:03.637Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1492/archives/ [2023-08-09T04:42:03.637Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1492/archives/ [Pipeline] echo [2023-08-09T04:42:03.675Z] 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-1492/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-09T04:42:03.968Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T04:42:04.600Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T04:42:04.600Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T04:42:04.746Z] prd-ubuntu20.04-docker-8c-8g-3176 does not seem to be running inside a container [2023-08-09T04:42:04.773Z] $ 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-1492/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-1492 -v /w/workspace/gexfoundry_device-sdk-go_PR-1492:/w/workspace/gexfoundry_device-sdk-go_PR-1492:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1492@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-09T04:42:05.007Z] $ docker top 0bc9c563502d63fa0b8b59ebbee952261034d1b8dfe0ea5fbf9bf46117a60826 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T04:42:05.402Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-09T04:42:05.716Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-09T04:42:06.025Z] + ls /var/log/sa-host [2023-08-09T04:42:06.025Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T04:42:06.260Z] provisioning config files... [2023-08-09T04:42:06.270Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp/config4185351992439350845tmp [Pipeline] { [Pipeline] echo [2023-08-09T04:42:06.326Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T04:42:06.634Z] ---> create-netrc.sh [Pipeline] } [2023-08-09T04:42:06.660Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-09T04:42:07.074Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-09T04:42:07.107Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T04:42:07.418Z] ---> sudo-logs.sh [2023-08-09T04:42:07.418Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-09T04:42:07.501Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T04:42:07.813Z] ---> job-cost.sh [2023-08-09T04:42:07.813Z] lf-activate-venv: SKIPPING [2023-08-09T04:42:07.813Z] DEBUG: total: 0.2199999988079071 [2023-08-09T04:42:07.813Z] INFO: Retrieving Stack Cost... [2023-08-09T04:42:08.385Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-09T04:42:08.646Z] INFO: Archiving Costs [Pipeline] echo [2023-08-09T04:42:08.677Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T04:42:08.997Z] ---> logs-deploy.sh [2023-08-09T04:42:08.997Z] lf-activate-venv: SKIPPING [2023-08-09T04:42:08.997Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1492/1 [2023-08-09T04:42:08.997Z] INFO: archiving workspace using pattern(s): [2023-08-09T04:42:09.938Z] Archives upload complete. [2023-08-09T04:42:10.197Z] INFO: archiving logs to Nexus [2023-08-09T04:42:10.768Z] ---> uname -a: [2023-08-09T04:42:10.768Z] Linux prd-ubuntu20-04-docker-8c-8g-3176 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-08-09T04:42:10.768Z] [2023-08-09T04:42:10.768Z]