Pull request #1491 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 282c48342c89778cfb5ff3e9e635a94e7bcdf715+9643316300e59272a09f9c1d01562286ee215d0b (fb21801a5eaa4d933dd899f7dba4faa7d0f3fa24) 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-ssh16728788349689696125.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5201919262590005769.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1491/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1491/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14127355906224666976.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1491/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5139531548479222973.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7470313598359438172.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1491/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1491/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3929379942158195168.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2868 in /w/workspace/gexfoundry_device-sdk-go_PR-1491 [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-1491 # 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/1491/head:refs/remotes/origin/PR-1491 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9643316300e59272a09f9c1d01562286ee215d0b into PR head commit 282c48342c89778cfb5ff3e9e635a94e7bcdf715 Merge succeeded, producing 282c48342c89778cfb5ff3e9e635a94e7bcdf715 Checking out Revision 282c48342c89778cfb5ff3e9e635a94e7bcdf715 (PR-1491) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 282c48342c89778cfb5ff3e9e635a94e7bcdf715 # 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 9643316300e59272a09f9c1d01562286ee215d0b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 282c48342c89778cfb5ff3e9e635a94e7bcdf715 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-04T00:41:48.102Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-04T00:41:48.294Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-04T00:41:48.402Z] ========================================================= [2023-08-04T00:41:48.402Z] EdgeX Global Pipelines Version Info [2023-08-04T00:41:48.402Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:41:49.139Z] ------------------- [2023-08-04T00:41:49.139Z] stable info: [2023-08-04T00:41:49.139Z] ------------------- [2023-08-04T00:41:49.139Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-04T00:41:49.139Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-04T00:41:49.139Z] Message: update stable to v1.0.250 [2023-08-04T00:41:49.715Z] ------------------- [2023-08-04T00:41:49.715Z] experimental info: [2023-08-04T00:41:49.715Z] ------------------- [2023-08-04T00:41:49.715Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-04T00:41:49.715Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-04T00:41:49.715Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-04T00:41:50.032Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-08-04T00:41:50.077Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-08-04T00:41:50.121Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-04T00:41:50.160Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-04T00:41:50.209Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-04T00:41:50.256Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-04T00:41:50.388Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-04T00:41:50.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-08-04T00:41:50.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-04T00:41:50.518Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-04T00:41:50.554Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-04T00:41:50.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-08-04T00:41:50.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-04T00:41:50.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-04T00:41:50.736Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-04T00:41:50.774Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-08-04T00:41:50.817Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-04T00:41:50.863Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-04T00:41:50.909Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-04T00:41:50.950Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-04T00:41:50.997Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-08-04T00:41:51.042Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-08-04T00:41:51.089Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-04T00:41:51.140Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-04T00:41:51.186Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-04T00:41:51.234Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-04T00:41:51.279Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-04T00:41:51.325Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1491 [Pipeline] echo [2023-08-04T00:41:51.371Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1491 [Pipeline] echo [2023-08-04T00:41:51.418Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1491 [Pipeline] echo [2023-08-04T00:41:51.465Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 282c48342c89778cfb5ff3e9e635a94e7bcdf715 [Pipeline] echo [2023-08-04T00:41:51.517Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 282c483 [Pipeline] echo [2023-08-04T00:41:51.559Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-04T00:41:51.692Z] provisioning config files... [2023-08-04T00:41:51.706Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp/config9945208831822824602tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:41:52.080Z] ---> docker-login.sh [2023-08-04T00:41:52.080Z] nexus3.edgexfoundry.org:10001 [2023-08-04T00:41:52.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:41:52.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:41:52.345Z] Configure a credential helper to remove this warning. See [2023-08-04T00:41:52.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:41:52.345Z] [2023-08-04T00:41:52.345Z] Login Succeeded [2023-08-04T00:41:52.345Z] nexus3.edgexfoundry.org:10002 [2023-08-04T00:41:52.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:41:52.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:41:52.345Z] Configure a credential helper to remove this warning. See [2023-08-04T00:41:52.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:41:52.345Z] [2023-08-04T00:41:52.345Z] Login Succeeded [2023-08-04T00:41:52.345Z] nexus3.edgexfoundry.org:10003 [2023-08-04T00:41:52.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:41:52.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:41:52.605Z] Configure a credential helper to remove this warning. See [2023-08-04T00:41:52.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:41:52.605Z] [2023-08-04T00:41:52.605Z] Login Succeeded [2023-08-04T00:41:52.605Z] nexus3.edgexfoundry.org:10004 [2023-08-04T00:41:52.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:41:52.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:41:52.605Z] Configure a credential helper to remove this warning. See [2023-08-04T00:41:52.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:41:52.605Z] [2023-08-04T00:41:52.605Z] Login Succeeded [2023-08-04T00:41:52.605Z] docker.io [2023-08-04T00:41:52.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:41:53.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:41:53.126Z] Configure a credential helper to remove this warning. See [2023-08-04T00:41:53.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:41:53.126Z] [2023-08-04T00:41:53.126Z] Login Succeeded [2023-08-04T00:41:53.126Z] ---> docker-login.sh ends [Pipeline] } [2023-08-04T00:41:53.152Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-04T00:41:53.775Z] + git rev-list -1 --merges 282c48342c89778cfb5ff3e9e635a94e7bcdf715~1..282c48342c89778cfb5ff3e9e635a94e7bcdf715 [Pipeline] echo [2023-08-04T00:41:53.844Z] -----------> git rev-list -1 --merges 282c48342c89778cfb5ff3e9e635a94e7bcdf715~1..282c48342c89778cfb5ff3e9e635a94e7bcdf715 282c48342c89778cfb5ff3e9e635a94e7bcdf715 [false] [Pipeline] sh [2023-08-04T00:41:54.158Z] + git log --format=format:%s -1 282c48342c89778cfb5ff3e9e635a94e7bcdf715 [Pipeline] echo [2023-08-04T00:41:54.195Z] ========================================================= [2023-08-04T00:41:54.195Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-04T00:41:54.195Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-04T00:41:54.645Z] + git log --format=format:%s -1 282c48342c89778cfb5ff3e9e635a94e7bcdf715 [Pipeline] echo [2023-08-04T00:41:54.676Z] [semverPrep] GIT_COMMIT: 282c48342c89778cfb5ff3e9e635a94e7bcdf715, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-08-04T00:41:54.709Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-04T00:41:55.081Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-04T00:41:55.081Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-04T00:41:55.081Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-04T00:41:55.081Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-04T00:41:55.081Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-04T00:41:55.081Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-04T00:41:55.081Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:41:55.513Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-04T00:41:55.513Z] [2023-08-04T00:41:55.513Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:41:55.887Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-04T00:41:55.887Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-04T00:41:55.887Z] b85a868b505f: Pulling fs layer [2023-08-04T00:41:55.887Z] e2be974225ed: Pulling fs layer [2023-08-04T00:41:55.887Z] 339a4e72a1f5: Pulling fs layer [2023-08-04T00:41:55.887Z] 988bab9f4d93: Pulling fs layer [2023-08-04T00:41:55.887Z] 1469e6f7b9e6: Pulling fs layer [2023-08-04T00:41:55.887Z] eaf3925da568: Pulling fs layer [2023-08-04T00:41:55.887Z] bab4dde63d76: Pulling fs layer [2023-08-04T00:41:55.887Z] bde34c3a00c8: Pulling fs layer [2023-08-04T00:41:55.887Z] b352a97aabf1: Pulling fs layer [2023-08-04T00:41:55.887Z] 4872d77fe225: Pulling fs layer [2023-08-04T00:41:55.887Z] 5851b861e8e6: Pulling fs layer [2023-08-04T00:41:55.887Z] 988bab9f4d93: Waiting [2023-08-04T00:41:55.887Z] 1469e6f7b9e6: Waiting [2023-08-04T00:41:55.887Z] bde34c3a00c8: Waiting [2023-08-04T00:41:55.887Z] eaf3925da568: Waiting [2023-08-04T00:41:55.887Z] bab4dde63d76: Waiting [2023-08-04T00:41:55.887Z] 5851b861e8e6: Waiting [2023-08-04T00:41:55.887Z] 4872d77fe225: Waiting [2023-08-04T00:41:55.887Z] e2be974225ed: Download complete [2023-08-04T00:41:55.887Z] 988bab9f4d93: Verifying Checksum [2023-08-04T00:41:55.887Z] 988bab9f4d93: Download complete [2023-08-04T00:41:55.887Z] 1469e6f7b9e6: Verifying Checksum [2023-08-04T00:41:55.887Z] 1469e6f7b9e6: Download complete [2023-08-04T00:41:56.147Z] eaf3925da568: Verifying Checksum [2023-08-04T00:41:56.147Z] eaf3925da568: Download complete [2023-08-04T00:41:56.147Z] 339a4e72a1f5: Verifying Checksum [2023-08-04T00:41:56.147Z] 339a4e72a1f5: Download complete [2023-08-04T00:41:56.147Z] bde34c3a00c8: Verifying Checksum [2023-08-04T00:41:56.147Z] bde34c3a00c8: Download complete [2023-08-04T00:41:56.147Z] b352a97aabf1: Verifying Checksum [2023-08-04T00:41:56.147Z] b352a97aabf1: Download complete [2023-08-04T00:41:56.147Z] 4872d77fe225: Verifying Checksum [2023-08-04T00:41:56.147Z] 4872d77fe225: Download complete [2023-08-04T00:41:56.147Z] 5851b861e8e6: Verifying Checksum [2023-08-04T00:41:56.147Z] 5851b861e8e6: Download complete [2023-08-04T00:41:56.147Z] b85a868b505f: Verifying Checksum [2023-08-04T00:41:56.147Z] b85a868b505f: Download complete [2023-08-04T00:41:56.408Z] bab4dde63d76: Verifying Checksum [2023-08-04T00:41:56.408Z] bab4dde63d76: Download complete [2023-08-04T00:41:57.346Z] b85a868b505f: Pull complete [2023-08-04T00:41:57.605Z] e2be974225ed: Pull complete [2023-08-04T00:41:58.173Z] 339a4e72a1f5: Pull complete [2023-08-04T00:41:58.173Z] 988bab9f4d93: Pull complete [2023-08-04T00:41:58.430Z] 1469e6f7b9e6: Pull complete [2023-08-04T00:41:58.430Z] eaf3925da568: Pull complete [2023-08-04T00:42:00.350Z] bab4dde63d76: Pull complete [2023-08-04T00:42:00.350Z] bde34c3a00c8: Pull complete [2023-08-04T00:42:00.610Z] b352a97aabf1: Pull complete [2023-08-04T00:42:00.610Z] 4872d77fe225: Pull complete [2023-08-04T00:42:00.610Z] 5851b861e8e6: Pull complete [2023-08-04T00:42:00.610Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-04T00:42:00.610Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-04T00:42:00.610Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T00:42:00.865Z] prd-ubuntu20.04-docker-8c-8g-2868 does not seem to be running inside a container [2023-08-04T00:42:00.898Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1491 -v /w/workspace/gexfoundry_device-sdk-go_PR-1491:/w/workspace/gexfoundry_device-sdk-go_PR-1491:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1491@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-04T00:42:03.531Z] $ docker top 2a2019fcf7436d7681b60650787afe71914ea0d6db33a53dd3fcc9951d3a3e85 -eo pid,comm [2023-08-04T00:42:03.585Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-04T00:42:03.585Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-04T00:42:03.710Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-04T00:42:03.710Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-04T00:42:03.819Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-04T00:42:03.824Z] $ docker exec 2a2019fcf7436d7681b60650787afe71914ea0d6db33a53dd3fcc9951d3a3e85 ssh-agent [2023-08-04T00:42:03.923Z] SSH_AUTH_SOCK=/tmp/ssh-oGMp9pW4BHRe/agent.32 [2023-08-04T00:42:03.923Z] SSH_AGENT_PID=38 [2023-08-04T00:42:03.930Z] Running ssh-add (command line suppressed) [2023-08-04T00:42:04.029Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp/private_key_5379003603356474128.key (/w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp/private_key_5379003603356474128.key) [2023-08-04T00:42:04.044Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-04T00:42:04.367Z] + git tag --points-at HEAD [Pipeline] } [2023-08-04T00:42:04.396Z] $ docker exec --env ******** --env ******** 2a2019fcf7436d7681b60650787afe71914ea0d6db33a53dd3fcc9951d3a3e85 ssh-agent -k [2023-08-04T00:42:04.491Z] unset SSH_AUTH_SOCK; [2023-08-04T00:42:04.491Z] unset SSH_AGENT_PID; [2023-08-04T00:42:04.491Z] echo Agent pid 38 killed; [2023-08-04T00:42:04.500Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-04T00:42:04.588Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-04T00:42:04.588Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-04T00:42:04.704Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-04T00:42:04.708Z] $ docker exec 2a2019fcf7436d7681b60650787afe71914ea0d6db33a53dd3fcc9951d3a3e85 ssh-agent [2023-08-04T00:42:04.823Z] SSH_AUTH_SOCK=/tmp/ssh-YAfZfuoGiTUR/agent.70 [2023-08-04T00:42:04.823Z] SSH_AGENT_PID=76 [2023-08-04T00:42:04.828Z] Running ssh-add (command line suppressed) [2023-08-04T00:42:04.934Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp/private_key_12095079419812381242.key (/w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp/private_key_12095079419812381242.key) [2023-08-04T00:42:04.948Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-04T00:42:05.282Z] + git semver init [2023-08-04T00:42:05.541Z] 2023-08-04 00:42:05,485 [run_init] DEBUG init version:0.0.0 force:False [2023-08-04T00:42:05.541Z] 2023-08-04 00:42:05,486 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1491/.semver [2023-08-04T00:42:05.541Z] 2023-08-04 00:42:05,486 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1491/.semver [2023-08-04T00:42:05.541Z] 2023-08-04 00:42:05,486 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1491/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1491, universal_newlines=False, shell=None, istream=None) [2023-08-04T00:42:06.920Z] 2023-08-04 00:42:06,493 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1491/.git/info/exclude [2023-08-04T00:42:06.921Z] 2023-08-04 00:42:06,493 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1491/.semver/PR-1491 with force:False [2023-08-04T00:42:06.921Z] 2023-08-04 00:42:06,494 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1491/.semver/PR-1491 [2023-08-04T00:42:06.921Z] 2023-08-04 00:42:06,498 [execute] INFO git cat-file --batch-check [2023-08-04T00:42:06.921Z] 2023-08-04 00:42:06,498 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1491/.semver, universal_newlines=False, shell=None, istream=) [2023-08-04T00:42:06.921Z] 2023-08-04 00:42:06,504 [execute] INFO git cat-file --batch [2023-08-04T00:42:06.921Z] 2023-08-04 00:42:06,505 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1491/.semver, universal_newlines=False, shell=None, istream=) [2023-08-04T00:42:06.921Z] 2023-08-04 00:42:06,509 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1491/.semver/PR-1491 [2023-08-04T00:42:06.921Z] 0.0.0 [Pipeline] } [2023-08-04T00:42:06.948Z] $ docker exec --env ******** --env ******** 2a2019fcf7436d7681b60650787afe71914ea0d6db33a53dd3fcc9951d3a3e85 ssh-agent -k [2023-08-04T00:42:07.059Z] unset SSH_AUTH_SOCK; [2023-08-04T00:42:07.060Z] unset SSH_AGENT_PID; [2023-08-04T00:42:07.060Z] echo Agent pid 76 killed; [2023-08-04T00:42:07.067Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-04T00:42:07.502Z] + git semver [Pipeline] } [2023-08-04T00:42:07.789Z] $ docker stop --time=1 2a2019fcf7436d7681b60650787afe71914ea0d6db33a53dd3fcc9951d3a3e85 [2023-08-04T00:42:09.086Z] $ docker rm -f --volumes 2a2019fcf7436d7681b60650787afe71914ea0d6db33a53dd3fcc9951d3a3e85 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-04T00:42:09.485Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-04T00:42:09.783Z] Stashed 1 file(s) [Pipeline] echo [2023-08-04T00:42:09.798Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-04T00:42:10.419Z] provisioning config files... [2023-08-04T00:42:10.428Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp/config2490059932730043202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:42:10.774Z] ---> docker-login.sh [2023-08-04T00:42:10.774Z] nexus3.edgexfoundry.org:10001 [2023-08-04T00:42:10.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:42:10.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:42:10.774Z] Configure a credential helper to remove this warning. See [2023-08-04T00:42:10.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:42:10.774Z] [2023-08-04T00:42:10.774Z] Login Succeeded [2023-08-04T00:42:10.774Z] nexus3.edgexfoundry.org:10002 [2023-08-04T00:42:10.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:42:10.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:42:10.774Z] Configure a credential helper to remove this warning. See [2023-08-04T00:42:10.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:42:10.774Z] [2023-08-04T00:42:10.774Z] Login Succeeded [2023-08-04T00:42:10.774Z] nexus3.edgexfoundry.org:10003 [2023-08-04T00:42:11.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:42:11.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:42:11.034Z] Configure a credential helper to remove this warning. See [2023-08-04T00:42:11.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:42:11.034Z] [2023-08-04T00:42:11.034Z] Login Succeeded [2023-08-04T00:42:11.034Z] nexus3.edgexfoundry.org:10004 [2023-08-04T00:42:11.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:42:11.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:42:11.034Z] Configure a credential helper to remove this warning. See [2023-08-04T00:42:11.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:42:11.034Z] [2023-08-04T00:42:11.034Z] Login Succeeded [2023-08-04T00:42:11.034Z] docker.io [2023-08-04T00:42:11.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:42:11.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:42:11.292Z] Configure a credential helper to remove this warning. See [2023-08-04T00:42:11.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:42:11.292Z] [2023-08-04T00:42:11.292Z] Login Succeeded [2023-08-04T00:42:11.551Z] ---> docker-login.sh ends [Pipeline] } [2023-08-04T00:42:11.578Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-04T00:42:11.846Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-04T00:42:11.884Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-04T00:42:11.918Z] ========================================================= [2023-08-04T00:42:11.918Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-04T00:42:11.918Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:42:12.384Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-04T00:42:12.384Z] Sending build context to Docker daemon 11.03MB [2023-08-04T00:42:12.384Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-04T00:42:12.384Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-04T00:42:12.384Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-04T00:42:12.384Z] 4db1b89c0bd1: Pulling fs layer [2023-08-04T00:42:12.384Z] 6911f1a30b25: Pulling fs layer [2023-08-04T00:42:12.384Z] e194b8c5c2a9: Pulling fs layer [2023-08-04T00:42:12.384Z] 6863d3e3a2b1: Pulling fs layer [2023-08-04T00:42:12.384Z] ec0bb842ea78: Pulling fs layer [2023-08-04T00:42:12.384Z] 40a00589a448: Pulling fs layer [2023-08-04T00:42:12.384Z] 6c08303d61cc: Pulling fs layer [2023-08-04T00:42:12.384Z] 798269fcf238: Pulling fs layer [2023-08-04T00:42:12.384Z] 6c08303d61cc: Waiting [2023-08-04T00:42:12.384Z] 798269fcf238: Waiting [2023-08-04T00:42:12.384Z] ec0bb842ea78: Waiting [2023-08-04T00:42:12.384Z] 40a00589a448: Waiting [2023-08-04T00:42:12.384Z] 6863d3e3a2b1: Waiting [2023-08-04T00:42:12.642Z] 6911f1a30b25: Download complete [2023-08-04T00:42:12.642Z] 6863d3e3a2b1: Verifying Checksum [2023-08-04T00:42:12.642Z] 6863d3e3a2b1: Download complete [2023-08-04T00:42:12.642Z] ec0bb842ea78: Verifying Checksum [2023-08-04T00:42:12.642Z] ec0bb842ea78: Download complete [2023-08-04T00:42:12.642Z] 4db1b89c0bd1: Verifying Checksum [2023-08-04T00:42:12.642Z] 4db1b89c0bd1: Download complete [2023-08-04T00:42:12.642Z] 40a00589a448: Verifying Checksum [2023-08-04T00:42:12.642Z] 40a00589a448: Download complete [2023-08-04T00:42:12.642Z] 4db1b89c0bd1: Pull complete [2023-08-04T00:42:12.902Z] 6911f1a30b25: Pull complete [2023-08-04T00:42:12.902Z] 798269fcf238: Verifying Checksum [2023-08-04T00:42:12.902Z] 798269fcf238: Download complete [2023-08-04T00:42:13.160Z] e194b8c5c2a9: Verifying Checksum [2023-08-04T00:42:13.160Z] e194b8c5c2a9: Download complete [2023-08-04T00:42:13.418Z] 6c08303d61cc: Verifying Checksum [2023-08-04T00:42:13.418Z] 6c08303d61cc: Download complete [2023-08-04T00:42:16.699Z] e194b8c5c2a9: Pull complete [2023-08-04T00:42:16.699Z] 6863d3e3a2b1: Pull complete [2023-08-04T00:42:16.699Z] ec0bb842ea78: Pull complete [2023-08-04T00:42:16.699Z] 40a00589a448: Pull complete [2023-08-04T00:42:19.226Z] 6c08303d61cc: Pull complete [2023-08-04T00:42:19.792Z] 798269fcf238: Pull complete [2023-08-04T00:42:20.050Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-04T00:42:20.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-04T00:42:20.050Z] ---> ec979cd7f677 [2023-08-04T00:42:20.050Z] Step 3/10 : ARG MAKE=make build [2023-08-04T00:42:24.272Z] ---> Running in e4a0389854b1 [2023-08-04T00:42:24.272Z] Removing intermediate container e4a0389854b1 [2023-08-04T00:42:24.272Z] ---> 155c656de2a2 [2023-08-04T00:42:24.272Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-04T00:42:24.272Z] ---> Running in b1bbb5290cb0 [2023-08-04T00:42:24.272Z] Removing intermediate container b1bbb5290cb0 [2023-08-04T00:42:24.272Z] ---> 3eda1c250d34 [2023-08-04T00:42:24.272Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-04T00:42:24.272Z] ---> Running in 6508c43ca0d8 [2023-08-04T00:42:24.272Z] Removing intermediate container 6508c43ca0d8 [2023-08-04T00:42:24.272Z] ---> 1889a0257a33 [2023-08-04T00:42:24.272Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-04T00:42:24.272Z] ---> Running in 055f089f5e60 [2023-08-04T00:42:24.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-04T00:42:24.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-04T00:42:25.056Z] OK: 265 MiB in 53 packages [2023-08-04T00:42:25.231Z] Still waiting to schedule task [2023-08-04T00:42:25.231Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2864’ [2023-08-04T00:42:25.316Z] Removing intermediate container 055f089f5e60 [2023-08-04T00:42:25.316Z] ---> a5330c04321e [2023-08-04T00:42:25.316Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-04T00:42:25.575Z] ---> cc65094cf9dd [2023-08-04T00:42:25.575Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-04T00:42:25.575Z] ---> Running in ff9da7036282 [2023-08-04T00:42:57.662Z] Removing intermediate container ff9da7036282 [2023-08-04T00:42:57.662Z] ---> 81044b8b2a22 [2023-08-04T00:42:57.662Z] Step 9/10 : COPY . . [2023-08-04T00:42:57.662Z] ---> b4ab67d975a8 [2023-08-04T00:42:57.662Z] Step 10/10 : RUN ${MAKE} [2023-08-04T00:42:57.662Z] ---> Running in 8e8b3356c343 [2023-08-04T00:42:57.662Z] noop [2023-08-04T00:42:57.662Z] Removing intermediate container 8e8b3356c343 [2023-08-04T00:42:57.662Z] ---> a3b647a7bd41 [2023-08-04T00:42:57.662Z] Successfully built a3b647a7bd41 [2023-08-04T00:42:57.662Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:42:58.095Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-04T00:42:58.096Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T00:42:58.245Z] prd-ubuntu20.04-docker-8c-8g-2868 does not seem to be running inside a container [2023-08-04T00:42:58.273Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1491 -v /w/workspace/gexfoundry_device-sdk-go_PR-1491:/w/workspace/gexfoundry_device-sdk-go_PR-1491:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-04T00:42:58.585Z] $ docker top 80bd2a5b2683c0651705ecc83f3e1a10417fed2656f35cce1bf303d978370e33 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T00:42:58.977Z] + go version [2023-08-04T00:42:58.977Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-04T00:42:59.011Z] $ docker stop --time=1 80bd2a5b2683c0651705ecc83f3e1a10417fed2656f35cce1bf303d978370e33 [2023-08-04T00:43:00.266Z] $ docker rm -f --volumes 80bd2a5b2683c0651705ecc83f3e1a10417fed2656f35cce1bf303d978370e33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:43:00.988Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-04T00:43:00.988Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T00:43:01.152Z] prd-ubuntu20.04-docker-8c-8g-2868 does not seem to be running inside a container [2023-08-04T00:43:01.183Z] $ 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-1491 -v /w/workspace/gexfoundry_device-sdk-go_PR-1491:/w/workspace/gexfoundry_device-sdk-go_PR-1491:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-04T00:43:01.530Z] $ docker top 1a103a98f0fd252243d8a8b915e02c03f630f59504144c2dcece8c2ae0691346 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T00:43:01.920Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1491 [Pipeline] fileExists [Pipeline] sh [2023-08-04T00:43:02.278Z] + make test [2023-08-04T00:43:02.278Z] go test -race -coverprofile=coverage.out ./... [2023-08-04T00:43:10.577Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-04T00:43:22.773Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-04T00:43:22.773Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-04T00:43:22.773Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-04T00:43:22.773Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-04T00:43:22.773Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-04T00:43:23.706Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.075s coverage: 27.6% of statements [2023-08-04T00:43:23.706Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.051s coverage: 80.2% of statements [2023-08-04T00:43:23.706Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-04T00:43:23.706Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-04T00:43:23.963Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.102s coverage: 86.0% of statements [2023-08-04T00:43:23.963Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-04T00:43:23.963Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.091s coverage: 71.8% of statements [2023-08-04T00:43:25.347Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-04T00:43:25.347Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-04T00:43:25.347Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-04T00:43:27.882Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.065s coverage: 14.3% of statements [2023-08-04T00:43:27.882Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.052s coverage: 43.8% of statements [2023-08-04T00:43:27.882Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.079s coverage: 68.5% of statements [2023-08-04T00:43:27.882Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.131s coverage: 89.2% of statements [2023-08-04T00:43:27.882Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.063s coverage: 5.5% of statements [2023-08-04T00:43:54.423Z] GO111MODULE=on go vet ./... [2023-08-04T00:43:54.684Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-04T00:43:54.684Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-04T00:43:54.684Z] ./bin/test-attribution-txt.sh [2023-08-04T00:43:54.684Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-04T00:43:54.684Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-04T00:43:54.684Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-04T00:43:54.684Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-04T00:43:54.684Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-04T00:43:54.721Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-04T00:43:54.761Z] $ docker stop --time=1 1a103a98f0fd252243d8a8b915e02c03f630f59504144c2dcece8c2ae0691346 [2023-08-04T00:43:59.934Z] $ docker rm -f --volumes 1a103a98f0fd252243d8a8b915e02c03f630f59504144c2dcece8c2ae0691346 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-04T00:44:00.580Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-04T00:44:00.686Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-04T00:44:01.363Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-04T00:44:01.678Z] + ls -al . [2023-08-04T00:44:01.678Z] total 304 [2023-08-04T00:44:01.678Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 4 00:43 . [2023-08-04T00:44:01.678Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 00:41 .. [2023-08-04T00:44:01.678Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 4 00:41 .dockerignore [2023-08-04T00:44:01.678Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 00:42 .git [2023-08-04T00:44:01.678Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 00:41 .github [2023-08-04T00:44:01.678Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 4 00:41 .gitignore [2023-08-04T00:44:01.678Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 4 00:41 .golangci.yml [2023-08-04T00:44:01.678Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 00:42 .semver [2023-08-04T00:44:01.678Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 4 00:41 CHANGELOG.md [2023-08-04T00:44:01.678Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 00:41 GOVERNANCE.md [2023-08-04T00:44:01.678Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 4 00:41 Jenkinsfile [2023-08-04T00:44:01.678Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 4 00:41 LICENSE [2023-08-04T00:44:01.678Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 4 00:41 Makefile [2023-08-04T00:44:01.678Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 4 00:41 OWNERS.md [2023-08-04T00:44:01.678Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 4 00:41 README.md [2023-08-04T00:44:01.678Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 4 00:42 VERSION [2023-08-04T00:44:01.678Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 00:41 bin [2023-08-04T00:44:01.678Z] -rw-r--r-- 1 jenkins jenkins 120271 Aug 4 00:43 coverage.out [2023-08-04T00:44:01.678Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 4 00:41 example [2023-08-04T00:44:01.678Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 4 00:41 go.mod [2023-08-04T00:44:01.678Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 4 00:41 go.sum [2023-08-04T00:44:01.678Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 4 00:41 internal [2023-08-04T00:44:01.678Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 00:41 openapi [2023-08-04T00:44:01.678Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 4 00:41 pkg [2023-08-04T00:44:01.678Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 00:41 snap [2023-08-04T00:44:01.678Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 4 00:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:44:02.074Z] + 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=282c48342c89778cfb5ff3e9e635a94e7bcdf715 --label arch=amd64 --label version=0.0.0 . [2023-08-04T00:44:02.074Z] Sending build context to Docker daemon 11.15MB [2023-08-04T00:44:02.074Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-04T00:44:02.074Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-04T00:44:02.074Z] ---> a3b647a7bd41 [2023-08-04T00:44:02.074Z] Step 3/23 : ARG MAKE=make build [2023-08-04T00:44:02.332Z] ---> Running in ccb722482578 [2023-08-04T00:44:02.332Z] Removing intermediate container ccb722482578 [2023-08-04T00:44:02.332Z] ---> 0fc12c8a013d [2023-08-04T00:44:02.332Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-04T00:44:02.332Z] ---> Running in a01ff4b2fadb [2023-08-04T00:44:02.590Z] Removing intermediate container a01ff4b2fadb [2023-08-04T00:44:02.590Z] ---> 32e79dd6e261 [2023-08-04T00:44:02.590Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-04T00:44:02.590Z] ---> Running in 7d1c1cabde40 [2023-08-04T00:44:02.590Z] Removing intermediate container 7d1c1cabde40 [2023-08-04T00:44:02.590Z] ---> 0cc43751e284 [2023-08-04T00:44:02.590Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-04T00:44:02.590Z] ---> Running in a9c277d6c8bd [2023-08-04T00:44:02.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-04T00:44:03.111Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-04T00:44:03.370Z] OK: 265 MiB in 53 packages [2023-08-04T00:44:03.628Z] Removing intermediate container a9c277d6c8bd [2023-08-04T00:44:03.628Z] ---> fae739ff2467 [2023-08-04T00:44:03.628Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-04T00:44:03.886Z] ---> b9d4a051730f [2023-08-04T00:44:03.886Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-04T00:44:03.886Z] ---> Running in 458c9c6a1f9e [2023-08-04T00:44:04.454Z] Removing intermediate container 458c9c6a1f9e [2023-08-04T00:44:04.454Z] ---> 20b6a3b53d29 [2023-08-04T00:44:04.454Z] Step 9/23 : COPY . . [2023-08-04T00:44:05.021Z] ---> f4dae99b3f25 [2023-08-04T00:44:05.021Z] Step 10/23 : RUN ${MAKE} [2023-08-04T00:44:05.021Z] ---> Running in 7b49f2f83b44 [2023-08-04T00:44:05.281Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-08-04T00:44:31.905Z] Removing intermediate container 7b49f2f83b44 [2023-08-04T00:44:31.905Z] ---> 3989e3cc5641 [2023-08-04T00:44:31.905Z] Step 11/23 : FROM alpine:3.17 [2023-08-04T00:44:31.905Z] 3.17: Pulling from library/alpine [2023-08-04T00:44:31.905Z] 4db1b89c0bd1: Already exists [2023-08-04T00:44:31.905Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-08-04T00:44:31.905Z] Status: Downloaded newer image for alpine:3.17 [2023-08-04T00:44:31.905Z] ---> 1f73a9d63274 [2023-08-04T00:44:31.905Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-04T00:44:31.905Z] ---> Running in 42025e9fa35b [2023-08-04T00:44:31.905Z] Removing intermediate container 42025e9fa35b [2023-08-04T00:44:31.905Z] ---> d87a8d5db488 [2023-08-04T00:44:31.905Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-04T00:44:31.905Z] ---> Running in 730661f18c2c [2023-08-04T00:44:31.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-04T00:44:31.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-04T00:44:31.905Z] OK: 7 MiB in 15 packages [2023-08-04T00:44:31.905Z] Removing intermediate container 730661f18c2c [2023-08-04T00:44:31.905Z] ---> 8e8d3633e287 [2023-08-04T00:44:31.905Z] Step 14/23 : WORKDIR / [2023-08-04T00:44:31.905Z] ---> Running in 1544c3b7826f [2023-08-04T00:44:31.905Z] Removing intermediate container 1544c3b7826f [2023-08-04T00:44:31.905Z] ---> 5446e19faac5 [2023-08-04T00:44:31.905Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-04T00:44:31.905Z] ---> a9d0ea980791 [2023-08-04T00:44:31.905Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-04T00:44:32.164Z] ---> fb1e9baed753 [2023-08-04T00:44:32.164Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-04T00:44:32.423Z] ---> 12510d59ede6 [2023-08-04T00:44:32.423Z] Step 18/23 : EXPOSE 59999 [2023-08-04T00:44:32.423Z] ---> Running in 54b884dcd454 [2023-08-04T00:44:32.423Z] Removing intermediate container 54b884dcd454 [2023-08-04T00:44:32.423Z] ---> 6662a1c58c45 [2023-08-04T00:44:32.423Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-04T00:44:32.423Z] ---> Running in d61fe682a2db [2023-08-04T00:44:32.423Z] Removing intermediate container d61fe682a2db [2023-08-04T00:44:32.423Z] ---> a5191dc6e506 [2023-08-04T00:44:32.423Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-04T00:44:32.423Z] ---> Running in 9128715bf797 [2023-08-04T00:44:32.680Z] Removing intermediate container 9128715bf797 [2023-08-04T00:44:32.680Z] ---> 5f8b1c56f9da [2023-08-04T00:44:32.680Z] Step 21/23 : LABEL arch=amd64 [2023-08-04T00:44:32.680Z] ---> Running in af96268399ef [2023-08-04T00:44:32.680Z] Removing intermediate container af96268399ef [2023-08-04T00:44:32.680Z] ---> 38272be929e7 [2023-08-04T00:44:32.680Z] Step 22/23 : LABEL git_sha=282c48342c89778cfb5ff3e9e635a94e7bcdf715 [2023-08-04T00:44:32.680Z] ---> Running in d152151ab73e [2023-08-04T00:44:32.680Z] Removing intermediate container d152151ab73e [2023-08-04T00:44:32.680Z] ---> f5501e331b5f [2023-08-04T00:44:32.680Z] Step 23/23 : LABEL version=0.0.0 [2023-08-04T00:44:32.680Z] ---> Running in 73a24b384e54 [2023-08-04T00:44:32.940Z] Removing intermediate container 73a24b384e54 [2023-08-04T00:44:32.940Z] ---> 0c07d961c33e [2023-08-04T00:44:32.940Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-04T00:44:32.940Z] Successfully built 0c07d961c33e [2023-08-04T00:44:32.940Z] 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-08-04T00:44:33.822Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-04T00:44:33.822Z] [2023-08-04T00:44:33.822Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:44:34.202Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-04T00:44:34.202Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-04T00:44:34.202Z] 5eb5b503b376: Pulling fs layer [2023-08-04T00:44:34.202Z] 5c69ac0246d0: Pulling fs layer [2023-08-04T00:44:34.202Z] ec43610c2a17: Pulling fs layer [2023-08-04T00:44:34.202Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-04T00:44:34.202Z] 33b1e0a273af: Pulling fs layer [2023-08-04T00:44:34.202Z] 5d3b04190fa2: Pulling fs layer [2023-08-04T00:44:34.202Z] 33b1e0a273af: Waiting [2023-08-04T00:44:34.202Z] 2f39f015ded8: Pulling fs layer [2023-08-04T00:44:34.202Z] 2f39f015ded8: Waiting [2023-08-04T00:44:34.202Z] 5d3b04190fa2: Waiting [2023-08-04T00:44:34.202Z] 5c69ac0246d0: Verifying Checksum [2023-08-04T00:44:34.202Z] 5c69ac0246d0: Download complete [2023-08-04T00:44:34.202Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-04T00:44:34.202Z] 3a2ae6a8a46f: Download complete [2023-08-04T00:44:34.202Z] 33b1e0a273af: Verifying Checksum [2023-08-04T00:44:34.202Z] 33b1e0a273af: Download complete [2023-08-04T00:44:34.202Z] ec43610c2a17: Verifying Checksum [2023-08-04T00:44:34.202Z] ec43610c2a17: Download complete [2023-08-04T00:44:34.202Z] 5d3b04190fa2: Verifying Checksum [2023-08-04T00:44:34.202Z] 5d3b04190fa2: Download complete [2023-08-04T00:44:34.460Z] 5eb5b503b376: Verifying Checksum [2023-08-04T00:44:34.460Z] 5eb5b503b376: Download complete [2023-08-04T00:44:35.024Z] 2f39f015ded8: Verifying Checksum [2023-08-04T00:44:35.025Z] 2f39f015ded8: Download complete [2023-08-04T00:44:35.591Z] 5eb5b503b376: Pull complete [2023-08-04T00:44:35.850Z] 5c69ac0246d0: Pull complete [2023-08-04T00:44:36.108Z] ec43610c2a17: Pull complete [2023-08-04T00:44:36.108Z] 3a2ae6a8a46f: Pull complete [2023-08-04T00:44:36.368Z] 33b1e0a273af: Pull complete [2023-08-04T00:44:36.368Z] 5d3b04190fa2: Pull complete [2023-08-04T00:44:40.553Z] 2f39f015ded8: Pull complete [2023-08-04T00:44:40.553Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-04T00:44:40.553Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-04T00:44:40.553Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T00:44:40.774Z] prd-ubuntu20.04-docker-8c-8g-2868 does not seem to be running inside a container [2023-08-04T00:44:40.808Z] $ 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-1491 -v /w/workspace/gexfoundry_device-sdk-go_PR-1491:/w/workspace/gexfoundry_device-sdk-go_PR-1491:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-04T00:44:48.549Z] $ docker top 6a36265934e9b8be8e9a53700c9009dcdac51cf431301838bdf2ca90f6ef8265 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:44:49.010Z] ---> job-cost.sh [2023-08-04T00:44:49.010Z] lf-activate-venv: SKIPPING [2023-08-04T00:44:49.010Z] INFO: No Stack... [2023-08-04T00:44:49.270Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-04T00:44:49.839Z] INFO: Archiving Costs [Pipeline] sh [2023-08-04T00:44:50.150Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1491/archives/cost.csv [2023-08-04T00:44:50.150Z] + cut -d, -f6 [Pipeline] lock [2023-08-04T00:44:50.190Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1491-1-stack-cost] [2023-08-04T00:44:50.194Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1491-1-stack-cost] did not exist. Created. [2023-08-04T00:44:50.195Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1491-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-04T00:44:50.595Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-04T00:44:50.650Z] Stashed 1 file(s) [Pipeline] } [2023-08-04T00:44:50.677Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1491-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-04T00:44:50.758Z] $ docker stop --time=1 6a36265934e9b8be8e9a53700c9009dcdac51cf431301838bdf2ca90f6ef8265 [2023-08-04T00:44:51.913Z] $ docker rm -f --volumes 6a36265934e9b8be8e9a53700c9009dcdac51cf431301838bdf2ca90f6ef8265 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-04T00:45:33.708Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2871 in /w/workspace/gexfoundry_device-sdk-go_PR-1491 [Pipeline] { [Pipeline] ws [2023-08-04T00:45:33.765Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-08-04T00:45:33.843Z] The recommended git tool is: git [2023-08-04T00:45:38.934Z] using credential edgex-jenkins-ssh [2023-08-04T00:45:38.953Z] Cloning the remote Git repository [2023-08-04T00:45:38.998Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-08-04T00:45:39.091Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-08-04T00:45:39.231Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-08-04T00:45:39.232Z] > git --version # timeout=10 [2023-08-04T00:45:39.256Z] > git --version # 'git version 2.25.1' [2023-08-04T00:45:39.259Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-04T00:45:39.403Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-04T00:45:41.207Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-08-04T00:45:41.227Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-04T00:45:42.021Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-08-04T00:45:42.057Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-08-04T00:45:42.058Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-04T00:45:42.072Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1491/head:refs/remotes/origin/PR-1491 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-04T00:45:42.651Z] Merging remotes/origin/main commit 9643316300e59272a09f9c1d01562286ee215d0b into PR head commit 282c48342c89778cfb5ff3e9e635a94e7bcdf715 [2023-08-04T00:45:42.986Z] Merge succeeded, producing 282c48342c89778cfb5ff3e9e635a94e7bcdf715 [2023-08-04T00:45:42.986Z] Checking out Revision 282c48342c89778cfb5ff3e9e635a94e7bcdf715 (PR-1491) [2023-08-04T00:45:43.561Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-08-04T00:45:43.619Z] > git --version # timeout=10 [2023-08-04T00:45:43.631Z] > git --version # 'git version 2.25.1' [2023-08-04T00:45:43.647Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [2023-08-04T00:45:42.680Z] > git config core.sparsecheckout # timeout=10 [2023-08-04T00:45:42.754Z] > git checkout -f 282c48342c89778cfb5ff3e9e635a94e7bcdf715 # timeout=10 [2023-08-04T00:45:42.880Z] > git remote # timeout=10 [2023-08-04T00:45:42.904Z] > git config --get remote.origin.url # timeout=10 [2023-08-04T00:45:42.933Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-04T00:45:42.945Z] > git merge 9643316300e59272a09f9c1d01562286ee215d0b # timeout=10 [2023-08-04T00:45:42.970Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-04T00:45:42.998Z] > git config core.sparsecheckout # timeout=10 [2023-08-04T00:45:43.011Z] > git checkout -f 282c48342c89778cfb5ff3e9e635a94e7bcdf715 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-04T00:45:44.713Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-04T00:45:44.713Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-04T00:45:44.713Z] Dload Upload Total Spent Left Speed [2023-08-04T00:45:44.713Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh [2023-08-04T00:45:45.361Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-04T00:45:45.713Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-04T00:45:45.713Z] + sudo tee /etc/docker/daemon.new [2023-08-04T00:45:45.713Z] { [2023-08-04T00:45:45.713Z] "registry-mirrors": [ [2023-08-04T00:45:45.713Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-04T00:45:45.713Z] ], [2023-08-04T00:45:45.713Z] "bip": "10.250.0.254/24", [2023-08-04T00:45:45.713Z] "hosts": [ [2023-08-04T00:45:45.713Z] "tcp://0.0.0.0:5555", [2023-08-04T00:45:45.713Z] "unix:///var/run/docker.sock" [2023-08-04T00:45:45.713Z] ], [2023-08-04T00:45:45.713Z] "mtu": 1458, [2023-08-04T00:45:45.713Z] "selinux-enabled": true, [2023-08-04T00:45:45.713Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-04T00:45:45.713Z] } [Pipeline] sh [2023-08-04T00:45:46.054Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-04T00:45:46.412Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-04T00:46:06.015Z] provisioning config files... [2023-08-04T00:46:06.044Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8498743092852439120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:46:06.445Z] ---> docker-login.sh [2023-08-04T00:46:06.446Z] nexus3.edgexfoundry.org:10001 [2023-08-04T00:46:07.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:46:07.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:46:07.044Z] Configure a credential helper to remove this warning. See [2023-08-04T00:46:07.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:46:07.044Z] [2023-08-04T00:46:07.044Z] Login Succeeded [2023-08-04T00:46:07.044Z] nexus3.edgexfoundry.org:10002 [2023-08-04T00:46:07.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:46:07.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:46:07.316Z] Configure a credential helper to remove this warning. See [2023-08-04T00:46:07.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:46:07.316Z] [2023-08-04T00:46:07.316Z] Login Succeeded [2023-08-04T00:46:07.316Z] nexus3.edgexfoundry.org:10003 [2023-08-04T00:46:07.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:46:07.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:46:07.865Z] Configure a credential helper to remove this warning. See [2023-08-04T00:46:07.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:46:07.865Z] [2023-08-04T00:46:07.865Z] Login Succeeded [2023-08-04T00:46:07.865Z] nexus3.edgexfoundry.org:10004 [2023-08-04T00:46:08.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:46:08.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:46:08.138Z] Configure a credential helper to remove this warning. See [2023-08-04T00:46:08.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:46:08.138Z] [2023-08-04T00:46:08.138Z] Login Succeeded [2023-08-04T00:46:08.138Z] docker.io [2023-08-04T00:46:08.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:46:08.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:46:08.678Z] Configure a credential helper to remove this warning. See [2023-08-04T00:46:08.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:46:08.678Z] [2023-08-04T00:46:08.678Z] Login Succeeded [2023-08-04T00:46:08.678Z] ---> docker-login.sh ends [Pipeline] } [2023-08-04T00:46:08.706Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-04T00:46:09.107Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-04T00:46:09.141Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-04T00:46:09.176Z] ========================================================= [2023-08-04T00:46:09.176Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-04T00:46:09.176Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:46:09.665Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-04T00:46:09.936Z] Sending build context to Docker daemon 5.893MB [2023-08-04T00:46:09.936Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-04T00:46:09.936Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-04T00:46:10.207Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-04T00:46:10.207Z] edb6bdbacee9: Pulling fs layer [2023-08-04T00:46:10.207Z] 5f9638ab2659: Pulling fs layer [2023-08-04T00:46:10.207Z] 8d51d6327a98: Pulling fs layer [2023-08-04T00:46:10.207Z] 8b374f2dd631: Pulling fs layer [2023-08-04T00:46:10.207Z] ec14aa9079de: Pulling fs layer [2023-08-04T00:46:10.207Z] 2f466654f4bb: Pulling fs layer [2023-08-04T00:46:10.207Z] 554e91adad29: Pulling fs layer [2023-08-04T00:46:10.207Z] 2f466654f4bb: Waiting [2023-08-04T00:46:10.207Z] 8b374f2dd631: Waiting [2023-08-04T00:46:10.207Z] ec14aa9079de: Waiting [2023-08-04T00:46:10.207Z] 554e91adad29: Waiting [2023-08-04T00:46:10.207Z] 5f9638ab2659: Download complete [2023-08-04T00:46:10.207Z] 8b374f2dd631: Verifying Checksum [2023-08-04T00:46:10.207Z] 8b374f2dd631: Download complete [2023-08-04T00:46:10.207Z] ec14aa9079de: Verifying Checksum [2023-08-04T00:46:10.207Z] ec14aa9079de: Download complete [2023-08-04T00:46:10.207Z] edb6bdbacee9: Verifying Checksum [2023-08-04T00:46:11.181Z] edb6bdbacee9: Pull complete [2023-08-04T00:46:11.774Z] 554e91adad29: Verifying Checksum [2023-08-04T00:46:11.774Z] 554e91adad29: Download complete [2023-08-04T00:46:11.774Z] 5f9638ab2659: Pull complete [2023-08-04T00:46:13.310Z] 8d51d6327a98: Verifying Checksum [2023-08-04T00:46:13.310Z] 8d51d6327a98: Download complete [2023-08-04T00:46:13.310Z] 2f466654f4bb: Verifying Checksum [2023-08-04T00:46:13.310Z] 2f466654f4bb: Download complete [2023-08-04T00:46:25.699Z] 8d51d6327a98: Pull complete [2023-08-04T00:46:25.699Z] 8b374f2dd631: Pull complete [2023-08-04T00:46:25.699Z] ec14aa9079de: Pull complete [2023-08-04T00:46:31.053Z] 2f466654f4bb: Pull complete [2023-08-04T00:46:33.729Z] 554e91adad29: Pull complete [2023-08-04T00:46:33.729Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-04T00:46:33.729Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-04T00:46:33.729Z] ---> 1e15ea492957 [2023-08-04T00:46:33.729Z] Step 3/10 : ARG MAKE=make build [2023-08-04T00:46:35.683Z] ---> Running in c80fca59ac86 [2023-08-04T00:46:35.953Z] Removing intermediate container c80fca59ac86 [2023-08-04T00:46:35.953Z] ---> 1e923dafdbb0 [2023-08-04T00:46:35.953Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-04T00:46:35.953Z] ---> Running in 4d80b1ad106b [2023-08-04T00:46:36.222Z] Removing intermediate container 4d80b1ad106b [2023-08-04T00:46:36.222Z] ---> 3082fd93850d [2023-08-04T00:46:36.222Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-04T00:46:36.222Z] ---> Running in 316338257ec5 [2023-08-04T00:46:36.492Z] Removing intermediate container 316338257ec5 [2023-08-04T00:46:36.492Z] ---> 9eff4e1203ad [2023-08-04T00:46:36.492Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-04T00:46:36.777Z] ---> Running in 74b51ab38a05 [2023-08-04T00:46:37.746Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-04T00:46:38.331Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-04T00:46:39.746Z] OK: 263 MiB in 53 packages [2023-08-04T00:46:40.337Z] Removing intermediate container 74b51ab38a05 [2023-08-04T00:46:40.337Z] ---> fb8820134c43 [2023-08-04T00:46:40.337Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-04T00:46:40.922Z] ---> 977ecaaf3c54 [2023-08-04T00:46:40.922Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-04T00:46:40.922Z] ---> Running in e49b7023f9ab [2023-08-04T00:47:48.811Z] Removing intermediate container e49b7023f9ab [2023-08-04T00:47:48.811Z] ---> b61c4f6dc2f7 [2023-08-04T00:47:48.811Z] Step 9/10 : COPY . . [2023-08-04T00:47:48.811Z] ---> 47b84a55817b [2023-08-04T00:47:48.811Z] Step 10/10 : RUN ${MAKE} [2023-08-04T00:47:48.811Z] ---> Running in 053aa95703e4 [2023-08-04T00:47:48.811Z] noop [2023-08-04T00:47:48.811Z] Removing intermediate container 053aa95703e4 [2023-08-04T00:47:48.811Z] ---> c1b3128c5e3c [2023-08-04T00:47:48.811Z] Successfully built c1b3128c5e3c [2023-08-04T00:47:48.811Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:47:49.297Z] + docker inspect -f . ci-base-image-arm64 [2023-08-04T00:47:49.297Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T00:47:49.603Z] prd-ubuntu20.04-docker-arm64-4c-16g-2871 does not seem to be running inside a container [2023-08-04T00:47:49.676Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-04T00:47:53.326Z] $ docker top 1943744f05de4fad3b2a915916779194f3f9f0f0b12c2f44f4cebfa7c96524c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T00:47:54.213Z] + go version [2023-08-04T00:47:54.213Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-04T00:47:54.251Z] $ docker stop --time=1 1943744f05de4fad3b2a915916779194f3f9f0f0b12c2f44f4cebfa7c96524c3 [2023-08-04T00:47:55.891Z] $ docker rm -f --volumes 1943744f05de4fad3b2a915916779194f3f9f0f0b12c2f44f4cebfa7c96524c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:47:56.782Z] + docker inspect -f . ci-base-image-arm64 [2023-08-04T00:47:56.782Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T00:47:57.038Z] prd-ubuntu20.04-docker-arm64-4c-16g-2871 does not seem to be running inside a container [2023-08-04T00:47:57.109Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-04T00:47:58.303Z] $ docker top e078165c464f3124d0a619a996ac242f044a0489a22b33b27a9917d6290f5977 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T00:47:59.168Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-08-04T00:47:59.954Z] + make test [2023-08-04T00:47:59.954Z] go test -race -coverprofile=coverage.out ./... [2023-08-04T00:48:46.825Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-04T00:51:23.579Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-04T00:51:23.579Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-04T00:51:23.579Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-04T00:51:23.579Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-04T00:51:23.579Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-04T00:51:27.835Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.223s coverage: 27.6% of statements [2023-08-04T00:51:33.178Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.282s coverage: 80.2% of statements [2023-08-04T00:51:48.182Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-04T00:51:48.182Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-04T00:51:48.182Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.385s coverage: 86.0% of statements [2023-08-04T00:51:56.407Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-04T00:51:56.407Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.444s coverage: 71.8% of statements [2023-08-04T00:51:58.997Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.292s coverage: 14.3% of statements [2023-08-04T00:52:01.586Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.187s coverage: 43.8% of statements [2023-08-04T00:52:02.179Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-04T00:52:02.179Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-04T00:52:02.764Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.412s coverage: 68.5% of statements [2023-08-04T00:52:06.123Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.483s coverage: 89.2% of statements [2023-08-04T00:52:08.707Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-04T00:52:08.707Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.271s coverage: 5.5% of statements [2023-08-04T00:52:09.670Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-04T00:52:09.670Z] GO111MODULE=on go vet ./... [2023-08-04T00:54:46.400Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-04T00:54:46.400Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-04T00:54:46.400Z] ./bin/test-attribution-txt.sh [2023-08-04T00:54:46.400Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-04T00:54:46.400Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-04T00:54:46.401Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-04T00:54:46.401Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-04T00:54:46.401Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-04T00:54:46.439Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-04T00:54:46.473Z] $ docker stop --time=1 e078165c464f3124d0a619a996ac242f044a0489a22b33b27a9917d6290f5977 [2023-08-04T00:54:48.395Z] $ docker rm -f --volumes e078165c464f3124d0a619a996ac242f044a0489a22b33b27a9917d6290f5977 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-04T00:54:50.118Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-04T00:54:50.212Z] Warning: overwriting stash ‘coverage-report’ [2023-08-04T00:54:50.809Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-04T00:54:51.408Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-04T00:54:51.755Z] + ls -al . [2023-08-04T00:54:51.755Z] total 300 [2023-08-04T00:54:51.755Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 4 00:48 . [2023-08-04T00:54:51.755Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 00:45 .. [2023-08-04T00:54:51.755Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 4 00:45 .dockerignore [2023-08-04T00:54:51.755Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 00:45 .git [2023-08-04T00:54:51.755Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 00:45 .github [2023-08-04T00:54:51.755Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 4 00:45 .gitignore [2023-08-04T00:54:51.755Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 4 00:45 .golangci.yml [2023-08-04T00:54:51.755Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 4 00:45 CHANGELOG.md [2023-08-04T00:54:51.755Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 00:45 GOVERNANCE.md [2023-08-04T00:54:51.755Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 4 00:45 Jenkinsfile [2023-08-04T00:54:51.755Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 4 00:45 LICENSE [2023-08-04T00:54:51.755Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 4 00:45 Makefile [2023-08-04T00:54:51.755Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 4 00:45 OWNERS.md [2023-08-04T00:54:51.755Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 4 00:45 README.md [2023-08-04T00:54:51.755Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 4 00:42 VERSION [2023-08-04T00:54:51.755Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 00:45 bin [2023-08-04T00:54:51.755Z] -rw-r--r-- 1 jenkins jenkins 120271 Aug 4 00:52 coverage.out [2023-08-04T00:54:51.755Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 4 00:45 example [2023-08-04T00:54:51.755Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 4 00:45 go.mod [2023-08-04T00:54:51.755Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 4 00:45 go.sum [2023-08-04T00:54:51.755Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 4 00:45 internal [2023-08-04T00:54:51.755Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 00:45 openapi [2023-08-04T00:54:51.755Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 4 00:45 pkg [2023-08-04T00:54:51.755Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 00:45 snap [2023-08-04T00:54:51.755Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 4 00:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:54:55.232Z] + 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=282c48342c89778cfb5ff3e9e635a94e7bcdf715 --label arch=arm64 --label version=0.0.0 . [2023-08-04T00:54:55.232Z] Sending build context to Docker daemon 6.013MB [2023-08-04T00:54:55.232Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-04T00:54:55.232Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-04T00:54:55.232Z] ---> c1b3128c5e3c [2023-08-04T00:54:55.232Z] Step 3/23 : ARG MAKE=make build [2023-08-04T00:54:55.232Z] ---> Running in fdd327f59827 [2023-08-04T00:54:55.232Z] Removing intermediate container fdd327f59827 [2023-08-04T00:54:55.232Z] ---> d51c0b9a818a [2023-08-04T00:54:55.232Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-04T00:54:55.232Z] ---> Running in aa214a7d5f72 [2023-08-04T00:54:55.514Z] Removing intermediate container aa214a7d5f72 [2023-08-04T00:54:55.514Z] ---> af140659d987 [2023-08-04T00:54:55.514Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-04T00:54:55.514Z] ---> Running in fb229d6f50d5 [2023-08-04T00:54:55.791Z] Removing intermediate container fb229d6f50d5 [2023-08-04T00:54:55.791Z] ---> c8647f28cbee [2023-08-04T00:54:55.791Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-04T00:54:56.073Z] ---> Running in 7a0b502d73df [2023-08-04T00:54:57.062Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-04T00:54:57.656Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-04T00:54:58.618Z] OK: 263 MiB in 53 packages [2023-08-04T00:54:59.580Z] Removing intermediate container 7a0b502d73df [2023-08-04T00:54:59.580Z] ---> 3ca34f64e52d [2023-08-04T00:54:59.580Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-04T00:54:59.855Z] ---> 19899ac90305 [2023-08-04T00:54:59.855Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-04T00:55:00.122Z] ---> Running in e9b5508ef417 [2023-08-04T00:55:02.069Z] Removing intermediate container e9b5508ef417 [2023-08-04T00:55:02.069Z] ---> 14f98a35c79c [2023-08-04T00:55:02.069Z] Step 9/23 : COPY . . [2023-08-04T00:55:03.030Z] ---> fe28a97140d6 [2023-08-04T00:55:03.030Z] Step 10/23 : RUN ${MAKE} [2023-08-04T00:55:03.305Z] ---> Running in 194e76b0df71 [2023-08-04T00:55:04.265Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-08-04T00:57:25.948Z] Removing intermediate container 194e76b0df71 [2023-08-04T00:57:25.948Z] ---> b28777904036 [2023-08-04T00:57:25.948Z] Step 11/23 : FROM alpine:3.17 [2023-08-04T00:57:25.948Z] 3.17: Pulling from library/alpine [2023-08-04T00:57:25.948Z] edb6bdbacee9: Already exists [2023-08-04T00:57:25.948Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-08-04T00:57:25.948Z] Status: Downloaded newer image for alpine:3.17 [2023-08-04T00:57:25.948Z] ---> 779605e5fbc0 [2023-08-04T00:57:25.948Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-04T00:57:25.948Z] ---> Running in c2cd2253ab0a [2023-08-04T00:57:26.216Z] Removing intermediate container c2cd2253ab0a [2023-08-04T00:57:26.216Z] ---> c79cbf63a937 [2023-08-04T00:57:26.216Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-04T00:57:26.216Z] ---> Running in d3f9918fa9a7 [2023-08-04T00:57:27.174Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-04T00:57:27.756Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-04T00:57:28.712Z] OK: 7 MiB in 15 packages [2023-08-04T00:57:29.301Z] Removing intermediate container d3f9918fa9a7 [2023-08-04T00:57:29.301Z] ---> dce1ce2751ed [2023-08-04T00:57:29.301Z] Step 14/23 : WORKDIR / [2023-08-04T00:57:29.568Z] ---> Running in 94018d1b429f [2023-08-04T00:57:29.836Z] Removing intermediate container 94018d1b429f [2023-08-04T00:57:29.837Z] ---> ee56fac51ae5 [2023-08-04T00:57:29.837Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-04T00:57:30.420Z] ---> 4d4e9c7157d2 [2023-08-04T00:57:30.420Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-04T00:57:31.831Z] ---> a3a9e7977ff2 [2023-08-04T00:57:31.831Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-04T00:57:32.100Z] ---> 88c4ed1273d3 [2023-08-04T00:57:32.100Z] Step 18/23 : EXPOSE 59999 [2023-08-04T00:57:32.369Z] ---> Running in 589ac1421376 [2023-08-04T00:57:32.637Z] Removing intermediate container 589ac1421376 [2023-08-04T00:57:32.637Z] ---> 8c78d96b5664 [2023-08-04T00:57:32.637Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-04T00:57:32.637Z] ---> Running in 8c562215ce10 [2023-08-04T00:57:32.907Z] Removing intermediate container 8c562215ce10 [2023-08-04T00:57:32.907Z] ---> 398920f9c7f7 [2023-08-04T00:57:32.907Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-04T00:57:32.907Z] ---> Running in f276fe8914fa [2023-08-04T00:57:33.178Z] Removing intermediate container f276fe8914fa [2023-08-04T00:57:33.178Z] ---> 7cc0485f53b2 [2023-08-04T00:57:33.178Z] Step 21/23 : LABEL arch=arm64 [2023-08-04T00:57:33.444Z] ---> Running in b858ea5b5c11 [2023-08-04T00:57:33.711Z] Removing intermediate container b858ea5b5c11 [2023-08-04T00:57:33.711Z] ---> c4191062a449 [2023-08-04T00:57:33.711Z] Step 22/23 : LABEL git_sha=282c48342c89778cfb5ff3e9e635a94e7bcdf715 [2023-08-04T00:57:33.711Z] ---> Running in 1c5947df40ea [2023-08-04T00:57:33.980Z] Removing intermediate container 1c5947df40ea [2023-08-04T00:57:33.980Z] ---> a2148ac9ee37 [2023-08-04T00:57:33.980Z] Step 23/23 : LABEL version=0.0.0 [2023-08-04T00:57:33.980Z] ---> Running in 1a5eadb79364 [2023-08-04T00:57:34.565Z] Removing intermediate container 1a5eadb79364 [2023-08-04T00:57:34.565Z] ---> 5255b401bd6a [2023-08-04T00:57:34.565Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-04T00:57:34.565Z] Successfully built 5255b401bd6a [2023-08-04T00:57:34.565Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:57:35.378Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-04T00:57:35.378Z] [2023-08-04T00:57:35.378Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:57:35.791Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-04T00:57:35.791Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-04T00:57:35.791Z] 8998bd30e6a1: Pulling fs layer [2023-08-04T00:57:35.791Z] 04944245beec: Pulling fs layer [2023-08-04T00:57:35.792Z] 699f458cf7ca: Pulling fs layer [2023-08-04T00:57:35.792Z] 765212b225bb: Pulling fs layer [2023-08-04T00:57:35.792Z] f23df028b6ca: Pulling fs layer [2023-08-04T00:57:35.792Z] d65c8cfc05b1: Pulling fs layer [2023-08-04T00:57:35.792Z] 2437ff75d9bd: Pulling fs layer [2023-08-04T00:57:35.792Z] 765212b225bb: Waiting [2023-08-04T00:57:35.792Z] f23df028b6ca: Waiting [2023-08-04T00:57:35.792Z] d65c8cfc05b1: Waiting [2023-08-04T00:57:35.792Z] 2437ff75d9bd: Waiting [2023-08-04T00:57:36.063Z] 04944245beec: Verifying Checksum [2023-08-04T00:57:36.063Z] 04944245beec: Download complete [2023-08-04T00:57:36.063Z] 765212b225bb: Verifying Checksum [2023-08-04T00:57:36.063Z] 765212b225bb: Download complete [2023-08-04T00:57:36.063Z] f23df028b6ca: Download complete [2023-08-04T00:57:36.063Z] d65c8cfc05b1: Verifying Checksum [2023-08-04T00:57:36.063Z] d65c8cfc05b1: Download complete [2023-08-04T00:57:36.063Z] 699f458cf7ca: Verifying Checksum [2023-08-04T00:57:36.063Z] 699f458cf7ca: Download complete [2023-08-04T00:57:36.668Z] 8998bd30e6a1: Verifying Checksum [2023-08-04T00:57:36.668Z] 8998bd30e6a1: Download complete [2023-08-04T00:57:39.254Z] 2437ff75d9bd: Verifying Checksum [2023-08-04T00:57:39.254Z] 2437ff75d9bd: Download complete [2023-08-04T00:57:40.663Z] 8998bd30e6a1: Pull complete [2023-08-04T00:57:40.930Z] 04944245beec: Pull complete [2023-08-04T00:57:42.344Z] 699f458cf7ca: Pull complete [2023-08-04T00:57:42.612Z] 765212b225bb: Pull complete [2023-08-04T00:57:43.195Z] f23df028b6ca: Pull complete [2023-08-04T00:57:43.463Z] d65c8cfc05b1: Pull complete [2023-08-04T00:57:58.447Z] 2437ff75d9bd: Pull complete [2023-08-04T00:57:58.447Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-04T00:57:58.447Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-04T00:57:58.447Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T00:57:58.771Z] prd-ubuntu20.04-docker-arm64-4c-16g-2871 does not seem to be running inside a container [2023-08-04T00:57:58.833Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-04T00:58:01.345Z] $ docker top d6b91a29db8412694f8b38a2be4c0d5b66ac93c26de49af9f26e8891a5cf5b61 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:58:02.230Z] ---> job-cost.sh [2023-08-04T00:58:02.230Z] lf-activate-venv: SKIPPING [2023-08-04T00:58:02.230Z] INFO: No Stack... [2023-08-04T00:58:02.496Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-04T00:58:03.451Z] INFO: Archiving Costs [Pipeline] sh [2023-08-04T00:58:03.791Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-08-04T00:58:03.791Z] + cut -d, -f6 [Pipeline] lock [2023-08-04T00:58:04.140Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1491-1-stack-cost] [2023-08-04T00:58:04.145Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1491-1-stack-cost] did not exist. Created. [2023-08-04T00:58:04.145Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1491-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-04T00:58:04.554Z] /w/workspace/device-sdk-go/1@tmp/durable-e7cf8af6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-04T00:58:04.899Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-04T00:58:04.935Z] Warning: overwriting stash ‘stack-cost’ [2023-08-04T00:58:05.012Z] Stashed 1 file(s) [Pipeline] } [2023-08-04T00:58:05.085Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1491-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-04T00:58:05.177Z] $ docker stop --time=1 d6b91a29db8412694f8b38a2be4c0d5b66ac93c26de49af9f26e8891a5cf5b61 [2023-08-04T00:58:06.665Z] $ docker rm -f --volumes d6b91a29db8412694f8b38a2be4c0d5b66ac93c26de49af9f26e8891a5cf5b61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-08-04T00:58:07.645Z] provisioning config files... [2023-08-04T00:58:07.653Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp/config11953259297838099369tmp [Pipeline] { [Pipeline] sh [2023-08-04T00:58:07.982Z] + set +x [2023-08-04T00:58:07.982Z] + curl -s https://codecov.io/bash [2023-08-04T00:58:07.982Z] + bash -s -- [2023-08-04T00:58:07.982Z] [2023-08-04T00:58:07.982Z] _____ _ [2023-08-04T00:58:07.982Z] / ____| | | [2023-08-04T00:58:07.982Z] | | ___ __| | ___ ___ _____ __ [2023-08-04T00:58:07.982Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-04T00:58:07.982Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-04T00:58:07.982Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-04T00:58:07.982Z] Bash-1.0.6 [2023-08-04T00:58:07.982Z] [2023-08-04T00:58:07.982Z] [2023-08-04T00:58:07.982Z] ==> git version 2.25.1 found [2023-08-04T00:58:07.982Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-08-04T00:58:07.982Z] Release-Date: 2020-01-08 [2023-08-04T00:58:07.982Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-08-04T00:58:07.982Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-04T00:58:07.982Z] ==> Jenkins CI detected. [2023-08-04T00:58:07.982Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1491 [2023-08-04T00:58:07.982Z] project root: . [2023-08-04T00:58:07.982Z] --> token set from env [2023-08-04T00:58:07.982Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-04T00:58:07.982Z] ==> Running gcov in . (disable via -X gcov) [2023-08-04T00:58:07.982Z] ==> Python coveragepy not found [2023-08-04T00:58:07.982Z] ==> Searching for coverage reports in: [2023-08-04T00:58:07.982Z] + . [2023-08-04T00:58:07.982Z] -> Found 1 reports [2023-08-04T00:58:07.982Z] ==> Detecting git/mercurial file structure [2023-08-04T00:58:08.242Z] ==> Reading reports [2023-08-04T00:58:08.242Z] + ./coverage.out bytes=120271 [2023-08-04T00:58:08.242Z] ==> Appending adjustments [2023-08-04T00:58:08.242Z] https://docs.codecov.io/docs/fixing-reports [2023-08-04T00:58:08.501Z] + Found adjustments [2023-08-04T00:58:08.501Z] ==> Gzipping contents [2023-08-04T00:58:08.501Z] 20K /tmp/codecov.xIbGrN.gz [2023-08-04T00:58:08.501Z] ==> Uploading reports [2023-08-04T00:58:08.501Z] url: https://codecov.io [2023-08-04T00:58:08.501Z] query: branch=PR-1491&commit=282c48342c89778cfb5ff3e9e635a94e7bcdf715&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1491%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1491&job=&cmd_args= [2023-08-04T00:58:08.501Z] -> Pinging Codecov [2023-08-04T00:58:08.501Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1491&commit=282c48342c89778cfb5ff3e9e635a94e7bcdf715&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1491%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1491&job=&cmd_args= [2023-08-04T00:58:08.761Z] -> Uploading to [2023-08-04T00:58:08.761Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-04/7E55EF52A471D76F132DFD9A03CDDE97/282c48342c89778cfb5ff3e9e635a94e7bcdf715/3a3c6105-4857-4286-9899-481f6ce99574.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230804%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230804T005808Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e8cbf2a951a45ab0d48e0bb0875d5df39bdd0c0062146643f41563a6d1e6e094 [2023-08-04T00:58:08.761Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-04T00:58:08.761Z] Dload Upload Total Spent Left Speed [2023-08-04T00:58:08.761Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16434 0 0 100 16434 0 391k --:--:-- --:--:-- --:--:-- 382k 100 16434 0 0 100 16434 0 84276 --:--:-- --:--:-- --:--:-- 83846 [2023-08-04T00:58:08.761Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/282c48342c89778cfb5ff3e9e635a94e7bcdf715 [Pipeline] } [2023-08-04T00:58:08.789Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-08-04T00:58:10.673Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1491/archives ] [2023-08-04T00:58:10.673Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1491/archives [2023-08-04T00:58:10.673Z] total 16 [2023-08-04T00:58:10.673Z] drwxr-xr-x 3 root root 4096 Aug 4 00:44 . [2023-08-04T00:58:10.673Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 4 00:44 .. [2023-08-04T00:58:10.673Z] drwxr-xr-x 2 root root 4096 Aug 4 00:44 cost [2023-08-04T00:58:10.673Z] -rw-r--r-- 1 root root 86 Aug 4 00:44 cost.csv [2023-08-04T00:58:10.673Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1491/archives [2023-08-04T00:58:10.673Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1491/archives [2023-08-04T00:58:10.673Z] total 16 [2023-08-04T00:58:10.673Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 00:44 . [2023-08-04T00:58:10.673Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 4 00:44 .. [2023-08-04T00:58:10.673Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 4 00:44 cost [2023-08-04T00:58:10.673Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 4 00:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:58:10.998Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:58:11.885Z] ---> package-listing.sh [2023-08-04T00:58:11.885Z] ++ facter osfamily [2023-08-04T00:58:11.885Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-04T00:58:12.144Z] + OS_FAMILY=debian [2023-08-04T00:58:12.144Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1491 [2023-08-04T00:58:12.144Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-04T00:58:12.144Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-04T00:58:12.144Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-04T00:58:12.144Z] + PACKAGES=/tmp/packages_start.txt [2023-08-04T00:58:12.144Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1491 ']' [2023-08-04T00:58:12.144Z] + PACKAGES=/tmp/packages_end.txt [2023-08-04T00:58:12.144Z] + case "${OS_FAMILY}" in [2023-08-04T00:58:12.144Z] + dpkg -l [2023-08-04T00:58:12.144Z] + grep '^ii' [2023-08-04T00:58:12.144Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-04T00:58:12.144Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-04T00:58:12.144Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-04T00:58:12.144Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1491 ']' [2023-08-04T00:58:12.144Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1491/archives/ [2023-08-04T00:58:12.144Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1491/archives/ [Pipeline] echo [2023-08-04T00:58:12.181Z] 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-1491/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-04T00:58:12.474Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:58:13.099Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-04T00:58:13.099Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T00:58:13.244Z] prd-ubuntu20.04-docker-8c-8g-2868 does not seem to be running inside a container [2023-08-04T00:58:13.277Z] $ 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-1491/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-1491 -v /w/workspace/gexfoundry_device-sdk-go_PR-1491:/w/workspace/gexfoundry_device-sdk-go_PR-1491:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-04T00:58:13.472Z] $ docker top 386443b1f15d3222d3b805a4895ffd6928d589f9fe89b5e689c9b8881dd840c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T00:58:13.874Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-04T00:58:14.183Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-04T00:58:14.510Z] + ls /var/log/sa-host [2023-08-04T00:58:14.510Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-04T00:58:14.736Z] provisioning config files... [2023-08-04T00:58:14.744Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp/config8443813773735093552tmp [Pipeline] { [Pipeline] echo [2023-08-04T00:58:14.797Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:58:15.107Z] ---> create-netrc.sh [Pipeline] } [2023-08-04T00:58:15.133Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:58:15.532Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-04T00:58:15.566Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:58:15.875Z] ---> sudo-logs.sh [2023-08-04T00:58:15.875Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-04T00:58:15.954Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:58:16.266Z] ---> job-cost.sh [2023-08-04T00:58:16.266Z] lf-activate-venv: SKIPPING [2023-08-04T00:58:16.266Z] DEBUG: total: 0.2199999988079071 [2023-08-04T00:58:16.266Z] INFO: Retrieving Stack Cost... [2023-08-04T00:58:16.831Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-04T00:58:17.091Z] INFO: Archiving Costs [Pipeline] echo [2023-08-04T00:58:17.128Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:58:17.438Z] ---> logs-deploy.sh [2023-08-04T00:58:17.438Z] lf-activate-venv: SKIPPING [2023-08-04T00:58:17.438Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1491/1 [2023-08-04T00:58:17.438Z] INFO: archiving workspace using pattern(s): [2023-08-04T00:58:18.374Z] Archives upload complete. [2023-08-04T00:58:18.633Z] INFO: archiving logs to Nexus