Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from bfaf1cb2e0564bf88f325ac167a80e6040adddd1+774c2037947f109106e5ac1f44e7b15f17fcf2b1 (2b94f653d9638020141cb9aac7665a450b0c26b7) 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-ssh18257906142239775439.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-ssh14989198459672209691.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-1356/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-1356/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17334318496907082149.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-ssh9583304927771591974.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-1356/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-1356/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12931562528052134239.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8608 in /w/workspace/gexfoundry_device-sdk-go_PR-1356 [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-1356 # 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/1356/head:refs/remotes/origin/PR-1356 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 774c2037947f109106e5ac1f44e7b15f17fcf2b1 into PR head commit bfaf1cb2e0564bf88f325ac167a80e6040adddd1 Merge succeeded, producing 87acad6290fbbefec3980c12dc078bb9741d3725 Checking out Revision 87acad6290fbbefec3980c12dc078bb9741d3725 (PR-1356) > git config core.sparsecheckout # timeout=10 > git checkout -f bfaf1cb2e0564bf88f325ac167a80e6040adddd1 # 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 774c2037947f109106e5ac1f44e7b15f17fcf2b1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 87acad6290fbbefec3980c12dc078bb9741d3725 # timeout=10 Commit message: "Merge commit '774c2037947f109106e5ac1f44e7b15f17fcf2b1' into HEAD" > git rev-list --no-walk bfaf1cb2e0564bf88f325ac167a80e6040adddd1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-07T18:42:31.095Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-07T18:42:31.133Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-07T18:42:31.144Z] ========================================================= [2023-03-07T18:42:31.144Z] EdgeX Global Pipelines Version Info [2023-03-07T18:42:31.144Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:42:31.843Z] ------------------- [2023-03-07T18:42:31.843Z] stable info: [2023-03-07T18:42:31.843Z] ------------------- [2023-03-07T18:42:31.843Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-07T18:42:31.843Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T18:42:31.843Z] Message: update stable to v1.0.244 [2023-03-07T18:42:44.073Z] ------------------- [2023-03-07T18:42:44.073Z] experimental info: [2023-03-07T18:42:44.073Z] ------------------- [2023-03-07T18:42:44.073Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-07T18:42:44.073Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T18:42:44.073Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-07T18:42:44.283Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-07T18:42:44.292Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-07T18:42:44.314Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-07T18:42:44.329Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-07T18:42:44.341Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-07T18:42:44.355Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-07T18:42:44.373Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-07T18:42:44.389Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-07T18:42:44.405Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-07T18:42:44.420Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-07T18:42:44.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-07T18:42:44.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-07T18:42:44.457Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-07T18:42:44.468Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-07T18:42:44.481Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-07T18:42:44.493Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T18:42:44.504Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T18:42:44.516Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T18:42:44.528Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-07T18:42:44.540Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-07T18:42:44.553Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-07T18:42:44.570Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-07T18:42:44.581Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-07T18:42:44.593Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-07T18:42:44.606Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-07T18:42:44.616Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-07T18:42:44.630Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-07T18:42:44.642Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1356 [Pipeline] echo [2023-03-07T18:42:44.654Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1356 [Pipeline] echo [2023-03-07T18:42:44.668Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1356 [Pipeline] echo [2023-03-07T18:42:44.680Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 87acad6290fbbefec3980c12dc078bb9741d3725 [Pipeline] echo [2023-03-07T18:42:44.691Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 87acad6 [Pipeline] echo [2023-03-07T18:42:44.705Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T18:42:44.746Z] provisioning config files... [2023-03-07T18:42:44.758Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/config16820971336189842148tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:42:45.057Z] ---> docker-login.sh [2023-03-07T18:42:45.057Z] nexus3.edgexfoundry.org:10001 [2023-03-07T18:42:45.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:42:45.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:42:45.318Z] Configure a credential helper to remove this warning. See [2023-03-07T18:42:45.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:42:45.318Z] [2023-03-07T18:42:45.318Z] Login Succeeded [2023-03-07T18:42:45.318Z] nexus3.edgexfoundry.org:10002 [2023-03-07T18:42:45.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:42:45.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:42:45.318Z] Configure a credential helper to remove this warning. See [2023-03-07T18:42:45.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:42:45.318Z] [2023-03-07T18:42:45.318Z] Login Succeeded [2023-03-07T18:42:45.318Z] nexus3.edgexfoundry.org:10003 [2023-03-07T18:42:45.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:42:45.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:42:45.582Z] Configure a credential helper to remove this warning. See [2023-03-07T18:42:45.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:42:45.582Z] [2023-03-07T18:42:45.582Z] Login Succeeded [2023-03-07T18:42:45.582Z] nexus3.edgexfoundry.org:10004 [2023-03-07T18:42:45.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:42:45.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:42:45.582Z] Configure a credential helper to remove this warning. See [2023-03-07T18:42:45.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:42:45.582Z] [2023-03-07T18:42:45.582Z] Login Succeeded [2023-03-07T18:42:45.582Z] docker.io [2023-03-07T18:42:45.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:42:45.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:42:45.843Z] Configure a credential helper to remove this warning. See [2023-03-07T18:42:45.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:42:45.843Z] [2023-03-07T18:42:45.843Z] Login Succeeded [2023-03-07T18:42:45.843Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T18:42:45.852Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-07T18:42:46.240Z] + git rev-list -1 --merges 87acad6290fbbefec3980c12dc078bb9741d3725~1..87acad6290fbbefec3980c12dc078bb9741d3725 [Pipeline] echo [2023-03-07T18:42:46.288Z] -----------> git rev-list -1 --merges 87acad6290fbbefec3980c12dc078bb9741d3725~1..87acad6290fbbefec3980c12dc078bb9741d3725 87acad6290fbbefec3980c12dc078bb9741d3725 [2023-03-07T18:42:46.288Z] 87acad6290fbbefec3980c12dc078bb9741d3725 [false] [Pipeline] sh [2023-03-07T18:42:46.573Z] + git log --format=format:%s -1 87acad6290fbbefec3980c12dc078bb9741d3725 [Pipeline] echo [2023-03-07T18:42:46.588Z] ========================================================= [2023-03-07T18:42:46.588Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-07T18:42:46.588Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T18:42:46.905Z] + git log --format=format:%s -1 87acad6290fbbefec3980c12dc078bb9741d3725 [Pipeline] echo [2023-03-07T18:42:46.915Z] [semverPrep] GIT_COMMIT: 87acad6290fbbefec3980c12dc078bb9741d3725, Commit Message: Merge commit '774c2037947f109106e5ac1f44e7b15f17fcf2b1' into HEAD [Pipeline] echo [2023-03-07T18:42:46.923Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-07T18:42:47.261Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-07T18:42:47.262Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-07T18:42:47.262Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-07T18:42:47.262Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-07T18:42:47.262Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-07T18:42:47.262Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-07T18:42:47.262Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:42:47.598Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T18:42:47.598Z] [2023-03-07T18:42:47.598Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:42:47.906Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T18:42:47.906Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-07T18:42:47.906Z] b85a868b505f: Pulling fs layer [2023-03-07T18:42:47.906Z] e2be974225ed: Pulling fs layer [2023-03-07T18:42:47.906Z] 339a4e72a1f5: Pulling fs layer [2023-03-07T18:42:47.906Z] 988bab9f4d93: Pulling fs layer [2023-03-07T18:42:47.906Z] 1469e6f7b9e6: Pulling fs layer [2023-03-07T18:42:47.906Z] eaf3925da568: Pulling fs layer [2023-03-07T18:42:47.906Z] bab4dde63d76: Pulling fs layer [2023-03-07T18:42:47.906Z] bde34c3a00c8: Pulling fs layer [2023-03-07T18:42:47.906Z] b352a97aabf1: Pulling fs layer [2023-03-07T18:42:47.906Z] 4872d77fe225: Pulling fs layer [2023-03-07T18:42:47.906Z] 5851b861e8e6: Pulling fs layer [2023-03-07T18:42:47.906Z] 988bab9f4d93: Waiting [2023-03-07T18:42:47.906Z] 1469e6f7b9e6: Waiting [2023-03-07T18:42:47.906Z] eaf3925da568: Waiting [2023-03-07T18:42:47.906Z] b352a97aabf1: Waiting [2023-03-07T18:42:47.906Z] 4872d77fe225: Waiting [2023-03-07T18:42:47.906Z] 5851b861e8e6: Waiting [2023-03-07T18:42:47.906Z] bab4dde63d76: Waiting [2023-03-07T18:42:47.906Z] bde34c3a00c8: Waiting [2023-03-07T18:42:47.906Z] e2be974225ed: Verifying Checksum [2023-03-07T18:42:47.906Z] e2be974225ed: Download complete [2023-03-07T18:42:47.906Z] 988bab9f4d93: Verifying Checksum [2023-03-07T18:42:47.906Z] 988bab9f4d93: Download complete [2023-03-07T18:42:48.168Z] 1469e6f7b9e6: Verifying Checksum [2023-03-07T18:42:48.168Z] 1469e6f7b9e6: Download complete [2023-03-07T18:42:48.168Z] eaf3925da568: Verifying Checksum [2023-03-07T18:42:48.168Z] eaf3925da568: Download complete [2023-03-07T18:42:48.168Z] 339a4e72a1f5: Verifying Checksum [2023-03-07T18:42:48.168Z] 339a4e72a1f5: Download complete [2023-03-07T18:42:48.168Z] b352a97aabf1: Verifying Checksum [2023-03-07T18:42:48.168Z] b352a97aabf1: Download complete [2023-03-07T18:42:48.168Z] 4872d77fe225: Download complete [2023-03-07T18:42:48.168Z] 5851b861e8e6: Verifying Checksum [2023-03-07T18:42:48.168Z] 5851b861e8e6: Download complete [2023-03-07T18:42:48.168Z] b85a868b505f: Verifying Checksum [2023-03-07T18:42:48.168Z] b85a868b505f: Download complete [2023-03-07T18:42:48.427Z] bab4dde63d76: Verifying Checksum [2023-03-07T18:42:48.427Z] bab4dde63d76: Download complete [2023-03-07T18:42:49.363Z] b85a868b505f: Pull complete [2023-03-07T18:42:49.363Z] e2be974225ed: Pull complete [2023-03-07T18:42:49.931Z] 339a4e72a1f5: Pull complete [2023-03-07T18:42:49.931Z] 988bab9f4d93: Pull complete [2023-03-07T18:42:50.190Z] 1469e6f7b9e6: Pull complete [2023-03-07T18:42:50.190Z] eaf3925da568: Pull complete [2023-03-07T18:42:52.096Z] bab4dde63d76: Pull complete [2023-03-07T18:42:52.096Z] bde34c3a00c8: Pull complete [2023-03-07T18:42:52.096Z] b352a97aabf1: Pull complete [2023-03-07T18:42:52.096Z] 4872d77fe225: Pull complete [2023-03-07T18:42:52.096Z] 5851b861e8e6: Pull complete [2023-03-07T18:42:52.096Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-07T18:42:52.096Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T18:42:52.096Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:42:52.181Z] prd-ubuntu20.04-docker-8c-8g-8608 does not seem to be running inside a container [2023-03-07T18:42:52.216Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-07T18:42:54.852Z] $ docker top f2ad819586e58c9db0368a1f9b21e7f25efb6758ef0e7ed10acd11b5b498bd47 -eo pid,comm [2023-03-07T18:42:54.906Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-07T18:42:54.906Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-07T18:42:54.941Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T18:42:54.941Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T18:42:55.039Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T18:42:55.045Z] $ docker exec f2ad819586e58c9db0368a1f9b21e7f25efb6758ef0e7ed10acd11b5b498bd47 ssh-agent [2023-03-07T18:42:55.148Z] SSH_AUTH_SOCK=/tmp/ssh-xw04cyrTWqrG/agent.32 [2023-03-07T18:42:55.148Z] SSH_AGENT_PID=38 [2023-03-07T18:42:55.154Z] Running ssh-add (command line suppressed) [2023-03-07T18:42:55.247Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/private_key_8840950640430891526.key (/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/private_key_8840950640430891526.key) [2023-03-07T18:42:55.257Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T18:42:55.542Z] + git tag --points-at HEAD [Pipeline] } [2023-03-07T18:42:55.560Z] $ docker exec --env ******** --env ******** f2ad819586e58c9db0368a1f9b21e7f25efb6758ef0e7ed10acd11b5b498bd47 ssh-agent -k [2023-03-07T18:42:55.663Z] unset SSH_AUTH_SOCK; [2023-03-07T18:42:55.663Z] unset SSH_AGENT_PID; [2023-03-07T18:42:55.663Z] echo Agent pid 38 killed; [2023-03-07T18:42:55.668Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-07T18:42:55.690Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T18:42:55.690Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T18:42:55.796Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T18:42:55.801Z] $ docker exec f2ad819586e58c9db0368a1f9b21e7f25efb6758ef0e7ed10acd11b5b498bd47 ssh-agent [2023-03-07T18:42:55.900Z] SSH_AUTH_SOCK=/tmp/ssh-oYnKSid2Ie1Z/agent.70 [2023-03-07T18:42:55.900Z] SSH_AGENT_PID=76 [2023-03-07T18:42:55.904Z] Running ssh-add (command line suppressed) [2023-03-07T18:42:56.025Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/private_key_15599649485400907915.key (/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/private_key_15599649485400907915.key) [2023-03-07T18:42:56.034Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T18:42:56.316Z] + git semver init [2023-03-07T18:42:56.575Z] 2023-03-07 18:42:56,522 [run_init] DEBUG init version:0.0.0 force:False [2023-03-07T18:42:56.575Z] 2023-03-07 18:42:56,522 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver [2023-03-07T18:42:56.575Z] 2023-03-07 18:42:56,523 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver [2023-03-07T18:42:56.575Z] 2023-03-07 18:42:56,523 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1356, universal_newlines=False, shell=None, istream=None) [2023-03-07T18:42:57.509Z] 2023-03-07 18:42:57,406 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356/.git/info/exclude [2023-03-07T18:42:57.509Z] 2023-03-07 18:42:57,407 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver/PR-1356 with force:False [2023-03-07T18:42:57.509Z] 2023-03-07 18:42:57,407 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver/PR-1356 [2023-03-07T18:42:57.509Z] 2023-03-07 18:42:57,411 [execute] INFO git cat-file --batch-check [2023-03-07T18:42:57.509Z] 2023-03-07 18:42:57,412 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T18:42:57.509Z] 2023-03-07 18:42:57,418 [execute] INFO git cat-file --batch [2023-03-07T18:42:57.509Z] 2023-03-07 18:42:57,419 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T18:42:57.509Z] 2023-03-07 18:42:57,424 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver/PR-1356 [2023-03-07T18:42:57.509Z] 0.0.0 [Pipeline] } [2023-03-07T18:42:57.521Z] $ docker exec --env ******** --env ******** f2ad819586e58c9db0368a1f9b21e7f25efb6758ef0e7ed10acd11b5b498bd47 ssh-agent -k [2023-03-07T18:42:57.619Z] unset SSH_AUTH_SOCK; [2023-03-07T18:42:57.619Z] unset SSH_AGENT_PID; [2023-03-07T18:42:57.620Z] echo Agent pid 76 killed; [2023-03-07T18:42:57.628Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-07T18:42:57.927Z] + git semver [Pipeline] } [2023-03-07T18:42:58.203Z] $ docker stop --time=1 f2ad819586e58c9db0368a1f9b21e7f25efb6758ef0e7ed10acd11b5b498bd47 [2023-03-07T18:42:59.517Z] $ docker rm -f --volumes f2ad819586e58c9db0368a1f9b21e7f25efb6758ef0e7ed10acd11b5b498bd47 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T18:42:59.846Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-07T18:43:00.051Z] Stashed 1 file(s) [Pipeline] echo [2023-03-07T18:43:00.055Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T18:43:00.208Z] provisioning config files... [2023-03-07T18:43:00.215Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/config13264714641573918251tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:43:00.508Z] ---> docker-login.sh [2023-03-07T18:43:00.509Z] nexus3.edgexfoundry.org:10001 [2023-03-07T18:43:00.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:43:00.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:43:00.509Z] Configure a credential helper to remove this warning. See [2023-03-07T18:43:00.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:43:00.509Z] [2023-03-07T18:43:00.509Z] Login Succeeded [2023-03-07T18:43:00.509Z] nexus3.edgexfoundry.org:10002 [2023-03-07T18:43:00.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:43:00.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:43:00.509Z] Configure a credential helper to remove this warning. See [2023-03-07T18:43:00.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:43:00.509Z] [2023-03-07T18:43:00.509Z] Login Succeeded [2023-03-07T18:43:00.509Z] nexus3.edgexfoundry.org:10003 [2023-03-07T18:43:00.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:43:00.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:43:00.766Z] Configure a credential helper to remove this warning. See [2023-03-07T18:43:00.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:43:00.766Z] [2023-03-07T18:43:00.766Z] Login Succeeded [2023-03-07T18:43:00.766Z] nexus3.edgexfoundry.org:10004 [2023-03-07T18:43:00.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:43:00.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:43:00.766Z] Configure a credential helper to remove this warning. See [2023-03-07T18:43:00.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:43:00.766Z] [2023-03-07T18:43:00.766Z] Login Succeeded [2023-03-07T18:43:00.766Z] docker.io [2023-03-07T18:43:00.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:43:01.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:43:01.024Z] Configure a credential helper to remove this warning. See [2023-03-07T18:43:01.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:43:01.024Z] [2023-03-07T18:43:01.024Z] Login Succeeded [2023-03-07T18:43:01.024Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T18:43:01.030Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T18:43:01.094Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T18:43:01.107Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T18:43:01.115Z] ========================================================= [2023-03-07T18:43:01.115Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-07T18:43:01.115Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:43:01.444Z] + 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-03-07T18:43:01.444Z] Sending build context to Docker daemon 10.69MB [2023-03-07T18:43:01.444Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T18:43:01.444Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-07T18:43:01.703Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-07T18:43:01.703Z] 213ec9aee27d: Pulling fs layer [2023-03-07T18:43:01.703Z] 4583459ba037: Pulling fs layer [2023-03-07T18:43:01.703Z] 93c1e223e6f2: Pulling fs layer [2023-03-07T18:43:01.703Z] 53926ce57604: Pulling fs layer [2023-03-07T18:43:01.703Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-07T18:43:01.703Z] 22ff95d597cd: Pulling fs layer [2023-03-07T18:43:01.703Z] 12d6caf4c0d1: Pulling fs layer [2023-03-07T18:43:01.703Z] 96b7cbca73a9: Pulling fs layer [2023-03-07T18:43:01.703Z] a7acece74701: Pulling fs layer [2023-03-07T18:43:01.703Z] 53926ce57604: Waiting [2023-03-07T18:43:01.703Z] 21b2b0c7a3f4: Waiting [2023-03-07T18:43:01.703Z] 22ff95d597cd: Waiting [2023-03-07T18:43:01.703Z] 12d6caf4c0d1: Waiting [2023-03-07T18:43:01.703Z] 96b7cbca73a9: Waiting [2023-03-07T18:43:01.703Z] a7acece74701: Waiting [2023-03-07T18:43:01.703Z] 93c1e223e6f2: Verifying Checksum [2023-03-07T18:43:01.703Z] 93c1e223e6f2: Download complete [2023-03-07T18:43:01.703Z] 4583459ba037: Download complete [2023-03-07T18:43:01.703Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-07T18:43:01.703Z] 21b2b0c7a3f4: Download complete [2023-03-07T18:43:01.703Z] 22ff95d597cd: Download complete [2023-03-07T18:43:01.703Z] 213ec9aee27d: Verifying Checksum [2023-03-07T18:43:01.703Z] 12d6caf4c0d1: Verifying Checksum [2023-03-07T18:43:01.703Z] 12d6caf4c0d1: Download complete [2023-03-07T18:43:01.963Z] 213ec9aee27d: Pull complete [2023-03-07T18:43:02.222Z] 4583459ba037: Pull complete [2023-03-07T18:43:02.222Z] 93c1e223e6f2: Pull complete [2023-03-07T18:43:02.222Z] a7acece74701: Verifying Checksum [2023-03-07T18:43:02.222Z] a7acece74701: Download complete [2023-03-07T18:43:02.479Z] 96b7cbca73a9: Verifying Checksum [2023-03-07T18:43:02.479Z] 96b7cbca73a9: Download complete [2023-03-07T18:43:02.738Z] 53926ce57604: Verifying Checksum [2023-03-07T18:43:02.738Z] 53926ce57604: Download complete [2023-03-07T18:43:06.920Z] 53926ce57604: Pull complete [2023-03-07T18:43:06.920Z] 21b2b0c7a3f4: Pull complete [2023-03-07T18:43:06.920Z] 22ff95d597cd: Pull complete [2023-03-07T18:43:06.920Z] 12d6caf4c0d1: Pull complete [2023-03-07T18:43:08.833Z] 96b7cbca73a9: Pull complete [2023-03-07T18:43:09.400Z] a7acece74701: Pull complete [2023-03-07T18:43:09.400Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-07T18:43:09.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-07T18:43:09.400Z] ---> db6d94c90886 [2023-03-07T18:43:09.400Z] Step 3/10 : ARG MAKE=make build [2023-03-07T18:43:13.597Z] ---> Running in 44c1245b08b5 [2023-03-07T18:43:13.597Z] Removing intermediate container 44c1245b08b5 [2023-03-07T18:43:13.597Z] ---> 70e6cf77414c [2023-03-07T18:43:13.597Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-07T18:43:13.597Z] ---> Running in 219a137c87b6 [2023-03-07T18:43:13.597Z] Removing intermediate container 219a137c87b6 [2023-03-07T18:43:13.597Z] ---> 83129ec2b425 [2023-03-07T18:43:13.597Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T18:43:13.597Z] ---> Running in dd4b3a5167b8 [2023-03-07T18:43:13.855Z] Removing intermediate container dd4b3a5167b8 [2023-03-07T18:43:13.855Z] ---> 39eae519439f [2023-03-07T18:43:13.855Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-07T18:43:13.855Z] ---> Running in 1ff93b2b1e31 [2023-03-07T18:43:14.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T18:43:14.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T18:43:14.678Z] OK: 211 MiB in 51 packages [2023-03-07T18:43:14.678Z] Removing intermediate container 1ff93b2b1e31 [2023-03-07T18:43:14.678Z] ---> 5343601c3f1b [2023-03-07T18:43:14.678Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-07T18:43:14.937Z] ---> 24caea366f61 [2023-03-07T18:43:14.937Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T18:43:14.937Z] ---> Running in 50eae6f4dcdb [2023-03-07T18:43:15.170Z] Still waiting to schedule task [2023-03-07T18:43:15.170Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8604’ [2023-03-07T18:43:41.475Z] Removing intermediate container 50eae6f4dcdb [2023-03-07T18:43:41.475Z] ---> fe72fcdd3100 [2023-03-07T18:43:41.475Z] Step 9/10 : COPY . . [2023-03-07T18:43:41.475Z] ---> bb160d525ec2 [2023-03-07T18:43:41.475Z] Step 10/10 : RUN ${MAKE} [2023-03-07T18:43:41.475Z] ---> Running in 6faabb527837 [2023-03-07T18:43:41.475Z] noop [2023-03-07T18:43:41.475Z] Removing intermediate container 6faabb527837 [2023-03-07T18:43:41.475Z] ---> 3470f51c2030 [2023-03-07T18:43:41.475Z] Successfully built 3470f51c2030 [2023-03-07T18:43:41.475Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:43:41.795Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T18:43:41.795Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:43:41.868Z] prd-ubuntu20.04-docker-8c-8g-8608 does not seem to be running inside a container [2023-03-07T18:43:41.903Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-07T18:43:42.235Z] $ docker top 0d56fa975d160d450c5c6db69aa8a4224f5f736da06c17e2d75597ba39b5ef2f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T18:43:42.575Z] + go version [2023-03-07T18:43:42.575Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-07T18:43:42.591Z] $ docker stop --time=1 0d56fa975d160d450c5c6db69aa8a4224f5f736da06c17e2d75597ba39b5ef2f [2023-03-07T18:43:43.881Z] $ docker rm -f --volumes 0d56fa975d160d450c5c6db69aa8a4224f5f736da06c17e2d75597ba39b5ef2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:43:44.268Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T18:43:44.268Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:43:44.336Z] prd-ubuntu20.04-docker-8c-8g-8608 does not seem to be running inside a container [2023-03-07T18:43:44.369Z] $ 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-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-07T18:43:44.705Z] $ docker top 7acf08b4f3002ebda6e5027a728b3c9bbe0f4d6075a63316ef218be4aed924c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T18:43:45.044Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1356 [Pipeline] fileExists [Pipeline] sh [2023-03-07T18:43:45.339Z] + make test [2023-03-07T18:43:45.339Z] go test -race -coverprofile=coverage.out ./... [2023-03-07T18:43:51.899Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-07T18:44:06.764Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-07T18:44:06.764Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-07T18:44:06.764Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-07T18:44:06.764Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-07T18:44:06.764Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-07T18:44:06.764Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.059s coverage: 27.6% of statements [2023-03-07T18:44:06.764Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.067s coverage: 78.9% of statements [2023-03-07T18:44:06.764Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-07T18:44:06.764Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.095s coverage: 86.0% of statements [2023-03-07T18:44:06.764Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-07T18:44:06.764Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-07T18:44:06.764Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.118s coverage: 75.9% of statements [2023-03-07T18:44:06.764Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-07T18:44:08.664Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.078s coverage: 15.2% of statements [2023-03-07T18:44:08.664Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-07T18:44:08.664Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.094s coverage: 65.2% of statements [2023-03-07T18:44:08.664Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-07T18:44:08.664Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-07T18:44:08.664Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.761s coverage: 89.2% of statements [2023-03-07T18:44:08.664Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-07T18:44:08.664Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.067s coverage: 4.6% of statements [2023-03-07T18:44:08.664Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-07T18:44:26.735Z] 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-03-07T18:44:26.735Z] GO111MODULE=on go vet ./... [2023-03-07T18:44:27.669Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T18:44:27.669Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T18:44:27.669Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-07T18:44:27.695Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T18:44:27.711Z] $ docker stop --time=1 7acf08b4f3002ebda6e5027a728b3c9bbe0f4d6075a63316ef218be4aed924c9 [2023-03-07T18:44:31.558Z] $ docker rm -f --volumes 7acf08b4f3002ebda6e5027a728b3c9bbe0f4d6075a63316ef218be4aed924c9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T18:44:32.041Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T18:44:32.107Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-07T18:44:32.519Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T18:44:32.800Z] + ls -al . [2023-03-07T18:44:32.800Z] total 280 [2023-03-07T18:44:32.800Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 18:43 . [2023-03-07T18:44:32.800Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 18:42 .. [2023-03-07T18:44:32.800Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 18:42 .dockerignore [2023-03-07T18:44:32.800Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 18:44 .git [2023-03-07T18:44:32.800Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 18:42 .github [2023-03-07T18:44:32.800Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 7 18:42 .gitignore [2023-03-07T18:44:32.800Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 18:42 .golangci.yml [2023-03-07T18:44:32.800Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 18:42 .semver [2023-03-07T18:44:32.800Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 7 18:42 CHANGELOG.md [2023-03-07T18:44:32.800Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 18:42 GOVERNANCE.md [2023-03-07T18:44:32.800Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 7 18:42 Jenkinsfile [2023-03-07T18:44:32.800Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 18:42 LICENSE [2023-03-07T18:44:32.800Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 7 18:42 Makefile [2023-03-07T18:44:32.800Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 18:42 OWNERS.md [2023-03-07T18:44:32.800Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 7 18:42 README.md [2023-03-07T18:44:32.800Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 18:42 VERSION [2023-03-07T18:44:32.800Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 18:42 bin [2023-03-07T18:44:32.800Z] -rw-r--r-- 1 jenkins jenkins 111635 Mar 7 18:44 coverage.out [2023-03-07T18:44:32.800Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 18:42 example [2023-03-07T18:44:32.800Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 7 18:42 go.mod [2023-03-07T18:44:32.801Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 7 18:42 go.sum [2023-03-07T18:44:32.801Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 7 18:42 internal [2023-03-07T18:44:32.801Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 18:42 openapi [2023-03-07T18:44:32.801Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 18:42 pkg [2023-03-07T18:44:32.801Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 18:42 snap [2023-03-07T18:44:32.801Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 18:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:44:33.103Z] + 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=87acad6290fbbefec3980c12dc078bb9741d3725 --label arch=amd64 --label version=0.0.0 . [2023-03-07T18:44:33.103Z] Sending build context to Docker daemon 10.8MB [2023-03-07T18:44:33.103Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T18:44:33.103Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-07T18:44:33.103Z] ---> 3470f51c2030 [2023-03-07T18:44:33.103Z] Step 3/23 : ARG MAKE=make build [2023-03-07T18:44:33.361Z] ---> Running in 3e13a8104a6d [2023-03-07T18:44:33.361Z] Removing intermediate container 3e13a8104a6d [2023-03-07T18:44:33.361Z] ---> 102a437092e6 [2023-03-07T18:44:33.361Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-07T18:44:33.361Z] ---> Running in d604732b3ab8 [2023-03-07T18:44:33.361Z] Removing intermediate container d604732b3ab8 [2023-03-07T18:44:33.361Z] ---> 14ad7581f4d1 [2023-03-07T18:44:33.361Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T18:44:33.361Z] ---> Running in 6cfaa120f293 [2023-03-07T18:44:33.620Z] Removing intermediate container 6cfaa120f293 [2023-03-07T18:44:33.620Z] ---> 81da9437a3b2 [2023-03-07T18:44:33.620Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-07T18:44:33.620Z] ---> Running in 175734ec0e7a [2023-03-07T18:44:33.878Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T18:44:33.878Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T18:44:34.137Z] OK: 211 MiB in 51 packages [2023-03-07T18:44:34.395Z] Removing intermediate container 175734ec0e7a [2023-03-07T18:44:34.395Z] ---> dcec601f393f [2023-03-07T18:44:34.395Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-07T18:44:34.654Z] ---> 6253d4a933e4 [2023-03-07T18:44:34.654Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T18:44:34.654Z] ---> Running in b7c392368ed8 [2023-03-07T18:44:35.591Z] Removing intermediate container b7c392368ed8 [2023-03-07T18:44:35.591Z] ---> a59fbdaeaf3f [2023-03-07T18:44:35.592Z] Step 9/23 : COPY . . [2023-03-07T18:44:35.850Z] ---> 941469561630 [2023-03-07T18:44:35.850Z] Step 10/23 : RUN ${MAKE} [2023-03-07T18:44:35.850Z] ---> Running in bb5b8d9c7357 [2023-03-07T18:44:36.109Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-07T18:44:58.205Z] Removing intermediate container bb5b8d9c7357 [2023-03-07T18:44:58.205Z] ---> 391f1305ec38 [2023-03-07T18:44:58.205Z] Step 11/23 : FROM alpine:3.16 [2023-03-07T18:44:58.205Z] 3.16: Pulling from library/alpine [2023-03-07T18:44:58.205Z] ef5531b6e74e: Pulling fs layer [2023-03-07T18:44:58.205Z] ef5531b6e74e: Verifying Checksum [2023-03-07T18:44:58.205Z] ef5531b6e74e: Download complete [2023-03-07T18:44:58.205Z] ef5531b6e74e: Pull complete [2023-03-07T18:44:58.205Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T18:44:58.205Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T18:44:58.205Z] ---> dfd21b5a31f5 [2023-03-07T18:44:58.205Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-07T18:44:58.205Z] ---> Running in 914cf6c2eda8 [2023-03-07T18:44:58.205Z] Removing intermediate container 914cf6c2eda8 [2023-03-07T18:44:58.205Z] ---> eb160c6e5ade [2023-03-07T18:44:58.205Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-07T18:44:58.205Z] ---> Running in 354af8026cf5 [2023-03-07T18:44:58.205Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T18:44:58.205Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T18:44:58.205Z] OK: 6 MiB in 14 packages [2023-03-07T18:44:58.205Z] Removing intermediate container 354af8026cf5 [2023-03-07T18:44:58.205Z] ---> e0e837fc5b20 [2023-03-07T18:44:58.205Z] Step 14/23 : WORKDIR / [2023-03-07T18:44:58.205Z] ---> Running in 008cde8a3cec [2023-03-07T18:44:58.205Z] Removing intermediate container 008cde8a3cec [2023-03-07T18:44:58.205Z] ---> 919b8e524f54 [2023-03-07T18:44:58.205Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-07T18:44:58.205Z] ---> 4ebc9eb1f9f1 [2023-03-07T18:44:58.205Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-07T18:44:58.205Z] ---> ef74cb5a788a [2023-03-07T18:44:58.205Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-07T18:44:58.205Z] ---> 4be861c54c08 [2023-03-07T18:44:58.205Z] Step 18/23 : EXPOSE 59999 [2023-03-07T18:44:58.205Z] ---> Running in 016afc49113f [2023-03-07T18:44:58.205Z] Removing intermediate container 016afc49113f [2023-03-07T18:44:58.205Z] ---> bb86dd2bb38f [2023-03-07T18:44:58.205Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-07T18:44:58.205Z] ---> Running in f02df59addb4 [2023-03-07T18:44:58.463Z] Removing intermediate container f02df59addb4 [2023-03-07T18:44:58.463Z] ---> c471c1ce810d [2023-03-07T18:44:58.463Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-07T18:44:58.463Z] ---> Running in df4cea4c99fd [2023-03-07T18:44:58.463Z] Removing intermediate container df4cea4c99fd [2023-03-07T18:44:58.463Z] ---> 7bf65b8b8ac8 [2023-03-07T18:44:58.463Z] Step 21/23 : LABEL arch=amd64 [2023-03-07T18:44:58.463Z] ---> Running in 50a3ef3c375c [2023-03-07T18:44:58.463Z] Removing intermediate container 50a3ef3c375c [2023-03-07T18:44:58.463Z] ---> 968d09d27646 [2023-03-07T18:44:58.463Z] Step 22/23 : LABEL git_sha=87acad6290fbbefec3980c12dc078bb9741d3725 [2023-03-07T18:44:58.723Z] ---> Running in f4eb9ed74587 [2023-03-07T18:44:58.723Z] Removing intermediate container f4eb9ed74587 [2023-03-07T18:44:58.723Z] ---> fccd9b5121ee [2023-03-07T18:44:58.723Z] Step 23/23 : LABEL version=0.0.0 [2023-03-07T18:44:58.723Z] ---> Running in 0f32b8266220 [2023-03-07T18:44:58.723Z] Removing intermediate container 0f32b8266220 [2023-03-07T18:44:58.723Z] ---> e9b22fee5249 [2023-03-07T18:44:58.723Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T18:44:58.723Z] Successfully built e9b22fee5249 [2023-03-07T18:44:58.723Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:44:59.154Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T18:44:59.155Z] [2023-03-07T18:44:59.155Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:44:59.456Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T18:44:59.456Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-07T18:44:59.456Z] 5eb5b503b376: Pulling fs layer [2023-03-07T18:44:59.456Z] 5c69ac0246d0: Pulling fs layer [2023-03-07T18:44:59.456Z] ec43610c2a17: Pulling fs layer [2023-03-07T18:44:59.456Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-07T18:44:59.456Z] 33b1e0a273af: Pulling fs layer [2023-03-07T18:44:59.456Z] 5d3b04190fa2: Pulling fs layer [2023-03-07T18:44:59.456Z] 2f39f015ded8: Pulling fs layer [2023-03-07T18:44:59.456Z] 3a2ae6a8a46f: Waiting [2023-03-07T18:44:59.456Z] 33b1e0a273af: Waiting [2023-03-07T18:44:59.456Z] 5d3b04190fa2: Waiting [2023-03-07T18:44:59.456Z] 2f39f015ded8: Waiting [2023-03-07T18:44:59.456Z] 5c69ac0246d0: Download complete [2023-03-07T18:44:59.456Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-07T18:44:59.456Z] 3a2ae6a8a46f: Download complete [2023-03-07T18:44:59.717Z] 33b1e0a273af: Verifying Checksum [2023-03-07T18:44:59.717Z] 33b1e0a273af: Download complete [2023-03-07T18:44:59.717Z] 5d3b04190fa2: Download complete [2023-03-07T18:44:59.717Z] ec43610c2a17: Verifying Checksum [2023-03-07T18:44:59.717Z] ec43610c2a17: Download complete [2023-03-07T18:44:59.717Z] 5eb5b503b376: Verifying Checksum [2023-03-07T18:44:59.717Z] 5eb5b503b376: Download complete [2023-03-07T18:45:00.281Z] 2f39f015ded8: Download complete [2023-03-07T18:45:00.844Z] 5eb5b503b376: Pull complete [2023-03-07T18:45:01.101Z] 5c69ac0246d0: Pull complete [2023-03-07T18:45:01.360Z] ec43610c2a17: Pull complete [2023-03-07T18:45:01.360Z] 3a2ae6a8a46f: Pull complete [2023-03-07T18:45:01.617Z] 33b1e0a273af: Pull complete [2023-03-07T18:45:01.617Z] 5d3b04190fa2: Pull complete [2023-03-07T18:45:05.794Z] 2f39f015ded8: Pull complete [2023-03-07T18:45:05.794Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-07T18:45:05.794Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T18:45:05.794Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:45:05.881Z] prd-ubuntu20.04-docker-8c-8g-8608 does not seem to be running inside a container [2023-03-07T18:45:05.913Z] $ 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-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-07T18:45:09.722Z] $ docker top a6168f4fd5f0de2d2cea5191961cfbb8a7d759a6e8fbb22ac6e5647b8ed835a9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:45:10.087Z] ---> job-cost.sh [2023-03-07T18:45:10.087Z] lf-activate-venv: SKIPPING [2023-03-07T18:45:10.087Z] INFO: No Stack... [2023-03-07T18:45:10.346Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T18:45:10.605Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T18:45:10.896Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives/cost.csv [2023-03-07T18:45:10.896Z] + cut -d, -f6 [Pipeline] lock [2023-03-07T18:45:10.911Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1356-3-stack-cost] [2023-03-07T18:45:10.917Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1356-3-stack-cost] did not exist. Created. [2023-03-07T18:45:10.917Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1356-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T18:45:11.222Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-07T18:45:11.246Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T18:45:11.253Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1356-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T18:45:11.278Z] $ docker stop --time=1 a6168f4fd5f0de2d2cea5191961cfbb8a7d759a6e8fbb22ac6e5647b8ed835a9 [2023-03-07T18:45:12.425Z] $ docker rm -f --volumes a6168f4fd5f0de2d2cea5191961cfbb8a7d759a6e8fbb22ac6e5647b8ed835a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-07T18:46:09.064Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8613 in /w/workspace/gexfoundry_device-sdk-go_PR-1356 [Pipeline] { [Pipeline] ws [2023-03-07T18:46:09.072Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2023-03-07T18:46:09.112Z] The recommended git tool is: git [2023-03-07T18:46:15.927Z] using credential edgex-jenkins-ssh [2023-03-07T18:46:15.947Z] Cloning the remote Git repository [2023-03-07T18:46:16.016Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-07T18:46:16.115Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2023-03-07T18:46:16.322Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-07T18:46:16.323Z] > git --version # timeout=10 [2023-03-07T18:46:16.369Z] > git --version # 'git version 2.25.1' [2023-03-07T18:46:16.371Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T18:46:16.451Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T18:46:18.226Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-07T18:46:18.255Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T18:46:20.203Z] Merging remotes/origin/main commit 774c2037947f109106e5ac1f44e7b15f17fcf2b1 into PR head commit bfaf1cb2e0564bf88f325ac167a80e6040adddd1 [2023-03-07T18:46:20.561Z] Merge succeeded, producing 6906e51c24e25edc5e7068c7045eae97e56345f2 [2023-03-07T18:46:20.561Z] Checking out Revision 6906e51c24e25edc5e7068c7045eae97e56345f2 (PR-1356) [2023-03-07T18:46:19.449Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-07T18:46:19.497Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-07T18:46:19.499Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T18:46:19.518Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1356/head:refs/remotes/origin/PR-1356 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-07T18:46:20.229Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T18:46:20.249Z] > git checkout -f bfaf1cb2e0564bf88f325ac167a80e6040adddd1 # timeout=10 [2023-03-07T18:46:20.376Z] > git remote # timeout=10 [2023-03-07T18:46:20.394Z] > git config --get remote.origin.url # timeout=10 [2023-03-07T18:46:20.413Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T18:46:20.430Z] > git merge 774c2037947f109106e5ac1f44e7b15f17fcf2b1 # timeout=10 [2023-03-07T18:46:20.545Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-07T18:46:20.574Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T18:46:20.594Z] > git checkout -f 6906e51c24e25edc5e7068c7045eae97e56345f2 # timeout=10 [2023-03-07T18:46:24.326Z] Commit message: "Merge commit '774c2037947f109106e5ac1f44e7b15f17fcf2b1' into HEAD" [2023-03-07T18:46:24.342Z] > git rev-list --no-walk bfaf1cb2e0564bf88f325ac167a80e6040adddd1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T18:46:25.426Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-07T18:46:25.426Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T18:46:25.426Z] Dload Upload Total Spent Left Speed [2023-03-07T18:46:25.426Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh [2023-03-07T18:46:26.238Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-07T18:46:26.593Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-07T18:46:26.593Z] + sudo tee /etc/docker/daemon.new [2023-03-07T18:46:26.593Z] { [2023-03-07T18:46:26.593Z] "registry-mirrors": [ [2023-03-07T18:46:26.593Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-07T18:46:26.593Z] ], [2023-03-07T18:46:26.593Z] "bip": "10.250.0.254/24", [2023-03-07T18:46:26.593Z] "hosts": [ [2023-03-07T18:46:26.593Z] "tcp://0.0.0.0:5555", [2023-03-07T18:46:26.593Z] "unix:///var/run/docker.sock" [2023-03-07T18:46:26.593Z] ], [2023-03-07T18:46:26.593Z] "mtu": 1458, [2023-03-07T18:46:26.593Z] "selinux-enabled": true, [2023-03-07T18:46:26.593Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-07T18:46:26.593Z] } [Pipeline] sh [2023-03-07T18:46:26.955Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-07T18:46:27.328Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T18:46:45.686Z] provisioning config files... [2023-03-07T18:46:45.719Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config4249848859180031191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:46:46.091Z] ---> docker-login.sh [2023-03-07T18:46:46.091Z] nexus3.edgexfoundry.org:10001 [2023-03-07T18:46:46.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:46:46.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:46:46.693Z] Configure a credential helper to remove this warning. See [2023-03-07T18:46:46.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:46:46.693Z] [2023-03-07T18:46:46.693Z] Login Succeeded [2023-03-07T18:46:46.693Z] nexus3.edgexfoundry.org:10002 [2023-03-07T18:46:46.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:46:47.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:46:47.238Z] Configure a credential helper to remove this warning. See [2023-03-07T18:46:47.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:46:47.238Z] [2023-03-07T18:46:47.238Z] Login Succeeded [2023-03-07T18:46:47.238Z] nexus3.edgexfoundry.org:10003 [2023-03-07T18:46:47.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:46:47.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:46:47.509Z] Configure a credential helper to remove this warning. See [2023-03-07T18:46:47.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:46:47.509Z] [2023-03-07T18:46:47.509Z] Login Succeeded [2023-03-07T18:46:47.509Z] nexus3.edgexfoundry.org:10004 [2023-03-07T18:46:47.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:46:48.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:46:48.055Z] Configure a credential helper to remove this warning. See [2023-03-07T18:46:48.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:46:48.055Z] [2023-03-07T18:46:48.055Z] Login Succeeded [2023-03-07T18:46:48.055Z] docker.io [2023-03-07T18:46:48.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:46:48.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:46:48.596Z] Configure a credential helper to remove this warning. See [2023-03-07T18:46:48.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:46:48.596Z] [2023-03-07T18:46:48.596Z] Login Succeeded [2023-03-07T18:46:48.596Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T18:46:48.611Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T18:46:48.907Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T18:46:48.925Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T18:46:48.933Z] ========================================================= [2023-03-07T18:46:48.933Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-07T18:46:48.933Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:46:49.293Z] + 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-03-07T18:46:49.909Z] Sending build context to Docker daemon 5.766MB [2023-03-07T18:46:49.909Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T18:46:49.909Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-07T18:46:49.909Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-07T18:46:49.909Z] 9b18e9b68314: Pulling fs layer [2023-03-07T18:46:49.909Z] 35d82f9e3411: Pulling fs layer [2023-03-07T18:46:49.909Z] e16973657156: Pulling fs layer [2023-03-07T18:46:49.909Z] fc693d55d65f: Pulling fs layer [2023-03-07T18:46:49.909Z] 7e9fc2657dce: Pulling fs layer [2023-03-07T18:46:49.909Z] dda99020689f: Pulling fs layer [2023-03-07T18:46:49.909Z] db1c61fa0a46: Pulling fs layer [2023-03-07T18:46:49.909Z] 891c053d2c06: Pulling fs layer [2023-03-07T18:46:49.909Z] dda99020689f: Waiting [2023-03-07T18:46:49.909Z] fc693d55d65f: Waiting [2023-03-07T18:46:49.909Z] 7e9fc2657dce: Waiting [2023-03-07T18:46:49.909Z] 891c053d2c06: Waiting [2023-03-07T18:46:50.190Z] e16973657156: Verifying Checksum [2023-03-07T18:46:50.190Z] e16973657156: Download complete [2023-03-07T18:46:50.190Z] 35d82f9e3411: Verifying Checksum [2023-03-07T18:46:50.190Z] 35d82f9e3411: Download complete [2023-03-07T18:46:50.190Z] 7e9fc2657dce: Verifying Checksum [2023-03-07T18:46:50.190Z] 7e9fc2657dce: Download complete [2023-03-07T18:46:50.190Z] dda99020689f: Verifying Checksum [2023-03-07T18:46:50.190Z] dda99020689f: Download complete [2023-03-07T18:46:50.190Z] 9b18e9b68314: Verifying Checksum [2023-03-07T18:46:50.190Z] 9b18e9b68314: Download complete [2023-03-07T18:46:51.174Z] 9b18e9b68314: Pull complete [2023-03-07T18:46:51.174Z] 891c053d2c06: Verifying Checksum [2023-03-07T18:46:51.174Z] 891c053d2c06: Download complete [2023-03-07T18:46:51.783Z] 35d82f9e3411: Pull complete [2023-03-07T18:46:52.054Z] e16973657156: Pull complete [2023-03-07T18:46:52.649Z] db1c61fa0a46: Verifying Checksum [2023-03-07T18:46:52.649Z] db1c61fa0a46: Download complete [2023-03-07T18:46:53.239Z] fc693d55d65f: Verifying Checksum [2023-03-07T18:46:53.239Z] fc693d55d65f: Download complete [2023-03-07T18:47:05.605Z] fc693d55d65f: Pull complete [2023-03-07T18:47:05.605Z] 7e9fc2657dce: Pull complete [2023-03-07T18:47:05.875Z] dda99020689f: Pull complete [2023-03-07T18:47:12.554Z] db1c61fa0a46: Pull complete [2023-03-07T18:47:13.979Z] 891c053d2c06: Pull complete [2023-03-07T18:47:13.979Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-07T18:47:13.979Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-07T18:47:13.979Z] ---> f96f9c87975a [2023-03-07T18:47:13.979Z] Step 3/10 : ARG MAKE=make build [2023-03-07T18:47:15.936Z] ---> Running in 1ee7f8aa9541 [2023-03-07T18:47:16.210Z] Removing intermediate container 1ee7f8aa9541 [2023-03-07T18:47:16.210Z] ---> 942506602a56 [2023-03-07T18:47:16.210Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-07T18:47:16.482Z] ---> Running in b025c226df11 [2023-03-07T18:47:16.751Z] Removing intermediate container b025c226df11 [2023-03-07T18:47:16.751Z] ---> dce5f15d1bd7 [2023-03-07T18:47:16.751Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T18:47:16.751Z] ---> Running in 89bc9507beff [2023-03-07T18:47:17.341Z] Removing intermediate container 89bc9507beff [2023-03-07T18:47:17.341Z] ---> a07a96a51830 [2023-03-07T18:47:17.341Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-07T18:47:17.341Z] ---> Running in cbdf08d2d884 [2023-03-07T18:47:18.776Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T18:47:19.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T18:47:20.023Z] OK: 221 MiB in 51 packages [2023-03-07T18:47:21.010Z] Removing intermediate container cbdf08d2d884 [2023-03-07T18:47:21.010Z] ---> 4f247a1dec91 [2023-03-07T18:47:21.010Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-07T18:47:21.987Z] ---> 6d8fe0ad3438 [2023-03-07T18:47:21.987Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T18:47:21.987Z] ---> Running in fb781700ae29 [2023-03-07T18:48:29.923Z] Removing intermediate container fb781700ae29 [2023-03-07T18:48:29.923Z] ---> 9310da1a50dc [2023-03-07T18:48:29.923Z] Step 9/10 : COPY . . [2023-03-07T18:48:29.923Z] ---> baee1a0b71fe [2023-03-07T18:48:29.923Z] Step 10/10 : RUN ${MAKE} [2023-03-07T18:48:29.923Z] ---> Running in ed37d741fa37 [2023-03-07T18:48:29.923Z] noop [2023-03-07T18:48:29.923Z] Removing intermediate container ed37d741fa37 [2023-03-07T18:48:29.923Z] ---> cd92a2618722 [2023-03-07T18:48:29.923Z] Successfully built cd92a2618722 [2023-03-07T18:48:29.923Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:48:30.283Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T18:48:30.283Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:48:30.491Z] prd-ubuntu20.04-docker-arm64-4c-16g-8613 does not seem to be running inside a container [2023-03-07T18:48:30.568Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-07T18:48:31.859Z] $ docker top 2c100a13e2157f3464cb51a691af6082d48c2d84eab2e01ea6bcb0750d72359e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T18:48:32.725Z] + go version [2023-03-07T18:48:32.725Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-07T18:48:32.751Z] $ docker stop --time=1 2c100a13e2157f3464cb51a691af6082d48c2d84eab2e01ea6bcb0750d72359e [2023-03-07T18:48:34.416Z] $ docker rm -f --volumes 2c100a13e2157f3464cb51a691af6082d48c2d84eab2e01ea6bcb0750d72359e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:48:34.991Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T18:48:34.991Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:48:35.200Z] prd-ubuntu20.04-docker-arm64-4c-16g-8613 does not seem to be running inside a container [2023-03-07T18:48:35.281Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-07T18:48:36.513Z] $ docker top 71bee8cbb7ca7cc72ce9c7690f2aa3a799846d41828b3830225346fbda9498db -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T18:48:37.366Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2023-03-07T18:48:38.023Z] + make test [2023-03-07T18:48:38.023Z] go test -race -coverprofile=coverage.out ./... [2023-03-07T18:49:16.927Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-07T18:51:53.714Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-07T18:51:53.714Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-07T18:51:53.714Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-07T18:51:53.714Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-07T18:51:53.714Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-07T18:51:59.080Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.307s coverage: 27.6% of statements [2023-03-07T18:52:00.044Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.331s coverage: 78.9% of statements [2023-03-07T18:52:00.044Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-07T18:52:06.705Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.430s coverage: 86.0% of statements [2023-03-07T18:52:06.705Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-07T18:52:06.705Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-07T18:52:09.302Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.500s coverage: 75.9% of statements [2023-03-07T18:52:09.302Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-07T18:52:09.302Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.317s coverage: 15.2% of statements [2023-03-07T18:52:09.302Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-07T18:52:11.253Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.446s coverage: 65.2% of statements [2023-03-07T18:52:11.253Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-07T18:52:11.253Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-07T18:52:11.521Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.402s coverage: 89.2% of statements [2023-03-07T18:52:11.521Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-07T18:52:11.521Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.382s coverage: 4.6% of statements [2023-03-07T18:52:11.521Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-07T18:52:12.105Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-07T18:52:12.105Z] GO111MODULE=on go vet ./... [2023-03-07T18:53:48.807Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T18:53:49.088Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T18:53:49.358Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-07T18:53:49.647Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T18:53:49.665Z] $ docker stop --time=1 71bee8cbb7ca7cc72ce9c7690f2aa3a799846d41828b3830225346fbda9498db [2023-03-07T18:53:51.504Z] $ docker rm -f --volumes 71bee8cbb7ca7cc72ce9c7690f2aa3a799846d41828b3830225346fbda9498db [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T18:53:52.902Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T18:53:52.925Z] Warning: overwriting stash ‘coverage-report’ [2023-03-07T18:53:53.603Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T18:53:54.023Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T18:53:54.349Z] + ls -al . [2023-03-07T18:53:54.349Z] total 276 [2023-03-07T18:53:54.349Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 18:48 . [2023-03-07T18:53:54.349Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 18:46 .. [2023-03-07T18:53:54.349Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 18:46 .dockerignore [2023-03-07T18:53:54.349Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 18:46 .git [2023-03-07T18:53:54.349Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 18:46 .github [2023-03-07T18:53:54.349Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 7 18:46 .gitignore [2023-03-07T18:53:54.349Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 18:46 .golangci.yml [2023-03-07T18:53:54.349Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 7 18:46 CHANGELOG.md [2023-03-07T18:53:54.349Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 18:46 GOVERNANCE.md [2023-03-07T18:53:54.349Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 7 18:46 Jenkinsfile [2023-03-07T18:53:54.349Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 18:46 LICENSE [2023-03-07T18:53:54.349Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 7 18:46 Makefile [2023-03-07T18:53:54.349Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 18:46 OWNERS.md [2023-03-07T18:53:54.349Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 7 18:46 README.md [2023-03-07T18:53:54.349Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 18:42 VERSION [2023-03-07T18:53:54.349Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 18:46 bin [2023-03-07T18:53:54.349Z] -rw-r--r-- 1 jenkins jenkins 111635 Mar 7 18:52 coverage.out [2023-03-07T18:53:54.349Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 18:46 example [2023-03-07T18:53:54.349Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 7 18:46 go.mod [2023-03-07T18:53:54.349Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 7 18:46 go.sum [2023-03-07T18:53:54.349Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 7 18:46 internal [2023-03-07T18:53:54.349Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 18:46 openapi [2023-03-07T18:53:54.349Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 18:46 pkg [2023-03-07T18:53:54.349Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 18:46 snap [2023-03-07T18:53:54.349Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 18:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:53:54.777Z] + 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=6906e51c24e25edc5e7068c7045eae97e56345f2 --label arch=arm64 --label version=0.0.0 . [2023-03-07T18:53:55.374Z] Sending build context to Docker daemon 5.879MB [2023-03-07T18:53:55.374Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T18:53:55.374Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-07T18:53:55.374Z] ---> cd92a2618722 [2023-03-07T18:53:55.374Z] Step 3/23 : ARG MAKE=make build [2023-03-07T18:53:55.374Z] ---> Running in 0cbbffbd18af [2023-03-07T18:53:55.651Z] Removing intermediate container 0cbbffbd18af [2023-03-07T18:53:55.651Z] ---> a69e3820edc3 [2023-03-07T18:53:55.652Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-07T18:53:55.925Z] ---> Running in 11ee145f9d68 [2023-03-07T18:53:56.212Z] Removing intermediate container 11ee145f9d68 [2023-03-07T18:53:56.212Z] ---> 3ed886d05af2 [2023-03-07T18:53:56.212Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T18:53:56.212Z] ---> Running in 6002fc1633fd [2023-03-07T18:53:56.514Z] Removing intermediate container 6002fc1633fd [2023-03-07T18:53:56.514Z] ---> cd9f036e852a [2023-03-07T18:53:56.514Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-07T18:53:56.514Z] ---> Running in b0083995c052 [2023-03-07T18:53:57.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T18:53:58.124Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T18:53:59.098Z] OK: 221 MiB in 51 packages [2023-03-07T18:54:00.070Z] Removing intermediate container b0083995c052 [2023-03-07T18:54:00.070Z] ---> 53a6b8361a51 [2023-03-07T18:54:00.070Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-07T18:54:00.344Z] ---> d8093e00dbfc [2023-03-07T18:54:00.344Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T18:54:00.614Z] ---> Running in b97b9502d965 [2023-03-07T18:54:03.264Z] Removing intermediate container b97b9502d965 [2023-03-07T18:54:03.264Z] ---> 26dabe122bd1 [2023-03-07T18:54:03.264Z] Step 9/23 : COPY . . [2023-03-07T18:54:04.676Z] ---> 7568b925515f [2023-03-07T18:54:04.676Z] Step 10/23 : RUN ${MAKE} [2023-03-07T18:54:04.676Z] ---> Running in 94cff3a43920 [2023-03-07T18:54:05.639Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-07T18:56:27.352Z] Removing intermediate container 94cff3a43920 [2023-03-07T18:56:27.352Z] ---> 6b42f45781c8 [2023-03-07T18:56:27.352Z] Step 11/23 : FROM alpine:3.16 [2023-03-07T18:56:27.352Z] 3.16: Pulling from library/alpine [2023-03-07T18:56:27.352Z] 3760b48202b3: Pulling fs layer [2023-03-07T18:56:27.352Z] 3760b48202b3: Download complete [2023-03-07T18:56:27.352Z] 3760b48202b3: Pull complete [2023-03-07T18:56:27.352Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T18:56:27.352Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T18:56:27.352Z] ---> 4c81e5bf8899 [2023-03-07T18:56:27.352Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-07T18:56:27.352Z] ---> Running in ced83d51e9d9 [2023-03-07T18:56:27.352Z] Removing intermediate container ced83d51e9d9 [2023-03-07T18:56:27.352Z] ---> 2a90aa8156d1 [2023-03-07T18:56:27.352Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-07T18:56:27.352Z] ---> Running in 59cf79f7efe0 [2023-03-07T18:56:27.352Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T18:56:27.352Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T18:56:27.352Z] OK: 5 MiB in 14 packages [2023-03-07T18:56:27.352Z] Removing intermediate container 59cf79f7efe0 [2023-03-07T18:56:27.352Z] ---> 54c3fecc9d78 [2023-03-07T18:56:27.352Z] Step 14/23 : WORKDIR / [2023-03-07T18:56:27.352Z] ---> Running in bd461d122b55 [2023-03-07T18:56:27.352Z] Removing intermediate container bd461d122b55 [2023-03-07T18:56:27.352Z] ---> 45e9b708a2e6 [2023-03-07T18:56:27.352Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-07T18:56:27.352Z] ---> 58d274041735 [2023-03-07T18:56:27.352Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-07T18:56:27.352Z] ---> bab0a39e5074 [2023-03-07T18:56:27.352Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-07T18:56:27.352Z] ---> 8092c6ce8538 [2023-03-07T18:56:27.352Z] Step 18/23 : EXPOSE 59999 [2023-03-07T18:56:27.352Z] ---> Running in b0dae12e9e1a [2023-03-07T18:56:27.352Z] Removing intermediate container b0dae12e9e1a [2023-03-07T18:56:27.352Z] ---> 5ec18eb9aee2 [2023-03-07T18:56:27.352Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-07T18:56:27.352Z] ---> Running in 8cf223ba0c4c [2023-03-07T18:56:27.352Z] Removing intermediate container 8cf223ba0c4c [2023-03-07T18:56:27.352Z] ---> d14bc437f691 [2023-03-07T18:56:27.352Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-07T18:56:27.352Z] ---> Running in 5eabd15071f7 [2023-03-07T18:56:27.618Z] Removing intermediate container 5eabd15071f7 [2023-03-07T18:56:27.618Z] ---> 4b9ddc0b63c3 [2023-03-07T18:56:27.618Z] Step 21/23 : LABEL arch=arm64 [2023-03-07T18:56:27.618Z] ---> Running in 5a2b175ea2ed [2023-03-07T18:56:27.884Z] Removing intermediate container 5a2b175ea2ed [2023-03-07T18:56:27.884Z] ---> db911456c09c [2023-03-07T18:56:27.884Z] Step 22/23 : LABEL git_sha=6906e51c24e25edc5e7068c7045eae97e56345f2 [2023-03-07T18:56:27.884Z] ---> Running in ef012fb950f3 [2023-03-07T18:56:28.156Z] Removing intermediate container ef012fb950f3 [2023-03-07T18:56:28.156Z] ---> 875adf38125d [2023-03-07T18:56:28.156Z] Step 23/23 : LABEL version=0.0.0 [2023-03-07T18:56:28.421Z] ---> Running in 40ebcd984423 [2023-03-07T18:56:28.688Z] Removing intermediate container 40ebcd984423 [2023-03-07T18:56:28.688Z] ---> 00eee08293aa [2023-03-07T18:56:28.688Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T18:56:28.688Z] Successfully built 00eee08293aa [2023-03-07T18:56:28.688Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:56:29.129Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T18:56:29.129Z] [2023-03-07T18:56:29.129Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:56:29.462Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T18:56:29.463Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-07T18:56:29.463Z] 8998bd30e6a1: Pulling fs layer [2023-03-07T18:56:29.463Z] 04944245beec: Pulling fs layer [2023-03-07T18:56:29.463Z] 699f458cf7ca: Pulling fs layer [2023-03-07T18:56:29.463Z] 765212b225bb: Pulling fs layer [2023-03-07T18:56:29.463Z] f23df028b6ca: Pulling fs layer [2023-03-07T18:56:29.463Z] d65c8cfc05b1: Pulling fs layer [2023-03-07T18:56:29.463Z] 2437ff75d9bd: Pulling fs layer [2023-03-07T18:56:29.463Z] d65c8cfc05b1: Waiting [2023-03-07T18:56:29.463Z] 765212b225bb: Waiting [2023-03-07T18:56:29.463Z] 2437ff75d9bd: Waiting [2023-03-07T18:56:29.732Z] 04944245beec: Verifying Checksum [2023-03-07T18:56:29.732Z] 04944245beec: Download complete [2023-03-07T18:56:29.732Z] 765212b225bb: Verifying Checksum [2023-03-07T18:56:29.732Z] 765212b225bb: Download complete [2023-03-07T18:56:29.732Z] f23df028b6ca: Verifying Checksum [2023-03-07T18:56:29.732Z] f23df028b6ca: Download complete [2023-03-07T18:56:29.732Z] d65c8cfc05b1: Verifying Checksum [2023-03-07T18:56:29.732Z] d65c8cfc05b1: Download complete [2023-03-07T18:56:29.999Z] 699f458cf7ca: Verifying Checksum [2023-03-07T18:56:29.999Z] 699f458cf7ca: Download complete [2023-03-07T18:56:30.265Z] 8998bd30e6a1: Verifying Checksum [2023-03-07T18:56:30.265Z] 8998bd30e6a1: Download complete [2023-03-07T18:56:32.208Z] 2437ff75d9bd: Verifying Checksum [2023-03-07T18:56:32.208Z] 2437ff75d9bd: Download complete [2023-03-07T18:56:34.143Z] 8998bd30e6a1: Pull complete [2023-03-07T18:56:34.410Z] 04944245beec: Pull complete [2023-03-07T18:56:35.820Z] 699f458cf7ca: Pull complete [2023-03-07T18:56:35.820Z] 765212b225bb: Pull complete [2023-03-07T18:56:36.403Z] f23df028b6ca: Pull complete [2023-03-07T18:56:36.670Z] d65c8cfc05b1: Pull complete [2023-03-07T18:56:51.660Z] 2437ff75d9bd: Pull complete [2023-03-07T18:56:51.660Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-07T18:56:51.660Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T18:56:51.660Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:56:51.857Z] prd-ubuntu20.04-docker-arm64-4c-16g-8613 does not seem to be running inside a container [2023-03-07T18:56:51.928Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-07T18:56:54.548Z] $ docker top be9bf386504b82fb22f4a8cda67094411624650961677f0fc83d5884ccd28123 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:56:55.381Z] ---> job-cost.sh [2023-03-07T18:56:55.382Z] lf-activate-venv: SKIPPING [2023-03-07T18:56:55.382Z] INFO: No Stack... [2023-03-07T18:56:55.962Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-07T18:56:56.542Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T18:56:56.861Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2023-03-07T18:56:56.862Z] + cut -d, -f6 [Pipeline] lock [2023-03-07T18:56:57.189Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1356-3-stack-cost] [2023-03-07T18:56:57.199Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1356-3-stack-cost] did not exist. Created. [2023-03-07T18:56:57.199Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1356-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T18:56:57.539Z] /w/workspace/device-sdk-go/3@tmp/durable-f7c2baee/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-07T18:56:58.144Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-07T18:56:58.179Z] Warning: overwriting stash ‘stack-cost’ [2023-03-07T18:56:58.237Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T18:56:58.249Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1356-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T18:56:58.270Z] $ docker stop --time=1 be9bf386504b82fb22f4a8cda67094411624650961677f0fc83d5884ccd28123 [2023-03-07T18:57:00.306Z] $ docker rm -f --volumes be9bf386504b82fb22f4a8cda67094411624650961677f0fc83d5884ccd28123 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-07T18:57:00.686Z] provisioning config files... [2023-03-07T18:57:00.693Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/config836704125073899037tmp [Pipeline] { [Pipeline] sh [2023-03-07T18:57:00.984Z] + set +x [2023-03-07T18:57:00.984Z] + curl -s https://codecov.io/bash [2023-03-07T18:57:00.984Z] + bash -s -- [2023-03-07T18:57:00.984Z] [2023-03-07T18:57:00.984Z] _____ _ [2023-03-07T18:57:00.984Z] / ____| | | [2023-03-07T18:57:00.984Z] | | ___ __| | ___ ___ _____ __ [2023-03-07T18:57:00.984Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-07T18:57:00.984Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-07T18:57:00.984Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-07T18:57:00.984Z] Bash-1.0.6 [2023-03-07T18:57:00.984Z] [2023-03-07T18:57:00.984Z] [2023-03-07T18:57:00.984Z] ==> git version 2.25.1 found [2023-03-07T18:57:00.984Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-07T18:57:00.984Z] Release-Date: 2020-01-08 [2023-03-07T18:57:00.984Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-07T18:57:00.984Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-07T18:57:00.984Z] ==> Jenkins CI detected. [2023-03-07T18:57:00.984Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1356 [2023-03-07T18:57:00.984Z] project root: . [2023-03-07T18:57:00.984Z] --> token set from env [2023-03-07T18:57:00.984Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-07T18:57:00.984Z] ==> Running gcov in . (disable via -X gcov) [2023-03-07T18:57:00.984Z] ==> Python coveragepy not found [2023-03-07T18:57:00.984Z] ==> Searching for coverage reports in: [2023-03-07T18:57:00.984Z] + . [2023-03-07T18:57:00.984Z] -> Found 1 reports [2023-03-07T18:57:00.984Z] ==> Detecting git/mercurial file structure [2023-03-07T18:57:00.984Z] ==> Reading reports [2023-03-07T18:57:00.984Z] + ./coverage.out bytes=111635 [2023-03-07T18:57:00.984Z] ==> Appending adjustments [2023-03-07T18:57:00.984Z] https://docs.codecov.io/docs/fixing-reports [2023-03-07T18:57:01.242Z] + Found adjustments [2023-03-07T18:57:01.242Z] ==> Gzipping contents [2023-03-07T18:57:01.242Z] 16K /tmp/codecov.U6jcVb.gz [2023-03-07T18:57:01.242Z] ==> Uploading reports [2023-03-07T18:57:01.242Z] url: https://codecov.io [2023-03-07T18:57:01.242Z] query: branch=PR-1356&commit=87acad6290fbbefec3980c12dc078bb9741d3725&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1356%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1356&job=&cmd_args= [2023-03-07T18:57:01.242Z] -> Pinging Codecov [2023-03-07T18:57:01.242Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1356&commit=87acad6290fbbefec3980c12dc078bb9741d3725&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1356%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1356&job=&cmd_args= [2023-03-07T18:57:57.500Z]  [2023-03-07T18:57:57.500Z] [2023-03-07T18:57:57.500Z] [2023-03-07T18:57:57.500Z] 502 Server Error [2023-03-07T18:57:57.500Z] [2023-03-07T18:57:57.500Z] [2023-03-07T18:57:57.500Z]

Error: Server Error

[2023-03-07T18:57:57.500Z]

The server encountered a temporary error and could not complete your request.

Please try again in 30 seconds.

[2023-03-07T18:57:57.500Z]

[2023-03-07T18:57:57.500Z] [2023-03-07T18:57:57.500Z] {"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"} [2023-03-07T18:57:57.500Z] 500 [2023-03-07T18:57:57.500Z] ==> Uploading to Codecov [2023-03-07T18:57:57.500Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T18:57:57.500Z] Dload Upload Total Spent Left Speed [2023-03-07T18:57:57.500Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15414 100 31 100 15383 102 50937 --:--:-- --:--:-- --:--:-- 51039 [2023-03-07T18:57:57.500Z] Warning: Transient problem: HTTP error Will retry in 2 seconds. 5 retries [2023-03-07T18:57:57.500Z] Warning: left. [2023-03-07T18:57:57.500Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15414 100 31 100 15383 151 75406 --:--:-- --:--:-- --:--:-- 75558 [2023-03-07T18:57:57.500Z] Warning: Transient problem: HTTP error Will retry in 2 seconds. 4 retries [2023-03-07T18:57:57.500Z] Warning: left. [2023-03-07T18:57:57.500Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15414 100 31 100 15383 63 31266 --:--:-- --:--:-- --:--:-- 31265 100 15414 100 31 100 15383 63 31266 --:--:-- --:--:-- --:--:-- 31265 [2023-03-07T18:57:57.500Z] Warning: Transient problem: HTTP error Will retry in 2 seconds. 3 retries [2023-03-07T18:57:57.500Z] Warning: left. [2023-03-07T18:57:58.436Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15629 100 246 100 15383 1547 96748 --:--:-- --:--:-- --:--:-- 98295 [2023-03-07T18:57:58.436Z] Reports have been successfully queued for processing at {"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"}{"message": "Coverage reports upload successfully", "uploaded": true, "queued": true, "id": "bf04bde7-eaa0-49f0-a717-6a33c5dfedcb", "url": "https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/87acad6290fbbefec3980c12dc078bb9741d3725"} [Pipeline] } [2023-03-07T18:57:58.444Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-07T18:57:59.108Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives ] [2023-03-07T18:57:59.108Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives [2023-03-07T18:57:59.108Z] total 16 [2023-03-07T18:57:59.108Z] drwxr-xr-x 3 root root 4096 Mar 7 18:45 . [2023-03-07T18:57:59.108Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 18:45 .. [2023-03-07T18:57:59.108Z] drwxr-xr-x 2 root root 4096 Mar 7 18:45 cost [2023-03-07T18:57:59.108Z] -rw-r--r-- 1 root root 86 Mar 7 18:45 cost.csv [2023-03-07T18:57:59.108Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives [2023-03-07T18:57:59.108Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives [2023-03-07T18:57:59.108Z] total 16 [2023-03-07T18:57:59.108Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 18:45 . [2023-03-07T18:57:59.108Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 18:45 .. [2023-03-07T18:57:59.108Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 18:45 cost [2023-03-07T18:57:59.108Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 7 18:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:57:59.397Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:58:00.250Z] ---> package-listing.sh [2023-03-07T18:58:00.250Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-07T18:58:00.250Z] ++ facter osfamily [2023-03-07T18:58:00.509Z] + OS_FAMILY=debian [2023-03-07T18:58:00.509Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1356 [2023-03-07T18:58:00.509Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-07T18:58:00.509Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-07T18:58:00.509Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-07T18:58:00.509Z] + PACKAGES=/tmp/packages_start.txt [2023-03-07T18:58:00.509Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1356 ']' [2023-03-07T18:58:00.509Z] + PACKAGES=/tmp/packages_end.txt [2023-03-07T18:58:00.509Z] + case "${OS_FAMILY}" in [2023-03-07T18:58:00.509Z] + dpkg -l [2023-03-07T18:58:00.509Z] + grep '^ii' [2023-03-07T18:58:00.509Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-07T18:58:00.509Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-07T18:58:00.509Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-07T18:58:00.509Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1356 ']' [2023-03-07T18:58:00.509Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives/ [2023-03-07T18:58:00.509Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives/ [Pipeline] echo [2023-03-07T18:58:00.519Z] 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-1356/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-07T18:58:00.796Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:58:01.354Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T18:58:01.354Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:58:01.422Z] prd-ubuntu20.04-docker-8c-8g-8608 does not seem to be running inside a container [2023-03-07T18:58:01.456Z] $ 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-1356/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-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-07T18:58:01.633Z] $ docker top f220ac33e2ec0ad35eca1931f85186d274b3edd9cc9820324aca9f2625cd96c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T18:58:01.957Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-07T18:58:02.239Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-07T18:58:02.519Z] + ls /var/log/sa-host [2023-03-07T18:58:02.519Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T18:58:02.586Z] provisioning config files... [2023-03-07T18:58:02.593Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/config10703796734680105949tmp [Pipeline] { [Pipeline] echo [2023-03-07T18:58:02.609Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:58:02.889Z] ---> create-netrc.sh [Pipeline] } [2023-03-07T18:58:02.896Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:58:03.224Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-07T18:58:03.232Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:58:03.514Z] ---> sudo-logs.sh [2023-03-07T18:58:03.514Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-07T18:58:03.543Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:58:03.831Z] ---> job-cost.sh [2023-03-07T18:58:03.831Z] lf-activate-venv: SKIPPING [2023-03-07T18:58:03.831Z] DEBUG: total: 0.2199999988079071 [2023-03-07T18:58:03.831Z] INFO: Retrieving Stack Cost... [2023-03-07T18:58:04.089Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T18:58:04.656Z] INFO: Archiving Costs [Pipeline] echo [2023-03-07T18:58:04.668Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:58:04.946Z] ---> logs-deploy.sh [2023-03-07T18:58:04.946Z] lf-activate-venv: SKIPPING [2023-03-07T18:58:04.946Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1356/3 [2023-03-07T18:58:04.946Z] INFO: archiving workspace using pattern(s): [2023-03-07T18:58:05.883Z] Archives upload complete. [2023-03-07T18:58:05.883Z] INFO: archiving logs to Nexus