Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 268da6f83e209ba80039c304e6dff6a0d7afc8ae+5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1 (9afa2288c9ceaac92ce05ce6d7ffc7368319dc47) 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-ssh5419622403328675423.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh5133563951847682375.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-1460/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-1460/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12147001843311537029.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh10641152728268392276.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-1460/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-1460/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5020818036609025754.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16762 in /w/workspace/gexfoundry_device-sdk-go_PR-1460 [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-1460 # 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 5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1 into PR head commit 268da6f83e209ba80039c304e6dff6a0d7afc8ae Merge succeeded, producing 8bdfe598af47f2b9dec1fa278782d82891b70a5c Checking out Revision 8bdfe598af47f2b9dec1fa278782d82891b70a5c (PR-1460) > 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/1460/head:refs/remotes/origin/PR-1460 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 268da6f83e209ba80039c304e6dff6a0d7afc8ae # 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 5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8bdfe598af47f2b9dec1fa278782d82891b70a5c # timeout=10 Commit message: "Merge commit '5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-24T18:44:45.752Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-24T18:44:45.806Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-24T18:44:45.823Z] ========================================================= [2023-05-24T18:44:45.823Z] EdgeX Global Pipelines Version Info [2023-05-24T18:44:45.823Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 5f7d514eb1172a9858783636d846cfe9ecce1f69 # timeout=10 [2023-05-24T18:44:46.915Z] ------------------- [2023-05-24T18:44:46.915Z] stable info: [2023-05-24T18:44:46.915Z] ------------------- [2023-05-24T18:44:46.915Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-24T18:44:46.915Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-24T18:44:46.915Z] Message: update stable to v1.0.249 [2023-05-24T18:44:47.176Z] ------------------- [2023-05-24T18:44:47.176Z] experimental info: [2023-05-24T18:44:47.176Z] ------------------- [2023-05-24T18:44:47.176Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-24T18:44:47.176Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-24T18:44:47.176Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-24T18:44:47.334Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-05-24T18:44:47.345Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-05-24T18:44:47.360Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-24T18:44:47.371Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-24T18:44:47.385Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-24T18:44:47.401Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-24T18:44:47.412Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-24T18:44:47.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-05-24T18:44:47.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-24T18:44:47.464Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-24T18:44:47.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-24T18:44:47.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-05-24T18:44:47.516Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-24T18:44:47.532Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-24T18:44:47.543Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-24T18:44:47.554Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-24T18:44:47.566Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-24T18:44:47.578Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-24T18:44:47.589Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-24T18:44:47.602Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-24T18:44:47.613Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-24T18:44:47.624Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-05-24T18:44:47.635Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-24T18:44:47.648Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-24T18:44:47.658Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-24T18:44:47.667Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-24T18:44:47.675Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-24T18:44:47.692Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1460 [Pipeline] echo [2023-05-24T18:44:47.702Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1460 [Pipeline] echo [2023-05-24T18:44:47.716Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1460 [Pipeline] echo [2023-05-24T18:44:47.727Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8bdfe598af47f2b9dec1fa278782d82891b70a5c [Pipeline] echo [2023-05-24T18:44:47.738Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8bdfe59 [Pipeline] echo [2023-05-24T18:44:47.751Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-24T18:44:47.789Z] provisioning config files... [2023-05-24T18:44:47.804Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp/config12697013246411515882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:44:48.109Z] ---> docker-login.sh [2023-05-24T18:44:48.109Z] nexus3.edgexfoundry.org:10001 [2023-05-24T18:44:48.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:44:48.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:44:48.370Z] Configure a credential helper to remove this warning. See [2023-05-24T18:44:48.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:44:48.370Z] [2023-05-24T18:44:48.370Z] Login Succeeded [2023-05-24T18:44:48.370Z] nexus3.edgexfoundry.org:10002 [2023-05-24T18:44:48.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:44:48.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:44:48.370Z] Configure a credential helper to remove this warning. See [2023-05-24T18:44:48.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:44:48.370Z] [2023-05-24T18:44:48.370Z] Login Succeeded [2023-05-24T18:44:48.370Z] nexus3.edgexfoundry.org:10003 [2023-05-24T18:44:48.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:44:48.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:44:48.630Z] Configure a credential helper to remove this warning. See [2023-05-24T18:44:48.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:44:48.630Z] [2023-05-24T18:44:48.630Z] Login Succeeded [2023-05-24T18:44:48.630Z] nexus3.edgexfoundry.org:10004 [2023-05-24T18:44:48.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:44:48.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:44:48.630Z] Configure a credential helper to remove this warning. See [2023-05-24T18:44:48.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:44:48.630Z] [2023-05-24T18:44:48.630Z] Login Succeeded [2023-05-24T18:44:48.630Z] docker.io [2023-05-24T18:44:48.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:44:48.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:44:48.895Z] Configure a credential helper to remove this warning. See [2023-05-24T18:44:48.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:44:48.895Z] [2023-05-24T18:44:48.895Z] Login Succeeded [2023-05-24T18:44:48.895Z] ---> docker-login.sh ends [Pipeline] } [2023-05-24T18:44:48.904Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-24T18:44:49.280Z] + git rev-list -1 --merges 8bdfe598af47f2b9dec1fa278782d82891b70a5c~1..8bdfe598af47f2b9dec1fa278782d82891b70a5c [Pipeline] echo [2023-05-24T18:44:49.329Z] -----------> git rev-list -1 --merges 8bdfe598af47f2b9dec1fa278782d82891b70a5c~1..8bdfe598af47f2b9dec1fa278782d82891b70a5c 8bdfe598af47f2b9dec1fa278782d82891b70a5c [2023-05-24T18:44:49.329Z] 8bdfe598af47f2b9dec1fa278782d82891b70a5c [false] [Pipeline] sh [2023-05-24T18:44:49.621Z] + git log --format=format:%s -1 8bdfe598af47f2b9dec1fa278782d82891b70a5c [Pipeline] echo [2023-05-24T18:44:49.638Z] ========================================================= [2023-05-24T18:44:49.638Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-24T18:44:49.638Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-24T18:44:49.980Z] + git log --format=format:%s -1 8bdfe598af47f2b9dec1fa278782d82891b70a5c [Pipeline] echo [2023-05-24T18:44:50.043Z] [semverPrep] GIT_COMMIT: 8bdfe598af47f2b9dec1fa278782d82891b70a5c, Commit Message: Merge commit '5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1' into HEAD [Pipeline] echo [2023-05-24T18:44:50.051Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-24T18:44:50.456Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-24T18:44:50.456Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-24T18:44:50.456Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-24T18:44:50.456Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-24T18:44:50.456Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-24T18:44:50.456Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-24T18:44:50.456Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:44:50.864Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T18:44:50.864Z] [2023-05-24T18:44:50.864Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:44:51.165Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T18:44:51.165Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-24T18:44:51.165Z] b85a868b505f: Pulling fs layer [2023-05-24T18:44:51.165Z] e2be974225ed: Pulling fs layer [2023-05-24T18:44:51.165Z] 339a4e72a1f5: Pulling fs layer [2023-05-24T18:44:51.165Z] 988bab9f4d93: Pulling fs layer [2023-05-24T18:44:51.165Z] 1469e6f7b9e6: Pulling fs layer [2023-05-24T18:44:51.165Z] eaf3925da568: Pulling fs layer [2023-05-24T18:44:51.165Z] bab4dde63d76: Pulling fs layer [2023-05-24T18:44:51.165Z] bde34c3a00c8: Pulling fs layer [2023-05-24T18:44:51.165Z] b352a97aabf1: Pulling fs layer [2023-05-24T18:44:51.165Z] 4872d77fe225: Pulling fs layer [2023-05-24T18:44:51.165Z] 5851b861e8e6: Pulling fs layer [2023-05-24T18:44:51.165Z] 988bab9f4d93: Waiting [2023-05-24T18:44:51.165Z] 1469e6f7b9e6: Waiting [2023-05-24T18:44:51.165Z] eaf3925da568: Waiting [2023-05-24T18:44:51.165Z] 4872d77fe225: Waiting [2023-05-24T18:44:51.165Z] b352a97aabf1: Waiting [2023-05-24T18:44:51.165Z] 5851b861e8e6: Waiting [2023-05-24T18:44:51.165Z] bab4dde63d76: Waiting [2023-05-24T18:44:51.165Z] bde34c3a00c8: Waiting [2023-05-24T18:44:51.165Z] e2be974225ed: Download complete [2023-05-24T18:44:51.165Z] 988bab9f4d93: Verifying Checksum [2023-05-24T18:44:51.165Z] 988bab9f4d93: Download complete [2023-05-24T18:44:51.165Z] 1469e6f7b9e6: Verifying Checksum [2023-05-24T18:44:51.428Z] eaf3925da568: Verifying Checksum [2023-05-24T18:44:51.428Z] eaf3925da568: Download complete [2023-05-24T18:44:51.428Z] 339a4e72a1f5: Verifying Checksum [2023-05-24T18:44:51.429Z] 339a4e72a1f5: Download complete [2023-05-24T18:44:51.429Z] bde34c3a00c8: Verifying Checksum [2023-05-24T18:44:51.429Z] bde34c3a00c8: Download complete [2023-05-24T18:44:51.429Z] b352a97aabf1: Verifying Checksum [2023-05-24T18:44:51.429Z] b352a97aabf1: Download complete [2023-05-24T18:44:51.429Z] 4872d77fe225: Verifying Checksum [2023-05-24T18:44:51.429Z] 4872d77fe225: Download complete [2023-05-24T18:44:51.429Z] 5851b861e8e6: Verifying Checksum [2023-05-24T18:44:51.429Z] 5851b861e8e6: Download complete [2023-05-24T18:44:51.688Z] b85a868b505f: Verifying Checksum [2023-05-24T18:44:51.688Z] b85a868b505f: Download complete [2023-05-24T18:44:51.947Z] bab4dde63d76: Verifying Checksum [2023-05-24T18:44:51.947Z] bab4dde63d76: Download complete [2023-05-24T18:44:53.323Z] b85a868b505f: Pull complete [2023-05-24T18:44:53.582Z] e2be974225ed: Pull complete [2023-05-24T18:44:54.151Z] 339a4e72a1f5: Pull complete [2023-05-24T18:44:54.409Z] 988bab9f4d93: Pull complete [2023-05-24T18:44:54.978Z] 1469e6f7b9e6: Pull complete [2023-05-24T18:44:54.978Z] eaf3925da568: Pull complete [2023-05-24T18:44:56.352Z] bab4dde63d76: Pull complete [2023-05-24T18:44:56.611Z] bde34c3a00c8: Pull complete [2023-05-24T18:44:56.611Z] b352a97aabf1: Pull complete [2023-05-24T18:44:56.611Z] 4872d77fe225: Pull complete [2023-05-24T18:44:56.880Z] 5851b861e8e6: Pull complete [2023-05-24T18:44:56.880Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-24T18:44:56.880Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T18:44:56.880Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T18:44:56.970Z] prd-ubuntu20.04-docker-8c-8g-16762 does not seem to be running inside a container [2023-05-24T18:44:57.006Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1460 -v /w/workspace/gexfoundry_device-sdk-go_PR-1460:/w/workspace/gexfoundry_device-sdk-go_PR-1460:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-24T18:44:58.282Z] $ docker top c8979121e2b06353422fca43c3d8eff3e7ae9a1b1f2cde7e1a3accc358d8a873 -eo pid,comm [2023-05-24T18:44:58.333Z] 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-05-24T18:44:58.333Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-24T18:44:58.368Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-24T18:44:58.368Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-24T18:44:58.492Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-24T18:44:58.497Z] $ docker exec c8979121e2b06353422fca43c3d8eff3e7ae9a1b1f2cde7e1a3accc358d8a873 ssh-agent [2023-05-24T18:44:58.604Z] SSH_AUTH_SOCK=/tmp/ssh-dhJMWzpA9XzJ/agent.32 [2023-05-24T18:44:58.604Z] SSH_AGENT_PID=38 [2023-05-24T18:44:58.610Z] Running ssh-add (command line suppressed) [2023-05-24T18:44:58.724Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp/private_key_8617777050422569443.key (/w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp/private_key_8617777050422569443.key) [2023-05-24T18:44:58.738Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-24T18:44:59.026Z] + git tag --points-at HEAD [Pipeline] } [2023-05-24T18:44:59.045Z] $ docker exec --env ******** --env ******** c8979121e2b06353422fca43c3d8eff3e7ae9a1b1f2cde7e1a3accc358d8a873 ssh-agent -k [2023-05-24T18:44:59.156Z] unset SSH_AUTH_SOCK; [2023-05-24T18:44:59.157Z] unset SSH_AGENT_PID; [2023-05-24T18:44:59.157Z] echo Agent pid 38 killed; [2023-05-24T18:44:59.169Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-24T18:44:59.194Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-24T18:44:59.194Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-24T18:44:59.317Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-24T18:44:59.321Z] $ docker exec c8979121e2b06353422fca43c3d8eff3e7ae9a1b1f2cde7e1a3accc358d8a873 ssh-agent [2023-05-24T18:44:59.448Z] SSH_AUTH_SOCK=/tmp/ssh-XRDTytI9tNmH/agent.70 [2023-05-24T18:44:59.448Z] SSH_AGENT_PID=76 [2023-05-24T18:44:59.453Z] Running ssh-add (command line suppressed) [2023-05-24T18:44:59.574Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp/private_key_15978708059364655930.key (/w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp/private_key_15978708059364655930.key) [2023-05-24T18:44:59.587Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-24T18:44:59.885Z] + git semver init [2023-05-24T18:45:00.145Z] 2023-05-24 18:45:00,053 [run_init] DEBUG init version:0.0.0 force:False [2023-05-24T18:45:00.145Z] 2023-05-24 18:45:00,054 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1460/.semver [2023-05-24T18:45:00.145Z] 2023-05-24 18:45:00,054 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1460/.semver [2023-05-24T18:45:00.145Z] 2023-05-24 18:45:00,054 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1460/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1460, universal_newlines=False, shell=None, istream=None) [2023-05-24T18:45:01.081Z] 2023-05-24 18:45:00,854 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1460/.git/info/exclude [2023-05-24T18:45:01.081Z] 2023-05-24 18:45:00,854 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1460/.semver/PR-1460 with force:False [2023-05-24T18:45:01.081Z] 2023-05-24 18:45:00,854 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1460/.semver/PR-1460 [2023-05-24T18:45:01.081Z] 2023-05-24 18:45:00,859 [execute] INFO git cat-file --batch-check [2023-05-24T18:45:01.081Z] 2023-05-24 18:45:00,859 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1460/.semver, universal_newlines=False, shell=None, istream=) [2023-05-24T18:45:01.081Z] 2023-05-24 18:45:00,865 [execute] INFO git cat-file --batch [2023-05-24T18:45:01.081Z] 2023-05-24 18:45:00,865 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1460/.semver, universal_newlines=False, shell=None, istream=) [2023-05-24T18:45:01.081Z] 2023-05-24 18:45:00,869 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1460/.semver/PR-1460 [2023-05-24T18:45:01.081Z] 0.0.0 [Pipeline] } [2023-05-24T18:45:01.093Z] $ docker exec --env ******** --env ******** c8979121e2b06353422fca43c3d8eff3e7ae9a1b1f2cde7e1a3accc358d8a873 ssh-agent -k [2023-05-24T18:45:01.193Z] unset SSH_AUTH_SOCK; [2023-05-24T18:45:01.193Z] unset SSH_AGENT_PID; [2023-05-24T18:45:01.193Z] echo Agent pid 76 killed; [2023-05-24T18:45:01.202Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-24T18:45:01.522Z] + git semver [Pipeline] } [2023-05-24T18:45:01.799Z] $ docker stop --time=1 c8979121e2b06353422fca43c3d8eff3e7ae9a1b1f2cde7e1a3accc358d8a873 [2023-05-24T18:45:03.084Z] $ docker rm -f --volumes c8979121e2b06353422fca43c3d8eff3e7ae9a1b1f2cde7e1a3accc358d8a873 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-24T18:45:03.415Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-24T18:45:03.621Z] Stashed 1 file(s) [Pipeline] echo [2023-05-24T18:45:03.623Z] [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-05-24T18:45:03.738Z] provisioning config files... [2023-05-24T18:45:03.749Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp/config1321160701823944804tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:45:04.043Z] ---> docker-login.sh [2023-05-24T18:45:04.043Z] nexus3.edgexfoundry.org:10001 [2023-05-24T18:45:04.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:45:04.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:45:04.043Z] Configure a credential helper to remove this warning. See [2023-05-24T18:45:04.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:45:04.043Z] [2023-05-24T18:45:04.043Z] Login Succeeded [2023-05-24T18:45:04.043Z] nexus3.edgexfoundry.org:10002 [2023-05-24T18:45:04.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:45:04.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:45:04.043Z] Configure a credential helper to remove this warning. See [2023-05-24T18:45:04.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:45:04.043Z] [2023-05-24T18:45:04.043Z] Login Succeeded [2023-05-24T18:45:04.043Z] nexus3.edgexfoundry.org:10003 [2023-05-24T18:45:04.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:45:04.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:45:04.302Z] Configure a credential helper to remove this warning. See [2023-05-24T18:45:04.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:45:04.302Z] [2023-05-24T18:45:04.302Z] Login Succeeded [2023-05-24T18:45:04.302Z] nexus3.edgexfoundry.org:10004 [2023-05-24T18:45:04.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:45:04.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:45:04.302Z] Configure a credential helper to remove this warning. See [2023-05-24T18:45:04.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:45:04.302Z] [2023-05-24T18:45:04.302Z] Login Succeeded [2023-05-24T18:45:04.302Z] docker.io [2023-05-24T18:45:04.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:45:04.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:45:04.823Z] Configure a credential helper to remove this warning. See [2023-05-24T18:45:04.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:45:04.823Z] [2023-05-24T18:45:04.823Z] Login Succeeded [2023-05-24T18:45:04.823Z] ---> docker-login.sh ends [Pipeline] } [2023-05-24T18:45:04.830Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-24T18:45:04.894Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T18:45:04.910Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T18:45:04.917Z] ========================================================= [2023-05-24T18:45:04.917Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-24T18:45:04.917Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:45:05.227Z] + 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-05-24T18:45:05.227Z] Sending build context to Docker daemon 11.2MB [2023-05-24T18:45:05.227Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-24T18:45:05.227Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-24T18:45:05.227Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-24T18:45:05.227Z] f56be85fc22e: Pulling fs layer [2023-05-24T18:45:05.227Z] 85791d961cd3: Pulling fs layer [2023-05-24T18:45:05.227Z] d694b5ae8c79: Pulling fs layer [2023-05-24T18:45:05.227Z] 9f32a84ed3da: Pulling fs layer [2023-05-24T18:45:05.227Z] 4d19c01a9841: Pulling fs layer [2023-05-24T18:45:05.227Z] 9325e15d5711: Pulling fs layer [2023-05-24T18:45:05.227Z] 556b6ee489ea: Pulling fs layer [2023-05-24T18:45:05.227Z] c5a4b2cf53e6: Pulling fs layer [2023-05-24T18:45:05.227Z] 4d19c01a9841: Waiting [2023-05-24T18:45:05.227Z] 9325e15d5711: Waiting [2023-05-24T18:45:05.227Z] 556b6ee489ea: Waiting [2023-05-24T18:45:05.227Z] c5a4b2cf53e6: Waiting [2023-05-24T18:45:05.227Z] 9f32a84ed3da: Waiting [2023-05-24T18:45:05.227Z] 85791d961cd3: Verifying Checksum [2023-05-24T18:45:05.227Z] 85791d961cd3: Download complete [2023-05-24T18:45:05.486Z] 9f32a84ed3da: Download complete [2023-05-24T18:45:05.486Z] 4d19c01a9841: Download complete [2023-05-24T18:45:05.486Z] f56be85fc22e: Verifying Checksum [2023-05-24T18:45:05.486Z] f56be85fc22e: Download complete [2023-05-24T18:45:05.486Z] 9325e15d5711: Verifying Checksum [2023-05-24T18:45:05.486Z] 9325e15d5711: Download complete [2023-05-24T18:45:05.486Z] f56be85fc22e: Pull complete [2023-05-24T18:45:05.744Z] 85791d961cd3: Pull complete [2023-05-24T18:45:05.744Z] c5a4b2cf53e6: Verifying Checksum [2023-05-24T18:45:05.744Z] c5a4b2cf53e6: Download complete [2023-05-24T18:45:06.002Z] d694b5ae8c79: Verifying Checksum [2023-05-24T18:45:06.002Z] d694b5ae8c79: Download complete [2023-05-24T18:45:06.259Z] 556b6ee489ea: Verifying Checksum [2023-05-24T18:45:06.259Z] 556b6ee489ea: Download complete [2023-05-24T18:45:09.538Z] d694b5ae8c79: Pull complete [2023-05-24T18:45:09.538Z] 9f32a84ed3da: Pull complete [2023-05-24T18:45:09.538Z] 4d19c01a9841: Pull complete [2023-05-24T18:45:09.538Z] 9325e15d5711: Pull complete [2023-05-24T18:45:12.063Z] 556b6ee489ea: Pull complete [2023-05-24T18:45:12.993Z] c5a4b2cf53e6: Pull complete [2023-05-24T18:45:12.993Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-24T18:45:12.993Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-24T18:45:12.993Z] ---> c4be618373d6 [2023-05-24T18:45:12.993Z] Step 3/10 : ARG MAKE=make build [2023-05-24T18:45:14.370Z] ---> Running in 90f19d463d96 [2023-05-24T18:45:14.370Z] Removing intermediate container 90f19d463d96 [2023-05-24T18:45:14.370Z] ---> 775d7e07d80e [2023-05-24T18:45:14.370Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-24T18:45:14.370Z] ---> Running in 43e7c04b9a04 [2023-05-24T18:45:14.628Z] Removing intermediate container 43e7c04b9a04 [2023-05-24T18:45:14.628Z] ---> 0a2c1d57da15 [2023-05-24T18:45:14.628Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-24T18:45:14.628Z] ---> Running in 456af10a0117 [2023-05-24T18:45:14.628Z] Removing intermediate container 456af10a0117 [2023-05-24T18:45:14.628Z] ---> 57e288274886 [2023-05-24T18:45:14.628Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-24T18:45:14.628Z] ---> Running in ef6d0ae4395f [2023-05-24T18:45:14.887Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-24T18:45:15.146Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-24T18:45:15.405Z] OK: 265 MiB in 53 packages [2023-05-24T18:45:15.665Z] Removing intermediate container ef6d0ae4395f [2023-05-24T18:45:15.666Z] ---> 6b28169d4565 [2023-05-24T18:45:15.666Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-24T18:45:15.666Z] ---> 7046ed30235b [2023-05-24T18:45:15.666Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-24T18:45:15.666Z] ---> Running in 54e61b4d8a99 [2023-05-24T18:45:18.707Z] Still waiting to schedule task [2023-05-24T18:45:18.707Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-24T18:45:42.209Z] Removing intermediate container 54e61b4d8a99 [2023-05-24T18:45:42.209Z] ---> a2e059fb9c58 [2023-05-24T18:45:42.209Z] Step 9/10 : COPY . . [2023-05-24T18:45:42.209Z] ---> d48cf4f50145 [2023-05-24T18:45:42.209Z] Step 10/10 : RUN ${MAKE} [2023-05-24T18:45:42.209Z] ---> Running in d0cc2cecfcbf [2023-05-24T18:45:42.209Z] noop [2023-05-24T18:45:42.209Z] Removing intermediate container d0cc2cecfcbf [2023-05-24T18:45:42.209Z] ---> 450dea638fb7 [2023-05-24T18:45:42.209Z] Successfully built 450dea638fb7 [2023-05-24T18:45:42.209Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:45:42.512Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-24T18:45:42.512Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T18:45:42.583Z] prd-ubuntu20.04-docker-8c-8g-16762 does not seem to be running inside a container [2023-05-24T18:45:42.612Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1460 -v /w/workspace/gexfoundry_device-sdk-go_PR-1460:/w/workspace/gexfoundry_device-sdk-go_PR-1460:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1460@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-x86_64 cat [2023-05-24T18:45:42.942Z] $ docker top 2d90ab54c32b2e415e90815ac799c9eef5011a293d78554e99a10d6bfb3f6192 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T18:45:43.283Z] + go version [2023-05-24T18:45:43.283Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-24T18:45:43.297Z] $ docker stop --time=1 2d90ab54c32b2e415e90815ac799c9eef5011a293d78554e99a10d6bfb3f6192 [2023-05-24T18:45:44.561Z] $ docker rm -f --volumes 2d90ab54c32b2e415e90815ac799c9eef5011a293d78554e99a10d6bfb3f6192 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:45:44.964Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-24T18:45:44.964Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T18:45:45.032Z] prd-ubuntu20.04-docker-8c-8g-16762 does not seem to be running inside a container [2023-05-24T18:45:45.066Z] $ 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-1460 -v /w/workspace/gexfoundry_device-sdk-go_PR-1460:/w/workspace/gexfoundry_device-sdk-go_PR-1460:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1460@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-x86_64 cat [2023-05-24T18:45:45.391Z] $ docker top e92b38bf7a6010307f298042e2add8850238e6907ac30ebd34505c6270ef1d10 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T18:45:45.733Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1460 [Pipeline] fileExists [Pipeline] sh [2023-05-24T18:45:46.029Z] + make test [2023-05-24T18:45:46.029Z] go test -race -coverprofile=coverage.out ./... [2023-05-24T18:45:52.592Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-24T18:46:04.789Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-24T18:46:04.789Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-24T18:46:04.789Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-24T18:46:04.789Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-24T18:46:04.789Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-24T18:46:04.789Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.057s coverage: 27.6% of statements [2023-05-24T18:46:05.047Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-24T18:46:05.047Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-24T18:46:05.047Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.061s coverage: 80.2% of statements [2023-05-24T18:46:05.047Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.082s coverage: 86.0% of statements [2023-05-24T18:46:05.304Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-24T18:46:05.561Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.105s coverage: 77.5% of statements [2023-05-24T18:46:05.819Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-24T18:46:06.077Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-24T18:46:06.077Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-24T18:46:06.643Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-24T18:46:09.174Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.060s coverage: 14.3% of statements [2023-05-24T18:46:09.174Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.073s coverage: 68.5% of statements [2023-05-24T18:46:09.174Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.110s coverage: 89.2% of statements [2023-05-24T18:46:09.174Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.065s coverage: 5.7% of statements [2023-05-24T18:46:27.316Z] GO111MODULE=on go vet ./... [2023-05-24T18:46:30.602Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-24T18:46:30.602Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-24T18:46:30.602Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-24T18:46:30.615Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-24T18:46:30.634Z] $ docker stop --time=1 e92b38bf7a6010307f298042e2add8850238e6907ac30ebd34505c6270ef1d10 [2023-05-24T18:46:33.457Z] $ docker rm -f --volumes e92b38bf7a6010307f298042e2add8850238e6907ac30ebd34505c6270ef1d10 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-24T18:46:33.963Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-24T18:46:34.026Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-24T18:46:34.620Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-24T18:46:34.908Z] + ls -al . [2023-05-24T18:46:34.908Z] total 272 [2023-05-24T18:46:34.908Z] drwxrwxr-x 11 jenkins jenkins 4096 May 24 18:45 . [2023-05-24T18:46:34.908Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 18:44 .. [2023-05-24T18:46:34.908Z] -rw-rw-r-- 1 jenkins jenkins 140 May 24 18:44 .dockerignore [2023-05-24T18:46:34.908Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 18:45 .git [2023-05-24T18:46:34.908Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 18:44 .github [2023-05-24T18:46:34.908Z] -rw-rw-r-- 1 jenkins jenkins 137 May 24 18:44 .gitignore [2023-05-24T18:46:34.908Z] -rw-rw-r-- 1 jenkins jenkins 42 May 24 18:44 .golangci.yml [2023-05-24T18:46:34.908Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 18:45 .semver [2023-05-24T18:46:34.908Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 24 18:44 CHANGELOG.md [2023-05-24T18:46:34.908Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 18:44 GOVERNANCE.md [2023-05-24T18:46:34.908Z] -rw-rw-r-- 1 jenkins jenkins 885 May 24 18:44 Jenkinsfile [2023-05-24T18:46:34.908Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 24 18:44 LICENSE [2023-05-24T18:46:34.908Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 24 18:44 Makefile [2023-05-24T18:46:34.908Z] -rw-rw-r-- 1 jenkins jenkins 619 May 24 18:44 OWNERS.md [2023-05-24T18:46:34.908Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 24 18:44 README.md [2023-05-24T18:46:34.908Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 18:45 VERSION [2023-05-24T18:46:34.908Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 18:44 bin [2023-05-24T18:46:34.908Z] -rw-r--r-- 1 jenkins jenkins 106150 May 24 18:46 coverage.out [2023-05-24T18:46:34.908Z] drwxrwxr-x 5 jenkins jenkins 4096 May 24 18:44 example [2023-05-24T18:46:34.908Z] -rw-rw-r-- 1 jenkins jenkins 3193 May 24 18:44 go.mod [2023-05-24T18:46:34.908Z] -rw-rw-r-- 1 jenkins jenkins 30789 May 24 18:44 go.sum [2023-05-24T18:46:34.908Z] drwxrwxr-x 12 jenkins jenkins 4096 May 24 18:44 internal [2023-05-24T18:46:34.908Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 18:44 openapi [2023-05-24T18:46:34.908Z] drwxrwxr-x 6 jenkins jenkins 4096 May 24 18:44 pkg [2023-05-24T18:46:34.908Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 18:44 snap [2023-05-24T18:46:34.908Z] -rw-rw-r-- 1 jenkins jenkins 222 May 24 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:46:35.206Z] + 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=8bdfe598af47f2b9dec1fa278782d82891b70a5c --label arch=amd64 --label version=0.0.0 . [2023-05-24T18:46:35.206Z] Sending build context to Docker daemon 11.31MB [2023-05-24T18:46:35.206Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-24T18:46:35.206Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-24T18:46:35.206Z] ---> 450dea638fb7 [2023-05-24T18:46:35.206Z] Step 3/23 : ARG MAKE=make build [2023-05-24T18:46:35.206Z] ---> Running in e137d66dcc45 [2023-05-24T18:46:35.465Z] Removing intermediate container e137d66dcc45 [2023-05-24T18:46:35.465Z] ---> 0c74e328f6bc [2023-05-24T18:46:35.465Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-24T18:46:35.465Z] ---> Running in bab1f93b281a [2023-05-24T18:46:35.465Z] Removing intermediate container bab1f93b281a [2023-05-24T18:46:35.465Z] ---> 9c291d3800e4 [2023-05-24T18:46:35.465Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-24T18:46:35.465Z] ---> Running in 93c0b5ed3f38 [2023-05-24T18:46:35.465Z] Removing intermediate container 93c0b5ed3f38 [2023-05-24T18:46:35.465Z] ---> 04899387692e [2023-05-24T18:46:35.465Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-24T18:46:35.465Z] ---> Running in 066c8e093825 [2023-05-24T18:46:36.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-24T18:46:36.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-24T18:46:36.032Z] OK: 265 MiB in 53 packages [2023-05-24T18:46:36.598Z] Removing intermediate container 066c8e093825 [2023-05-24T18:46:36.598Z] ---> 50cd0170a704 [2023-05-24T18:46:36.598Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-24T18:46:36.598Z] ---> 9f66adfe2d36 [2023-05-24T18:46:36.598Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-24T18:46:36.598Z] ---> Running in 633ac1574820 [2023-05-24T18:46:37.535Z] Removing intermediate container 633ac1574820 [2023-05-24T18:46:37.535Z] ---> 5728b15baeb3 [2023-05-24T18:46:37.535Z] Step 9/23 : COPY . . [2023-05-24T18:46:37.792Z] ---> 8ef62eaf2022 [2023-05-24T18:46:37.792Z] Step 10/23 : RUN ${MAKE} [2023-05-24T18:46:37.792Z] ---> Running in 495fd6e6dc8d [2023-05-24T18:46:38.049Z] 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-05-24T18:46:56.121Z] Removing intermediate container 495fd6e6dc8d [2023-05-24T18:46:56.121Z] ---> c9b4a843742d [2023-05-24T18:46:56.121Z] Step 11/23 : FROM alpine:3.17 [2023-05-24T18:46:56.689Z] 3.17: Pulling from library/alpine [2023-05-24T18:46:56.689Z] f56be85fc22e: Already exists [2023-05-24T18:46:56.689Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-24T18:46:56.689Z] Status: Downloaded newer image for alpine:3.17 [2023-05-24T18:46:56.689Z] ---> 9ed4aefc74f6 [2023-05-24T18:46:56.689Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-24T18:46:56.689Z] ---> Running in cb8d313d9899 [2023-05-24T18:46:56.948Z] Removing intermediate container cb8d313d9899 [2023-05-24T18:46:56.948Z] ---> 1eda048c28fa [2023-05-24T18:46:56.948Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-24T18:46:56.948Z] ---> Running in b093af092802 [2023-05-24T18:46:57.206Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-24T18:46:57.206Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-24T18:46:57.464Z] OK: 7 MiB in 15 packages [2023-05-24T18:46:57.723Z] Removing intermediate container b093af092802 [2023-05-24T18:46:57.723Z] ---> 132fa8919675 [2023-05-24T18:46:57.723Z] Step 14/23 : WORKDIR / [2023-05-24T18:46:57.723Z] ---> Running in ec9fe970e24e [2023-05-24T18:46:57.982Z] Removing intermediate container ec9fe970e24e [2023-05-24T18:46:57.982Z] ---> 2a63da5770b3 [2023-05-24T18:46:57.982Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-24T18:46:57.982Z] ---> fb7c6f34623c [2023-05-24T18:46:57.982Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-24T18:46:58.549Z] ---> c5a3ab6f162e [2023-05-24T18:46:58.549Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-24T18:46:58.808Z] ---> 66e2e4726efa [2023-05-24T18:46:58.808Z] Step 18/23 : EXPOSE 59999 [2023-05-24T18:46:58.808Z] ---> Running in cf151400c963 [2023-05-24T18:46:58.808Z] Removing intermediate container cf151400c963 [2023-05-24T18:46:58.808Z] ---> a139ff303ee6 [2023-05-24T18:46:58.808Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-24T18:46:58.808Z] ---> Running in 9af6b066cc65 [2023-05-24T18:46:58.808Z] Removing intermediate container 9af6b066cc65 [2023-05-24T18:46:58.808Z] ---> b2d40caed720 [2023-05-24T18:46:58.808Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-24T18:46:59.066Z] ---> Running in f3c439e2fd15 [2023-05-24T18:46:59.066Z] Removing intermediate container f3c439e2fd15 [2023-05-24T18:46:59.066Z] ---> 0047909d1473 [2023-05-24T18:46:59.066Z] Step 21/23 : LABEL arch=amd64 [2023-05-24T18:46:59.066Z] ---> Running in f6ea88a8acb8 [2023-05-24T18:46:59.066Z] Removing intermediate container f6ea88a8acb8 [2023-05-24T18:46:59.066Z] ---> 0143c9c33142 [2023-05-24T18:46:59.066Z] Step 22/23 : LABEL git_sha=8bdfe598af47f2b9dec1fa278782d82891b70a5c [2023-05-24T18:46:59.066Z] ---> Running in 03452fb0d254 [2023-05-24T18:46:59.324Z] Removing intermediate container 03452fb0d254 [2023-05-24T18:46:59.324Z] ---> d43ab9b5fe83 [2023-05-24T18:46:59.324Z] Step 23/23 : LABEL version=0.0.0 [2023-05-24T18:46:59.324Z] ---> Running in 14329ac582b4 [2023-05-24T18:46:59.324Z] Removing intermediate container 14329ac582b4 [2023-05-24T18:46:59.324Z] ---> f0f1cfebce04 [2023-05-24T18:46:59.324Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-24T18:46:59.324Z] Successfully built f0f1cfebce04 [2023-05-24T18:46:59.324Z] 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-05-24T18:46:59.748Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T18:46:59.748Z] [2023-05-24T18:46:59.748Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:47:00.039Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T18:47:00.039Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-24T18:47:00.039Z] 5eb5b503b376: Pulling fs layer [2023-05-24T18:47:00.039Z] 5c69ac0246d0: Pulling fs layer [2023-05-24T18:47:00.039Z] ec43610c2a17: Pulling fs layer [2023-05-24T18:47:00.039Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-24T18:47:00.039Z] 33b1e0a273af: Pulling fs layer [2023-05-24T18:47:00.039Z] 5d3b04190fa2: Pulling fs layer [2023-05-24T18:47:00.039Z] 2f39f015ded8: Pulling fs layer [2023-05-24T18:47:00.039Z] 3a2ae6a8a46f: Waiting [2023-05-24T18:47:00.039Z] 2f39f015ded8: Waiting [2023-05-24T18:47:00.039Z] 33b1e0a273af: Waiting [2023-05-24T18:47:00.039Z] 5d3b04190fa2: Waiting [2023-05-24T18:47:00.039Z] 5c69ac0246d0: Verifying Checksum [2023-05-24T18:47:00.039Z] 5c69ac0246d0: Download complete [2023-05-24T18:47:00.039Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-24T18:47:00.039Z] 3a2ae6a8a46f: Download complete [2023-05-24T18:47:00.039Z] 33b1e0a273af: Verifying Checksum [2023-05-24T18:47:00.039Z] 33b1e0a273af: Download complete [2023-05-24T18:47:00.039Z] 5d3b04190fa2: Download complete [2023-05-24T18:47:00.039Z] ec43610c2a17: Verifying Checksum [2023-05-24T18:47:00.039Z] ec43610c2a17: Download complete [2023-05-24T18:47:00.297Z] 5eb5b503b376: Verifying Checksum [2023-05-24T18:47:00.298Z] 5eb5b503b376: Download complete [2023-05-24T18:47:00.863Z] 2f39f015ded8: Download complete [2023-05-24T18:47:01.429Z] 5eb5b503b376: Pull complete [2023-05-24T18:47:01.688Z] 5c69ac0246d0: Pull complete [2023-05-24T18:47:02.254Z] ec43610c2a17: Pull complete [2023-05-24T18:47:02.254Z] 3a2ae6a8a46f: Pull complete [2023-05-24T18:47:02.512Z] 33b1e0a273af: Pull complete [2023-05-24T18:47:02.512Z] 5d3b04190fa2: Pull complete [2023-05-24T18:47:06.692Z] 2f39f015ded8: Pull complete [2023-05-24T18:47:06.692Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-24T18:47:06.692Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T18:47:06.692Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T18:47:06.772Z] prd-ubuntu20.04-docker-8c-8g-16762 does not seem to be running inside a container [2023-05-24T18:47:06.802Z] $ 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-1460 -v /w/workspace/gexfoundry_device-sdk-go_PR-1460:/w/workspace/gexfoundry_device-sdk-go_PR-1460:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-24T18:47:08.843Z] $ docker top dd638fdd6d768baf04d9f7a56a2915f017093bd676530f33eb211bda5cf18605 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:47:09.236Z] ---> job-cost.sh [2023-05-24T18:47:09.236Z] lf-activate-venv: SKIPPING [2023-05-24T18:47:09.236Z] INFO: No Stack... [2023-05-24T18:47:09.495Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-24T18:47:09.753Z] INFO: Archiving Costs [Pipeline] sh [2023-05-24T18:47:10.042Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1460/archives/cost.csv [2023-05-24T18:47:10.042Z] + cut -d, -f6 [Pipeline] lock [2023-05-24T18:47:10.057Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1460-3-stack-cost] [2023-05-24T18:47:10.064Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1460-3-stack-cost] did not exist. Created. [2023-05-24T18:47:10.064Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1460-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-24T18:47:10.361Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-24T18:47:10.393Z] Stashed 1 file(s) [Pipeline] } [2023-05-24T18:47:10.399Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1460-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-24T18:47:10.418Z] $ docker stop --time=1 dd638fdd6d768baf04d9f7a56a2915f017093bd676530f33eb211bda5cf18605 [2023-05-24T18:47:11.566Z] $ docker rm -f --volumes dd638fdd6d768baf04d9f7a56a2915f017093bd676530f33eb211bda5cf18605 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-24T18:48:59.348Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16764 in /w/workspace/gexfoundry_device-sdk-go_PR-1460 [Pipeline] { [Pipeline] ws [2023-05-24T18:48:59.361Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2023-05-24T18:48:59.405Z] The recommended git tool is: git [2023-05-24T18:49:06.069Z] using credential edgex-jenkins-ssh [2023-05-24T18:49:06.087Z] Cloning the remote Git repository [2023-05-24T18:49:06.131Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-05-24T18:49:06.232Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2023-05-24T18:49:06.410Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-24T18:49:06.412Z] > git --version # timeout=10 [2023-05-24T18:49:06.439Z] > git --version # 'git version 2.25.1' [2023-05-24T18:49:06.443Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-24T18:49:06.628Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-24T18:49:08.356Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-24T18:49:08.384Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-24T18:49:09.425Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-24T18:49:09.470Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-24T18:49:09.471Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-24T18:49:09.487Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1460/head:refs/remotes/origin/PR-1460 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-24T18:49:10.099Z] Merging remotes/origin/main commit 5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1 into PR head commit 268da6f83e209ba80039c304e6dff6a0d7afc8ae [2023-05-24T18:49:10.481Z] Merge succeeded, producing 2692f0563c057608cef1e768a4b9bc6c33380055 [2023-05-24T18:49:10.482Z] Checking out Revision 2692f0563c057608cef1e768a4b9bc6c33380055 (PR-1460) [2023-05-24T18:49:10.116Z] > git config core.sparsecheckout # timeout=10 [2023-05-24T18:49:10.188Z] > git checkout -f 268da6f83e209ba80039c304e6dff6a0d7afc8ae # timeout=10 [2023-05-24T18:49:10.303Z] > git remote # timeout=10 [2023-05-24T18:49:10.323Z] > git config --get remote.origin.url # timeout=10 [2023-05-24T18:49:10.351Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-24T18:49:10.364Z] > git merge 5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1 # timeout=10 [2023-05-24T18:49:10.459Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-24T18:49:10.486Z] > git config core.sparsecheckout # timeout=10 [2023-05-24T18:49:10.503Z] > git checkout -f 2692f0563c057608cef1e768a4b9bc6c33380055 # timeout=10 [2023-05-24T18:49:14.076Z] Commit message: "Merge commit '5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1' into HEAD" [2023-05-24T18:49:14.102Z] First time build. Skipping changelog. [2023-05-24T18:49:14.083Z] > git rev-list --no-walk 5f7d514eb1172a9858783636d846cfe9ecce1f69 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-24T18:49:15.044Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-24T18:49:15.044Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-24T18:49:15.044Z] Dload Upload Total Spent Left Speed [2023-05-24T18:49:15.044Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 52044 0 --:--:-- --:--:-- --:--:-- 51833 [Pipeline] sh [2023-05-24T18:49:15.960Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-24T18:49:16.294Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-24T18:49:16.294Z] + sudo tee /etc/docker/daemon.new [2023-05-24T18:49:16.294Z] { [2023-05-24T18:49:16.294Z] "registry-mirrors": [ [2023-05-24T18:49:16.294Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-24T18:49:16.294Z] ], [2023-05-24T18:49:16.294Z] "bip": "10.250.0.254/24", [2023-05-24T18:49:16.294Z] "hosts": [ [2023-05-24T18:49:16.294Z] "tcp://0.0.0.0:5555", [2023-05-24T18:49:16.294Z] "unix:///var/run/docker.sock" [2023-05-24T18:49:16.294Z] ], [2023-05-24T18:49:16.295Z] "mtu": 1458, [2023-05-24T18:49:16.295Z] "selinux-enabled": true, [2023-05-24T18:49:16.295Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-24T18:49:16.295Z] } [Pipeline] sh [2023-05-24T18:49:16.633Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-24T18:49:16.984Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-24T18:49:35.306Z] provisioning config files... [2023-05-24T18:49:35.338Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config3869083698999571447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:49:35.707Z] ---> docker-login.sh [2023-05-24T18:49:35.707Z] nexus3.edgexfoundry.org:10001 [2023-05-24T18:49:36.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:49:36.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:49:36.299Z] Configure a credential helper to remove this warning. See [2023-05-24T18:49:36.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:49:36.299Z] [2023-05-24T18:49:36.299Z] Login Succeeded [2023-05-24T18:49:36.299Z] nexus3.edgexfoundry.org:10002 [2023-05-24T18:49:36.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:49:36.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:49:36.848Z] Configure a credential helper to remove this warning. See [2023-05-24T18:49:36.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:49:36.848Z] [2023-05-24T18:49:36.848Z] Login Succeeded [2023-05-24T18:49:36.848Z] nexus3.edgexfoundry.org:10003 [2023-05-24T18:49:37.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:49:37.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:49:37.121Z] Configure a credential helper to remove this warning. See [2023-05-24T18:49:37.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:49:37.121Z] [2023-05-24T18:49:37.121Z] Login Succeeded [2023-05-24T18:49:37.121Z] nexus3.edgexfoundry.org:10004 [2023-05-24T18:49:37.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:49:37.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:49:37.670Z] Configure a credential helper to remove this warning. See [2023-05-24T18:49:37.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:49:37.670Z] [2023-05-24T18:49:37.670Z] Login Succeeded [2023-05-24T18:49:37.670Z] docker.io [2023-05-24T18:49:37.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:49:38.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:49:38.212Z] Configure a credential helper to remove this warning. See [2023-05-24T18:49:38.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:49:38.212Z] [2023-05-24T18:49:38.212Z] Login Succeeded [2023-05-24T18:49:38.212Z] ---> docker-login.sh ends [Pipeline] } [2023-05-24T18:49:38.228Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-24T18:49:38.532Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T18:49:38.547Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T18:49:38.560Z] ========================================================= [2023-05-24T18:49:38.560Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-24T18:49:38.560Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:49:38.934Z] + 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-05-24T18:49:39.535Z] Sending build context to Docker daemon 6.034MB [2023-05-24T18:49:39.535Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-24T18:49:39.535Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-24T18:49:39.535Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-24T18:49:39.535Z] c41833b44d91: Pulling fs layer [2023-05-24T18:49:39.535Z] ed15518f5707: Pulling fs layer [2023-05-24T18:49:39.535Z] feae8fd75edb: Pulling fs layer [2023-05-24T18:49:39.535Z] 242c74f7c9fa: Pulling fs layer [2023-05-24T18:49:39.535Z] 3cdef696dda3: Pulling fs layer [2023-05-24T18:49:39.535Z] 2ced38df9373: Pulling fs layer [2023-05-24T18:49:39.535Z] 58f1dce35555: Pulling fs layer [2023-05-24T18:49:39.535Z] 242c74f7c9fa: Waiting [2023-05-24T18:49:39.535Z] 3cdef696dda3: Waiting [2023-05-24T18:49:39.535Z] 2ced38df9373: Waiting [2023-05-24T18:49:39.535Z] 58f1dce35555: Waiting [2023-05-24T18:49:39.535Z] ed15518f5707: Verifying Checksum [2023-05-24T18:49:39.535Z] ed15518f5707: Download complete [2023-05-24T18:49:39.535Z] 242c74f7c9fa: Verifying Checksum [2023-05-24T18:49:39.535Z] 242c74f7c9fa: Download complete [2023-05-24T18:49:39.535Z] 3cdef696dda3: Verifying Checksum [2023-05-24T18:49:39.535Z] 3cdef696dda3: Download complete [2023-05-24T18:49:39.807Z] c41833b44d91: Verifying Checksum [2023-05-24T18:49:39.807Z] c41833b44d91: Download complete [2023-05-24T18:49:40.795Z] c41833b44d91: Pull complete [2023-05-24T18:49:41.064Z] 58f1dce35555: Verifying Checksum [2023-05-24T18:49:41.064Z] 58f1dce35555: Download complete [2023-05-24T18:49:41.336Z] ed15518f5707: Pull complete [2023-05-24T18:49:42.311Z] feae8fd75edb: Verifying Checksum [2023-05-24T18:49:42.311Z] feae8fd75edb: Download complete [2023-05-24T18:49:42.311Z] 2ced38df9373: Verifying Checksum [2023-05-24T18:49:42.311Z] 2ced38df9373: Download complete [2023-05-24T18:49:54.647Z] feae8fd75edb: Pull complete [2023-05-24T18:49:54.647Z] 242c74f7c9fa: Pull complete [2023-05-24T18:49:54.647Z] 3cdef696dda3: Pull complete [2023-05-24T18:50:00.033Z] 2ced38df9373: Pull complete [2023-05-24T18:50:02.648Z] 58f1dce35555: Pull complete [2023-05-24T18:50:02.648Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-24T18:50:02.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-24T18:50:02.648Z] ---> fadd8f120f05 [2023-05-24T18:50:02.648Z] Step 3/10 : ARG MAKE=make build [2023-05-24T18:50:04.609Z] ---> Running in 915ffd011d47 [2023-05-24T18:50:04.878Z] Removing intermediate container 915ffd011d47 [2023-05-24T18:50:04.878Z] ---> 38539dbe73d4 [2023-05-24T18:50:04.878Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-24T18:50:04.878Z] ---> Running in 64a230789f91 [2023-05-24T18:50:05.151Z] Removing intermediate container 64a230789f91 [2023-05-24T18:50:05.151Z] ---> f61dc42950fa [2023-05-24T18:50:05.151Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-24T18:50:05.151Z] ---> Running in e11f3c1a4376 [2023-05-24T18:50:05.734Z] Removing intermediate container e11f3c1a4376 [2023-05-24T18:50:05.734Z] ---> 64f1e5c566e1 [2023-05-24T18:50:05.734Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-24T18:50:05.734Z] ---> Running in 65d60420c5c9 [2023-05-24T18:50:06.696Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-24T18:50:07.282Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-24T18:50:08.710Z] OK: 263 MiB in 53 packages [2023-05-24T18:50:09.312Z] Removing intermediate container 65d60420c5c9 [2023-05-24T18:50:09.312Z] ---> e28e2554c06e [2023-05-24T18:50:09.312Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-24T18:50:12.665Z] ---> 74e722de3962 [2023-05-24T18:50:12.665Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-24T18:50:12.665Z] ---> Running in ef1f61fa5a2a [2023-05-24T18:51:20.582Z] Removing intermediate container ef1f61fa5a2a [2023-05-24T18:51:20.582Z] ---> 1a9e3519a276 [2023-05-24T18:51:20.582Z] Step 9/10 : COPY . . [2023-05-24T18:51:20.582Z] ---> 9b4cfd72ae92 [2023-05-24T18:51:20.582Z] Step 10/10 : RUN ${MAKE} [2023-05-24T18:51:20.582Z] ---> Running in 715654f9f5eb [2023-05-24T18:51:20.582Z] noop [2023-05-24T18:51:20.582Z] Removing intermediate container 715654f9f5eb [2023-05-24T18:51:20.582Z] ---> dbb08fa9dafc [2023-05-24T18:51:20.582Z] Successfully built dbb08fa9dafc [2023-05-24T18:51:20.582Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:51:20.932Z] + docker inspect -f . ci-base-image-arm64 [2023-05-24T18:51:20.933Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T18:51:21.147Z] prd-ubuntu20.04-docker-arm64-4c-16g-16764 does not seem to be running inside a container [2023-05-24T18:51:21.223Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-24T18:51:22.551Z] $ docker top 231e6b67310c5a269cf1b01fc96e7bb614ce9d3ef98583e5a1576ae6657ab552 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T18:51:23.428Z] + go version [2023-05-24T18:51:23.428Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-24T18:51:23.445Z] $ docker stop --time=1 231e6b67310c5a269cf1b01fc96e7bb614ce9d3ef98583e5a1576ae6657ab552 [2023-05-24T18:51:25.099Z] $ docker rm -f --volumes 231e6b67310c5a269cf1b01fc96e7bb614ce9d3ef98583e5a1576ae6657ab552 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:51:25.670Z] + docker inspect -f . ci-base-image-arm64 [2023-05-24T18:51:25.670Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T18:51:25.866Z] prd-ubuntu20.04-docker-arm64-4c-16g-16764 does not seem to be running inside a container [2023-05-24T18:51:25.937Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-24T18:51:27.256Z] $ docker top eff25cdfa1a1a4b870c9150ac95cf0f0fc802e6febaceea4c2c02a77098ca1fc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T18:51:28.129Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2023-05-24T18:51:28.791Z] + make test [2023-05-24T18:51:28.791Z] go test -race -coverprofile=coverage.out ./... [2023-05-24T18:52:15.670Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-24T18:54:54.176Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-24T18:54:54.176Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-24T18:54:54.176Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-24T18:54:54.176Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-24T18:54:54.176Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-24T18:54:59.558Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.252s coverage: 27.6% of statements [2023-05-24T18:55:01.520Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.322s coverage: 80.2% of statements [2023-05-24T18:55:14.134Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-24T18:55:14.134Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-24T18:55:14.134Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.432s coverage: 86.0% of statements [2023-05-24T18:55:18.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-24T18:55:18.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-24T18:55:18.995Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.514s coverage: 77.5% of statements [2023-05-24T18:55:22.345Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.300s coverage: 14.3% of statements [2023-05-24T18:55:24.953Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-24T18:55:24.953Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-24T18:55:24.953Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.536s coverage: 68.5% of statements [2023-05-24T18:55:26.908Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.488s coverage: 89.2% of statements [2023-05-24T18:55:31.166Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-24T18:55:31.166Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.272s coverage: 5.7% of statements [2023-05-24T18:55:31.750Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-24T18:55:31.750Z] GO111MODULE=on go vet ./... [2023-05-24T18:58:08.870Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-24T18:58:08.870Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-24T18:58:08.870Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-24T18:58:08.891Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-24T18:58:08.900Z] $ docker stop --time=1 eff25cdfa1a1a4b870c9150ac95cf0f0fc802e6febaceea4c2c02a77098ca1fc [2023-05-24T18:58:10.903Z] $ docker rm -f --volumes eff25cdfa1a1a4b870c9150ac95cf0f0fc802e6febaceea4c2c02a77098ca1fc [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-24T18:58:12.624Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-24T18:58:12.648Z] Warning: overwriting stash ‘coverage-report’ [2023-05-24T18:58:13.281Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-24T18:58:13.677Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-24T18:58:14.002Z] + ls -al . [2023-05-24T18:58:14.002Z] total 268 [2023-05-24T18:58:14.002Z] drwxrwxr-x 10 jenkins jenkins 4096 May 24 18:51 . [2023-05-24T18:58:14.002Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 18:49 .. [2023-05-24T18:58:14.002Z] -rw-rw-r-- 1 jenkins jenkins 140 May 24 18:49 .dockerignore [2023-05-24T18:58:14.002Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 18:49 .git [2023-05-24T18:58:14.002Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 18:49 .github [2023-05-24T18:58:14.002Z] -rw-rw-r-- 1 jenkins jenkins 137 May 24 18:49 .gitignore [2023-05-24T18:58:14.002Z] -rw-rw-r-- 1 jenkins jenkins 42 May 24 18:49 .golangci.yml [2023-05-24T18:58:14.002Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 24 18:49 CHANGELOG.md [2023-05-24T18:58:14.002Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 18:49 GOVERNANCE.md [2023-05-24T18:58:14.002Z] -rw-rw-r-- 1 jenkins jenkins 885 May 24 18:49 Jenkinsfile [2023-05-24T18:58:14.002Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 24 18:49 LICENSE [2023-05-24T18:58:14.002Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 24 18:49 Makefile [2023-05-24T18:58:14.002Z] -rw-rw-r-- 1 jenkins jenkins 619 May 24 18:49 OWNERS.md [2023-05-24T18:58:14.002Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 24 18:49 README.md [2023-05-24T18:58:14.002Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 18:45 VERSION [2023-05-24T18:58:14.002Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 18:49 bin [2023-05-24T18:58:14.002Z] -rw-r--r-- 1 jenkins jenkins 106152 May 24 18:55 coverage.out [2023-05-24T18:58:14.002Z] drwxrwxr-x 5 jenkins jenkins 4096 May 24 18:49 example [2023-05-24T18:58:14.002Z] -rw-rw-r-- 1 jenkins jenkins 3193 May 24 18:49 go.mod [2023-05-24T18:58:14.002Z] -rw-rw-r-- 1 jenkins jenkins 30789 May 24 18:49 go.sum [2023-05-24T18:58:14.002Z] drwxrwxr-x 12 jenkins jenkins 4096 May 24 18:49 internal [2023-05-24T18:58:14.002Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 18:49 openapi [2023-05-24T18:58:14.002Z] drwxrwxr-x 6 jenkins jenkins 4096 May 24 18:49 pkg [2023-05-24T18:58:14.002Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 18:49 snap [2023-05-24T18:58:14.002Z] -rw-rw-r-- 1 jenkins jenkins 222 May 24 18:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:58:14.377Z] + 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=2692f0563c057608cef1e768a4b9bc6c33380055 --label arch=arm64 --label version=0.0.0 . [2023-05-24T18:58:14.964Z] Sending build context to Docker daemon 6.141MB [2023-05-24T18:58:14.964Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-24T18:58:14.964Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-24T18:58:14.964Z] ---> dbb08fa9dafc [2023-05-24T18:58:14.964Z] Step 3/23 : ARG MAKE=make build [2023-05-24T18:58:14.964Z] ---> Running in fbf222fb8b93 [2023-05-24T18:58:15.234Z] Removing intermediate container fbf222fb8b93 [2023-05-24T18:58:15.234Z] ---> 0a284e05df3f [2023-05-24T18:58:15.234Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-24T18:58:15.501Z] ---> Running in 2aa19260865d [2023-05-24T18:58:15.769Z] Removing intermediate container 2aa19260865d [2023-05-24T18:58:15.769Z] ---> 300795453725 [2023-05-24T18:58:15.769Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-24T18:58:15.769Z] ---> Running in 2dac3e12026d [2023-05-24T18:58:16.037Z] Removing intermediate container 2dac3e12026d [2023-05-24T18:58:16.037Z] ---> 181e479154e4 [2023-05-24T18:58:16.037Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-24T18:58:16.307Z] ---> Running in 5f8eb8985d96 [2023-05-24T18:58:17.269Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-24T18:58:17.856Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-24T18:58:19.284Z] OK: 263 MiB in 53 packages [2023-05-24T18:58:20.140Z] Removing intermediate container 5f8eb8985d96 [2023-05-24T18:58:20.140Z] ---> cffa5b198b43 [2023-05-24T18:58:20.140Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-24T18:58:20.409Z] ---> e73f5e891ca4 [2023-05-24T18:58:20.409Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-24T18:58:20.678Z] ---> Running in c86ea2e94fe5 [2023-05-24T18:58:23.318Z] Removing intermediate container c86ea2e94fe5 [2023-05-24T18:58:23.318Z] ---> 5cf5e43766a4 [2023-05-24T18:58:23.318Z] Step 9/23 : COPY . . [2023-05-24T18:58:24.734Z] ---> ecb24dcf8250 [2023-05-24T18:58:24.734Z] Step 10/23 : RUN ${MAKE} [2023-05-24T18:58:24.734Z] ---> Running in a5525920f4a6 [2023-05-24T18:58:26.154Z] 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-05-24T19:01:02.900Z] Removing intermediate container a5525920f4a6 [2023-05-24T19:01:02.900Z] ---> 01828322a476 [2023-05-24T19:01:02.900Z] Step 11/23 : FROM alpine:3.17 [2023-05-24T19:01:02.900Z] 3.17: Pulling from library/alpine [2023-05-24T19:01:02.900Z] c41833b44d91: Already exists [2023-05-24T19:01:02.900Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-24T19:01:02.900Z] Status: Downloaded newer image for alpine:3.17 [2023-05-24T19:01:02.900Z] ---> 51e60588ff2c [2023-05-24T19:01:02.900Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-24T19:01:02.900Z] ---> Running in c3717ef33978 [2023-05-24T19:01:02.900Z] Removing intermediate container c3717ef33978 [2023-05-24T19:01:02.900Z] ---> 5be651081524 [2023-05-24T19:01:02.900Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-24T19:01:02.900Z] ---> Running in c03d1cfc231f [2023-05-24T19:01:02.900Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-24T19:01:02.900Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-24T19:01:02.900Z] OK: 7 MiB in 15 packages [2023-05-24T19:01:02.900Z] Removing intermediate container c03d1cfc231f [2023-05-24T19:01:02.900Z] ---> f9e07fe42857 [2023-05-24T19:01:02.900Z] Step 14/23 : WORKDIR / [2023-05-24T19:01:02.900Z] ---> Running in 43ff71f2cc66 [2023-05-24T19:01:02.900Z] Removing intermediate container 43ff71f2cc66 [2023-05-24T19:01:02.900Z] ---> bfc477a64542 [2023-05-24T19:01:02.900Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-24T19:01:02.900Z] ---> 751e8f2dd2f1 [2023-05-24T19:01:02.900Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-24T19:01:02.900Z] ---> 3d9d2012ccfa [2023-05-24T19:01:02.900Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-24T19:01:02.900Z] ---> 2b786a44f6f7 [2023-05-24T19:01:02.900Z] Step 18/23 : EXPOSE 59999 [2023-05-24T19:01:02.900Z] ---> Running in b3f7647d92f6 [2023-05-24T19:01:02.900Z] Removing intermediate container b3f7647d92f6 [2023-05-24T19:01:02.900Z] ---> 7e7d3b618221 [2023-05-24T19:01:02.900Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-24T19:01:02.900Z] ---> Running in 31383a5b50a3 [2023-05-24T19:01:02.900Z] Removing intermediate container 31383a5b50a3 [2023-05-24T19:01:02.900Z] ---> 565f54d3b951 [2023-05-24T19:01:02.900Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-24T19:01:02.900Z] ---> Running in b792f9e21546 [2023-05-24T19:01:02.900Z] Removing intermediate container b792f9e21546 [2023-05-24T19:01:02.900Z] ---> 96661a823956 [2023-05-24T19:01:02.900Z] Step 21/23 : LABEL arch=arm64 [2023-05-24T19:01:02.900Z] ---> Running in 8a01f3381295 [2023-05-24T19:01:02.900Z] Removing intermediate container 8a01f3381295 [2023-05-24T19:01:02.900Z] ---> 1d40396cc9e5 [2023-05-24T19:01:02.900Z] Step 22/23 : LABEL git_sha=2692f0563c057608cef1e768a4b9bc6c33380055 [2023-05-24T19:01:02.900Z] ---> Running in 5edff25ea151 [2023-05-24T19:01:02.900Z] Removing intermediate container 5edff25ea151 [2023-05-24T19:01:02.900Z] ---> 891fe5106272 [2023-05-24T19:01:02.900Z] Step 23/23 : LABEL version=0.0.0 [2023-05-24T19:01:02.900Z] ---> Running in 5fcf86b17e2e [2023-05-24T19:01:02.900Z] Removing intermediate container 5fcf86b17e2e [2023-05-24T19:01:02.900Z] ---> dc75da7e23ed [2023-05-24T19:01:02.900Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-24T19:01:02.900Z] Successfully built dc75da7e23ed [2023-05-24T19:01:02.900Z] 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-05-24T19:01:03.320Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-24T19:01:03.320Z] [2023-05-24T19:01:03.320Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T19:01:03.656Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-24T19:01:03.656Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-24T19:01:03.656Z] 8998bd30e6a1: Pulling fs layer [2023-05-24T19:01:03.656Z] 04944245beec: Pulling fs layer [2023-05-24T19:01:03.656Z] 699f458cf7ca: Pulling fs layer [2023-05-24T19:01:03.656Z] 765212b225bb: Pulling fs layer [2023-05-24T19:01:03.656Z] f23df028b6ca: Pulling fs layer [2023-05-24T19:01:03.656Z] 765212b225bb: Waiting [2023-05-24T19:01:03.656Z] d65c8cfc05b1: Pulling fs layer [2023-05-24T19:01:03.656Z] f23df028b6ca: Waiting [2023-05-24T19:01:03.656Z] 2437ff75d9bd: Pulling fs layer [2023-05-24T19:01:03.656Z] d65c8cfc05b1: Waiting [2023-05-24T19:01:03.656Z] 2437ff75d9bd: Waiting [2023-05-24T19:01:03.928Z] 04944245beec: Verifying Checksum [2023-05-24T19:01:03.928Z] 04944245beec: Download complete [2023-05-24T19:01:03.928Z] 765212b225bb: Verifying Checksum [2023-05-24T19:01:03.928Z] 765212b225bb: Download complete [2023-05-24T19:01:03.928Z] f23df028b6ca: Download complete [2023-05-24T19:01:03.928Z] d65c8cfc05b1: Verifying Checksum [2023-05-24T19:01:03.928Z] d65c8cfc05b1: Download complete [2023-05-24T19:01:04.198Z] 699f458cf7ca: Verifying Checksum [2023-05-24T19:01:04.198Z] 699f458cf7ca: Download complete [2023-05-24T19:01:04.468Z] 8998bd30e6a1: Verifying Checksum [2023-05-24T19:01:04.468Z] 8998bd30e6a1: Download complete [2023-05-24T19:01:07.061Z] 2437ff75d9bd: Verifying Checksum [2023-05-24T19:01:07.061Z] 2437ff75d9bd: Download complete [2023-05-24T19:01:08.474Z] 8998bd30e6a1: Pull complete [2023-05-24T19:01:09.060Z] 04944245beec: Pull complete [2023-05-24T19:01:10.476Z] 699f458cf7ca: Pull complete [2023-05-24T19:01:10.744Z] 765212b225bb: Pull complete [2023-05-24T19:01:11.704Z] f23df028b6ca: Pull complete [2023-05-24T19:01:11.704Z] d65c8cfc05b1: Pull complete [2023-05-24T19:01:29.930Z] 2437ff75d9bd: Pull complete [2023-05-24T19:01:29.930Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-24T19:01:29.930Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-24T19:01:29.930Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T19:01:30.136Z] prd-ubuntu20.04-docker-arm64-4c-16g-16764 does not seem to be running inside a container [2023-05-24T19:01:30.198Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-24T19:01:32.931Z] $ docker top c24432138b70f49a66bbf727539a56e19136d1ed63d91cf3a6f0e0f3a39f66a6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T19:01:33.808Z] ---> job-cost.sh [2023-05-24T19:01:33.808Z] lf-activate-venv: SKIPPING [2023-05-24T19:01:33.808Z] INFO: No Stack... [2023-05-24T19:01:34.076Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-24T19:01:35.037Z] INFO: Archiving Costs [Pipeline] sh [2023-05-24T19:01:35.678Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2023-05-24T19:01:35.678Z] + cut -d, -f6 [Pipeline] lock [2023-05-24T19:01:35.718Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1460-3-stack-cost] [2023-05-24T19:01:35.724Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1460-3-stack-cost] did not exist. Created. [2023-05-24T19:01:35.725Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1460-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-24T19:01:36.395Z] /w/workspace/device-sdk-go/3@tmp/durable-04cd10dd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-24T19:01:37.049Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-24T19:01:37.071Z] Warning: overwriting stash ‘stack-cost’ [2023-05-24T19:01:37.141Z] Stashed 1 file(s) [Pipeline] } [2023-05-24T19:01:37.150Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1460-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-24T19:01:37.164Z] $ docker stop --time=1 c24432138b70f49a66bbf727539a56e19136d1ed63d91cf3a6f0e0f3a39f66a6 [2023-05-24T19:01:38.727Z] $ docker rm -f --volumes c24432138b70f49a66bbf727539a56e19136d1ed63d91cf3a6f0e0f3a39f66a6 [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-05-24T19:01:39.146Z] provisioning config files... [2023-05-24T19:01:39.153Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp/config8245623726985510876tmp [Pipeline] { [Pipeline] sh [2023-05-24T19:01:39.444Z] + set +x [2023-05-24T19:01:39.444Z] + bash -s -- [2023-05-24T19:01:39.444Z] + curl -s https://codecov.io/bash [2023-05-24T19:01:39.444Z] [2023-05-24T19:01:39.444Z] _____ _ [2023-05-24T19:01:39.444Z] / ____| | | [2023-05-24T19:01:39.444Z] | | ___ __| | ___ ___ _____ __ [2023-05-24T19:01:39.444Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-24T19:01:39.444Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-24T19:01:39.444Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-24T19:01:39.444Z] Bash-1.0.6 [2023-05-24T19:01:39.444Z] [2023-05-24T19:01:39.444Z] [2023-05-24T19:01:39.444Z] ==> git version 2.25.1 found [2023-05-24T19:01:39.444Z] ==> 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-05-24T19:01:39.444Z] Release-Date: 2020-01-08 [2023-05-24T19:01:39.444Z] 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-05-24T19:01:39.444Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-24T19:01:39.444Z] ==> Jenkins CI detected. [2023-05-24T19:01:39.444Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1460 [2023-05-24T19:01:39.444Z] project root: . [2023-05-24T19:01:39.444Z] --> token set from env [2023-05-24T19:01:39.444Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-24T19:01:39.444Z] ==> Running gcov in . (disable via -X gcov) [2023-05-24T19:01:39.703Z] ==> Python coveragepy not found [2023-05-24T19:01:39.703Z] ==> Searching for coverage reports in: [2023-05-24T19:01:39.703Z] + . [2023-05-24T19:01:39.703Z] -> Found 1 reports [2023-05-24T19:01:39.703Z] ==> Detecting git/mercurial file structure [2023-05-24T19:01:39.703Z] ==> Reading reports [2023-05-24T19:01:39.703Z] + ./coverage.out bytes=106152 [2023-05-24T19:01:39.703Z] ==> Appending adjustments [2023-05-24T19:01:39.703Z] https://docs.codecov.io/docs/fixing-reports [2023-05-24T19:01:39.963Z] + Found adjustments [2023-05-24T19:01:39.963Z] ==> Gzipping contents [2023-05-24T19:01:39.963Z] 16K /tmp/codecov.UMK83o.gz [2023-05-24T19:01:39.963Z] ==> Uploading reports [2023-05-24T19:01:39.963Z] url: https://codecov.io [2023-05-24T19:01:39.963Z] query: branch=PR-1460&commit=8bdfe598af47f2b9dec1fa278782d82891b70a5c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1460%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1460&job=&cmd_args= [2023-05-24T19:01:39.963Z] -> Pinging Codecov [2023-05-24T19:01:39.963Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1460&commit=8bdfe598af47f2b9dec1fa278782d82891b70a5c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1460%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1460&job=&cmd_args= [2023-05-24T19:01:40.222Z] -> Uploading to [2023-05-24T19:01:40.222Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-24/7E55EF52A471D76F132DFD9A03CDDE97/8bdfe598af47f2b9dec1fa278782d82891b70a5c/1da572f3-d2a3-4934-a07e-c21367dc86bf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230524T190139Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=89a49c2494ad8b56a3ce8e17e682872c9b387fd86eda7d10e85334d8a5e4a015 [2023-05-24T19:01:40.222Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-24T19:01:40.222Z] Dload Upload Total Spent Left Speed [2023-05-24T19:01:40.482Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15119 0 0 100 15119 0 60718 --:--:-- --:--:-- --:--:-- 60718 [2023-05-24T19:01:40.482Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/8bdfe598af47f2b9dec1fa278782d82891b70a5c [Pipeline] } [2023-05-24T19:01:40.489Z] 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-05-24T19:01:41.203Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1460/archives ] [2023-05-24T19:01:41.203Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1460/archives [2023-05-24T19:01:41.203Z] total 16 [2023-05-24T19:01:41.203Z] drwxr-xr-x 3 root root 4096 May 24 18:47 . [2023-05-24T19:01:41.203Z] drwxrwxr-x 12 jenkins jenkins 4096 May 24 18:47 .. [2023-05-24T19:01:41.203Z] drwxr-xr-x 2 root root 4096 May 24 18:47 cost [2023-05-24T19:01:41.203Z] -rw-r--r-- 1 root root 86 May 24 18:47 cost.csv [2023-05-24T19:01:41.203Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1460/archives [2023-05-24T19:01:41.203Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1460/archives [2023-05-24T19:01:41.203Z] total 16 [2023-05-24T19:01:41.203Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 18:47 . [2023-05-24T19:01:41.203Z] drwxrwxr-x 12 jenkins jenkins 4096 May 24 18:47 .. [2023-05-24T19:01:41.203Z] drwxr-xr-x 2 jenkins jenkins 4096 May 24 18:47 cost [2023-05-24T19:01:41.203Z] -rw-r--r-- 1 jenkins jenkins 86 May 24 18:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-24T19:01:41.491Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T19:01:42.343Z] ---> package-listing.sh [2023-05-24T19:01:42.343Z] ++ facter osfamily [2023-05-24T19:01:42.343Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-24T19:01:42.603Z] + OS_FAMILY=debian [2023-05-24T19:01:42.603Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1460 [2023-05-24T19:01:42.603Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-24T19:01:42.603Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-24T19:01:42.603Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-24T19:01:42.603Z] + PACKAGES=/tmp/packages_start.txt [2023-05-24T19:01:42.603Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1460 ']' [2023-05-24T19:01:42.603Z] + PACKAGES=/tmp/packages_end.txt [2023-05-24T19:01:42.603Z] + case "${OS_FAMILY}" in [2023-05-24T19:01:42.603Z] + dpkg -l [2023-05-24T19:01:42.603Z] + grep '^ii' [2023-05-24T19:01:42.603Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-24T19:01:42.603Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-24T19:01:42.603Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-24T19:01:42.603Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1460 ']' [2023-05-24T19:01:42.603Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1460/archives/ [2023-05-24T19:01:42.603Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1460/archives/ [Pipeline] echo [2023-05-24T19:01:42.613Z] 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-1460/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-24T19:01:42.888Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T19:01:43.446Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T19:01:43.446Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T19:01:43.517Z] prd-ubuntu20.04-docker-8c-8g-16762 does not seem to be running inside a container [2023-05-24T19:01:43.554Z] $ 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-1460/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-1460 -v /w/workspace/gexfoundry_device-sdk-go_PR-1460:/w/workspace/gexfoundry_device-sdk-go_PR-1460:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1460@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-05-24T19:01:43.748Z] $ docker top 54a863dfb579cc8a5f9520f6489ec8aef6ac6c709924b977a2a00b287cfe65b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T19:01:44.083Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-24T19:01:44.372Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-24T19:01:44.657Z] + ls /var/log/sa-host [2023-05-24T19:01:44.657Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-24T19:01:44.816Z] provisioning config files... [2023-05-24T19:01:44.823Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1460@tmp/config10304689966242804754tmp [Pipeline] { [Pipeline] echo [2023-05-24T19:01:44.838Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T19:01:45.124Z] ---> create-netrc.sh [Pipeline] } [2023-05-24T19:01:45.132Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-24T19:01:45.476Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-24T19:01:45.484Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T19:01:45.767Z] ---> sudo-logs.sh [2023-05-24T19:01:45.767Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-24T19:01:45.793Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T19:01:46.081Z] ---> job-cost.sh [2023-05-24T19:01:46.081Z] lf-activate-venv: SKIPPING [2023-05-24T19:01:46.081Z] DEBUG: total: 0.2199999988079071 [2023-05-24T19:01:46.081Z] INFO: Retrieving Stack Cost... [2023-05-24T19:01:46.340Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-24T19:01:46.906Z] INFO: Archiving Costs [Pipeline] echo [2023-05-24T19:01:46.916Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T19:01:47.196Z] ---> logs-deploy.sh [2023-05-24T19:01:47.196Z] lf-activate-venv: SKIPPING [2023-05-24T19:01:47.196Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1460/3 [2023-05-24T19:01:47.196Z] INFO: archiving workspace using pattern(s): [2023-05-24T19:01:48.133Z] Archives upload complete. [2023-05-24T19:01:48.133Z] INFO: archiving logs to Nexus