Pull request #1326 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 marcpfuller for edgexfoundry/device-sdk-go Loading trusted files from base branch main at cf150bd1006c505b2559d8970edbe52dd5fe7567 rather than 76cf874e5a4c502767114360369306a3defd879c Obtained Jenkinsfile from cf150bd1006c505b2559d8970edbe52dd5fe7567 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-ssh10469269244284306897.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh3899395047932792290.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-1326/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-1326/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14389946844826932773.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh8599336286689450838.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-1326/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-1326/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14919603516254138939.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.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6317’ Running on prd-ubuntu20.04-docker-8c-8g-6319 in /w/workspace/gexfoundry_device-sdk-go_PR-1326 [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-1326 # 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/1326/head:refs/remotes/origin/PR-1326 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit cf150bd1006c505b2559d8970edbe52dd5fe7567 into PR head commit 76cf874e5a4c502767114360369306a3defd879c Merge succeeded, producing 76cf874e5a4c502767114360369306a3defd879c Checking out Revision 76cf874e5a4c502767114360369306a3defd879c (PR-1326) > git config core.sparsecheckout # timeout=10 > git checkout -f 76cf874e5a4c502767114360369306a3defd879c # 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 cf150bd1006c505b2559d8970edbe52dd5fe7567 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 76cf874e5a4c502767114360369306a3defd879c # timeout=10 Commit message: "build(deps)!: Upgrade contracts mod to update /secret DTO" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-16T18:48:58.571Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-16T18:48:58.633Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-16T18:48:58.654Z] ========================================================= [2023-02-16T18:48:58.654Z] EdgeX Global Pipelines Version Info [2023-02-16T18:48:58.654Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ff237a0cd73e638504897f1a7bec215d61e05109 # timeout=10 [2023-02-16T18:48:59.365Z] ------------------- [2023-02-16T18:48:59.365Z] stable info: [2023-02-16T18:48:59.365Z] ------------------- [2023-02-16T18:48:59.365Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-16T18:48:59.365Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-16T18:48:59.365Z] Message: update stable to v1.0.244 [2023-02-16T18:48:59.936Z] ------------------- [2023-02-16T18:48:59.936Z] experimental info: [2023-02-16T18:48:59.936Z] ------------------- [2023-02-16T18:48:59.936Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-16T18:48:59.936Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-16T18:48:59.936Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-16T18:49:00.084Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-16T18:49:00.096Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-16T18:49:00.109Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-16T18:49:00.129Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-16T18:49:00.145Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-16T18:49:00.164Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-16T18:49:00.183Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-16T18:49:00.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-16T18:49:00.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-16T18:49:00.230Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-16T18:49:00.243Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-16T18:49:00.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-16T18:49:00.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-16T18:49:00.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-16T18:49:00.315Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-16T18:49:00.334Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-16T18:49:00.352Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-16T18:49:00.368Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-16T18:49:00.378Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-16T18:49:00.394Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-16T18:49:00.407Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-16T18:49:00.424Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-16T18:49:00.439Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-16T18:49:00.454Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-16T18:49:00.468Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-16T18:49:00.482Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-16T18:49:00.496Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-16T18:49:00.509Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1326 [Pipeline] echo [2023-02-16T18:49:00.522Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1326 [Pipeline] echo [2023-02-16T18:49:00.538Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1326 [Pipeline] echo [2023-02-16T18:49:00.550Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 76cf874e5a4c502767114360369306a3defd879c [Pipeline] echo [2023-02-16T18:49:00.561Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 76cf874 [Pipeline] echo [2023-02-16T18:49:00.570Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-16T18:49:00.619Z] provisioning config files... [2023-02-16T18:49:00.633Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1326@tmp/config12727102757264662424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T18:49:00.954Z] ---> docker-login.sh [2023-02-16T18:49:00.955Z] nexus3.edgexfoundry.org:10001 [2023-02-16T18:49:00.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T18:49:01.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T18:49:01.215Z] Configure a credential helper to remove this warning. See [2023-02-16T18:49:01.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T18:49:01.215Z] [2023-02-16T18:49:01.215Z] Login Succeeded [2023-02-16T18:49:01.215Z] nexus3.edgexfoundry.org:10002 [2023-02-16T18:49:01.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T18:49:01.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T18:49:01.476Z] Configure a credential helper to remove this warning. See [2023-02-16T18:49:01.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T18:49:01.476Z] [2023-02-16T18:49:01.476Z] Login Succeeded [2023-02-16T18:49:01.476Z] nexus3.edgexfoundry.org:10003 [2023-02-16T18:49:01.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T18:49:01.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T18:49:01.476Z] Configure a credential helper to remove this warning. See [2023-02-16T18:49:01.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T18:49:01.476Z] [2023-02-16T18:49:01.476Z] Login Succeeded [2023-02-16T18:49:01.476Z] nexus3.edgexfoundry.org:10004 [2023-02-16T18:49:01.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T18:49:01.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T18:49:01.476Z] Configure a credential helper to remove this warning. See [2023-02-16T18:49:01.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T18:49:01.476Z] [2023-02-16T18:49:01.476Z] Login Succeeded [2023-02-16T18:49:01.476Z] docker.io [2023-02-16T18:49:01.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T18:49:01.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T18:49:01.998Z] Configure a credential helper to remove this warning. See [2023-02-16T18:49:01.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T18:49:01.998Z] [2023-02-16T18:49:01.998Z] Login Succeeded [2023-02-16T18:49:01.998Z] ---> docker-login.sh ends [Pipeline] } [2023-02-16T18:49:02.007Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-16T18:49:02.399Z] + git rev-list -1 --merges 76cf874e5a4c502767114360369306a3defd879c~1..76cf874e5a4c502767114360369306a3defd879c [Pipeline] echo [2023-02-16T18:49:02.451Z] -----------> git rev-list -1 --merges 76cf874e5a4c502767114360369306a3defd879c~1..76cf874e5a4c502767114360369306a3defd879c 76cf874e5a4c502767114360369306a3defd879c [false] [Pipeline] sh [2023-02-16T18:49:02.736Z] + git log --format=format:%s -1 76cf874e5a4c502767114360369306a3defd879c [Pipeline] echo [2023-02-16T18:49:02.751Z] ========================================================= [2023-02-16T18:49:02.751Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-16T18:49:02.751Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-16T18:49:03.087Z] + git log --format=format:%s -1 76cf874e5a4c502767114360369306a3defd879c [Pipeline] echo [2023-02-16T18:49:03.105Z] [semverPrep] GIT_COMMIT: 76cf874e5a4c502767114360369306a3defd879c, Commit Message: build(deps)!: Upgrade contracts mod to update /secret DTO [Pipeline] echo [2023-02-16T18:49:03.115Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-16T18:49:03.453Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-16T18:49:03.453Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-16T18:49:03.453Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-16T18:49:03.453Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-16T18:49:03.453Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-16T18:49:03.453Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-16T18:49:03.453Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T18:49:03.801Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-16T18:49:03.801Z] [2023-02-16T18:49:03.801Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T18:49:04.111Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-16T18:49:04.111Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-16T18:49:04.111Z] b85a868b505f: Pulling fs layer [2023-02-16T18:49:04.111Z] e2be974225ed: Pulling fs layer [2023-02-16T18:49:04.111Z] 339a4e72a1f5: Pulling fs layer [2023-02-16T18:49:04.111Z] 988bab9f4d93: Pulling fs layer [2023-02-16T18:49:04.111Z] 1469e6f7b9e6: Pulling fs layer [2023-02-16T18:49:04.111Z] eaf3925da568: Pulling fs layer [2023-02-16T18:49:04.111Z] bab4dde63d76: Pulling fs layer [2023-02-16T18:49:04.111Z] bde34c3a00c8: Pulling fs layer [2023-02-16T18:49:04.111Z] b352a97aabf1: Pulling fs layer [2023-02-16T18:49:04.111Z] 4872d77fe225: Pulling fs layer [2023-02-16T18:49:04.111Z] 5851b861e8e6: Pulling fs layer [2023-02-16T18:49:04.111Z] 988bab9f4d93: Waiting [2023-02-16T18:49:04.111Z] 1469e6f7b9e6: Waiting [2023-02-16T18:49:04.111Z] eaf3925da568: Waiting [2023-02-16T18:49:04.111Z] bab4dde63d76: Waiting [2023-02-16T18:49:04.111Z] bde34c3a00c8: Waiting [2023-02-16T18:49:04.111Z] b352a97aabf1: Waiting [2023-02-16T18:49:04.111Z] 4872d77fe225: Waiting [2023-02-16T18:49:04.111Z] 5851b861e8e6: Waiting [2023-02-16T18:49:04.111Z] e2be974225ed: Verifying Checksum [2023-02-16T18:49:04.111Z] e2be974225ed: Download complete [2023-02-16T18:49:04.111Z] 988bab9f4d93: Verifying Checksum [2023-02-16T18:49:04.111Z] 988bab9f4d93: Download complete [2023-02-16T18:49:04.379Z] 1469e6f7b9e6: Verifying Checksum [2023-02-16T18:49:04.379Z] 1469e6f7b9e6: Download complete [2023-02-16T18:49:04.379Z] eaf3925da568: Verifying Checksum [2023-02-16T18:49:04.379Z] eaf3925da568: Download complete [2023-02-16T18:49:04.379Z] 339a4e72a1f5: Verifying Checksum [2023-02-16T18:49:04.379Z] 339a4e72a1f5: Download complete [2023-02-16T18:49:04.379Z] bde34c3a00c8: Verifying Checksum [2023-02-16T18:49:04.379Z] bde34c3a00c8: Download complete [2023-02-16T18:49:04.642Z] b352a97aabf1: Download complete [2023-02-16T18:49:04.642Z] 4872d77fe225: Verifying Checksum [2023-02-16T18:49:04.642Z] 4872d77fe225: Download complete [2023-02-16T18:49:04.642Z] 5851b861e8e6: Download complete [2023-02-16T18:49:04.642Z] b85a868b505f: Verifying Checksum [2023-02-16T18:49:04.642Z] b85a868b505f: Download complete [2023-02-16T18:49:04.908Z] bab4dde63d76: Verifying Checksum [2023-02-16T18:49:04.908Z] bab4dde63d76: Download complete [2023-02-16T18:49:05.844Z] b85a868b505f: Pull complete [2023-02-16T18:49:06.104Z] e2be974225ed: Pull complete [2023-02-16T18:49:06.674Z] 339a4e72a1f5: Pull complete [2023-02-16T18:49:06.674Z] 988bab9f4d93: Pull complete [2023-02-16T18:49:06.933Z] 1469e6f7b9e6: Pull complete [2023-02-16T18:49:06.934Z] eaf3925da568: Pull complete [2023-02-16T18:49:08.842Z] bab4dde63d76: Pull complete [2023-02-16T18:49:08.842Z] bde34c3a00c8: Pull complete [2023-02-16T18:49:08.842Z] b352a97aabf1: Pull complete [2023-02-16T18:49:09.102Z] 4872d77fe225: Pull complete [2023-02-16T18:49:09.102Z] 5851b861e8e6: Pull complete [2023-02-16T18:49:09.102Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-16T18:49:09.102Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-16T18:49:09.102Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T18:49:09.197Z] prd-ubuntu20.04-docker-8c-8g-6319 does not seem to be running inside a container [2023-02-16T18:49:09.245Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1326 -v /w/workspace/gexfoundry_device-sdk-go_PR-1326:/w/workspace/gexfoundry_device-sdk-go_PR-1326:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1326@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1326@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-02-16T18:49:12.553Z] $ docker top 1a368f23563907dbbccf17c2485c4f162e160937e4301e21ca5b754bb4805c6c -eo pid,comm [2023-02-16T18:49:12.626Z] 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-02-16T18:49:12.626Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-16T18:49:12.657Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-16T18:49:12.657Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-16T18:49:12.771Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-16T18:49:12.759Z] $ docker exec 1a368f23563907dbbccf17c2485c4f162e160937e4301e21ca5b754bb4805c6c ssh-agent [2023-02-16T18:49:12.899Z] SSH_AUTH_SOCK=/tmp/ssh-Wdmwgwtjns7j/agent.32 [2023-02-16T18:49:12.899Z] SSH_AGENT_PID=38 [2023-02-16T18:49:12.906Z] Running ssh-add (command line suppressed) [2023-02-16T18:49:12.994Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1326@tmp/private_key_1816892330952990902.key (/w/workspace/gexfoundry_device-sdk-go_PR-1326@tmp/private_key_1816892330952990902.key) [2023-02-16T18:49:13.025Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-16T18:49:13.315Z] + git tag --points-at HEAD [Pipeline] } [2023-02-16T18:49:13.313Z] $ docker exec --env ******** --env ******** 1a368f23563907dbbccf17c2485c4f162e160937e4301e21ca5b754bb4805c6c ssh-agent -k [2023-02-16T18:49:13.408Z] unset SSH_AUTH_SOCK; [2023-02-16T18:49:13.408Z] unset SSH_AGENT_PID; [2023-02-16T18:49:13.409Z] echo Agent pid 38 killed; [2023-02-16T18:49:13.434Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-16T18:49:13.460Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-16T18:49:13.460Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-16T18:49:13.568Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-16T18:49:13.555Z] $ docker exec 1a368f23563907dbbccf17c2485c4f162e160937e4301e21ca5b754bb4805c6c ssh-agent [2023-02-16T18:49:13.683Z] SSH_AUTH_SOCK=/tmp/ssh-iHucqWimwrz3/agent.70 [2023-02-16T18:49:13.683Z] SSH_AGENT_PID=76 [2023-02-16T18:49:13.687Z] Running ssh-add (command line suppressed) [2023-02-16T18:49:13.780Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1326@tmp/private_key_5131967924818174001.key (/w/workspace/gexfoundry_device-sdk-go_PR-1326@tmp/private_key_5131967924818174001.key) [2023-02-16T18:49:13.811Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-16T18:49:14.103Z] + git semver init [2023-02-16T18:49:14.362Z] 2023-02-16 18:49:14,292 [run_init] DEBUG init version:0.0.0 force:False [2023-02-16T18:49:14.362Z] 2023-02-16 18:49:14,293 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1326/.semver [2023-02-16T18:49:14.362Z] 2023-02-16 18:49:14,293 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1326/.semver [2023-02-16T18:49:14.362Z] 2023-02-16 18:49:14,293 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1326/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1326, universal_newlines=False, shell=None, istream=None) [2023-02-16T18:49:15.745Z] 2023-02-16 18:49:15,423 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1326/.git/info/exclude [2023-02-16T18:49:15.745Z] 2023-02-16 18:49:15,424 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1326/.semver/PR-1326 with force:False [2023-02-16T18:49:15.745Z] 2023-02-16 18:49:15,424 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1326/.semver/PR-1326 [2023-02-16T18:49:15.745Z] 2023-02-16 18:49:15,426 [execute] INFO git cat-file --batch-check [2023-02-16T18:49:15.745Z] 2023-02-16 18:49:15,427 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1326/.semver, universal_newlines=False, shell=None, istream=) [2023-02-16T18:49:15.745Z] 2023-02-16 18:49:15,432 [execute] INFO git cat-file --batch [2023-02-16T18:49:15.745Z] 2023-02-16 18:49:15,432 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1326/.semver, universal_newlines=False, shell=None, istream=) [2023-02-16T18:49:15.745Z] 2023-02-16 18:49:15,437 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1326/.semver/PR-1326 [2023-02-16T18:49:15.745Z] 0.0.0 [Pipeline] } [2023-02-16T18:49:15.742Z] $ docker exec --env ******** --env ******** 1a368f23563907dbbccf17c2485c4f162e160937e4301e21ca5b754bb4805c6c ssh-agent -k [2023-02-16T18:49:15.841Z] unset SSH_AUTH_SOCK; [2023-02-16T18:49:15.842Z] unset SSH_AGENT_PID; [2023-02-16T18:49:15.843Z] echo Agent pid 76 killed; [2023-02-16T18:49:15.865Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-16T18:49:16.167Z] + git semver [Pipeline] } [2023-02-16T18:49:16.428Z] $ docker stop --time=1 1a368f23563907dbbccf17c2485c4f162e160937e4301e21ca5b754bb4805c6c [2023-02-16T18:49:17.708Z] $ docker rm -f --volumes 1a368f23563907dbbccf17c2485c4f162e160937e4301e21ca5b754bb4805c6c [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-16T18:49:18.063Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-16T18:49:18.305Z] Stashed 1 file(s) [Pipeline] echo [2023-02-16T18:49:18.308Z] [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-02-16T18:49:18.538Z] provisioning config files... [2023-02-16T18:49:18.548Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1326@tmp/config12230915031383989313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T18:49:18.848Z] ---> docker-login.sh [2023-02-16T18:49:18.848Z] nexus3.edgexfoundry.org:10001 [2023-02-16T18:49:18.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T18:49:18.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T18:49:18.848Z] Configure a credential helper to remove this warning. See [2023-02-16T18:49:18.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T18:49:18.848Z] [2023-02-16T18:49:18.848Z] Login Succeeded [2023-02-16T18:49:18.848Z] nexus3.edgexfoundry.org:10002 [2023-02-16T18:49:18.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T18:49:19.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T18:49:19.108Z] Configure a credential helper to remove this warning. See [2023-02-16T18:49:19.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T18:49:19.108Z] [2023-02-16T18:49:19.108Z] Login Succeeded [2023-02-16T18:49:19.108Z] nexus3.edgexfoundry.org:10003 [2023-02-16T18:49:19.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T18:49:19.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T18:49:19.108Z] Configure a credential helper to remove this warning. See [2023-02-16T18:49:19.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T18:49:19.108Z] [2023-02-16T18:49:19.108Z] Login Succeeded [2023-02-16T18:49:19.108Z] nexus3.edgexfoundry.org:10004 [2023-02-16T18:49:19.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T18:49:19.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T18:49:19.367Z] Configure a credential helper to remove this warning. See [2023-02-16T18:49:19.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T18:49:19.367Z] [2023-02-16T18:49:19.367Z] Login Succeeded [2023-02-16T18:49:19.367Z] docker.io [2023-02-16T18:49:19.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T18:49:19.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T18:49:19.626Z] Configure a credential helper to remove this warning. See [2023-02-16T18:49:19.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T18:49:19.626Z] [2023-02-16T18:49:19.626Z] Login Succeeded [2023-02-16T18:49:19.626Z] ---> docker-login.sh ends [Pipeline] } [2023-02-16T18:49:19.634Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-16T18:49:19.694Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T18:49:19.712Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T18:49:19.722Z] ========================================================= [2023-02-16T18:49:19.722Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-16T18:49:19.722Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T18:49:20.043Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-16T18:49:20.043Z] Sending build context to Docker daemon 10.5MB [2023-02-16T18:49:20.043Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-16T18:49:20.043Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-16T18:49:20.306Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-16T18:49:20.306Z] 213ec9aee27d: Pulling fs layer [2023-02-16T18:49:20.306Z] 4583459ba037: Pulling fs layer [2023-02-16T18:49:20.306Z] 93c1e223e6f2: Pulling fs layer [2023-02-16T18:49:20.306Z] 53926ce57604: Pulling fs layer [2023-02-16T18:49:20.306Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-16T18:49:20.306Z] 22ff95d597cd: Pulling fs layer [2023-02-16T18:49:20.306Z] 12d6caf4c0d1: Pulling fs layer [2023-02-16T18:49:20.306Z] 96b7cbca73a9: Pulling fs layer [2023-02-16T18:49:20.306Z] a7acece74701: Pulling fs layer [2023-02-16T18:49:20.306Z] 53926ce57604: Waiting [2023-02-16T18:49:20.306Z] 21b2b0c7a3f4: Waiting [2023-02-16T18:49:20.306Z] 22ff95d597cd: Waiting [2023-02-16T18:49:20.306Z] 96b7cbca73a9: Waiting [2023-02-16T18:49:20.306Z] 12d6caf4c0d1: Waiting [2023-02-16T18:49:20.306Z] a7acece74701: Waiting [2023-02-16T18:49:20.306Z] 93c1e223e6f2: Verifying Checksum [2023-02-16T18:49:20.306Z] 93c1e223e6f2: Download complete [2023-02-16T18:49:20.306Z] 4583459ba037: Download complete [2023-02-16T18:49:20.306Z] 21b2b0c7a3f4: Download complete [2023-02-16T18:49:20.306Z] 22ff95d597cd: Verifying Checksum [2023-02-16T18:49:20.306Z] 22ff95d597cd: Download complete [2023-02-16T18:49:20.306Z] 213ec9aee27d: Verifying Checksum [2023-02-16T18:49:20.306Z] 213ec9aee27d: Download complete [2023-02-16T18:49:20.306Z] 12d6caf4c0d1: Verifying Checksum [2023-02-16T18:49:20.306Z] 12d6caf4c0d1: Download complete [2023-02-16T18:49:20.570Z] 213ec9aee27d: Pull complete [2023-02-16T18:49:20.570Z] 4583459ba037: Pull complete [2023-02-16T18:49:20.846Z] 93c1e223e6f2: Pull complete [2023-02-16T18:49:21.119Z] a7acece74701: Verifying Checksum [2023-02-16T18:49:21.119Z] a7acece74701: Download complete [2023-02-16T18:49:21.703Z] 53926ce57604: Download complete [2023-02-16T18:49:21.703Z] 96b7cbca73a9: Download complete [2023-02-16T18:49:25.889Z] 53926ce57604: Pull complete [2023-02-16T18:49:25.889Z] 21b2b0c7a3f4: Pull complete [2023-02-16T18:49:25.889Z] 22ff95d597cd: Pull complete [2023-02-16T18:49:25.889Z] 12d6caf4c0d1: Pull complete [2023-02-16T18:49:28.422Z] 96b7cbca73a9: Pull complete [2023-02-16T18:49:28.991Z] a7acece74701: Pull complete [2023-02-16T18:49:28.991Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-16T18:49:28.991Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-16T18:49:28.991Z] ---> db6d94c90886 [2023-02-16T18:49:28.991Z] Step 3/10 : ARG MAKE=make build [2023-02-16T18:49:33.498Z] Still waiting to schedule task [2023-02-16T18:49:33.498Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6318’ [2023-02-16T18:49:35.566Z] ---> Running in b226eba07346 [2023-02-16T18:49:35.566Z] Removing intermediate container b226eba07346 [2023-02-16T18:49:35.566Z] ---> 1bfaf0b02015 [2023-02-16T18:49:35.566Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-16T18:49:35.566Z] ---> Running in ae5bed3dda11 [2023-02-16T18:49:35.566Z] Removing intermediate container ae5bed3dda11 [2023-02-16T18:49:35.566Z] ---> 73e15234e7d3 [2023-02-16T18:49:35.566Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-16T18:49:35.566Z] ---> Running in 001ef06d7848 [2023-02-16T18:49:35.566Z] Removing intermediate container 001ef06d7848 [2023-02-16T18:49:35.566Z] ---> b61ac430e1a8 [2023-02-16T18:49:35.566Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-16T18:49:35.566Z] ---> Running in debcbaaf22bb [2023-02-16T18:49:35.566Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-16T18:49:35.566Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-16T18:49:35.826Z] OK: 211 MiB in 51 packages [2023-02-16T18:49:36.086Z] Removing intermediate container debcbaaf22bb [2023-02-16T18:49:36.086Z] ---> 20876fecd5c3 [2023-02-16T18:49:36.086Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-16T18:49:36.345Z] ---> 809f94fad949 [2023-02-16T18:49:36.345Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-16T18:49:36.345Z] ---> Running in 22823acebcd9 [2023-02-16T18:50:23.069Z] Removing intermediate container 22823acebcd9 [2023-02-16T18:50:23.069Z] ---> 05557e44beb5 [2023-02-16T18:50:23.069Z] Step 9/10 : COPY . . [2023-02-16T18:50:23.069Z] ---> d272bccd2481 [2023-02-16T18:50:23.069Z] Step 10/10 : RUN ${MAKE} [2023-02-16T18:50:23.069Z] ---> Running in d4f539d882bd [2023-02-16T18:50:23.069Z] noop [2023-02-16T18:50:23.069Z] Removing intermediate container d4f539d882bd [2023-02-16T18:50:23.069Z] ---> fa8c535095f6 [2023-02-16T18:50:23.069Z] Successfully built fa8c535095f6 [2023-02-16T18:50:23.069Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T18:50:23.381Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-16T18:50:23.381Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T18:50:23.447Z] prd-ubuntu20.04-docker-8c-8g-6319 does not seem to be running inside a container [2023-02-16T18:50:23.465Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1326 -v /w/workspace/gexfoundry_device-sdk-go_PR-1326:/w/workspace/gexfoundry_device-sdk-go_PR-1326:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1326@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1326@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-02-16T18:50:23.804Z] $ docker top 1e13611039e6650e6cea82ebf39f7408b29dd2e5feaac9713fa722e99e01e712 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T18:50:24.158Z] + go version [2023-02-16T18:50:24.159Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-16T18:50:24.159Z] $ docker stop --time=1 1e13611039e6650e6cea82ebf39f7408b29dd2e5feaac9713fa722e99e01e712 [2023-02-16T18:50:25.462Z] $ docker rm -f --volumes 1e13611039e6650e6cea82ebf39f7408b29dd2e5feaac9713fa722e99e01e712 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T18:50:25.873Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-16T18:50:25.873Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T18:50:25.938Z] prd-ubuntu20.04-docker-8c-8g-6319 does not seem to be running inside a container [2023-02-16T18:50:25.960Z] $ 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-1326 -v /w/workspace/gexfoundry_device-sdk-go_PR-1326:/w/workspace/gexfoundry_device-sdk-go_PR-1326:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1326@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1326@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-02-16T18:50:26.313Z] $ docker top 71d9dc457a2688eaa6e0c2217a9bf63c810f0c2d655befd824b6e47f21019c91 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T18:50:26.670Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1326 [Pipeline] fileExists [Pipeline] sh [2023-02-16T18:50:26.959Z] + make test [2023-02-16T18:50:26.959Z] go test -race -coverprofile=coverage.out ./... [2023-02-16T18:50:33.518Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-16T18:50:48.385Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-16T18:50:48.385Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-16T18:50:48.385Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-16T18:50:48.385Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-16T18:50:48.385Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-16T18:50:48.385Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.053s coverage: 27.6% of statements [2023-02-16T18:50:48.385Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.071s coverage: 78.9% of statements [2023-02-16T18:50:48.385Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-16T18:50:48.385Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.086s coverage: 77.8% of statements [2023-02-16T18:50:48.385Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-16T18:50:48.385Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-16T18:50:48.385Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.108s coverage: 77.0% of statements [2023-02-16T18:50:48.385Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-16T18:50:48.385Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-16T18:50:48.385Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-16T18:50:48.385Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.084s coverage: 65.2% of statements [2023-02-16T18:50:48.385Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-16T18:50:48.385Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-16T18:50:48.385Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.758s coverage: 89.2% of statements [2023-02-16T18:50:48.385Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-16T18:50:48.385Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 4.7% of statements [2023-02-16T18:50:48.385Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-16T18:51:03.254Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-16T18:51:03.254Z] GO111MODULE=on go vet ./... [2023-02-16T18:51:06.534Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-16T18:51:06.534Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-16T18:51:06.534Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-16T18:51:06.804Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-16T18:51:06.783Z] $ docker stop --time=1 71d9dc457a2688eaa6e0c2217a9bf63c810f0c2d655befd824b6e47f21019c91 [2023-02-16T18:51:11.441Z] $ docker rm -f --volumes 71d9dc457a2688eaa6e0c2217a9bf63c810f0c2d655befd824b6e47f21019c91 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-16T18:51:11.996Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-16T18:51:12.062Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-16T18:51:12.509Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-16T18:51:12.798Z] + ls -al . [2023-02-16T18:51:12.798Z] total 272 [2023-02-16T18:51:12.798Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 16 18:50 . [2023-02-16T18:51:12.798Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 18:48 .. [2023-02-16T18:51:12.798Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 16 18:48 .dockerignore [2023-02-16T18:51:12.798Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 18:50 .git [2023-02-16T18:51:12.798Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 18:48 .github [2023-02-16T18:51:12.798Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 16 18:48 .gitignore [2023-02-16T18:51:12.798Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 16 18:48 .golangci.yml [2023-02-16T18:51:12.798Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 16 18:49 .semver [2023-02-16T18:51:12.798Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 16 18:48 CHANGELOG.md [2023-02-16T18:51:12.798Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 16 18:48 GOVERNANCE.md [2023-02-16T18:51:12.798Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 16 18:48 Jenkinsfile [2023-02-16T18:51:12.798Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 16 18:48 LICENSE [2023-02-16T18:51:12.798Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 16 18:48 Makefile [2023-02-16T18:51:12.798Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 16 18:48 OWNERS.md [2023-02-16T18:51:12.798Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 16 18:48 README.md [2023-02-16T18:51:12.798Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 16 18:49 VERSION [2023-02-16T18:51:12.798Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 18:48 bin [2023-02-16T18:51:12.798Z] -rw-r--r-- 1 jenkins jenkins 98701 Feb 16 18:50 coverage.out [2023-02-16T18:51:12.798Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 16 18:48 example [2023-02-16T18:51:12.798Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 16 18:48 go.mod [2023-02-16T18:51:12.798Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 16 18:48 go.sum [2023-02-16T18:51:12.798Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 16 18:48 internal [2023-02-16T18:51:12.798Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 18:48 openapi [2023-02-16T18:51:12.798Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 16 18:48 pkg [2023-02-16T18:51:12.798Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 18:48 snap [2023-02-16T18:51:12.798Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 16 18:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T18:51:13.133Z] + 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=76cf874e5a4c502767114360369306a3defd879c --label arch=amd64 --label version=0.0.0 . [2023-02-16T18:51:13.133Z] Sending build context to Docker daemon 10.6MB [2023-02-16T18:51:13.133Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-16T18:51:13.133Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-16T18:51:13.133Z] ---> fa8c535095f6 [2023-02-16T18:51:13.133Z] Step 3/23 : ARG MAKE=make build [2023-02-16T18:51:13.392Z] ---> Running in ef93b914143e [2023-02-16T18:51:13.650Z] Removing intermediate container ef93b914143e [2023-02-16T18:51:13.650Z] ---> 56e48c000818 [2023-02-16T18:51:13.650Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-16T18:51:13.650Z] ---> Running in db5871588f4f [2023-02-16T18:51:13.650Z] Removing intermediate container db5871588f4f [2023-02-16T18:51:13.650Z] ---> 52dabc18b557 [2023-02-16T18:51:13.650Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-16T18:51:13.650Z] ---> Running in 073930c414c0 [2023-02-16T18:51:13.650Z] Removing intermediate container 073930c414c0 [2023-02-16T18:51:13.650Z] ---> e5208266e7ea [2023-02-16T18:51:13.650Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-16T18:51:13.909Z] ---> Running in 12b4dd218889 [2023-02-16T18:51:14.168Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-16T18:51:14.168Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-16T18:51:14.737Z] OK: 211 MiB in 51 packages [2023-02-16T18:51:15.674Z] Removing intermediate container 12b4dd218889 [2023-02-16T18:51:15.674Z] ---> 4e39ca1c5117 [2023-02-16T18:51:15.674Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-16T18:51:15.674Z] ---> b1a2f6448d64 [2023-02-16T18:51:15.674Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-16T18:51:15.674Z] ---> Running in 6c800d19529a [2023-02-16T18:51:16.614Z] Removing intermediate container 6c800d19529a [2023-02-16T18:51:16.614Z] ---> 4bec8f4db3f8 [2023-02-16T18:51:16.614Z] Step 9/23 : COPY . . [2023-02-16T18:51:17.193Z] ---> 1ac79a49046a [2023-02-16T18:51:17.193Z] Step 10/23 : RUN ${MAKE} [2023-02-16T18:51:17.193Z] ---> Running in 098aa04fca78 [2023-02-16T18:51:17.453Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-16T18:51:39.400Z] Removing intermediate container 098aa04fca78 [2023-02-16T18:51:39.400Z] ---> 382065abba65 [2023-02-16T18:51:39.400Z] Step 11/23 : FROM alpine:3.16 [2023-02-16T18:51:39.400Z] 3.16: Pulling from library/alpine [2023-02-16T18:51:39.400Z] ef5531b6e74e: Pulling fs layer [2023-02-16T18:51:39.660Z] ef5531b6e74e: Download complete [2023-02-16T18:51:39.920Z] ef5531b6e74e: Pull complete [2023-02-16T18:51:39.920Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-16T18:51:39.920Z] Status: Downloaded newer image for alpine:3.16 [2023-02-16T18:51:39.920Z] ---> dfd21b5a31f5 [2023-02-16T18:51:39.920Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-16T18:51:39.920Z] ---> Running in 17d1b7b9fd00 [2023-02-16T18:51:40.179Z] Removing intermediate container 17d1b7b9fd00 [2023-02-16T18:51:40.179Z] ---> ce518454a204 [2023-02-16T18:51:40.179Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-16T18:51:40.179Z] ---> Running in bbb8e54f4a61 [2023-02-16T18:51:40.438Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-16T18:51:40.438Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-16T18:51:40.698Z] OK: 6 MiB in 14 packages [2023-02-16T18:51:40.957Z] Removing intermediate container bbb8e54f4a61 [2023-02-16T18:51:40.957Z] ---> 235c68731389 [2023-02-16T18:51:40.957Z] Step 14/23 : WORKDIR / [2023-02-16T18:51:40.957Z] ---> Running in d486af14dc85 [2023-02-16T18:51:40.957Z] Removing intermediate container d486af14dc85 [2023-02-16T18:51:40.957Z] ---> 0ea8c46d2648 [2023-02-16T18:51:40.957Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-16T18:51:41.216Z] ---> d7454b783df0 [2023-02-16T18:51:41.216Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-16T18:51:41.930Z] ---> 6618b10e5a64 [2023-02-16T18:51:41.930Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-16T18:51:41.930Z] ---> ef0729a599cf [2023-02-16T18:51:41.930Z] Step 18/23 : EXPOSE 59999 [2023-02-16T18:51:41.930Z] ---> Running in 9cfc1cdef877 [2023-02-16T18:51:41.930Z] Removing intermediate container 9cfc1cdef877 [2023-02-16T18:51:41.930Z] ---> f932a2edbe81 [2023-02-16T18:51:41.930Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-16T18:51:42.188Z] ---> Running in 1fc836cdf10b [2023-02-16T18:51:42.188Z] Removing intermediate container 1fc836cdf10b [2023-02-16T18:51:42.188Z] ---> 7e2bc1a33a0b [2023-02-16T18:51:42.188Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-16T18:51:42.188Z] ---> Running in 44e365a06603 [2023-02-16T18:51:42.188Z] Removing intermediate container 44e365a06603 [2023-02-16T18:51:42.188Z] ---> 375ef3d8c215 [2023-02-16T18:51:42.188Z] Step 21/23 : LABEL arch=amd64 [2023-02-16T18:51:42.188Z] ---> Running in 2907e2dd68ae [2023-02-16T18:51:42.453Z] Removing intermediate container 2907e2dd68ae [2023-02-16T18:51:42.453Z] ---> ed190478ef92 [2023-02-16T18:51:42.453Z] Step 22/23 : LABEL git_sha=76cf874e5a4c502767114360369306a3defd879c [2023-02-16T18:51:42.453Z] ---> Running in 621e22031d9b [2023-02-16T18:51:42.453Z] Removing intermediate container 621e22031d9b [2023-02-16T18:51:42.453Z] ---> bce92da30802 [2023-02-16T18:51:42.453Z] Step 23/23 : LABEL version=0.0.0 [2023-02-16T18:51:42.453Z] ---> Running in 1b71f7435d18 [2023-02-16T18:51:42.453Z] Removing intermediate container 1b71f7435d18 [2023-02-16T18:51:42.453Z] ---> 9aa5cd870e07 [2023-02-16T18:51:42.453Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-16T18:51:42.453Z] Successfully built 9aa5cd870e07 [2023-02-16T18:51:42.712Z] 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-02-16T18:51:43.150Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T18:51:43.151Z] [2023-02-16T18:51:43.151Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T18:51:43.456Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T18:51:43.456Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-16T18:51:43.456Z] 5eb5b503b376: Pulling fs layer [2023-02-16T18:51:43.456Z] 5c69ac0246d0: Pulling fs layer [2023-02-16T18:51:43.456Z] ec43610c2a17: Pulling fs layer [2023-02-16T18:51:43.456Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-16T18:51:43.456Z] 33b1e0a273af: Pulling fs layer [2023-02-16T18:51:43.456Z] 5d3b04190fa2: Pulling fs layer [2023-02-16T18:51:43.456Z] 2f39f015ded8: Pulling fs layer [2023-02-16T18:51:43.456Z] 3a2ae6a8a46f: Waiting [2023-02-16T18:51:43.456Z] 33b1e0a273af: Waiting [2023-02-16T18:51:43.456Z] 5d3b04190fa2: Waiting [2023-02-16T18:51:43.456Z] 2f39f015ded8: Waiting [2023-02-16T18:51:43.456Z] 5c69ac0246d0: Verifying Checksum [2023-02-16T18:51:43.456Z] 5c69ac0246d0: Download complete [2023-02-16T18:51:43.456Z] 3a2ae6a8a46f: Download complete [2023-02-16T18:51:43.722Z] 33b1e0a273af: Verifying Checksum [2023-02-16T18:51:43.722Z] 33b1e0a273af: Download complete [2023-02-16T18:51:43.722Z] ec43610c2a17: Verifying Checksum [2023-02-16T18:51:43.722Z] ec43610c2a17: Download complete [2023-02-16T18:51:43.722Z] 5d3b04190fa2: Verifying Checksum [2023-02-16T18:51:43.722Z] 5d3b04190fa2: Download complete [2023-02-16T18:51:43.982Z] 5eb5b503b376: Verifying Checksum [2023-02-16T18:51:43.982Z] 5eb5b503b376: Download complete [2023-02-16T18:51:44.550Z] 2f39f015ded8: Verifying Checksum [2023-02-16T18:51:44.550Z] 2f39f015ded8: Download complete [2023-02-16T18:51:45.117Z] 5eb5b503b376: Pull complete [2023-02-16T18:51:45.117Z] 5c69ac0246d0: Pull complete [2023-02-16T18:51:45.688Z] ec43610c2a17: Pull complete [2023-02-16T18:51:45.688Z] 3a2ae6a8a46f: Pull complete [2023-02-16T18:51:45.946Z] 33b1e0a273af: Pull complete [2023-02-16T18:51:45.946Z] 5d3b04190fa2: Pull complete [2023-02-16T18:51:50.144Z] 2f39f015ded8: Pull complete [2023-02-16T18:51:50.144Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-16T18:51:50.144Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T18:51:50.144Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T18:51:50.230Z] prd-ubuntu20.04-docker-8c-8g-6319 does not seem to be running inside a container [2023-02-16T18:51:50.225Z] $ 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-1326 -v /w/workspace/gexfoundry_device-sdk-go_PR-1326:/w/workspace/gexfoundry_device-sdk-go_PR-1326:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1326@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1326@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-02-16T18:51:54.863Z] $ docker top 4309dc00aef52e8c8e190d5ee0d78080fbfec1be185a4b4b13e938514bffec3b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T18:51:55.278Z] ---> job-cost.sh [2023-02-16T18:51:55.279Z] lf-activate-venv: SKIPPING [2023-02-16T18:51:55.279Z] INFO: No Stack... [2023-02-16T18:51:55.538Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-16T18:51:55.798Z] INFO: Archiving Costs [Pipeline] sh [2023-02-16T18:51:56.090Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1326/archives/cost.csv [2023-02-16T18:51:56.090Z] + cut -d, -f6 [Pipeline] lock [2023-02-16T18:51:56.113Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1326-2-stack-cost] [2023-02-16T18:51:56.120Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1326-2-stack-cost] did not exist. Created. [2023-02-16T18:51:56.120Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1326-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-16T18:51:56.424Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-16T18:51:56.450Z] Stashed 1 file(s) [Pipeline] } [2023-02-16T18:51:56.457Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1326-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-16T18:51:56.439Z] $ docker stop --time=1 4309dc00aef52e8c8e190d5ee0d78080fbfec1be185a4b4b13e938514bffec3b [2023-02-16T18:51:57.605Z] $ docker rm -f --volumes 4309dc00aef52e8c8e190d5ee0d78080fbfec1be185a4b4b13e938514bffec3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-16T18:52:07.727Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6321 in /w/workspace/gexfoundry_device-sdk-go_PR-1326 [Pipeline] { [Pipeline] ws [2023-02-16T18:52:07.738Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-02-16T18:52:07.790Z] The recommended git tool is: git [2023-02-16T18:52:14.076Z] using credential edgex-jenkins-ssh [2023-02-16T18:52:14.095Z] Cloning the remote Git repository [2023-02-16T18:52:14.151Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-16T18:52:14.245Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-02-16T18:52:14.446Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-16T18:52:14.447Z] > git --version # timeout=10 [2023-02-16T18:52:14.474Z] > git --version # 'git version 2.25.1' [2023-02-16T18:52:14.476Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-16T18:52:14.546Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-16T18:52:16.305Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-16T18:52:16.334Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-16T18:52:17.326Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-16T18:52:17.378Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-16T18:52:17.379Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-16T18:52:17.399Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1326/head:refs/remotes/origin/PR-1326 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-16T18:52:18.194Z] Merging remotes/origin/main commit cf150bd1006c505b2559d8970edbe52dd5fe7567 into PR head commit 76cf874e5a4c502767114360369306a3defd879c [2023-02-16T18:52:19.266Z] Merge succeeded, producing 76cf874e5a4c502767114360369306a3defd879c [2023-02-16T18:52:19.266Z] Checking out Revision 76cf874e5a4c502767114360369306a3defd879c (PR-1326) [2023-02-16T18:52:18.970Z] > git config core.sparsecheckout # timeout=10 [2023-02-16T18:52:18.997Z] > git checkout -f 76cf874e5a4c502767114360369306a3defd879c # timeout=10 [2023-02-16T18:52:19.148Z] > git remote # timeout=10 [2023-02-16T18:52:19.169Z] > git config --get remote.origin.url # timeout=10 [2023-02-16T18:52:19.196Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-16T18:52:19.211Z] > git merge cf150bd1006c505b2559d8970edbe52dd5fe7567 # timeout=10 [2023-02-16T18:52:19.242Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-16T18:52:19.275Z] > git config core.sparsecheckout # timeout=10 [2023-02-16T18:52:19.294Z] > git checkout -f 76cf874e5a4c502767114360369306a3defd879c # timeout=10 [2023-02-16T18:52:22.904Z] Commit message: "build(deps)!: Upgrade contracts mod to update /secret DTO" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-16T18:52:23.851Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-16T18:52:23.851Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-16T18:52:23.851Z] Dload Upload Total Spent Left Speed [2023-02-16T18:52:23.851Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh [2023-02-16T18:52:24.509Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-16T18:52:24.837Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-16T18:52:24.837Z] + sudo tee /etc/docker/daemon.new [2023-02-16T18:52:24.837Z] { [2023-02-16T18:52:24.837Z] "registry-mirrors": [ [2023-02-16T18:52:24.837Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-16T18:52:24.837Z] ], [2023-02-16T18:52:24.837Z] "bip": "10.250.0.254/24", [2023-02-16T18:52:24.837Z] "hosts": [ [2023-02-16T18:52:24.837Z] "tcp://0.0.0.0:5555", [2023-02-16T18:52:24.837Z] "unix:///var/run/docker.sock" [2023-02-16T18:52:24.837Z] ], [2023-02-16T18:52:24.837Z] "mtu": 1458, [2023-02-16T18:52:24.837Z] "selinux-enabled": true, [2023-02-16T18:52:24.837Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-16T18:52:24.837Z] } [Pipeline] sh [2023-02-16T18:52:25.180Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-16T18:52:25.508Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-16T18:52:43.787Z] provisioning config files... [2023-02-16T18:52:43.816Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config16723069004994100174tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T18:52:44.181Z] ---> docker-login.sh [2023-02-16T18:52:44.181Z] nexus3.edgexfoundry.org:10001 [2023-02-16T18:52:44.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T18:52:44.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T18:52:44.778Z] Configure a credential helper to remove this warning. See [2023-02-16T18:52:44.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T18:52:44.778Z] [2023-02-16T18:52:44.779Z] Login Succeeded [2023-02-16T18:52:44.779Z] nexus3.edgexfoundry.org:10002 [2023-02-16T18:52:45.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T18:52:45.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T18:52:45.321Z] Configure a credential helper to remove this warning. See [2023-02-16T18:52:45.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T18:52:45.321Z] [2023-02-16T18:52:45.321Z] Login Succeeded [2023-02-16T18:52:45.321Z] nexus3.edgexfoundry.org:10003 [2023-02-16T18:52:45.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T18:52:45.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T18:52:45.592Z] Configure a credential helper to remove this warning. See [2023-02-16T18:52:45.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T18:52:45.592Z] [2023-02-16T18:52:45.592Z] Login Succeeded [2023-02-16T18:52:45.592Z] nexus3.edgexfoundry.org:10004 [2023-02-16T18:52:45.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T18:52:45.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T18:52:45.862Z] Configure a credential helper to remove this warning. See [2023-02-16T18:52:45.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T18:52:45.862Z] [2023-02-16T18:52:45.862Z] Login Succeeded [2023-02-16T18:52:45.862Z] docker.io [2023-02-16T18:52:46.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T18:52:46.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T18:52:46.403Z] Configure a credential helper to remove this warning. See [2023-02-16T18:52:46.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T18:52:46.403Z] [2023-02-16T18:52:46.403Z] Login Succeeded [2023-02-16T18:52:46.403Z] ---> docker-login.sh ends [Pipeline] } [2023-02-16T18:52:46.418Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-16T18:52:46.681Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T18:52:46.701Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T18:52:46.716Z] ========================================================= [2023-02-16T18:52:46.716Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-16T18:52:46.716Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T18:52:47.076Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-16T18:52:47.345Z] Sending build context to Docker daemon 5.641MB [2023-02-16T18:52:47.345Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-16T18:52:47.345Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-16T18:52:49.297Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-16T18:52:49.297Z] 9b18e9b68314: Pulling fs layer [2023-02-16T18:52:49.297Z] 35d82f9e3411: Pulling fs layer [2023-02-16T18:52:49.297Z] e16973657156: Pulling fs layer [2023-02-16T18:52:49.297Z] fc693d55d65f: Pulling fs layer [2023-02-16T18:52:49.297Z] 7e9fc2657dce: Pulling fs layer [2023-02-16T18:52:49.297Z] dda99020689f: Pulling fs layer [2023-02-16T18:52:49.297Z] db1c61fa0a46: Pulling fs layer [2023-02-16T18:52:49.297Z] 891c053d2c06: Pulling fs layer [2023-02-16T18:52:49.297Z] fc693d55d65f: Waiting [2023-02-16T18:52:49.297Z] dda99020689f: Waiting [2023-02-16T18:52:49.297Z] 7e9fc2657dce: Waiting [2023-02-16T18:52:49.297Z] e16973657156: Verifying Checksum [2023-02-16T18:52:49.297Z] e16973657156: Download complete [2023-02-16T18:52:49.297Z] 35d82f9e3411: Verifying Checksum [2023-02-16T18:52:49.297Z] 35d82f9e3411: Download complete [2023-02-16T18:52:49.297Z] 7e9fc2657dce: Download complete [2023-02-16T18:52:49.297Z] dda99020689f: Verifying Checksum [2023-02-16T18:52:49.297Z] dda99020689f: Download complete [2023-02-16T18:52:49.297Z] 9b18e9b68314: Verifying Checksum [2023-02-16T18:52:50.267Z] 9b18e9b68314: Pull complete [2023-02-16T18:52:50.538Z] 891c053d2c06: Verifying Checksum [2023-02-16T18:52:50.538Z] 891c053d2c06: Download complete [2023-02-16T18:52:50.810Z] 35d82f9e3411: Pull complete [2023-02-16T18:52:51.406Z] e16973657156: Pull complete [2023-02-16T18:52:51.998Z] db1c61fa0a46: Verifying Checksum [2023-02-16T18:52:51.998Z] db1c61fa0a46: Download complete [2023-02-16T18:52:52.269Z] fc693d55d65f: Verifying Checksum [2023-02-16T18:52:52.269Z] fc693d55d65f: Download complete [2023-02-16T18:53:04.632Z] fc693d55d65f: Pull complete [2023-02-16T18:53:04.632Z] 7e9fc2657dce: Pull complete [2023-02-16T18:53:04.900Z] dda99020689f: Pull complete [2023-02-16T18:53:11.572Z] db1c61fa0a46: Pull complete [2023-02-16T18:53:12.988Z] 891c053d2c06: Pull complete [2023-02-16T18:53:12.988Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-16T18:53:12.988Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-16T18:53:12.988Z] ---> f96f9c87975a [2023-02-16T18:53:12.988Z] Step 3/10 : ARG MAKE=make build [2023-02-16T18:53:14.943Z] ---> Running in 8867d8d88bfa [2023-02-16T18:53:15.209Z] Removing intermediate container 8867d8d88bfa [2023-02-16T18:53:15.209Z] ---> 699563e22ce9 [2023-02-16T18:53:15.209Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-16T18:53:15.476Z] ---> Running in ec843ad0cb3d [2023-02-16T18:53:15.744Z] Removing intermediate container ec843ad0cb3d [2023-02-16T18:53:15.744Z] ---> b8732d1c3720 [2023-02-16T18:53:15.744Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-16T18:53:15.744Z] ---> Running in cee5749676ff [2023-02-16T18:53:16.010Z] Removing intermediate container cee5749676ff [2023-02-16T18:53:16.010Z] ---> c4ca3433fc28 [2023-02-16T18:53:16.010Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-16T18:53:16.010Z] ---> Running in 70cc707f02bd [2023-02-16T18:53:17.420Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-16T18:53:17.420Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-16T18:53:18.384Z] OK: 221 MiB in 51 packages [2023-02-16T18:53:19.347Z] Removing intermediate container 70cc707f02bd [2023-02-16T18:53:19.347Z] ---> cd9de9d78f99 [2023-02-16T18:53:19.347Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-16T18:53:19.934Z] ---> b3be0eca3b8b [2023-02-16T18:53:19.935Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-16T18:53:19.935Z] ---> Running in c53539a156ab [2023-02-16T18:54:41.586Z] Removing intermediate container c53539a156ab [2023-02-16T18:54:41.586Z] ---> 1ea8fa89098b [2023-02-16T18:54:41.586Z] Step 9/10 : COPY . . [2023-02-16T18:54:41.586Z] ---> 958f5e3f378d [2023-02-16T18:54:41.586Z] Step 10/10 : RUN ${MAKE} [2023-02-16T18:54:41.586Z] ---> Running in d665c747e01a [2023-02-16T18:54:41.586Z] noop [2023-02-16T18:54:41.586Z] Removing intermediate container d665c747e01a [2023-02-16T18:54:41.586Z] ---> 00704e2faaa9 [2023-02-16T18:54:41.586Z] Successfully built 00704e2faaa9 [2023-02-16T18:54:41.586Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T18:54:41.945Z] + docker inspect -f . ci-base-image-arm64 [2023-02-16T18:54:41.946Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T18:54:42.144Z] prd-ubuntu20.04-docker-arm64-4c-16g-6321 does not seem to be running inside a container [2023-02-16T18:54:42.212Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-02-16T18:54:43.457Z] $ docker top ea0e2fd6b578ed49c7c7042e64d8f1e551862e34bc99c718514f5f1b6ff91af2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T18:54:44.280Z] + go version [2023-02-16T18:54:44.280Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-16T18:54:44.298Z] $ docker stop --time=1 ea0e2fd6b578ed49c7c7042e64d8f1e551862e34bc99c718514f5f1b6ff91af2 [2023-02-16T18:54:45.908Z] $ docker rm -f --volumes ea0e2fd6b578ed49c7c7042e64d8f1e551862e34bc99c718514f5f1b6ff91af2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T18:54:46.442Z] + docker inspect -f . ci-base-image-arm64 [2023-02-16T18:54:46.442Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T18:54:46.619Z] prd-ubuntu20.04-docker-arm64-4c-16g-6321 does not seem to be running inside a container [2023-02-16T18:54:46.679Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-02-16T18:54:47.797Z] $ docker top 09657ba7e68207b0891536a0693aaa1b04611a7d33d2e0c23d7a489a99780af2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T18:54:48.292Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-02-16T18:54:48.621Z] + make test [2023-02-16T18:54:48.621Z] go test -race -coverprofile=coverage.out ./... [2023-02-16T18:55:27.527Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-16T18:57:34.270Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-16T18:57:34.270Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-16T18:57:34.270Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-16T18:57:34.270Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-16T18:57:34.270Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-16T18:57:34.270Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.299s coverage: 27.6% of statements [2023-02-16T18:57:34.270Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.289s coverage: 78.9% of statements [2023-02-16T18:57:34.270Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-16T18:57:40.942Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.519s coverage: 77.8% of statements [2023-02-16T18:57:40.942Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-16T18:57:40.942Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-16T18:57:42.375Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.469s coverage: 77.0% of statements [2023-02-16T18:57:42.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-16T18:57:42.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-16T18:57:42.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-16T18:57:43.793Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.446s coverage: 65.2% of statements [2023-02-16T18:57:43.793Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-16T18:57:43.793Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-16T18:57:43.793Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.491s coverage: 89.2% of statements [2023-02-16T18:57:43.793Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-16T18:57:43.793Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.348s coverage: 4.7% of statements [2023-02-16T18:57:43.793Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-16T18:57:44.380Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-16T18:57:44.380Z] GO111MODULE=on go vet ./... [2023-02-16T18:59:21.087Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-16T18:59:21.087Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-16T18:59:21.087Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-16T18:59:21.109Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-16T18:59:21.119Z] $ docker stop --time=1 09657ba7e68207b0891536a0693aaa1b04611a7d33d2e0c23d7a489a99780af2 [2023-02-16T18:59:22.927Z] $ docker rm -f --volumes 09657ba7e68207b0891536a0693aaa1b04611a7d33d2e0c23d7a489a99780af2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-16T18:59:24.328Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-16T18:59:24.351Z] Warning: overwriting stash ‘coverage-report’ [2023-02-16T18:59:24.983Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-16T18:59:25.380Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-16T18:59:25.699Z] + ls -al . [2023-02-16T18:59:25.699Z] total 268 [2023-02-16T18:59:25.699Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 16 18:54 . [2023-02-16T18:59:25.699Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 18:52 .. [2023-02-16T18:59:25.699Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 16 18:52 .dockerignore [2023-02-16T18:59:25.699Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 18:52 .git [2023-02-16T18:59:25.699Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 18:52 .github [2023-02-16T18:59:25.699Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 16 18:52 .gitignore [2023-02-16T18:59:25.699Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 16 18:52 .golangci.yml [2023-02-16T18:59:25.699Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 16 18:52 CHANGELOG.md [2023-02-16T18:59:25.699Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 16 18:52 GOVERNANCE.md [2023-02-16T18:59:25.699Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 16 18:52 Jenkinsfile [2023-02-16T18:59:25.699Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 16 18:52 LICENSE [2023-02-16T18:59:25.699Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 16 18:52 Makefile [2023-02-16T18:59:25.699Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 16 18:52 OWNERS.md [2023-02-16T18:59:25.699Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 16 18:52 README.md [2023-02-16T18:59:25.699Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 16 18:49 VERSION [2023-02-16T18:59:25.699Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 18:52 bin [2023-02-16T18:59:25.699Z] -rw-r--r-- 1 jenkins jenkins 98700 Feb 16 18:57 coverage.out [2023-02-16T18:59:25.699Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 16 18:52 example [2023-02-16T18:59:25.699Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 16 18:52 go.mod [2023-02-16T18:59:25.699Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 16 18:52 go.sum [2023-02-16T18:59:25.699Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 16 18:52 internal [2023-02-16T18:59:25.699Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 18:52 openapi [2023-02-16T18:59:25.699Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 16 18:52 pkg [2023-02-16T18:59:25.699Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 18:52 snap [2023-02-16T18:59:25.699Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 16 18:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T18:59:26.038Z] + 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=76cf874e5a4c502767114360369306a3defd879c --label arch=arm64 --label version=0.0.0 . [2023-02-16T18:59:26.304Z] Sending build context to Docker daemon 5.741MB [2023-02-16T18:59:26.304Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-16T18:59:26.304Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-16T18:59:26.304Z] ---> 00704e2faaa9 [2023-02-16T18:59:26.304Z] Step 3/23 : ARG MAKE=make build [2023-02-16T18:59:26.576Z] ---> Running in cc3cc497dd41 [2023-02-16T18:59:26.844Z] Removing intermediate container cc3cc497dd41 [2023-02-16T18:59:26.844Z] ---> 41fd8261c687 [2023-02-16T18:59:26.844Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-16T18:59:27.109Z] ---> Running in f1fb5ee7d719 [2023-02-16T18:59:27.377Z] Removing intermediate container f1fb5ee7d719 [2023-02-16T18:59:27.377Z] ---> 6993f67c498c [2023-02-16T18:59:27.377Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-16T18:59:27.377Z] ---> Running in 5dda21fcc7f4 [2023-02-16T18:59:27.655Z] Removing intermediate container 5dda21fcc7f4 [2023-02-16T18:59:27.655Z] ---> 451da33c679b [2023-02-16T18:59:27.655Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-16T18:59:27.655Z] ---> Running in 08da18b47b42 [2023-02-16T18:59:28.621Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-16T18:59:29.207Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-16T18:59:30.169Z] OK: 221 MiB in 51 packages [2023-02-16T18:59:31.130Z] Removing intermediate container 08da18b47b42 [2023-02-16T18:59:31.130Z] ---> 7e945422fbfa [2023-02-16T18:59:31.130Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-16T18:59:31.716Z] ---> 4f6488c423d6 [2023-02-16T18:59:31.716Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-16T18:59:31.716Z] ---> Running in bfa49e39c587 [2023-02-16T18:59:34.302Z] Removing intermediate container bfa49e39c587 [2023-02-16T18:59:34.302Z] ---> 97dbf576b672 [2023-02-16T18:59:34.302Z] Step 9/23 : COPY . . [2023-02-16T18:59:35.709Z] ---> c2797ec8a82d [2023-02-16T18:59:35.709Z] Step 10/23 : RUN ${MAKE} [2023-02-16T18:59:35.709Z] ---> Running in 1ba53b05da55 [2023-02-16T18:59:36.818Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-16T19:02:01.268Z] Removing intermediate container 1ba53b05da55 [2023-02-16T19:02:01.268Z] ---> f839481a673c [2023-02-16T19:02:01.268Z] Step 11/23 : FROM alpine:3.16 [2023-02-16T19:02:01.268Z] 3.16: Pulling from library/alpine [2023-02-16T19:02:01.268Z] 3760b48202b3: Pulling fs layer [2023-02-16T19:02:01.268Z] 3760b48202b3: Download complete [2023-02-16T19:02:01.268Z] 3760b48202b3: Pull complete [2023-02-16T19:02:01.268Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-16T19:02:01.268Z] Status: Downloaded newer image for alpine:3.16 [2023-02-16T19:02:01.268Z] ---> 4c81e5bf8899 [2023-02-16T19:02:01.268Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-16T19:02:01.268Z] ---> Running in 7e460159e1e1 [2023-02-16T19:02:01.268Z] Removing intermediate container 7e460159e1e1 [2023-02-16T19:02:01.268Z] ---> 94ffe18823be [2023-02-16T19:02:01.268Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-16T19:02:01.268Z] ---> Running in 7861305b00df [2023-02-16T19:02:01.268Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-16T19:02:01.268Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-16T19:02:01.268Z] OK: 5 MiB in 14 packages [2023-02-16T19:02:01.268Z] Removing intermediate container 7861305b00df [2023-02-16T19:02:01.268Z] ---> 933a08cbbf32 [2023-02-16T19:02:01.268Z] Step 14/23 : WORKDIR / [2023-02-16T19:02:01.268Z] ---> Running in 0f1f3f2f7021 [2023-02-16T19:02:01.268Z] Removing intermediate container 0f1f3f2f7021 [2023-02-16T19:02:01.268Z] ---> 8b44ece3871b [2023-02-16T19:02:01.268Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-16T19:02:01.268Z] ---> 7063772cfde2 [2023-02-16T19:02:01.268Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-16T19:02:01.536Z] ---> 8a585212344f [2023-02-16T19:02:01.536Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-16T19:02:02.122Z] ---> cd839e116468 [2023-02-16T19:02:02.122Z] Step 18/23 : EXPOSE 59999 [2023-02-16T19:02:02.390Z] ---> Running in a6ffe9557fe8 [2023-02-16T19:02:02.659Z] Removing intermediate container a6ffe9557fe8 [2023-02-16T19:02:02.659Z] ---> f4667dcbabd2 [2023-02-16T19:02:02.659Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-16T19:02:02.659Z] ---> Running in c5ab97567911 [2023-02-16T19:02:02.927Z] Removing intermediate container c5ab97567911 [2023-02-16T19:02:02.927Z] ---> befbaf670f47 [2023-02-16T19:02:02.927Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-16T19:02:02.927Z] ---> Running in 0bd85ec49cf0 [2023-02-16T19:02:03.512Z] Removing intermediate container 0bd85ec49cf0 [2023-02-16T19:02:03.512Z] ---> 32b373a9a10f [2023-02-16T19:02:03.512Z] Step 21/23 : LABEL arch=arm64 [2023-02-16T19:02:03.512Z] ---> Running in 4db6479dc3cf [2023-02-16T19:02:03.779Z] Removing intermediate container 4db6479dc3cf [2023-02-16T19:02:03.779Z] ---> 29530e9a3d1f [2023-02-16T19:02:03.779Z] Step 22/23 : LABEL git_sha=76cf874e5a4c502767114360369306a3defd879c [2023-02-16T19:02:03.779Z] ---> Running in 3e6ca2a62ab2 [2023-02-16T19:02:04.047Z] Removing intermediate container 3e6ca2a62ab2 [2023-02-16T19:02:04.047Z] ---> 99cd51b63812 [2023-02-16T19:02:04.047Z] Step 23/23 : LABEL version=0.0.0 [2023-02-16T19:02:04.316Z] ---> Running in 73cdc9336199 [2023-02-16T19:02:04.586Z] Removing intermediate container 73cdc9336199 [2023-02-16T19:02:04.586Z] ---> e1fdbe85ff63 [2023-02-16T19:02:04.586Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-16T19:02:04.586Z] Successfully built e1fdbe85ff63 [2023-02-16T19:02:04.586Z] 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-02-16T19:02:05.013Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-16T19:02:05.013Z] [2023-02-16T19:02:05.013Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T19:02:05.347Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-16T19:02:05.617Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-16T19:02:05.617Z] 8998bd30e6a1: Pulling fs layer [2023-02-16T19:02:05.617Z] 04944245beec: Pulling fs layer [2023-02-16T19:02:05.617Z] 699f458cf7ca: Pulling fs layer [2023-02-16T19:02:05.617Z] 765212b225bb: Pulling fs layer [2023-02-16T19:02:05.617Z] f23df028b6ca: Pulling fs layer [2023-02-16T19:02:05.618Z] d65c8cfc05b1: Pulling fs layer [2023-02-16T19:02:05.618Z] 2437ff75d9bd: Pulling fs layer [2023-02-16T19:02:05.618Z] 765212b225bb: Waiting [2023-02-16T19:02:05.618Z] f23df028b6ca: Waiting [2023-02-16T19:02:05.618Z] d65c8cfc05b1: Waiting [2023-02-16T19:02:05.618Z] 2437ff75d9bd: Waiting [2023-02-16T19:02:05.618Z] 04944245beec: Download complete [2023-02-16T19:02:05.618Z] 765212b225bb: Verifying Checksum [2023-02-16T19:02:05.618Z] 765212b225bb: Download complete [2023-02-16T19:02:05.890Z] f23df028b6ca: Download complete [2023-02-16T19:02:05.890Z] d65c8cfc05b1: Verifying Checksum [2023-02-16T19:02:05.890Z] d65c8cfc05b1: Download complete [2023-02-16T19:02:05.890Z] 699f458cf7ca: Verifying Checksum [2023-02-16T19:02:05.890Z] 699f458cf7ca: Download complete [2023-02-16T19:02:06.479Z] 8998bd30e6a1: Verifying Checksum [2023-02-16T19:02:06.479Z] 8998bd30e6a1: Download complete [2023-02-16T19:02:09.069Z] 2437ff75d9bd: Verifying Checksum [2023-02-16T19:02:09.069Z] 2437ff75d9bd: Download complete [2023-02-16T19:02:10.484Z] 8998bd30e6a1: Pull complete [2023-02-16T19:02:12.447Z] 04944245beec: Pull complete [2023-02-16T19:02:13.863Z] 699f458cf7ca: Pull complete [2023-02-16T19:02:14.132Z] 765212b225bb: Pull complete [2023-02-16T19:02:15.094Z] f23df028b6ca: Pull complete [2023-02-16T19:02:15.364Z] d65c8cfc05b1: Pull complete [2023-02-16T19:02:30.369Z] 2437ff75d9bd: Pull complete [2023-02-16T19:02:30.369Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-16T19:02:30.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-16T19:02:30.369Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T19:02:30.584Z] prd-ubuntu20.04-docker-arm64-4c-16g-6321 does not seem to be running inside a container [2023-02-16T19:02:30.662Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-02-16T19:02:33.601Z] $ docker top ecbb36767a851001e59cb79de8c16402f51fe2157fec94c31632d70f5d5c629c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T19:02:34.443Z] ---> job-cost.sh [2023-02-16T19:02:34.443Z] lf-activate-venv: SKIPPING [2023-02-16T19:02:34.443Z] INFO: No Stack... [2023-02-16T19:02:35.027Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-16T19:02:35.608Z] INFO: Archiving Costs [Pipeline] sh [2023-02-16T19:02:36.247Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-02-16T19:02:36.247Z] + cut -d, -f6 [Pipeline] lock [2023-02-16T19:02:36.321Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1326-2-stack-cost] [2023-02-16T19:02:36.328Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1326-2-stack-cost] did not exist. Created. [2023-02-16T19:02:36.328Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1326-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-16T19:02:36.986Z] /w/workspace/device-sdk-go/2@tmp/durable-823493d2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-16T19:02:37.641Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-16T19:02:37.660Z] Warning: overwriting stash ‘stack-cost’ [2023-02-16T19:02:37.735Z] Stashed 1 file(s) [Pipeline] } [2023-02-16T19:02:37.741Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1326-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-16T19:02:37.759Z] $ docker stop --time=1 ecbb36767a851001e59cb79de8c16402f51fe2157fec94c31632d70f5d5c629c [2023-02-16T19:02:39.257Z] $ docker rm -f --volumes ecbb36767a851001e59cb79de8c16402f51fe2157fec94c31632d70f5d5c629c [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-02-16T19:02:39.738Z] provisioning config files... [2023-02-16T19:02:39.745Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1326@tmp/config3715546560363466806tmp [Pipeline] { [Pipeline] sh [2023-02-16T19:02:40.036Z] + set +x [2023-02-16T19:02:40.036Z] + + bash -s -- [2023-02-16T19:02:40.036Z] curl -s https://codecov.io/bash [2023-02-16T19:02:40.036Z] [2023-02-16T19:02:40.036Z] _____ _ [2023-02-16T19:02:40.036Z] / ____| | | [2023-02-16T19:02:40.036Z] | | ___ __| | ___ ___ _____ __ [2023-02-16T19:02:40.036Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-16T19:02:40.036Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-16T19:02:40.036Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-16T19:02:40.036Z] Bash-1.0.6 [2023-02-16T19:02:40.036Z] [2023-02-16T19:02:40.036Z] [2023-02-16T19:02:40.036Z] ==> git version 2.25.1 found [2023-02-16T19:02:40.036Z] ==> 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-02-16T19:02:40.036Z] Release-Date: 2020-01-08 [2023-02-16T19:02:40.036Z] 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-02-16T19:02:40.036Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-16T19:02:40.036Z] ==> Jenkins CI detected. [2023-02-16T19:02:40.036Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1326 [2023-02-16T19:02:40.036Z] project root: . [2023-02-16T19:02:40.036Z] --> token set from env [2023-02-16T19:02:40.036Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-16T19:02:40.036Z] ==> Running gcov in . (disable via -X gcov) [2023-02-16T19:02:40.036Z] ==> Python coveragepy not found [2023-02-16T19:02:40.036Z] ==> Searching for coverage reports in: [2023-02-16T19:02:40.036Z] + . [2023-02-16T19:02:40.036Z] -> Found 1 reports [2023-02-16T19:02:40.036Z] ==> Detecting git/mercurial file structure [2023-02-16T19:02:40.296Z] ==> Reading reports [2023-02-16T19:02:40.296Z] + ./coverage.out bytes=98700 [2023-02-16T19:02:40.296Z] ==> Appending adjustments [2023-02-16T19:02:40.296Z] https://docs.codecov.io/docs/fixing-reports [2023-02-16T19:02:40.556Z] + Found adjustments [2023-02-16T19:02:40.556Z] ==> Gzipping contents [2023-02-16T19:02:40.556Z] 16K /tmp/codecov.V3NMr0.gz [2023-02-16T19:02:40.556Z] ==> Uploading reports [2023-02-16T19:02:40.556Z] url: https://codecov.io [2023-02-16T19:02:40.556Z] query: branch=PR-1326&commit=76cf874e5a4c502767114360369306a3defd879c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1326%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1326&job=&cmd_args= [2023-02-16T19:02:40.556Z] -> Pinging Codecov [2023-02-16T19:02:40.556Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1326&commit=76cf874e5a4c502767114360369306a3defd879c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1326%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1326&job=&cmd_args= [2023-02-16T19:02:40.815Z] -> Uploading to [2023-02-16T19:02:40.815Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-16/7E55EF52A471D76F132DFD9A03CDDE97/76cf874e5a4c502767114360369306a3defd879c/bb0f879a-96b8-4d72-a8e5-d5603c763674.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230216%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230216T190240Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=31070ae4b30ee6e196f65664da906f33031b01def5379031cdbe37873dd031c3 [2023-02-16T19:02:40.815Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-16T19:02:40.815Z] Dload Upload Total Spent Left Speed [2023-02-16T19:02:41.073Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14379 0 0 100 14379 0 55091 --:--:-- --:--:-- --:--:-- 55091 [2023-02-16T19:02:41.073Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/76cf874e5a4c502767114360369306a3defd879c [Pipeline] } [2023-02-16T19:02:41.080Z] 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-02-16T19:02:41.847Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1326/archives ] [2023-02-16T19:02:41.847Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1326/archives [2023-02-16T19:02:41.847Z] total 16 [2023-02-16T19:02:41.847Z] drwxr-xr-x 3 root root 4096 Feb 16 18:51 . [2023-02-16T19:02:41.847Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 16 18:51 .. [2023-02-16T19:02:41.847Z] drwxr-xr-x 2 root root 4096 Feb 16 18:51 cost [2023-02-16T19:02:41.847Z] -rw-r--r-- 1 root root 86 Feb 16 18:51 cost.csv [2023-02-16T19:02:41.847Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1326/archives [2023-02-16T19:02:41.847Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1326/archives [2023-02-16T19:02:41.847Z] total 16 [2023-02-16T19:02:41.847Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 16 18:51 . [2023-02-16T19:02:41.847Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 16 18:51 .. [2023-02-16T19:02:41.847Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 16 18:51 cost [2023-02-16T19:02:41.847Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 16 18:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-16T19:02:42.136Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T19:02:43.007Z] ---> package-listing.sh [2023-02-16T19:02:43.007Z] ++ facter osfamily [2023-02-16T19:02:43.007Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-16T19:02:43.007Z] + OS_FAMILY=debian [2023-02-16T19:02:43.007Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1326 [2023-02-16T19:02:43.007Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-16T19:02:43.007Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-16T19:02:43.007Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-16T19:02:43.007Z] + PACKAGES=/tmp/packages_start.txt [2023-02-16T19:02:43.007Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1326 ']' [2023-02-16T19:02:43.007Z] + PACKAGES=/tmp/packages_end.txt [2023-02-16T19:02:43.007Z] + case "${OS_FAMILY}" in [2023-02-16T19:02:43.007Z] + dpkg -l [2023-02-16T19:02:43.007Z] + grep '^ii' [2023-02-16T19:02:43.265Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-16T19:02:43.265Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-16T19:02:43.265Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-16T19:02:43.265Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1326 ']' [2023-02-16T19:02:43.265Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1326/archives/ [2023-02-16T19:02:43.265Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1326/archives/ [Pipeline] echo [2023-02-16T19:02:43.276Z] 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-1326/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-16T19:02:43.556Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T19:02:44.117Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T19:02:44.117Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T19:02:44.184Z] prd-ubuntu20.04-docker-8c-8g-6319 does not seem to be running inside a container [2023-02-16T19:02:44.216Z] $ 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-1326/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-1326 -v /w/workspace/gexfoundry_device-sdk-go_PR-1326:/w/workspace/gexfoundry_device-sdk-go_PR-1326:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1326@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1326@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-02-16T19:02:44.408Z] $ docker top bf08f28eccf8ac317de654438bff83b860f9a7385953debe293af8ba82e20d38 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T19:02:44.746Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-16T19:02:45.028Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-16T19:02:45.313Z] + ls /var/log/sa-host [2023-02-16T19:02:45.313Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-16T19:02:45.466Z] provisioning config files... [2023-02-16T19:02:45.475Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1326@tmp/config8903079410216058816tmp [Pipeline] { [Pipeline] echo [2023-02-16T19:02:45.489Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T19:02:45.766Z] ---> create-netrc.sh [Pipeline] } [2023-02-16T19:02:45.774Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-16T19:02:46.105Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-16T19:02:46.114Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T19:02:46.393Z] ---> sudo-logs.sh [2023-02-16T19:02:46.393Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-16T19:02:46.425Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T19:02:46.709Z] ---> job-cost.sh [2023-02-16T19:02:46.709Z] lf-activate-venv: SKIPPING [2023-02-16T19:02:46.709Z] DEBUG: total: 0.2199999988079071 [2023-02-16T19:02:46.709Z] INFO: Retrieving Stack Cost... [2023-02-16T19:02:46.969Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-16T19:02:47.537Z] INFO: Archiving Costs [Pipeline] echo [2023-02-16T19:02:47.550Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T19:02:47.841Z] ---> logs-deploy.sh [2023-02-16T19:02:47.841Z] lf-activate-venv: SKIPPING [2023-02-16T19:02:47.841Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1326/2 [2023-02-16T19:02:47.841Z] INFO: archiving workspace using pattern(s): [2023-02-16T19:02:48.783Z] Archives upload complete. [2023-02-16T19:02:48.783Z] INFO: archiving logs to Nexus