Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1154ba09cfab54c3f87ee2fcca63044f37cf653b+775e2b56bedf8d4ad3f90164e245819fbdab1870 (90b1a26b1dc1257cc0dbbde3422ab2badfc1e1b9) 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-ssh3511650756568838309.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-ssh6168374533425017798.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-1295/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-1295/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7524670620534048967.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-ssh13033054429621946896.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-1295/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-1295/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15165454221073876943.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 Running on prd-ubuntu20.04-docker-8c-8g-4387 in /w/workspace/gexfoundry_device-sdk-go_PR-1295 [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-1295 # 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 Merging remotes/origin/main commit 775e2b56bedf8d4ad3f90164e245819fbdab1870 into PR head commit 1154ba09cfab54c3f87ee2fcca63044f37cf653b Merge succeeded, producing bf643881eafef1920ae47b9acb8bf8dcde2230df Checking out Revision bf643881eafef1920ae47b9acb8bf8dcde2230df (PR-1295) > 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/1295/head:refs/remotes/origin/PR-1295 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1154ba09cfab54c3f87ee2fcca63044f37cf653b # 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 775e2b56bedf8d4ad3f90164e245819fbdab1870 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bf643881eafef1920ae47b9acb8bf8dcde2230df # timeout=10 Commit message: "Merge commit '775e2b56bedf8d4ad3f90164e245819fbdab1870' into HEAD" > git rev-list --no-walk 1154ba09cfab54c3f87ee2fcca63044f37cf653b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-02T18:41:37.109Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-02T18:41:37.175Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-02T18:41:37.189Z] ========================================================= [2023-02-02T18:41:37.189Z] EdgeX Global Pipelines Version Info [2023-02-02T18:41:37.189Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-02T18:41:37.894Z] ------------------- [2023-02-02T18:41:37.894Z] stable info: [2023-02-02T18:41:37.895Z] ------------------- [2023-02-02T18:41:37.895Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-02T18:41:37.895Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-02T18:41:37.895Z] Message: update stable to v1.0.244 [2023-02-02T18:41:38.463Z] ------------------- [2023-02-02T18:41:38.463Z] experimental info: [2023-02-02T18:41:38.463Z] ------------------- [2023-02-02T18:41:38.463Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-02T18:41:38.463Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-02T18:41:38.463Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-02T18:41:38.618Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-02T18:41:38.630Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-02T18:41:38.646Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-02T18:41:38.658Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-02T18:41:38.673Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-02T18:41:38.686Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-02T18:41:38.701Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-02T18:41:38.711Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-02T18:41:38.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-02T18:41:38.735Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-02T18:41:38.747Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-02T18:41:38.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-02T18:41:38.772Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-02T18:41:38.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-02T18:41:38.800Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-02T18:41:38.814Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-02T18:41:38.830Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-02T18:41:38.841Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-02T18:41:38.853Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-02T18:41:38.867Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-02T18:41:38.876Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-02T18:41:38.888Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-02T18:41:38.903Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-02T18:41:38.915Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-02T18:41:38.929Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-02T18:41:38.945Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-02T18:41:38.958Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-02T18:41:38.972Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1295 [Pipeline] echo [2023-02-02T18:41:38.984Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1295 [Pipeline] echo [2023-02-02T18:41:38.998Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1295 [Pipeline] echo [2023-02-02T18:41:39.008Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bf643881eafef1920ae47b9acb8bf8dcde2230df [Pipeline] echo [2023-02-02T18:41:39.023Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bf64388 [Pipeline] echo [2023-02-02T18:41:39.039Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-02T18:41:39.081Z] provisioning config files... [2023-02-02T18:41:39.093Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1295@tmp/config17679743951110980235tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-02T18:41:39.390Z] ---> docker-login.sh [2023-02-02T18:41:39.390Z] nexus3.edgexfoundry.org:10001 [2023-02-02T18:41:39.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:41:39.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:41:39.649Z] Configure a credential helper to remove this warning. See [2023-02-02T18:41:39.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:41:39.649Z] [2023-02-02T18:41:39.649Z] Login Succeeded [2023-02-02T18:41:39.649Z] nexus3.edgexfoundry.org:10002 [2023-02-02T18:41:39.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:41:39.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:41:39.907Z] Configure a credential helper to remove this warning. See [2023-02-02T18:41:39.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:41:39.907Z] [2023-02-02T18:41:39.907Z] Login Succeeded [2023-02-02T18:41:39.907Z] nexus3.edgexfoundry.org:10003 [2023-02-02T18:41:39.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:41:39.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:41:39.907Z] Configure a credential helper to remove this warning. See [2023-02-02T18:41:39.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:41:39.907Z] [2023-02-02T18:41:39.907Z] Login Succeeded [2023-02-02T18:41:39.907Z] nexus3.edgexfoundry.org:10004 [2023-02-02T18:41:40.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:41:40.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:41:40.165Z] Configure a credential helper to remove this warning. See [2023-02-02T18:41:40.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:41:40.165Z] [2023-02-02T18:41:40.165Z] Login Succeeded [2023-02-02T18:41:40.165Z] docker.io [2023-02-02T18:41:40.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:41:40.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:41:40.425Z] Configure a credential helper to remove this warning. See [2023-02-02T18:41:40.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:41:40.425Z] [2023-02-02T18:41:40.425Z] Login Succeeded [2023-02-02T18:41:40.425Z] ---> docker-login.sh ends [Pipeline] } [2023-02-02T18:41:40.433Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-02T18:41:40.805Z] + git rev-list -1 --merges bf643881eafef1920ae47b9acb8bf8dcde2230df~1..bf643881eafef1920ae47b9acb8bf8dcde2230df [Pipeline] echo [2023-02-02T18:41:40.849Z] -----------> git rev-list -1 --merges bf643881eafef1920ae47b9acb8bf8dcde2230df~1..bf643881eafef1920ae47b9acb8bf8dcde2230df bf643881eafef1920ae47b9acb8bf8dcde2230df [2023-02-02T18:41:40.849Z] bf643881eafef1920ae47b9acb8bf8dcde2230df [false] [Pipeline] sh [2023-02-02T18:41:41.133Z] + git log --format=format:%s -1 bf643881eafef1920ae47b9acb8bf8dcde2230df [Pipeline] echo [2023-02-02T18:41:41.151Z] ========================================================= [2023-02-02T18:41:41.151Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-02T18:41:41.151Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-02T18:41:41.497Z] + git log --format=format:%s -1 bf643881eafef1920ae47b9acb8bf8dcde2230df [Pipeline] echo [2023-02-02T18:41:41.509Z] [semverPrep] GIT_COMMIT: bf643881eafef1920ae47b9acb8bf8dcde2230df, Commit Message: Merge commit '775e2b56bedf8d4ad3f90164e245819fbdab1870' into HEAD [Pipeline] echo [2023-02-02T18:41:41.520Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-02T18:41:41.904Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-02T18:41:41.904Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-02T18:41:41.904Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-02T18:41:41.904Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-02T18:41:41.904Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-02T18:41:41.904Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-02T18:41:41.904Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T18:41:42.328Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-02T18:41:42.328Z] [2023-02-02T18:41:42.328Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T18:41:42.625Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-02T18:41:42.625Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-02T18:41:42.625Z] b85a868b505f: Pulling fs layer [2023-02-02T18:41:42.625Z] e2be974225ed: Pulling fs layer [2023-02-02T18:41:42.625Z] 339a4e72a1f5: Pulling fs layer [2023-02-02T18:41:42.625Z] 988bab9f4d93: Pulling fs layer [2023-02-02T18:41:42.625Z] 1469e6f7b9e6: Pulling fs layer [2023-02-02T18:41:42.625Z] eaf3925da568: Pulling fs layer [2023-02-02T18:41:42.625Z] bab4dde63d76: Pulling fs layer [2023-02-02T18:41:42.625Z] bde34c3a00c8: Pulling fs layer [2023-02-02T18:41:42.625Z] b352a97aabf1: Pulling fs layer [2023-02-02T18:41:42.625Z] 4872d77fe225: Pulling fs layer [2023-02-02T18:41:42.625Z] 5851b861e8e6: Pulling fs layer [2023-02-02T18:41:42.625Z] bab4dde63d76: Waiting [2023-02-02T18:41:42.625Z] bde34c3a00c8: Waiting [2023-02-02T18:41:42.625Z] b352a97aabf1: Waiting [2023-02-02T18:41:42.625Z] 4872d77fe225: Waiting [2023-02-02T18:41:42.625Z] 5851b861e8e6: Waiting [2023-02-02T18:41:42.625Z] 988bab9f4d93: Waiting [2023-02-02T18:41:42.625Z] 1469e6f7b9e6: Waiting [2023-02-02T18:41:42.625Z] eaf3925da568: Waiting [2023-02-02T18:41:42.625Z] e2be974225ed: Download complete [2023-02-02T18:41:42.625Z] 988bab9f4d93: Download complete [2023-02-02T18:41:42.889Z] 1469e6f7b9e6: Verifying Checksum [2023-02-02T18:41:42.889Z] 1469e6f7b9e6: Download complete [2023-02-02T18:41:42.889Z] eaf3925da568: Verifying Checksum [2023-02-02T18:41:42.889Z] eaf3925da568: Download complete [2023-02-02T18:41:42.889Z] 339a4e72a1f5: Verifying Checksum [2023-02-02T18:41:42.889Z] 339a4e72a1f5: Download complete [2023-02-02T18:41:42.889Z] bde34c3a00c8: Download complete [2023-02-02T18:41:43.151Z] b352a97aabf1: Download complete [2023-02-02T18:41:43.151Z] 4872d77fe225: Download complete [2023-02-02T18:41:43.151Z] 5851b861e8e6: Verifying Checksum [2023-02-02T18:41:43.151Z] 5851b861e8e6: Download complete [2023-02-02T18:41:43.151Z] b85a868b505f: Verifying Checksum [2023-02-02T18:41:43.151Z] b85a868b505f: Download complete [2023-02-02T18:41:43.722Z] bab4dde63d76: Download complete [2023-02-02T18:41:44.289Z] b85a868b505f: Pull complete [2023-02-02T18:41:44.289Z] e2be974225ed: Pull complete [2023-02-02T18:41:44.856Z] 339a4e72a1f5: Pull complete [2023-02-02T18:41:44.856Z] 988bab9f4d93: Pull complete [2023-02-02T18:41:45.115Z] 1469e6f7b9e6: Pull complete [2023-02-02T18:41:45.115Z] eaf3925da568: Pull complete [2023-02-02T18:41:47.013Z] bab4dde63d76: Pull complete [2023-02-02T18:41:47.013Z] bde34c3a00c8: Pull complete [2023-02-02T18:41:47.013Z] b352a97aabf1: Pull complete [2023-02-02T18:41:47.013Z] 4872d77fe225: Pull complete [2023-02-02T18:41:47.013Z] 5851b861e8e6: Pull complete [2023-02-02T18:41:47.013Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-02T18:41:47.013Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-02T18:41:47.013Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T18:41:47.099Z] prd-ubuntu20.04-docker-8c-8g-4387 does not seem to be running inside a container [2023-02-02T18:41:47.122Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1295 -v /w/workspace/gexfoundry_device-sdk-go_PR-1295:/w/workspace/gexfoundry_device-sdk-go_PR-1295:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1295@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1295@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-02T18:41:50.290Z] $ docker top ca8a9d791d11db76ad749b6db7ab697d7c4802e1a6526b5b3854f78b8e512f60 -eo pid,comm [2023-02-02T18:41:50.345Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-02T18:41:50.345Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-02T18:41:50.377Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-02T18:41:50.377Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-02T18:41:50.480Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-02T18:41:50.481Z] $ docker exec ca8a9d791d11db76ad749b6db7ab697d7c4802e1a6526b5b3854f78b8e512f60 ssh-agent [2023-02-02T18:41:50.581Z] SSH_AUTH_SOCK=/tmp/ssh-1QYK8gRSGf8v/agent.31 [2023-02-02T18:41:50.581Z] SSH_AGENT_PID=37 [2023-02-02T18:41:50.586Z] Running ssh-add (command line suppressed) [2023-02-02T18:41:50.675Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1295@tmp/private_key_10893535125030527981.key (/w/workspace/gexfoundry_device-sdk-go_PR-1295@tmp/private_key_10893535125030527981.key) [2023-02-02T18:41:50.688Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-02T18:41:50.969Z] + git tag --points-at HEAD [Pipeline] } [2023-02-02T18:41:50.981Z] $ docker exec --env ******** --env ******** ca8a9d791d11db76ad749b6db7ab697d7c4802e1a6526b5b3854f78b8e512f60 ssh-agent -k [2023-02-02T18:41:51.080Z] unset SSH_AUTH_SOCK; [2023-02-02T18:41:51.081Z] unset SSH_AGENT_PID; [2023-02-02T18:41:51.081Z] echo Agent pid 37 killed; [2023-02-02T18:41:51.090Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-02T18:41:51.118Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-02T18:41:51.118Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-02T18:41:51.231Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-02T18:41:51.232Z] $ docker exec ca8a9d791d11db76ad749b6db7ab697d7c4802e1a6526b5b3854f78b8e512f60 ssh-agent [2023-02-02T18:41:51.337Z] SSH_AUTH_SOCK=/tmp/ssh-kJ11N8HPTwEO/agent.69 [2023-02-02T18:41:51.337Z] SSH_AGENT_PID=76 [2023-02-02T18:41:51.341Z] Running ssh-add (command line suppressed) [2023-02-02T18:41:51.446Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1295@tmp/private_key_1025326692267997161.key (/w/workspace/gexfoundry_device-sdk-go_PR-1295@tmp/private_key_1025326692267997161.key) [2023-02-02T18:41:51.461Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-02T18:41:51.745Z] + git semver init [2023-02-02T18:41:52.004Z] 2023-02-02 18:41:51,972 [run_init] DEBUG init version:0.0.0 force:False [2023-02-02T18:41:52.004Z] 2023-02-02 18:41:51,974 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1295/.semver [2023-02-02T18:41:52.004Z] 2023-02-02 18:41:51,974 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1295/.semver [2023-02-02T18:41:52.004Z] 2023-02-02 18:41:51,974 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1295/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1295, universal_newlines=False, shell=None, istream=None) [2023-02-02T18:41:53.439Z] 2023-02-02 18:41:52,972 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1295/.git/info/exclude [2023-02-02T18:41:53.439Z] 2023-02-02 18:41:52,972 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1295/.semver/PR-1295 with force:False [2023-02-02T18:41:53.439Z] 2023-02-02 18:41:52,973 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1295/.semver/PR-1295 [2023-02-02T18:41:53.439Z] 2023-02-02 18:41:52,975 [execute] INFO git cat-file --batch-check [2023-02-02T18:41:53.439Z] 2023-02-02 18:41:52,975 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1295/.semver, universal_newlines=False, shell=None, istream=) [2023-02-02T18:41:53.439Z] 2023-02-02 18:41:52,980 [execute] INFO git cat-file --batch [2023-02-02T18:41:53.439Z] 2023-02-02 18:41:52,981 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1295/.semver, universal_newlines=False, shell=None, istream=) [2023-02-02T18:41:53.439Z] 2023-02-02 18:41:52,984 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1295/.semver/PR-1295 [2023-02-02T18:41:53.439Z] 0.0.0 [Pipeline] } [2023-02-02T18:41:53.466Z] $ docker exec --env ******** --env ******** ca8a9d791d11db76ad749b6db7ab697d7c4802e1a6526b5b3854f78b8e512f60 ssh-agent -k [2023-02-02T18:41:53.562Z] unset SSH_AUTH_SOCK; [2023-02-02T18:41:53.563Z] unset SSH_AGENT_PID; [2023-02-02T18:41:53.563Z] echo Agent pid 76 killed; [2023-02-02T18:41:53.659Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-02T18:41:53.963Z] + git semver [Pipeline] } [2023-02-02T18:41:54.235Z] $ docker stop --time=1 ca8a9d791d11db76ad749b6db7ab697d7c4802e1a6526b5b3854f78b8e512f60 [2023-02-02T18:41:55.570Z] $ docker rm -f --volumes ca8a9d791d11db76ad749b6db7ab697d7c4802e1a6526b5b3854f78b8e512f60 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-02T18:41:55.916Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-02T18:41:56.121Z] Stashed 1 file(s) [Pipeline] echo [2023-02-02T18:41:56.124Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-02T18:41:56.258Z] provisioning config files... [2023-02-02T18:41:56.267Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1295@tmp/config10098325631778806581tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-02T18:41:56.557Z] ---> docker-login.sh [2023-02-02T18:41:56.557Z] nexus3.edgexfoundry.org:10001 [2023-02-02T18:41:56.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:41:56.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:41:56.557Z] Configure a credential helper to remove this warning. See [2023-02-02T18:41:56.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:41:56.557Z] [2023-02-02T18:41:56.557Z] Login Succeeded [2023-02-02T18:41:56.557Z] nexus3.edgexfoundry.org:10002 [2023-02-02T18:41:56.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:41:56.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:41:56.557Z] Configure a credential helper to remove this warning. See [2023-02-02T18:41:56.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:41:56.557Z] [2023-02-02T18:41:56.557Z] Login Succeeded [2023-02-02T18:41:56.557Z] nexus3.edgexfoundry.org:10003 [2023-02-02T18:41:56.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:41:56.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:41:56.816Z] Configure a credential helper to remove this warning. See [2023-02-02T18:41:56.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:41:56.816Z] [2023-02-02T18:41:56.816Z] Login Succeeded [2023-02-02T18:41:56.816Z] nexus3.edgexfoundry.org:10004 [2023-02-02T18:41:56.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:41:56.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:41:56.816Z] Configure a credential helper to remove this warning. See [2023-02-02T18:41:56.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:41:56.816Z] [2023-02-02T18:41:56.816Z] Login Succeeded [2023-02-02T18:41:56.816Z] docker.io [2023-02-02T18:41:56.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:41:57.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:41:57.074Z] Configure a credential helper to remove this warning. See [2023-02-02T18:41:57.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:41:57.074Z] [2023-02-02T18:41:57.074Z] Login Succeeded [2023-02-02T18:41:57.074Z] ---> docker-login.sh ends [Pipeline] } [2023-02-02T18:41:57.082Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-02T18:41:57.141Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-02T18:41:57.160Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-02T18:41:57.170Z] ========================================================= [2023-02-02T18:41:57.170Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-02T18:41:57.171Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T18:41:57.487Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-02T18:41:57.487Z] Sending build context to Docker daemon 10.49MB [2023-02-02T18:41:57.487Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-02T18:41:57.487Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-02T18:41:57.487Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-02T18:41:57.487Z] 213ec9aee27d: Pulling fs layer [2023-02-02T18:41:57.487Z] 4583459ba037: Pulling fs layer [2023-02-02T18:41:57.487Z] 93c1e223e6f2: Pulling fs layer [2023-02-02T18:41:57.487Z] 53926ce57604: Pulling fs layer [2023-02-02T18:41:57.487Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-02T18:41:57.487Z] 22ff95d597cd: Pulling fs layer [2023-02-02T18:41:57.487Z] 12d6caf4c0d1: Pulling fs layer [2023-02-02T18:41:57.487Z] 96b7cbca73a9: Pulling fs layer [2023-02-02T18:41:57.487Z] 53926ce57604: Waiting [2023-02-02T18:41:57.487Z] a7acece74701: Pulling fs layer [2023-02-02T18:41:57.487Z] 21b2b0c7a3f4: Waiting [2023-02-02T18:41:57.487Z] a7acece74701: Waiting [2023-02-02T18:41:57.487Z] 22ff95d597cd: Waiting [2023-02-02T18:41:57.487Z] 12d6caf4c0d1: Waiting [2023-02-02T18:41:57.487Z] 93c1e223e6f2: Verifying Checksum [2023-02-02T18:41:57.487Z] 93c1e223e6f2: Download complete [2023-02-02T18:41:57.487Z] 4583459ba037: Download complete [2023-02-02T18:41:57.748Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-02T18:41:57.748Z] 22ff95d597cd: Verifying Checksum [2023-02-02T18:41:57.748Z] 22ff95d597cd: Download complete [2023-02-02T18:41:57.748Z] 213ec9aee27d: Download complete [2023-02-02T18:41:57.748Z] 12d6caf4c0d1: Verifying Checksum [2023-02-02T18:41:57.748Z] 12d6caf4c0d1: Download complete [2023-02-02T18:41:57.748Z] 213ec9aee27d: Pull complete [2023-02-02T18:41:58.016Z] 4583459ba037: Pull complete [2023-02-02T18:41:58.016Z] 93c1e223e6f2: Pull complete [2023-02-02T18:41:59.036Z] 53926ce57604: Verifying Checksum [2023-02-02T18:41:59.036Z] 53926ce57604: Download complete [2023-02-02T18:41:59.036Z] a7acece74701: Verifying Checksum [2023-02-02T18:41:59.036Z] a7acece74701: Download complete [2023-02-02T18:41:59.294Z] 96b7cbca73a9: Verifying Checksum [2023-02-02T18:41:59.294Z] 96b7cbca73a9: Download complete [2023-02-02T18:42:02.572Z] 53926ce57604: Pull complete [2023-02-02T18:42:02.572Z] 21b2b0c7a3f4: Pull complete [2023-02-02T18:42:02.572Z] 22ff95d597cd: Pull complete [2023-02-02T18:42:02.572Z] 12d6caf4c0d1: Pull complete [2023-02-02T18:42:04.468Z] 96b7cbca73a9: Pull complete [2023-02-02T18:42:05.034Z] a7acece74701: Pull complete [2023-02-02T18:42:05.034Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-02T18:42:05.034Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-02T18:42:05.034Z] ---> db6d94c90886 [2023-02-02T18:42:05.034Z] Step 3/10 : ARG MAKE=make build [2023-02-02T18:42:11.202Z] Still waiting to schedule task [2023-02-02T18:42:11.203Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-02T18:42:11.593Z] ---> Running in ba20e6d140dd [2023-02-02T18:42:11.593Z] Removing intermediate container ba20e6d140dd [2023-02-02T18:42:11.593Z] ---> c71def725709 [2023-02-02T18:42:11.593Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-02T18:42:11.593Z] ---> Running in 3fe852c8e268 [2023-02-02T18:42:11.593Z] Removing intermediate container 3fe852c8e268 [2023-02-02T18:42:11.593Z] ---> e9ffac683c18 [2023-02-02T18:42:11.593Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-02T18:42:11.593Z] ---> Running in 0dc4ec02f89e [2023-02-02T18:42:11.593Z] Removing intermediate container 0dc4ec02f89e [2023-02-02T18:42:11.593Z] ---> be7cf7de8b2f [2023-02-02T18:42:11.593Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-02T18:42:11.593Z] ---> Running in 7860335fa6bc [2023-02-02T18:42:11.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-02T18:42:11.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-02T18:42:11.851Z] OK: 211 MiB in 51 packages [2023-02-02T18:42:12.109Z] Removing intermediate container 7860335fa6bc [2023-02-02T18:42:12.109Z] ---> e19e7c695752 [2023-02-02T18:42:12.109Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-02T18:42:12.367Z] ---> c7a68b66a6d4 [2023-02-02T18:42:12.367Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-02T18:42:12.367Z] ---> Running in dcba8b537663 [2023-02-02T18:42:51.132Z] Removing intermediate container dcba8b537663 [2023-02-02T18:42:51.132Z] ---> 78c244a0564b [2023-02-02T18:42:51.132Z] Step 9/10 : COPY . . [2023-02-02T18:42:51.132Z] ---> c3155832a73c [2023-02-02T18:42:51.132Z] Step 10/10 : RUN ${MAKE} [2023-02-02T18:42:51.132Z] ---> Running in c366d01a2e29 [2023-02-02T18:42:51.132Z] noop [2023-02-02T18:42:51.132Z] Removing intermediate container c366d01a2e29 [2023-02-02T18:42:51.132Z] ---> 96efb42506c6 [2023-02-02T18:42:51.132Z] Successfully built 96efb42506c6 [2023-02-02T18:42:51.132Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T18:42:51.481Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-02T18:42:51.481Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T18:42:51.576Z] prd-ubuntu20.04-docker-8c-8g-4387 does not seem to be running inside a container [2023-02-02T18:42:51.623Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1295 -v /w/workspace/gexfoundry_device-sdk-go_PR-1295:/w/workspace/gexfoundry_device-sdk-go_PR-1295:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1295@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1295@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 ******** ci-base-image-x86_64 cat [2023-02-02T18:42:51.971Z] $ docker top 54918590d60a92bb611befb4d200cd6ac9f5b4c976a273d3e17229442880b363 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-02T18:42:52.304Z] + go version [2023-02-02T18:42:52.304Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-02T18:42:52.326Z] $ docker stop --time=1 54918590d60a92bb611befb4d200cd6ac9f5b4c976a273d3e17229442880b363 [2023-02-02T18:42:53.669Z] $ docker rm -f --volumes 54918590d60a92bb611befb4d200cd6ac9f5b4c976a273d3e17229442880b363 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T18:42:54.080Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-02T18:42:54.080Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T18:42:54.147Z] prd-ubuntu20.04-docker-8c-8g-4387 does not seem to be running inside a container [2023-02-02T18:42:54.189Z] $ 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-1295 -v /w/workspace/gexfoundry_device-sdk-go_PR-1295:/w/workspace/gexfoundry_device-sdk-go_PR-1295:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1295@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1295@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 ******** ci-base-image-x86_64 cat [2023-02-02T18:42:54.546Z] $ docker top 48008b126a2601c1de425a7b982d6919d3d18facf516b29ccaabf3a2644594d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-02T18:42:54.883Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1295 [Pipeline] fileExists [Pipeline] sh [2023-02-02T18:42:55.180Z] + make test [2023-02-02T18:42:55.180Z] go test -race -coverprofile=coverage.out ./... [2023-02-02T18:43:01.762Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-02T18:43:16.653Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-02T18:43:16.653Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-02T18:43:16.653Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-02T18:43:16.653Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-02T18:43:16.653Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-02T18:43:16.653Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.057s coverage: 27.6% of statements [2023-02-02T18:43:16.653Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.068s coverage: 78.9% of statements [2023-02-02T18:43:16.653Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-02T18:43:16.653Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.124s coverage: 70.2% of statements [2023-02-02T18:43:16.653Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-02T18:43:16.653Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-02T18:43:16.653Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.107s coverage: 59.8% of statements [2023-02-02T18:43:16.653Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-02T18:43:16.653Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-02T18:43:16.653Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-02T18:43:16.653Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.100s coverage: 65.1% of statements [2023-02-02T18:43:16.653Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-02T18:43:16.653Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-02T18:43:16.653Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.795s coverage: 89.2% of statements [2023-02-02T18:43:16.653Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-02T18:43:16.653Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.060s coverage: 4.7% of statements [2023-02-02T18:43:16.653Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-02T18:43:34.730Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-02T18:43:34.730Z] GO111MODULE=on go vet ./... [2023-02-02T18:43:35.295Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-02T18:43:35.295Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-02T18:43:35.295Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-02T18:43:35.566Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-02T18:43:35.584Z] $ docker stop --time=1 48008b126a2601c1de425a7b982d6919d3d18facf516b29ccaabf3a2644594d4 [2023-02-02T18:43:39.906Z] $ docker rm -f --volumes 48008b126a2601c1de425a7b982d6919d3d18facf516b29ccaabf3a2644594d4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-02T18:43:40.377Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-02T18:43:40.411Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4390 in /w/workspace/gexfoundry_device-sdk-go_PR-1295 [Pipeline] { [Pipeline] ws [2023-02-02T18:43:40.423Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-02-02T18:43:40.450Z] Stashed 1 file(s) [Pipeline] } [2023-02-02T18:43:40.450Z] The recommended git tool is: git [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-02T18:43:40.963Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-02T18:43:41.250Z] + ls -al . [2023-02-02T18:43:41.250Z] total 272 [2023-02-02T18:43:41.250Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 2 18:42 . [2023-02-02T18:43:41.250Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 18:41 .. [2023-02-02T18:43:41.250Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 2 18:41 .dockerignore [2023-02-02T18:43:41.250Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 18:43 .git [2023-02-02T18:43:41.250Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 18:41 .github [2023-02-02T18:43:41.250Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 2 18:41 .gitignore [2023-02-02T18:43:41.250Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 2 18:41 .golangci.yml [2023-02-02T18:43:41.250Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 2 18:41 .semver [2023-02-02T18:43:41.250Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 2 18:41 CHANGELOG.md [2023-02-02T18:43:41.250Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 2 18:41 GOVERNANCE.md [2023-02-02T18:43:41.250Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 2 18:41 Jenkinsfile [2023-02-02T18:43:41.250Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 2 18:41 LICENSE [2023-02-02T18:43:41.250Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 2 18:41 Makefile [2023-02-02T18:43:41.250Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 2 18:41 OWNERS.md [2023-02-02T18:43:41.250Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 2 18:41 README.md [2023-02-02T18:43:41.250Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 2 18:41 VERSION [2023-02-02T18:43:41.250Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 18:41 bin [2023-02-02T18:43:41.250Z] -rw-r--r-- 1 jenkins jenkins 99763 Feb 2 18:43 coverage.out [2023-02-02T18:43:41.250Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 2 18:41 example [2023-02-02T18:43:41.250Z] -rw-rw-r-- 1 jenkins jenkins 3307 Feb 2 18:41 go.mod [2023-02-02T18:43:41.250Z] -rw-rw-r-- 1 jenkins jenkins 33004 Feb 2 18:41 go.sum [2023-02-02T18:43:41.250Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 2 18:41 internal [2023-02-02T18:43:41.250Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 18:41 openapi [2023-02-02T18:43:41.250Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 2 18:41 pkg [2023-02-02T18:43:41.250Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 18:41 snap [2023-02-02T18:43:41.250Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 2 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T18:43:41.558Z] + 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=bf643881eafef1920ae47b9acb8bf8dcde2230df --label arch=amd64 --label version=0.0.0 . [2023-02-02T18:43:41.558Z] Sending build context to Docker daemon 10.59MB [2023-02-02T18:43:41.558Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-02T18:43:41.558Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-02T18:43:41.558Z] ---> 96efb42506c6 [2023-02-02T18:43:41.558Z] Step 3/23 : ARG MAKE=make build [2023-02-02T18:43:41.822Z] ---> Running in fe73acd48b30 [2023-02-02T18:43:41.822Z] Removing intermediate container fe73acd48b30 [2023-02-02T18:43:41.822Z] ---> 974c08133fb3 [2023-02-02T18:43:41.822Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-02T18:43:41.822Z] ---> Running in 8dad8b411be2 [2023-02-02T18:43:41.822Z] Removing intermediate container 8dad8b411be2 [2023-02-02T18:43:41.822Z] ---> 88cc2eb78645 [2023-02-02T18:43:41.822Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-02T18:43:41.822Z] ---> Running in 04dc3d5a05d1 [2023-02-02T18:43:42.081Z] Removing intermediate container 04dc3d5a05d1 [2023-02-02T18:43:42.081Z] ---> 45bd1ee5ced7 [2023-02-02T18:43:42.081Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-02T18:43:42.081Z] ---> Running in 4466091d0475 [2023-02-02T18:43:42.339Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-02T18:43:42.339Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-02T18:43:42.599Z] OK: 211 MiB in 51 packages [2023-02-02T18:43:42.857Z] Removing intermediate container 4466091d0475 [2023-02-02T18:43:42.857Z] ---> 5aac41824680 [2023-02-02T18:43:42.857Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-02T18:43:43.116Z] ---> 783d311d740b [2023-02-02T18:43:43.116Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-02T18:43:43.116Z] ---> Running in 3a5cb60b36e6 [2023-02-02T18:43:44.052Z] Removing intermediate container 3a5cb60b36e6 [2023-02-02T18:43:44.052Z] ---> c9e694ad2a4b [2023-02-02T18:43:44.052Z] Step 9/23 : COPY . . [2023-02-02T18:43:44.618Z] ---> 7fd6b5e82b76 [2023-02-02T18:43:44.618Z] Step 10/23 : RUN ${MAKE} [2023-02-02T18:43:44.618Z] ---> Running in f6fd8f793415 [2023-02-02T18:43:44.618Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-02T18:43:46.582Z] using credential edgex-jenkins-ssh [2023-02-02T18:43:46.598Z] Cloning the remote Git repository [2023-02-02T18:43:46.643Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-02T18:43:46.745Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-02-02T18:43:46.899Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-02T18:43:46.900Z] > git --version # timeout=10 [2023-02-02T18:43:46.922Z] > git --version # 'git version 2.25.1' [2023-02-02T18:43:46.924Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-02T18:43:46.982Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-02T18:43:48.528Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-02T18:43:48.549Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-02T18:43:50.024Z] Merging remotes/origin/main commit 775e2b56bedf8d4ad3f90164e245819fbdab1870 into PR head commit 1154ba09cfab54c3f87ee2fcca63044f37cf653b [2023-02-02T18:43:50.340Z] Merge succeeded, producing 8c2f622454f69d4363e79fe476ce7552df04af3d [2023-02-02T18:43:50.340Z] Checking out Revision 8c2f622454f69d4363e79fe476ce7552df04af3d (PR-1295) [2023-02-02T18:43:49.400Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-02T18:43:49.441Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-02T18:43:49.442Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-02T18:43:49.459Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1295/head:refs/remotes/origin/PR-1295 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-02T18:43:50.042Z] > git config core.sparsecheckout # timeout=10 [2023-02-02T18:43:50.061Z] > git checkout -f 1154ba09cfab54c3f87ee2fcca63044f37cf653b # timeout=10 [2023-02-02T18:43:50.159Z] > git remote # timeout=10 [2023-02-02T18:43:50.179Z] > git config --get remote.origin.url # timeout=10 [2023-02-02T18:43:50.202Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-02T18:43:50.223Z] > git merge 775e2b56bedf8d4ad3f90164e245819fbdab1870 # timeout=10 [2023-02-02T18:43:50.324Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-02T18:43:50.346Z] > git config core.sparsecheckout # timeout=10 [2023-02-02T18:43:50.362Z] > git checkout -f 8c2f622454f69d4363e79fe476ce7552df04af3d # timeout=10 [2023-02-02T18:43:53.943Z] Commit message: "Merge commit '775e2b56bedf8d4ad3f90164e245819fbdab1870' into HEAD" [2023-02-02T18:43:53.951Z] > git rev-list --no-walk 1154ba09cfab54c3f87ee2fcca63044f37cf653b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-02T18:43:54.866Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-02T18:43:54.866Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-02T18:43:54.866Z] Dload Upload Total Spent Left Speed [2023-02-02T18:43:54.866Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 84443 0 --:--:-- --:--:-- --:--:-- 85006 [Pipeline] sh [2023-02-02T18:43:55.601Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-02T18:43:55.923Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-02T18:43:55.923Z] + sudo tee /etc/docker/daemon.new [2023-02-02T18:43:55.923Z] { [2023-02-02T18:43:55.923Z] "registry-mirrors": [ [2023-02-02T18:43:55.923Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-02T18:43:55.923Z] ], [2023-02-02T18:43:55.923Z] "bip": "10.250.0.254/24", [2023-02-02T18:43:55.923Z] "hosts": [ [2023-02-02T18:43:55.923Z] "tcp://0.0.0.0:5555", [2023-02-02T18:43:55.923Z] "unix:///var/run/docker.sock" [2023-02-02T18:43:55.923Z] ], [2023-02-02T18:43:55.923Z] "mtu": 1458, [2023-02-02T18:43:55.923Z] "selinux-enabled": true, [2023-02-02T18:43:55.923Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-02T18:43:55.923Z] } [Pipeline] sh [2023-02-02T18:43:56.248Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-02T18:43:56.571Z] + sudo service docker restart [2023-02-02T18:44:06.538Z] Removing intermediate container f6fd8f793415 [2023-02-02T18:44:06.538Z] ---> e3998ad74bc6 [2023-02-02T18:44:06.538Z] Step 11/23 : FROM alpine:3.16 [2023-02-02T18:44:06.538Z] 3.16: Pulling from library/alpine [2023-02-02T18:44:06.538Z] ca7dd9ec2225: Pulling fs layer [2023-02-02T18:44:06.538Z] ca7dd9ec2225: Verifying Checksum [2023-02-02T18:44:06.538Z] ca7dd9ec2225: Download complete [2023-02-02T18:44:06.538Z] ca7dd9ec2225: Pull complete [2023-02-02T18:44:06.538Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-02T18:44:06.538Z] Status: Downloaded newer image for alpine:3.16 [2023-02-02T18:44:06.538Z] ---> bfe296a52501 [2023-02-02T18:44:06.538Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-02T18:44:06.538Z] ---> Running in db3c20de3c62 [2023-02-02T18:44:06.538Z] Removing intermediate container db3c20de3c62 [2023-02-02T18:44:06.538Z] ---> be5a26b2ea57 [2023-02-02T18:44:06.538Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-02T18:44:06.538Z] ---> Running in 212cc6819c89 [2023-02-02T18:44:06.538Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-02T18:44:06.538Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-02T18:44:06.538Z] OK: 6 MiB in 14 packages [2023-02-02T18:44:06.538Z] Removing intermediate container 212cc6819c89 [2023-02-02T18:44:06.538Z] ---> 161a224f44dd [2023-02-02T18:44:06.538Z] Step 14/23 : WORKDIR / [2023-02-02T18:44:06.538Z] ---> Running in cdc596dc29fe [2023-02-02T18:44:06.538Z] Removing intermediate container cdc596dc29fe [2023-02-02T18:44:06.538Z] ---> 4bd0e3b732db [2023-02-02T18:44:06.538Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-02T18:44:06.538Z] ---> 19b50aba6467 [2023-02-02T18:44:06.538Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-02T18:44:06.797Z] ---> 56e941113097 [2023-02-02T18:44:06.797Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-02T18:44:07.055Z] ---> df1cc8fc43f0 [2023-02-02T18:44:07.055Z] Step 18/23 : EXPOSE 59999 [2023-02-02T18:44:07.055Z] ---> Running in cf6d2cd954d6 [2023-02-02T18:44:07.055Z] Removing intermediate container cf6d2cd954d6 [2023-02-02T18:44:07.055Z] ---> 9dde30d13e9a [2023-02-02T18:44:07.055Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-02T18:44:07.055Z] ---> Running in 085ca7bd1936 [2023-02-02T18:44:07.055Z] Removing intermediate container 085ca7bd1936 [2023-02-02T18:44:07.055Z] ---> caf8faae52f2 [2023-02-02T18:44:07.055Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-02T18:44:07.055Z] ---> Running in e0f6f7d926e9 [2023-02-02T18:44:07.314Z] Removing intermediate container e0f6f7d926e9 [2023-02-02T18:44:07.314Z] ---> 57d1986ee024 [2023-02-02T18:44:07.314Z] Step 21/23 : LABEL arch=amd64 [2023-02-02T18:44:07.314Z] ---> Running in 6cdc236b5e0b [2023-02-02T18:44:07.314Z] Removing intermediate container 6cdc236b5e0b [2023-02-02T18:44:07.314Z] ---> 773a475a8148 [2023-02-02T18:44:07.314Z] Step 22/23 : LABEL git_sha=bf643881eafef1920ae47b9acb8bf8dcde2230df [2023-02-02T18:44:07.314Z] ---> Running in 55950527ed5a [2023-02-02T18:44:07.314Z] Removing intermediate container 55950527ed5a [2023-02-02T18:44:07.314Z] ---> b09917a69855 [2023-02-02T18:44:07.314Z] Step 23/23 : LABEL version=0.0.0 [2023-02-02T18:44:07.314Z] ---> Running in d332eb375ee5 [2023-02-02T18:44:07.573Z] Removing intermediate container d332eb375ee5 [2023-02-02T18:44:07.573Z] ---> 986efca284c8 [2023-02-02T18:44:07.573Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-02T18:44:07.573Z] Successfully built 986efca284c8 [2023-02-02T18:44:07.573Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T18:44:07.998Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-02T18:44:07.998Z] [2023-02-02T18:44:07.998Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T18:44:08.306Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-02T18:44:08.306Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-02T18:44:08.306Z] 5eb5b503b376: Pulling fs layer [2023-02-02T18:44:08.306Z] 5c69ac0246d0: Pulling fs layer [2023-02-02T18:44:08.306Z] ec43610c2a17: Pulling fs layer [2023-02-02T18:44:08.306Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-02T18:44:08.306Z] 33b1e0a273af: Pulling fs layer [2023-02-02T18:44:08.306Z] 5d3b04190fa2: Pulling fs layer [2023-02-02T18:44:08.306Z] 2f39f015ded8: Pulling fs layer [2023-02-02T18:44:08.306Z] 3a2ae6a8a46f: Waiting [2023-02-02T18:44:08.306Z] 33b1e0a273af: Waiting [2023-02-02T18:44:08.306Z] 5d3b04190fa2: Waiting [2023-02-02T18:44:08.306Z] 2f39f015ded8: Waiting [2023-02-02T18:44:08.306Z] 5c69ac0246d0: Verifying Checksum [2023-02-02T18:44:08.306Z] 5c69ac0246d0: Download complete [2023-02-02T18:44:08.306Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-02T18:44:08.306Z] 3a2ae6a8a46f: Download complete [2023-02-02T18:44:08.955Z] 33b1e0a273af: Verifying Checksum [2023-02-02T18:44:08.955Z] 33b1e0a273af: Download complete [2023-02-02T18:44:08.955Z] 5d3b04190fa2: Verifying Checksum [2023-02-02T18:44:08.955Z] 5d3b04190fa2: Download complete [2023-02-02T18:44:09.224Z] ec43610c2a17: Download complete [2023-02-02T18:44:09.224Z] 5eb5b503b376: Verifying Checksum [2023-02-02T18:44:09.224Z] 5eb5b503b376: Download complete [2023-02-02T18:44:10.190Z] 2f39f015ded8: Download complete [2023-02-02T18:44:10.448Z] 5eb5b503b376: Pull complete [2023-02-02T18:44:10.705Z] 5c69ac0246d0: Pull complete [2023-02-02T18:44:11.270Z] ec43610c2a17: Pull complete [2023-02-02T18:44:11.270Z] 3a2ae6a8a46f: Pull complete [2023-02-02T18:44:11.528Z] 33b1e0a273af: Pull complete [2023-02-02T18:44:11.528Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-02T18:44:14.859Z] provisioning config files... [2023-02-02T18:44:14.890Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6070007369199030622tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-02T18:44:15.256Z] ---> docker-login.sh [2023-02-02T18:44:15.256Z] nexus3.edgexfoundry.org:10001 [2023-02-02T18:44:15.711Z] 2f39f015ded8: Pull complete [2023-02-02T18:44:15.711Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-02T18:44:15.711Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-02T18:44:15.711Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T18:44:15.806Z] prd-ubuntu20.04-docker-8c-8g-4387 does not seem to be running inside a container [2023-02-02T18:44:15.850Z] $ 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-1295 -v /w/workspace/gexfoundry_device-sdk-go_PR-1295:/w/workspace/gexfoundry_device-sdk-go_PR-1295:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1295@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1295@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-lftools-log-publisher:latest cat [2023-02-02T18:44:15.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:44:15.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:44:15.854Z] Configure a credential helper to remove this warning. See [2023-02-02T18:44:15.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:44:15.854Z] [2023-02-02T18:44:15.854Z] Login Succeeded [2023-02-02T18:44:15.854Z] nexus3.edgexfoundry.org:10002 [2023-02-02T18:44:16.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:44:16.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:44:16.412Z] Configure a credential helper to remove this warning. See [2023-02-02T18:44:16.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:44:16.412Z] [2023-02-02T18:44:16.412Z] Login Succeeded [2023-02-02T18:44:16.412Z] nexus3.edgexfoundry.org:10003 [2023-02-02T18:44:16.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:44:16.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:44:16.683Z] Configure a credential helper to remove this warning. See [2023-02-02T18:44:16.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:44:16.683Z] [2023-02-02T18:44:16.683Z] Login Succeeded [2023-02-02T18:44:16.683Z] nexus3.edgexfoundry.org:10004 [2023-02-02T18:44:16.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:44:17.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:44:17.232Z] Configure a credential helper to remove this warning. See [2023-02-02T18:44:17.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:44:17.232Z] [2023-02-02T18:44:17.232Z] Login Succeeded [2023-02-02T18:44:17.232Z] docker.io [2023-02-02T18:44:17.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:44:17.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:44:17.773Z] Configure a credential helper to remove this warning. See [2023-02-02T18:44:17.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:44:17.773Z] [2023-02-02T18:44:17.773Z] Login Succeeded [2023-02-02T18:44:17.773Z] ---> docker-login.sh ends [2023-02-02T18:44:19.391Z] $ docker top e1a20a23fcbb16d7ed6e8ccf051f44e3e791a0064eaf5aa99ce377e17ba5035d -eo pid,comm [Pipeline] { [Pipeline] } [2023-02-02T18:44:19.446Z] Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-02-02T18:44:19.797Z] ---> job-cost.sh [2023-02-02T18:44:19.797Z] lf-activate-venv: SKIPPING [2023-02-02T18:44:19.797Z] INFO: No Stack... [Pipeline] echo [2023-02-02T18:44:19.817Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-02T18:44:19.837Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-02T18:44:19.854Z] ========================================================= [2023-02-02T18:44:19.854Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-02T18:44:19.854Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T18:44:20.056Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-02T18:44:20.212Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-02T18:44:20.487Z] Sending build context to Docker daemon 5.635MB [2023-02-02T18:44:20.487Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-02T18:44:20.487Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-02T18:44:20.623Z] INFO: Archiving Costs [Pipeline] sh [2023-02-02T18:44:20.763Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-02T18:44:20.764Z] 9b18e9b68314: Pulling fs layer [2023-02-02T18:44:20.764Z] 35d82f9e3411: Pulling fs layer [2023-02-02T18:44:20.764Z] e16973657156: Pulling fs layer [2023-02-02T18:44:20.764Z] fc693d55d65f: Pulling fs layer [2023-02-02T18:44:20.764Z] 7e9fc2657dce: Pulling fs layer [2023-02-02T18:44:20.764Z] dda99020689f: Pulling fs layer [2023-02-02T18:44:20.764Z] db1c61fa0a46: Pulling fs layer [2023-02-02T18:44:20.764Z] 891c053d2c06: Pulling fs layer [2023-02-02T18:44:20.764Z] fc693d55d65f: Waiting [2023-02-02T18:44:20.764Z] 7e9fc2657dce: Waiting [2023-02-02T18:44:20.764Z] dda99020689f: Waiting [2023-02-02T18:44:20.764Z] db1c61fa0a46: Waiting [2023-02-02T18:44:20.764Z] 891c053d2c06: Waiting [2023-02-02T18:44:20.764Z] e16973657156: Verifying Checksum [2023-02-02T18:44:20.764Z] e16973657156: Download complete [2023-02-02T18:44:20.764Z] 35d82f9e3411: Verifying Checksum [2023-02-02T18:44:20.764Z] 35d82f9e3411: Download complete [2023-02-02T18:44:20.764Z] 7e9fc2657dce: Verifying Checksum [2023-02-02T18:44:20.764Z] 7e9fc2657dce: Download complete [2023-02-02T18:44:20.764Z] dda99020689f: Verifying Checksum [2023-02-02T18:44:20.764Z] dda99020689f: Download complete [2023-02-02T18:44:20.918Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1295/archives/cost.csv [2023-02-02T18:44:20.918Z] + cut -d, -f6 [Pipeline] lock [2023-02-02T18:44:20.932Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1295-2-stack-cost] [2023-02-02T18:44:20.942Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1295-2-stack-cost] did not exist. Created. [2023-02-02T18:44:20.942Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1295-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-02T18:44:21.043Z] 9b18e9b68314: Verifying Checksum [2023-02-02T18:44:21.043Z] 9b18e9b68314: Download complete [2023-02-02T18:44:21.246Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-02T18:44:21.277Z] Stashed 1 file(s) [Pipeline] } [2023-02-02T18:44:21.283Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1295-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-02T18:44:21.312Z] $ docker stop --time=1 e1a20a23fcbb16d7ed6e8ccf051f44e3e791a0064eaf5aa99ce377e17ba5035d [2023-02-02T18:44:22.038Z] 9b18e9b68314: Pull complete [2023-02-02T18:44:22.038Z] 891c053d2c06: Verifying Checksum [2023-02-02T18:44:22.038Z] 891c053d2c06: Download complete [2023-02-02T18:44:22.473Z] $ docker rm -f --volumes e1a20a23fcbb16d7ed6e8ccf051f44e3e791a0064eaf5aa99ce377e17ba5035d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-02T18:44:22.638Z] 35d82f9e3411: Pull complete [2023-02-02T18:44:22.911Z] e16973657156: Pull complete [2023-02-02T18:44:23.510Z] db1c61fa0a46: Verifying Checksum [2023-02-02T18:44:23.510Z] db1c61fa0a46: Download complete [2023-02-02T18:44:24.098Z] fc693d55d65f: Verifying Checksum [2023-02-02T18:44:24.098Z] fc693d55d65f: Download complete [2023-02-02T18:44:36.432Z] fc693d55d65f: Pull complete [2023-02-02T18:44:36.432Z] 7e9fc2657dce: Pull complete [2023-02-02T18:44:36.700Z] dda99020689f: Pull complete [2023-02-02T18:44:43.389Z] db1c61fa0a46: Pull complete [2023-02-02T18:44:45.344Z] 891c053d2c06: Pull complete [2023-02-02T18:44:45.344Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-02T18:44:45.344Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-02T18:44:45.344Z] ---> f96f9c87975a [2023-02-02T18:44:45.344Z] Step 3/10 : ARG MAKE=make build [2023-02-02T18:44:47.456Z] ---> Running in 7775a20d415f [2023-02-02T18:44:47.726Z] Removing intermediate container 7775a20d415f [2023-02-02T18:44:47.726Z] ---> ea641fd5c6c6 [2023-02-02T18:44:47.726Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-02T18:44:47.726Z] ---> Running in 5ecc2404fc2b [2023-02-02T18:44:48.002Z] Removing intermediate container 5ecc2404fc2b [2023-02-02T18:44:48.002Z] ---> 339b337cda3b [2023-02-02T18:44:48.002Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-02T18:44:48.270Z] ---> Running in 31be3983c218 [2023-02-02T18:44:48.541Z] Removing intermediate container 31be3983c218 [2023-02-02T18:44:48.541Z] ---> fe32f49755ec [2023-02-02T18:44:48.541Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-02T18:44:48.541Z] ---> Running in e51d728320b9 [2023-02-02T18:44:50.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-02T18:44:50.305Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-02T18:44:51.277Z] OK: 221 MiB in 51 packages [2023-02-02T18:44:52.241Z] Removing intermediate container e51d728320b9 [2023-02-02T18:44:52.241Z] ---> 90f64c95461e [2023-02-02T18:44:52.241Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-02T18:44:52.827Z] ---> 5d5ee476fd1a [2023-02-02T18:44:52.827Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-02T18:44:52.827Z] ---> Running in 66311e843802 [2023-02-02T18:46:14.501Z] Removing intermediate container 66311e843802 [2023-02-02T18:46:14.501Z] ---> 4632f9678bba [2023-02-02T18:46:14.501Z] Step 9/10 : COPY . . [2023-02-02T18:46:14.501Z] ---> 0a9959caf43a [2023-02-02T18:46:14.501Z] Step 10/10 : RUN ${MAKE} [2023-02-02T18:46:14.501Z] ---> Running in 15ac4dfc2d76 [2023-02-02T18:46:14.501Z] noop [2023-02-02T18:46:14.501Z] Removing intermediate container 15ac4dfc2d76 [2023-02-02T18:46:14.501Z] ---> 6dd13908f617 [2023-02-02T18:46:14.501Z] Successfully built 6dd13908f617 [2023-02-02T18:46:14.501Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T18:46:14.859Z] + docker inspect -f . ci-base-image-arm64 [2023-02-02T18:46:14.859Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T18:46:15.073Z] prd-ubuntu20.04-docker-arm64-4c-16g-4390 does not seem to be running inside a container [2023-02-02T18:46:15.142Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-02T18:46:16.409Z] $ docker top 5081c892448575acf9653e4afc130bb19ed91e794e530a16d75c2d678548b8cc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-02T18:46:17.266Z] + go version [2023-02-02T18:46:17.267Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-02T18:46:17.285Z] $ docker stop --time=1 5081c892448575acf9653e4afc130bb19ed91e794e530a16d75c2d678548b8cc [2023-02-02T18:46:18.944Z] $ docker rm -f --volumes 5081c892448575acf9653e4afc130bb19ed91e794e530a16d75c2d678548b8cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T18:46:19.479Z] + docker inspect -f . ci-base-image-arm64 [2023-02-02T18:46:19.479Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T18:46:19.662Z] prd-ubuntu20.04-docker-arm64-4c-16g-4390 does not seem to be running inside a container [2023-02-02T18:46:19.732Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-02T18:46:20.980Z] $ docker top 05e67045c03c0b0fc341c93c15d63297dc1ae695d036429f0470d6fba2ee1d1d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-02T18:46:21.824Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-02-02T18:46:22.475Z] + make test [2023-02-02T18:46:22.475Z] go test -race -coverprofile=coverage.out ./... [2023-02-02T18:47:02.849Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-02T18:49:09.592Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-02T18:49:09.592Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-02T18:49:09.592Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-02T18:49:09.592Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-02T18:49:09.592Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-02T18:49:19.684Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.390s coverage: 27.6% of statements [2023-02-02T18:49:22.292Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.588s coverage: 78.9% of statements [2023-02-02T18:49:22.292Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-02T18:49:22.573Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.726s coverage: 70.2% of statements [2023-02-02T18:49:22.573Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-02T18:49:22.573Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-02T18:49:34.910Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.511s coverage: 59.8% of statements [2023-02-02T18:49:34.910Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-02T18:49:34.910Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-02T18:49:34.910Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-02T18:49:34.910Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.442s coverage: 65.1% of statements [2023-02-02T18:49:34.910Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-02T18:49:34.910Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-02T18:49:34.910Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.324s coverage: 89.2% of statements [2023-02-02T18:49:34.910Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-02T18:49:34.910Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.290s coverage: 4.7% of statements [2023-02-02T18:49:34.910Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-02T18:49:34.910Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-02T18:49:34.910Z] GO111MODULE=on go vet ./... [2023-02-02T18:51:11.584Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-02T18:51:11.584Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-02T18:51:11.584Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-02T18:51:11.604Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-02T18:51:11.617Z] $ docker stop --time=1 05e67045c03c0b0fc341c93c15d63297dc1ae695d036429f0470d6fba2ee1d1d [2023-02-02T18:51:13.508Z] $ docker rm -f --volumes 05e67045c03c0b0fc341c93c15d63297dc1ae695d036429f0470d6fba2ee1d1d [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-02T18:51:14.942Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-02T18:51:14.967Z] Warning: overwriting stash ‘coverage-report’ [2023-02-02T18:51:15.706Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-02T18:51:16.114Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-02T18:51:16.455Z] + ls -al . [2023-02-02T18:51:16.455Z] total 268 [2023-02-02T18:51:16.455Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 2 18:46 . [2023-02-02T18:51:16.455Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 18:43 .. [2023-02-02T18:51:16.455Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 2 18:43 .dockerignore [2023-02-02T18:51:16.455Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 18:43 .git [2023-02-02T18:51:16.455Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 18:43 .github [2023-02-02T18:51:16.455Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 2 18:43 .gitignore [2023-02-02T18:51:16.455Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 2 18:43 .golangci.yml [2023-02-02T18:51:16.455Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 2 18:43 CHANGELOG.md [2023-02-02T18:51:16.455Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 2 18:43 GOVERNANCE.md [2023-02-02T18:51:16.455Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 2 18:43 Jenkinsfile [2023-02-02T18:51:16.455Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 2 18:43 LICENSE [2023-02-02T18:51:16.455Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 2 18:43 Makefile [2023-02-02T18:51:16.455Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 2 18:43 OWNERS.md [2023-02-02T18:51:16.455Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 2 18:43 README.md [2023-02-02T18:51:16.455Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 2 18:41 VERSION [2023-02-02T18:51:16.455Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 18:43 bin [2023-02-02T18:51:16.455Z] -rw-r--r-- 1 jenkins jenkins 99762 Feb 2 18:49 coverage.out [2023-02-02T18:51:16.455Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 2 18:43 example [2023-02-02T18:51:16.455Z] -rw-rw-r-- 1 jenkins jenkins 3307 Feb 2 18:43 go.mod [2023-02-02T18:51:16.455Z] -rw-rw-r-- 1 jenkins jenkins 33004 Feb 2 18:43 go.sum [2023-02-02T18:51:16.455Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 2 18:43 internal [2023-02-02T18:51:16.455Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 18:43 openapi [2023-02-02T18:51:16.455Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 2 18:43 pkg [2023-02-02T18:51:16.455Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 18:43 snap [2023-02-02T18:51:16.455Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 2 18:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T18:51:16.862Z] + 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=8c2f622454f69d4363e79fe476ce7552df04af3d --label arch=arm64 --label version=0.0.0 . [2023-02-02T18:51:17.480Z] Sending build context to Docker daemon 5.735MB [2023-02-02T18:51:17.480Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-02T18:51:17.480Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-02T18:51:17.480Z] ---> 6dd13908f617 [2023-02-02T18:51:17.480Z] Step 3/23 : ARG MAKE=make build [2023-02-02T18:51:17.480Z] ---> Running in c7e13a736ecc [2023-02-02T18:51:18.073Z] Removing intermediate container c7e13a736ecc [2023-02-02T18:51:18.073Z] ---> c3206958ac66 [2023-02-02T18:51:18.073Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-02T18:51:18.073Z] ---> Running in eb1540311e04 [2023-02-02T18:51:18.346Z] Removing intermediate container eb1540311e04 [2023-02-02T18:51:18.346Z] ---> e3e6c4dbdc86 [2023-02-02T18:51:18.346Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-02T18:51:18.346Z] ---> Running in de043b2873d3 [2023-02-02T18:51:18.619Z] Removing intermediate container de043b2873d3 [2023-02-02T18:51:18.619Z] ---> 2fc61ade6bf9 [2023-02-02T18:51:18.619Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-02T18:51:18.889Z] ---> Running in 3371642411c7 [2023-02-02T18:51:19.862Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-02T18:51:20.130Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-02T18:51:21.540Z] OK: 221 MiB in 51 packages [2023-02-02T18:51:22.124Z] Removing intermediate container 3371642411c7 [2023-02-02T18:51:22.124Z] ---> 40acfc3a4a3b [2023-02-02T18:51:22.124Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-02T18:51:22.716Z] ---> 6e6b67b7ae41 [2023-02-02T18:51:22.716Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-02T18:51:22.986Z] ---> Running in 36c26f685359 [2023-02-02T18:51:25.567Z] Removing intermediate container 36c26f685359 [2023-02-02T18:51:25.567Z] ---> 6deb976c4168 [2023-02-02T18:51:25.567Z] Step 9/23 : COPY . . [2023-02-02T18:51:26.534Z] ---> e163094ab640 [2023-02-02T18:51:26.534Z] Step 10/23 : RUN ${MAKE} [2023-02-02T18:51:26.804Z] ---> Running in 881ad5c5b9d6 [2023-02-02T18:51:27.767Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-02T18:53:49.478Z] Removing intermediate container 881ad5c5b9d6 [2023-02-02T18:53:49.478Z] ---> 5474d6874831 [2023-02-02T18:53:49.478Z] Step 11/23 : FROM alpine:3.16 [2023-02-02T18:53:49.478Z] 3.16: Pulling from library/alpine [2023-02-02T18:53:49.478Z] 6875df1f5354: Pulling fs layer [2023-02-02T18:53:49.478Z] 6875df1f5354: Verifying Checksum [2023-02-02T18:53:49.478Z] 6875df1f5354: Download complete [2023-02-02T18:53:49.478Z] 6875df1f5354: Pull complete [2023-02-02T18:53:49.478Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-02T18:53:49.478Z] Status: Downloaded newer image for alpine:3.16 [2023-02-02T18:53:49.478Z] ---> 2b4661558fb8 [2023-02-02T18:53:49.478Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-02T18:53:49.478Z] ---> Running in 72766cbea945 [2023-02-02T18:53:49.478Z] Removing intermediate container 72766cbea945 [2023-02-02T18:53:49.478Z] ---> 301e3e0b56b4 [2023-02-02T18:53:49.478Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-02T18:53:49.478Z] ---> Running in ee8ba7cabad3 [2023-02-02T18:53:49.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-02T18:53:49.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-02T18:53:49.478Z] OK: 5 MiB in 14 packages [2023-02-02T18:53:49.478Z] Removing intermediate container ee8ba7cabad3 [2023-02-02T18:53:49.478Z] ---> 682521edfe1c [2023-02-02T18:53:49.478Z] Step 14/23 : WORKDIR / [2023-02-02T18:53:49.478Z] ---> Running in 7f1c16a2b738 [2023-02-02T18:53:49.478Z] Removing intermediate container 7f1c16a2b738 [2023-02-02T18:53:49.478Z] ---> fc78a4979e68 [2023-02-02T18:53:49.478Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-02T18:53:49.478Z] ---> dc57182f12be [2023-02-02T18:53:49.478Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-02T18:53:49.478Z] ---> e046b7279ed4 [2023-02-02T18:53:49.478Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-02T18:53:49.478Z] ---> a32ede4f8787 [2023-02-02T18:53:49.478Z] Step 18/23 : EXPOSE 59999 [2023-02-02T18:53:49.478Z] ---> Running in 0a75a4898e58 [2023-02-02T18:53:49.478Z] Removing intermediate container 0a75a4898e58 [2023-02-02T18:53:49.478Z] ---> 7f3c57cd72ab [2023-02-02T18:53:49.478Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-02T18:53:49.478Z] ---> Running in 01019fe5aa23 [2023-02-02T18:53:49.478Z] Removing intermediate container 01019fe5aa23 [2023-02-02T18:53:49.478Z] ---> e560058e15da [2023-02-02T18:53:49.478Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-02T18:53:49.478Z] ---> Running in c0578707c225 [2023-02-02T18:53:49.478Z] Removing intermediate container c0578707c225 [2023-02-02T18:53:49.478Z] ---> a0eb5ec7d1ad [2023-02-02T18:53:49.478Z] Step 21/23 : LABEL arch=arm64 [2023-02-02T18:53:49.478Z] ---> Running in 55c9ae3d7f89 [2023-02-02T18:53:49.478Z] Removing intermediate container 55c9ae3d7f89 [2023-02-02T18:53:49.478Z] ---> 23779875a7ba [2023-02-02T18:53:49.478Z] Step 22/23 : LABEL git_sha=8c2f622454f69d4363e79fe476ce7552df04af3d [2023-02-02T18:53:49.478Z] ---> Running in af17ea191824 [2023-02-02T18:53:49.478Z] Removing intermediate container af17ea191824 [2023-02-02T18:53:49.478Z] ---> 567018976453 [2023-02-02T18:53:49.478Z] Step 23/23 : LABEL version=0.0.0 [2023-02-02T18:53:49.478Z] ---> Running in 5032fcaa5b99 [2023-02-02T18:53:49.478Z] Removing intermediate container 5032fcaa5b99 [2023-02-02T18:53:49.478Z] ---> 680a35a9dc22 [2023-02-02T18:53:49.478Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-02T18:53:49.478Z] Successfully built 680a35a9dc22 [2023-02-02T18:53:49.478Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T18:53:49.914Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-02T18:53:49.914Z] [2023-02-02T18:53:49.914Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T18:53:50.256Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-02T18:53:50.256Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-02T18:53:50.256Z] 8998bd30e6a1: Pulling fs layer [2023-02-02T18:53:50.256Z] 04944245beec: Pulling fs layer [2023-02-02T18:53:50.525Z] 699f458cf7ca: Pulling fs layer [2023-02-02T18:53:50.525Z] 765212b225bb: Pulling fs layer [2023-02-02T18:53:50.525Z] f23df028b6ca: Pulling fs layer [2023-02-02T18:53:50.525Z] d65c8cfc05b1: Pulling fs layer [2023-02-02T18:53:50.525Z] 2437ff75d9bd: Pulling fs layer [2023-02-02T18:53:50.525Z] f23df028b6ca: Waiting [2023-02-02T18:53:50.525Z] d65c8cfc05b1: Waiting [2023-02-02T18:53:50.525Z] 2437ff75d9bd: Waiting [2023-02-02T18:53:50.525Z] 765212b225bb: Waiting [2023-02-02T18:53:50.525Z] 04944245beec: Verifying Checksum [2023-02-02T18:53:50.525Z] 04944245beec: Download complete [2023-02-02T18:53:50.525Z] 765212b225bb: Verifying Checksum [2023-02-02T18:53:50.525Z] 765212b225bb: Download complete [2023-02-02T18:53:50.525Z] f23df028b6ca: Verifying Checksum [2023-02-02T18:53:50.525Z] f23df028b6ca: Download complete [2023-02-02T18:53:50.795Z] d65c8cfc05b1: Verifying Checksum [2023-02-02T18:53:50.795Z] d65c8cfc05b1: Download complete [2023-02-02T18:53:50.795Z] 699f458cf7ca: Download complete [2023-02-02T18:53:51.070Z] 8998bd30e6a1: Download complete [2023-02-02T18:53:53.662Z] 2437ff75d9bd: Verifying Checksum [2023-02-02T18:53:53.662Z] 2437ff75d9bd: Download complete [2023-02-02T18:53:55.603Z] 8998bd30e6a1: Pull complete [2023-02-02T18:53:55.603Z] 04944245beec: Pull complete [2023-02-02T18:53:57.017Z] 699f458cf7ca: Pull complete [2023-02-02T18:53:57.288Z] 765212b225bb: Pull complete [2023-02-02T18:53:57.874Z] f23df028b6ca: Pull complete [2023-02-02T18:53:58.145Z] d65c8cfc05b1: Pull complete [2023-02-02T18:54:13.131Z] 2437ff75d9bd: Pull complete [2023-02-02T18:54:13.131Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-02T18:54:13.131Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-02T18:54:13.131Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T18:54:13.331Z] prd-ubuntu20.04-docker-arm64-4c-16g-4390 does not seem to be running inside a container [2023-02-02T18:54:13.402Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-02T18:54:16.160Z] $ docker top f7f973fa4d57eeee6ac88673cda26cbc0cfd4a491e50465ca6e9de229fbf3379 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-02T18:54:17.025Z] ---> job-cost.sh [2023-02-02T18:54:17.025Z] lf-activate-venv: SKIPPING [2023-02-02T18:54:17.025Z] INFO: No Stack... [2023-02-02T18:54:17.291Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-02T18:54:19.227Z] INFO: Archiving Costs [Pipeline] sh [2023-02-02T18:54:19.553Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-02-02T18:54:19.553Z] + cut -d, -f6 [Pipeline] lock [2023-02-02T18:54:19.893Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1295-2-stack-cost] [2023-02-02T18:54:19.902Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1295-2-stack-cost] did not exist. Created. [2023-02-02T18:54:19.902Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1295-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-02T18:54:20.241Z] /w/workspace/device-sdk-go/2@tmp/durable-3d62e731/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-02T18:54:21.169Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-02T18:54:21.194Z] Warning: overwriting stash ‘stack-cost’ [2023-02-02T18:54:21.268Z] Stashed 1 file(s) [Pipeline] } [2023-02-02T18:54:21.276Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1295-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-02T18:54:21.292Z] $ docker stop --time=1 f7f973fa4d57eeee6ac88673cda26cbc0cfd4a491e50465ca6e9de229fbf3379 [2023-02-02T18:54:22.815Z] $ docker rm -f --volumes f7f973fa4d57eeee6ac88673cda26cbc0cfd4a491e50465ca6e9de229fbf3379 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-02T18:54:23.214Z] provisioning config files... [2023-02-02T18:54:23.220Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1295@tmp/config15787583504360449353tmp [Pipeline] { [Pipeline] sh [2023-02-02T18:54:23.508Z] + set +x [2023-02-02T18:54:23.508Z] + curl -s https://codecov.io/bash [2023-02-02T18:54:23.508Z] + bash -s -- [2023-02-02T18:54:23.508Z] [2023-02-02T18:54:23.508Z] _____ _ [2023-02-02T18:54:23.508Z] / ____| | | [2023-02-02T18:54:23.508Z] | | ___ __| | ___ ___ _____ __ [2023-02-02T18:54:23.508Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-02T18:54:23.508Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-02T18:54:23.508Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-02T18:54:23.508Z] Bash-1.0.6 [2023-02-02T18:54:23.508Z] [2023-02-02T18:54:23.508Z] [2023-02-02T18:54:23.508Z] ==> git version 2.25.1 found [2023-02-02T18:54:23.508Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-02T18:54:23.508Z] Release-Date: 2020-01-08 [2023-02-02T18:54:23.508Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-02T18:54:23.508Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-02T18:54:23.508Z] ==> Jenkins CI detected. [2023-02-02T18:54:23.508Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1295 [2023-02-02T18:54:23.508Z] project root: . [2023-02-02T18:54:23.508Z] --> token set from env [2023-02-02T18:54:23.508Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-02T18:54:23.508Z] ==> Running gcov in . (disable via -X gcov) [2023-02-02T18:54:23.508Z] ==> Python coveragepy not found [2023-02-02T18:54:23.508Z] ==> Searching for coverage reports in: [2023-02-02T18:54:23.508Z] + . [2023-02-02T18:54:23.508Z] -> Found 1 reports [2023-02-02T18:54:23.508Z] ==> Detecting git/mercurial file structure [2023-02-02T18:54:23.508Z] ==> Reading reports [2023-02-02T18:54:23.508Z] + ./coverage.out bytes=99762 [2023-02-02T18:54:23.508Z] ==> Appending adjustments [2023-02-02T18:54:23.508Z] https://docs.codecov.io/docs/fixing-reports [2023-02-02T18:54:23.766Z] + Found adjustments [2023-02-02T18:54:23.766Z] ==> Gzipping contents [2023-02-02T18:54:23.766Z] 16K /tmp/codecov.vA7Mwr.gz [2023-02-02T18:54:24.025Z] ==> Uploading reports [2023-02-02T18:54:24.025Z] url: https://codecov.io [2023-02-02T18:54:24.025Z] query: branch=PR-1295&commit=bf643881eafef1920ae47b9acb8bf8dcde2230df&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1295%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1295&job=&cmd_args= [2023-02-02T18:54:24.025Z] -> Pinging Codecov [2023-02-02T18:54:24.025Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1295&commit=bf643881eafef1920ae47b9acb8bf8dcde2230df&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1295%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1295&job=&cmd_args= [2023-02-02T18:54:24.284Z] -> Uploading to [2023-02-02T18:54:24.284Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-02/7E55EF52A471D76F132DFD9A03CDDE97/bf643881eafef1920ae47b9acb8bf8dcde2230df/3881aaae-c5e5-4934-aeab-72c714e3c235.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230202T185424Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eb335a917d498071ef8f2a379c5e46f3c703931738dac8a3fe0cf2643fb79a0b [2023-02-02T18:54:24.284Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-02T18:54:24.284Z] Dload Upload Total Spent Left Speed [2023-02-02T18:54:24.542Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14410 0 0 100 14410 0 51834 --:--:-- --:--:-- --:--:-- 51834 [2023-02-02T18:54:24.542Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/bf643881eafef1920ae47b9acb8bf8dcde2230df [Pipeline] } [2023-02-02T18:54:24.554Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-02T18:54:25.278Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1295/archives ] [2023-02-02T18:54:25.278Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1295/archives [2023-02-02T18:54:25.278Z] total 16 [2023-02-02T18:54:25.278Z] drwxr-xr-x 3 root root 4096 Feb 2 18:44 . [2023-02-02T18:54:25.278Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 2 18:44 .. [2023-02-02T18:54:25.278Z] drwxr-xr-x 2 root root 4096 Feb 2 18:44 cost [2023-02-02T18:54:25.278Z] -rw-r--r-- 1 root root 86 Feb 2 18:44 cost.csv [2023-02-02T18:54:25.278Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1295/archives [2023-02-02T18:54:25.278Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1295/archives [2023-02-02T18:54:25.278Z] total 16 [2023-02-02T18:54:25.278Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 2 18:44 . [2023-02-02T18:54:25.278Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 2 18:44 .. [2023-02-02T18:54:25.278Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 2 18:44 cost [2023-02-02T18:54:25.278Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 2 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-02T18:54:25.568Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-02T18:54:26.425Z] ---> package-listing.sh [2023-02-02T18:54:26.425Z] ++ facter osfamily [2023-02-02T18:54:26.425Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-02T18:54:26.685Z] + OS_FAMILY=debian [2023-02-02T18:54:26.685Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1295 [2023-02-02T18:54:26.685Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-02T18:54:26.685Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-02T18:54:26.685Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-02T18:54:26.685Z] + PACKAGES=/tmp/packages_start.txt [2023-02-02T18:54:26.685Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1295 ']' [2023-02-02T18:54:26.685Z] + PACKAGES=/tmp/packages_end.txt [2023-02-02T18:54:26.685Z] + case "${OS_FAMILY}" in [2023-02-02T18:54:26.685Z] + dpkg -l [2023-02-02T18:54:26.685Z] + grep '^ii' [2023-02-02T18:54:26.685Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-02T18:54:26.685Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-02T18:54:26.685Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-02T18:54:26.685Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1295 ']' [2023-02-02T18:54:26.685Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1295/archives/ [2023-02-02T18:54:26.685Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1295/archives/ [Pipeline] echo [2023-02-02T18:54:26.698Z] 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-1295/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-02T18:54:26.977Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T18:54:27.537Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-02T18:54:27.537Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T18:54:27.609Z] prd-ubuntu20.04-docker-8c-8g-4387 does not seem to be running inside a container [2023-02-02T18:54:27.656Z] $ 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-1295/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-1295 -v /w/workspace/gexfoundry_device-sdk-go_PR-1295:/w/workspace/gexfoundry_device-sdk-go_PR-1295:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1295@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1295@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-02T18:54:27.868Z] $ docker top 368474dff36425ea08a015d7225a32b282324d3134adaf608d731b041efd0a0a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-02T18:54:28.199Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-02T18:54:28.486Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-02T18:54:28.771Z] + ls /var/log/sa-host [2023-02-02T18:54:28.771Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-02T18:54:28.951Z] provisioning config files... [2023-02-02T18:54:28.963Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1295@tmp/config2676167431529282128tmp [Pipeline] { [Pipeline] echo [2023-02-02T18:54:28.979Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-02T18:54:29.261Z] ---> create-netrc.sh [Pipeline] } [2023-02-02T18:54:29.268Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-02T18:54:29.590Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-02T18:54:29.599Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-02T18:54:29.882Z] ---> sudo-logs.sh [2023-02-02T18:54:29.882Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-02T18:54:29.906Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-02T18:54:30.189Z] ---> job-cost.sh [2023-02-02T18:54:30.189Z] lf-activate-venv: SKIPPING [2023-02-02T18:54:30.189Z] DEBUG: total: 0.2199999988079071 [2023-02-02T18:54:30.189Z] INFO: Retrieving Stack Cost... [2023-02-02T18:54:30.450Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-02T18:54:31.016Z] INFO: Archiving Costs [Pipeline] echo [2023-02-02T18:54:31.028Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-02T18:54:31.309Z] ---> logs-deploy.sh [2023-02-02T18:54:31.309Z] lf-activate-venv: SKIPPING [2023-02-02T18:54:31.309Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1295/2 [2023-02-02T18:54:31.309Z] INFO: archiving workspace using pattern(s): [2023-02-02T18:54:32.245Z] Archives upload complete. [2023-02-02T18:54:32.504Z] INFO: archiving logs to Nexus