Branch indexing 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 92ae96e570b0e90887048770798fafa65e025b58 rather than 3208d00b92d734bd5d5e77ab3f3eea92c01795c2 Obtained Jenkinsfile from 92ae96e570b0e90887048770798fafa65e025b58 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-ssh14680204712271385718.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12339561345740586184.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1391/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1391/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1964847958025313810.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11042079009328011115.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1391/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1391/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7204076836124667190.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5260’ Running on prd-ubuntu20.04-docker-8c-8g-5262 in /w/workspace/gexfoundry_device-sdk-go_PR-1391 [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-1391 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1391/head:refs/remotes/origin/PR-1391 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 92ae96e570b0e90887048770798fafa65e025b58 into PR head commit 3208d00b92d734bd5d5e77ab3f3eea92c01795c2 Merge succeeded, producing 267425971b9412734538fe2294cf5a2b4978c268 Checking out Revision 267425971b9412734538fe2294cf5a2b4978c268 (PR-1391) > git config core.sparsecheckout # timeout=10 > git checkout -f 3208d00b92d734bd5d5e77ab3f3eea92c01795c2 # 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 92ae96e570b0e90887048770798fafa65e025b58 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 267425971b9412734538fe2294cf5a2b4978c268 # timeout=10 Commit message: "Merge commit '92ae96e570b0e90887048770798fafa65e025b58' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-22T18:42:26.719Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-22T18:42:26.781Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-22T18:42:26.804Z] ========================================================= [2023-03-22T18:42:26.804Z] EdgeX Global Pipelines Version Info [2023-03-22T18:42:26.804Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:42:27.519Z] ------------------- [2023-03-22T18:42:27.519Z] stable info: [2023-03-22T18:42:27.519Z] ------------------- [2023-03-22T18:42:27.519Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-22T18:42:27.519Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-22T18:42:27.519Z] Message: update stable to v1.0.245 > git rev-list --no-walk 25e47d854192c5e388033dade4d34c422a1df448 # timeout=10 [2023-03-22T18:42:28.091Z] ------------------- [2023-03-22T18:42:28.091Z] experimental info: [2023-03-22T18:42:28.091Z] ------------------- [2023-03-22T18:42:28.091Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-22T18:42:28.091Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-22T18:42:28.091Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-22T18:42:28.271Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-22T18:42:28.282Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-22T18:42:28.294Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-22T18:42:28.305Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-22T18:42:28.316Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-22T18:42:28.329Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-22T18:42:28.343Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-22T18:42:28.352Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-22T18:42:28.364Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-22T18:42:28.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-22T18:42:28.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-22T18:42:28.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-22T18:42:28.414Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-22T18:42:28.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-22T18:42:28.437Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-22T18:42:28.448Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T18:42:28.459Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T18:42:28.472Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T18:42:28.486Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-22T18:42:28.495Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-22T18:42:28.509Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-22T18:42:28.523Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-22T18:42:28.532Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-22T18:42:28.543Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-22T18:42:28.556Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-22T18:42:28.567Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-22T18:42:28.578Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-22T18:42:28.591Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1391 [Pipeline] echo [2023-03-22T18:42:28.605Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1391 [Pipeline] echo [2023-03-22T18:42:28.615Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1391 [Pipeline] echo [2023-03-22T18:42:28.629Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 267425971b9412734538fe2294cf5a2b4978c268 [Pipeline] echo [2023-03-22T18:42:28.640Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2674259 [Pipeline] echo [2023-03-22T18:42:28.654Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T18:42:28.706Z] provisioning config files... [2023-03-22T18:42:28.722Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/config7348092461375856735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:42:29.019Z] ---> docker-login.sh [2023-03-22T18:42:29.019Z] nexus3.edgexfoundry.org:10001 [2023-03-22T18:42:29.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:42:29.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:42:29.280Z] Configure a credential helper to remove this warning. See [2023-03-22T18:42:29.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:42:29.280Z] [2023-03-22T18:42:29.280Z] Login Succeeded [2023-03-22T18:42:29.280Z] nexus3.edgexfoundry.org:10002 [2023-03-22T18:42:29.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:42:29.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:42:29.280Z] Configure a credential helper to remove this warning. See [2023-03-22T18:42:29.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:42:29.280Z] [2023-03-22T18:42:29.280Z] Login Succeeded [2023-03-22T18:42:29.280Z] nexus3.edgexfoundry.org:10003 [2023-03-22T18:42:29.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:42:29.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:42:29.540Z] Configure a credential helper to remove this warning. See [2023-03-22T18:42:29.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:42:29.540Z] [2023-03-22T18:42:29.540Z] Login Succeeded [2023-03-22T18:42:29.540Z] nexus3.edgexfoundry.org:10004 [2023-03-22T18:42:29.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:42:29.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:42:29.540Z] Configure a credential helper to remove this warning. See [2023-03-22T18:42:29.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:42:29.540Z] [2023-03-22T18:42:29.540Z] Login Succeeded [2023-03-22T18:42:29.540Z] docker.io [2023-03-22T18:42:29.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:42:29.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:42:29.801Z] Configure a credential helper to remove this warning. See [2023-03-22T18:42:29.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:42:29.801Z] [2023-03-22T18:42:29.801Z] Login Succeeded [2023-03-22T18:42:30.062Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T18:42:30.068Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-22T18:42:30.437Z] + git rev-list -1 --merges 267425971b9412734538fe2294cf5a2b4978c268~1..267425971b9412734538fe2294cf5a2b4978c268 [Pipeline] echo [2023-03-22T18:42:30.519Z] -----------> git rev-list -1 --merges 267425971b9412734538fe2294cf5a2b4978c268~1..267425971b9412734538fe2294cf5a2b4978c268 267425971b9412734538fe2294cf5a2b4978c268 [2023-03-22T18:42:30.519Z] 267425971b9412734538fe2294cf5a2b4978c268 [false] [Pipeline] sh [2023-03-22T18:42:30.808Z] + git log --format=format:%s -1 267425971b9412734538fe2294cf5a2b4978c268 [Pipeline] echo [2023-03-22T18:42:30.822Z] ========================================================= [2023-03-22T18:42:30.822Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-22T18:42:30.823Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T18:42:31.153Z] + git log --format=format:%s -1 267425971b9412734538fe2294cf5a2b4978c268 [Pipeline] echo [2023-03-22T18:42:31.162Z] [semverPrep] GIT_COMMIT: 267425971b9412734538fe2294cf5a2b4978c268, Commit Message: Merge commit '92ae96e570b0e90887048770798fafa65e025b58' into HEAD [Pipeline] echo [2023-03-22T18:42:31.170Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-22T18:42:31.518Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-22T18:42:31.518Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-22T18:42:31.518Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-22T18:42:31.518Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-22T18:42:31.518Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-22T18:42:31.518Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-22T18:42:31.518Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:42:31.871Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T18:42:31.871Z] [2023-03-22T18:42:31.871Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:42:32.183Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T18:42:32.183Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-22T18:42:32.183Z] b85a868b505f: Pulling fs layer [2023-03-22T18:42:32.183Z] e2be974225ed: Pulling fs layer [2023-03-22T18:42:32.183Z] 339a4e72a1f5: Pulling fs layer [2023-03-22T18:42:32.183Z] 988bab9f4d93: Pulling fs layer [2023-03-22T18:42:32.183Z] 1469e6f7b9e6: Pulling fs layer [2023-03-22T18:42:32.183Z] eaf3925da568: Pulling fs layer [2023-03-22T18:42:32.183Z] bab4dde63d76: Pulling fs layer [2023-03-22T18:42:32.183Z] bde34c3a00c8: Pulling fs layer [2023-03-22T18:42:32.183Z] b352a97aabf1: Pulling fs layer [2023-03-22T18:42:32.183Z] 4872d77fe225: Pulling fs layer [2023-03-22T18:42:32.183Z] 5851b861e8e6: Pulling fs layer [2023-03-22T18:42:32.183Z] bab4dde63d76: Waiting [2023-03-22T18:42:32.183Z] bde34c3a00c8: Waiting [2023-03-22T18:42:32.183Z] b352a97aabf1: Waiting [2023-03-22T18:42:32.183Z] 4872d77fe225: Waiting [2023-03-22T18:42:32.183Z] 5851b861e8e6: Waiting [2023-03-22T18:42:32.183Z] 988bab9f4d93: Waiting [2023-03-22T18:42:32.183Z] 1469e6f7b9e6: Waiting [2023-03-22T18:42:32.183Z] eaf3925da568: Waiting [2023-03-22T18:42:32.183Z] e2be974225ed: Download complete [2023-03-22T18:42:32.183Z] 988bab9f4d93: Download complete [2023-03-22T18:42:32.445Z] 1469e6f7b9e6: Verifying Checksum [2023-03-22T18:42:32.445Z] 1469e6f7b9e6: Download complete [2023-03-22T18:42:32.445Z] 339a4e72a1f5: Verifying Checksum [2023-03-22T18:42:32.445Z] 339a4e72a1f5: Download complete [2023-03-22T18:42:32.445Z] eaf3925da568: Download complete [2023-03-22T18:42:32.445Z] bde34c3a00c8: Verifying Checksum [2023-03-22T18:42:32.445Z] bde34c3a00c8: Download complete [2023-03-22T18:42:32.445Z] b352a97aabf1: Download complete [2023-03-22T18:42:32.445Z] 4872d77fe225: Verifying Checksum [2023-03-22T18:42:32.445Z] 4872d77fe225: Download complete [2023-03-22T18:42:32.445Z] 5851b861e8e6: Download complete [2023-03-22T18:42:32.706Z] b85a868b505f: Verifying Checksum [2023-03-22T18:42:32.706Z] b85a868b505f: Download complete [2023-03-22T18:42:32.966Z] bab4dde63d76: Verifying Checksum [2023-03-22T18:42:32.966Z] bab4dde63d76: Download complete [2023-03-22T18:42:33.902Z] b85a868b505f: Pull complete [2023-03-22T18:42:33.902Z] e2be974225ed: Pull complete [2023-03-22T18:42:34.472Z] 339a4e72a1f5: Pull complete [2023-03-22T18:42:34.472Z] 988bab9f4d93: Pull complete [2023-03-22T18:42:34.733Z] 1469e6f7b9e6: Pull complete [2023-03-22T18:42:34.994Z] eaf3925da568: Pull complete [2023-03-22T18:42:36.899Z] bab4dde63d76: Pull complete [2023-03-22T18:42:36.899Z] bde34c3a00c8: Pull complete [2023-03-22T18:42:36.899Z] b352a97aabf1: Pull complete [2023-03-22T18:42:36.899Z] 4872d77fe225: Pull complete [2023-03-22T18:42:36.899Z] 5851b861e8e6: Pull complete [2023-03-22T18:42:36.899Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-22T18:42:36.899Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T18:42:36.899Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T18:42:36.997Z] prd-ubuntu20.04-docker-8c-8g-5262 does not seem to be running inside a container [2023-03-22T18:42:37.014Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@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-devops/py-git-semver:0.1.4 cat [2023-03-22T18:42:39.445Z] $ docker top 4d7d0bc61c2eba62a6be7293492f9b08c9603ae25936575413bc0c0e96ddc5f7 -eo pid,comm [2023-03-22T18:42:39.507Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-22T18:42:39.508Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-22T18:42:39.545Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T18:42:39.545Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T18:42:39.669Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T18:42:39.662Z] $ docker exec 4d7d0bc61c2eba62a6be7293492f9b08c9603ae25936575413bc0c0e96ddc5f7 ssh-agent [2023-03-22T18:42:39.775Z] SSH_AUTH_SOCK=/tmp/ssh-FNyPXBGjQP8p/agent.32 [2023-03-22T18:42:39.775Z] SSH_AGENT_PID=38 [2023-03-22T18:42:39.780Z] Running ssh-add (command line suppressed) [2023-03-22T18:42:39.878Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/private_key_13547844225945860343.key (/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/private_key_13547844225945860343.key) [2023-03-22T18:42:39.902Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T18:42:40.195Z] + git tag --points-at HEAD [Pipeline] } [2023-03-22T18:42:40.205Z] $ docker exec --env ******** --env ******** 4d7d0bc61c2eba62a6be7293492f9b08c9603ae25936575413bc0c0e96ddc5f7 ssh-agent -k [2023-03-22T18:42:40.301Z] unset SSH_AUTH_SOCK; [2023-03-22T18:42:40.301Z] unset SSH_AGENT_PID; [2023-03-22T18:42:40.301Z] echo Agent pid 38 killed; [2023-03-22T18:42:40.321Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-22T18:42:40.346Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T18:42:40.346Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T18:42:40.464Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T18:42:40.458Z] $ docker exec 4d7d0bc61c2eba62a6be7293492f9b08c9603ae25936575413bc0c0e96ddc5f7 ssh-agent [2023-03-22T18:42:40.580Z] SSH_AUTH_SOCK=/tmp/ssh-JAibHU5bJnmW/agent.70 [2023-03-22T18:42:40.580Z] SSH_AGENT_PID=76 [2023-03-22T18:42:40.585Z] Running ssh-add (command line suppressed) [2023-03-22T18:42:40.674Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/private_key_16782130529548348172.key (/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/private_key_16782130529548348172.key) [2023-03-22T18:42:40.696Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T18:42:40.982Z] + git semver init [2023-03-22T18:42:41.241Z] 2023-03-22 18:42:41,159 [run_init] DEBUG init version:0.0.0 force:False [2023-03-22T18:42:41.241Z] 2023-03-22 18:42:41,160 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver [2023-03-22T18:42:41.241Z] 2023-03-22 18:42:41,161 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver [2023-03-22T18:42:41.241Z] 2023-03-22 18:42:41,161 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1391, universal_newlines=False, shell=None, istream=None) [2023-03-22T18:42:42.180Z] 2023-03-22 18:42:42,044 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391/.git/info/exclude [2023-03-22T18:42:42.180Z] 2023-03-22 18:42:42,045 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver/PR-1391 with force:False [2023-03-22T18:42:42.180Z] 2023-03-22 18:42:42,045 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver/PR-1391 [2023-03-22T18:42:42.180Z] 2023-03-22 18:42:42,049 [execute] INFO git cat-file --batch-check [2023-03-22T18:42:42.180Z] 2023-03-22 18:42:42,050 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T18:42:42.180Z] 2023-03-22 18:42:42,056 [execute] INFO git cat-file --batch [2023-03-22T18:42:42.180Z] 2023-03-22 18:42:42,057 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T18:42:42.180Z] 2023-03-22 18:42:42,061 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver/PR-1391 [2023-03-22T18:42:42.180Z] 0.0.0 [Pipeline] } [2023-03-22T18:42:42.183Z] $ docker exec --env ******** --env ******** 4d7d0bc61c2eba62a6be7293492f9b08c9603ae25936575413bc0c0e96ddc5f7 ssh-agent -k [2023-03-22T18:42:42.281Z] unset SSH_AUTH_SOCK; [2023-03-22T18:42:42.281Z] unset SSH_AGENT_PID; [2023-03-22T18:42:42.281Z] echo Agent pid 76 killed; [2023-03-22T18:42:42.298Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-22T18:42:42.598Z] + git semver [Pipeline] } [2023-03-22T18:42:42.863Z] $ docker stop --time=1 4d7d0bc61c2eba62a6be7293492f9b08c9603ae25936575413bc0c0e96ddc5f7 [2023-03-22T18:42:44.175Z] $ docker rm -f --volumes 4d7d0bc61c2eba62a6be7293492f9b08c9603ae25936575413bc0c0e96ddc5f7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T18:42:44.514Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-22T18:42:44.709Z] Stashed 1 file(s) [Pipeline] echo [2023-03-22T18:42:44.712Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T18:42:44.845Z] provisioning config files... [2023-03-22T18:42:44.853Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/config17121510094114545290tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:42:45.148Z] ---> docker-login.sh [2023-03-22T18:42:45.148Z] nexus3.edgexfoundry.org:10001 [2023-03-22T18:42:45.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:42:45.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:42:45.148Z] Configure a credential helper to remove this warning. See [2023-03-22T18:42:45.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:42:45.148Z] [2023-03-22T18:42:45.148Z] Login Succeeded [2023-03-22T18:42:45.148Z] nexus3.edgexfoundry.org:10002 [2023-03-22T18:42:45.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:42:45.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:42:45.148Z] Configure a credential helper to remove this warning. See [2023-03-22T18:42:45.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:42:45.148Z] [2023-03-22T18:42:45.148Z] Login Succeeded [2023-03-22T18:42:45.148Z] nexus3.edgexfoundry.org:10003 [2023-03-22T18:42:45.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:42:45.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:42:45.407Z] Configure a credential helper to remove this warning. See [2023-03-22T18:42:45.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:42:45.407Z] [2023-03-22T18:42:45.407Z] Login Succeeded [2023-03-22T18:42:45.407Z] nexus3.edgexfoundry.org:10004 [2023-03-22T18:42:45.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:42:45.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:42:45.407Z] Configure a credential helper to remove this warning. See [2023-03-22T18:42:45.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:42:45.407Z] [2023-03-22T18:42:45.407Z] Login Succeeded [2023-03-22T18:42:45.407Z] docker.io [2023-03-22T18:42:45.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:42:45.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:42:45.666Z] Configure a credential helper to remove this warning. See [2023-03-22T18:42:45.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:42:45.666Z] [2023-03-22T18:42:45.666Z] Login Succeeded [2023-03-22T18:42:45.666Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T18:42:45.673Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T18:42:45.731Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T18:42:45.743Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T18:42:45.750Z] ========================================================= [2023-03-22T18:42:45.750Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-22T18:42:45.750Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:42:46.048Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-22T18:42:46.048Z] Sending build context to Docker daemon 10.9MB [2023-03-22T18:42:46.048Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T18:42:46.048Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-22T18:42:46.307Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-22T18:42:46.307Z] 63b65145d645: Pulling fs layer [2023-03-22T18:42:46.307Z] a2d21d5440eb: Pulling fs layer [2023-03-22T18:42:46.307Z] 935e6c44a52c: Pulling fs layer [2023-03-22T18:42:46.307Z] 94cc34f8dd06: Pulling fs layer [2023-03-22T18:42:46.307Z] 30dea6a524f1: Pulling fs layer [2023-03-22T18:42:46.307Z] 94cc34f8dd06: Waiting [2023-03-22T18:42:46.307Z] 30dea6a524f1: Waiting [2023-03-22T18:42:46.307Z] a2aff8979fd8: Pulling fs layer [2023-03-22T18:42:46.307Z] 6808be2612f2: Pulling fs layer [2023-03-22T18:42:46.307Z] f25807f1079a: Pulling fs layer [2023-03-22T18:42:46.307Z] a2aff8979fd8: Waiting [2023-03-22T18:42:46.307Z] 6808be2612f2: Waiting [2023-03-22T18:42:46.307Z] f25807f1079a: Waiting [2023-03-22T18:42:46.307Z] a2d21d5440eb: Verifying Checksum [2023-03-22T18:42:46.307Z] a2d21d5440eb: Download complete [2023-03-22T18:42:46.307Z] 94cc34f8dd06: Verifying Checksum [2023-03-22T18:42:46.307Z] 94cc34f8dd06: Download complete [2023-03-22T18:42:46.307Z] 30dea6a524f1: Download complete [2023-03-22T18:42:46.307Z] 63b65145d645: Verifying Checksum [2023-03-22T18:42:46.307Z] a2aff8979fd8: Verifying Checksum [2023-03-22T18:42:46.307Z] a2aff8979fd8: Download complete [2023-03-22T18:42:46.573Z] 63b65145d645: Pull complete [2023-03-22T18:42:46.573Z] a2d21d5440eb: Pull complete [2023-03-22T18:42:46.834Z] f25807f1079a: Verifying Checksum [2023-03-22T18:42:46.834Z] f25807f1079a: Download complete [2023-03-22T18:42:47.093Z] 935e6c44a52c: Verifying Checksum [2023-03-22T18:42:47.093Z] 935e6c44a52c: Download complete [2023-03-22T18:42:47.093Z] 6808be2612f2: Verifying Checksum [2023-03-22T18:42:47.093Z] 6808be2612f2: Download complete [2023-03-22T18:42:50.373Z] 935e6c44a52c: Pull complete [2023-03-22T18:42:50.373Z] 94cc34f8dd06: Pull complete [2023-03-22T18:42:50.373Z] 30dea6a524f1: Pull complete [2023-03-22T18:42:50.373Z] a2aff8979fd8: Pull complete [2023-03-22T18:42:52.273Z] 6808be2612f2: Pull complete [2023-03-22T18:42:53.207Z] f25807f1079a: Pull complete [2023-03-22T18:42:53.207Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-22T18:42:53.207Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-22T18:42:53.207Z] ---> 3b553350e43f [2023-03-22T18:42:53.207Z] Step 3/10 : ARG MAKE=make build [2023-03-22T18:42:56.508Z] ---> Running in 614ff4aaf481 [2023-03-22T18:42:56.508Z] Removing intermediate container 614ff4aaf481 [2023-03-22T18:42:56.508Z] ---> 49021ab7a186 [2023-03-22T18:42:56.508Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-22T18:42:56.508Z] ---> Running in 87998af8ccdd [2023-03-22T18:42:56.508Z] Removing intermediate container 87998af8ccdd [2023-03-22T18:42:56.508Z] ---> 5813f93262b4 [2023-03-22T18:42:56.508Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-22T18:42:56.508Z] ---> Running in 57fafdb5f41d [2023-03-22T18:42:56.766Z] Removing intermediate container 57fafdb5f41d [2023-03-22T18:42:56.766Z] ---> e3764f4132ac [2023-03-22T18:42:56.766Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-22T18:42:56.766Z] ---> Running in 1ac38679fe5a [2023-03-22T18:42:57.026Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T18:42:57.026Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T18:42:57.286Z] OK: 265 MiB in 53 packages [2023-03-22T18:42:57.544Z] Removing intermediate container 1ac38679fe5a [2023-03-22T18:42:57.544Z] ---> 0808faee4c74 [2023-03-22T18:42:57.544Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-22T18:42:57.803Z] ---> 5970a8ddf9c0 [2023-03-22T18:42:57.803Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T18:42:57.803Z] ---> Running in 09b86b75e2d1 [2023-03-22T18:42:59.803Z] Still waiting to schedule task [2023-03-22T18:42:59.804Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5261’ is offline [2023-03-22T18:43:29.891Z] Removing intermediate container 09b86b75e2d1 [2023-03-22T18:43:29.891Z] ---> a569e7a2fcb8 [2023-03-22T18:43:29.891Z] Step 9/10 : COPY . . [2023-03-22T18:43:29.891Z] ---> 5c5481f05f68 [2023-03-22T18:43:29.891Z] Step 10/10 : RUN ${MAKE} [2023-03-22T18:43:29.892Z] ---> Running in c0586f09793b [2023-03-22T18:43:29.892Z] noop [2023-03-22T18:43:29.892Z] Removing intermediate container c0586f09793b [2023-03-22T18:43:29.892Z] ---> 5cda9d7d7260 [2023-03-22T18:43:29.892Z] Successfully built 5cda9d7d7260 [2023-03-22T18:43:29.892Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:43:30.193Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T18:43:30.193Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T18:43:30.258Z] prd-ubuntu20.04-docker-8c-8g-5262 does not seem to be running inside a container [2023-03-22T18:43:30.294Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-22T18:43:30.604Z] $ docker top 71856cc5eb8b2879f73e454954dabe83f835452c8b3190fc6830ea89daf205d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T18:43:30.943Z] + go version [2023-03-22T18:43:30.943Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-22T18:43:30.962Z] $ docker stop --time=1 71856cc5eb8b2879f73e454954dabe83f835452c8b3190fc6830ea89daf205d6 [2023-03-22T18:43:32.207Z] $ docker rm -f --volumes 71856cc5eb8b2879f73e454954dabe83f835452c8b3190fc6830ea89daf205d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:43:32.573Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T18:43:32.573Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T18:43:32.640Z] prd-ubuntu20.04-docker-8c-8g-5262 does not seem to be running inside a container [2023-03-22T18:43:32.677Z] $ 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-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-22T18:43:32.996Z] $ docker top 4862cd83e448296e7f3308d3033f63989c597af7b84f0b5398df9743fdf3468f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T18:43:33.325Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1391 [Pipeline] fileExists [Pipeline] sh [2023-03-22T18:43:33.621Z] + make test [2023-03-22T18:43:33.621Z] go test -race -coverprofile=coverage.out ./... [2023-03-22T18:43:40.182Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-22T18:43:52.376Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-22T18:43:52.376Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-22T18:43:52.376Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-22T18:43:52.376Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-22T18:43:52.376Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-22T18:43:52.376Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.047s coverage: 27.6% of statements [2023-03-22T18:43:52.376Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-22T18:43:52.376Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-22T18:43:52.635Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.066s coverage: 78.9% of statements [2023-03-22T18:43:52.635Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.079s coverage: 86.0% of statements [2023-03-22T18:43:53.201Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-22T18:43:53.201Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.098s coverage: 77.6% of statements [2023-03-22T18:43:53.460Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-22T18:43:53.460Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-22T18:43:53.460Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-22T18:43:54.024Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-22T18:43:56.556Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.064s coverage: 14.9% of statements [2023-03-22T18:43:56.556Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.071s coverage: 68.5% of statements [2023-03-22T18:43:56.556Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.109s coverage: 89.2% of statements [2023-03-22T18:43:56.556Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.6% of statements [2023-03-22T18:44:14.634Z] GO111MODULE=on go vet ./... [2023-03-22T18:44:17.924Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-22T18:44:17.924Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-22T18:44:17.924Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-22T18:44:17.936Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-22T18:44:17.953Z] $ docker stop --time=1 4862cd83e448296e7f3308d3033f63989c597af7b84f0b5398df9743fdf3468f [2023-03-22T18:44:20.983Z] $ docker rm -f --volumes 4862cd83e448296e7f3308d3033f63989c597af7b84f0b5398df9743fdf3468f [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T18:44:21.493Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-22T18:44:21.573Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-22T18:44:22.080Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-22T18:44:22.366Z] + ls -al . [2023-03-22T18:44:22.366Z] total 272 [2023-03-22T18:44:22.366Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 18:43 . [2023-03-22T18:44:22.366Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 18:42 .. [2023-03-22T18:44:22.366Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 22 18:42 .dockerignore [2023-03-22T18:44:22.366Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 18:42 .git [2023-03-22T18:44:22.366Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 18:42 .github [2023-03-22T18:44:22.366Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 22 18:42 .gitignore [2023-03-22T18:44:22.366Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 18:42 .golangci.yml [2023-03-22T18:44:22.366Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 18:42 .semver [2023-03-22T18:44:22.366Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 22 18:42 CHANGELOG.md [2023-03-22T18:44:22.366Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 18:42 GOVERNANCE.md [2023-03-22T18:44:22.366Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 22 18:42 Jenkinsfile [2023-03-22T18:44:22.366Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 22 18:42 LICENSE [2023-03-22T18:44:22.366Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 22 18:42 Makefile [2023-03-22T18:44:22.366Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 22 18:42 OWNERS.md [2023-03-22T18:44:22.366Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 22 18:42 README.md [2023-03-22T18:44:22.366Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 18:42 VERSION [2023-03-22T18:44:22.366Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 18:42 bin [2023-03-22T18:44:22.366Z] -rw-r--r-- 1 jenkins jenkins 104729 Mar 22 18:43 coverage.out [2023-03-22T18:44:22.366Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 22 18:42 example [2023-03-22T18:44:22.366Z] -rw-rw-r-- 1 jenkins jenkins 3291 Mar 22 18:42 go.mod [2023-03-22T18:44:22.366Z] -rw-rw-r-- 1 jenkins jenkins 30779 Mar 22 18:42 go.sum [2023-03-22T18:44:22.366Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 18:42 internal [2023-03-22T18:44:22.366Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 18:42 openapi [2023-03-22T18:44:22.366Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 22 18:42 pkg [2023-03-22T18:44:22.366Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 18:42 snap [2023-03-22T18:44:22.366Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 22 18:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:44:22.694Z] + 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=267425971b9412734538fe2294cf5a2b4978c268 --label arch=amd64 --label version=0.0.0 . [2023-03-22T18:44:22.694Z] Sending build context to Docker daemon 11MB [2023-03-22T18:44:22.694Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T18:44:22.694Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-22T18:44:22.694Z] ---> 5cda9d7d7260 [2023-03-22T18:44:22.694Z] Step 3/23 : ARG MAKE=make build [2023-03-22T18:44:22.953Z] ---> Running in f64e2268f858 [2023-03-22T18:44:22.953Z] Removing intermediate container f64e2268f858 [2023-03-22T18:44:22.953Z] ---> 15edfe20ef8c [2023-03-22T18:44:22.953Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-22T18:44:22.953Z] ---> Running in 3056fb77deb9 [2023-03-22T18:44:22.953Z] Removing intermediate container 3056fb77deb9 [2023-03-22T18:44:22.953Z] ---> fffbf1c30fb0 [2023-03-22T18:44:22.953Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-22T18:44:22.953Z] ---> Running in 8c6c1af7a71f [2023-03-22T18:44:23.212Z] Removing intermediate container 8c6c1af7a71f [2023-03-22T18:44:23.212Z] ---> 42707f372025 [2023-03-22T18:44:23.212Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-22T18:44:23.212Z] ---> Running in 3b8d7a072c2b [2023-03-22T18:44:23.471Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T18:44:23.471Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T18:44:23.729Z] OK: 265 MiB in 53 packages [2023-03-22T18:44:23.987Z] Removing intermediate container 3b8d7a072c2b [2023-03-22T18:44:23.987Z] ---> 62fc9bf078ac [2023-03-22T18:44:23.987Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-22T18:44:23.987Z] ---> 62a069aa29fa [2023-03-22T18:44:23.987Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T18:44:24.246Z] ---> Running in abb99905fbff [2023-03-22T18:44:24.812Z] Removing intermediate container abb99905fbff [2023-03-22T18:44:24.812Z] ---> c852201e3bb4 [2023-03-22T18:44:24.812Z] Step 9/23 : COPY . . [2023-03-22T18:44:25.379Z] ---> 6c32f72b12d7 [2023-03-22T18:44:25.379Z] Step 10/23 : RUN ${MAKE} [2023-03-22T18:44:25.379Z] ---> Running in a92c266650ce [2023-03-22T18:44:25.637Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-22T18:44:29.463Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5263 in /w/workspace/gexfoundry_device-sdk-go_PR-1391 [Pipeline] { [Pipeline] ws [2023-03-22T18:44:29.475Z] Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout [2023-03-22T18:44:29.508Z] The recommended git tool is: git [2023-03-22T18:44:34.978Z] using credential edgex-jenkins-ssh [2023-03-22T18:44:34.994Z] Cloning the remote Git repository [2023-03-22T18:44:35.042Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-22T18:44:35.129Z] > git init /w/workspace/device-sdk-go/10 # timeout=10 [2023-03-22T18:44:35.269Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-22T18:44:35.270Z] > git --version # timeout=10 [2023-03-22T18:44:35.293Z] > git --version # 'git version 2.25.1' [2023-03-22T18:44:35.296Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T18:44:35.426Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T18:44:36.913Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-22T18:44:36.936Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T18:44:37.736Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-22T18:44:37.771Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-22T18:44:37.772Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T18:44:37.786Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1391/head:refs/remotes/origin/PR-1391 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-22T18:44:38.436Z] Merging remotes/origin/main commit 92ae96e570b0e90887048770798fafa65e025b58 into PR head commit 3208d00b92d734bd5d5e77ab3f3eea92c01795c2 [2023-03-22T18:44:38.794Z] Merge succeeded, producing 699f95e2c67f1c1f615f066af95bf435f7c73a6a [2023-03-22T18:44:38.794Z] Checking out Revision 699f95e2c67f1c1f615f066af95bf435f7c73a6a (PR-1391) [2023-03-22T18:44:38.449Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T18:44:38.524Z] > git checkout -f 3208d00b92d734bd5d5e77ab3f3eea92c01795c2 # timeout=10 [2023-03-22T18:44:38.627Z] > git remote # timeout=10 [2023-03-22T18:44:38.642Z] > git config --get remote.origin.url # timeout=10 [2023-03-22T18:44:38.658Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T18:44:38.670Z] > git merge 92ae96e570b0e90887048770798fafa65e025b58 # timeout=10 [2023-03-22T18:44:38.768Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-22T18:44:38.797Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T18:44:38.819Z] > git checkout -f 699f95e2c67f1c1f615f066af95bf435f7c73a6a # timeout=10 [2023-03-22T18:44:42.286Z] Commit message: "Merge commit '92ae96e570b0e90887048770798fafa65e025b58' into HEAD" [2023-03-22T18:44:42.308Z] First time build. Skipping changelog. [2023-03-22T18:44:42.291Z] > git rev-list --no-walk 25e47d854192c5e388033dade4d34c422a1df448 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T18:44:43.267Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-22T18:44:43.267Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T18:44:43.267Z] Dload Upload Total Spent Left Speed [2023-03-22T18:44:43.536Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 67110 0 --:--:-- --:--:-- --:--:-- 67465 [2023-03-22T18:44:43.722Z] Removing intermediate container a92c266650ce [2023-03-22T18:44:43.722Z] ---> bdce9291db06 [2023-03-22T18:44:43.722Z] Step 11/23 : FROM alpine:3.17 [2023-03-22T18:44:43.722Z] 3.17: Pulling from library/alpine [2023-03-22T18:44:43.722Z] 63b65145d645: Already exists [2023-03-22T18:44:43.722Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-22T18:44:43.722Z] Status: Downloaded newer image for alpine:3.17 [2023-03-22T18:44:43.722Z] ---> b2aa39c304c2 [2023-03-22T18:44:43.722Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-22T18:44:43.722Z] ---> Running in e554630a6e35 [Pipeline] sh [2023-03-22T18:44:43.981Z] Removing intermediate container e554630a6e35 [2023-03-22T18:44:43.981Z] ---> 307ff07288a4 [2023-03-22T18:44:43.981Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-22T18:44:43.981Z] ---> Running in 9c01fee42ed1 [2023-03-22T18:44:44.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T18:44:44.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T18:44:44.249Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-22T18:44:44.499Z] OK: 7 MiB in 15 packages [2023-03-22T18:44:44.568Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-22T18:44:44.568Z] + sudo tee /etc/docker/daemon.new [2023-03-22T18:44:44.568Z] { [2023-03-22T18:44:44.568Z] "registry-mirrors": [ [2023-03-22T18:44:44.568Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-22T18:44:44.568Z] ], [2023-03-22T18:44:44.568Z] "bip": "10.250.0.254/24", [2023-03-22T18:44:44.568Z] "hosts": [ [2023-03-22T18:44:44.568Z] "tcp://0.0.0.0:5555", [2023-03-22T18:44:44.568Z] "unix:///var/run/docker.sock" [2023-03-22T18:44:44.568Z] ], [2023-03-22T18:44:44.568Z] "mtu": 1458, [2023-03-22T18:44:44.568Z] "selinux-enabled": true, [2023-03-22T18:44:44.568Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-22T18:44:44.568Z] } [Pipeline] sh [2023-03-22T18:44:44.757Z] Removing intermediate container 9c01fee42ed1 [2023-03-22T18:44:44.757Z] ---> 135f5cbba9fe [2023-03-22T18:44:44.757Z] Step 14/23 : WORKDIR / [2023-03-22T18:44:44.757Z] ---> Running in 648dbcdee22d [2023-03-22T18:44:44.757Z] Removing intermediate container 648dbcdee22d [2023-03-22T18:44:44.757Z] ---> 1b8068aaf470 [2023-03-22T18:44:44.757Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-22T18:44:44.891Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-22T18:44:45.016Z] ---> dd40767c50b5 [2023-03-22T18:44:45.016Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-22T18:44:45.223Z] + sudo service docker restart [2023-03-22T18:44:45.638Z] ---> b56369bb4e52 [2023-03-22T18:44:45.638Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-22T18:44:45.896Z] ---> 430530e512e6 [2023-03-22T18:44:45.896Z] Step 18/23 : EXPOSE 59999 [2023-03-22T18:44:45.896Z] ---> Running in ad65b1879bb1 [2023-03-22T18:44:45.896Z] Removing intermediate container ad65b1879bb1 [2023-03-22T18:44:45.896Z] ---> 1bdb20d8f308 [2023-03-22T18:44:45.896Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-22T18:44:45.896Z] ---> Running in b6ac9c6dd6df [2023-03-22T18:44:45.896Z] Removing intermediate container b6ac9c6dd6df [2023-03-22T18:44:45.896Z] ---> 638299d0f414 [2023-03-22T18:44:45.896Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-22T18:44:45.896Z] ---> Running in cb7c39726027 [2023-03-22T18:44:46.155Z] Removing intermediate container cb7c39726027 [2023-03-22T18:44:46.155Z] ---> d489d39c9484 [2023-03-22T18:44:46.155Z] Step 21/23 : LABEL arch=amd64 [2023-03-22T18:44:46.155Z] ---> Running in 27fef03bad81 [2023-03-22T18:44:46.155Z] Removing intermediate container 27fef03bad81 [2023-03-22T18:44:46.155Z] ---> 616f711015d4 [2023-03-22T18:44:46.155Z] Step 22/23 : LABEL git_sha=267425971b9412734538fe2294cf5a2b4978c268 [2023-03-22T18:44:46.155Z] ---> Running in b16c60cf6dc9 [2023-03-22T18:44:46.155Z] Removing intermediate container b16c60cf6dc9 [2023-03-22T18:44:46.155Z] ---> 9715369ca601 [2023-03-22T18:44:46.155Z] Step 23/23 : LABEL version=0.0.0 [2023-03-22T18:44:46.155Z] ---> Running in ca42e926bd58 [2023-03-22T18:44:46.415Z] Removing intermediate container ca42e926bd58 [2023-03-22T18:44:46.415Z] ---> b166d3e02b8e [2023-03-22T18:44:46.415Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-22T18:44:46.415Z] Successfully built b166d3e02b8e [2023-03-22T18:44:46.415Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:44:46.842Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T18:44:46.842Z] [2023-03-22T18:44:46.842Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:44:47.139Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T18:44:47.139Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-22T18:44:47.139Z] 5eb5b503b376: Pulling fs layer [2023-03-22T18:44:47.139Z] 5c69ac0246d0: Pulling fs layer [2023-03-22T18:44:47.139Z] ec43610c2a17: Pulling fs layer [2023-03-22T18:44:47.139Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-22T18:44:47.139Z] 33b1e0a273af: Pulling fs layer [2023-03-22T18:44:47.139Z] 5d3b04190fa2: Pulling fs layer [2023-03-22T18:44:47.139Z] 2f39f015ded8: Pulling fs layer [2023-03-22T18:44:47.139Z] 33b1e0a273af: Waiting [2023-03-22T18:44:47.139Z] 2f39f015ded8: Waiting [2023-03-22T18:44:47.139Z] 5d3b04190fa2: Waiting [2023-03-22T18:44:47.139Z] 3a2ae6a8a46f: Waiting [2023-03-22T18:44:47.139Z] 5c69ac0246d0: Verifying Checksum [2023-03-22T18:44:47.139Z] 5c69ac0246d0: Download complete [2023-03-22T18:44:47.139Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-22T18:44:47.139Z] 3a2ae6a8a46f: Download complete [2023-03-22T18:44:47.397Z] 33b1e0a273af: Verifying Checksum [2023-03-22T18:44:47.397Z] 33b1e0a273af: Download complete [2023-03-22T18:44:47.397Z] 5d3b04190fa2: Download complete [2023-03-22T18:44:47.397Z] ec43610c2a17: Verifying Checksum [2023-03-22T18:44:47.397Z] ec43610c2a17: Download complete [2023-03-22T18:44:47.397Z] 5eb5b503b376: Verifying Checksum [2023-03-22T18:44:47.397Z] 5eb5b503b376: Download complete [2023-03-22T18:44:47.964Z] 2f39f015ded8: Download complete [2023-03-22T18:44:48.529Z] 5eb5b503b376: Pull complete [2023-03-22T18:44:48.529Z] 5c69ac0246d0: Pull complete [2023-03-22T18:44:49.094Z] ec43610c2a17: Pull complete [2023-03-22T18:44:49.094Z] 3a2ae6a8a46f: Pull complete [2023-03-22T18:44:49.352Z] 33b1e0a273af: Pull complete [2023-03-22T18:44:49.352Z] 5d3b04190fa2: Pull complete [2023-03-22T18:44:53.543Z] 2f39f015ded8: Pull complete [2023-03-22T18:44:53.543Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-22T18:44:53.543Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T18:44:53.543Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T18:44:53.627Z] prd-ubuntu20.04-docker-8c-8g-5262 does not seem to be running inside a container [2023-03-22T18:44:53.668Z] $ 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-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-22T18:44:56.479Z] $ docker top c2d499e4a162c5027b707444e53cd9fb241fdcaa582825b168bdbc75b2bf7c2f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:44:56.846Z] ---> job-cost.sh [2023-03-22T18:44:56.846Z] lf-activate-venv: SKIPPING [2023-03-22T18:44:56.846Z] INFO: No Stack... [2023-03-22T18:44:57.106Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T18:44:57.365Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T18:44:57.659Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives/cost.csv [2023-03-22T18:44:57.659Z] + cut -d, -f6 [Pipeline] lock [2023-03-22T18:44:57.672Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1391-10-stack-cost] [2023-03-22T18:44:57.680Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1391-10-stack-cost] did not exist. Created. [2023-03-22T18:44:57.680Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1391-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T18:44:57.980Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-22T18:44:58.009Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T18:44:58.015Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1391-10-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T18:44:58.042Z] $ docker stop --time=1 c2d499e4a162c5027b707444e53cd9fb241fdcaa582825b168bdbc75b2bf7c2f [2023-03-22T18:44:59.188Z] $ docker rm -f --volumes c2d499e4a162c5027b707444e53cd9fb241fdcaa582825b168bdbc75b2bf7c2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T18:45:03.470Z] provisioning config files... [2023-03-22T18:45:03.497Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/10@tmp/config10709796521467664198tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:45:03.849Z] ---> docker-login.sh [2023-03-22T18:45:03.849Z] nexus3.edgexfoundry.org:10001 [2023-03-22T18:45:04.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:45:04.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:45:04.394Z] Configure a credential helper to remove this warning. See [2023-03-22T18:45:04.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:45:04.394Z] [2023-03-22T18:45:04.394Z] Login Succeeded [2023-03-22T18:45:04.394Z] nexus3.edgexfoundry.org:10002 [2023-03-22T18:45:04.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:45:04.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:45:04.939Z] Configure a credential helper to remove this warning. See [2023-03-22T18:45:04.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:45:04.939Z] [2023-03-22T18:45:04.939Z] Login Succeeded [2023-03-22T18:45:04.939Z] nexus3.edgexfoundry.org:10003 [2023-03-22T18:45:04.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:45:05.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:45:05.210Z] Configure a credential helper to remove this warning. See [2023-03-22T18:45:05.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:45:05.210Z] [2023-03-22T18:45:05.210Z] Login Succeeded [2023-03-22T18:45:05.210Z] nexus3.edgexfoundry.org:10004 [2023-03-22T18:45:05.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:45:05.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:45:05.483Z] Configure a credential helper to remove this warning. See [2023-03-22T18:45:05.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:45:05.483Z] [2023-03-22T18:45:05.483Z] Login Succeeded [2023-03-22T18:45:05.483Z] docker.io [2023-03-22T18:45:05.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:45:06.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:45:06.021Z] Configure a credential helper to remove this warning. See [2023-03-22T18:45:06.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:45:06.021Z] [2023-03-22T18:45:06.021Z] Login Succeeded [2023-03-22T18:45:06.021Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T18:45:06.035Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T18:45:06.278Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T18:45:06.297Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T18:45:06.309Z] ========================================================= [2023-03-22T18:45:06.309Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-22T18:45:06.309Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:45:06.653Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-22T18:45:07.240Z] Sending build context to Docker daemon 5.891MB [2023-03-22T18:45:07.240Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T18:45:07.240Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-22T18:45:07.240Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-22T18:45:07.240Z] af6eaf76a39c: Pulling fs layer [2023-03-22T18:45:07.240Z] 55522c791124: Pulling fs layer [2023-03-22T18:45:07.240Z] ce5c4a1c91eb: Pulling fs layer [2023-03-22T18:45:07.240Z] 169dfbe0d373: Pulling fs layer [2023-03-22T18:45:07.240Z] e1ff8fa3b103: Pulling fs layer [2023-03-22T18:45:07.240Z] 52ebb69f0ebf: Pulling fs layer [2023-03-22T18:45:07.240Z] 5abe8eddf0d5: Pulling fs layer [2023-03-22T18:45:07.240Z] e1ff8fa3b103: Waiting [2023-03-22T18:45:07.240Z] 52ebb69f0ebf: Waiting [2023-03-22T18:45:07.240Z] 169dfbe0d373: Waiting [2023-03-22T18:45:07.240Z] 5abe8eddf0d5: Waiting [2023-03-22T18:45:07.240Z] 55522c791124: Verifying Checksum [2023-03-22T18:45:07.240Z] 55522c791124: Download complete [2023-03-22T18:45:07.240Z] 169dfbe0d373: Verifying Checksum [2023-03-22T18:45:07.240Z] 169dfbe0d373: Download complete [2023-03-22T18:45:07.240Z] e1ff8fa3b103: Download complete [2023-03-22T18:45:07.514Z] af6eaf76a39c: Verifying Checksum [2023-03-22T18:45:08.486Z] af6eaf76a39c: Pull complete [2023-03-22T18:45:08.486Z] 5abe8eddf0d5: Verifying Checksum [2023-03-22T18:45:08.486Z] 5abe8eddf0d5: Download complete [2023-03-22T18:45:09.078Z] 55522c791124: Pull complete [2023-03-22T18:45:10.046Z] 52ebb69f0ebf: Verifying Checksum [2023-03-22T18:45:10.046Z] 52ebb69f0ebf: Download complete [2023-03-22T18:45:10.315Z] ce5c4a1c91eb: Verifying Checksum [2023-03-22T18:45:10.315Z] ce5c4a1c91eb: Download complete [2023-03-22T18:45:22.646Z] ce5c4a1c91eb: Pull complete [2023-03-22T18:45:22.646Z] 169dfbe0d373: Pull complete [2023-03-22T18:45:22.646Z] e1ff8fa3b103: Pull complete [2023-03-22T18:45:26.907Z] 52ebb69f0ebf: Pull complete [2023-03-22T18:45:28.880Z] 5abe8eddf0d5: Pull complete [2023-03-22T18:45:28.880Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-22T18:45:28.880Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-22T18:45:28.880Z] ---> 6cb57ee374ae [2023-03-22T18:45:28.880Z] Step 3/10 : ARG MAKE=make build [2023-03-22T18:45:30.299Z] ---> Running in f4f6908b7e82 [2023-03-22T18:45:30.565Z] Removing intermediate container f4f6908b7e82 [2023-03-22T18:45:30.565Z] ---> 260f8f5ed199 [2023-03-22T18:45:30.565Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-22T18:45:30.565Z] ---> Running in e2b0a80913ee [2023-03-22T18:45:30.835Z] Removing intermediate container e2b0a80913ee [2023-03-22T18:45:30.835Z] ---> e2c80023172d [2023-03-22T18:45:30.835Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-22T18:45:31.102Z] ---> Running in 8f5f3ef85b77 [2023-03-22T18:45:31.368Z] Removing intermediate container 8f5f3ef85b77 [2023-03-22T18:45:31.368Z] ---> 60670f2e6259 [2023-03-22T18:45:31.368Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-22T18:45:31.368Z] ---> Running in c0eb81b111bb [2023-03-22T18:45:32.324Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T18:45:32.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T18:45:33.863Z] OK: 263 MiB in 53 packages [2023-03-22T18:45:34.457Z] Removing intermediate container c0eb81b111bb [2023-03-22T18:45:34.457Z] ---> d234ee64a1e9 [2023-03-22T18:45:34.457Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-22T18:45:35.041Z] ---> ade67106734f [2023-03-22T18:45:35.042Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T18:45:35.042Z] ---> Running in 98515a4ece9a [2023-03-22T18:46:42.917Z] Removing intermediate container 98515a4ece9a [2023-03-22T18:46:42.917Z] ---> 63d63cef9380 [2023-03-22T18:46:42.917Z] Step 9/10 : COPY . . [2023-03-22T18:46:42.917Z] ---> 30a6a31b8bbc [2023-03-22T18:46:42.917Z] Step 10/10 : RUN ${MAKE} [2023-03-22T18:46:42.917Z] ---> Running in 089649ca3ef8 [2023-03-22T18:46:42.917Z] noop [2023-03-22T18:46:42.917Z] Removing intermediate container 089649ca3ef8 [2023-03-22T18:46:42.917Z] ---> a300609772b2 [2023-03-22T18:46:42.917Z] Successfully built a300609772b2 [2023-03-22T18:46:42.917Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:46:43.274Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T18:46:43.274Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T18:46:43.482Z] prd-ubuntu20.04-docker-arm64-4c-16g-5263 does not seem to be running inside a container [2023-03-22T18:46:43.547Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-22T18:46:44.852Z] $ docker top 69e8f057eb5dc0c848c6a18787031e93683900d2ff3aed2f047bd859a83e5010 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T18:46:45.687Z] + go version [2023-03-22T18:46:45.687Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-22T18:46:45.705Z] $ docker stop --time=1 69e8f057eb5dc0c848c6a18787031e93683900d2ff3aed2f047bd859a83e5010 [2023-03-22T18:46:47.322Z] $ docker rm -f --volumes 69e8f057eb5dc0c848c6a18787031e93683900d2ff3aed2f047bd859a83e5010 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:46:47.850Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T18:46:47.850Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T18:46:48.024Z] prd-ubuntu20.04-docker-arm64-4c-16g-5263 does not seem to be running inside a container [2023-03-22T18:46:48.088Z] $ 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/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-22T18:46:49.273Z] $ docker top dbebc4828eae5ba5f741d112898b998db04e818d922c217f8255f7807712a2cb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T18:46:50.108Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/10 [Pipeline] fileExists [Pipeline] sh [2023-03-22T18:46:50.450Z] + make test [2023-03-22T18:46:50.720Z] go test -race -coverprofile=coverage.out ./... [2023-03-22T18:47:29.576Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-22T18:49:36.225Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-22T18:49:36.225Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-22T18:49:36.225Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-22T18:49:36.225Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-22T18:49:36.225Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-22T18:49:36.225Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.192s coverage: 27.6% of statements [2023-03-22T18:49:38.164Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.250s coverage: 78.9% of statements [2023-03-22T18:49:53.152Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-22T18:49:53.152Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-22T18:49:53.152Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.359s coverage: 86.0% of statements [2023-03-22T18:49:58.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-22T18:49:58.482Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.414s coverage: 77.6% of statements [2023-03-22T18:50:01.822Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-22T18:50:03.229Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-22T18:50:03.229Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-22T18:50:05.166Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.298s coverage: 14.9% of statements [2023-03-22T18:50:05.166Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.423s coverage: 68.5% of statements [2023-03-22T18:50:07.102Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.422s coverage: 89.2% of statements [2023-03-22T18:50:08.502Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-22T18:50:08.502Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.229s coverage: 5.6% of statements [2023-03-22T18:50:09.458Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-22T18:50:09.458Z] GO111MODULE=on go vet ./... [2023-03-22T18:52:31.333Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-22T18:52:31.333Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-22T18:52:31.333Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-22T18:52:31.352Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-22T18:52:31.366Z] $ docker stop --time=1 dbebc4828eae5ba5f741d112898b998db04e818d922c217f8255f7807712a2cb [2023-03-22T18:52:33.277Z] $ docker rm -f --volumes dbebc4828eae5ba5f741d112898b998db04e818d922c217f8255f7807712a2cb [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T18:52:34.807Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-22T18:52:34.832Z] Warning: overwriting stash ‘coverage-report’ [2023-03-22T18:52:35.363Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T18:52:35.728Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-22T18:52:36.038Z] + ls -al . [2023-03-22T18:52:36.038Z] total 268 [2023-03-22T18:52:36.038Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 18:46 . [2023-03-22T18:52:36.038Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 18:44 .. [2023-03-22T18:52:36.038Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 22 18:44 .dockerignore [2023-03-22T18:52:36.038Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 18:44 .git [2023-03-22T18:52:36.038Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 18:44 .github [2023-03-22T18:52:36.038Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 22 18:44 .gitignore [2023-03-22T18:52:36.038Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 18:44 .golangci.yml [2023-03-22T18:52:36.038Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 22 18:44 CHANGELOG.md [2023-03-22T18:52:36.038Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 18:44 GOVERNANCE.md [2023-03-22T18:52:36.038Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 22 18:44 Jenkinsfile [2023-03-22T18:52:36.038Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 22 18:44 LICENSE [2023-03-22T18:52:36.038Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 22 18:44 Makefile [2023-03-22T18:52:36.038Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 22 18:44 OWNERS.md [2023-03-22T18:52:36.038Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 22 18:44 README.md [2023-03-22T18:52:36.038Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 18:42 VERSION [2023-03-22T18:52:36.038Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 18:44 bin [2023-03-22T18:52:36.038Z] -rw-r--r-- 1 jenkins jenkins 104731 Mar 22 18:50 coverage.out [2023-03-22T18:52:36.038Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 22 18:44 example [2023-03-22T18:52:36.038Z] -rw-rw-r-- 1 jenkins jenkins 3291 Mar 22 18:44 go.mod [2023-03-22T18:52:36.038Z] -rw-rw-r-- 1 jenkins jenkins 30779 Mar 22 18:44 go.sum [2023-03-22T18:52:36.038Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 18:44 internal [2023-03-22T18:52:36.038Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 18:44 openapi [2023-03-22T18:52:36.038Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 22 18:44 pkg [2023-03-22T18:52:36.038Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 18:44 snap [2023-03-22T18:52:36.038Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 22 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:52:36.366Z] + 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=699f95e2c67f1c1f615f066af95bf435f7c73a6a --label arch=arm64 --label version=0.0.0 . [2023-03-22T18:52:36.957Z] Sending build context to Docker daemon 5.996MB [2023-03-22T18:52:36.957Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T18:52:36.957Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-22T18:52:36.957Z] ---> a300609772b2 [2023-03-22T18:52:36.957Z] Step 3/23 : ARG MAKE=make build [2023-03-22T18:52:36.957Z] ---> Running in 796a1b961850 [2023-03-22T18:52:37.222Z] Removing intermediate container 796a1b961850 [2023-03-22T18:52:37.222Z] ---> c07af1873b24 [2023-03-22T18:52:37.222Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-22T18:52:37.222Z] ---> Running in 5879e1d29f57 [2023-03-22T18:52:37.489Z] Removing intermediate container 5879e1d29f57 [2023-03-22T18:52:37.489Z] ---> 252d15e0fd7f [2023-03-22T18:52:37.489Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-22T18:52:37.489Z] ---> Running in 7a12384dcf97 [2023-03-22T18:52:37.764Z] Removing intermediate container 7a12384dcf97 [2023-03-22T18:52:37.764Z] ---> 06e500c19bb5 [2023-03-22T18:52:37.764Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-22T18:52:38.031Z] ---> Running in 66009df61ed1 [2023-03-22T18:52:38.986Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T18:52:39.568Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T18:52:40.526Z] OK: 263 MiB in 53 packages [2023-03-22T18:52:41.934Z] Removing intermediate container 66009df61ed1 [2023-03-22T18:52:41.934Z] ---> c7efcd0745b4 [2023-03-22T18:52:41.934Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-22T18:52:42.522Z] ---> b3cf8081e72d [2023-03-22T18:52:42.522Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T18:52:42.522Z] ---> Running in b291073ba0a9 [2023-03-22T18:52:45.106Z] Removing intermediate container b291073ba0a9 [2023-03-22T18:52:45.106Z] ---> f0f234bdaae9 [2023-03-22T18:52:45.106Z] Step 9/23 : COPY . . [2023-03-22T18:52:46.516Z] ---> 44b049172b11 [2023-03-22T18:52:46.516Z] Step 10/23 : RUN ${MAKE} [2023-03-22T18:52:46.516Z] ---> Running in 294609d3a0e6 [2023-03-22T18:52:47.478Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-22T18:54:54.133Z] Removing intermediate container 294609d3a0e6 [2023-03-22T18:54:54.133Z] ---> 0dbbbd65c06b [2023-03-22T18:54:54.133Z] Step 11/23 : FROM alpine:3.17 [2023-03-22T18:54:54.133Z] 3.17: Pulling from library/alpine [2023-03-22T18:54:54.133Z] af6eaf76a39c: Already exists [2023-03-22T18:54:54.133Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-22T18:54:54.133Z] Status: Downloaded newer image for alpine:3.17 [2023-03-22T18:54:54.133Z] ---> d74e625d9115 [2023-03-22T18:54:54.133Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-22T18:54:54.133Z] ---> Running in 79a2d8c1fe7a [2023-03-22T18:54:56.719Z] Removing intermediate container 79a2d8c1fe7a [2023-03-22T18:54:56.719Z] ---> 582905f8eb48 [2023-03-22T18:54:56.719Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-22T18:54:56.986Z] ---> Running in 15b3faf3f243 [2023-03-22T18:54:57.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T18:54:58.529Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T18:54:59.488Z] OK: 7 MiB in 15 packages [2023-03-22T18:55:00.076Z] Removing intermediate container 15b3faf3f243 [2023-03-22T18:55:00.076Z] ---> f1c8b703b6ae [2023-03-22T18:55:00.076Z] Step 14/23 : WORKDIR / [2023-03-22T18:55:00.347Z] ---> Running in e18d93d7d591 [2023-03-22T18:55:00.613Z] Removing intermediate container e18d93d7d591 [2023-03-22T18:55:00.613Z] ---> bce5534b3f55 [2023-03-22T18:55:00.613Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-22T18:55:00.879Z] ---> 47ff36fdd3da [2023-03-22T18:55:00.879Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-22T18:55:02.285Z] ---> f6f8e733ab4b [2023-03-22T18:55:02.285Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-22T18:55:02.865Z] ---> 90cd92aecf9d [2023-03-22T18:55:02.865Z] Step 18/23 : EXPOSE 59999 [2023-03-22T18:55:02.865Z] ---> Running in 6f38bb7f48b7 [2023-03-22T18:55:03.130Z] Removing intermediate container 6f38bb7f48b7 [2023-03-22T18:55:03.130Z] ---> cc6f76f49f54 [2023-03-22T18:55:03.130Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-22T18:55:03.130Z] ---> Running in 082a2a768cac [2023-03-22T18:55:03.398Z] Removing intermediate container 082a2a768cac [2023-03-22T18:55:03.398Z] ---> 1a15264630e2 [2023-03-22T18:55:03.398Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-22T18:55:03.666Z] ---> Running in a3eb0c986a2a [2023-03-22T18:55:03.931Z] Removing intermediate container a3eb0c986a2a [2023-03-22T18:55:03.931Z] ---> e2c5020656ad [2023-03-22T18:55:03.931Z] Step 21/23 : LABEL arch=arm64 [2023-03-22T18:55:03.931Z] ---> Running in 800e592f8b9e [2023-03-22T18:55:04.195Z] Removing intermediate container 800e592f8b9e [2023-03-22T18:55:04.195Z] ---> ec9b90425983 [2023-03-22T18:55:04.195Z] Step 22/23 : LABEL git_sha=699f95e2c67f1c1f615f066af95bf435f7c73a6a [2023-03-22T18:55:04.195Z] ---> Running in 11f213ea25b0 [2023-03-22T18:55:04.462Z] Removing intermediate container 11f213ea25b0 [2023-03-22T18:55:04.462Z] ---> 548cd5858c88 [2023-03-22T18:55:04.462Z] Step 23/23 : LABEL version=0.0.0 [2023-03-22T18:55:04.462Z] ---> Running in 90c90367154f [2023-03-22T18:55:04.727Z] Removing intermediate container 90c90367154f [2023-03-22T18:55:04.727Z] ---> 11333f202757 [2023-03-22T18:55:04.727Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-22T18:55:04.992Z] Successfully built 11333f202757 [2023-03-22T18:55:04.992Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:55:05.400Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T18:55:05.400Z] [2023-03-22T18:55:05.400Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:55:05.722Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T18:55:05.723Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-22T18:55:05.723Z] 8998bd30e6a1: Pulling fs layer [2023-03-22T18:55:05.723Z] 04944245beec: Pulling fs layer [2023-03-22T18:55:05.723Z] 699f458cf7ca: Pulling fs layer [2023-03-22T18:55:05.723Z] 765212b225bb: Pulling fs layer [2023-03-22T18:55:05.723Z] f23df028b6ca: Pulling fs layer [2023-03-22T18:55:05.723Z] d65c8cfc05b1: Pulling fs layer [2023-03-22T18:55:05.723Z] 2437ff75d9bd: Pulling fs layer [2023-03-22T18:55:05.723Z] 765212b225bb: Waiting [2023-03-22T18:55:05.723Z] f23df028b6ca: Waiting [2023-03-22T18:55:05.723Z] d65c8cfc05b1: Waiting [2023-03-22T18:55:05.723Z] 2437ff75d9bd: Waiting [2023-03-22T18:55:05.989Z] 04944245beec: Verifying Checksum [2023-03-22T18:55:05.989Z] 04944245beec: Download complete [2023-03-22T18:55:05.989Z] 765212b225bb: Verifying Checksum [2023-03-22T18:55:05.989Z] 765212b225bb: Download complete [2023-03-22T18:55:05.989Z] f23df028b6ca: Verifying Checksum [2023-03-22T18:55:05.989Z] f23df028b6ca: Download complete [2023-03-22T18:55:05.989Z] d65c8cfc05b1: Verifying Checksum [2023-03-22T18:55:05.989Z] d65c8cfc05b1: Download complete [2023-03-22T18:55:05.989Z] 699f458cf7ca: Verifying Checksum [2023-03-22T18:55:05.989Z] 699f458cf7ca: Download complete [2023-03-22T18:55:06.569Z] 8998bd30e6a1: Verifying Checksum [2023-03-22T18:55:06.569Z] 8998bd30e6a1: Download complete [2023-03-22T18:55:08.533Z] 2437ff75d9bd: Verifying Checksum [2023-03-22T18:55:08.533Z] 2437ff75d9bd: Download complete [2023-03-22T18:55:10.470Z] 8998bd30e6a1: Pull complete [2023-03-22T18:55:10.740Z] 04944245beec: Pull complete [2023-03-22T18:55:12.153Z] 699f458cf7ca: Pull complete [2023-03-22T18:55:12.153Z] 765212b225bb: Pull complete [2023-03-22T18:55:13.111Z] f23df028b6ca: Pull complete [2023-03-22T18:55:13.111Z] d65c8cfc05b1: Pull complete [2023-03-22T18:55:28.359Z] 2437ff75d9bd: Pull complete [2023-03-22T18:55:28.359Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-22T18:55:28.359Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T18:55:28.360Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T18:55:28.555Z] prd-ubuntu20.04-docker-arm64-4c-16g-5263 does not seem to be running inside a container [2023-03-22T18:55:28.621Z] $ 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/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-22T18:55:31.114Z] $ docker top 615a5a3c1250a15f84d5a7cc0ab1d192d70e6027bf0456c17db8278acbf292dc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:55:31.946Z] ---> job-cost.sh [2023-03-22T18:55:31.946Z] lf-activate-venv: SKIPPING [2023-03-22T18:55:31.946Z] INFO: No Stack... [2023-03-22T18:55:32.212Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-22T18:55:33.174Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T18:55:33.500Z] + cat /w/workspace/device-sdk-go/10/archives/cost.csv [2023-03-22T18:55:33.500Z] + cut -d, -f6 [Pipeline] lock [2023-03-22T18:55:33.835Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1391-10-stack-cost] [2023-03-22T18:55:33.841Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1391-10-stack-cost] did not exist. Created. [2023-03-22T18:55:33.841Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1391-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T18:55:34.499Z] /w/workspace/device-sdk-go/10@tmp/durable-11384be9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-22T18:55:35.154Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-22T18:55:35.176Z] Warning: overwriting stash ‘stack-cost’ [2023-03-22T18:55:35.237Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T18:55:35.243Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1391-10-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T18:55:35.266Z] $ docker stop --time=1 615a5a3c1250a15f84d5a7cc0ab1d192d70e6027bf0456c17db8278acbf292dc [2023-03-22T18:55:38.224Z] $ docker rm -f --volumes 615a5a3c1250a15f84d5a7cc0ab1d192d70e6027bf0456c17db8278acbf292dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-22T18:55:38.595Z] provisioning config files... [2023-03-22T18:55:38.602Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/config15373064089601028945tmp [Pipeline] { [Pipeline] sh [2023-03-22T18:55:38.889Z] + set +x [2023-03-22T18:55:38.889Z] + curl -s https://codecov.io/bash [2023-03-22T18:55:38.889Z] + bash -s -- [2023-03-22T18:55:38.889Z] [2023-03-22T18:55:38.889Z] _____ _ [2023-03-22T18:55:38.889Z] / ____| | | [2023-03-22T18:55:38.889Z] | | ___ __| | ___ ___ _____ __ [2023-03-22T18:55:38.889Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-22T18:55:38.889Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-22T18:55:38.889Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-22T18:55:38.889Z] Bash-1.0.6 [2023-03-22T18:55:38.889Z] [2023-03-22T18:55:38.889Z] [2023-03-22T18:55:38.889Z] ==> git version 2.25.1 found [2023-03-22T18:55:38.889Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-22T18:55:38.889Z] Release-Date: 2020-01-08 [2023-03-22T18:55:38.891Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-22T18:55:38.891Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-22T18:55:38.891Z] ==> Jenkins CI detected. [2023-03-22T18:55:38.891Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1391 [2023-03-22T18:55:38.891Z] project root: . [2023-03-22T18:55:38.891Z] --> token set from env [2023-03-22T18:55:38.891Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-22T18:55:38.891Z] ==> Running gcov in . (disable via -X gcov) [2023-03-22T18:55:38.891Z] ==> Python coveragepy not found [2023-03-22T18:55:38.891Z] ==> Searching for coverage reports in: [2023-03-22T18:55:38.891Z] + . [2023-03-22T18:55:38.891Z] -> Found 1 reports [2023-03-22T18:55:38.891Z] ==> Detecting git/mercurial file structure [2023-03-22T18:55:38.891Z] ==> Reading reports [2023-03-22T18:55:38.891Z] + ./coverage.out bytes=104731 [2023-03-22T18:55:38.891Z] ==> Appending adjustments [2023-03-22T18:55:38.891Z] https://docs.codecov.io/docs/fixing-reports [2023-03-22T18:55:39.150Z] + Found adjustments [2023-03-22T18:55:39.150Z] ==> Gzipping contents [2023-03-22T18:55:39.150Z] 16K /tmp/codecov.rzYIJ4.gz [2023-03-22T18:55:39.150Z] ==> Uploading reports [2023-03-22T18:55:39.150Z] url: https://codecov.io [2023-03-22T18:55:39.150Z] query: branch=PR-1391&commit=267425971b9412734538fe2294cf5a2b4978c268&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1391%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1391&job=&cmd_args= [2023-03-22T18:55:39.409Z] -> Pinging Codecov [2023-03-22T18:55:39.409Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1391&commit=267425971b9412734538fe2294cf5a2b4978c268&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1391%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1391&job=&cmd_args= [2023-03-22T18:55:39.409Z] -> Uploading to [2023-03-22T18:55:39.409Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-22/7E55EF52A471D76F132DFD9A03CDDE97/267425971b9412734538fe2294cf5a2b4978c268/6e5ad940-48cc-43b3-a8d5-4c095f1d470c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230322T185539Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7754aa78df0766f808ee3be0679b34aa1437f56c72b73357464486309726c54b [2023-03-22T18:55:39.409Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T18:55:39.409Z] Dload Upload Total Spent Left Speed [2023-03-22T18:55:39.668Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14840 0 0 100 14840 0 47111 --:--:-- --:--:-- --:--:-- 46962 100 14840 0 0 100 14840 0 47111 --:--:-- --:--:-- --:--:-- 46962 [2023-03-22T18:55:39.668Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/267425971b9412734538fe2294cf5a2b4978c268 [Pipeline] } [2023-03-22T18:55:39.675Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-22T18:55:40.400Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives ] [2023-03-22T18:55:40.400Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives [2023-03-22T18:55:40.400Z] total 16 [2023-03-22T18:55:40.400Z] drwxr-xr-x 3 root root 4096 Mar 22 18:44 . [2023-03-22T18:55:40.400Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 18:44 .. [2023-03-22T18:55:40.400Z] drwxr-xr-x 2 root root 4096 Mar 22 18:44 cost [2023-03-22T18:55:40.400Z] -rw-r--r-- 1 root root 87 Mar 22 18:44 cost.csv [2023-03-22T18:55:40.400Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives [2023-03-22T18:55:40.400Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives [2023-03-22T18:55:40.400Z] total 16 [2023-03-22T18:55:40.400Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 18:44 . [2023-03-22T18:55:40.400Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 18:44 .. [2023-03-22T18:55:40.400Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 18:44 cost [2023-03-22T18:55:40.400Z] -rw-r--r-- 1 jenkins jenkins 87 Mar 22 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:55:40.696Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:55:41.552Z] ---> package-listing.sh [2023-03-22T18:55:41.552Z] ++ facter osfamily [2023-03-22T18:55:41.552Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-22T18:55:41.812Z] + OS_FAMILY=debian [2023-03-22T18:55:41.812Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1391 [2023-03-22T18:55:41.812Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-22T18:55:41.812Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-22T18:55:41.812Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-22T18:55:41.812Z] + PACKAGES=/tmp/packages_start.txt [2023-03-22T18:55:41.812Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1391 ']' [2023-03-22T18:55:41.812Z] + PACKAGES=/tmp/packages_end.txt [2023-03-22T18:55:41.812Z] + case "${OS_FAMILY}" in [2023-03-22T18:55:41.812Z] + dpkg -l [2023-03-22T18:55:41.812Z] + grep '^ii' [2023-03-22T18:55:41.812Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-22T18:55:41.812Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-22T18:55:41.812Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-22T18:55:41.812Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1391 ']' [2023-03-22T18:55:41.812Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives/ [2023-03-22T18:55:41.812Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives/ [Pipeline] echo [2023-03-22T18:55:41.823Z] 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-1391/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-22T18:55:42.097Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:55:42.661Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T18:55:42.661Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T18:55:42.731Z] prd-ubuntu20.04-docker-8c-8g-5262 does not seem to be running inside a container [2023-03-22T18:55:42.782Z] $ 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-1391/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-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-22T18:55:43.110Z] $ docker top b6b868d1989ae4ed168a40b10b71e4a4ccfed030cdf924cc69917aec8721f102 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T18:55:43.427Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-22T18:55:43.713Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-22T18:55:43.996Z] + ls /var/log/sa-host [2023-03-22T18:55:43.996Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T18:55:44.140Z] provisioning config files... [2023-03-22T18:55:44.147Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/config7636313694920905774tmp [Pipeline] { [Pipeline] echo [2023-03-22T18:55:44.158Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:55:44.439Z] ---> create-netrc.sh [Pipeline] } [2023-03-22T18:55:44.446Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:55:44.790Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-22T18:55:44.800Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:55:45.084Z] ---> sudo-logs.sh [2023-03-22T18:55:45.084Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-22T18:55:45.114Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:55:45.395Z] ---> job-cost.sh [2023-03-22T18:55:45.395Z] lf-activate-venv: SKIPPING [2023-03-22T18:55:45.395Z] DEBUG: total: 0.2199999988079071 [2023-03-22T18:55:45.395Z] INFO: Retrieving Stack Cost... [2023-03-22T18:55:45.654Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T18:55:46.220Z] INFO: Archiving Costs [Pipeline] echo [2023-03-22T18:55:46.232Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:55:46.515Z] ---> logs-deploy.sh [2023-03-22T18:55:46.515Z] lf-activate-venv: SKIPPING [2023-03-22T18:55:46.515Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1391/10 [2023-03-22T18:55:46.515Z] INFO: archiving workspace using pattern(s): [2023-03-22T18:55:47.451Z] Archives upload complete. [2023-03-22T18:55:47.712Z] INFO: archiving logs to Nexus [2023-03-22T18:55:48.280Z] ---> uname -a: [2023-03-22T18:55:48.280Z] Linux prd-ubuntu20-04-docker-8c-8g-5262 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-03-22T18:55:48.280Z] [2023-03-22T18:55:48.280Z] [2023-03-22T18:55:48.280Z] ---> lscpu: [2023-03-22T18:55:48.280Z] Architecture: x86_64 [2023-03-22T18:55:48.280Z] CPU op-mode(s): 32-bit, 64-bit [2023-03-22T18:55:48.280Z] Byte Order: Little Endian [2023-03-22T18:55:48.280Z] Address sizes: 40 bits physical, 48 bits virtual [2023-03-22T18:55:48.280Z] CPU(s): 8 [2023-03-22T18:55:48.280Z] On-line CPU(s) list: 0-7 [2023-03-22T18:55:48.280Z] Thread(s) per core: 1 [2023-03-22T18:55:48.280Z] Core(s) per socket: 1 [2023-03-22T18:55:48.280Z] Socket(s): 8 [2023-03-22T18:55:48.280Z] NUMA node(s): 1 [2023-03-22T18:55:48.280Z] Vendor ID: AuthenticAMD [2023-03-22T18:55:48.280Z] CPU family: 23 [2023-03-22T18:55:48.280Z] Model: 49 [2023-03-22T18:55:48.280Z] Model name: AMD EPYC-Rome Processor [2023-03-22T18:55:48.280Z] Stepping: 0 [2023-03-22T18:55:48.280Z] CPU MHz: 2799.998 [2023-03-22T18:55:48.280Z] BogoMIPS: 5599.99 [2023-03-22T18:55:48.280Z] Virtualization: AMD-V [2023-03-22T18:55:48.280Z] Hypervisor vendor: KVM [2023-03-22T18:55:48.280Z] Virtualization type: full [2023-03-22T18:55:48.280Z] L1d cache: 256 KiB [2023-03-22T18:55:48.280Z] L1i cache: 256 KiB [2023-03-22T18:55:48.280Z] L2 cache: 4 MiB [2023-03-22T18:55:48.280Z] L3 cache: 128 MiB [2023-03-22T18:55:48.280Z] NUMA node0 CPU(s): 0-7 [2023-03-22T18:55:48.280Z] Vulnerability Itlb multihit: Not affected [2023-03-22T18:55:48.280Z] Vulnerability L1tf: Not affected [2023-03-22T18:55:48.280Z] Vulnerability Mds: Not affected [2023-03-22T18:55:48.280Z] Vulnerability Meltdown: Not affected [2023-03-22T18:55:48.280Z] Vulnerability Mmio stale data: Not affected [2023-03-22T18:55:48.280Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-03-22T18:55:48.280Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-03-22T18:55:48.280Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-03-22T18:55:48.280Z] Vulnerability Srbds: Not affected [2023-03-22T18:55:48.280Z] Vulnerability Tsx async abort: Not affected [2023-03-22T18:55:48.280Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-03-22T18:55:48.280Z] [2023-03-22T18:55:48.280Z] [2023-03-22T18:55:48.280Z] ---> nproc: [2023-03-22T18:55:48.280Z] 8 [2023-03-22T18:55:48.280Z] [2023-03-22T18:55:48.280Z] [2023-03-22T18:55:48.280Z] ---> df -h: [2023-03-22T18:55:48.280Z] Filesystem Size Used Avail Use% Mounted on [2023-03-22T18:55:48.280Z] overlay 155G 12G 144G 8% / [2023-03-22T18:55:48.280Z] tmpfs 64M 0 64M 0% /dev [2023-03-22T18:55:48.280Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-03-22T18:55:48.280Z] shm 64M 0 64M 0% /dev/shm [2023-03-22T18:55:48.280Z] /dev/vda1 155G 12G 144G 8% /facter-os [2023-03-22T18:55:48.280Z] [2023-03-22T18:55:48.280Z]