Pull request #1375 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6ae4301a425f3cb6ec745a9adced3e4c2c9aa0a8+76ea4d1458b486cd84374d1f970a86ad0e64425c (07fbb536930492c92cf8ecaa0f2f01f3ee2f77c6) 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-ssh4291647758499835130.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh17384349491470078650.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1375/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1375/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14242768297669854302.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12458846604405484229.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1375/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1375/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14026850947085676247.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-79’ Running on prd-ubuntu20.04-docker-8c-8g-81 in /w/workspace/gexfoundry_device-sdk-go_PR-1375 [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-1375 # 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 76ea4d1458b486cd84374d1f970a86ad0e64425c into PR head commit 6ae4301a425f3cb6ec745a9adced3e4c2c9aa0a8 Merge succeeded, producing 6ae4301a425f3cb6ec745a9adced3e4c2c9aa0a8 Checking out Revision 6ae4301a425f3cb6ec745a9adced3e4c2c9aa0a8 (PR-1375) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > 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/1375/head:refs/remotes/origin/PR-1375 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6ae4301a425f3cb6ec745a9adced3e4c2c9aa0a8 # 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 76ea4d1458b486cd84374d1f970a86ad0e64425c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6ae4301a425f3cb6ec745a9adced3e4c2c9aa0a8 # timeout=10 > git rev-list --no-walk ffb90e0ba98a0a5b2c47e8fa057ee1372e74485f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-14T07:25:03.480Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-14T07:25:03.519Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-14T07:25:03.532Z] ========================================================= [2023-03-14T07:25:03.532Z] EdgeX Global Pipelines Version Info [2023-03-14T07:25:03.532Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-14T07:25:04.226Z] ------------------- [2023-03-14T07:25:04.226Z] stable info: [2023-03-14T07:25:04.226Z] ------------------- [2023-03-14T07:25:04.226Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-14T07:25:04.226Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T07:25:04.226Z] Message: update stable to v1.0.245 [2023-03-14T07:25:04.795Z] ------------------- [2023-03-14T07:25:04.796Z] experimental info: [2023-03-14T07:25:04.796Z] ------------------- [2023-03-14T07:25:04.796Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-14T07:25:04.796Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T07:25:04.796Z] Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-14T07:25:04.976Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-14T07:25:04.986Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-14T07:25:05.000Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-14T07:25:05.009Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-14T07:25:05.020Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-14T07:25:05.034Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-14T07:25:05.049Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-14T07:25:05.060Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-14T07:25:05.071Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-14T07:25:05.081Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-14T07:25:05.092Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-14T07:25:05.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-14T07:25:05.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-14T07:25:05.125Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-14T07:25:05.136Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T07:25:05.149Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T07:25:05.166Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T07:25:05.181Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T07:25:05.195Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-14T07:25:05.210Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-14T07:25:05.220Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-14T07:25:05.231Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-14T07:25:05.241Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-14T07:25:05.252Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-14T07:25:05.265Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-14T07:25:05.277Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-14T07:25:05.288Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-14T07:25:05.301Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1375 [Pipeline] echo [2023-03-14T07:25:05.311Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1375 [Pipeline] echo [2023-03-14T07:25:05.322Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1375 [Pipeline] echo [2023-03-14T07:25:05.333Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6ae4301a425f3cb6ec745a9adced3e4c2c9aa0a8 [Pipeline] echo [2023-03-14T07:25:05.348Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6ae4301 [Pipeline] echo [2023-03-14T07:25:05.362Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T07:25:05.399Z] provisioning config files... [2023-03-14T07:25:05.415Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1375@tmp/config8002293500275912038tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T07:25:05.718Z] ---> docker-login.sh [2023-03-14T07:25:05.719Z] nexus3.edgexfoundry.org:10001 [2023-03-14T07:25:05.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T07:25:05.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T07:25:05.980Z] Configure a credential helper to remove this warning. See [2023-03-14T07:25:05.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T07:25:05.980Z] [2023-03-14T07:25:05.980Z] Login Succeeded [2023-03-14T07:25:05.980Z] nexus3.edgexfoundry.org:10002 [2023-03-14T07:25:05.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T07:25:05.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T07:25:05.980Z] Configure a credential helper to remove this warning. See [2023-03-14T07:25:05.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T07:25:05.980Z] [2023-03-14T07:25:05.980Z] Login Succeeded [2023-03-14T07:25:05.980Z] nexus3.edgexfoundry.org:10003 [2023-03-14T07:25:06.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T07:25:06.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T07:25:06.240Z] Configure a credential helper to remove this warning. See [2023-03-14T07:25:06.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T07:25:06.240Z] [2023-03-14T07:25:06.240Z] Login Succeeded [2023-03-14T07:25:06.240Z] nexus3.edgexfoundry.org:10004 [2023-03-14T07:25:06.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T07:25:06.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T07:25:06.240Z] Configure a credential helper to remove this warning. See [2023-03-14T07:25:06.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T07:25:06.240Z] [2023-03-14T07:25:06.240Z] Login Succeeded [2023-03-14T07:25:06.240Z] docker.io [2023-03-14T07:25:06.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T07:25:06.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T07:25:06.500Z] Configure a credential helper to remove this warning. See [2023-03-14T07:25:06.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T07:25:06.500Z] [2023-03-14T07:25:06.500Z] Login Succeeded [2023-03-14T07:25:06.500Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T07:25:06.508Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-14T07:25:06.846Z] + git rev-list -1 --merges 6ae4301a425f3cb6ec745a9adced3e4c2c9aa0a8~1..6ae4301a425f3cb6ec745a9adced3e4c2c9aa0a8 [Pipeline] echo [2023-03-14T07:25:06.900Z] -----------> git rev-list -1 --merges 6ae4301a425f3cb6ec745a9adced3e4c2c9aa0a8~1..6ae4301a425f3cb6ec745a9adced3e4c2c9aa0a8 6ae4301a425f3cb6ec745a9adced3e4c2c9aa0a8 [false] [Pipeline] sh [2023-03-14T07:25:07.185Z] + git log --format=format:%s -1 6ae4301a425f3cb6ec745a9adced3e4c2c9aa0a8 [Pipeline] echo [2023-03-14T07:25:07.198Z] ========================================================= [2023-03-14T07:25:07.198Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-14T07:25:07.198Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T07:25:07.509Z] + git log --format=format:%s -1 6ae4301a425f3cb6ec745a9adced3e4c2c9aa0a8 [Pipeline] echo [2023-03-14T07:25:07.519Z] [semverPrep] GIT_COMMIT: 6ae4301a425f3cb6ec745a9adced3e4c2c9aa0a8, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-03-14T07:25:07.529Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-14T07:25:07.866Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-14T07:25:07.866Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-14T07:25:07.866Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-14T07:25:07.866Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-14T07:25:07.866Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-14T07:25:07.866Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-14T07:25:07.866Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T07:25:08.315Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T07:25:08.315Z] [2023-03-14T07:25:08.315Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T07:25:08.615Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T07:25:08.615Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-14T07:25:08.615Z] b85a868b505f: Pulling fs layer [2023-03-14T07:25:08.615Z] e2be974225ed: Pulling fs layer [2023-03-14T07:25:08.615Z] 339a4e72a1f5: Pulling fs layer [2023-03-14T07:25:08.615Z] 988bab9f4d93: Pulling fs layer [2023-03-14T07:25:08.615Z] 1469e6f7b9e6: Pulling fs layer [2023-03-14T07:25:08.615Z] eaf3925da568: Pulling fs layer [2023-03-14T07:25:08.615Z] bab4dde63d76: Pulling fs layer [2023-03-14T07:25:08.615Z] bde34c3a00c8: Pulling fs layer [2023-03-14T07:25:08.615Z] b352a97aabf1: Pulling fs layer [2023-03-14T07:25:08.615Z] 4872d77fe225: Pulling fs layer [2023-03-14T07:25:08.615Z] 5851b861e8e6: Pulling fs layer [2023-03-14T07:25:08.615Z] 988bab9f4d93: Waiting [2023-03-14T07:25:08.615Z] 1469e6f7b9e6: Waiting [2023-03-14T07:25:08.615Z] eaf3925da568: Waiting [2023-03-14T07:25:08.615Z] bab4dde63d76: Waiting [2023-03-14T07:25:08.615Z] bde34c3a00c8: Waiting [2023-03-14T07:25:08.615Z] b352a97aabf1: Waiting [2023-03-14T07:25:08.615Z] 4872d77fe225: Waiting [2023-03-14T07:25:08.615Z] e2be974225ed: Verifying Checksum [2023-03-14T07:25:08.615Z] e2be974225ed: Download complete [2023-03-14T07:25:08.615Z] 988bab9f4d93: Verifying Checksum [2023-03-14T07:25:08.615Z] 988bab9f4d93: Download complete [2023-03-14T07:25:08.875Z] 1469e6f7b9e6: Verifying Checksum [2023-03-14T07:25:08.875Z] 1469e6f7b9e6: Download complete [2023-03-14T07:25:08.875Z] eaf3925da568: Verifying Checksum [2023-03-14T07:25:08.875Z] eaf3925da568: Download complete [2023-03-14T07:25:08.875Z] 339a4e72a1f5: Verifying Checksum [2023-03-14T07:25:08.875Z] 339a4e72a1f5: Download complete [2023-03-14T07:25:08.875Z] bde34c3a00c8: Download complete [2023-03-14T07:25:08.875Z] b352a97aabf1: Verifying Checksum [2023-03-14T07:25:08.875Z] b352a97aabf1: Download complete [2023-03-14T07:25:08.875Z] 4872d77fe225: Verifying Checksum [2023-03-14T07:25:08.875Z] 4872d77fe225: Download complete [2023-03-14T07:25:08.875Z] 5851b861e8e6: Verifying Checksum [2023-03-14T07:25:08.875Z] 5851b861e8e6: Download complete [2023-03-14T07:25:08.875Z] b85a868b505f: Verifying Checksum [2023-03-14T07:25:08.875Z] b85a868b505f: Download complete [2023-03-14T07:25:09.134Z] bab4dde63d76: Verifying Checksum [2023-03-14T07:25:09.134Z] bab4dde63d76: Download complete [2023-03-14T07:25:10.068Z] b85a868b505f: Pull complete [2023-03-14T07:25:10.327Z] e2be974225ed: Pull complete [2023-03-14T07:25:10.586Z] 339a4e72a1f5: Pull complete [2023-03-14T07:25:10.845Z] 988bab9f4d93: Pull complete [2023-03-14T07:25:10.845Z] 1469e6f7b9e6: Pull complete [2023-03-14T07:25:11.103Z] eaf3925da568: Pull complete [2023-03-14T07:25:12.481Z] bab4dde63d76: Pull complete [2023-03-14T07:25:12.745Z] bde34c3a00c8: Pull complete [2023-03-14T07:25:12.745Z] b352a97aabf1: Pull complete [2023-03-14T07:25:13.004Z] 4872d77fe225: Pull complete [2023-03-14T07:25:13.004Z] 5851b861e8e6: Pull complete [2023-03-14T07:25:13.004Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-14T07:25:13.004Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T07:25:13.004Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T07:25:13.094Z] prd-ubuntu20.04-docker-8c-8g-81 does not seem to be running inside a container [2023-03-14T07:25:13.129Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1375 -v /w/workspace/gexfoundry_device-sdk-go_PR-1375:/w/workspace/gexfoundry_device-sdk-go_PR-1375:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1375@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1375@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-devops/py-git-semver:0.1.4 cat [2023-03-14T07:25:15.574Z] $ docker top 5234f8a3325c654c1ff0ed0755877a3055755b42098d7161e71d7478abfa3352 -eo pid,comm [2023-03-14T07:25:15.633Z] 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-03-14T07:25:15.633Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-14T07:25:15.668Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T07:25:15.669Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T07:25:15.774Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T07:25:15.777Z] $ docker exec 5234f8a3325c654c1ff0ed0755877a3055755b42098d7161e71d7478abfa3352 ssh-agent [2023-03-14T07:25:15.894Z] SSH_AUTH_SOCK=/tmp/ssh-eZyVbPixIFZN/agent.31 [2023-03-14T07:25:15.894Z] SSH_AGENT_PID=37 [2023-03-14T07:25:15.901Z] Running ssh-add (command line suppressed) [2023-03-14T07:25:15.998Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1375@tmp/private_key_17392663225105138076.key (/w/workspace/gexfoundry_device-sdk-go_PR-1375@tmp/private_key_17392663225105138076.key) [2023-03-14T07:25:16.014Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T07:25:16.304Z] + git tag --points-at HEAD [Pipeline] } [2023-03-14T07:25:16.317Z] $ docker exec --env ******** --env ******** 5234f8a3325c654c1ff0ed0755877a3055755b42098d7161e71d7478abfa3352 ssh-agent -k [2023-03-14T07:25:16.413Z] unset SSH_AUTH_SOCK; [2023-03-14T07:25:16.414Z] unset SSH_AGENT_PID; [2023-03-14T07:25:16.414Z] echo Agent pid 37 killed; [2023-03-14T07:25:16.424Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-14T07:25:16.451Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T07:25:16.451Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T07:25:16.567Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T07:25:16.569Z] $ docker exec 5234f8a3325c654c1ff0ed0755877a3055755b42098d7161e71d7478abfa3352 ssh-agent [2023-03-14T07:25:16.678Z] SSH_AUTH_SOCK=/tmp/ssh-zjE0bDfcdnE1/agent.69 [2023-03-14T07:25:16.678Z] SSH_AGENT_PID=75 [2023-03-14T07:25:16.683Z] Running ssh-add (command line suppressed) [2023-03-14T07:25:16.783Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1375@tmp/private_key_13015602505786450571.key (/w/workspace/gexfoundry_device-sdk-go_PR-1375@tmp/private_key_13015602505786450571.key) [2023-03-14T07:25:16.802Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T07:25:17.093Z] + git semver init [2023-03-14T07:25:17.354Z] 2023-03-14 07:25:17,262 [run_init] DEBUG init version:0.0.0 force:False [2023-03-14T07:25:17.354Z] 2023-03-14 07:25:17,263 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1375/.semver [2023-03-14T07:25:17.354Z] 2023-03-14 07:25:17,263 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1375/.semver [2023-03-14T07:25:17.354Z] 2023-03-14 07:25:17,264 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1375/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1375, universal_newlines=False, shell=None, istream=None) [2023-03-14T07:25:18.295Z] 2023-03-14 07:25:18,204 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1375/.git/info/exclude [2023-03-14T07:25:18.295Z] 2023-03-14 07:25:18,204 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1375/.semver/PR-1375 with force:False [2023-03-14T07:25:18.295Z] 2023-03-14 07:25:18,204 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1375/.semver/PR-1375 [2023-03-14T07:25:18.295Z] 2023-03-14 07:25:18,209 [execute] INFO git cat-file --batch-check [2023-03-14T07:25:18.295Z] 2023-03-14 07:25:18,209 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1375/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T07:25:18.295Z] 2023-03-14 07:25:18,215 [execute] INFO git cat-file --batch [2023-03-14T07:25:18.295Z] 2023-03-14 07:25:18,215 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1375/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T07:25:18.295Z] 2023-03-14 07:25:18,219 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1375/.semver/PR-1375 [2023-03-14T07:25:18.295Z] 0.0.0 [Pipeline] } [2023-03-14T07:25:18.304Z] $ docker exec --env ******** --env ******** 5234f8a3325c654c1ff0ed0755877a3055755b42098d7161e71d7478abfa3352 ssh-agent -k [2023-03-14T07:25:18.389Z] unset SSH_AUTH_SOCK; [2023-03-14T07:25:18.390Z] unset SSH_AGENT_PID; [2023-03-14T07:25:18.390Z] echo Agent pid 75 killed; [2023-03-14T07:25:18.400Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-14T07:25:18.709Z] + git semver [Pipeline] } [2023-03-14T07:25:18.983Z] $ docker stop --time=1 5234f8a3325c654c1ff0ed0755877a3055755b42098d7161e71d7478abfa3352 [2023-03-14T07:25:20.249Z] $ docker rm -f --volumes 5234f8a3325c654c1ff0ed0755877a3055755b42098d7161e71d7478abfa3352 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T07:25:20.586Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-14T07:25:20.802Z] Stashed 1 file(s) [Pipeline] echo [2023-03-14T07:25:20.805Z] [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-03-14T07:25:20.931Z] provisioning config files... [2023-03-14T07:25:20.941Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1375@tmp/config15430871266065207322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T07:25:21.233Z] ---> docker-login.sh [2023-03-14T07:25:21.234Z] nexus3.edgexfoundry.org:10001 [2023-03-14T07:25:21.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T07:25:21.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T07:25:21.234Z] Configure a credential helper to remove this warning. See [2023-03-14T07:25:21.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T07:25:21.234Z] [2023-03-14T07:25:21.234Z] Login Succeeded [2023-03-14T07:25:21.234Z] nexus3.edgexfoundry.org:10002 [2023-03-14T07:25:21.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T07:25:21.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T07:25:21.234Z] Configure a credential helper to remove this warning. See [2023-03-14T07:25:21.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T07:25:21.234Z] [2023-03-14T07:25:21.234Z] Login Succeeded [2023-03-14T07:25:21.234Z] nexus3.edgexfoundry.org:10003 [2023-03-14T07:25:21.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T07:25:21.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T07:25:21.492Z] Configure a credential helper to remove this warning. See [2023-03-14T07:25:21.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T07:25:21.492Z] [2023-03-14T07:25:21.492Z] Login Succeeded [2023-03-14T07:25:21.492Z] nexus3.edgexfoundry.org:10004 [2023-03-14T07:25:21.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T07:25:21.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T07:25:21.492Z] Configure a credential helper to remove this warning. See [2023-03-14T07:25:21.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T07:25:21.492Z] [2023-03-14T07:25:21.492Z] Login Succeeded [2023-03-14T07:25:21.492Z] docker.io [2023-03-14T07:25:21.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T07:25:21.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T07:25:21.751Z] Configure a credential helper to remove this warning. See [2023-03-14T07:25:21.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T07:25:21.751Z] [2023-03-14T07:25:21.751Z] Login Succeeded [2023-03-14T07:25:21.751Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T07:25:21.759Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T07:25:21.821Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T07:25:21.833Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T07:25:21.842Z] ========================================================= [2023-03-14T07:25:21.842Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-14T07:25:21.842Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T07:25:22.147Z] + 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-03-14T07:25:22.147Z] Sending build context to Docker daemon 10.78MB [2023-03-14T07:25:22.147Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-14T07:25:22.147Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-14T07:25:22.147Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-14T07:25:22.147Z] 63b65145d645: Pulling fs layer [2023-03-14T07:25:22.147Z] a2d21d5440eb: Pulling fs layer [2023-03-14T07:25:22.147Z] 935e6c44a52c: Pulling fs layer [2023-03-14T07:25:22.147Z] 94cc34f8dd06: Pulling fs layer [2023-03-14T07:25:22.147Z] 30dea6a524f1: Pulling fs layer [2023-03-14T07:25:22.147Z] a2aff8979fd8: Pulling fs layer [2023-03-14T07:25:22.147Z] 6808be2612f2: Pulling fs layer [2023-03-14T07:25:22.147Z] 30dea6a524f1: Waiting [2023-03-14T07:25:22.147Z] a2aff8979fd8: Waiting [2023-03-14T07:25:22.147Z] 6808be2612f2: Waiting [2023-03-14T07:25:22.147Z] 94cc34f8dd06: Waiting [2023-03-14T07:25:22.147Z] f25807f1079a: Pulling fs layer [2023-03-14T07:25:22.147Z] f25807f1079a: Waiting [2023-03-14T07:25:22.410Z] a2d21d5440eb: Download complete [2023-03-14T07:25:22.410Z] 94cc34f8dd06: Download complete [2023-03-14T07:25:22.410Z] 30dea6a524f1: Verifying Checksum [2023-03-14T07:25:22.410Z] 30dea6a524f1: Download complete [2023-03-14T07:25:22.410Z] 63b65145d645: Verifying Checksum [2023-03-14T07:25:22.410Z] 63b65145d645: Download complete [2023-03-14T07:25:22.410Z] a2aff8979fd8: Verifying Checksum [2023-03-14T07:25:22.410Z] a2aff8979fd8: Download complete [2023-03-14T07:25:22.676Z] 63b65145d645: Pull complete [2023-03-14T07:25:22.676Z] a2d21d5440eb: Pull complete [2023-03-14T07:25:22.936Z] f25807f1079a: Verifying Checksum [2023-03-14T07:25:22.936Z] f25807f1079a: Download complete [2023-03-14T07:25:22.936Z] 935e6c44a52c: Verifying Checksum [2023-03-14T07:25:22.936Z] 935e6c44a52c: Download complete [2023-03-14T07:25:23.195Z] 6808be2612f2: Verifying Checksum [2023-03-14T07:25:23.195Z] 6808be2612f2: Download complete [2023-03-14T07:25:26.510Z] 935e6c44a52c: Pull complete [2023-03-14T07:25:26.510Z] 94cc34f8dd06: Pull complete [2023-03-14T07:25:26.510Z] 30dea6a524f1: Pull complete [2023-03-14T07:25:26.510Z] a2aff8979fd8: Pull complete [2023-03-14T07:25:28.416Z] 6808be2612f2: Pull complete [2023-03-14T07:25:29.348Z] f25807f1079a: Pull complete [2023-03-14T07:25:29.348Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-14T07:25:29.348Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-14T07:25:29.348Z] ---> 3b553350e43f [2023-03-14T07:25:29.348Z] Step 3/10 : ARG MAKE=make build [2023-03-14T07:25:32.635Z] ---> Running in 1bbb70db71bf [2023-03-14T07:25:32.635Z] Removing intermediate container 1bbb70db71bf [2023-03-14T07:25:32.635Z] ---> 4211b2026c92 [2023-03-14T07:25:32.635Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-14T07:25:32.635Z] ---> Running in 80bff25041e4 [2023-03-14T07:25:32.635Z] Removing intermediate container 80bff25041e4 [2023-03-14T07:25:32.635Z] ---> 300533d23ede [2023-03-14T07:25:32.635Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-14T07:25:32.635Z] ---> Running in 9af10bd69386 [2023-03-14T07:25:32.894Z] Removing intermediate container 9af10bd69386 [2023-03-14T07:25:32.894Z] ---> 85d9aa12e5df [2023-03-14T07:25:32.894Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-14T07:25:32.894Z] ---> Running in 6c7709ca2764 [2023-03-14T07:25:33.151Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T07:25:33.151Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T07:25:33.720Z] OK: 265 MiB in 53 packages [2023-03-14T07:25:33.720Z] Removing intermediate container 6c7709ca2764 [2023-03-14T07:25:33.720Z] ---> d14114dbbdaa [2023-03-14T07:25:33.720Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-14T07:25:33.979Z] ---> 4759fff8b840 [2023-03-14T07:25:33.979Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T07:25:33.979Z] ---> Running in d462920cd645 [2023-03-14T07:25:35.896Z] Still waiting to schedule task [2023-03-14T07:25:35.896Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-82’ is offline [2023-03-14T07:26:00.535Z] Removing intermediate container d462920cd645 [2023-03-14T07:26:00.535Z] ---> c6d21f6ceda0 [2023-03-14T07:26:00.535Z] Step 9/10 : COPY . . [2023-03-14T07:26:00.535Z] ---> 68690efafd94 [2023-03-14T07:26:00.535Z] Step 10/10 : RUN ${MAKE} [2023-03-14T07:26:00.535Z] ---> Running in 7be076d3c95d [2023-03-14T07:26:00.535Z] noop [2023-03-14T07:26:00.535Z] Removing intermediate container 7be076d3c95d [2023-03-14T07:26:00.535Z] ---> f7e58d1eb68a [2023-03-14T07:26:00.535Z] Successfully built f7e58d1eb68a [2023-03-14T07:26:00.535Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T07:26:00.847Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T07:26:00.847Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T07:26:00.918Z] prd-ubuntu20.04-docker-8c-8g-81 does not seem to be running inside a container [2023-03-14T07:26:00.948Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1375 -v /w/workspace/gexfoundry_device-sdk-go_PR-1375:/w/workspace/gexfoundry_device-sdk-go_PR-1375:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1375@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1375@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-14T07:26:01.264Z] $ docker top 292755722e2134b03514770abacaa561163dd942d11d64664d741c35b7e8b220 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T07:26:01.603Z] + go version [2023-03-14T07:26:01.603Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-14T07:26:01.615Z] $ docker stop --time=1 292755722e2134b03514770abacaa561163dd942d11d64664d741c35b7e8b220 [2023-03-14T07:26:02.864Z] $ docker rm -f --volumes 292755722e2134b03514770abacaa561163dd942d11d64664d741c35b7e8b220 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T07:26:03.251Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T07:26:03.251Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T07:26:03.315Z] prd-ubuntu20.04-docker-8c-8g-81 does not seem to be running inside a container [2023-03-14T07:26:03.345Z] $ 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-1375 -v /w/workspace/gexfoundry_device-sdk-go_PR-1375:/w/workspace/gexfoundry_device-sdk-go_PR-1375:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1375@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1375@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-14T07:26:03.664Z] $ docker top 361a4bea22b6b3a2aa8938650f4ef52fbd7d6e65f4d01b31bb7edaa29e109a9a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T07:26:03.997Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1375 [Pipeline] fileExists [Pipeline] sh [2023-03-14T07:26:04.288Z] + make test [2023-03-14T07:26:04.288Z] go test -race -coverprofile=coverage.out ./... [2023-03-14T07:26:10.849Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-14T07:26:23.036Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-14T07:26:23.036Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-14T07:26:23.036Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-14T07:26:23.036Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-14T07:26:23.036Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-14T07:26:23.036Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.045s coverage: 27.6% of statements [2023-03-14T07:26:23.036Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-14T07:26:23.036Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-14T07:26:23.036Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.076s coverage: 78.9% of statements [2023-03-14T07:26:23.036Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.079s coverage: 86.0% of statements [2023-03-14T07:26:23.610Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-14T07:26:23.610Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.114s coverage: 75.9% of statements [2023-03-14T07:26:23.866Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-14T07:26:24.125Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-14T07:26:24.125Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-14T07:26:24.753Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-14T07:26:27.339Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.085s coverage: 15.2% of statements [2023-03-14T07:26:27.339Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.079s coverage: 65.7% of statements [2023-03-14T07:26:27.339Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.538s coverage: 89.2% of statements [2023-03-14T07:26:27.339Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.059s coverage: 5.5% of statements [2023-03-14T07:26:45.412Z] GO111MODULE=on go vet ./... [2023-03-14T07:26:47.934Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T07:26:47.934Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T07:26:47.934Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-14T07:26:48.201Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T07:26:48.216Z] $ docker stop --time=1 361a4bea22b6b3a2aa8938650f4ef52fbd7d6e65f4d01b31bb7edaa29e109a9a [2023-03-14T07:26:51.474Z] $ docker rm -f --volumes 361a4bea22b6b3a2aa8938650f4ef52fbd7d6e65f4d01b31bb7edaa29e109a9a [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T07:26:51.981Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T07:26:52.040Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-14T07:26:52.455Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T07:26:52.733Z] + ls -al . [2023-03-14T07:26:52.734Z] total 276 [2023-03-14T07:26:52.734Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 07:26 . [2023-03-14T07:26:52.734Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 07:25 .. [2023-03-14T07:26:52.734Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 14 07:25 .dockerignore [2023-03-14T07:26:52.734Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 07:25 .git [2023-03-14T07:26:52.734Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 07:25 .github [2023-03-14T07:26:52.734Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 14 07:25 .gitignore [2023-03-14T07:26:52.734Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 14 07:25 .golangci.yml [2023-03-14T07:26:52.734Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 07:25 .semver [2023-03-14T07:26:52.734Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 14 07:25 CHANGELOG.md [2023-03-14T07:26:52.734Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 07:25 GOVERNANCE.md [2023-03-14T07:26:52.734Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 14 07:25 Jenkinsfile [2023-03-14T07:26:52.734Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 14 07:25 LICENSE [2023-03-14T07:26:52.734Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 14 07:25 Makefile [2023-03-14T07:26:52.734Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 14 07:25 OWNERS.md [2023-03-14T07:26:52.734Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 14 07:25 README.md [2023-03-14T07:26:52.734Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 07:25 VERSION [2023-03-14T07:26:52.734Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 07:25 bin [2023-03-14T07:26:52.734Z] -rw-r--r-- 1 jenkins jenkins 109537 Mar 14 07:26 coverage.out [2023-03-14T07:26:52.734Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 14 07:25 example [2023-03-14T07:26:52.734Z] -rw-rw-r-- 1 jenkins jenkins 3278 Mar 14 07:25 go.mod [2023-03-14T07:26:52.734Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 14 07:25 go.sum [2023-03-14T07:26:52.734Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 07:25 internal [2023-03-14T07:26:52.734Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 07:25 openapi [2023-03-14T07:26:52.734Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 14 07:25 pkg [2023-03-14T07:26:52.734Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 07:25 snap [2023-03-14T07:26:52.734Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 14 07:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T07:26:53.035Z] + 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=6ae4301a425f3cb6ec745a9adced3e4c2c9aa0a8 --label arch=amd64 --label version=0.0.0 . [2023-03-14T07:26:53.035Z] Sending build context to Docker daemon 10.89MB [2023-03-14T07:26:53.035Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-14T07:26:53.035Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-14T07:26:53.035Z] ---> f7e58d1eb68a [2023-03-14T07:26:53.035Z] Step 3/23 : ARG MAKE=make build [2023-03-14T07:26:53.295Z] ---> Running in 0ea04d665735 [2023-03-14T07:26:53.295Z] Removing intermediate container 0ea04d665735 [2023-03-14T07:26:53.295Z] ---> 61711c057ccf [2023-03-14T07:26:53.295Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-14T07:26:53.295Z] ---> Running in 5f939e291c33 [2023-03-14T07:26:53.295Z] Removing intermediate container 5f939e291c33 [2023-03-14T07:26:53.295Z] ---> b71138135ae1 [2023-03-14T07:26:53.295Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-14T07:26:53.295Z] ---> Running in 09781c305e56 [2023-03-14T07:26:53.553Z] Removing intermediate container 09781c305e56 [2023-03-14T07:26:53.553Z] ---> c3c039a7828d [2023-03-14T07:26:53.553Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-14T07:26:53.553Z] ---> Running in 2be9946f5aee [2023-03-14T07:26:53.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T07:26:53.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T07:26:54.376Z] OK: 265 MiB in 53 packages [2023-03-14T07:26:54.376Z] Removing intermediate container 2be9946f5aee [2023-03-14T07:26:54.376Z] ---> 486dacdc81f3 [2023-03-14T07:26:54.376Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-14T07:26:54.634Z] ---> 4070af317d54 [2023-03-14T07:26:54.634Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T07:26:54.634Z] ---> Running in 45a554bea3cd [2023-03-14T07:26:55.200Z] Removing intermediate container 45a554bea3cd [2023-03-14T07:26:55.200Z] ---> 4f0cbc361ba6 [2023-03-14T07:26:55.200Z] Step 9/23 : COPY . . [2023-03-14T07:26:55.764Z] ---> e417c7771a4f [2023-03-14T07:26:55.764Z] Step 10/23 : RUN ${MAKE} [2023-03-14T07:26:55.764Z] ---> Running in 226dd4ddf78b [2023-03-14T07:26:56.022Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-14T07:27:14.110Z] Removing intermediate container 226dd4ddf78b [2023-03-14T07:27:14.110Z] ---> a00eebad8fe8 [2023-03-14T07:27:14.110Z] Step 11/23 : FROM alpine:3.16 [2023-03-14T07:27:14.369Z] 3.16: Pulling from library/alpine [2023-03-14T07:27:14.369Z] ef5531b6e74e: Pulling fs layer [2023-03-14T07:27:14.628Z] ef5531b6e74e: Verifying Checksum [2023-03-14T07:27:14.628Z] ef5531b6e74e: Download complete [2023-03-14T07:27:14.628Z] ef5531b6e74e: Pull complete [2023-03-14T07:27:14.888Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-14T07:27:14.888Z] Status: Downloaded newer image for alpine:3.16 [2023-03-14T07:27:14.888Z] ---> dfd21b5a31f5 [2023-03-14T07:27:14.888Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-14T07:27:14.888Z] ---> Running in 79411b6729cd [2023-03-14T07:27:14.888Z] Removing intermediate container 79411b6729cd [2023-03-14T07:27:14.888Z] ---> 8ffc6e566519 [2023-03-14T07:27:14.888Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-14T07:27:14.888Z] ---> Running in 629bddadaa58 [2023-03-14T07:27:15.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-14T07:27:15.407Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-14T07:27:15.668Z] OK: 6 MiB in 14 packages [2023-03-14T07:27:15.927Z] Removing intermediate container 629bddadaa58 [2023-03-14T07:27:15.927Z] ---> 6dbb81c931b0 [2023-03-14T07:27:15.927Z] Step 14/23 : WORKDIR / [2023-03-14T07:27:15.927Z] ---> Running in 1d61ca4fc14e [2023-03-14T07:27:16.187Z] Removing intermediate container 1d61ca4fc14e [2023-03-14T07:27:16.187Z] ---> 10de832ddca5 [2023-03-14T07:27:16.187Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-14T07:27:16.187Z] ---> 7f768561e4de [2023-03-14T07:27:16.187Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-14T07:27:16.756Z] ---> 0687633450e5 [2023-03-14T07:27:16.756Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-14T07:27:17.013Z] ---> 07e9c256e130 [2023-03-14T07:27:17.013Z] Step 18/23 : EXPOSE 59999 [2023-03-14T07:27:17.013Z] ---> Running in df2a477dfa19 [2023-03-14T07:27:17.014Z] Removing intermediate container df2a477dfa19 [2023-03-14T07:27:17.014Z] ---> 676b5b3944e0 [2023-03-14T07:27:17.014Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-14T07:27:17.014Z] ---> Running in 503b2af62229 [2023-03-14T07:27:17.272Z] Removing intermediate container 503b2af62229 [2023-03-14T07:27:17.272Z] ---> bd3f16e73054 [2023-03-14T07:27:17.272Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-14T07:27:17.272Z] ---> Running in fba03ecd6b11 [2023-03-14T07:27:17.272Z] Removing intermediate container fba03ecd6b11 [2023-03-14T07:27:17.273Z] ---> 9346980cc152 [2023-03-14T07:27:17.273Z] Step 21/23 : LABEL arch=amd64 [2023-03-14T07:27:17.273Z] ---> Running in 83859a666a6a [2023-03-14T07:27:17.273Z] Removing intermediate container 83859a666a6a [2023-03-14T07:27:17.273Z] ---> b5deb1b70538 [2023-03-14T07:27:17.273Z] Step 22/23 : LABEL git_sha=6ae4301a425f3cb6ec745a9adced3e4c2c9aa0a8 [2023-03-14T07:27:17.273Z] ---> Running in ce5ee4ce61e6 [2023-03-14T07:27:17.532Z] Removing intermediate container ce5ee4ce61e6 [2023-03-14T07:27:17.532Z] ---> 4da607fce2d0 [2023-03-14T07:27:17.532Z] Step 23/23 : LABEL version=0.0.0 [2023-03-14T07:27:17.532Z] ---> Running in d23de0cdbab8 [2023-03-14T07:27:17.532Z] Removing intermediate container d23de0cdbab8 [2023-03-14T07:27:17.532Z] ---> 77cfab4ffca0 [2023-03-14T07:27:17.532Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T07:27:17.532Z] Successfully built 77cfab4ffca0 [2023-03-14T07:27:17.532Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T07:27:17.934Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T07:27:17.934Z] [2023-03-14T07:27:17.934Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T07:27:18.230Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T07:27:18.230Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-14T07:27:18.230Z] 5eb5b503b376: Pulling fs layer [2023-03-14T07:27:18.230Z] 5c69ac0246d0: Pulling fs layer [2023-03-14T07:27:18.230Z] ec43610c2a17: Pulling fs layer [2023-03-14T07:27:18.230Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-14T07:27:18.230Z] 33b1e0a273af: Pulling fs layer [2023-03-14T07:27:18.230Z] 5d3b04190fa2: Pulling fs layer [2023-03-14T07:27:18.230Z] 2f39f015ded8: Pulling fs layer [2023-03-14T07:27:18.230Z] 3a2ae6a8a46f: Waiting [2023-03-14T07:27:18.230Z] 33b1e0a273af: Waiting [2023-03-14T07:27:18.230Z] 5d3b04190fa2: Waiting [2023-03-14T07:27:18.230Z] 2f39f015ded8: Waiting [2023-03-14T07:27:18.230Z] 5c69ac0246d0: Download complete [2023-03-14T07:27:18.230Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-14T07:27:18.230Z] 3a2ae6a8a46f: Download complete [2023-03-14T07:27:18.489Z] 33b1e0a273af: Verifying Checksum [2023-03-14T07:27:18.489Z] 33b1e0a273af: Download complete [2023-03-14T07:27:18.489Z] 5d3b04190fa2: Download complete [2023-03-14T07:27:18.489Z] ec43610c2a17: Verifying Checksum [2023-03-14T07:27:18.489Z] ec43610c2a17: Download complete [2023-03-14T07:27:18.489Z] 5eb5b503b376: Verifying Checksum [2023-03-14T07:27:18.489Z] 5eb5b503b376: Download complete [2023-03-14T07:27:19.055Z] 2f39f015ded8: Download complete [2023-03-14T07:27:19.619Z] 5eb5b503b376: Pull complete [2023-03-14T07:27:19.877Z] 5c69ac0246d0: Pull complete [2023-03-14T07:27:20.135Z] ec43610c2a17: Pull complete [2023-03-14T07:27:20.393Z] 3a2ae6a8a46f: Pull complete [2023-03-14T07:27:20.652Z] 33b1e0a273af: Pull complete [2023-03-14T07:27:20.652Z] 5d3b04190fa2: Pull complete [2023-03-14T07:27:24.838Z] 2f39f015ded8: Pull complete [2023-03-14T07:27:24.838Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-14T07:27:24.838Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T07:27:24.838Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T07:27:24.916Z] prd-ubuntu20.04-docker-8c-8g-81 does not seem to be running inside a container [2023-03-14T07:27:24.946Z] $ 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-1375 -v /w/workspace/gexfoundry_device-sdk-go_PR-1375:/w/workspace/gexfoundry_device-sdk-go_PR-1375:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1375@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1375@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-14T07:27:27.229Z] $ docker top 2a3f5c6e70d8782bfe6284cd7c2df7475e89ff121c5653c9ef182fb915d1da19 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T07:27:27.602Z] ---> job-cost.sh [2023-03-14T07:27:27.602Z] lf-activate-venv: SKIPPING [2023-03-14T07:27:27.602Z] INFO: No Stack... [2023-03-14T07:27:27.862Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T07:27:28.429Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T07:27:28.715Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1375/archives/cost.csv [2023-03-14T07:27:28.715Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T07:27:28.728Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1375-2-stack-cost] [2023-03-14T07:27:28.739Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1375-2-stack-cost] did not exist. Created. [2023-03-14T07:27:28.739Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1375-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T07:27:29.038Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-14T07:27:29.070Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T07:27:29.077Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1375-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T07:27:29.089Z] $ docker stop --time=1 2a3f5c6e70d8782bfe6284cd7c2df7475e89ff121c5653c9ef182fb915d1da19 [2023-03-14T07:27:30.234Z] $ docker rm -f --volumes 2a3f5c6e70d8782bfe6284cd7c2df7475e89ff121c5653c9ef182fb915d1da19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-14T07:27:44.741Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-85 in /w/workspace/gexfoundry_device-sdk-go_PR-1375 [Pipeline] { [Pipeline] ws [2023-03-14T07:27:44.749Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-03-14T07:27:44.780Z] The recommended git tool is: git [2023-03-14T07:27:50.351Z] using credential edgex-jenkins-ssh [2023-03-14T07:27:50.369Z] Cloning the remote Git repository [2023-03-14T07:27:50.424Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-14T07:27:50.545Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-03-14T07:27:50.722Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-14T07:27:50.723Z] > git --version # timeout=10 [2023-03-14T07:27:50.748Z] > git --version # 'git version 2.25.1' [2023-03-14T07:27:50.751Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T07:27:50.925Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T07:27:55.831Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-14T07:27:55.856Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T07:27:57.454Z] Merging remotes/origin/main commit 76ea4d1458b486cd84374d1f970a86ad0e64425c into PR head commit 6ae4301a425f3cb6ec745a9adced3e4c2c9aa0a8 [2023-03-14T07:27:57.785Z] Merge succeeded, producing 6ae4301a425f3cb6ec745a9adced3e4c2c9aa0a8 [2023-03-14T07:27:57.786Z] Checking out Revision 6ae4301a425f3cb6ec745a9adced3e4c2c9aa0a8 (PR-1375) [2023-03-14T07:27:56.819Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-14T07:27:56.861Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-14T07:27:56.862Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T07:27:56.879Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1375/head:refs/remotes/origin/PR-1375 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-14T07:27:57.475Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T07:27:57.559Z] > git checkout -f 6ae4301a425f3cb6ec745a9adced3e4c2c9aa0a8 # timeout=10 [2023-03-14T07:27:57.672Z] > git remote # timeout=10 [2023-03-14T07:27:57.695Z] > git config --get remote.origin.url # timeout=10 [2023-03-14T07:27:57.718Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T07:27:57.735Z] > git merge 76ea4d1458b486cd84374d1f970a86ad0e64425c # timeout=10 [2023-03-14T07:27:57.771Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-14T07:27:57.797Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T07:27:57.817Z] > git checkout -f 6ae4301a425f3cb6ec745a9adced3e4c2c9aa0a8 # timeout=10 [2023-03-14T07:27:58.366Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T07:27:59.245Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-14T07:27:59.246Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T07:27:59.246Z] Dload Upload Total Spent Left Speed [2023-03-14T07:27:59.246Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 230k [Pipeline] sh [2023-03-14T07:27:59.867Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-14T07:28:00.203Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-14T07:28:00.203Z] + sudo tee /etc/docker/daemon.new [2023-03-14T07:28:00.203Z] { [2023-03-14T07:28:00.203Z] "registry-mirrors": [ [2023-03-14T07:28:00.203Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-14T07:28:00.203Z] ], [2023-03-14T07:28:00.203Z] "bip": "10.250.0.254/24", [2023-03-14T07:28:00.203Z] "hosts": [ [2023-03-14T07:28:00.203Z] "tcp://0.0.0.0:5555", [2023-03-14T07:28:00.203Z] "unix:///var/run/docker.sock" [2023-03-14T07:28:00.203Z] ], [2023-03-14T07:28:00.203Z] "mtu": 1458, [2023-03-14T07:28:00.203Z] "selinux-enabled": true, [2023-03-14T07:28:00.203Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-14T07:28:00.203Z] } [Pipeline] sh [2023-03-14T07:28:00.548Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-14T07:28:00.881Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T07:28:19.162Z] provisioning config files... [2023-03-14T07:28:19.190Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config3776138446364338798tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T07:28:19.545Z] ---> docker-login.sh [2023-03-14T07:28:19.545Z] nexus3.edgexfoundry.org:10001 [2023-03-14T07:28:20.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T07:28:20.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T07:28:20.134Z] Configure a credential helper to remove this warning. See [2023-03-14T07:28:20.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T07:28:20.134Z] [2023-03-14T07:28:20.134Z] Login Succeeded [2023-03-14T07:28:20.134Z] nexus3.edgexfoundry.org:10002 [2023-03-14T07:28:20.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T07:28:20.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T07:28:20.407Z] Configure a credential helper to remove this warning. See [2023-03-14T07:28:20.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T07:28:20.407Z] [2023-03-14T07:28:20.407Z] Login Succeeded [2023-03-14T07:28:20.407Z] nexus3.edgexfoundry.org:10003 [2023-03-14T07:28:20.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T07:28:20.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T07:28:20.948Z] Configure a credential helper to remove this warning. See [2023-03-14T07:28:20.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T07:28:20.948Z] [2023-03-14T07:28:20.948Z] Login Succeeded [2023-03-14T07:28:20.948Z] nexus3.edgexfoundry.org:10004 [2023-03-14T07:28:21.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T07:28:21.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T07:28:21.219Z] Configure a credential helper to remove this warning. See [2023-03-14T07:28:21.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T07:28:21.219Z] [2023-03-14T07:28:21.219Z] Login Succeeded [2023-03-14T07:28:21.219Z] docker.io [2023-03-14T07:28:21.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T07:28:21.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T07:28:21.761Z] Configure a credential helper to remove this warning. See [2023-03-14T07:28:21.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T07:28:21.761Z] [2023-03-14T07:28:21.761Z] Login Succeeded [2023-03-14T07:28:21.761Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T07:28:21.776Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T07:28:22.065Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T07:28:22.081Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T07:28:22.090Z] ========================================================= [2023-03-14T07:28:22.090Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-14T07:28:22.090Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T07:28:22.444Z] + 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-03-14T07:28:23.037Z] Sending build context to Docker daemon 5.78MB [2023-03-14T07:28:23.037Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-14T07:28:23.037Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-14T07:28:23.037Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-14T07:28:23.037Z] af6eaf76a39c: Pulling fs layer [2023-03-14T07:28:23.037Z] 55522c791124: Pulling fs layer [2023-03-14T07:28:23.037Z] ce5c4a1c91eb: Pulling fs layer [2023-03-14T07:28:23.037Z] 169dfbe0d373: Pulling fs layer [2023-03-14T07:28:23.037Z] e1ff8fa3b103: Pulling fs layer [2023-03-14T07:28:23.037Z] 52ebb69f0ebf: Pulling fs layer [2023-03-14T07:28:23.037Z] 5abe8eddf0d5: Pulling fs layer [2023-03-14T07:28:23.037Z] 169dfbe0d373: Waiting [2023-03-14T07:28:23.037Z] e1ff8fa3b103: Waiting [2023-03-14T07:28:23.037Z] 5abe8eddf0d5: Waiting [2023-03-14T07:28:23.037Z] 52ebb69f0ebf: Waiting [2023-03-14T07:28:23.037Z] 55522c791124: Verifying Checksum [2023-03-14T07:28:23.037Z] 55522c791124: Download complete [2023-03-14T07:28:23.037Z] 169dfbe0d373: Verifying Checksum [2023-03-14T07:28:23.037Z] 169dfbe0d373: Download complete [2023-03-14T07:28:23.037Z] e1ff8fa3b103: Verifying Checksum [2023-03-14T07:28:23.037Z] e1ff8fa3b103: Download complete [2023-03-14T07:28:23.312Z] af6eaf76a39c: Verifying Checksum [2023-03-14T07:28:24.299Z] af6eaf76a39c: Pull complete [2023-03-14T07:28:24.299Z] 5abe8eddf0d5: Verifying Checksum [2023-03-14T07:28:24.299Z] 5abe8eddf0d5: Download complete [2023-03-14T07:28:24.575Z] 55522c791124: Pull complete [2023-03-14T07:28:26.003Z] ce5c4a1c91eb: Verifying Checksum [2023-03-14T07:28:26.003Z] ce5c4a1c91eb: Download complete [2023-03-14T07:28:26.003Z] 52ebb69f0ebf: Verifying Checksum [2023-03-14T07:28:26.003Z] 52ebb69f0ebf: Download complete [2023-03-14T07:28:38.380Z] ce5c4a1c91eb: Pull complete [2023-03-14T07:28:38.380Z] 169dfbe0d373: Pull complete [2023-03-14T07:28:38.380Z] e1ff8fa3b103: Pull complete [2023-03-14T07:28:45.219Z] 52ebb69f0ebf: Pull complete [2023-03-14T07:28:48.572Z] 5abe8eddf0d5: Pull complete [2023-03-14T07:28:48.572Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-14T07:28:48.572Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-14T07:28:48.572Z] ---> 6cb57ee374ae [2023-03-14T07:28:48.572Z] Step 3/10 : ARG MAKE=make build [2023-03-14T07:28:50.524Z] ---> Running in b72aecbff9de [2023-03-14T07:28:50.524Z] Removing intermediate container b72aecbff9de [2023-03-14T07:28:50.524Z] ---> 618506341e6a [2023-03-14T07:28:50.524Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-14T07:28:50.798Z] ---> Running in b0cdd74f4045 [2023-03-14T07:28:51.075Z] Removing intermediate container b0cdd74f4045 [2023-03-14T07:28:51.075Z] ---> 66e99a5ada40 [2023-03-14T07:28:51.075Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-14T07:28:51.075Z] ---> Running in ae7993a93bf7 [2023-03-14T07:28:51.660Z] Removing intermediate container ae7993a93bf7 [2023-03-14T07:28:51.660Z] ---> 7955c0d90331 [2023-03-14T07:28:51.660Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-14T07:28:51.660Z] ---> Running in d5df7449f5e1 [2023-03-14T07:28:52.622Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T07:28:53.205Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T07:28:54.622Z] OK: 263 MiB in 53 packages [2023-03-14T07:28:55.212Z] Removing intermediate container d5df7449f5e1 [2023-03-14T07:28:55.212Z] ---> de4a89e32a01 [2023-03-14T07:28:55.212Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-14T07:28:55.802Z] ---> d7293bfe5fca [2023-03-14T07:28:55.802Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T07:28:55.802Z] ---> Running in ff4935bcab3e [2023-03-14T07:30:03.692Z] Removing intermediate container ff4935bcab3e [2023-03-14T07:30:03.692Z] ---> 1205ddc83343 [2023-03-14T07:30:03.692Z] Step 9/10 : COPY . . [2023-03-14T07:30:03.692Z] ---> 78c13c7c19c0 [2023-03-14T07:30:03.692Z] Step 10/10 : RUN ${MAKE} [2023-03-14T07:30:03.692Z] ---> Running in b1b8a52f1aa7 [2023-03-14T07:30:03.692Z] noop [2023-03-14T07:30:03.692Z] Removing intermediate container b1b8a52f1aa7 [2023-03-14T07:30:03.692Z] ---> f945c474935c [2023-03-14T07:30:03.692Z] Successfully built f945c474935c [2023-03-14T07:30:03.692Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T07:30:04.039Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T07:30:04.040Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T07:30:04.254Z] prd-ubuntu20.04-docker-arm64-4c-16g-85 does not seem to be running inside a container [2023-03-14T07:30:04.329Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-14T07:30:05.615Z] $ docker top 86d5a3f7efe7f8cd2651f95d64c74b6e6419f4b4f030d1dac86aafa3fa80e224 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T07:30:06.458Z] + go version [2023-03-14T07:30:06.458Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-14T07:30:06.484Z] $ docker stop --time=1 86d5a3f7efe7f8cd2651f95d64c74b6e6419f4b4f030d1dac86aafa3fa80e224 [2023-03-14T07:30:08.195Z] $ docker rm -f --volumes 86d5a3f7efe7f8cd2651f95d64c74b6e6419f4b4f030d1dac86aafa3fa80e224 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T07:30:08.753Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T07:30:08.754Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T07:30:08.961Z] prd-ubuntu20.04-docker-arm64-4c-16g-85 does not seem to be running inside a container [2023-03-14T07:30:09.040Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-14T07:30:10.418Z] $ docker top 63d78fbbe2a421baaf247d7fa37d7d4ce58ffe3fd5c57345c7354bd2e9fb4ad2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T07:30:11.281Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-14T07:30:11.939Z] + make test [2023-03-14T07:30:11.939Z] go test -race -coverprofile=coverage.out ./... [2023-03-14T07:30:58.881Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-14T07:33:20.624Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-14T07:33:20.624Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-14T07:33:20.624Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-14T07:33:20.624Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-14T07:33:20.624Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-14T07:33:32.937Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.218s coverage: 27.6% of statements [2023-03-14T07:33:36.288Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.276s coverage: 78.9% of statements [2023-03-14T07:33:51.309Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-14T07:33:51.309Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-14T07:33:51.309Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.397s coverage: 86.0% of statements [2023-03-14T07:33:59.539Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-14T07:33:59.539Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.493s coverage: 75.9% of statements [2023-03-14T07:34:03.823Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-14T07:34:05.239Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-14T07:34:05.239Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-14T07:34:07.188Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.312s coverage: 15.2% of statements [2023-03-14T07:34:07.188Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.467s coverage: 65.7% of statements [2023-03-14T07:34:11.461Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-14T07:34:12.045Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 2.834s coverage: 89.2% of statements [2023-03-14T07:34:12.045Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.293s coverage: 5.5% of statements [2023-03-14T07:34:13.018Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-14T07:34:13.018Z] GO111MODULE=on go vet ./... [2023-03-14T07:36:49.804Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T07:36:49.804Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T07:36:49.804Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-14T07:36:49.823Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T07:36:49.838Z] $ docker stop --time=1 63d78fbbe2a421baaf247d7fa37d7d4ce58ffe3fd5c57345c7354bd2e9fb4ad2 [2023-03-14T07:36:51.704Z] $ docker rm -f --volumes 63d78fbbe2a421baaf247d7fa37d7d4ce58ffe3fd5c57345c7354bd2e9fb4ad2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T07:36:53.449Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T07:36:53.474Z] Warning: overwriting stash ‘coverage-report’ [2023-03-14T07:36:54.141Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T07:36:54.507Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T07:36:54.828Z] + ls -al . [2023-03-14T07:36:54.828Z] total 272 [2023-03-14T07:36:54.828Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 07:30 . [2023-03-14T07:36:54.828Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 07:27 .. [2023-03-14T07:36:54.828Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 14 07:27 .dockerignore [2023-03-14T07:36:54.828Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 07:27 .git [2023-03-14T07:36:54.828Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 07:27 .github [2023-03-14T07:36:54.828Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 14 07:27 .gitignore [2023-03-14T07:36:54.828Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 14 07:27 .golangci.yml [2023-03-14T07:36:54.828Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 14 07:27 CHANGELOG.md [2023-03-14T07:36:54.828Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 07:27 GOVERNANCE.md [2023-03-14T07:36:54.828Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 14 07:27 Jenkinsfile [2023-03-14T07:36:54.828Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 14 07:27 LICENSE [2023-03-14T07:36:54.828Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 14 07:27 Makefile [2023-03-14T07:36:54.828Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 14 07:27 OWNERS.md [2023-03-14T07:36:54.828Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 14 07:27 README.md [2023-03-14T07:36:54.828Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 07:25 VERSION [2023-03-14T07:36:54.828Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 07:27 bin [2023-03-14T07:36:54.828Z] -rw-r--r-- 1 jenkins jenkins 109539 Mar 14 07:34 coverage.out [2023-03-14T07:36:54.828Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 14 07:27 example [2023-03-14T07:36:54.828Z] -rw-rw-r-- 1 jenkins jenkins 3278 Mar 14 07:27 go.mod [2023-03-14T07:36:54.828Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 14 07:27 go.sum [2023-03-14T07:36:54.828Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 07:27 internal [2023-03-14T07:36:54.828Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 07:27 openapi [2023-03-14T07:36:54.828Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 14 07:27 pkg [2023-03-14T07:36:54.828Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 07:27 snap [2023-03-14T07:36:54.828Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 14 07:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T07:36:55.165Z] + 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=6ae4301a425f3cb6ec745a9adced3e4c2c9aa0a8 --label arch=arm64 --label version=0.0.0 . [2023-03-14T07:36:55.752Z] Sending build context to Docker daemon 5.89MB [2023-03-14T07:36:55.752Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-14T07:36:55.752Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-14T07:36:55.752Z] ---> f945c474935c [2023-03-14T07:36:55.752Z] Step 3/23 : ARG MAKE=make build [2023-03-14T07:36:55.752Z] ---> Running in bc3df52c2ba4 [2023-03-14T07:36:56.020Z] Removing intermediate container bc3df52c2ba4 [2023-03-14T07:36:56.020Z] ---> 63a56829a415 [2023-03-14T07:36:56.020Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-14T07:36:56.287Z] ---> Running in d2984751fba7 [2023-03-14T07:36:56.554Z] Removing intermediate container d2984751fba7 [2023-03-14T07:36:56.554Z] ---> a00d5154db3d [2023-03-14T07:36:56.554Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-14T07:36:56.554Z] ---> Running in f25f42473329 [2023-03-14T07:36:56.828Z] Removing intermediate container f25f42473329 [2023-03-14T07:36:56.828Z] ---> d4401c918892 [2023-03-14T07:36:56.828Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-14T07:36:56.828Z] ---> Running in 91ccf8aea836 [2023-03-14T07:36:57.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T07:36:58.885Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T07:36:59.863Z] OK: 263 MiB in 53 packages [2023-03-14T07:37:00.851Z] Removing intermediate container 91ccf8aea836 [2023-03-14T07:37:00.851Z] ---> a1ec2bb843aa [2023-03-14T07:37:00.851Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-14T07:37:03.442Z] ---> 0d14f6ce44e2 [2023-03-14T07:37:03.442Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T07:37:03.442Z] ---> Running in 34a9a85cadec [2023-03-14T07:37:06.023Z] Removing intermediate container 34a9a85cadec [2023-03-14T07:37:06.023Z] ---> 10f8d459ee55 [2023-03-14T07:37:06.023Z] Step 9/23 : COPY . . [2023-03-14T07:37:07.430Z] ---> a3ae2c31958f [2023-03-14T07:37:07.430Z] Step 10/23 : RUN ${MAKE} [2023-03-14T07:37:07.430Z] ---> Running in 6bace4673fc2 [2023-03-14T07:37:08.390Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-14T07:39:30.073Z] Removing intermediate container 6bace4673fc2 [2023-03-14T07:39:30.073Z] ---> ef65706c5c71 [2023-03-14T07:39:30.073Z] Step 11/23 : FROM alpine:3.16 [2023-03-14T07:39:30.073Z] 3.16: Pulling from library/alpine [2023-03-14T07:39:30.073Z] 3760b48202b3: Pulling fs layer [2023-03-14T07:39:30.073Z] 3760b48202b3: Download complete [2023-03-14T07:39:30.073Z] 3760b48202b3: Pull complete [2023-03-14T07:39:30.073Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-14T07:39:30.073Z] Status: Downloaded newer image for alpine:3.16 [2023-03-14T07:39:30.073Z] ---> 4c81e5bf8899 [2023-03-14T07:39:30.073Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-14T07:39:30.073Z] ---> Running in 0c2bc73f86a1 [2023-03-14T07:39:30.073Z] Removing intermediate container 0c2bc73f86a1 [2023-03-14T07:39:30.073Z] ---> 15879629ddef [2023-03-14T07:39:30.073Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-14T07:39:30.073Z] ---> Running in 3f80bb332c05 [2023-03-14T07:39:30.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-14T07:39:30.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-14T07:39:30.073Z] OK: 5 MiB in 14 packages [2023-03-14T07:39:30.073Z] Removing intermediate container 3f80bb332c05 [2023-03-14T07:39:30.073Z] ---> d050451cc611 [2023-03-14T07:39:30.073Z] Step 14/23 : WORKDIR / [2023-03-14T07:39:30.073Z] ---> Running in f19cc50be228 [2023-03-14T07:39:30.073Z] Removing intermediate container f19cc50be228 [2023-03-14T07:39:30.073Z] ---> ca10e06fc3d1 [2023-03-14T07:39:30.073Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-14T07:39:30.073Z] ---> a4821bd36128 [2023-03-14T07:39:30.073Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-14T07:39:30.073Z] ---> 454e8ab048fc [2023-03-14T07:39:30.073Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-14T07:39:30.340Z] ---> 3fea98ad59c3 [2023-03-14T07:39:30.340Z] Step 18/23 : EXPOSE 59999 [2023-03-14T07:39:30.340Z] ---> Running in 826cafd0fa95 [2023-03-14T07:39:30.611Z] Removing intermediate container 826cafd0fa95 [2023-03-14T07:39:30.611Z] ---> 4ba84bcbe0c2 [2023-03-14T07:39:30.611Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-14T07:39:30.879Z] ---> Running in d827308f788c [2023-03-14T07:39:31.146Z] Removing intermediate container d827308f788c [2023-03-14T07:39:31.146Z] ---> a806094e0bfb [2023-03-14T07:39:31.146Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-14T07:39:31.146Z] ---> Running in a3f726444689 [2023-03-14T07:39:31.414Z] Removing intermediate container a3f726444689 [2023-03-14T07:39:31.415Z] ---> 966c7e4b8ced [2023-03-14T07:39:31.415Z] Step 21/23 : LABEL arch=arm64 [2023-03-14T07:39:31.415Z] ---> Running in 39eb01eae857 [2023-03-14T07:39:31.680Z] Removing intermediate container 39eb01eae857 [2023-03-14T07:39:31.680Z] ---> 58ba6c4f08aa [2023-03-14T07:39:31.680Z] Step 22/23 : LABEL git_sha=6ae4301a425f3cb6ec745a9adced3e4c2c9aa0a8 [2023-03-14T07:39:31.951Z] ---> Running in 311d6fc85483 [2023-03-14T07:39:32.221Z] Removing intermediate container 311d6fc85483 [2023-03-14T07:39:32.221Z] ---> e1e424b68db6 [2023-03-14T07:39:32.221Z] Step 23/23 : LABEL version=0.0.0 [2023-03-14T07:39:32.221Z] ---> Running in 1e09f3eeac14 [2023-03-14T07:39:32.487Z] Removing intermediate container 1e09f3eeac14 [2023-03-14T07:39:32.487Z] ---> 1abfc883e2fe [2023-03-14T07:39:32.488Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T07:39:32.488Z] Successfully built 1abfc883e2fe [2023-03-14T07:39:32.488Z] 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-03-14T07:39:32.914Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T07:39:32.915Z] [2023-03-14T07:39:32.915Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T07:39:33.245Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T07:39:33.245Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-14T07:39:33.245Z] 8998bd30e6a1: Pulling fs layer [2023-03-14T07:39:33.245Z] 04944245beec: Pulling fs layer [2023-03-14T07:39:33.245Z] 699f458cf7ca: Pulling fs layer [2023-03-14T07:39:33.245Z] 765212b225bb: Pulling fs layer [2023-03-14T07:39:33.245Z] f23df028b6ca: Pulling fs layer [2023-03-14T07:39:33.245Z] d65c8cfc05b1: Pulling fs layer [2023-03-14T07:39:33.245Z] 2437ff75d9bd: Pulling fs layer [2023-03-14T07:39:33.245Z] f23df028b6ca: Waiting [2023-03-14T07:39:33.245Z] d65c8cfc05b1: Waiting [2023-03-14T07:39:33.245Z] 765212b225bb: Waiting [2023-03-14T07:39:33.245Z] 2437ff75d9bd: Waiting [2023-03-14T07:39:33.512Z] 04944245beec: Verifying Checksum [2023-03-14T07:39:33.512Z] 04944245beec: Download complete [2023-03-14T07:39:33.512Z] 765212b225bb: Verifying Checksum [2023-03-14T07:39:33.512Z] 765212b225bb: Download complete [2023-03-14T07:39:33.512Z] f23df028b6ca: Verifying Checksum [2023-03-14T07:39:33.512Z] f23df028b6ca: Download complete [2023-03-14T07:39:33.512Z] d65c8cfc05b1: Verifying Checksum [2023-03-14T07:39:33.512Z] d65c8cfc05b1: Download complete [2023-03-14T07:39:33.512Z] 699f458cf7ca: Verifying Checksum [2023-03-14T07:39:33.512Z] 699f458cf7ca: Download complete [2023-03-14T07:39:34.097Z] 8998bd30e6a1: Verifying Checksum [2023-03-14T07:39:34.097Z] 8998bd30e6a1: Download complete [2023-03-14T07:39:36.055Z] 2437ff75d9bd: Verifying Checksum [2023-03-14T07:39:36.055Z] 2437ff75d9bd: Download complete [2023-03-14T07:39:38.002Z] 8998bd30e6a1: Pull complete [2023-03-14T07:39:38.269Z] 04944245beec: Pull complete [2023-03-14T07:39:41.619Z] 699f458cf7ca: Pull complete [2023-03-14T07:39:41.619Z] 765212b225bb: Pull complete [2023-03-14T07:39:42.208Z] f23df028b6ca: Pull complete [2023-03-14T07:39:42.476Z] d65c8cfc05b1: Pull complete [2023-03-14T07:39:55.468Z] 2437ff75d9bd: Pull complete [2023-03-14T07:39:55.468Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-14T07:39:55.468Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T07:39:55.468Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T07:39:55.662Z] prd-ubuntu20.04-docker-arm64-4c-16g-85 does not seem to be running inside a container [2023-03-14T07:39:55.735Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-14T07:39:58.288Z] $ docker top 24f03e25c769fce27521c35d0244dce95b31e47e6269c9ded9e92ca8aae1b3dc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T07:39:58.790Z] ---> job-cost.sh [2023-03-14T07:39:59.057Z] lf-activate-venv: SKIPPING [2023-03-14T07:39:59.057Z] INFO: No Stack... [2023-03-14T07:39:59.639Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-14T07:40:00.596Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T07:40:00.912Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-03-14T07:40:00.912Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T07:40:01.247Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1375-2-stack-cost] [2023-03-14T07:40:01.253Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1375-2-stack-cost] did not exist. Created. [2023-03-14T07:40:01.253Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1375-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T07:40:01.588Z] /w/workspace/device-sdk-go/2@tmp/durable-11ee093b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-14T07:40:01.934Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-14T07:40:01.948Z] Warning: overwriting stash ‘stack-cost’ [2023-03-14T07:40:02.016Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T07:40:02.022Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1375-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T07:40:02.043Z] $ docker stop --time=1 24f03e25c769fce27521c35d0244dce95b31e47e6269c9ded9e92ca8aae1b3dc [2023-03-14T07:40:03.516Z] $ docker rm -f --volumes 24f03e25c769fce27521c35d0244dce95b31e47e6269c9ded9e92ca8aae1b3dc [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-03-14T07:40:03.848Z] provisioning config files... [2023-03-14T07:40:03.855Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1375@tmp/config10939192807996625220tmp [Pipeline] { [Pipeline] sh [2023-03-14T07:40:04.144Z] + set +x [2023-03-14T07:40:04.145Z] + + curlbash -s -s https://codecov.io/bash -- [2023-03-14T07:40:04.145Z] [2023-03-14T07:40:04.145Z] [2023-03-14T07:40:04.145Z] _____ _ [2023-03-14T07:40:04.145Z] / ____| | | [2023-03-14T07:40:04.145Z] | | ___ __| | ___ ___ _____ __ [2023-03-14T07:40:04.145Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-14T07:40:04.145Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-14T07:40:04.145Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-14T07:40:04.145Z] Bash-1.0.6 [2023-03-14T07:40:04.145Z] [2023-03-14T07:40:04.145Z] [2023-03-14T07:40:04.145Z] ==> git version 2.25.1 found [2023-03-14T07:40:04.145Z] ==> 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-03-14T07:40:04.145Z] Release-Date: 2020-01-08 [2023-03-14T07:40:04.145Z] 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-03-14T07:40:04.145Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-14T07:40:04.145Z] ==> Jenkins CI detected. [2023-03-14T07:40:04.145Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1375 [2023-03-14T07:40:04.145Z] project root: . [2023-03-14T07:40:04.145Z] --> token set from env [2023-03-14T07:40:04.145Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-14T07:40:04.145Z] ==> Running gcov in . (disable via -X gcov) [2023-03-14T07:40:04.145Z] ==> Python coveragepy not found [2023-03-14T07:40:04.145Z] ==> Searching for coverage reports in: [2023-03-14T07:40:04.145Z] + . [2023-03-14T07:40:04.145Z] -> Found 1 reports [2023-03-14T07:40:04.145Z] ==> Detecting git/mercurial file structure [2023-03-14T07:40:04.145Z] ==> Reading reports [2023-03-14T07:40:04.145Z] + ./coverage.out bytes=109539 [2023-03-14T07:40:04.145Z] ==> Appending adjustments [2023-03-14T07:40:04.145Z] https://docs.codecov.io/docs/fixing-reports [2023-03-14T07:40:04.402Z] + Found adjustments [2023-03-14T07:40:04.402Z] ==> Gzipping contents [2023-03-14T07:40:04.661Z] 16K /tmp/codecov.HnnzVC.gz [2023-03-14T07:40:04.661Z] ==> Uploading reports [2023-03-14T07:40:04.661Z] url: https://codecov.io [2023-03-14T07:40:04.661Z] query: branch=PR-1375&commit=6ae4301a425f3cb6ec745a9adced3e4c2c9aa0a8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1375%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1375&job=&cmd_args= [2023-03-14T07:40:04.661Z] -> Pinging Codecov [2023-03-14T07:40:04.661Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1375&commit=6ae4301a425f3cb6ec745a9adced3e4c2c9aa0a8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1375%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1375&job=&cmd_args= [2023-03-14T07:40:04.661Z] -> Uploading to [2023-03-14T07:40:04.661Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-14/7E55EF52A471D76F132DFD9A03CDDE97/6ae4301a425f3cb6ec745a9adced3e4c2c9aa0a8/91046873-e65b-4c17-ba0f-8b3032ed0201.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230314%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230314T074004Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ab7ad41917d7b5d18db7eb44f83d912b1c91fc7bf86087fa2ef42ede97a3bcf5 [2023-03-14T07:40:04.661Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T07:40:04.661Z] Dload Upload Total Spent Left Speed [2023-03-14T07:40:04.923Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15207 0 0 100 15207 0 56955 --:--:-- --:--:-- --:--:-- 56955 [2023-03-14T07:40:04.923Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/6ae4301a425f3cb6ec745a9adced3e4c2c9aa0a8 [Pipeline] } [2023-03-14T07:40:04.930Z] 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-03-14T07:40:05.599Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1375/archives ] [2023-03-14T07:40:05.599Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1375/archives [2023-03-14T07:40:05.599Z] total 16 [2023-03-14T07:40:05.599Z] drwxr-xr-x 3 root root 4096 Mar 14 07:27 . [2023-03-14T07:40:05.599Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 07:27 .. [2023-03-14T07:40:05.599Z] drwxr-xr-x 2 root root 4096 Mar 14 07:27 cost [2023-03-14T07:40:05.599Z] -rw-r--r-- 1 root root 86 Mar 14 07:27 cost.csv [2023-03-14T07:40:05.599Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1375/archives [2023-03-14T07:40:05.599Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1375/archives [2023-03-14T07:40:05.599Z] total 16 [2023-03-14T07:40:05.599Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 07:27 . [2023-03-14T07:40:05.599Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 07:27 .. [2023-03-14T07:40:05.599Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 07:27 cost [2023-03-14T07:40:05.599Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 14 07:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-14T07:40:05.890Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T07:40:06.754Z] ---> package-listing.sh [2023-03-14T07:40:06.754Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-14T07:40:06.754Z] ++ facter osfamily [2023-03-14T07:40:06.754Z] + OS_FAMILY=debian [2023-03-14T07:40:06.754Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1375 [2023-03-14T07:40:06.754Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-14T07:40:06.754Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-14T07:40:06.754Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-14T07:40:06.755Z] + PACKAGES=/tmp/packages_start.txt [2023-03-14T07:40:06.755Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1375 ']' [2023-03-14T07:40:06.755Z] + PACKAGES=/tmp/packages_end.txt [2023-03-14T07:40:06.755Z] + case "${OS_FAMILY}" in [2023-03-14T07:40:06.755Z] + dpkg -l [2023-03-14T07:40:06.755Z] + grep '^ii' [2023-03-14T07:40:07.013Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-14T07:40:07.013Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-14T07:40:07.013Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-14T07:40:07.013Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1375 ']' [2023-03-14T07:40:07.013Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1375/archives/ [2023-03-14T07:40:07.013Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1375/archives/ [Pipeline] echo [2023-03-14T07:40:07.022Z] 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-1375/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-14T07:40:07.297Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T07:40:07.856Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T07:40:07.856Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T07:40:07.921Z] prd-ubuntu20.04-docker-8c-8g-81 does not seem to be running inside a container [2023-03-14T07:40:07.936Z] $ 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-1375/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-1375 -v /w/workspace/gexfoundry_device-sdk-go_PR-1375:/w/workspace/gexfoundry_device-sdk-go_PR-1375:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1375@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1375@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-14T07:40:08.121Z] $ docker top d4b7a94e10f254176201cd91e7b703d01d9554789495f67b7a5b0b8523f1bf06 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T07:40:08.466Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-14T07:40:08.749Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-14T07:40:09.029Z] + ls /var/log/sa-host [2023-03-14T07:40:09.030Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T07:40:09.166Z] provisioning config files... [2023-03-14T07:40:09.174Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1375@tmp/config7771262219781338597tmp [Pipeline] { [Pipeline] echo [2023-03-14T07:40:09.185Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T07:40:09.466Z] ---> create-netrc.sh [Pipeline] } [2023-03-14T07:40:09.473Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-14T07:40:09.795Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-14T07:40:09.801Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T07:40:10.089Z] ---> sudo-logs.sh [2023-03-14T07:40:10.089Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-14T07:40:10.115Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T07:40:10.400Z] ---> job-cost.sh [2023-03-14T07:40:10.400Z] lf-activate-venv: SKIPPING [2023-03-14T07:40:10.400Z] DEBUG: total: 0.2199999988079071 [2023-03-14T07:40:10.400Z] INFO: Retrieving Stack Cost... [2023-03-14T07:40:10.658Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T07:40:11.223Z] INFO: Archiving Costs [Pipeline] echo [2023-03-14T07:40:11.233Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T07:40:11.517Z] ---> logs-deploy.sh [2023-03-14T07:40:11.517Z] lf-activate-venv: SKIPPING [2023-03-14T07:40:11.517Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1375/2 [2023-03-14T07:40:11.517Z] INFO: archiving workspace using pattern(s): [2023-03-14T07:40:12.453Z] Archives upload complete. [2023-03-14T07:40:12.453Z] INFO: archiving logs to Nexus