Pull request #1471 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 7bae8fa0f4e90ceb1ec90c1d543255b789387e3e+d74039b1e75348ec690936aee1c1bcbaac678fee (10179c3dc918b17a7351bbdb70e3d9e726f572d1) 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-ssh7336243569619492184.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-ssh5811696919656847092.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1471/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1471/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16910673414138450667.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 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-ssh965743430712856354.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1471/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1471/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11137536240447080767.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1581 in /w/workspace/gexfoundry_device-sdk-go_PR-1471 [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-1471 # 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/1471/head:refs/remotes/origin/PR-1471 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d74039b1e75348ec690936aee1c1bcbaac678fee into PR head commit 7bae8fa0f4e90ceb1ec90c1d543255b789387e3e Merge succeeded, producing 7bae8fa0f4e90ceb1ec90c1d543255b789387e3e Checking out Revision 7bae8fa0f4e90ceb1ec90c1d543255b789387e3e (PR-1471) > git config core.sparsecheckout # timeout=10 > git checkout -f 7bae8fa0f4e90ceb1ec90c1d543255b789387e3e # 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 d74039b1e75348ec690936aee1c1bcbaac678fee # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7bae8fa0f4e90ceb1ec90c1d543255b789387e3e # timeout=10 Commit message: "fix: add comment to address PR feedback" > git rev-list --no-walk dc587fd17009e94e661f5de3961ce077a276ca3c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-19T20:47:45.078Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-19T20:47:45.128Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-19T20:47:45.144Z] ========================================================= [2023-07-19T20:47:45.145Z] EdgeX Global Pipelines Version Info [2023-07-19T20:47:45.145Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-19T20:47:45.869Z] ------------------- [2023-07-19T20:47:45.869Z] stable info: [2023-07-19T20:47:45.869Z] ------------------- [2023-07-19T20:47:45.869Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-19T20:47:45.869Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-19T20:47:45.869Z] Message: update stable to v1.0.250 [2023-07-19T20:47:46.441Z] ------------------- [2023-07-19T20:47:46.441Z] experimental info: [2023-07-19T20:47:46.441Z] ------------------- [2023-07-19T20:47:46.441Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-19T20:47:46.441Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-19T20:47:46.441Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-19T20:47:46.614Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-07-19T20:47:46.629Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-07-19T20:47:46.645Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-19T20:47:46.660Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-19T20:47:46.677Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-19T20:47:46.693Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-19T20:47:46.712Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-19T20:47:46.727Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-07-19T20:47:46.741Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-19T20:47:46.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-19T20:47:46.777Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-19T20:47:46.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-07-19T20:47:46.810Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-19T20:47:46.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-19T20:47:46.845Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-19T20:47:46.864Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-19T20:47:46.877Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-19T20:47:46.889Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-19T20:47:46.901Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-19T20:47:46.913Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-19T20:47:46.924Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-07-19T20:47:46.934Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-07-19T20:47:46.947Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-19T20:47:46.959Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-19T20:47:46.970Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-19T20:47:46.979Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-19T20:47:46.989Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-19T20:47:47.000Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1471 [Pipeline] echo [2023-07-19T20:47:47.015Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1471 [Pipeline] echo [2023-07-19T20:47:47.029Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1471 [Pipeline] echo [2023-07-19T20:47:47.043Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7bae8fa0f4e90ceb1ec90c1d543255b789387e3e [Pipeline] echo [2023-07-19T20:47:47.056Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7bae8fa [Pipeline] echo [2023-07-19T20:47:47.077Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-19T20:47:47.123Z] provisioning config files... [2023-07-19T20:47:47.138Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/config50304062905047155tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T20:47:47.444Z] ---> docker-login.sh [2023-07-19T20:47:47.444Z] nexus3.edgexfoundry.org:10001 [2023-07-19T20:47:47.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T20:47:47.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T20:47:47.704Z] Configure a credential helper to remove this warning. See [2023-07-19T20:47:47.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T20:47:47.704Z] [2023-07-19T20:47:47.704Z] Login Succeeded [2023-07-19T20:47:47.704Z] nexus3.edgexfoundry.org:10002 [2023-07-19T20:47:47.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T20:47:47.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T20:47:47.965Z] Configure a credential helper to remove this warning. See [2023-07-19T20:47:47.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T20:47:47.965Z] [2023-07-19T20:47:47.965Z] Login Succeeded [2023-07-19T20:47:47.965Z] nexus3.edgexfoundry.org:10003 [2023-07-19T20:47:47.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T20:47:47.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T20:47:47.965Z] Configure a credential helper to remove this warning. See [2023-07-19T20:47:47.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T20:47:47.965Z] [2023-07-19T20:47:47.965Z] Login Succeeded [2023-07-19T20:47:47.965Z] nexus3.edgexfoundry.org:10004 [2023-07-19T20:47:47.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T20:47:48.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T20:47:48.225Z] Configure a credential helper to remove this warning. See [2023-07-19T20:47:48.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T20:47:48.225Z] [2023-07-19T20:47:48.225Z] Login Succeeded [2023-07-19T20:47:48.225Z] docker.io [2023-07-19T20:47:48.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T20:47:48.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T20:47:48.805Z] Configure a credential helper to remove this warning. See [2023-07-19T20:47:48.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T20:47:48.805Z] [2023-07-19T20:47:48.805Z] Login Succeeded [2023-07-19T20:47:48.805Z] ---> docker-login.sh ends [Pipeline] } [2023-07-19T20:47:48.815Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-19T20:47:49.184Z] + git rev-list -1 --merges 7bae8fa0f4e90ceb1ec90c1d543255b789387e3e~1..7bae8fa0f4e90ceb1ec90c1d543255b789387e3e [Pipeline] echo [2023-07-19T20:47:49.227Z] -----------> git rev-list -1 --merges 7bae8fa0f4e90ceb1ec90c1d543255b789387e3e~1..7bae8fa0f4e90ceb1ec90c1d543255b789387e3e 7bae8fa0f4e90ceb1ec90c1d543255b789387e3e [false] [Pipeline] sh [2023-07-19T20:47:49.513Z] + git log --format=format:%s -1 7bae8fa0f4e90ceb1ec90c1d543255b789387e3e [Pipeline] echo [2023-07-19T20:47:49.525Z] ========================================================= [2023-07-19T20:47:49.525Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-19T20:47:49.525Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-19T20:47:49.843Z] + git log --format=format:%s -1 7bae8fa0f4e90ceb1ec90c1d543255b789387e3e [Pipeline] echo [2023-07-19T20:47:49.853Z] [semverPrep] GIT_COMMIT: 7bae8fa0f4e90ceb1ec90c1d543255b789387e3e, Commit Message: fix: add comment to address PR feedback [Pipeline] echo [2023-07-19T20:47:49.861Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-19T20:47:50.280Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-19T20:47:50.280Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-19T20:47:50.280Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-19T20:47:50.280Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-19T20:47:50.280Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-19T20:47:50.280Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-19T20:47:50.280Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T20:47:50.699Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T20:47:50.699Z] [2023-07-19T20:47:50.699Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T20:47:51.000Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T20:47:51.000Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-19T20:47:51.000Z] b85a868b505f: Pulling fs layer [2023-07-19T20:47:51.000Z] e2be974225ed: Pulling fs layer [2023-07-19T20:47:51.000Z] 339a4e72a1f5: Pulling fs layer [2023-07-19T20:47:51.000Z] 988bab9f4d93: Pulling fs layer [2023-07-19T20:47:51.000Z] 1469e6f7b9e6: Pulling fs layer [2023-07-19T20:47:51.000Z] eaf3925da568: Pulling fs layer [2023-07-19T20:47:51.000Z] 988bab9f4d93: Waiting [2023-07-19T20:47:51.000Z] 1469e6f7b9e6: Waiting [2023-07-19T20:47:51.000Z] bab4dde63d76: Pulling fs layer [2023-07-19T20:47:51.000Z] bde34c3a00c8: Pulling fs layer [2023-07-19T20:47:51.000Z] eaf3925da568: Waiting [2023-07-19T20:47:51.000Z] b352a97aabf1: Pulling fs layer [2023-07-19T20:47:51.000Z] 4872d77fe225: Pulling fs layer [2023-07-19T20:47:51.000Z] bde34c3a00c8: Waiting [2023-07-19T20:47:51.000Z] b352a97aabf1: Waiting [2023-07-19T20:47:51.000Z] 5851b861e8e6: Pulling fs layer [2023-07-19T20:47:51.000Z] 4872d77fe225: Waiting [2023-07-19T20:47:51.000Z] 5851b861e8e6: Waiting [2023-07-19T20:47:51.000Z] e2be974225ed: Verifying Checksum [2023-07-19T20:47:51.000Z] e2be974225ed: Download complete [2023-07-19T20:47:51.000Z] 988bab9f4d93: Verifying Checksum [2023-07-19T20:47:51.000Z] 988bab9f4d93: Download complete [2023-07-19T20:47:51.259Z] 1469e6f7b9e6: Verifying Checksum [2023-07-19T20:47:51.259Z] 1469e6f7b9e6: Download complete [2023-07-19T20:47:51.259Z] 339a4e72a1f5: Verifying Checksum [2023-07-19T20:47:51.259Z] 339a4e72a1f5: Download complete [2023-07-19T20:47:51.259Z] eaf3925da568: Verifying Checksum [2023-07-19T20:47:51.259Z] eaf3925da568: Download complete [2023-07-19T20:47:51.259Z] bde34c3a00c8: Verifying Checksum [2023-07-19T20:47:51.259Z] bde34c3a00c8: Download complete [2023-07-19T20:47:51.259Z] b352a97aabf1: Verifying Checksum [2023-07-19T20:47:51.259Z] b352a97aabf1: Download complete [2023-07-19T20:47:51.259Z] 4872d77fe225: Verifying Checksum [2023-07-19T20:47:51.259Z] 4872d77fe225: Download complete [2023-07-19T20:47:51.259Z] 5851b861e8e6: Verifying Checksum [2023-07-19T20:47:51.259Z] 5851b861e8e6: Download complete [2023-07-19T20:47:51.259Z] b85a868b505f: Verifying Checksum [2023-07-19T20:47:51.259Z] b85a868b505f: Download complete [2023-07-19T20:47:51.520Z] bab4dde63d76: Verifying Checksum [2023-07-19T20:47:51.520Z] bab4dde63d76: Download complete [2023-07-19T20:47:52.456Z] b85a868b505f: Pull complete [2023-07-19T20:47:52.714Z] e2be974225ed: Pull complete [2023-07-19T20:47:53.281Z] 339a4e72a1f5: Pull complete [2023-07-19T20:47:53.281Z] 988bab9f4d93: Pull complete [2023-07-19T20:47:53.539Z] 1469e6f7b9e6: Pull complete [2023-07-19T20:47:53.539Z] eaf3925da568: Pull complete [2023-07-19T20:47:55.442Z] bab4dde63d76: Pull complete [2023-07-19T20:47:55.442Z] bde34c3a00c8: Pull complete [2023-07-19T20:47:55.442Z] b352a97aabf1: Pull complete [2023-07-19T20:47:55.442Z] 4872d77fe225: Pull complete [2023-07-19T20:47:55.703Z] 5851b861e8e6: Pull complete [2023-07-19T20:47:55.703Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-19T20:47:55.703Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T20:47:55.703Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T20:47:55.800Z] prd-ubuntu20.04-docker-8c-8g-1581 does not seem to be running inside a container [2023-07-19T20:47:55.835Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1471 -v /w/workspace/gexfoundry_device-sdk-go_PR-1471:/w/workspace/gexfoundry_device-sdk-go_PR-1471:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-19T20:47:59.752Z] $ docker top d7d85452faeb321e0f9449a0773b7bd22f9d17d3ad298af9f2efa894f336bfe3 -eo pid,comm [2023-07-19T20:47:59.814Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-07-19T20:47:59.814Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-19T20:47:59.852Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-19T20:47:59.852Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-19T20:47:59.979Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-19T20:47:59.987Z] $ docker exec d7d85452faeb321e0f9449a0773b7bd22f9d17d3ad298af9f2efa894f336bfe3 ssh-agent [2023-07-19T20:48:00.087Z] SSH_AUTH_SOCK=/tmp/ssh-OZvSWmfsEEFf/agent.33 [2023-07-19T20:48:00.087Z] SSH_AGENT_PID=39 [2023-07-19T20:48:00.094Z] Running ssh-add (command line suppressed) [2023-07-19T20:48:00.200Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/private_key_2143917850887706665.key (/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/private_key_2143917850887706665.key) [2023-07-19T20:48:00.213Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-19T20:48:00.506Z] + git tag --points-at HEAD [Pipeline] } [2023-07-19T20:48:00.521Z] $ docker exec --env ******** --env ******** d7d85452faeb321e0f9449a0773b7bd22f9d17d3ad298af9f2efa894f336bfe3 ssh-agent -k [2023-07-19T20:48:00.627Z] unset SSH_AUTH_SOCK; [2023-07-19T20:48:00.627Z] unset SSH_AGENT_PID; [2023-07-19T20:48:00.628Z] echo Agent pid 39 killed; [2023-07-19T20:48:00.636Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-19T20:48:00.663Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-19T20:48:00.663Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-19T20:48:00.785Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-19T20:48:00.791Z] $ docker exec d7d85452faeb321e0f9449a0773b7bd22f9d17d3ad298af9f2efa894f336bfe3 ssh-agent [2023-07-19T20:48:00.915Z] SSH_AUTH_SOCK=/tmp/ssh-oFauG55eFVMt/agent.71 [2023-07-19T20:48:00.915Z] SSH_AGENT_PID=77 [2023-07-19T20:48:00.920Z] Running ssh-add (command line suppressed) [2023-07-19T20:48:01.031Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/private_key_9419064517441192047.key (/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/private_key_9419064517441192047.key) [2023-07-19T20:48:01.056Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-19T20:48:01.343Z] + git semver init [2023-07-19T20:48:01.608Z] 2023-07-19 20:48:01,565 [run_init] DEBUG init version:0.0.0 force:False [2023-07-19T20:48:01.608Z] 2023-07-19 20:48:01,566 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver [2023-07-19T20:48:01.608Z] 2023-07-19 20:48:01,567 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver [2023-07-19T20:48:01.608Z] 2023-07-19 20:48:01,567 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1471, universal_newlines=False, shell=None, istream=None) [2023-07-19T20:48:02.551Z] 2023-07-19 20:48:02,521 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471/.git/info/exclude [2023-07-19T20:48:02.551Z] 2023-07-19 20:48:02,521 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver/PR-1471 with force:False [2023-07-19T20:48:02.551Z] 2023-07-19 20:48:02,521 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver/PR-1471 [2023-07-19T20:48:02.551Z] 2023-07-19 20:48:02,526 [execute] INFO git cat-file --batch-check [2023-07-19T20:48:02.551Z] 2023-07-19 20:48:02,526 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver, universal_newlines=False, shell=None, istream=) [2023-07-19T20:48:02.551Z] 2023-07-19 20:48:02,533 [execute] INFO git cat-file --batch [2023-07-19T20:48:02.551Z] 2023-07-19 20:48:02,533 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver, universal_newlines=False, shell=None, istream=) [2023-07-19T20:48:02.551Z] 2023-07-19 20:48:02,539 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver/PR-1471 [2023-07-19T20:48:02.551Z] 0.0.0 [Pipeline] } [2023-07-19T20:48:02.827Z] $ docker exec --env ******** --env ******** d7d85452faeb321e0f9449a0773b7bd22f9d17d3ad298af9f2efa894f336bfe3 ssh-agent -k [2023-07-19T20:48:02.937Z] unset SSH_AUTH_SOCK; [2023-07-19T20:48:02.938Z] unset SSH_AGENT_PID; [2023-07-19T20:48:02.938Z] echo Agent pid 77 killed; [2023-07-19T20:48:02.945Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-19T20:48:03.265Z] + git semver [Pipeline] } [2023-07-19T20:48:03.542Z] $ docker stop --time=1 d7d85452faeb321e0f9449a0773b7bd22f9d17d3ad298af9f2efa894f336bfe3 [2023-07-19T20:48:04.856Z] $ docker rm -f --volumes d7d85452faeb321e0f9449a0773b7bd22f9d17d3ad298af9f2efa894f336bfe3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-19T20:48:05.192Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-19T20:48:05.397Z] Stashed 1 file(s) [Pipeline] echo [2023-07-19T20:48:05.400Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-19T20:48:05.508Z] provisioning config files... [2023-07-19T20:48:05.517Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/config3507226495958223006tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T20:48:05.807Z] ---> docker-login.sh [2023-07-19T20:48:05.807Z] nexus3.edgexfoundry.org:10001 [2023-07-19T20:48:05.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T20:48:05.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T20:48:05.807Z] Configure a credential helper to remove this warning. See [2023-07-19T20:48:05.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T20:48:05.807Z] [2023-07-19T20:48:05.807Z] Login Succeeded [2023-07-19T20:48:05.807Z] nexus3.edgexfoundry.org:10002 [2023-07-19T20:48:05.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T20:48:05.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T20:48:05.807Z] Configure a credential helper to remove this warning. See [2023-07-19T20:48:05.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T20:48:05.807Z] [2023-07-19T20:48:05.807Z] Login Succeeded [2023-07-19T20:48:05.807Z] nexus3.edgexfoundry.org:10003 [2023-07-19T20:48:06.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T20:48:06.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T20:48:06.070Z] Configure a credential helper to remove this warning. See [2023-07-19T20:48:06.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T20:48:06.070Z] [2023-07-19T20:48:06.070Z] Login Succeeded [2023-07-19T20:48:06.070Z] nexus3.edgexfoundry.org:10004 [2023-07-19T20:48:06.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T20:48:06.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T20:48:06.070Z] Configure a credential helper to remove this warning. See [2023-07-19T20:48:06.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T20:48:06.070Z] [2023-07-19T20:48:06.070Z] Login Succeeded [2023-07-19T20:48:06.070Z] docker.io [2023-07-19T20:48:06.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T20:48:06.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T20:48:06.329Z] Configure a credential helper to remove this warning. See [2023-07-19T20:48:06.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T20:48:06.329Z] [2023-07-19T20:48:06.329Z] Login Succeeded [2023-07-19T20:48:06.329Z] ---> docker-login.sh ends [Pipeline] } [2023-07-19T20:48:06.336Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-19T20:48:06.389Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T20:48:06.399Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T20:48:06.406Z] ========================================================= [2023-07-19T20:48:06.406Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-19T20:48:06.406Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T20:48:06.707Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-19T20:48:06.707Z] Sending build context to Docker daemon 11.13MB [2023-07-19T20:48:06.707Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T20:48:06.707Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-19T20:48:06.967Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-19T20:48:06.967Z] 4db1b89c0bd1: Pulling fs layer [2023-07-19T20:48:06.967Z] 6911f1a30b25: Pulling fs layer [2023-07-19T20:48:06.967Z] e194b8c5c2a9: Pulling fs layer [2023-07-19T20:48:06.967Z] 6863d3e3a2b1: Pulling fs layer [2023-07-19T20:48:06.967Z] ec0bb842ea78: Pulling fs layer [2023-07-19T20:48:06.967Z] 40a00589a448: Pulling fs layer [2023-07-19T20:48:06.967Z] 6c08303d61cc: Pulling fs layer [2023-07-19T20:48:06.967Z] 798269fcf238: Pulling fs layer [2023-07-19T20:48:06.967Z] ec0bb842ea78: Waiting [2023-07-19T20:48:06.967Z] 6863d3e3a2b1: Waiting [2023-07-19T20:48:06.967Z] 40a00589a448: Waiting [2023-07-19T20:48:06.967Z] 6c08303d61cc: Waiting [2023-07-19T20:48:06.967Z] 798269fcf238: Waiting [2023-07-19T20:48:06.967Z] 4db1b89c0bd1: Verifying Checksum [2023-07-19T20:48:06.967Z] 4db1b89c0bd1: Download complete [2023-07-19T20:48:06.967Z] 6863d3e3a2b1: Verifying Checksum [2023-07-19T20:48:06.967Z] 6863d3e3a2b1: Download complete [2023-07-19T20:48:06.967Z] 6911f1a30b25: Download complete [2023-07-19T20:48:06.967Z] ec0bb842ea78: Download complete [2023-07-19T20:48:06.967Z] 40a00589a448: Verifying Checksum [2023-07-19T20:48:06.967Z] 40a00589a448: Download complete [2023-07-19T20:48:07.229Z] 4db1b89c0bd1: Pull complete [2023-07-19T20:48:07.229Z] 6911f1a30b25: Pull complete [2023-07-19T20:48:08.911Z] e194b8c5c2a9: Verifying Checksum [2023-07-19T20:48:08.911Z] e194b8c5c2a9: Download complete [2023-07-19T20:48:09.170Z] 798269fcf238: Verifying Checksum [2023-07-19T20:48:09.170Z] 798269fcf238: Download complete [2023-07-19T20:48:09.428Z] 6c08303d61cc: Verifying Checksum [2023-07-19T20:48:09.428Z] 6c08303d61cc: Download complete [2023-07-19T20:48:11.333Z] e194b8c5c2a9: Pull complete [2023-07-19T20:48:11.333Z] 6863d3e3a2b1: Pull complete [2023-07-19T20:48:11.333Z] ec0bb842ea78: Pull complete [2023-07-19T20:48:11.333Z] 40a00589a448: Pull complete [2023-07-19T20:48:13.868Z] 6c08303d61cc: Pull complete [2023-07-19T20:48:14.436Z] 798269fcf238: Pull complete [2023-07-19T20:48:14.436Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-19T20:48:14.436Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-19T20:48:14.436Z] ---> ec979cd7f677 [2023-07-19T20:48:14.436Z] Step 3/10 : ARG MAKE=make build [2023-07-19T20:48:20.475Z] Still waiting to schedule task [2023-07-19T20:48:20.476Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-19T20:48:22.591Z] ---> Running in a77548976ff2 [2023-07-19T20:48:22.591Z] Removing intermediate container a77548976ff2 [2023-07-19T20:48:22.591Z] ---> a994a79951e8 [2023-07-19T20:48:22.591Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-19T20:48:22.591Z] ---> Running in c26d9fd01e3c [2023-07-19T20:48:22.591Z] Removing intermediate container c26d9fd01e3c [2023-07-19T20:48:22.591Z] ---> d7b9117d5485 [2023-07-19T20:48:22.591Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-19T20:48:22.591Z] ---> Running in c58d4d094b17 [2023-07-19T20:48:22.591Z] Removing intermediate container c58d4d094b17 [2023-07-19T20:48:22.591Z] ---> f0f672b5d92a [2023-07-19T20:48:22.591Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-19T20:48:22.591Z] ---> Running in 2e9b803b2e9e [2023-07-19T20:48:22.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-19T20:48:22.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-19T20:48:22.591Z] OK: 265 MiB in 53 packages [2023-07-19T20:48:22.850Z] Removing intermediate container 2e9b803b2e9e [2023-07-19T20:48:22.850Z] ---> 3c6f1b17c3b7 [2023-07-19T20:48:22.850Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-19T20:48:22.850Z] ---> 8a1de7dd79ed [2023-07-19T20:48:22.850Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T20:48:22.850Z] ---> Running in 74bf6d7e5b32 [2023-07-19T20:48:55.023Z] Removing intermediate container 74bf6d7e5b32 [2023-07-19T20:48:55.023Z] ---> ca40c855827d [2023-07-19T20:48:55.023Z] Step 9/10 : COPY . . [2023-07-19T20:48:55.023Z] ---> 6e5a483d7a16 [2023-07-19T20:48:55.023Z] Step 10/10 : RUN ${MAKE} [2023-07-19T20:48:55.023Z] ---> Running in c0727a7a9271 [2023-07-19T20:48:55.023Z] noop [2023-07-19T20:48:55.023Z] Removing intermediate container c0727a7a9271 [2023-07-19T20:48:55.023Z] ---> 1d9c6961c794 [2023-07-19T20:48:55.023Z] Successfully built 1d9c6961c794 [2023-07-19T20:48:55.023Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T20:48:55.339Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-19T20:48:55.339Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T20:48:55.408Z] prd-ubuntu20.04-docker-8c-8g-1581 does not seem to be running inside a container [2023-07-19T20:48:55.441Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1471 -v /w/workspace/gexfoundry_device-sdk-go_PR-1471:/w/workspace/gexfoundry_device-sdk-go_PR-1471:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-19T20:48:55.757Z] $ docker top a9f22623461c6e1ffe3bf58af947d83ed6fa72e66565055a38130580d5a0deed -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T20:48:56.094Z] + go version [2023-07-19T20:48:56.094Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-19T20:48:56.109Z] $ docker stop --time=1 a9f22623461c6e1ffe3bf58af947d83ed6fa72e66565055a38130580d5a0deed [2023-07-19T20:48:57.336Z] $ docker rm -f --volumes a9f22623461c6e1ffe3bf58af947d83ed6fa72e66565055a38130580d5a0deed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T20:48:57.736Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-19T20:48:57.736Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T20:48:57.806Z] prd-ubuntu20.04-docker-8c-8g-1581 does not seem to be running inside a container [2023-07-19T20:48:57.845Z] $ 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-1471 -v /w/workspace/gexfoundry_device-sdk-go_PR-1471:/w/workspace/gexfoundry_device-sdk-go_PR-1471:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-19T20:48:58.174Z] $ docker top 7d872679a74d38e4fd54801034b7a8f849ffd695d9d4c5cacaeb66fe486fa211 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T20:48:58.517Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1471 [Pipeline] fileExists [Pipeline] sh [2023-07-19T20:48:58.817Z] + make test [2023-07-19T20:48:58.817Z] go test -race -coverprofile=coverage.out ./... [2023-07-19T20:49:05.380Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-19T20:49:17.575Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-07-19T20:49:17.575Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-19T20:49:17.575Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-19T20:49:17.575Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-19T20:49:17.575Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-19T20:49:18.142Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.081s coverage: 27.6% of statements [2023-07-19T20:49:18.142Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-19T20:49:18.142Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-19T20:49:18.142Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.066s coverage: 80.2% of statements [2023-07-19T20:49:18.142Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.081s coverage: 86.0% of statements [2023-07-19T20:49:18.707Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-19T20:49:18.707Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.094s coverage: 70.6% of statements [2023-07-19T20:49:19.275Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-19T20:49:19.275Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-19T20:49:19.843Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-07-19T20:49:22.377Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.062s coverage: 14.3% of statements [2023-07-19T20:49:22.378Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.137s coverage: 43.8% of statements [2023-07-19T20:49:22.378Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.061s coverage: 68.5% of statements [2023-07-19T20:49:22.378Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.136s coverage: 89.2% of statements [2023-07-19T20:49:22.378Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.6% of statements [2023-07-19T20:49:44.292Z] GO111MODULE=on go vet ./... [2023-07-19T20:49:44.292Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-19T20:49:44.292Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-19T20:49:44.292Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-19T20:49:44.303Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-19T20:49:44.317Z] $ docker stop --time=1 7d872679a74d38e4fd54801034b7a8f849ffd695d9d4c5cacaeb66fe486fa211 [2023-07-19T20:49:48.600Z] $ docker rm -f --volumes 7d872679a74d38e4fd54801034b7a8f849ffd695d9d4c5cacaeb66fe486fa211 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-19T20:49:49.166Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-19T20:49:49.232Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-07-19T20:49:49.750Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-19T20:49:50.034Z] + ls -al . [2023-07-19T20:49:50.034Z] total 300 [2023-07-19T20:49:50.034Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 19 20:48 . [2023-07-19T20:49:50.034Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 20:47 .. [2023-07-19T20:49:50.034Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 20:47 .dockerignore [2023-07-19T20:49:50.034Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 20:48 .git [2023-07-19T20:49:50.034Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 20:47 .github [2023-07-19T20:49:50.034Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 19 20:47 .gitignore [2023-07-19T20:49:50.034Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 20:47 .golangci.yml [2023-07-19T20:49:50.034Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 20:48 .semver [2023-07-19T20:49:50.034Z] -rw-rw-r-- 1 jenkins jenkins 44878 Jul 19 20:47 CHANGELOG.md [2023-07-19T20:49:50.034Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 20:47 GOVERNANCE.md [2023-07-19T20:49:50.034Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 19 20:47 Jenkinsfile [2023-07-19T20:49:50.034Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 19 20:47 LICENSE [2023-07-19T20:49:50.034Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jul 19 20:47 Makefile [2023-07-19T20:49:50.034Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 19 20:47 OWNERS.md [2023-07-19T20:49:50.034Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jul 19 20:47 README.md [2023-07-19T20:49:50.034Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 20:48 VERSION [2023-07-19T20:49:50.034Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 20:47 bin [2023-07-19T20:49:50.034Z] -rw-r--r-- 1 jenkins jenkins 119519 Jul 19 20:49 coverage.out [2023-07-19T20:49:50.034Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 19 20:47 example [2023-07-19T20:49:50.034Z] -rw-rw-r-- 1 jenkins jenkins 3461 Jul 19 20:47 go.mod [2023-07-19T20:49:50.034Z] -rw-rw-r-- 1 jenkins jenkins 32143 Jul 19 20:47 go.sum [2023-07-19T20:49:50.034Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 20:47 internal [2023-07-19T20:49:50.034Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 20:47 openapi [2023-07-19T20:49:50.034Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 19 20:47 pkg [2023-07-19T20:49:50.034Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 20:47 snap [2023-07-19T20:49:50.034Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 19 20:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T20:49:50.341Z] + 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=7bae8fa0f4e90ceb1ec90c1d543255b789387e3e --label arch=amd64 --label version=0.0.0 . [2023-07-19T20:49:50.341Z] Sending build context to Docker daemon 11.25MB [2023-07-19T20:49:50.341Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T20:49:50.341Z] Step 2/23 : FROM ${BASE} AS builder [2023-07-19T20:49:50.341Z] ---> 1d9c6961c794 [2023-07-19T20:49:50.341Z] Step 3/23 : ARG MAKE=make build [2023-07-19T20:49:50.599Z] ---> Running in efab7f12df90 [2023-07-19T20:49:50.599Z] Removing intermediate container efab7f12df90 [2023-07-19T20:49:50.599Z] ---> cd08d58f406c [2023-07-19T20:49:50.599Z] Step 4/23 : WORKDIR /device-sdk-go [2023-07-19T20:49:50.599Z] ---> Running in ff3d55784d2a [2023-07-19T20:49:50.858Z] Removing intermediate container ff3d55784d2a [2023-07-19T20:49:50.858Z] ---> ffde455a6b77 [2023-07-19T20:49:50.858Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-19T20:49:50.858Z] ---> Running in ececfb948864 [2023-07-19T20:49:50.858Z] Removing intermediate container ececfb948864 [2023-07-19T20:49:50.858Z] ---> 6a0253fd993d [2023-07-19T20:49:50.858Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-07-19T20:49:50.858Z] ---> Running in df5877f6d503 [2023-07-19T20:49:51.117Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-19T20:49:51.375Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-19T20:49:51.635Z] OK: 265 MiB in 53 packages [2023-07-19T20:49:51.895Z] Removing intermediate container df5877f6d503 [2023-07-19T20:49:51.895Z] ---> d1d93d559699 [2023-07-19T20:49:51.895Z] Step 7/23 : COPY go.mod vendor* ./ [2023-07-19T20:49:51.895Z] ---> 6975d27f1503 [2023-07-19T20:49:51.895Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T20:49:51.895Z] ---> Running in 3a0cfa712e8d [2023-07-19T20:49:52.830Z] Removing intermediate container 3a0cfa712e8d [2023-07-19T20:49:52.830Z] ---> 876aa3fd97b0 [2023-07-19T20:49:52.830Z] Step 9/23 : COPY . . [2023-07-19T20:49:52.861Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1582 in /w/workspace/gexfoundry_device-sdk-go_PR-1471 [Pipeline] { [Pipeline] ws [2023-07-19T20:49:52.875Z] Running in /w/workspace/device-sdk-go/15 [Pipeline] { [Pipeline] checkout [2023-07-19T20:49:52.909Z] The recommended git tool is: git [2023-07-19T20:49:53.110Z] ---> 5363186added [2023-07-19T20:49:53.110Z] Step 10/23 : RUN ${MAKE} [2023-07-19T20:49:53.369Z] ---> Running in 1ffc058a523a [2023-07-19T20:49:53.628Z] 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-07-19T20:49:57.732Z] using credential edgex-jenkins-ssh [2023-07-19T20:49:57.747Z] Cloning the remote Git repository [2023-07-19T20:49:57.781Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-07-19T20:49:57.871Z] > git init /w/workspace/device-sdk-go/15 # timeout=10 [2023-07-19T20:49:58.017Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-07-19T20:49:58.018Z] > git --version # timeout=10 [2023-07-19T20:49:58.040Z] > git --version # 'git version 2.25.1' [2023-07-19T20:49:58.042Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-19T20:49:58.186Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-19T20:49:59.688Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-07-19T20:49:59.715Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-19T20:50:01.256Z] Merging remotes/origin/main commit d74039b1e75348ec690936aee1c1bcbaac678fee into PR head commit 7bae8fa0f4e90ceb1ec90c1d543255b789387e3e [2023-07-19T20:50:00.545Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-07-19T20:50:00.588Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-07-19T20:50:00.589Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-19T20:50:00.607Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1471/head:refs/remotes/origin/PR-1471 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-19T20:50:01.268Z] > git config core.sparsecheckout # timeout=10 [2023-07-19T20:50:01.382Z] > git checkout -f 7bae8fa0f4e90ceb1ec90c1d543255b789387e3e # timeout=10 [2023-07-19T20:50:01.488Z] > git remote # timeout=10 [2023-07-19T20:50:01.513Z] > git config --get remote.origin.url # timeout=10 [2023-07-19T20:50:01.529Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-19T20:50:01.542Z] > git merge d74039b1e75348ec690936aee1c1bcbaac678fee # timeout=10 [2023-07-19T20:50:01.566Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-19T20:50:01.588Z] Merge succeeded, producing 7bae8fa0f4e90ceb1ec90c1d543255b789387e3e [2023-07-19T20:50:01.589Z] Checking out Revision 7bae8fa0f4e90ceb1ec90c1d543255b789387e3e (PR-1471) [2023-07-19T20:50:01.589Z] > git config core.sparsecheckout # timeout=10 [2023-07-19T20:50:01.605Z] > git checkout -f 7bae8fa0f4e90ceb1ec90c1d543255b789387e3e # timeout=10 [2023-07-19T20:50:05.104Z] Commit message: "fix: add comment to address PR feedback" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-19T20:50:05.973Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-19T20:50:05.973Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-19T20:50:05.973Z] Dload Upload Total Spent Left Speed [2023-07-19T20:50:05.973Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2023-07-19T20:50:06.651Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-19T20:50:06.972Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-19T20:50:06.972Z] + sudo tee /etc/docker/daemon.new [2023-07-19T20:50:06.972Z] { [2023-07-19T20:50:06.972Z] "registry-mirrors": [ [2023-07-19T20:50:06.972Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-19T20:50:06.972Z] ], [2023-07-19T20:50:06.972Z] "bip": "10.250.0.254/24", [2023-07-19T20:50:06.972Z] "hosts": [ [2023-07-19T20:50:06.972Z] "tcp://0.0.0.0:5555", [2023-07-19T20:50:06.972Z] "unix:///var/run/docker.sock" [2023-07-19T20:50:06.972Z] ], [2023-07-19T20:50:06.972Z] "mtu": 1458, [2023-07-19T20:50:06.972Z] "selinux-enabled": true, [2023-07-19T20:50:06.972Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-19T20:50:06.972Z] } [Pipeline] sh [2023-07-19T20:50:07.299Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-19T20:50:07.629Z] + sudo service docker restart [2023-07-19T20:50:15.548Z] Removing intermediate container 1ffc058a523a [2023-07-19T20:50:15.548Z] ---> 3c355e537249 [2023-07-19T20:50:15.548Z] Step 11/23 : FROM alpine:3.17 [2023-07-19T20:50:15.548Z] 3.17: Pulling from library/alpine [2023-07-19T20:50:15.548Z] 4db1b89c0bd1: Already exists [2023-07-19T20:50:15.548Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-19T20:50:15.548Z] Status: Downloaded newer image for alpine:3.17 [2023-07-19T20:50:15.548Z] ---> 1f73a9d63274 [2023-07-19T20:50:15.548Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-07-19T20:50:15.548Z] ---> Running in df6815e57662 [2023-07-19T20:50:15.548Z] Removing intermediate container df6815e57662 [2023-07-19T20:50:15.548Z] ---> 91b8dcbba43e [2023-07-19T20:50:15.548Z] Step 13/23 : RUN apk add --update --no-cache [2023-07-19T20:50:15.548Z] ---> Running in 89073ff878fd [2023-07-19T20:50:15.807Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-19T20:50:15.807Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-19T20:50:16.065Z] OK: 7 MiB in 15 packages [2023-07-19T20:50:16.632Z] Removing intermediate container 89073ff878fd [2023-07-19T20:50:16.632Z] ---> 3a285af51796 [2023-07-19T20:50:16.632Z] Step 14/23 : WORKDIR / [2023-07-19T20:50:16.632Z] ---> Running in e6d0bf4181a7 [2023-07-19T20:50:16.632Z] Removing intermediate container e6d0bf4181a7 [2023-07-19T20:50:16.632Z] ---> f5169683301b [2023-07-19T20:50:16.632Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-07-19T20:50:16.632Z] ---> d9654174078e [2023-07-19T20:50:16.632Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-07-19T20:50:17.628Z] ---> eeae6d0e8ae8 [2023-07-19T20:50:17.628Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-07-19T20:50:17.886Z] ---> 6748ad9956dc [2023-07-19T20:50:17.886Z] Step 18/23 : EXPOSE 59999 [2023-07-19T20:50:17.886Z] ---> Running in 9bfdb8b95ad8 [2023-07-19T20:50:17.886Z] Removing intermediate container 9bfdb8b95ad8 [2023-07-19T20:50:17.886Z] ---> b50963652b67 [2023-07-19T20:50:17.886Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-07-19T20:50:17.886Z] ---> Running in 9b5466eb4b0a [2023-07-19T20:50:17.886Z] Removing intermediate container 9b5466eb4b0a [2023-07-19T20:50:17.886Z] ---> b8a476583c38 [2023-07-19T20:50:17.886Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-19T20:50:17.886Z] ---> Running in 275cc263bcd1 [2023-07-19T20:50:18.144Z] Removing intermediate container 275cc263bcd1 [2023-07-19T20:50:18.144Z] ---> ba3af021a98e [2023-07-19T20:50:18.144Z] Step 21/23 : LABEL arch=amd64 [2023-07-19T20:50:18.144Z] ---> Running in 3dcc334b53d7 [2023-07-19T20:50:18.144Z] Removing intermediate container 3dcc334b53d7 [2023-07-19T20:50:18.144Z] ---> 6e58382b9693 [2023-07-19T20:50:18.144Z] Step 22/23 : LABEL git_sha=7bae8fa0f4e90ceb1ec90c1d543255b789387e3e [2023-07-19T20:50:18.144Z] ---> Running in 40a9fd7db1b3 [2023-07-19T20:50:18.144Z] Removing intermediate container 40a9fd7db1b3 [2023-07-19T20:50:18.144Z] ---> f3ac2e660aca [2023-07-19T20:50:18.144Z] Step 23/23 : LABEL version=0.0.0 [2023-07-19T20:50:18.144Z] ---> Running in 2126453d6e21 [2023-07-19T20:50:18.402Z] Removing intermediate container 2126453d6e21 [2023-07-19T20:50:18.402Z] ---> 6af9e0092070 [2023-07-19T20:50:18.403Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-19T20:50:18.403Z] Successfully built 6af9e0092070 [2023-07-19T20:50:18.403Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T20:50:18.867Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T20:50:18.868Z] [2023-07-19T20:50:18.868Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T20:50:19.162Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T20:50:19.162Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-19T20:50:19.162Z] 5eb5b503b376: Pulling fs layer [2023-07-19T20:50:19.162Z] 5c69ac0246d0: Pulling fs layer [2023-07-19T20:50:19.162Z] ec43610c2a17: Pulling fs layer [2023-07-19T20:50:19.162Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-19T20:50:19.162Z] 33b1e0a273af: Pulling fs layer [2023-07-19T20:50:19.162Z] 5d3b04190fa2: Pulling fs layer [2023-07-19T20:50:19.162Z] 2f39f015ded8: Pulling fs layer [2023-07-19T20:50:19.162Z] 33b1e0a273af: Waiting [2023-07-19T20:50:19.162Z] 2f39f015ded8: Waiting [2023-07-19T20:50:19.162Z] 5d3b04190fa2: Waiting [2023-07-19T20:50:19.162Z] 3a2ae6a8a46f: Waiting [2023-07-19T20:50:19.162Z] 5c69ac0246d0: Download complete [2023-07-19T20:50:19.162Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-19T20:50:19.162Z] 3a2ae6a8a46f: Download complete [2023-07-19T20:50:19.162Z] 33b1e0a273af: Verifying Checksum [2023-07-19T20:50:19.162Z] 33b1e0a273af: Download complete [2023-07-19T20:50:19.162Z] 5d3b04190fa2: Download complete [2023-07-19T20:50:19.162Z] ec43610c2a17: Verifying Checksum [2023-07-19T20:50:19.162Z] ec43610c2a17: Download complete [2023-07-19T20:50:19.422Z] 5eb5b503b376: Verifying Checksum [2023-07-19T20:50:19.422Z] 5eb5b503b376: Download complete [2023-07-19T20:50:19.990Z] 2f39f015ded8: Download complete [2023-07-19T20:50:20.557Z] 5eb5b503b376: Pull complete [2023-07-19T20:50:20.557Z] 5c69ac0246d0: Pull complete [2023-07-19T20:50:21.124Z] ec43610c2a17: Pull complete [2023-07-19T20:50:21.124Z] 3a2ae6a8a46f: Pull complete [2023-07-19T20:50:21.382Z] 33b1e0a273af: Pull complete [2023-07-19T20:50:21.382Z] 5d3b04190fa2: Pull complete [2023-07-19T20:50:25.559Z] 2f39f015ded8: Pull complete [2023-07-19T20:50:25.559Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-19T20:50:25.559Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T20:50:25.559Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T20:50:25.637Z] prd-ubuntu20.04-docker-8c-8g-1581 does not seem to be running inside a container [2023-07-19T20:50:25.668Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1471 -v /w/workspace/gexfoundry_device-sdk-go_PR-1471:/w/workspace/gexfoundry_device-sdk-go_PR-1471:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-19T20:50:30.669Z] $ docker top da9609e03a262dbd1c852e2c8f7fc7dc36c6fac7a3db60ad6bbf02c50c83ca1d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2023-07-19T20:50:30.832Z] provisioning config files... [2023-07-19T20:50:30.857Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/15@tmp/config905738633438647439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T20:50:31.085Z] ---> job-cost.sh [2023-07-19T20:50:31.085Z] lf-activate-venv: SKIPPING [2023-07-19T20:50:31.085Z] INFO: No Stack... [2023-07-19T20:50:31.206Z] ---> docker-login.sh [2023-07-19T20:50:31.206Z] nexus3.edgexfoundry.org:10001 [2023-07-19T20:50:31.344Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-19T20:50:31.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T20:50:31.605Z] INFO: Archiving Costs [Pipeline] sh [2023-07-19T20:50:31.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T20:50:31.745Z] Configure a credential helper to remove this warning. See [2023-07-19T20:50:31.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T20:50:31.745Z] [2023-07-19T20:50:31.745Z] Login Succeeded [2023-07-19T20:50:31.745Z] nexus3.edgexfoundry.org:10002 [2023-07-19T20:50:31.894Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives/cost.csv [2023-07-19T20:50:31.894Z] + cut -d, -f6 [Pipeline] lock [2023-07-19T20:50:31.906Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1471-15-stack-cost] [2023-07-19T20:50:31.914Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1471-15-stack-cost] did not exist. Created. [2023-07-19T20:50:31.914Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1471-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-19T20:50:32.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T20:50:32.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T20:50:32.014Z] Configure a credential helper to remove this warning. See [2023-07-19T20:50:32.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T20:50:32.014Z] [2023-07-19T20:50:32.014Z] Login Succeeded [2023-07-19T20:50:32.219Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-19T20:50:32.255Z] Stashed 1 file(s) [Pipeline] } [2023-07-19T20:50:32.261Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1471-15-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-19T20:50:32.279Z] $ docker stop --time=1 da9609e03a262dbd1c852e2c8f7fc7dc36c6fac7a3db60ad6bbf02c50c83ca1d [2023-07-19T20:50:32.284Z] nexus3.edgexfoundry.org:10003 [2023-07-19T20:50:32.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T20:50:32.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T20:50:32.556Z] Configure a credential helper to remove this warning. See [2023-07-19T20:50:32.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T20:50:32.556Z] [2023-07-19T20:50:32.556Z] Login Succeeded [2023-07-19T20:50:32.556Z] nexus3.edgexfoundry.org:10004 [2023-07-19T20:50:32.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T20:50:32.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T20:50:32.825Z] Configure a credential helper to remove this warning. See [2023-07-19T20:50:32.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T20:50:32.825Z] [2023-07-19T20:50:32.825Z] Login Succeeded [2023-07-19T20:50:32.825Z] docker.io [2023-07-19T20:50:33.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T20:50:33.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T20:50:33.361Z] Configure a credential helper to remove this warning. See [2023-07-19T20:50:33.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T20:50:33.361Z] [2023-07-19T20:50:33.361Z] Login Succeeded [2023-07-19T20:50:33.361Z] ---> docker-login.sh ends [2023-07-19T20:50:33.433Z] $ docker rm -f --volumes da9609e03a262dbd1c852e2c8f7fc7dc36c6fac7a3db60ad6bbf02c50c83ca1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2023-07-19T20:50:33.485Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2023-07-19T20:50:33.725Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T20:50:33.739Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T20:50:33.755Z] ========================================================= [2023-07-19T20:50:33.755Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-19T20:50:33.755Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T20:50:34.099Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-19T20:50:34.688Z] Sending build context to Docker daemon 6.018MB [2023-07-19T20:50:34.688Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T20:50:34.688Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-19T20:50:34.688Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-19T20:50:34.688Z] edb6bdbacee9: Pulling fs layer [2023-07-19T20:50:34.688Z] 5f9638ab2659: Pulling fs layer [2023-07-19T20:50:34.688Z] 8d51d6327a98: Pulling fs layer [2023-07-19T20:50:34.688Z] 8b374f2dd631: Pulling fs layer [2023-07-19T20:50:34.688Z] ec14aa9079de: Pulling fs layer [2023-07-19T20:50:34.688Z] 2f466654f4bb: Pulling fs layer [2023-07-19T20:50:34.688Z] 554e91adad29: Pulling fs layer [2023-07-19T20:50:34.688Z] 8b374f2dd631: Waiting [2023-07-19T20:50:34.688Z] ec14aa9079de: Waiting [2023-07-19T20:50:34.688Z] 2f466654f4bb: Waiting [2023-07-19T20:50:34.688Z] 554e91adad29: Waiting [2023-07-19T20:50:34.688Z] 5f9638ab2659: Verifying Checksum [2023-07-19T20:50:34.688Z] 5f9638ab2659: Download complete [2023-07-19T20:50:34.688Z] 8b374f2dd631: Verifying Checksum [2023-07-19T20:50:34.688Z] 8b374f2dd631: Download complete [2023-07-19T20:50:34.688Z] ec14aa9079de: Verifying Checksum [2023-07-19T20:50:34.688Z] ec14aa9079de: Download complete [2023-07-19T20:50:34.688Z] edb6bdbacee9: Verifying Checksum [2023-07-19T20:50:35.663Z] edb6bdbacee9: Pull complete [2023-07-19T20:50:36.253Z] 554e91adad29: Verifying Checksum [2023-07-19T20:50:36.253Z] 554e91adad29: Download complete [2023-07-19T20:50:36.253Z] 5f9638ab2659: Pull complete [2023-07-19T20:50:37.225Z] 8d51d6327a98: Verifying Checksum [2023-07-19T20:50:37.225Z] 8d51d6327a98: Download complete [2023-07-19T20:50:37.225Z] 2f466654f4bb: Verifying Checksum [2023-07-19T20:50:37.225Z] 2f466654f4bb: Download complete [2023-07-19T20:50:49.563Z] 8d51d6327a98: Pull complete [2023-07-19T20:50:49.563Z] 8b374f2dd631: Pull complete [2023-07-19T20:50:49.563Z] ec14aa9079de: Pull complete [2023-07-19T20:50:54.927Z] 2f466654f4bb: Pull complete [2023-07-19T20:50:57.514Z] 554e91adad29: Pull complete [2023-07-19T20:50:57.514Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-19T20:50:57.514Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-19T20:50:57.514Z] ---> 1e15ea492957 [2023-07-19T20:50:57.514Z] Step 3/10 : ARG MAKE=make build [2023-07-19T20:50:58.946Z] ---> Running in d45cf4636762 [2023-07-19T20:50:59.214Z] Removing intermediate container d45cf4636762 [2023-07-19T20:50:59.214Z] ---> 1fe406927ba0 [2023-07-19T20:50:59.214Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-19T20:50:59.214Z] ---> Running in 881df51063a5 [2023-07-19T20:50:59.481Z] Removing intermediate container 881df51063a5 [2023-07-19T20:50:59.481Z] ---> eddcb9b99417 [2023-07-19T20:50:59.481Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-19T20:50:59.748Z] ---> Running in e58abe89e575 [2023-07-19T20:51:00.016Z] Removing intermediate container e58abe89e575 [2023-07-19T20:51:00.016Z] ---> a1d403562687 [2023-07-19T20:51:00.016Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-19T20:51:00.016Z] ---> Running in 43d40de8ede4 [2023-07-19T20:51:00.985Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-19T20:51:01.565Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-19T20:51:02.527Z] OK: 263 MiB in 53 packages [2023-07-19T20:51:03.488Z] Removing intermediate container 43d40de8ede4 [2023-07-19T20:51:03.488Z] ---> 27e5cd5b1247 [2023-07-19T20:51:03.488Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-19T20:51:03.765Z] ---> 8aad85be8c5e [2023-07-19T20:51:03.765Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T20:51:04.034Z] ---> Running in 28d622c25c91 [2023-07-19T20:52:12.006Z] Removing intermediate container 28d622c25c91 [2023-07-19T20:52:12.006Z] ---> f4bf407b4f9d [2023-07-19T20:52:12.006Z] Step 9/10 : COPY . . [2023-07-19T20:52:12.006Z] ---> 7a8b82769fa9 [2023-07-19T20:52:12.006Z] Step 10/10 : RUN ${MAKE} [2023-07-19T20:52:12.006Z] ---> Running in f1581b7485b7 [2023-07-19T20:52:12.006Z] noop [2023-07-19T20:52:12.006Z] Removing intermediate container f1581b7485b7 [2023-07-19T20:52:12.006Z] ---> c94a023fac3c [2023-07-19T20:52:12.006Z] Successfully built c94a023fac3c [2023-07-19T20:52:12.006Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T20:52:12.364Z] + docker inspect -f . ci-base-image-arm64 [2023-07-19T20:52:12.364Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T20:52:12.561Z] prd-ubuntu20.04-docker-arm64-4c-16g-1582 does not seem to be running inside a container [2023-07-19T20:52:12.626Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-19T20:52:13.771Z] $ docker top 4a96c10738dfd8b6535902faf52e58cfb8ad96102f8b14489bc0480796232604 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T20:52:14.593Z] + go version [2023-07-19T20:52:14.593Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-19T20:52:14.620Z] $ docker stop --time=1 4a96c10738dfd8b6535902faf52e58cfb8ad96102f8b14489bc0480796232604 [2023-07-19T20:52:16.203Z] $ docker rm -f --volumes 4a96c10738dfd8b6535902faf52e58cfb8ad96102f8b14489bc0480796232604 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T20:52:16.729Z] + docker inspect -f . ci-base-image-arm64 [2023-07-19T20:52:16.729Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T20:52:16.904Z] prd-ubuntu20.04-docker-arm64-4c-16g-1582 does not seem to be running inside a container [2023-07-19T20:52:16.979Z] $ 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/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-19T20:52:18.086Z] $ docker top f740eb5fb70359981ed619f56cf09d59fd7219eb7ee15cd3606e0bb801014816 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T20:52:18.891Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/15 [Pipeline] fileExists [Pipeline] sh [2023-07-19T20:52:19.540Z] + make test [2023-07-19T20:52:19.540Z] go test -race -coverprofile=coverage.out ./... [2023-07-19T20:52:58.408Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-19T20:55:05.358Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-07-19T20:55:05.358Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-19T20:55:05.358Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-19T20:55:05.358Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-19T20:55:05.358Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-19T20:55:05.358Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.210s coverage: 27.6% of statements [2023-07-19T20:55:09.631Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.258s coverage: 80.2% of statements [2023-07-19T20:55:24.646Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-19T20:55:24.646Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-19T20:55:24.646Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.396s coverage: 86.0% of statements [2023-07-19T20:55:28.896Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-19T20:55:29.481Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.532s coverage: 70.6% of statements [2023-07-19T20:55:32.830Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.317s coverage: 14.3% of statements [2023-07-19T20:55:35.408Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-19T20:55:35.408Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-19T20:55:35.989Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.958s coverage: 43.8% of statements [2023-07-19T20:55:35.989Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.451s coverage: 68.5% of statements [2023-07-19T20:55:39.401Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.423s coverage: 89.2% of statements [2023-07-19T20:55:40.384Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-07-19T20:55:40.384Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.227s coverage: 5.6% of statements [2023-07-19T20:55:41.418Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-19T20:55:41.418Z] GO111MODULE=on go vet ./... [2023-07-19T20:58:03.206Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-19T20:58:03.206Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-19T20:58:03.206Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-19T20:58:03.230Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-19T20:58:03.256Z] $ docker stop --time=1 f740eb5fb70359981ed619f56cf09d59fd7219eb7ee15cd3606e0bb801014816 [2023-07-19T20:58:05.116Z] $ docker rm -f --volumes f740eb5fb70359981ed619f56cf09d59fd7219eb7ee15cd3606e0bb801014816 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-19T20:58:06.651Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-19T20:58:06.675Z] Warning: overwriting stash ‘coverage-report’ [2023-07-19T20:58:07.207Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-19T20:58:07.599Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-19T20:58:07.907Z] + ls -al . [2023-07-19T20:58:07.907Z] total 296 [2023-07-19T20:58:07.907Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 20:52 . [2023-07-19T20:58:07.907Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 20:49 .. [2023-07-19T20:58:07.907Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 20:50 .dockerignore [2023-07-19T20:58:07.907Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 20:50 .git [2023-07-19T20:58:07.907Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 20:50 .github [2023-07-19T20:58:07.907Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 19 20:50 .gitignore [2023-07-19T20:58:07.907Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 20:50 .golangci.yml [2023-07-19T20:58:07.907Z] -rw-rw-r-- 1 jenkins jenkins 44878 Jul 19 20:50 CHANGELOG.md [2023-07-19T20:58:07.907Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 20:50 GOVERNANCE.md [2023-07-19T20:58:07.907Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 19 20:50 Jenkinsfile [2023-07-19T20:58:07.907Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 19 20:50 LICENSE [2023-07-19T20:58:07.907Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jul 19 20:50 Makefile [2023-07-19T20:58:07.907Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 19 20:50 OWNERS.md [2023-07-19T20:58:07.907Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jul 19 20:50 README.md [2023-07-19T20:58:07.907Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 20:48 VERSION [2023-07-19T20:58:07.907Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 20:50 bin [2023-07-19T20:58:07.907Z] -rw-r--r-- 1 jenkins jenkins 119519 Jul 19 20:55 coverage.out [2023-07-19T20:58:07.907Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 19 20:50 example [2023-07-19T20:58:07.907Z] -rw-rw-r-- 1 jenkins jenkins 3461 Jul 19 20:50 go.mod [2023-07-19T20:58:07.907Z] -rw-rw-r-- 1 jenkins jenkins 32143 Jul 19 20:50 go.sum [2023-07-19T20:58:07.907Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 20:50 internal [2023-07-19T20:58:07.907Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 20:50 openapi [2023-07-19T20:58:07.907Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 19 20:50 pkg [2023-07-19T20:58:07.907Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 20:50 snap [2023-07-19T20:58:07.907Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 19 20:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T20:58:08.238Z] + 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=7bae8fa0f4e90ceb1ec90c1d543255b789387e3e --label arch=arm64 --label version=0.0.0 . [2023-07-19T20:58:08.506Z] Sending build context to Docker daemon 6.138MB [2023-07-19T20:58:08.773Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T20:58:08.773Z] Step 2/23 : FROM ${BASE} AS builder [2023-07-19T20:58:08.773Z] ---> c94a023fac3c [2023-07-19T20:58:08.773Z] Step 3/23 : ARG MAKE=make build [2023-07-19T20:58:08.773Z] ---> Running in 488c6acc838d [2023-07-19T20:58:09.040Z] Removing intermediate container 488c6acc838d [2023-07-19T20:58:09.041Z] ---> 693f978e5ae7 [2023-07-19T20:58:09.041Z] Step 4/23 : WORKDIR /device-sdk-go [2023-07-19T20:58:09.041Z] ---> Running in 79cc3e723511 [2023-07-19T20:58:09.623Z] Removing intermediate container 79cc3e723511 [2023-07-19T20:58:09.623Z] ---> 9c042b295aa1 [2023-07-19T20:58:09.623Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-19T20:58:09.623Z] ---> Running in 0efb868c572f [2023-07-19T20:58:09.891Z] Removing intermediate container 0efb868c572f [2023-07-19T20:58:09.891Z] ---> 8657f0856430 [2023-07-19T20:58:09.891Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-07-19T20:58:09.891Z] ---> Running in f8c7de476e12 [2023-07-19T20:58:10.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-19T20:58:11.434Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-19T20:58:12.390Z] OK: 263 MiB in 53 packages [2023-07-19T20:58:13.353Z] Removing intermediate container f8c7de476e12 [2023-07-19T20:58:13.353Z] ---> eee64b08affc [2023-07-19T20:58:13.353Z] Step 7/23 : COPY go.mod vendor* ./ [2023-07-19T20:58:13.621Z] ---> 5c366a44564c [2023-07-19T20:58:13.621Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T20:58:13.621Z] ---> Running in cb27c11e20a7 [2023-07-19T20:58:15.561Z] Removing intermediate container cb27c11e20a7 [2023-07-19T20:58:15.561Z] ---> 1bc19f4db5f9 [2023-07-19T20:58:15.561Z] Step 9/23 : COPY . . [2023-07-19T20:58:16.972Z] ---> bcc293db38b0 [2023-07-19T20:58:16.972Z] Step 10/23 : RUN ${MAKE} [2023-07-19T20:58:16.972Z] ---> Running in cd03565289c2 [2023-07-19T20:58:17.934Z] 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-07-19T21:00:25.238Z] Removing intermediate container cd03565289c2 [2023-07-19T21:00:25.238Z] ---> 1857e0d1e348 [2023-07-19T21:00:25.238Z] Step 11/23 : FROM alpine:3.17 [2023-07-19T21:00:25.238Z] 3.17: Pulling from library/alpine [2023-07-19T21:00:25.238Z] edb6bdbacee9: Already exists [2023-07-19T21:00:25.238Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-19T21:00:25.238Z] Status: Downloaded newer image for alpine:3.17 [2023-07-19T21:00:25.238Z] ---> 779605e5fbc0 [2023-07-19T21:00:25.238Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-07-19T21:00:25.238Z] ---> Running in 29cc10281433 [2023-07-19T21:00:25.238Z] Removing intermediate container 29cc10281433 [2023-07-19T21:00:25.238Z] ---> 8762fff1b9cb [2023-07-19T21:00:25.238Z] Step 13/23 : RUN apk add --update --no-cache [2023-07-19T21:00:25.238Z] ---> Running in 3df0bec092ab [2023-07-19T21:00:25.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-19T21:00:25.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-19T21:00:25.238Z] OK: 7 MiB in 15 packages [2023-07-19T21:00:25.507Z] Removing intermediate container 3df0bec092ab [2023-07-19T21:00:25.507Z] ---> b6f5a0b8e55e [2023-07-19T21:00:25.507Z] Step 14/23 : WORKDIR / [2023-07-19T21:00:25.774Z] ---> Running in 8c0f30c7adfb [2023-07-19T21:00:26.044Z] Removing intermediate container 8c0f30c7adfb [2023-07-19T21:00:26.044Z] ---> ee1b05d1454b [2023-07-19T21:00:26.044Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-07-19T21:00:26.313Z] ---> e5b0fd191368 [2023-07-19T21:00:26.313Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-07-19T21:00:27.722Z] ---> c357cbc8dbea [2023-07-19T21:00:27.722Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-07-19T21:00:28.303Z] ---> 47bd9cca9f10 [2023-07-19T21:00:28.303Z] Step 18/23 : EXPOSE 59999 [2023-07-19T21:00:28.303Z] ---> Running in a3dcbdd609e0 [2023-07-19T21:00:28.571Z] Removing intermediate container a3dcbdd609e0 [2023-07-19T21:00:28.571Z] ---> f1e379543608 [2023-07-19T21:00:28.571Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-07-19T21:00:28.571Z] ---> Running in b5fd6799127b [2023-07-19T21:00:28.839Z] Removing intermediate container b5fd6799127b [2023-07-19T21:00:28.839Z] ---> 748f42dc667c [2023-07-19T21:00:28.839Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-19T21:00:28.839Z] ---> Running in 2ec2c477e453 [2023-07-19T21:00:29.110Z] Removing intermediate container 2ec2c477e453 [2023-07-19T21:00:29.110Z] ---> d01ad552b60c [2023-07-19T21:00:29.110Z] Step 21/23 : LABEL arch=arm64 [2023-07-19T21:00:29.379Z] ---> Running in 683a0176c77a [2023-07-19T21:00:29.647Z] Removing intermediate container 683a0176c77a [2023-07-19T21:00:29.648Z] ---> 765d5e2a7e31 [2023-07-19T21:00:29.648Z] Step 22/23 : LABEL git_sha=7bae8fa0f4e90ceb1ec90c1d543255b789387e3e [2023-07-19T21:00:29.648Z] ---> Running in 53b311784069 [2023-07-19T21:00:29.915Z] Removing intermediate container 53b311784069 [2023-07-19T21:00:29.915Z] ---> b206cff12a4e [2023-07-19T21:00:29.915Z] Step 23/23 : LABEL version=0.0.0 [2023-07-19T21:00:29.915Z] ---> Running in 46556f4aedff [2023-07-19T21:00:30.182Z] Removing intermediate container 46556f4aedff [2023-07-19T21:00:30.182Z] ---> 6074fe5d5e01 [2023-07-19T21:00:30.182Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-19T21:00:30.182Z] Successfully built 6074fe5d5e01 [2023-07-19T21:00:30.182Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T21:00:30.623Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-19T21:00:30.623Z] [2023-07-19T21:00:30.623Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T21:00:30.955Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-19T21:00:30.955Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-19T21:00:30.955Z] 8998bd30e6a1: Pulling fs layer [2023-07-19T21:00:30.955Z] 04944245beec: Pulling fs layer [2023-07-19T21:00:30.955Z] 699f458cf7ca: Pulling fs layer [2023-07-19T21:00:30.955Z] 765212b225bb: Pulling fs layer [2023-07-19T21:00:30.955Z] f23df028b6ca: Pulling fs layer [2023-07-19T21:00:30.955Z] d65c8cfc05b1: Pulling fs layer [2023-07-19T21:00:30.955Z] 2437ff75d9bd: Pulling fs layer [2023-07-19T21:00:30.955Z] f23df028b6ca: Waiting [2023-07-19T21:00:30.955Z] d65c8cfc05b1: Waiting [2023-07-19T21:00:30.955Z] 2437ff75d9bd: Waiting [2023-07-19T21:00:30.955Z] 765212b225bb: Waiting [2023-07-19T21:00:31.224Z] 04944245beec: Verifying Checksum [2023-07-19T21:00:31.224Z] 04944245beec: Download complete [2023-07-19T21:00:31.224Z] 765212b225bb: Verifying Checksum [2023-07-19T21:00:31.224Z] 765212b225bb: Download complete [2023-07-19T21:00:31.224Z] f23df028b6ca: Verifying Checksum [2023-07-19T21:00:31.224Z] f23df028b6ca: Download complete [2023-07-19T21:00:31.224Z] d65c8cfc05b1: Verifying Checksum [2023-07-19T21:00:31.224Z] d65c8cfc05b1: Download complete [2023-07-19T21:00:31.224Z] 699f458cf7ca: Verifying Checksum [2023-07-19T21:00:31.224Z] 699f458cf7ca: Download complete [2023-07-19T21:00:31.810Z] 8998bd30e6a1: Verifying Checksum [2023-07-19T21:00:31.810Z] 8998bd30e6a1: Download complete [2023-07-19T21:00:33.761Z] 2437ff75d9bd: Verifying Checksum [2023-07-19T21:00:33.761Z] 2437ff75d9bd: Download complete [2023-07-19T21:00:35.703Z] 8998bd30e6a1: Pull complete [2023-07-19T21:00:39.951Z] 04944245beec: Pull complete [2023-07-19T21:00:40.541Z] 699f458cf7ca: Pull complete [2023-07-19T21:00:40.807Z] 765212b225bb: Pull complete [2023-07-19T21:00:41.391Z] f23df028b6ca: Pull complete [2023-07-19T21:00:41.659Z] d65c8cfc05b1: Pull complete [2023-07-19T21:00:56.660Z] 2437ff75d9bd: Pull complete [2023-07-19T21:00:56.660Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-19T21:00:56.660Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-19T21:00:56.660Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T21:00:56.846Z] prd-ubuntu20.04-docker-arm64-4c-16g-1582 does not seem to be running inside a container [2023-07-19T21:00:56.921Z] $ 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/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-19T21:00:59.453Z] $ docker top 3d02b0d3b76c5708e31af635749d88ca5f61d59573778659d1e53aa88ce2492b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T21:01:00.258Z] ---> job-cost.sh [2023-07-19T21:01:00.258Z] lf-activate-venv: SKIPPING [2023-07-19T21:01:00.258Z] INFO: No Stack... [2023-07-19T21:01:00.835Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-19T21:01:01.413Z] INFO: Archiving Costs [Pipeline] sh [2023-07-19T21:01:02.050Z] + cat /w/workspace/device-sdk-go/15/archives/cost.csv [2023-07-19T21:01:02.050Z] + cut -d, -f6 [Pipeline] lock [2023-07-19T21:01:02.088Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1471-15-stack-cost] [2023-07-19T21:01:02.095Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1471-15-stack-cost] did not exist. Created. [2023-07-19T21:01:02.095Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1471-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-19T21:01:02.746Z] /w/workspace/device-sdk-go/15@tmp/durable-e0bb37e1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-19T21:01:03.391Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-19T21:01:03.412Z] Warning: overwriting stash ‘stack-cost’ [2023-07-19T21:01:03.487Z] Stashed 1 file(s) [Pipeline] } [2023-07-19T21:01:03.493Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1471-15-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-19T21:01:03.525Z] $ docker stop --time=1 3d02b0d3b76c5708e31af635749d88ca5f61d59573778659d1e53aa88ce2492b [2023-07-19T21:01:05.424Z] $ docker rm -f --volumes 3d02b0d3b76c5708e31af635749d88ca5f61d59573778659d1e53aa88ce2492b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-07-19T21:01:05.809Z] provisioning config files... [2023-07-19T21:01:05.817Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/config8684194137732705068tmp [Pipeline] { [Pipeline] sh [2023-07-19T21:01:06.113Z] + set +x [2023-07-19T21:01:06.113Z] + curl -s https://codecov.io/bash [2023-07-19T21:01:06.113Z] + bash -s -- [2023-07-19T21:01:06.113Z] [2023-07-19T21:01:06.113Z] _____ _ [2023-07-19T21:01:06.113Z] / ____| | | [2023-07-19T21:01:06.113Z] | | ___ __| | ___ ___ _____ __ [2023-07-19T21:01:06.113Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-19T21:01:06.113Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-19T21:01:06.113Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-19T21:01:06.113Z] Bash-1.0.6 [2023-07-19T21:01:06.113Z] [2023-07-19T21:01:06.113Z] [2023-07-19T21:01:06.113Z] ==> git version 2.25.1 found [2023-07-19T21:01:06.113Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-07-19T21:01:06.113Z] Release-Date: 2020-01-08 [2023-07-19T21:01:06.113Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-07-19T21:01:06.113Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-19T21:01:06.113Z] ==> Jenkins CI detected. [2023-07-19T21:01:06.113Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1471 [2023-07-19T21:01:06.113Z] project root: . [2023-07-19T21:01:06.113Z] --> token set from env [2023-07-19T21:01:06.113Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-19T21:01:06.113Z] ==> Running gcov in . (disable via -X gcov) [2023-07-19T21:01:06.113Z] ==> Python coveragepy not found [2023-07-19T21:01:06.113Z] ==> Searching for coverage reports in: [2023-07-19T21:01:06.113Z] + . [2023-07-19T21:01:06.113Z] -> Found 1 reports [2023-07-19T21:01:06.113Z] ==> Detecting git/mercurial file structure [2023-07-19T21:01:06.373Z] ==> Reading reports [2023-07-19T21:01:06.373Z] + ./coverage.out bytes=119519 [2023-07-19T21:01:06.373Z] ==> Appending adjustments [2023-07-19T21:01:06.373Z] https://docs.codecov.io/docs/fixing-reports [2023-07-19T21:01:06.632Z] + Found adjustments [2023-07-19T21:01:06.632Z] ==> Gzipping contents [2023-07-19T21:01:06.632Z] 16K /tmp/codecov.IqvUTW.gz [2023-07-19T21:01:06.632Z] ==> Uploading reports [2023-07-19T21:01:06.632Z] url: https://codecov.io [2023-07-19T21:01:06.632Z] query: branch=PR-1471&commit=7bae8fa0f4e90ceb1ec90c1d543255b789387e3e&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1471%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1471&job=&cmd_args= [2023-07-19T21:01:06.632Z] -> Pinging Codecov [2023-07-19T21:01:06.632Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1471&commit=7bae8fa0f4e90ceb1ec90c1d543255b789387e3e&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1471%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1471&job=&cmd_args= [2023-07-19T21:01:06.892Z] -> Uploading to [2023-07-19T21:01:06.892Z] https://storage.googleapis.com/codecov/v4/raw/2023-07-19/7E55EF52A471D76F132DFD9A03CDDE97/7bae8fa0f4e90ceb1ec90c1d543255b789387e3e/3f265845-5675-4a3f-995e-33cacbda98cc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230719%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230719T210106Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3cc27fad665ea1fbb3b9924bb080a1ad6fba2a88aa8e240baffc6412f10d340c [2023-07-19T21:01:06.892Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-19T21:01:06.892Z] Dload Upload Total Spent Left Speed [2023-07-19T21:01:06.892Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16365 0 0 100 16365 0 82651 --:--:-- --:--:-- --:--:-- 82651 [2023-07-19T21:01:06.892Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/7bae8fa0f4e90ceb1ec90c1d543255b789387e3e [Pipeline] } [2023-07-19T21:01:06.900Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-07-19T21:01:07.647Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives ] [2023-07-19T21:01:07.647Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives [2023-07-19T21:01:07.647Z] total 16 [2023-07-19T21:01:07.647Z] drwxr-xr-x 3 root root 4096 Jul 19 20:50 . [2023-07-19T21:01:07.647Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 20:50 .. [2023-07-19T21:01:07.647Z] drwxr-xr-x 2 root root 4096 Jul 19 20:50 cost [2023-07-19T21:01:07.647Z] -rw-r--r-- 1 root root 87 Jul 19 20:50 cost.csv [2023-07-19T21:01:07.647Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives [2023-07-19T21:01:07.647Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives [2023-07-19T21:01:07.647Z] total 16 [2023-07-19T21:01:07.647Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 20:50 . [2023-07-19T21:01:07.648Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 20:50 .. [2023-07-19T21:01:07.648Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 20:50 cost [2023-07-19T21:01:07.648Z] -rw-r--r-- 1 jenkins jenkins 87 Jul 19 20:50 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-19T21:01:07.941Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T21:01:08.799Z] ---> package-listing.sh [2023-07-19T21:01:08.800Z] ++ facter osfamily [2023-07-19T21:01:08.800Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-19T21:01:09.059Z] + OS_FAMILY=debian [2023-07-19T21:01:09.059Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1471 [2023-07-19T21:01:09.059Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-19T21:01:09.059Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-19T21:01:09.059Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-19T21:01:09.059Z] + PACKAGES=/tmp/packages_start.txt [2023-07-19T21:01:09.059Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1471 ']' [2023-07-19T21:01:09.059Z] + PACKAGES=/tmp/packages_end.txt [2023-07-19T21:01:09.059Z] + case "${OS_FAMILY}" in [2023-07-19T21:01:09.059Z] + dpkg -l [2023-07-19T21:01:09.059Z] + grep '^ii' [2023-07-19T21:01:09.059Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-19T21:01:09.059Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-19T21:01:09.059Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-19T21:01:09.059Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1471 ']' [2023-07-19T21:01:09.059Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives/ [2023-07-19T21:01:09.059Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives/ [Pipeline] echo [2023-07-19T21:01:09.071Z] 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-1471/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-19T21:01:09.346Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T21:01:09.906Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T21:01:09.907Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T21:01:09.977Z] prd-ubuntu20.04-docker-8c-8g-1581 does not seem to be running inside a container [2023-07-19T21:01:10.003Z] $ 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-1471/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-1471 -v /w/workspace/gexfoundry_device-sdk-go_PR-1471:/w/workspace/gexfoundry_device-sdk-go_PR-1471:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-19T21:01:10.171Z] $ docker top 916bc487e6d76bc52f167a89684398e7ff74b080b4f8953b07bb13e22db0a477 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T21:01:10.518Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-19T21:01:10.802Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-19T21:01:11.087Z] + ls /var/log/sa-host [2023-07-19T21:01:11.087Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-19T21:01:11.232Z] provisioning config files... [2023-07-19T21:01:11.241Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/config15839118727046954270tmp [Pipeline] { [Pipeline] echo [2023-07-19T21:01:11.252Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T21:01:11.534Z] ---> create-netrc.sh [Pipeline] } [2023-07-19T21:01:11.542Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-19T21:01:11.870Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-19T21:01:11.878Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T21:01:12.159Z] ---> sudo-logs.sh [2023-07-19T21:01:12.159Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-19T21:01:12.187Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T21:01:12.472Z] ---> job-cost.sh [2023-07-19T21:01:12.473Z] lf-activate-venv: SKIPPING [2023-07-19T21:01:12.473Z] DEBUG: total: 0.2199999988079071 [2023-07-19T21:01:12.473Z] INFO: Retrieving Stack Cost... [2023-07-19T21:01:12.733Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-19T21:01:13.302Z] INFO: Archiving Costs [Pipeline] echo [2023-07-19T21:01:13.313Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T21:01:13.598Z] ---> logs-deploy.sh [2023-07-19T21:01:13.598Z] lf-activate-venv: SKIPPING [2023-07-19T21:01:13.598Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1471/15 [2023-07-19T21:01:13.598Z] INFO: archiving workspace using pattern(s): [2023-07-19T21:01:14.538Z] Archives upload complete. [2023-07-19T21:01:14.538Z] INFO: archiving logs to Nexus