Pull request #1475 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of bnevis-i for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 0788bfb21fb273ad7b45151f543634661d4fb024+1c436aae64ba04d8b406a209c24bbc2f99c23ca9 (41174dd36ddc67df294eb3e6153cd83c68d8601c) 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-ssh5752882561710558108.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11154069327887822019.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1475/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1475/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9836719524026898299.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1475/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8372084617109269088.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15892503436093153085.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1475/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1475/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1175689051287165529.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1069 in /w/workspace/gexfoundry_device-sdk-go_PR-1475 [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-1475 # 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 1c436aae64ba04d8b406a209c24bbc2f99c23ca9 into PR head commit 0788bfb21fb273ad7b45151f543634661d4fb024 Merge succeeded, producing 0788bfb21fb273ad7b45151f543634661d4fb024 Checking out Revision 0788bfb21fb273ad7b45151f543634661d4fb024 (PR-1475) > 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/1475/head:refs/remotes/origin/PR-1475 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0788bfb21fb273ad7b45151f543634661d4fb024 # 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 1c436aae64ba04d8b406a209c24bbc2f99c23ca9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0788bfb21fb273ad7b45151f543634661d4fb024 # timeout=10 Commit message: "feat(security): New AddCustomRoute method with authentication parameter" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-13T16:09:11.366Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-13T16:09:11.537Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-13T16:09:11.632Z] ========================================================= [2023-07-13T16:09:11.632Z] EdgeX Global Pipelines Version Info [2023-07-13T16:09:11.632Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-13T16:09:12.381Z] ------------------- [2023-07-13T16:09:12.382Z] stable info: [2023-07-13T16:09:12.382Z] ------------------- [2023-07-13T16:09:12.382Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-13T16:09:12.382Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-13T16:09:12.382Z] Message: update stable to v1.0.250 [2023-07-13T16:09:12.953Z] ------------------- [2023-07-13T16:09:12.953Z] experimental info: [2023-07-13T16:09:12.953Z] ------------------- [2023-07-13T16:09:12.953Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-13T16:09:12.953Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-13T16:09:12.953Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-13T16:09:13.300Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-07-13T16:09:13.343Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-07-13T16:09:13.385Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-13T16:09:13.427Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-13T16:09:13.467Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-13T16:09:13.518Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-13T16:09:13.558Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-13T16:09:13.603Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-07-13T16:09:13.648Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-13T16:09:13.697Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-13T16:09:13.738Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-13T16:09:13.783Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-07-13T16:09:13.829Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-13T16:09:13.869Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-13T16:09:13.910Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-13T16:09:13.950Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-13T16:09:13.995Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-13T16:09:14.054Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-13T16:09:14.117Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-13T16:09:14.160Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-13T16:09:14.202Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-07-13T16:09:14.247Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-07-13T16:09:14.291Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-13T16:09:14.336Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-13T16:09:14.383Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-13T16:09:14.425Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-13T16:09:14.472Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-13T16:09:14.514Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1475 [Pipeline] echo [2023-07-13T16:09:14.568Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1475 [Pipeline] echo [2023-07-13T16:09:14.621Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1475 [Pipeline] echo [2023-07-13T16:09:14.664Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0788bfb21fb273ad7b45151f543634661d4fb024 [Pipeline] echo [2023-07-13T16:09:14.712Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0788bfb [Pipeline] echo [2023-07-13T16:09:14.761Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-13T16:09:14.899Z] provisioning config files... [2023-07-13T16:09:14.912Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp/config6422404831336932660tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T16:09:15.258Z] ---> docker-login.sh [2023-07-13T16:09:15.258Z] nexus3.edgexfoundry.org:10001 [2023-07-13T16:09:15.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T16:09:15.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T16:09:15.517Z] Configure a credential helper to remove this warning. See [2023-07-13T16:09:15.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T16:09:15.517Z] [2023-07-13T16:09:15.517Z] Login Succeeded [2023-07-13T16:09:15.517Z] nexus3.edgexfoundry.org:10002 [2023-07-13T16:09:15.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T16:09:15.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T16:09:15.780Z] Configure a credential helper to remove this warning. See [2023-07-13T16:09:15.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T16:09:15.780Z] [2023-07-13T16:09:15.780Z] Login Succeeded [2023-07-13T16:09:15.780Z] nexus3.edgexfoundry.org:10003 [2023-07-13T16:09:15.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T16:09:15.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T16:09:15.780Z] Configure a credential helper to remove this warning. See [2023-07-13T16:09:15.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T16:09:15.780Z] [2023-07-13T16:09:15.780Z] Login Succeeded [2023-07-13T16:09:15.780Z] nexus3.edgexfoundry.org:10004 [2023-07-13T16:09:15.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T16:09:16.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T16:09:16.039Z] Configure a credential helper to remove this warning. See [2023-07-13T16:09:16.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T16:09:16.039Z] [2023-07-13T16:09:16.039Z] Login Succeeded [2023-07-13T16:09:16.039Z] docker.io [2023-07-13T16:09:16.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T16:09:16.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T16:09:16.301Z] Configure a credential helper to remove this warning. See [2023-07-13T16:09:16.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T16:09:16.301Z] [2023-07-13T16:09:16.301Z] Login Succeeded [2023-07-13T16:09:16.301Z] ---> docker-login.sh ends [Pipeline] } [2023-07-13T16:09:16.328Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-13T16:09:16.987Z] + git rev-list -1 --merges 0788bfb21fb273ad7b45151f543634661d4fb024~1..0788bfb21fb273ad7b45151f543634661d4fb024 [Pipeline] echo [2023-07-13T16:09:17.050Z] -----------> git rev-list -1 --merges 0788bfb21fb273ad7b45151f543634661d4fb024~1..0788bfb21fb273ad7b45151f543634661d4fb024 0788bfb21fb273ad7b45151f543634661d4fb024 [false] [Pipeline] sh [2023-07-13T16:09:17.359Z] + git log --format=format:%s -1 0788bfb21fb273ad7b45151f543634661d4fb024 [Pipeline] echo [2023-07-13T16:09:17.397Z] ========================================================= [2023-07-13T16:09:17.397Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-13T16:09:17.397Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-13T16:09:17.812Z] + git log --format=format:%s -1 0788bfb21fb273ad7b45151f543634661d4fb024 [Pipeline] echo [2023-07-13T16:09:17.846Z] [semverPrep] GIT_COMMIT: 0788bfb21fb273ad7b45151f543634661d4fb024, Commit Message: feat(security): New AddCustomRoute method with authentication parameter [Pipeline] echo [2023-07-13T16:09:17.876Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-13T16:09:18.271Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-13T16:09:18.271Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-13T16:09:18.271Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-13T16:09:18.271Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-13T16:09:18.271Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-13T16:09:18.271Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-13T16:09:18.271Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T16:09:18.777Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T16:09:18.777Z] [2023-07-13T16:09:18.777Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T16:09:19.146Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T16:09:19.146Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-13T16:09:19.146Z] b85a868b505f: Pulling fs layer [2023-07-13T16:09:19.146Z] e2be974225ed: Pulling fs layer [2023-07-13T16:09:19.146Z] 339a4e72a1f5: Pulling fs layer [2023-07-13T16:09:19.146Z] 988bab9f4d93: Pulling fs layer [2023-07-13T16:09:19.146Z] 1469e6f7b9e6: Pulling fs layer [2023-07-13T16:09:19.146Z] eaf3925da568: Pulling fs layer [2023-07-13T16:09:19.146Z] bab4dde63d76: Pulling fs layer [2023-07-13T16:09:19.146Z] bde34c3a00c8: Pulling fs layer [2023-07-13T16:09:19.146Z] b352a97aabf1: Pulling fs layer [2023-07-13T16:09:19.146Z] 4872d77fe225: Pulling fs layer [2023-07-13T16:09:19.146Z] 5851b861e8e6: Pulling fs layer [2023-07-13T16:09:19.146Z] 988bab9f4d93: Waiting [2023-07-13T16:09:19.146Z] 1469e6f7b9e6: Waiting [2023-07-13T16:09:19.146Z] eaf3925da568: Waiting [2023-07-13T16:09:19.146Z] bab4dde63d76: Waiting [2023-07-13T16:09:19.146Z] bde34c3a00c8: Waiting [2023-07-13T16:09:19.146Z] b352a97aabf1: Waiting [2023-07-13T16:09:19.146Z] 5851b861e8e6: Waiting [2023-07-13T16:09:19.146Z] 4872d77fe225: Waiting [2023-07-13T16:09:19.146Z] e2be974225ed: Verifying Checksum [2023-07-13T16:09:19.146Z] e2be974225ed: Download complete [2023-07-13T16:09:19.146Z] 988bab9f4d93: Download complete [2023-07-13T16:09:19.146Z] 1469e6f7b9e6: Verifying Checksum [2023-07-13T16:09:19.146Z] 1469e6f7b9e6: Download complete [2023-07-13T16:09:19.146Z] eaf3925da568: Download complete [2023-07-13T16:09:19.405Z] 339a4e72a1f5: Verifying Checksum [2023-07-13T16:09:19.405Z] 339a4e72a1f5: Download complete [2023-07-13T16:09:19.405Z] bde34c3a00c8: Download complete [2023-07-13T16:09:19.405Z] b352a97aabf1: Download complete [2023-07-13T16:09:19.405Z] 4872d77fe225: Download complete [2023-07-13T16:09:19.405Z] 5851b861e8e6: Verifying Checksum [2023-07-13T16:09:19.405Z] 5851b861e8e6: Download complete [2023-07-13T16:09:19.405Z] b85a868b505f: Verifying Checksum [2023-07-13T16:09:19.405Z] b85a868b505f: Download complete [2023-07-13T16:09:19.666Z] bab4dde63d76: Download complete [2023-07-13T16:09:20.601Z] b85a868b505f: Pull complete [2023-07-13T16:09:20.601Z] e2be974225ed: Pull complete [2023-07-13T16:09:21.168Z] 339a4e72a1f5: Pull complete [2023-07-13T16:09:21.168Z] 988bab9f4d93: Pull complete [2023-07-13T16:09:21.427Z] 1469e6f7b9e6: Pull complete [2023-07-13T16:09:21.427Z] eaf3925da568: Pull complete [2023-07-13T16:09:23.329Z] bab4dde63d76: Pull complete [2023-07-13T16:09:23.329Z] bde34c3a00c8: Pull complete [2023-07-13T16:09:23.329Z] b352a97aabf1: Pull complete [2023-07-13T16:09:23.329Z] 4872d77fe225: Pull complete [2023-07-13T16:09:23.329Z] 5851b861e8e6: Pull complete [2023-07-13T16:09:23.329Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-13T16:09:23.329Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T16:09:23.329Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T16:09:23.568Z] prd-ubuntu20.04-docker-8c-8g-1069 does not seem to be running inside a container [2023-07-13T16:09:23.602Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1475 -v /w/workspace/gexfoundry_device-sdk-go_PR-1475:/w/workspace/gexfoundry_device-sdk-go_PR-1475:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-13T16:09:25.770Z] $ docker top f98117f0b89bb5d4eb85de9ac5d7f4dd0aee1c9247bb18d8bf808fed14ec9bb9 -eo pid,comm [2023-07-13T16:09:25.819Z] 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-07-13T16:09:25.819Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-13T16:09:25.974Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-13T16:09:25.974Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-13T16:09:26.078Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-13T16:09:26.084Z] $ docker exec f98117f0b89bb5d4eb85de9ac5d7f4dd0aee1c9247bb18d8bf808fed14ec9bb9 ssh-agent [2023-07-13T16:09:26.184Z] SSH_AUTH_SOCK=/tmp/ssh-jKvJctThzSLu/agent.32 [2023-07-13T16:09:26.184Z] SSH_AGENT_PID=38 [2023-07-13T16:09:26.190Z] Running ssh-add (command line suppressed) [2023-07-13T16:09:26.292Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp/private_key_15092184988436639358.key (/w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp/private_key_15092184988436639358.key) [2023-07-13T16:09:26.305Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-13T16:09:26.634Z] + git tag --points-at HEAD [Pipeline] } [2023-07-13T16:09:26.666Z] $ docker exec --env ******** --env ******** f98117f0b89bb5d4eb85de9ac5d7f4dd0aee1c9247bb18d8bf808fed14ec9bb9 ssh-agent -k [2023-07-13T16:09:26.757Z] unset SSH_AUTH_SOCK; [2023-07-13T16:09:26.758Z] unset SSH_AGENT_PID; [2023-07-13T16:09:26.758Z] echo Agent pid 38 killed; [2023-07-13T16:09:26.766Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-13T16:09:26.861Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-13T16:09:26.861Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-13T16:09:26.965Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-13T16:09:26.971Z] $ docker exec f98117f0b89bb5d4eb85de9ac5d7f4dd0aee1c9247bb18d8bf808fed14ec9bb9 ssh-agent [2023-07-13T16:09:27.068Z] SSH_AUTH_SOCK=/tmp/ssh-uEz9DaFMaCUg/agent.70 [2023-07-13T16:09:27.068Z] SSH_AGENT_PID=76 [2023-07-13T16:09:27.073Z] Running ssh-add (command line suppressed) [2023-07-13T16:09:27.174Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp/private_key_2068743848666302015.key (/w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp/private_key_2068743848666302015.key) [2023-07-13T16:09:27.186Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-13T16:09:27.521Z] + git semver init [2023-07-13T16:09:27.779Z] 2023-07-13 16:09:27,689 [run_init] DEBUG init version:0.0.0 force:False [2023-07-13T16:09:27.779Z] 2023-07-13 16:09:27,689 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1475/.semver [2023-07-13T16:09:27.779Z] 2023-07-13 16:09:27,690 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1475/.semver [2023-07-13T16:09:27.779Z] 2023-07-13 16:09:27,690 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1475/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1475, universal_newlines=False, shell=None, istream=None) [2023-07-13T16:09:28.720Z] 2023-07-13 16:09:28,614 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1475/.git/info/exclude [2023-07-13T16:09:28.720Z] 2023-07-13 16:09:28,615 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1475/.semver/PR-1475 with force:False [2023-07-13T16:09:28.720Z] 2023-07-13 16:09:28,615 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1475/.semver/PR-1475 [2023-07-13T16:09:28.720Z] 2023-07-13 16:09:28,619 [execute] INFO git cat-file --batch-check [2023-07-13T16:09:28.720Z] 2023-07-13 16:09:28,620 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1475/.semver, universal_newlines=False, shell=None, istream=) [2023-07-13T16:09:28.720Z] 2023-07-13 16:09:28,635 [execute] INFO git cat-file --batch [2023-07-13T16:09:28.720Z] 2023-07-13 16:09:28,635 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1475/.semver, universal_newlines=False, shell=None, istream=) [2023-07-13T16:09:28.720Z] 2023-07-13 16:09:28,641 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1475/.semver/PR-1475 [2023-07-13T16:09:28.720Z] 0.0.0 [Pipeline] } [2023-07-13T16:09:28.749Z] $ docker exec --env ******** --env ******** f98117f0b89bb5d4eb85de9ac5d7f4dd0aee1c9247bb18d8bf808fed14ec9bb9 ssh-agent -k [2023-07-13T16:09:28.839Z] unset SSH_AUTH_SOCK; [2023-07-13T16:09:28.839Z] unset SSH_AGENT_PID; [2023-07-13T16:09:28.839Z] echo Agent pid 76 killed; [2023-07-13T16:09:28.845Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-13T16:09:29.260Z] + git semver [Pipeline] } [2023-07-13T16:09:29.544Z] $ docker stop --time=1 f98117f0b89bb5d4eb85de9ac5d7f4dd0aee1c9247bb18d8bf808fed14ec9bb9 [2023-07-13T16:09:30.807Z] $ docker rm -f --volumes f98117f0b89bb5d4eb85de9ac5d7f4dd0aee1c9247bb18d8bf808fed14ec9bb9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-13T16:09:31.213Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-13T16:09:31.459Z] Stashed 1 file(s) [Pipeline] echo [2023-07-13T16:09:31.478Z] [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-07-13T16:09:32.106Z] provisioning config files... [2023-07-13T16:09:32.117Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp/config2899627489814377928tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T16:09:32.457Z] ---> docker-login.sh [2023-07-13T16:09:32.457Z] nexus3.edgexfoundry.org:10001 [2023-07-13T16:09:32.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T16:09:32.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T16:09:32.457Z] Configure a credential helper to remove this warning. See [2023-07-13T16:09:32.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T16:09:32.457Z] [2023-07-13T16:09:32.457Z] Login Succeeded [2023-07-13T16:09:32.457Z] nexus3.edgexfoundry.org:10002 [2023-07-13T16:09:32.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T16:09:32.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T16:09:32.457Z] Configure a credential helper to remove this warning. See [2023-07-13T16:09:32.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T16:09:32.457Z] [2023-07-13T16:09:32.457Z] Login Succeeded [2023-07-13T16:09:32.457Z] nexus3.edgexfoundry.org:10003 [2023-07-13T16:09:32.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T16:09:32.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T16:09:32.717Z] Configure a credential helper to remove this warning. See [2023-07-13T16:09:32.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T16:09:32.717Z] [2023-07-13T16:09:32.717Z] Login Succeeded [2023-07-13T16:09:32.717Z] nexus3.edgexfoundry.org:10004 [2023-07-13T16:09:32.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T16:09:32.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T16:09:32.717Z] Configure a credential helper to remove this warning. See [2023-07-13T16:09:32.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T16:09:32.717Z] [2023-07-13T16:09:32.717Z] Login Succeeded [2023-07-13T16:09:32.717Z] docker.io [2023-07-13T16:09:32.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T16:09:32.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T16:09:32.976Z] Configure a credential helper to remove this warning. See [2023-07-13T16:09:32.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T16:09:32.976Z] [2023-07-13T16:09:32.976Z] Login Succeeded [2023-07-13T16:09:32.976Z] ---> docker-login.sh ends [Pipeline] } [2023-07-13T16:09:33.007Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-13T16:09:33.178Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T16:09:33.213Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T16:09:33.243Z] ========================================================= [2023-07-13T16:09:33.243Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-13T16:09:33.243Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T16:09:33.713Z] + 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-07-13T16:09:33.713Z] Sending build context to Docker daemon 10.91MB [2023-07-13T16:09:33.713Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-13T16:09:33.713Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-13T16:09:33.713Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-13T16:09:33.713Z] 4db1b89c0bd1: Pulling fs layer [2023-07-13T16:09:33.713Z] 6911f1a30b25: Pulling fs layer [2023-07-13T16:09:33.713Z] e194b8c5c2a9: Pulling fs layer [2023-07-13T16:09:33.713Z] 6863d3e3a2b1: Pulling fs layer [2023-07-13T16:09:33.713Z] ec0bb842ea78: Pulling fs layer [2023-07-13T16:09:33.713Z] 40a00589a448: Pulling fs layer [2023-07-13T16:09:33.713Z] 6c08303d61cc: Pulling fs layer [2023-07-13T16:09:33.713Z] 798269fcf238: Pulling fs layer [2023-07-13T16:09:33.713Z] 6863d3e3a2b1: Waiting [2023-07-13T16:09:33.713Z] ec0bb842ea78: Waiting [2023-07-13T16:09:33.713Z] 40a00589a448: Waiting [2023-07-13T16:09:33.713Z] 6c08303d61cc: Waiting [2023-07-13T16:09:33.713Z] 798269fcf238: Waiting [2023-07-13T16:09:33.713Z] 6911f1a30b25: Download complete [2023-07-13T16:09:33.713Z] 6863d3e3a2b1: Verifying Checksum [2023-07-13T16:09:33.713Z] 6863d3e3a2b1: Download complete [2023-07-13T16:09:33.973Z] ec0bb842ea78: Verifying Checksum [2023-07-13T16:09:33.973Z] ec0bb842ea78: Download complete [2023-07-13T16:09:33.973Z] 4db1b89c0bd1: Verifying Checksum [2023-07-13T16:09:33.973Z] 4db1b89c0bd1: Download complete [2023-07-13T16:09:33.973Z] 40a00589a448: Verifying Checksum [2023-07-13T16:09:33.973Z] 40a00589a448: Download complete [2023-07-13T16:09:33.973Z] 4db1b89c0bd1: Pull complete [2023-07-13T16:09:34.233Z] 6911f1a30b25: Pull complete [2023-07-13T16:09:34.233Z] 798269fcf238: Verifying Checksum [2023-07-13T16:09:34.233Z] 798269fcf238: Download complete [2023-07-13T16:09:34.492Z] e194b8c5c2a9: Verifying Checksum [2023-07-13T16:09:34.492Z] e194b8c5c2a9: Download complete [2023-07-13T16:09:34.492Z] 6c08303d61cc: Verifying Checksum [2023-07-13T16:09:34.492Z] 6c08303d61cc: Download complete [2023-07-13T16:09:37.771Z] e194b8c5c2a9: Pull complete [2023-07-13T16:09:37.771Z] 6863d3e3a2b1: Pull complete [2023-07-13T16:09:37.771Z] ec0bb842ea78: Pull complete [2023-07-13T16:09:37.771Z] 40a00589a448: Pull complete [2023-07-13T16:09:40.300Z] 6c08303d61cc: Pull complete [2023-07-13T16:09:40.866Z] 798269fcf238: Pull complete [2023-07-13T16:09:40.866Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-13T16:09:40.866Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-13T16:09:40.866Z] ---> ec979cd7f677 [2023-07-13T16:09:40.866Z] Step 3/10 : ARG MAKE=make build [2023-07-13T16:09:44.152Z] ---> Running in 73b202f0ea1a [2023-07-13T16:09:44.152Z] Removing intermediate container 73b202f0ea1a [2023-07-13T16:09:44.152Z] ---> 5e061e2be4a1 [2023-07-13T16:09:44.152Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-13T16:09:44.152Z] ---> Running in a35ae2389560 [2023-07-13T16:09:44.152Z] Removing intermediate container a35ae2389560 [2023-07-13T16:09:44.152Z] ---> 04b5a89a9a6e [2023-07-13T16:09:44.152Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-13T16:09:44.152Z] ---> Running in 75accc5bdc24 [2023-07-13T16:09:44.152Z] Removing intermediate container 75accc5bdc24 [2023-07-13T16:09:44.152Z] ---> 988205fa177f [2023-07-13T16:09:44.152Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-13T16:09:44.152Z] ---> Running in 2e0e6291cc45 [2023-07-13T16:09:44.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-13T16:09:44.667Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-13T16:09:44.926Z] OK: 265 MiB in 53 packages [2023-07-13T16:09:45.184Z] Removing intermediate container 2e0e6291cc45 [2023-07-13T16:09:45.184Z] ---> edc2a0ffb645 [2023-07-13T16:09:45.184Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-13T16:09:45.184Z] ---> 9791e02cabad [2023-07-13T16:09:45.184Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-13T16:09:45.184Z] ---> Running in 0bd8d0f8c41e [2023-07-13T16:09:46.941Z] Still waiting to schedule task [2023-07-13T16:09:46.941Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-13T16:10:11.728Z] Removing intermediate container 0bd8d0f8c41e [2023-07-13T16:10:11.728Z] ---> 101e2910cd72 [2023-07-13T16:10:11.728Z] Step 9/10 : COPY . . [2023-07-13T16:10:11.728Z] ---> 0e0044e976ba [2023-07-13T16:10:11.728Z] Step 10/10 : RUN ${MAKE} [2023-07-13T16:10:11.728Z] ---> Running in f75dfe34f5c5 [2023-07-13T16:10:11.728Z] noop [2023-07-13T16:10:11.728Z] Removing intermediate container f75dfe34f5c5 [2023-07-13T16:10:11.728Z] ---> 37fec3e27850 [2023-07-13T16:10:11.728Z] Successfully built 37fec3e27850 [2023-07-13T16:10:11.728Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T16:10:12.185Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-13T16:10:12.185Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T16:10:12.335Z] prd-ubuntu20.04-docker-8c-8g-1069 does not seem to be running inside a container [2023-07-13T16:10:12.370Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1475 -v /w/workspace/gexfoundry_device-sdk-go_PR-1475:/w/workspace/gexfoundry_device-sdk-go_PR-1475:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-13T16:10:12.703Z] $ docker top e18c20908b2ac530fd680bcd3b916e3a110b444bb0bac90caaa3402b41afa2bc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T16:10:13.080Z] + go version [2023-07-13T16:10:13.080Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-13T16:10:13.116Z] $ docker stop --time=1 e18c20908b2ac530fd680bcd3b916e3a110b444bb0bac90caaa3402b41afa2bc [2023-07-13T16:10:14.381Z] $ docker rm -f --volumes e18c20908b2ac530fd680bcd3b916e3a110b444bb0bac90caaa3402b41afa2bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T16:10:15.082Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-13T16:10:15.082Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T16:10:15.232Z] prd-ubuntu20.04-docker-8c-8g-1069 does not seem to be running inside a container [2023-07-13T16:10:15.268Z] $ 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-1475 -v /w/workspace/gexfoundry_device-sdk-go_PR-1475:/w/workspace/gexfoundry_device-sdk-go_PR-1475:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-13T16:10:15.644Z] $ docker top 16d77f84506ee98349390a23fa460521889241cac1bafce85a3182660d7204e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T16:10:16.030Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1475 [Pipeline] fileExists [Pipeline] sh [2023-07-13T16:10:16.392Z] + make test [2023-07-13T16:10:16.392Z] go test -race -coverprofile=coverage.out ./... [2023-07-13T16:10:22.956Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-13T16:10:35.758Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-07-13T16:10:35.758Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-13T16:10:35.758Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-13T16:10:35.758Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-13T16:10:35.758Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-13T16:10:35.758Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.062s coverage: 27.6% of statements [2023-07-13T16:10:35.758Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-13T16:10:35.758Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-13T16:10:35.758Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.059s coverage: 80.2% of statements [2023-07-13T16:10:35.758Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.082s coverage: 86.0% of statements [2023-07-13T16:10:35.758Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-13T16:10:35.758Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.170s coverage: 77.5% of statements [2023-07-13T16:10:36.324Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-07-13T16:10:36.592Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-13T16:10:36.592Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-13T16:10:36.854Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-07-13T16:10:39.384Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.061s coverage: 14.3% of statements [2023-07-13T16:10:39.384Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.066s coverage: 68.5% of statements [2023-07-13T16:10:39.384Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.112s coverage: 89.2% of statements [2023-07-13T16:10:39.384Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.060s coverage: 5.6% of statements [2023-07-13T16:11:01.300Z] GO111MODULE=on go vet ./... [2023-07-13T16:11:01.300Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-13T16:11:01.300Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-13T16:11:01.300Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-13T16:11:01.338Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-13T16:11:01.367Z] $ docker stop --time=1 16d77f84506ee98349390a23fa460521889241cac1bafce85a3182660d7204e3 [2023-07-13T16:11:04.903Z] $ docker rm -f --volumes 16d77f84506ee98349390a23fa460521889241cac1bafce85a3182660d7204e3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-13T16:11:05.475Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-13T16:11:05.561Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-07-13T16:11:06.278Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-13T16:11:06.590Z] + ls -al . [2023-07-13T16:11:06.590Z] total 284 [2023-07-13T16:11:06.590Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 13 16:10 . [2023-07-13T16:11:06.590Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 16:09 .. [2023-07-13T16:11:06.590Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 13 16:09 .dockerignore [2023-07-13T16:11:06.590Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 16:09 .git [2023-07-13T16:11:06.590Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 16:09 .github [2023-07-13T16:11:06.590Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 13 16:09 .gitignore [2023-07-13T16:11:06.590Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 13 16:09 .golangci.yml [2023-07-13T16:11:06.590Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 16:09 .semver [2023-07-13T16:11:06.590Z] -rw-rw-r-- 1 jenkins jenkins 44878 Jul 13 16:09 CHANGELOG.md [2023-07-13T16:11:06.590Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 13 16:09 GOVERNANCE.md [2023-07-13T16:11:06.590Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 13 16:09 Jenkinsfile [2023-07-13T16:11:06.590Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 13 16:09 LICENSE [2023-07-13T16:11:06.590Z] -rw-rw-r-- 1 jenkins jenkins 1714 Jul 13 16:09 Makefile [2023-07-13T16:11:06.590Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 13 16:09 OWNERS.md [2023-07-13T16:11:06.590Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jul 13 16:09 README.md [2023-07-13T16:11:06.590Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 13 16:09 VERSION [2023-07-13T16:11:06.590Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 16:09 bin [2023-07-13T16:11:06.590Z] -rw-r--r-- 1 jenkins jenkins 106395 Jul 13 16:10 coverage.out [2023-07-13T16:11:06.590Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 13 16:09 example [2023-07-13T16:11:06.590Z] -rw-rw-r-- 1 jenkins jenkins 3460 Jul 13 16:09 go.mod [2023-07-13T16:11:06.590Z] -rw-rw-r-- 1 jenkins jenkins 32141 Jul 13 16:09 go.sum [2023-07-13T16:11:06.590Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 13 16:09 internal [2023-07-13T16:11:06.590Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 16:09 openapi [2023-07-13T16:11:06.590Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 13 16:09 pkg [2023-07-13T16:11:06.590Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 16:09 snap [2023-07-13T16:11:06.590Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 13 16:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T16:11:06.973Z] + 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=0788bfb21fb273ad7b45151f543634661d4fb024 --label arch=amd64 --label version=0.0.0 . [2023-07-13T16:11:06.973Z] Sending build context to Docker daemon 11.01MB [2023-07-13T16:11:06.973Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-07-13T16:11:06.973Z] Step 2/23 : FROM ${BASE} AS builder [2023-07-13T16:11:06.973Z] ---> 37fec3e27850 [2023-07-13T16:11:06.973Z] Step 3/23 : ARG MAKE=make build [2023-07-13T16:11:06.973Z] ---> Running in 510d5e99adb9 [2023-07-13T16:11:07.234Z] Removing intermediate container 510d5e99adb9 [2023-07-13T16:11:07.234Z] ---> 7db3d576b0f0 [2023-07-13T16:11:07.234Z] Step 4/23 : WORKDIR /device-sdk-go [2023-07-13T16:11:07.234Z] ---> Running in c4295e79b7f9 [2023-07-13T16:11:07.234Z] Removing intermediate container c4295e79b7f9 [2023-07-13T16:11:07.234Z] ---> 9b4cd4c96630 [2023-07-13T16:11:07.234Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-13T16:11:07.234Z] ---> Running in 1faffdd9476c [2023-07-13T16:11:07.234Z] Removing intermediate container 1faffdd9476c [2023-07-13T16:11:07.234Z] ---> 9c9319feda53 [2023-07-13T16:11:07.234Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-07-13T16:11:07.492Z] ---> Running in 9424e69dbc9d [2023-07-13T16:11:07.492Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-13T16:11:07.751Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-13T16:11:08.010Z] OK: 265 MiB in 53 packages [2023-07-13T16:11:08.268Z] Removing intermediate container 9424e69dbc9d [2023-07-13T16:11:08.268Z] ---> 4b435385d45f [2023-07-13T16:11:08.268Z] Step 7/23 : COPY go.mod vendor* ./ [2023-07-13T16:11:08.526Z] ---> 8cc8487b3a55 [2023-07-13T16:11:08.526Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-13T16:11:08.526Z] ---> Running in d0696145bee1 [2023-07-13T16:11:09.090Z] Removing intermediate container d0696145bee1 [2023-07-13T16:11:09.090Z] ---> cdea8f0dfdb9 [2023-07-13T16:11:09.090Z] Step 9/23 : COPY . . [2023-07-13T16:11:09.655Z] ---> d10864559b57 [2023-07-13T16:11:09.656Z] Step 10/23 : RUN ${MAKE} [2023-07-13T16:11:09.656Z] ---> Running in 5def3fe241cb [2023-07-13T16:11:09.914Z] 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-07-13T16:11:27.568Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1070 in /w/workspace/gexfoundry_device-sdk-go_PR-1475 [Pipeline] { [Pipeline] ws [2023-07-13T16:11:27.626Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-07-13T16:11:27.708Z] The recommended git tool is: git [2023-07-13T16:11:27.991Z] Removing intermediate container 5def3fe241cb [2023-07-13T16:11:27.992Z] ---> 17ec4f97b56c [2023-07-13T16:11:27.992Z] Step 11/23 : FROM alpine:3.17 [2023-07-13T16:11:27.992Z] 3.17: Pulling from library/alpine [2023-07-13T16:11:28.249Z] 4db1b89c0bd1: Already exists [2023-07-13T16:11:28.249Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-13T16:11:28.249Z] Status: Downloaded newer image for alpine:3.17 [2023-07-13T16:11:28.249Z] ---> 1f73a9d63274 [2023-07-13T16:11:28.249Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-07-13T16:11:28.249Z] ---> Running in 91c3eaded72a [2023-07-13T16:11:28.507Z] Removing intermediate container 91c3eaded72a [2023-07-13T16:11:28.507Z] ---> 8b35af910d6c [2023-07-13T16:11:28.507Z] Step 13/23 : RUN apk add --update --no-cache [2023-07-13T16:11:28.507Z] ---> Running in edc43c058e42 [2023-07-13T16:11:28.765Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-13T16:11:28.765Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-13T16:11:29.024Z] OK: 7 MiB in 15 packages [2023-07-13T16:11:29.599Z] Removing intermediate container edc43c058e42 [2023-07-13T16:11:29.599Z] ---> 969ad49b9789 [2023-07-13T16:11:29.599Z] Step 14/23 : WORKDIR / [2023-07-13T16:11:29.599Z] ---> Running in e88c93dc8349 [2023-07-13T16:11:29.599Z] Removing intermediate container e88c93dc8349 [2023-07-13T16:11:29.599Z] ---> 52c17a81613c [2023-07-13T16:11:29.599Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-07-13T16:11:29.599Z] ---> 542b68d51f2e [2023-07-13T16:11:29.599Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-07-13T16:11:30.538Z] ---> 5f8abc689917 [2023-07-13T16:11:30.538Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-07-13T16:11:30.538Z] ---> 4d05864a6a74 [2023-07-13T16:11:30.538Z] Step 18/23 : EXPOSE 59999 [2023-07-13T16:11:30.538Z] ---> Running in 9e46ceb246b0 [2023-07-13T16:11:30.538Z] Removing intermediate container 9e46ceb246b0 [2023-07-13T16:11:30.538Z] ---> 72099a4d87c0 [2023-07-13T16:11:30.538Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-07-13T16:11:30.538Z] ---> Running in 76e19b75894a [2023-07-13T16:11:30.538Z] Removing intermediate container 76e19b75894a [2023-07-13T16:11:30.538Z] ---> cd0340b7189f [2023-07-13T16:11:30.538Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-13T16:11:30.538Z] ---> Running in 1856c4854e4f [2023-07-13T16:11:30.799Z] Removing intermediate container 1856c4854e4f [2023-07-13T16:11:30.799Z] ---> 23b7a56ba40c [2023-07-13T16:11:30.799Z] Step 21/23 : LABEL arch=amd64 [2023-07-13T16:11:30.799Z] ---> Running in 412b9bd5ca5f [2023-07-13T16:11:30.799Z] Removing intermediate container 412b9bd5ca5f [2023-07-13T16:11:30.799Z] ---> 187b14be6fe9 [2023-07-13T16:11:30.799Z] Step 22/23 : LABEL git_sha=0788bfb21fb273ad7b45151f543634661d4fb024 [2023-07-13T16:11:30.799Z] ---> Running in 74a058507ef6 [2023-07-13T16:11:30.799Z] Removing intermediate container 74a058507ef6 [2023-07-13T16:11:30.799Z] ---> d3f8eab0d7a9 [2023-07-13T16:11:30.799Z] Step 23/23 : LABEL version=0.0.0 [2023-07-13T16:11:31.059Z] ---> Running in 707cec40613b [2023-07-13T16:11:31.059Z] Removing intermediate container 707cec40613b [2023-07-13T16:11:31.059Z] ---> 255aeedac8c3 [2023-07-13T16:11:31.059Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-13T16:11:31.059Z] Successfully built 255aeedac8c3 [2023-07-13T16:11:31.059Z] 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-07-13T16:11:31.907Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T16:11:31.907Z] [2023-07-13T16:11:31.907Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T16:11:32.282Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T16:11:32.282Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-13T16:11:32.282Z] 5eb5b503b376: Pulling fs layer [2023-07-13T16:11:32.282Z] 5c69ac0246d0: Pulling fs layer [2023-07-13T16:11:32.282Z] ec43610c2a17: Pulling fs layer [2023-07-13T16:11:32.282Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-13T16:11:32.282Z] 33b1e0a273af: Pulling fs layer [2023-07-13T16:11:32.282Z] 5d3b04190fa2: Pulling fs layer [2023-07-13T16:11:32.282Z] 2f39f015ded8: Pulling fs layer [2023-07-13T16:11:32.282Z] 3a2ae6a8a46f: Waiting [2023-07-13T16:11:32.282Z] 33b1e0a273af: Waiting [2023-07-13T16:11:32.282Z] 2f39f015ded8: Waiting [2023-07-13T16:11:32.282Z] 5d3b04190fa2: Waiting [2023-07-13T16:11:32.282Z] 5c69ac0246d0: Verifying Checksum [2023-07-13T16:11:32.282Z] 5c69ac0246d0: Download complete [2023-07-13T16:11:32.282Z] 3a2ae6a8a46f: Download complete [2023-07-13T16:11:32.282Z] 33b1e0a273af: Verifying Checksum [2023-07-13T16:11:32.282Z] 33b1e0a273af: Download complete [2023-07-13T16:11:32.282Z] 5d3b04190fa2: Verifying Checksum [2023-07-13T16:11:32.282Z] 5d3b04190fa2: Download complete [2023-07-13T16:11:32.282Z] ec43610c2a17: Verifying Checksum [2023-07-13T16:11:32.282Z] ec43610c2a17: Download complete [2023-07-13T16:11:32.542Z] 5eb5b503b376: Verifying Checksum [2023-07-13T16:11:32.542Z] 5eb5b503b376: Download complete [2023-07-13T16:11:33.109Z] 2f39f015ded8: Download complete [2023-07-13T16:11:33.676Z] 5eb5b503b376: Pull complete [2023-07-13T16:11:33.676Z] 5c69ac0246d0: Pull complete [2023-07-13T16:11:33.935Z] ec43610c2a17: Pull complete [2023-07-13T16:11:34.205Z] 3a2ae6a8a46f: Pull complete [2023-07-13T16:11:34.205Z] 33b1e0a273af: Pull complete [2023-07-13T16:11:34.378Z] using credential edgex-jenkins-ssh [2023-07-13T16:11:34.398Z] Cloning the remote Git repository [2023-07-13T16:11:34.465Z] 5d3b04190fa2: Pull complete [2023-07-13T16:11:34.454Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-07-13T16:11:34.610Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-07-13T16:11:36.486Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-07-13T16:11:36.487Z] > git --version # timeout=10 [2023-07-13T16:11:36.595Z] > git --version # 'git version 2.25.1' [2023-07-13T16:11:36.597Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-13T16:11:36.831Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-13T16:11:38.648Z] 2f39f015ded8: Pull complete [2023-07-13T16:11:38.648Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-13T16:11:38.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T16:11:38.648Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T16:11:38.864Z] prd-ubuntu20.04-docker-8c-8g-1069 does not seem to be running inside a container [2023-07-13T16:11:38.898Z] $ 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-1475 -v /w/workspace/gexfoundry_device-sdk-go_PR-1475:/w/workspace/gexfoundry_device-sdk-go_PR-1475:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-13T16:11:38.574Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-07-13T16:11:38.601Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-13T16:11:40.789Z] Merging remotes/origin/main commit 1c436aae64ba04d8b406a209c24bbc2f99c23ca9 into PR head commit 0788bfb21fb273ad7b45151f543634661d4fb024 [2023-07-13T16:11:39.966Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-07-13T16:11:40.080Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-07-13T16:11:40.080Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-13T16:11:40.095Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1475/head:refs/remotes/origin/PR-1475 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-13T16:11:40.820Z] > git config core.sparsecheckout # timeout=10 [2023-07-13T16:11:40.995Z] > git checkout -f 0788bfb21fb273ad7b45151f543634661d4fb024 # timeout=10 [2023-07-13T16:11:41.367Z] $ docker top 9276f7da82180d342aaa00a5ffe0e370ecab203665f2c5d90a943590f26a4b75 -eo pid,comm [2023-07-13T16:11:41.427Z] Merge succeeded, producing 0788bfb21fb273ad7b45151f543634661d4fb024 [2023-07-13T16:11:41.428Z] Checking out Revision 0788bfb21fb273ad7b45151f543634661d4fb024 (PR-1475) [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T16:11:41.829Z] ---> job-cost.sh [2023-07-13T16:11:41.829Z] lf-activate-venv: SKIPPING [2023-07-13T16:11:41.829Z] INFO: No Stack... [2023-07-13T16:11:42.398Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-13T16:11:42.657Z] INFO: Archiving Costs [2023-07-13T16:11:41.176Z] > git remote # timeout=10 [2023-07-13T16:11:41.234Z] > git config --get remote.origin.url # timeout=10 [2023-07-13T16:11:41.297Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-13T16:11:41.313Z] > git merge 1c436aae64ba04d8b406a209c24bbc2f99c23ca9 # timeout=10 [2023-07-13T16:11:41.362Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-13T16:11:41.440Z] > git config core.sparsecheckout # timeout=10 [2023-07-13T16:11:41.507Z] > git checkout -f 0788bfb21fb273ad7b45151f543634661d4fb024 # timeout=10 [Pipeline] sh [2023-07-13T16:11:42.974Z] + + cut -d, -f6 [2023-07-13T16:11:42.974Z] cat /w/workspace/gexfoundry_device-sdk-go_PR-1475/archives/cost.csv [Pipeline] lock [2023-07-13T16:11:43.014Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1475-1-stack-cost] [2023-07-13T16:11:43.018Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1475-1-stack-cost] did not exist. Created. [2023-07-13T16:11:43.018Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1475-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-13T16:11:43.420Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-13T16:11:43.478Z] Stashed 1 file(s) [Pipeline] } [2023-07-13T16:11:43.507Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1475-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-13T16:11:43.590Z] $ docker stop --time=1 9276f7da82180d342aaa00a5ffe0e370ecab203665f2c5d90a943590f26a4b75 [2023-07-13T16:11:44.738Z] $ docker rm -f --volumes 9276f7da82180d342aaa00a5ffe0e370ecab203665f2c5d90a943590f26a4b75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-13T16:11:45.444Z] Commit message: "feat(security): New AddCustomRoute method with authentication parameter" [2023-07-13T16:11:45.498Z] > git --version # timeout=10 [2023-07-13T16:11:45.509Z] > git --version # 'git version 2.25.1' [2023-07-13T16:11:45.522Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-13T16:11:46.659Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-13T16:11:46.659Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-13T16:11:46.659Z] Dload Upload Total Spent Left Speed [2023-07-13T16:11:46.659Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82264 0 --:--:-- --:--:-- --:--:-- 82798 [Pipeline] sh [2023-07-13T16:11:47.669Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-13T16:11:48.035Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-13T16:11:48.035Z] + sudo tee /etc/docker/daemon.new [2023-07-13T16:11:49.474Z] { [2023-07-13T16:11:49.474Z] "registry-mirrors": [ [2023-07-13T16:11:49.474Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-13T16:11:49.474Z] ], [2023-07-13T16:11:49.474Z] "bip": "10.250.0.254/24", [2023-07-13T16:11:49.474Z] "hosts": [ [2023-07-13T16:11:49.474Z] "tcp://0.0.0.0:5555", [2023-07-13T16:11:49.474Z] "unix:///var/run/docker.sock" [2023-07-13T16:11:49.474Z] ], [2023-07-13T16:11:49.474Z] "mtu": 1458, [2023-07-13T16:11:49.474Z] "selinux-enabled": true, [2023-07-13T16:11:49.474Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-13T16:11:49.474Z] } [Pipeline] sh [2023-07-13T16:11:49.841Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-13T16:11:50.251Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-13T16:12:08.585Z] provisioning config files... [2023-07-13T16:12:08.612Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5822178670420369485tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T16:12:08.997Z] ---> docker-login.sh [2023-07-13T16:12:08.997Z] nexus3.edgexfoundry.org:10001 [2023-07-13T16:12:09.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T16:12:09.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T16:12:09.536Z] Configure a credential helper to remove this warning. See [2023-07-13T16:12:09.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T16:12:09.536Z] [2023-07-13T16:12:09.536Z] Login Succeeded [2023-07-13T16:12:09.536Z] nexus3.edgexfoundry.org:10002 [2023-07-13T16:12:09.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T16:12:09.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T16:12:09.807Z] Configure a credential helper to remove this warning. See [2023-07-13T16:12:09.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T16:12:09.807Z] [2023-07-13T16:12:09.807Z] Login Succeeded [2023-07-13T16:12:09.807Z] nexus3.edgexfoundry.org:10003 [2023-07-13T16:12:10.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T16:12:10.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T16:12:10.350Z] Configure a credential helper to remove this warning. See [2023-07-13T16:12:10.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T16:12:10.350Z] [2023-07-13T16:12:10.350Z] Login Succeeded [2023-07-13T16:12:10.350Z] nexus3.edgexfoundry.org:10004 [2023-07-13T16:12:10.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T16:12:10.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T16:12:10.620Z] Configure a credential helper to remove this warning. See [2023-07-13T16:12:10.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T16:12:10.620Z] [2023-07-13T16:12:10.620Z] Login Succeeded [2023-07-13T16:12:10.620Z] docker.io [2023-07-13T16:12:10.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T16:12:11.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T16:12:11.158Z] Configure a credential helper to remove this warning. See [2023-07-13T16:12:11.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T16:12:11.158Z] [2023-07-13T16:12:11.158Z] Login Succeeded [2023-07-13T16:12:11.158Z] ---> docker-login.sh ends [Pipeline] } [2023-07-13T16:12:11.190Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-13T16:12:11.572Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T16:12:11.607Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T16:12:11.642Z] ========================================================= [2023-07-13T16:12:11.642Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-13T16:12:11.642Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T16:12:12.141Z] + 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-07-13T16:12:12.415Z] Sending build context to Docker daemon 5.811MB [2023-07-13T16:12:12.415Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-13T16:12:12.415Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-13T16:12:12.686Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-13T16:12:12.686Z] edb6bdbacee9: Pulling fs layer [2023-07-13T16:12:12.686Z] 5f9638ab2659: Pulling fs layer [2023-07-13T16:12:12.686Z] 8d51d6327a98: Pulling fs layer [2023-07-13T16:12:12.686Z] 8b374f2dd631: Pulling fs layer [2023-07-13T16:12:12.686Z] ec14aa9079de: Pulling fs layer [2023-07-13T16:12:12.686Z] 2f466654f4bb: Pulling fs layer [2023-07-13T16:12:12.686Z] 554e91adad29: Pulling fs layer [2023-07-13T16:12:12.686Z] 8b374f2dd631: Waiting [2023-07-13T16:12:12.686Z] ec14aa9079de: Waiting [2023-07-13T16:12:12.686Z] 2f466654f4bb: Waiting [2023-07-13T16:12:12.686Z] 554e91adad29: Waiting [2023-07-13T16:12:12.686Z] 5f9638ab2659: Download complete [2023-07-13T16:12:12.686Z] 8b374f2dd631: Verifying Checksum [2023-07-13T16:12:12.686Z] 8b374f2dd631: Download complete [2023-07-13T16:12:12.686Z] ec14aa9079de: Verifying Checksum [2023-07-13T16:12:12.686Z] ec14aa9079de: Download complete [2023-07-13T16:12:12.686Z] edb6bdbacee9: Verifying Checksum [2023-07-13T16:12:12.686Z] edb6bdbacee9: Download complete [2023-07-13T16:12:14.111Z] 554e91adad29: Download complete [2023-07-13T16:12:15.078Z] 2f466654f4bb: Verifying Checksum [2023-07-13T16:12:15.078Z] 2f466654f4bb: Download complete [2023-07-13T16:12:15.078Z] 8d51d6327a98: Verifying Checksum [2023-07-13T16:12:15.078Z] 8d51d6327a98: Download complete [2023-07-13T16:12:15.346Z] edb6bdbacee9: Pull complete [2023-07-13T16:12:15.931Z] 5f9638ab2659: Pull complete [2023-07-13T16:12:28.259Z] 8d51d6327a98: Pull complete [2023-07-13T16:12:28.259Z] 8b374f2dd631: Pull complete [2023-07-13T16:12:28.259Z] ec14aa9079de: Pull complete [2023-07-13T16:12:33.620Z] 2f466654f4bb: Pull complete [2023-07-13T16:12:36.201Z] 554e91adad29: Pull complete [2023-07-13T16:12:36.201Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-13T16:12:36.201Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-13T16:12:36.201Z] ---> 1e15ea492957 [2023-07-13T16:12:36.201Z] Step 3/10 : ARG MAKE=make build [2023-07-13T16:12:37.614Z] ---> Running in 9cbfb269f5c9 [2023-07-13T16:12:37.882Z] Removing intermediate container 9cbfb269f5c9 [2023-07-13T16:12:37.882Z] ---> a1752a777ec9 [2023-07-13T16:12:37.882Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-13T16:12:37.882Z] ---> Running in ce69050d7bb8 [2023-07-13T16:12:38.150Z] Removing intermediate container ce69050d7bb8 [2023-07-13T16:12:38.150Z] ---> 12738b47f4aa [2023-07-13T16:12:38.150Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-13T16:12:38.150Z] ---> Running in 3f99a507f56e [2023-07-13T16:12:38.417Z] Removing intermediate container 3f99a507f56e [2023-07-13T16:12:38.417Z] ---> d306ea3526b1 [2023-07-13T16:12:38.417Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-13T16:12:38.688Z] ---> Running in e281a08d6d4c [2023-07-13T16:12:39.650Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-13T16:12:40.234Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-13T16:12:41.194Z] OK: 263 MiB in 53 packages [2023-07-13T16:12:41.781Z] Removing intermediate container e281a08d6d4c [2023-07-13T16:12:41.781Z] ---> 57690588661d [2023-07-13T16:12:41.781Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-13T16:12:42.367Z] ---> e1329f2a8f24 [2023-07-13T16:12:42.367Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-13T16:12:42.367Z] ---> Running in b3e19ebdce11 [2023-07-13T16:13:50.249Z] Removing intermediate container b3e19ebdce11 [2023-07-13T16:13:50.249Z] ---> 9199d34b7851 [2023-07-13T16:13:50.249Z] Step 9/10 : COPY . . [2023-07-13T16:13:50.249Z] ---> 85132434f984 [2023-07-13T16:13:50.249Z] Step 10/10 : RUN ${MAKE} [2023-07-13T16:13:50.249Z] ---> Running in b58766c0115a [2023-07-13T16:13:50.249Z] noop [2023-07-13T16:13:50.249Z] Removing intermediate container b58766c0115a [2023-07-13T16:13:50.249Z] ---> ee327075a79a [2023-07-13T16:13:50.249Z] Successfully built ee327075a79a [2023-07-13T16:13:50.249Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T16:13:50.719Z] + docker inspect -f . ci-base-image-arm64 [2023-07-13T16:13:50.719Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T16:13:50.980Z] prd-ubuntu20.04-docker-arm64-4c-16g-1070 does not seem to be running inside a container [2023-07-13T16:13:51.057Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-13T16:13:52.238Z] $ docker top 39e331dae60c5497a2cec775ebd007d674e30d23e3824c380f264b21c1a7e61e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T16:13:53.115Z] + go version [2023-07-13T16:13:53.115Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-13T16:13:53.153Z] $ docker stop --time=1 39e331dae60c5497a2cec775ebd007d674e30d23e3824c380f264b21c1a7e61e [2023-07-13T16:13:54.721Z] $ docker rm -f --volumes 39e331dae60c5497a2cec775ebd007d674e30d23e3824c380f264b21c1a7e61e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T16:13:55.552Z] + docker inspect -f . ci-base-image-arm64 [2023-07-13T16:13:55.552Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T16:13:55.785Z] prd-ubuntu20.04-docker-arm64-4c-16g-1070 does not seem to be running inside a container [2023-07-13T16:13:55.849Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-13T16:13:56.954Z] $ docker top c039707535c8c24bbd77c43d509845c891ce12472631f13f6f3daab85b943521 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T16:13:57.485Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-07-13T16:13:58.135Z] + make test [2023-07-13T16:13:58.135Z] go test -race -coverprofile=coverage.out ./... [2023-07-13T16:14:37.006Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-13T16:16:28.675Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-07-13T16:16:28.675Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-13T16:16:28.675Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-13T16:16:28.675Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-13T16:16:28.675Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-13T16:16:32.017Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.228s coverage: 27.6% of statements [2023-07-13T16:16:36.274Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.246s coverage: 80.2% of statements [2023-07-13T16:16:48.580Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-13T16:16:48.580Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-13T16:16:48.580Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.323s coverage: 86.0% of statements [2023-07-13T16:16:53.919Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-13T16:16:54.187Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.428s coverage: 77.5% of statements [2023-07-13T16:16:58.450Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-07-13T16:16:59.857Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-13T16:16:59.858Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-13T16:17:01.267Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.288s coverage: 14.3% of statements [2023-07-13T16:17:01.267Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.408s coverage: 68.5% of statements [2023-07-13T16:17:03.862Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.425s coverage: 89.2% of statements [2023-07-13T16:17:04.821Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-07-13T16:17:05.088Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.249s coverage: 5.6% of statements [2023-07-13T16:17:06.046Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-13T16:17:06.046Z] GO111MODULE=on go vet ./... [2023-07-13T16:19:27.764Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-13T16:19:27.765Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-13T16:19:27.765Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-13T16:19:27.799Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-13T16:19:27.833Z] $ docker stop --time=1 c039707535c8c24bbd77c43d509845c891ce12472631f13f6f3daab85b943521 [2023-07-13T16:19:29.663Z] $ docker rm -f --volumes c039707535c8c24bbd77c43d509845c891ce12472631f13f6f3daab85b943521 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-13T16:19:31.188Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-13T16:19:31.225Z] Warning: overwriting stash ‘coverage-report’ [2023-07-13T16:19:31.741Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-13T16:19:32.326Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-13T16:19:32.658Z] + ls -al . [2023-07-13T16:19:32.658Z] total 280 [2023-07-13T16:19:32.658Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 13 16:14 . [2023-07-13T16:19:32.658Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 16:11 .. [2023-07-13T16:19:32.658Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 13 16:11 .dockerignore [2023-07-13T16:19:32.658Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 16:11 .git [2023-07-13T16:19:32.658Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 16:11 .github [2023-07-13T16:19:32.658Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 13 16:11 .gitignore [2023-07-13T16:19:32.658Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 13 16:11 .golangci.yml [2023-07-13T16:19:32.658Z] -rw-rw-r-- 1 jenkins jenkins 44878 Jul 13 16:11 CHANGELOG.md [2023-07-13T16:19:32.658Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 13 16:11 GOVERNANCE.md [2023-07-13T16:19:32.658Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 13 16:11 Jenkinsfile [2023-07-13T16:19:32.658Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 13 16:11 LICENSE [2023-07-13T16:19:32.658Z] -rw-rw-r-- 1 jenkins jenkins 1714 Jul 13 16:11 Makefile [2023-07-13T16:19:32.658Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 13 16:11 OWNERS.md [2023-07-13T16:19:32.658Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jul 13 16:11 README.md [2023-07-13T16:19:32.658Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 13 16:09 VERSION [2023-07-13T16:19:32.658Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 16:11 bin [2023-07-13T16:19:32.658Z] -rw-r--r-- 1 jenkins jenkins 106395 Jul 13 16:17 coverage.out [2023-07-13T16:19:32.658Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 13 16:11 example [2023-07-13T16:19:32.658Z] -rw-rw-r-- 1 jenkins jenkins 3460 Jul 13 16:11 go.mod [2023-07-13T16:19:32.658Z] -rw-rw-r-- 1 jenkins jenkins 32141 Jul 13 16:11 go.sum [2023-07-13T16:19:32.658Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 13 16:11 internal [2023-07-13T16:19:32.658Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 16:11 openapi [2023-07-13T16:19:32.658Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 13 16:11 pkg [2023-07-13T16:19:32.658Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 16:11 snap [2023-07-13T16:19:32.658Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 13 16:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T16:19:33.067Z] + 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=0788bfb21fb273ad7b45151f543634661d4fb024 --label arch=arm64 --label version=0.0.0 . [2023-07-13T16:19:33.336Z] Sending build context to Docker daemon 5.918MB [2023-07-13T16:19:33.336Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-07-13T16:19:33.336Z] Step 2/23 : FROM ${BASE} AS builder [2023-07-13T16:19:33.336Z] ---> ee327075a79a [2023-07-13T16:19:33.336Z] Step 3/23 : ARG MAKE=make build [2023-07-13T16:19:33.612Z] ---> Running in 3c07cdca6de7 [2023-07-13T16:19:33.880Z] Removing intermediate container 3c07cdca6de7 [2023-07-13T16:19:33.880Z] ---> f524d77c5c77 [2023-07-13T16:19:33.880Z] Step 4/23 : WORKDIR /device-sdk-go [2023-07-13T16:19:33.880Z] ---> Running in 654d420bce67 [2023-07-13T16:19:34.157Z] Removing intermediate container 654d420bce67 [2023-07-13T16:19:34.157Z] ---> fb658bc24ce5 [2023-07-13T16:19:34.157Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-13T16:19:34.426Z] ---> Running in 3398dec904a7 [2023-07-13T16:19:34.694Z] Removing intermediate container 3398dec904a7 [2023-07-13T16:19:34.694Z] ---> 3a5f58c8339f [2023-07-13T16:19:34.694Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-07-13T16:19:34.694Z] ---> Running in fbe91da07414 [2023-07-13T16:19:35.654Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-13T16:19:36.234Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-13T16:19:37.193Z] OK: 263 MiB in 53 packages [2023-07-13T16:19:37.789Z] Removing intermediate container fbe91da07414 [2023-07-13T16:19:37.789Z] ---> 28d2d5fb8ad3 [2023-07-13T16:19:37.789Z] Step 7/23 : COPY go.mod vendor* ./ [2023-07-13T16:19:38.372Z] ---> d5e27a7dea96 [2023-07-13T16:19:38.372Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-13T16:19:38.372Z] ---> Running in 86d67a08e2bf [2023-07-13T16:19:40.314Z] Removing intermediate container 86d67a08e2bf [2023-07-13T16:19:40.314Z] ---> 6201c67f7461 [2023-07-13T16:19:40.314Z] Step 9/23 : COPY . . [2023-07-13T16:19:41.273Z] ---> 7a632a5d4f0c [2023-07-13T16:19:41.273Z] Step 10/23 : RUN ${MAKE} [2023-07-13T16:19:41.273Z] ---> Running in 7f22175c5b8f [2023-07-13T16:19:42.245Z] 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-07-13T16:21:48.891Z] Removing intermediate container 7f22175c5b8f [2023-07-13T16:21:48.892Z] ---> 89875ff1efd5 [2023-07-13T16:21:48.892Z] Step 11/23 : FROM alpine:3.17 [2023-07-13T16:21:48.892Z] 3.17: Pulling from library/alpine [2023-07-13T16:21:48.892Z] edb6bdbacee9: Already exists [2023-07-13T16:21:48.892Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-13T16:21:48.892Z] Status: Downloaded newer image for alpine:3.17 [2023-07-13T16:21:48.892Z] ---> 779605e5fbc0 [2023-07-13T16:21:48.892Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-07-13T16:21:48.892Z] ---> Running in 5495e09955f5 [2023-07-13T16:21:48.892Z] Removing intermediate container 5495e09955f5 [2023-07-13T16:21:48.892Z] ---> 4057d826ce78 [2023-07-13T16:21:48.892Z] Step 13/23 : RUN apk add --update --no-cache [2023-07-13T16:21:48.892Z] ---> Running in 6cad252c407f [2023-07-13T16:21:48.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-13T16:21:48.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-13T16:21:48.892Z] OK: 7 MiB in 15 packages [2023-07-13T16:21:49.173Z] Removing intermediate container 6cad252c407f [2023-07-13T16:21:49.173Z] ---> b79aa1f6697a [2023-07-13T16:21:49.173Z] Step 14/23 : WORKDIR / [2023-07-13T16:21:49.442Z] ---> Running in 51952f0747d6 [2023-07-13T16:21:49.715Z] Removing intermediate container 51952f0747d6 [2023-07-13T16:21:49.715Z] ---> 6033d993ce2b [2023-07-13T16:21:49.715Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-07-13T16:21:50.307Z] ---> 5f837f8e7636 [2023-07-13T16:21:50.307Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-07-13T16:21:51.725Z] ---> 091731de331c [2023-07-13T16:21:51.725Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-07-13T16:21:51.992Z] ---> b36b101d7371 [2023-07-13T16:21:51.992Z] Step 18/23 : EXPOSE 59999 [2023-07-13T16:21:51.992Z] ---> Running in 056dd9b071c8 [2023-07-13T16:21:52.260Z] Removing intermediate container 056dd9b071c8 [2023-07-13T16:21:52.260Z] ---> f0dc5eef68cc [2023-07-13T16:21:52.260Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-07-13T16:21:52.260Z] ---> Running in 7f3edcc79d86 [2023-07-13T16:21:52.529Z] Removing intermediate container 7f3edcc79d86 [2023-07-13T16:21:52.529Z] ---> e8d6794af5f4 [2023-07-13T16:21:52.529Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-13T16:21:52.798Z] ---> Running in 35d94e13c876 [2023-07-13T16:21:53.066Z] Removing intermediate container 35d94e13c876 [2023-07-13T16:21:53.066Z] ---> 470750f93821 [2023-07-13T16:21:53.066Z] Step 21/23 : LABEL arch=arm64 [2023-07-13T16:21:53.066Z] ---> Running in 71b7d70bf633 [2023-07-13T16:21:53.332Z] Removing intermediate container 71b7d70bf633 [2023-07-13T16:21:53.332Z] ---> 495364b36f84 [2023-07-13T16:21:53.332Z] Step 22/23 : LABEL git_sha=0788bfb21fb273ad7b45151f543634661d4fb024 [2023-07-13T16:21:53.332Z] ---> Running in e492a02a47b2 [2023-07-13T16:21:53.599Z] Removing intermediate container e492a02a47b2 [2023-07-13T16:21:53.599Z] ---> 46abfe443414 [2023-07-13T16:21:53.599Z] Step 23/23 : LABEL version=0.0.0 [2023-07-13T16:21:53.599Z] ---> Running in c647bc1e8f33 [2023-07-13T16:21:53.868Z] Removing intermediate container c647bc1e8f33 [2023-07-13T16:21:53.868Z] ---> c3fd500098b2 [2023-07-13T16:21:53.868Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-13T16:21:54.135Z] Successfully built c3fd500098b2 [2023-07-13T16:21:54.135Z] 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-07-13T16:21:54.927Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-13T16:21:54.928Z] [2023-07-13T16:21:54.928Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T16:21:55.322Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-13T16:21:55.322Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-13T16:21:55.322Z] 8998bd30e6a1: Pulling fs layer [2023-07-13T16:21:55.322Z] 04944245beec: Pulling fs layer [2023-07-13T16:21:55.322Z] 699f458cf7ca: Pulling fs layer [2023-07-13T16:21:55.322Z] 765212b225bb: Pulling fs layer [2023-07-13T16:21:55.322Z] f23df028b6ca: Pulling fs layer [2023-07-13T16:21:55.322Z] d65c8cfc05b1: Pulling fs layer [2023-07-13T16:21:55.322Z] 2437ff75d9bd: Pulling fs layer [2023-07-13T16:21:55.322Z] 765212b225bb: Waiting [2023-07-13T16:21:55.322Z] f23df028b6ca: Waiting [2023-07-13T16:21:55.322Z] d65c8cfc05b1: Waiting [2023-07-13T16:21:55.322Z] 2437ff75d9bd: Waiting [2023-07-13T16:21:55.589Z] 04944245beec: Verifying Checksum [2023-07-13T16:21:55.589Z] 04944245beec: Download complete [2023-07-13T16:21:55.589Z] 765212b225bb: Verifying Checksum [2023-07-13T16:21:55.589Z] 765212b225bb: Download complete [2023-07-13T16:21:55.589Z] f23df028b6ca: Verifying Checksum [2023-07-13T16:21:55.589Z] f23df028b6ca: Download complete [2023-07-13T16:21:55.589Z] d65c8cfc05b1: Verifying Checksum [2023-07-13T16:21:55.589Z] d65c8cfc05b1: Download complete [2023-07-13T16:21:55.589Z] 699f458cf7ca: Verifying Checksum [2023-07-13T16:21:55.589Z] 699f458cf7ca: Download complete [2023-07-13T16:21:56.178Z] 8998bd30e6a1: Verifying Checksum [2023-07-13T16:21:56.178Z] 8998bd30e6a1: Download complete [2023-07-13T16:21:58.131Z] 2437ff75d9bd: Verifying Checksum [2023-07-13T16:21:58.131Z] 2437ff75d9bd: Download complete [2023-07-13T16:22:02.382Z] 8998bd30e6a1: Pull complete [2023-07-13T16:22:02.382Z] 04944245beec: Pull complete [2023-07-13T16:22:03.790Z] 699f458cf7ca: Pull complete [2023-07-13T16:22:03.790Z] 765212b225bb: Pull complete [2023-07-13T16:22:04.373Z] f23df028b6ca: Pull complete [2023-07-13T16:22:04.641Z] d65c8cfc05b1: Pull complete [2023-07-13T16:22:19.642Z] 2437ff75d9bd: Pull complete [2023-07-13T16:22:19.642Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-13T16:22:19.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-13T16:22:19.642Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T16:22:19.955Z] prd-ubuntu20.04-docker-arm64-4c-16g-1070 does not seem to be running inside a container [2023-07-13T16:22:20.020Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-13T16:22:22.496Z] $ docker top eab63fdcac31cfad141d29dca140a0d91f977c362846448e706fdfa9a9ca5fb2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T16:22:23.373Z] ---> job-cost.sh [2023-07-13T16:22:23.373Z] lf-activate-venv: SKIPPING [2023-07-13T16:22:23.373Z] INFO: No Stack... [2023-07-13T16:22:24.323Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-13T16:22:24.900Z] INFO: Archiving Costs [Pipeline] sh [2023-07-13T16:22:25.234Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-07-13T16:22:25.501Z] + cut -d, -f6 [Pipeline] lock [2023-07-13T16:22:25.552Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1475-1-stack-cost] [2023-07-13T16:22:25.557Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1475-1-stack-cost] did not exist. Created. [2023-07-13T16:22:25.557Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1475-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-13T16:22:25.968Z] /w/workspace/device-sdk-go/1@tmp/durable-6e77ded9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-13T16:22:26.338Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-13T16:22:26.635Z] Warning: overwriting stash ‘stack-cost’ [2023-07-13T16:22:26.710Z] Stashed 1 file(s) [Pipeline] } [2023-07-13T16:22:26.725Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1475-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-13T16:22:26.814Z] $ docker stop --time=1 eab63fdcac31cfad141d29dca140a0d91f977c362846448e706fdfa9a9ca5fb2 [2023-07-13T16:22:28.297Z] $ docker rm -f --volumes eab63fdcac31cfad141d29dca140a0d91f977c362846448e706fdfa9a9ca5fb2 [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-07-13T16:22:29.422Z] provisioning config files... [2023-07-13T16:22:29.428Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp/config7483791223220101914tmp [Pipeline] { [Pipeline] sh [2023-07-13T16:22:29.779Z] + set +x [2023-07-13T16:22:29.779Z] + bash -s -- [2023-07-13T16:22:29.779Z] + curl -s https://codecov.io/bash [2023-07-13T16:22:29.779Z] [2023-07-13T16:22:29.779Z] _____ _ [2023-07-13T16:22:29.779Z] / ____| | | [2023-07-13T16:22:29.779Z] | | ___ __| | ___ ___ _____ __ [2023-07-13T16:22:29.779Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-13T16:22:29.779Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-13T16:22:29.779Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-13T16:22:29.779Z] Bash-1.0.6 [2023-07-13T16:22:29.779Z] [2023-07-13T16:22:29.779Z] [2023-07-13T16:22:29.779Z] ==> git version 2.25.1 found [2023-07-13T16:22:29.779Z] ==> 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-07-13T16:22:29.779Z] Release-Date: 2020-01-08 [2023-07-13T16:22:29.779Z] 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-07-13T16:22:29.779Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-13T16:22:29.779Z] ==> Jenkins CI detected. [2023-07-13T16:22:29.779Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1475 [2023-07-13T16:22:29.779Z] project root: . [2023-07-13T16:22:29.779Z] --> token set from env [2023-07-13T16:22:29.779Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-13T16:22:29.779Z] ==> Running gcov in . (disable via -X gcov) [2023-07-13T16:22:29.779Z] ==> Python coveragepy not found [2023-07-13T16:22:29.779Z] ==> Searching for coverage reports in: [2023-07-13T16:22:29.779Z] + . [2023-07-13T16:22:29.779Z] -> Found 1 reports [2023-07-13T16:22:29.779Z] ==> Detecting git/mercurial file structure [2023-07-13T16:22:29.779Z] ==> Reading reports [2023-07-13T16:22:29.779Z] + ./coverage.out bytes=106395 [2023-07-13T16:22:29.779Z] ==> Appending adjustments [2023-07-13T16:22:29.779Z] https://docs.codecov.io/docs/fixing-reports [2023-07-13T16:22:30.347Z] + Found adjustments [2023-07-13T16:22:30.347Z] ==> Gzipping contents [2023-07-13T16:22:30.347Z] 16K /tmp/codecov.qKVSQz.gz [2023-07-13T16:22:30.347Z] ==> Uploading reports [2023-07-13T16:22:30.347Z] url: https://codecov.io [2023-07-13T16:22:30.347Z] query: branch=PR-1475&commit=0788bfb21fb273ad7b45151f543634661d4fb024&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1475%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1475&job=&cmd_args= [2023-07-13T16:22:30.347Z] -> Pinging Codecov [2023-07-13T16:22:30.347Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1475&commit=0788bfb21fb273ad7b45151f543634661d4fb024&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1475%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1475&job=&cmd_args= [2023-07-13T16:22:30.347Z] -> Uploading to [2023-07-13T16:22:30.347Z] https://storage.googleapis.com/codecov/v4/raw/2023-07-13/7E55EF52A471D76F132DFD9A03CDDE97/0788bfb21fb273ad7b45151f543634661d4fb024/44eb1565-7b34-4eaa-b192-c9947a7b64be.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230713%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230713T162230Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e12eb73d636c1fde09ab8f18a9570bb885831f5fbf6daf2e4571972a2805b3d6 [2023-07-13T16:22:30.347Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-13T16:22:30.347Z] Dload Upload Total Spent Left Speed [2023-07-13T16:22:30.607Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15206 0 0 100 15206 0 81752 --:--:-- --:--:-- --:--:-- 81752 [2023-07-13T16:22:30.607Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0788bfb21fb273ad7b45151f543634661d4fb024 [Pipeline] } [2023-07-13T16:22:30.635Z] 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-07-13T16:22:32.426Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1475/archives ] [2023-07-13T16:22:32.426Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1475/archives [2023-07-13T16:22:32.426Z] total 16 [2023-07-13T16:22:32.426Z] drwxr-xr-x 3 root root 4096 Jul 13 16:11 . [2023-07-13T16:22:32.426Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 13 16:11 .. [2023-07-13T16:22:32.426Z] drwxr-xr-x 2 root root 4096 Jul 13 16:11 cost [2023-07-13T16:22:32.426Z] -rw-r--r-- 1 root root 86 Jul 13 16:11 cost.csv [2023-07-13T16:22:32.426Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1475/archives [2023-07-13T16:22:32.426Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1475/archives [2023-07-13T16:22:32.426Z] total 16 [2023-07-13T16:22:32.426Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 16:11 . [2023-07-13T16:22:32.426Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 13 16:11 .. [2023-07-13T16:22:32.426Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 13 16:11 cost [2023-07-13T16:22:32.426Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 13 16:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-13T16:22:32.753Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T16:22:33.637Z] ---> package-listing.sh [2023-07-13T16:22:33.637Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-13T16:22:33.637Z] ++ facter osfamily [2023-07-13T16:22:33.896Z] + OS_FAMILY=debian [2023-07-13T16:22:33.896Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1475 [2023-07-13T16:22:33.896Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-13T16:22:33.896Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-13T16:22:33.896Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-13T16:22:33.896Z] + PACKAGES=/tmp/packages_start.txt [2023-07-13T16:22:33.896Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1475 ']' [2023-07-13T16:22:33.896Z] + PACKAGES=/tmp/packages_end.txt [2023-07-13T16:22:33.896Z] + case "${OS_FAMILY}" in [2023-07-13T16:22:33.896Z] + dpkg -l [2023-07-13T16:22:33.896Z] + grep '^ii' [2023-07-13T16:22:33.896Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-13T16:22:33.896Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-13T16:22:33.896Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-13T16:22:33.896Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1475 ']' [2023-07-13T16:22:33.896Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1475/archives/ [2023-07-13T16:22:33.896Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1475/archives/ [Pipeline] echo [2023-07-13T16:22:33.928Z] 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-1475/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-13T16:22:34.220Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T16:22:34.839Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T16:22:34.839Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T16:22:34.985Z] prd-ubuntu20.04-docker-8c-8g-1069 does not seem to be running inside a container [2023-07-13T16:22:35.014Z] $ 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-1475/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-1475 -v /w/workspace/gexfoundry_device-sdk-go_PR-1475:/w/workspace/gexfoundry_device-sdk-go_PR-1475:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1475@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-07-13T16:22:35.203Z] $ docker top 931f65897edb3986df2556c0fb3354450c17f2a4edc27dadba3d54bdfbabd655 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T16:22:35.590Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-13T16:22:35.898Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-13T16:22:36.209Z] + ls /var/log/sa-host [2023-07-13T16:22:36.209Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-13T16:22:36.428Z] provisioning config files... [2023-07-13T16:22:36.437Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp/config6802985949519466470tmp [Pipeline] { [Pipeline] echo [2023-07-13T16:22:36.494Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T16:22:36.806Z] ---> create-netrc.sh [Pipeline] } [2023-07-13T16:22:36.833Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-13T16:22:37.225Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-13T16:22:37.257Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T16:22:37.565Z] ---> sudo-logs.sh [2023-07-13T16:22:37.566Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-13T16:22:37.651Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T16:22:37.962Z] ---> job-cost.sh [2023-07-13T16:22:37.962Z] lf-activate-venv: SKIPPING [2023-07-13T16:22:37.962Z] DEBUG: total: 0.2199999988079071 [2023-07-13T16:22:37.962Z] INFO: Retrieving Stack Cost... [2023-07-13T16:22:38.529Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-13T16:22:38.789Z] INFO: Archiving Costs [Pipeline] echo [2023-07-13T16:22:38.823Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T16:22:39.140Z] ---> logs-deploy.sh [2023-07-13T16:22:39.140Z] lf-activate-venv: SKIPPING [2023-07-13T16:22:39.140Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1475/1 [2023-07-13T16:22:39.140Z] INFO: archiving workspace using pattern(s): [2023-07-13T16:22:40.077Z] Archives upload complete. [2023-07-13T16:22:40.077Z] INFO: archiving logs to Nexus