Pull request #1394 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vli11 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 31715d779ea18ad9748946d550caeaa2c7135f2d+4c78050fc70b733cd627e11bc3f887100bb2ef6f (0762d103993c8aa6e868261b157159f726c2769e) 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-ssh17232545061263010757.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh13536869317595899998.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1394/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1394/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4316005805578444217.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1394/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3068901854987060202.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh787736011663787053.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1394/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1394/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14166722303871047489.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4614 in /w/workspace/gexfoundry_device-sdk-go_PR-1394 [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-1394 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1394/head:refs/remotes/origin/PR-1394 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4c78050fc70b733cd627e11bc3f887100bb2ef6f into PR head commit 31715d779ea18ad9748946d550caeaa2c7135f2d Merge succeeded, producing 31715d779ea18ad9748946d550caeaa2c7135f2d Checking out Revision 31715d779ea18ad9748946d550caeaa2c7135f2d (PR-1394) > git config core.sparsecheckout # timeout=10 > git checkout -f 31715d779ea18ad9748946d550caeaa2c7135f2d # 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 4c78050fc70b733cd627e11bc3f887100bb2ef6f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 31715d779ea18ad9748946d550caeaa2c7135f2d # timeout=10 Commit message: "refactor!: Change configuration file format to YAML" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-20T17:51:02.851Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-20T17:51:03.022Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-20T17:51:03.117Z] ========================================================= [2023-03-20T17:51:03.117Z] EdgeX Global Pipelines Version Info [2023-03-20T17:51:03.117Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-20T17:51:03.861Z] ------------------- [2023-03-20T17:51:03.861Z] stable info: [2023-03-20T17:51:03.861Z] ------------------- [2023-03-20T17:51:03.861Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-20T17:51:03.861Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-20T17:51:03.861Z] Message: update stable to v1.0.245 [2023-03-20T17:51:04.432Z] ------------------- [2023-03-20T17:51:04.432Z] experimental info: [2023-03-20T17:51:04.432Z] ------------------- [2023-03-20T17:51:04.432Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-20T17:51:04.432Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-20T17:51:04.432Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-20T17:51:04.707Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-20T17:51:04.746Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-20T17:51:04.782Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-20T17:51:04.818Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-20T17:51:04.853Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-20T17:51:04.889Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-20T17:51:04.927Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-20T17:51:04.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-20T17:51:04.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-20T17:51:05.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-20T17:51:05.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-20T17:51:05.102Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-20T17:51:05.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-20T17:51:05.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-20T17:51:05.287Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-20T17:51:05.321Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-20T17:51:05.359Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-20T17:51:05.397Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-20T17:51:05.442Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-20T17:51:05.478Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-20T17:51:05.515Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-20T17:51:05.553Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-20T17:51:05.591Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-20T17:51:05.626Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-20T17:51:05.664Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-20T17:51:05.706Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-20T17:51:05.750Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-20T17:51:05.786Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1394 [Pipeline] echo [2023-03-20T17:51:05.826Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1394 [Pipeline] echo [2023-03-20T17:51:05.863Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1394 [Pipeline] echo [2023-03-20T17:51:05.900Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 31715d779ea18ad9748946d550caeaa2c7135f2d [Pipeline] echo [2023-03-20T17:51:05.936Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 31715d7 [Pipeline] echo [2023-03-20T17:51:05.973Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-20T17:51:06.091Z] provisioning config files... [2023-03-20T17:51:06.105Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp/config17689963617135262873tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T17:51:06.444Z] ---> docker-login.sh [2023-03-20T17:51:06.444Z] nexus3.edgexfoundry.org:10001 [2023-03-20T17:51:06.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T17:51:06.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T17:51:06.705Z] Configure a credential helper to remove this warning. See [2023-03-20T17:51:06.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T17:51:06.705Z] [2023-03-20T17:51:06.705Z] Login Succeeded [2023-03-20T17:51:06.705Z] nexus3.edgexfoundry.org:10002 [2023-03-20T17:51:06.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T17:51:06.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T17:51:06.705Z] Configure a credential helper to remove this warning. See [2023-03-20T17:51:06.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T17:51:06.705Z] [2023-03-20T17:51:06.705Z] Login Succeeded [2023-03-20T17:51:06.705Z] nexus3.edgexfoundry.org:10003 [2023-03-20T17:51:06.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T17:51:06.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T17:51:06.965Z] Configure a credential helper to remove this warning. See [2023-03-20T17:51:06.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T17:51:06.965Z] [2023-03-20T17:51:06.965Z] Login Succeeded [2023-03-20T17:51:06.965Z] nexus3.edgexfoundry.org:10004 [2023-03-20T17:51:06.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T17:51:06.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T17:51:06.965Z] Configure a credential helper to remove this warning. See [2023-03-20T17:51:06.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T17:51:06.965Z] [2023-03-20T17:51:06.965Z] Login Succeeded [2023-03-20T17:51:06.965Z] docker.io [2023-03-20T17:51:06.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T17:51:07.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T17:51:07.225Z] Configure a credential helper to remove this warning. See [2023-03-20T17:51:07.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T17:51:07.225Z] [2023-03-20T17:51:07.225Z] Login Succeeded [2023-03-20T17:51:07.225Z] ---> docker-login.sh ends [Pipeline] } [2023-03-20T17:51:07.256Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-20T17:51:07.900Z] + git rev-list -1 --merges 31715d779ea18ad9748946d550caeaa2c7135f2d~1..31715d779ea18ad9748946d550caeaa2c7135f2d [Pipeline] echo [2023-03-20T17:51:07.960Z] -----------> git rev-list -1 --merges 31715d779ea18ad9748946d550caeaa2c7135f2d~1..31715d779ea18ad9748946d550caeaa2c7135f2d 31715d779ea18ad9748946d550caeaa2c7135f2d [false] [Pipeline] sh [2023-03-20T17:51:08.270Z] + git log --format=format:%s -1 31715d779ea18ad9748946d550caeaa2c7135f2d [Pipeline] echo [2023-03-20T17:51:08.306Z] ========================================================= [2023-03-20T17:51:08.306Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-20T17:51:08.306Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-20T17:51:08.732Z] + git log --format=format:%s -1 31715d779ea18ad9748946d550caeaa2c7135f2d [Pipeline] echo [2023-03-20T17:51:08.760Z] [semverPrep] GIT_COMMIT: 31715d779ea18ad9748946d550caeaa2c7135f2d, Commit Message: refactor!: Change configuration file format to YAML [Pipeline] echo [2023-03-20T17:51:08.791Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-20T17:51:09.163Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-20T17:51:09.163Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-20T17:51:09.163Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-20T17:51:09.163Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-20T17:51:09.163Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-20T17:51:09.163Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-20T17:51:09.163Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T17:51:09.644Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-20T17:51:09.644Z] [2023-03-20T17:51:09.644Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T17:51:10.023Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-20T17:51:10.023Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-20T17:51:10.023Z] b85a868b505f: Pulling fs layer [2023-03-20T17:51:10.023Z] e2be974225ed: Pulling fs layer [2023-03-20T17:51:10.023Z] 339a4e72a1f5: Pulling fs layer [2023-03-20T17:51:10.023Z] 988bab9f4d93: Pulling fs layer [2023-03-20T17:51:10.023Z] 1469e6f7b9e6: Pulling fs layer [2023-03-20T17:51:10.023Z] eaf3925da568: Pulling fs layer [2023-03-20T17:51:10.023Z] bab4dde63d76: Pulling fs layer [2023-03-20T17:51:10.023Z] bde34c3a00c8: Pulling fs layer [2023-03-20T17:51:10.023Z] b352a97aabf1: Pulling fs layer [2023-03-20T17:51:10.023Z] 4872d77fe225: Pulling fs layer [2023-03-20T17:51:10.023Z] 5851b861e8e6: Pulling fs layer [2023-03-20T17:51:10.023Z] bab4dde63d76: Waiting [2023-03-20T17:51:10.023Z] bde34c3a00c8: Waiting [2023-03-20T17:51:10.023Z] b352a97aabf1: Waiting [2023-03-20T17:51:10.023Z] 4872d77fe225: Waiting [2023-03-20T17:51:10.023Z] 5851b861e8e6: Waiting [2023-03-20T17:51:10.023Z] 988bab9f4d93: Waiting [2023-03-20T17:51:10.023Z] eaf3925da568: Waiting [2023-03-20T17:51:10.023Z] 1469e6f7b9e6: Waiting [2023-03-20T17:51:10.023Z] e2be974225ed: Download complete [2023-03-20T17:51:10.023Z] 988bab9f4d93: Verifying Checksum [2023-03-20T17:51:10.023Z] 988bab9f4d93: Download complete [2023-03-20T17:51:10.284Z] 339a4e72a1f5: Verifying Checksum [2023-03-20T17:51:10.284Z] 339a4e72a1f5: Download complete [2023-03-20T17:51:10.284Z] 1469e6f7b9e6: Verifying Checksum [2023-03-20T17:51:10.284Z] 1469e6f7b9e6: Download complete [2023-03-20T17:51:10.284Z] eaf3925da568: Verifying Checksum [2023-03-20T17:51:10.284Z] eaf3925da568: Download complete [2023-03-20T17:51:10.284Z] bde34c3a00c8: Verifying Checksum [2023-03-20T17:51:10.284Z] bde34c3a00c8: Download complete [2023-03-20T17:51:10.284Z] b352a97aabf1: Verifying Checksum [2023-03-20T17:51:10.284Z] b352a97aabf1: Download complete [2023-03-20T17:51:10.284Z] 4872d77fe225: Download complete [2023-03-20T17:51:10.284Z] 5851b861e8e6: Download complete [2023-03-20T17:51:10.284Z] b85a868b505f: Download complete [2023-03-20T17:51:10.544Z] bab4dde63d76: Verifying Checksum [2023-03-20T17:51:10.544Z] bab4dde63d76: Download complete [2023-03-20T17:51:11.479Z] b85a868b505f: Pull complete [2023-03-20T17:51:11.737Z] e2be974225ed: Pull complete [2023-03-20T17:51:12.305Z] 339a4e72a1f5: Pull complete [2023-03-20T17:51:12.305Z] 988bab9f4d93: Pull complete [2023-03-20T17:51:12.564Z] 1469e6f7b9e6: Pull complete [2023-03-20T17:51:12.564Z] eaf3925da568: Pull complete [2023-03-20T17:51:14.470Z] bab4dde63d76: Pull complete [2023-03-20T17:51:14.470Z] bde34c3a00c8: Pull complete [2023-03-20T17:51:14.728Z] b352a97aabf1: Pull complete [2023-03-20T17:51:14.728Z] 4872d77fe225: Pull complete [2023-03-20T17:51:14.988Z] 5851b861e8e6: Pull complete [2023-03-20T17:51:14.988Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-20T17:51:14.988Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-20T17:51:14.988Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T17:51:15.310Z] prd-ubuntu20.04-docker-8c-8g-4614 does not seem to be running inside a container [2023-03-20T17:51:15.343Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1394 -v /w/workspace/gexfoundry_device-sdk-go_PR-1394:/w/workspace/gexfoundry_device-sdk-go_PR-1394:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1394@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-03-20T17:51:16.802Z] $ docker top bb9f3141123f1cec361f3bac6121bd81f49b28e714e089ddb477aab5d9aaf9bf -eo pid,comm [2023-03-20T17:51:16.855Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-20T17:51:16.855Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-20T17:51:16.977Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-20T17:51:16.977Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-20T17:51:17.106Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-20T17:51:17.111Z] $ docker exec bb9f3141123f1cec361f3bac6121bd81f49b28e714e089ddb477aab5d9aaf9bf ssh-agent [2023-03-20T17:51:17.217Z] SSH_AUTH_SOCK=/tmp/ssh-nJdeegUhqfhF/agent.32 [2023-03-20T17:51:17.217Z] SSH_AGENT_PID=38 [2023-03-20T17:51:17.224Z] Running ssh-add (command line suppressed) [2023-03-20T17:51:17.325Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp/private_key_15621901932073222326.key (/w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp/private_key_15621901932073222326.key) [2023-03-20T17:51:17.335Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-20T17:51:17.662Z] + git tag --points-at HEAD [Pipeline] } [2023-03-20T17:51:17.689Z] $ docker exec --env ******** --env ******** bb9f3141123f1cec361f3bac6121bd81f49b28e714e089ddb477aab5d9aaf9bf ssh-agent -k [2023-03-20T17:51:17.786Z] unset SSH_AUTH_SOCK; [2023-03-20T17:51:17.787Z] unset SSH_AGENT_PID; [2023-03-20T17:51:17.787Z] echo Agent pid 38 killed; [2023-03-20T17:51:17.795Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-20T17:51:17.871Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-20T17:51:17.871Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-20T17:51:17.982Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-20T17:51:17.988Z] $ docker exec bb9f3141123f1cec361f3bac6121bd81f49b28e714e089ddb477aab5d9aaf9bf ssh-agent [2023-03-20T17:51:18.115Z] SSH_AUTH_SOCK=/tmp/ssh-OhAOn3PFnz6R/agent.70 [2023-03-20T17:51:18.115Z] SSH_AGENT_PID=76 [2023-03-20T17:51:18.120Z] Running ssh-add (command line suppressed) [2023-03-20T17:51:18.232Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp/private_key_4560614667811097920.key (/w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp/private_key_4560614667811097920.key) [2023-03-20T17:51:18.242Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-20T17:51:18.566Z] + git semver init [2023-03-20T17:51:18.825Z] 2023-03-20 17:51:18,757 [run_init] DEBUG init version:0.0.0 force:False [2023-03-20T17:51:18.825Z] 2023-03-20 17:51:18,758 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1394/.semver [2023-03-20T17:51:18.825Z] 2023-03-20 17:51:18,758 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1394/.semver [2023-03-20T17:51:18.825Z] 2023-03-20 17:51:18,759 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1394/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1394, universal_newlines=False, shell=None, istream=None) [2023-03-20T17:51:19.772Z] 2023-03-20 17:51:19,623 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1394/.git/info/exclude [2023-03-20T17:51:19.772Z] 2023-03-20 17:51:19,624 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1394/.semver/PR-1394 with force:False [2023-03-20T17:51:19.772Z] 2023-03-20 17:51:19,624 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1394/.semver/PR-1394 [2023-03-20T17:51:19.772Z] 2023-03-20 17:51:19,629 [execute] INFO git cat-file --batch-check [2023-03-20T17:51:19.772Z] 2023-03-20 17:51:19,630 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1394/.semver, universal_newlines=False, shell=None, istream=) [2023-03-20T17:51:19.772Z] 2023-03-20 17:51:19,638 [execute] INFO git cat-file --batch [2023-03-20T17:51:19.772Z] 2023-03-20 17:51:19,638 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1394/.semver, universal_newlines=False, shell=None, istream=) [2023-03-20T17:51:19.772Z] 2023-03-20 17:51:19,645 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1394/.semver/PR-1394 [2023-03-20T17:51:19.772Z] 0.0.0 [Pipeline] } [2023-03-20T17:51:19.799Z] $ docker exec --env ******** --env ******** bb9f3141123f1cec361f3bac6121bd81f49b28e714e089ddb477aab5d9aaf9bf ssh-agent -k [2023-03-20T17:51:19.900Z] unset SSH_AUTH_SOCK; [2023-03-20T17:51:19.901Z] unset SSH_AGENT_PID; [2023-03-20T17:51:19.901Z] echo Agent pid 76 killed; [2023-03-20T17:51:19.906Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-20T17:51:20.313Z] + git semver [Pipeline] } [2023-03-20T17:51:20.599Z] $ docker stop --time=1 bb9f3141123f1cec361f3bac6121bd81f49b28e714e089ddb477aab5d9aaf9bf [2023-03-20T17:51:21.919Z] $ docker rm -f --volumes bb9f3141123f1cec361f3bac6121bd81f49b28e714e089ddb477aab5d9aaf9bf [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-20T17:51:22.311Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-20T17:51:22.591Z] Stashed 1 file(s) [Pipeline] echo [2023-03-20T17:51:22.610Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-20T17:51:23.149Z] provisioning config files... [2023-03-20T17:51:23.160Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp/config15712965288831231233tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T17:51:23.499Z] ---> docker-login.sh [2023-03-20T17:51:23.499Z] nexus3.edgexfoundry.org:10001 [2023-03-20T17:51:23.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T17:51:23.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T17:51:23.499Z] Configure a credential helper to remove this warning. See [2023-03-20T17:51:23.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T17:51:23.499Z] [2023-03-20T17:51:23.499Z] Login Succeeded [2023-03-20T17:51:23.499Z] nexus3.edgexfoundry.org:10002 [2023-03-20T17:51:23.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T17:51:23.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T17:51:23.758Z] Configure a credential helper to remove this warning. See [2023-03-20T17:51:23.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T17:51:23.758Z] [2023-03-20T17:51:23.758Z] Login Succeeded [2023-03-20T17:51:23.758Z] nexus3.edgexfoundry.org:10003 [2023-03-20T17:51:23.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T17:51:23.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T17:51:23.758Z] Configure a credential helper to remove this warning. See [2023-03-20T17:51:23.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T17:51:23.758Z] [2023-03-20T17:51:23.758Z] Login Succeeded [2023-03-20T17:51:23.758Z] nexus3.edgexfoundry.org:10004 [2023-03-20T17:51:24.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T17:51:24.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T17:51:24.016Z] Configure a credential helper to remove this warning. See [2023-03-20T17:51:24.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T17:51:24.016Z] [2023-03-20T17:51:24.016Z] Login Succeeded [2023-03-20T17:51:24.016Z] docker.io [2023-03-20T17:51:24.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T17:51:24.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T17:51:24.275Z] Configure a credential helper to remove this warning. See [2023-03-20T17:51:24.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T17:51:24.275Z] [2023-03-20T17:51:24.275Z] Login Succeeded [2023-03-20T17:51:24.275Z] ---> docker-login.sh ends [Pipeline] } [2023-03-20T17:51:24.305Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-20T17:51:24.508Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-20T17:51:24.546Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-20T17:51:24.576Z] ========================================================= [2023-03-20T17:51:24.576Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-20T17:51:24.577Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T17:51:25.049Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-20T17:51:25.049Z] Sending build context to Docker daemon 10.76MB [2023-03-20T17:51:25.049Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-20T17:51:25.049Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-20T17:51:25.049Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-20T17:51:25.049Z] 63b65145d645: Pulling fs layer [2023-03-20T17:51:25.049Z] a2d21d5440eb: Pulling fs layer [2023-03-20T17:51:25.049Z] 935e6c44a52c: Pulling fs layer [2023-03-20T17:51:25.049Z] 94cc34f8dd06: Pulling fs layer [2023-03-20T17:51:25.049Z] 30dea6a524f1: Pulling fs layer [2023-03-20T17:51:25.049Z] a2aff8979fd8: Pulling fs layer [2023-03-20T17:51:25.049Z] 30dea6a524f1: Waiting [2023-03-20T17:51:25.049Z] 6808be2612f2: Pulling fs layer [2023-03-20T17:51:25.049Z] a2aff8979fd8: Waiting [2023-03-20T17:51:25.049Z] f25807f1079a: Pulling fs layer [2023-03-20T17:51:25.049Z] 6808be2612f2: Waiting [2023-03-20T17:51:25.049Z] f25807f1079a: Waiting [2023-03-20T17:51:25.311Z] a2d21d5440eb: Verifying Checksum [2023-03-20T17:51:25.311Z] a2d21d5440eb: Download complete [2023-03-20T17:51:25.311Z] 94cc34f8dd06: Verifying Checksum [2023-03-20T17:51:25.311Z] 94cc34f8dd06: Download complete [2023-03-20T17:51:25.311Z] 30dea6a524f1: Verifying Checksum [2023-03-20T17:51:25.311Z] 30dea6a524f1: Download complete [2023-03-20T17:51:25.311Z] 63b65145d645: Verifying Checksum [2023-03-20T17:51:25.311Z] 63b65145d645: Download complete [2023-03-20T17:51:25.311Z] a2aff8979fd8: Verifying Checksum [2023-03-20T17:51:25.311Z] a2aff8979fd8: Download complete [2023-03-20T17:51:25.311Z] 63b65145d645: Pull complete [2023-03-20T17:51:25.575Z] a2d21d5440eb: Pull complete [2023-03-20T17:51:25.836Z] f25807f1079a: Verifying Checksum [2023-03-20T17:51:25.836Z] f25807f1079a: Download complete [2023-03-20T17:51:26.096Z] 935e6c44a52c: Verifying Checksum [2023-03-20T17:51:26.096Z] 935e6c44a52c: Download complete [2023-03-20T17:51:26.096Z] 6808be2612f2: Verifying Checksum [2023-03-20T17:51:26.096Z] 6808be2612f2: Download complete [2023-03-20T17:51:29.378Z] 935e6c44a52c: Pull complete [2023-03-20T17:51:29.378Z] 94cc34f8dd06: Pull complete [2023-03-20T17:51:29.378Z] 30dea6a524f1: Pull complete [2023-03-20T17:51:29.378Z] a2aff8979fd8: Pull complete [2023-03-20T17:51:31.910Z] 6808be2612f2: Pull complete [2023-03-20T17:51:32.170Z] f25807f1079a: Pull complete [2023-03-20T17:51:32.170Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-20T17:51:32.170Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-20T17:51:32.429Z] ---> 3b553350e43f [2023-03-20T17:51:32.429Z] Step 3/10 : ARG MAKE=make build [2023-03-20T17:51:34.333Z] ---> Running in b73726317bb2 [2023-03-20T17:51:34.333Z] Removing intermediate container b73726317bb2 [2023-03-20T17:51:34.333Z] ---> abd8a00c741b [2023-03-20T17:51:34.333Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-20T17:51:34.333Z] ---> Running in d55d7c59f001 [2023-03-20T17:51:34.592Z] Removing intermediate container d55d7c59f001 [2023-03-20T17:51:34.592Z] ---> 97782c918714 [2023-03-20T17:51:34.592Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-20T17:51:34.592Z] ---> Running in c22215a70df5 [2023-03-20T17:51:34.592Z] Removing intermediate container c22215a70df5 [2023-03-20T17:51:34.592Z] ---> c604a22da679 [2023-03-20T17:51:34.592Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-20T17:51:34.850Z] ---> Running in d9b57b108926 [2023-03-20T17:51:35.109Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-20T17:51:35.109Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-20T17:51:35.371Z] OK: 265 MiB in 53 packages [2023-03-20T17:51:35.646Z] Removing intermediate container d9b57b108926 [2023-03-20T17:51:35.646Z] ---> 159956ba8e7d [2023-03-20T17:51:35.646Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-20T17:51:35.905Z] ---> ab443352d229 [2023-03-20T17:51:35.905Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-20T17:51:35.905Z] ---> Running in e054e5a10522 [2023-03-20T17:51:37.982Z] Still waiting to schedule task [2023-03-20T17:51:37.982Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-20T17:52:02.462Z] Removing intermediate container e054e5a10522 [2023-03-20T17:52:02.462Z] ---> 0b74e673bc36 [2023-03-20T17:52:02.462Z] Step 9/10 : COPY . . [2023-03-20T17:52:02.462Z] ---> f52fdf27ed30 [2023-03-20T17:52:02.462Z] Step 10/10 : RUN ${MAKE} [2023-03-20T17:52:02.462Z] ---> Running in e062b662fbeb [2023-03-20T17:52:02.462Z] noop [2023-03-20T17:52:02.462Z] Removing intermediate container e062b662fbeb [2023-03-20T17:52:02.462Z] ---> f23d1cc13ca4 [2023-03-20T17:52:02.462Z] Successfully built f23d1cc13ca4 [2023-03-20T17:52:02.462Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T17:52:02.952Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-20T17:52:02.952Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T17:52:03.145Z] prd-ubuntu20.04-docker-8c-8g-4614 does not seem to be running inside a container [2023-03-20T17:52:03.175Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1394 -v /w/workspace/gexfoundry_device-sdk-go_PR-1394:/w/workspace/gexfoundry_device-sdk-go_PR-1394:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1394@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-03-20T17:52:03.561Z] $ docker top 27d91d67132dfee327176e3b0612900be6503085e84780bc723a58f84eba7efc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T17:52:03.950Z] + go version [2023-03-20T17:52:03.950Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-20T17:52:03.992Z] $ docker stop --time=1 27d91d67132dfee327176e3b0612900be6503085e84780bc723a58f84eba7efc [2023-03-20T17:52:05.325Z] $ docker rm -f --volumes 27d91d67132dfee327176e3b0612900be6503085e84780bc723a58f84eba7efc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T17:52:06.009Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-20T17:52:06.009Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T17:52:06.157Z] prd-ubuntu20.04-docker-8c-8g-4614 does not seem to be running inside a container [2023-03-20T17:52:06.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-1394 -v /w/workspace/gexfoundry_device-sdk-go_PR-1394:/w/workspace/gexfoundry_device-sdk-go_PR-1394:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1394@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-03-20T17:52:06.570Z] $ docker top 8d6972c0b258d13385f9c8ab540c6a271bb8b0a9282786e3ecb7205402b83418 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T17:52:06.954Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1394 [Pipeline] fileExists [Pipeline] sh [2023-03-20T17:52:07.308Z] + make test [2023-03-20T17:52:07.308Z] go test -race -coverprofile=coverage.out ./... [2023-03-20T17:52:15.416Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-20T17:52:27.606Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-20T17:52:27.607Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-20T17:52:27.607Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-20T17:52:27.607Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-20T17:52:27.607Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-20T17:52:28.172Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.064s coverage: 27.6% of statements [2023-03-20T17:52:28.430Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-20T17:52:28.430Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-20T17:52:28.430Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.044s coverage: 78.9% of statements [2023-03-20T17:52:28.430Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.093s coverage: 86.0% of statements [2023-03-20T17:52:28.996Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-20T17:52:28.996Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.095s coverage: 75.9% of statements [2023-03-20T17:52:29.255Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-20T17:52:29.513Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-20T17:52:29.513Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-20T17:52:30.079Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-20T17:52:32.610Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.078s coverage: 15.2% of statements [2023-03-20T17:52:32.610Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.074s coverage: 65.7% of statements [2023-03-20T17:52:32.610Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.115s coverage: 89.2% of statements [2023-03-20T17:52:32.610Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 5.5% of statements [2023-03-20T17:52:54.541Z] GO111MODULE=on go vet ./... [2023-03-20T17:52:57.834Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-20T17:52:57.834Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-20T17:52:57.834Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-20T17:52:57.874Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-20T17:52:57.903Z] $ docker stop --time=1 8d6972c0b258d13385f9c8ab540c6a271bb8b0a9282786e3ecb7205402b83418 [2023-03-20T17:52:59.994Z] $ docker rm -f --volumes 8d6972c0b258d13385f9c8ab540c6a271bb8b0a9282786e3ecb7205402b83418 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-20T17:53:00.558Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-20T17:53:00.658Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-20T17:53:01.292Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-20T17:53:01.615Z] + ls -al . [2023-03-20T17:53:01.615Z] total 276 [2023-03-20T17:53:01.615Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 20 17:52 . [2023-03-20T17:53:01.615Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 17:50 .. [2023-03-20T17:53:01.615Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 20 17:50 .dockerignore [2023-03-20T17:53:01.615Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 17:51 .git [2023-03-20T17:53:01.615Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 17:50 .github [2023-03-20T17:53:01.615Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 20 17:50 .gitignore [2023-03-20T17:53:01.615Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 20 17:50 .golangci.yml [2023-03-20T17:53:01.615Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 17:51 .semver [2023-03-20T17:53:01.615Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 20 17:50 CHANGELOG.md [2023-03-20T17:53:01.615Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 17:50 GOVERNANCE.md [2023-03-20T17:53:01.615Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 20 17:50 Jenkinsfile [2023-03-20T17:53:01.615Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 20 17:50 LICENSE [2023-03-20T17:53:01.615Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 20 17:50 Makefile [2023-03-20T17:53:01.615Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 20 17:50 OWNERS.md [2023-03-20T17:53:01.615Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 20 17:50 README.md [2023-03-20T17:53:01.615Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 17:51 VERSION [2023-03-20T17:53:01.615Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 17:50 bin [2023-03-20T17:53:01.615Z] -rw-r--r-- 1 jenkins jenkins 109537 Mar 20 17:52 coverage.out [2023-03-20T17:53:01.615Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 20 17:50 example [2023-03-20T17:53:01.615Z] -rw-rw-r-- 1 jenkins jenkins 3291 Mar 20 17:50 go.mod [2023-03-20T17:53:01.615Z] -rw-rw-r-- 1 jenkins jenkins 30841 Mar 20 17:50 go.sum [2023-03-20T17:53:01.615Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 20 17:50 internal [2023-03-20T17:53:01.615Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 17:50 openapi [2023-03-20T17:53:01.615Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 20 17:50 pkg [2023-03-20T17:53:01.615Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 17:50 snap [2023-03-20T17:53:01.615Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 20 17:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T17:53:01.999Z] + 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=31715d779ea18ad9748946d550caeaa2c7135f2d --label arch=amd64 --label version=0.0.0 . [2023-03-20T17:53:01.999Z] Sending build context to Docker daemon 10.87MB [2023-03-20T17:53:01.999Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-20T17:53:01.999Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-20T17:53:01.999Z] ---> f23d1cc13ca4 [2023-03-20T17:53:01.999Z] Step 3/23 : ARG MAKE=make build [2023-03-20T17:53:02.260Z] ---> Running in 01b3e6e790d2 [2023-03-20T17:53:02.260Z] Removing intermediate container 01b3e6e790d2 [2023-03-20T17:53:02.260Z] ---> 76db05d2d5f2 [2023-03-20T17:53:02.260Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-20T17:53:02.260Z] ---> Running in 07ec7d17de8e [2023-03-20T17:53:02.260Z] Removing intermediate container 07ec7d17de8e [2023-03-20T17:53:02.260Z] ---> 6aa525fbc5b3 [2023-03-20T17:53:02.260Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-20T17:53:02.519Z] ---> Running in d6ec88d735cb [2023-03-20T17:53:02.519Z] Removing intermediate container d6ec88d735cb [2023-03-20T17:53:02.519Z] ---> 270eb86bbfe7 [2023-03-20T17:53:02.519Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-20T17:53:02.519Z] ---> Running in e9a88788eb0e [2023-03-20T17:53:02.778Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-20T17:53:03.037Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-20T17:53:03.295Z] OK: 265 MiB in 53 packages [2023-03-20T17:53:03.559Z] Removing intermediate container e9a88788eb0e [2023-03-20T17:53:03.559Z] ---> 63f22b405f3d [2023-03-20T17:53:03.559Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-20T17:53:03.825Z] ---> 0154666e1bd1 [2023-03-20T17:53:03.825Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-20T17:53:03.825Z] ---> Running in 9c2eb5ddc269 [2023-03-20T17:53:04.757Z] Removing intermediate container 9c2eb5ddc269 [2023-03-20T17:53:04.757Z] ---> ee9df1568602 [2023-03-20T17:53:04.757Z] Step 9/23 : COPY . . [2023-03-20T17:53:05.325Z] ---> 6b11b438b461 [2023-03-20T17:53:05.325Z] Step 10/23 : RUN ${MAKE} [2023-03-20T17:53:05.325Z] ---> Running in c2600a608f60 [2023-03-20T17:53:05.582Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-20T17:53:23.669Z] Removing intermediate container c2600a608f60 [2023-03-20T17:53:23.669Z] ---> b0f01b3ad9d2 [2023-03-20T17:53:23.669Z] Step 11/23 : FROM alpine:3.17 [2023-03-20T17:53:23.669Z] 3.17: Pulling from library/alpine [2023-03-20T17:53:23.669Z] 63b65145d645: Already exists [2023-03-20T17:53:23.669Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-20T17:53:23.669Z] Status: Downloaded newer image for alpine:3.17 [2023-03-20T17:53:23.669Z] ---> b2aa39c304c2 [2023-03-20T17:53:23.669Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-20T17:53:23.669Z] ---> Running in fd0967de7000 [2023-03-20T17:53:23.925Z] Removing intermediate container fd0967de7000 [2023-03-20T17:53:23.925Z] ---> 36d35c4cd173 [2023-03-20T17:53:23.925Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-20T17:53:23.925Z] ---> Running in 52f0e2f91533 [2023-03-20T17:53:24.182Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-20T17:53:24.182Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-20T17:53:24.440Z] OK: 7 MiB in 15 packages [2023-03-20T17:53:25.004Z] Removing intermediate container 52f0e2f91533 [2023-03-20T17:53:25.004Z] ---> 47568a50a169 [2023-03-20T17:53:25.004Z] Step 14/23 : WORKDIR / [2023-03-20T17:53:25.004Z] ---> Running in de972feedd67 [2023-03-20T17:53:25.004Z] Removing intermediate container de972feedd67 [2023-03-20T17:53:25.004Z] ---> 04cc5da5c582 [2023-03-20T17:53:25.004Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-20T17:53:25.263Z] ---> b418ec97f4df [2023-03-20T17:53:25.263Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-20T17:53:25.832Z] ---> 7de6960b7092 [2023-03-20T17:53:25.832Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-20T17:53:25.832Z] ---> cda4f98053f4 [2023-03-20T17:53:25.832Z] Step 18/23 : EXPOSE 59999 [2023-03-20T17:53:25.832Z] ---> Running in fada09aed0dd [2023-03-20T17:53:25.832Z] Removing intermediate container fada09aed0dd [2023-03-20T17:53:25.832Z] ---> e9bf71a44002 [2023-03-20T17:53:25.832Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-20T17:53:26.092Z] ---> Running in 0e86dabf9f0e [2023-03-20T17:53:26.092Z] Removing intermediate container 0e86dabf9f0e [2023-03-20T17:53:26.092Z] ---> e3b4fad47b8a [2023-03-20T17:53:26.092Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-20T17:53:26.092Z] ---> Running in 1a301b2c333d [2023-03-20T17:53:26.092Z] Removing intermediate container 1a301b2c333d [2023-03-20T17:53:26.092Z] ---> ac94e71ac36e [2023-03-20T17:53:26.092Z] Step 21/23 : LABEL arch=amd64 [2023-03-20T17:53:26.357Z] ---> Running in 7b0174b2305e [2023-03-20T17:53:26.357Z] Removing intermediate container 7b0174b2305e [2023-03-20T17:53:26.357Z] ---> fa52fa7923d2 [2023-03-20T17:53:26.357Z] Step 22/23 : LABEL git_sha=31715d779ea18ad9748946d550caeaa2c7135f2d [2023-03-20T17:53:26.357Z] ---> Running in cfc6d1c26b5c [2023-03-20T17:53:26.357Z] Removing intermediate container cfc6d1c26b5c [2023-03-20T17:53:26.357Z] ---> 28023c4e00e9 [2023-03-20T17:53:26.357Z] Step 23/23 : LABEL version=0.0.0 [2023-03-20T17:53:26.620Z] ---> Running in d7b1d8e1d46d [2023-03-20T17:53:26.620Z] Removing intermediate container d7b1d8e1d46d [2023-03-20T17:53:26.620Z] ---> 65dc61f9a80d [2023-03-20T17:53:26.620Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-20T17:53:26.620Z] Successfully built 65dc61f9a80d [2023-03-20T17:53:26.620Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T17:53:27.460Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-20T17:53:27.460Z] [2023-03-20T17:53:27.460Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T17:53:27.831Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-20T17:53:27.831Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-20T17:53:27.831Z] 5eb5b503b376: Pulling fs layer [2023-03-20T17:53:27.831Z] 5c69ac0246d0: Pulling fs layer [2023-03-20T17:53:27.831Z] ec43610c2a17: Pulling fs layer [2023-03-20T17:53:27.831Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-20T17:53:27.831Z] 33b1e0a273af: Pulling fs layer [2023-03-20T17:53:27.831Z] 5d3b04190fa2: Pulling fs layer [2023-03-20T17:53:27.831Z] 2f39f015ded8: Pulling fs layer [2023-03-20T17:53:27.831Z] 3a2ae6a8a46f: Waiting [2023-03-20T17:53:27.831Z] 33b1e0a273af: Waiting [2023-03-20T17:53:27.831Z] 5d3b04190fa2: Waiting [2023-03-20T17:53:27.831Z] 2f39f015ded8: Waiting [2023-03-20T17:53:27.831Z] 5c69ac0246d0: Verifying Checksum [2023-03-20T17:53:27.831Z] 5c69ac0246d0: Download complete [2023-03-20T17:53:27.831Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-20T17:53:27.831Z] 3a2ae6a8a46f: Download complete [2023-03-20T17:53:28.092Z] 33b1e0a273af: Verifying Checksum [2023-03-20T17:53:28.092Z] 33b1e0a273af: Download complete [2023-03-20T17:53:28.092Z] 5d3b04190fa2: Verifying Checksum [2023-03-20T17:53:28.092Z] 5d3b04190fa2: Download complete [2023-03-20T17:53:28.092Z] ec43610c2a17: Download complete [2023-03-20T17:53:28.092Z] 5eb5b503b376: Verifying Checksum [2023-03-20T17:53:28.092Z] 5eb5b503b376: Download complete [2023-03-20T17:53:28.660Z] 2f39f015ded8: Download complete [2023-03-20T17:53:29.228Z] 5eb5b503b376: Pull complete [2023-03-20T17:53:29.228Z] 5c69ac0246d0: Pull complete [2023-03-20T17:53:29.795Z] ec43610c2a17: Pull complete [2023-03-20T17:53:29.795Z] 3a2ae6a8a46f: Pull complete [2023-03-20T17:53:30.053Z] 33b1e0a273af: Pull complete [2023-03-20T17:53:30.053Z] 5d3b04190fa2: Pull complete [2023-03-20T17:53:34.234Z] 2f39f015ded8: Pull complete [2023-03-20T17:53:34.234Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-20T17:53:34.234Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-20T17:53:34.234Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T17:53:34.452Z] prd-ubuntu20.04-docker-8c-8g-4614 does not seem to be running inside a container [2023-03-20T17:53:34.482Z] $ 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-1394 -v /w/workspace/gexfoundry_device-sdk-go_PR-1394:/w/workspace/gexfoundry_device-sdk-go_PR-1394:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1394@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-03-20T17:53:36.469Z] $ docker top d18d8f9874b8349fb086f36eb41faed0f69793c861923acb2a5e1dd8e92e88db -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T17:53:36.910Z] ---> job-cost.sh [2023-03-20T17:53:36.910Z] lf-activate-venv: SKIPPING [2023-03-20T17:53:36.910Z] INFO: No Stack... [2023-03-20T17:53:37.170Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-20T17:53:37.428Z] INFO: Archiving Costs [Pipeline] sh [2023-03-20T17:53:37.737Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1394/archives/cost.csv [2023-03-20T17:53:37.737Z] + cut -d, -f6 [Pipeline] lock [2023-03-20T17:53:37.775Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1394-1-stack-cost] [2023-03-20T17:53:37.780Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1394-1-stack-cost] did not exist. Created. [2023-03-20T17:53:37.780Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1394-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-20T17:53:38.162Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-20T17:53:38.212Z] Stashed 1 file(s) [Pipeline] } [2023-03-20T17:53:38.235Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1394-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-20T17:53:38.350Z] $ docker stop --time=1 d18d8f9874b8349fb086f36eb41faed0f69793c861923acb2a5e1dd8e92e88db [2023-03-20T17:53:39.527Z] $ docker rm -f --volumes d18d8f9874b8349fb086f36eb41faed0f69793c861923acb2a5e1dd8e92e88db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-20T17:55:50.337Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4615 in /w/workspace/gexfoundry_device-sdk-go_PR-1394 [Pipeline] { [Pipeline] ws [2023-03-20T17:55:50.434Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-03-20T17:55:50.514Z] The recommended git tool is: git [2023-03-20T17:55:57.045Z] using credential edgex-jenkins-ssh [2023-03-20T17:55:57.073Z] Cloning the remote Git repository [2023-03-20T17:55:57.140Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-20T17:55:57.258Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-03-20T17:55:57.441Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-20T17:55:57.442Z] > git --version # timeout=10 [2023-03-20T17:55:57.471Z] > git --version # 'git version 2.25.1' [2023-03-20T17:55:57.474Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-20T17:55:57.668Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-20T17:55:59.351Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-20T17:55:59.376Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-20T17:56:00.481Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-20T17:56:00.536Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-20T17:56:00.537Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-20T17:56:00.557Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1394/head:refs/remotes/origin/PR-1394 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-20T17:56:01.260Z] Merging remotes/origin/main commit 4c78050fc70b733cd627e11bc3f887100bb2ef6f into PR head commit 31715d779ea18ad9748946d550caeaa2c7135f2d [2023-03-20T17:56:01.626Z] Merge succeeded, producing 31715d779ea18ad9748946d550caeaa2c7135f2d [2023-03-20T17:56:01.626Z] Checking out Revision 31715d779ea18ad9748946d550caeaa2c7135f2d (PR-1394) [2023-03-20T17:56:01.290Z] > git config core.sparsecheckout # timeout=10 [2023-03-20T17:56:01.379Z] > git checkout -f 31715d779ea18ad9748946d550caeaa2c7135f2d # timeout=10 [2023-03-20T17:56:01.507Z] > git remote # timeout=10 [2023-03-20T17:56:01.534Z] > git config --get remote.origin.url # timeout=10 [2023-03-20T17:56:01.560Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-20T17:56:01.577Z] > git merge 4c78050fc70b733cd627e11bc3f887100bb2ef6f # timeout=10 [2023-03-20T17:56:01.608Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-20T17:56:01.638Z] > git config core.sparsecheckout # timeout=10 [2023-03-20T17:56:01.662Z] > git checkout -f 31715d779ea18ad9748946d550caeaa2c7135f2d # timeout=10 [2023-03-20T17:56:05.314Z] Commit message: "refactor!: Change configuration file format to YAML" [2023-03-20T17:56:05.385Z] > git --version # timeout=10 [2023-03-20T17:56:05.399Z] > git --version # 'git version 2.25.1' [2023-03-20T17:56:05.412Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-20T17:56:06.729Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-20T17:56:06.729Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-20T17:56:06.729Z] Dload Upload Total Spent Left Speed [2023-03-20T17:56:06.729Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80194 0 --:--:-- --:--:-- --:--:-- 80194 [Pipeline] sh [2023-03-20T17:56:07.465Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-20T17:56:07.832Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-20T17:56:07.832Z] + sudo tee /etc/docker/daemon.new [2023-03-20T17:56:07.832Z] { [2023-03-20T17:56:07.832Z] "registry-mirrors": [ [2023-03-20T17:56:07.832Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-20T17:56:07.832Z] ], [2023-03-20T17:56:07.832Z] "bip": "10.250.0.254/24", [2023-03-20T17:56:07.832Z] "hosts": [ [2023-03-20T17:56:07.832Z] "tcp://0.0.0.0:5555", [2023-03-20T17:56:07.832Z] "unix:///var/run/docker.sock" [2023-03-20T17:56:07.832Z] ], [2023-03-20T17:56:07.832Z] "mtu": 1458, [2023-03-20T17:56:07.832Z] "selinux-enabled": true, [2023-03-20T17:56:07.832Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-20T17:56:07.832Z] } [Pipeline] sh [2023-03-20T17:56:08.198Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-20T17:56:08.575Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-20T17:56:26.932Z] provisioning config files... [2023-03-20T17:56:26.965Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9653702261170436815tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T17:56:27.367Z] ---> docker-login.sh [2023-03-20T17:56:27.367Z] nexus3.edgexfoundry.org:10001 [2023-03-20T17:56:27.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T17:56:28.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T17:56:28.232Z] Configure a credential helper to remove this warning. See [2023-03-20T17:56:28.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T17:56:28.232Z] [2023-03-20T17:56:28.232Z] Login Succeeded [2023-03-20T17:56:28.232Z] nexus3.edgexfoundry.org:10002 [2023-03-20T17:56:28.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T17:56:28.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T17:56:28.506Z] Configure a credential helper to remove this warning. See [2023-03-20T17:56:28.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T17:56:28.506Z] [2023-03-20T17:56:28.506Z] Login Succeeded [2023-03-20T17:56:28.506Z] nexus3.edgexfoundry.org:10003 [2023-03-20T17:56:29.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T17:56:29.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T17:56:29.102Z] Configure a credential helper to remove this warning. See [2023-03-20T17:56:29.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T17:56:29.102Z] [2023-03-20T17:56:29.102Z] Login Succeeded [2023-03-20T17:56:29.102Z] nexus3.edgexfoundry.org:10004 [2023-03-20T17:56:29.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T17:56:29.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T17:56:29.376Z] Configure a credential helper to remove this warning. See [2023-03-20T17:56:29.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T17:56:29.376Z] [2023-03-20T17:56:29.376Z] Login Succeeded [2023-03-20T17:56:29.376Z] docker.io [2023-03-20T17:56:29.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T17:56:29.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T17:56:29.926Z] Configure a credential helper to remove this warning. See [2023-03-20T17:56:29.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T17:56:29.926Z] [2023-03-20T17:56:29.926Z] Login Succeeded [2023-03-20T17:56:29.926Z] ---> docker-login.sh ends [Pipeline] } [2023-03-20T17:56:29.957Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-20T17:56:30.411Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-20T17:56:30.447Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-20T17:56:30.482Z] ========================================================= [2023-03-20T17:56:30.482Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-20T17:56:30.482Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T17:56:30.992Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-20T17:56:31.597Z] Sending build context to Docker daemon 5.798MB [2023-03-20T17:56:31.597Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-20T17:56:31.597Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-20T17:56:31.597Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-20T17:56:31.597Z] af6eaf76a39c: Pulling fs layer [2023-03-20T17:56:31.597Z] 55522c791124: Pulling fs layer [2023-03-20T17:56:31.597Z] ce5c4a1c91eb: Pulling fs layer [2023-03-20T17:56:31.597Z] 169dfbe0d373: Pulling fs layer [2023-03-20T17:56:31.597Z] e1ff8fa3b103: Pulling fs layer [2023-03-20T17:56:31.597Z] 52ebb69f0ebf: Pulling fs layer [2023-03-20T17:56:31.597Z] 5abe8eddf0d5: Pulling fs layer [2023-03-20T17:56:31.597Z] e1ff8fa3b103: Waiting [2023-03-20T17:56:31.597Z] 52ebb69f0ebf: Waiting [2023-03-20T17:56:31.597Z] 5abe8eddf0d5: Waiting [2023-03-20T17:56:31.597Z] 169dfbe0d373: Waiting [2023-03-20T17:56:31.597Z] 55522c791124: Verifying Checksum [2023-03-20T17:56:31.597Z] 55522c791124: Download complete [2023-03-20T17:56:31.872Z] 169dfbe0d373: Verifying Checksum [2023-03-20T17:56:31.872Z] 169dfbe0d373: Download complete [2023-03-20T17:56:31.872Z] e1ff8fa3b103: Download complete [2023-03-20T17:56:31.872Z] af6eaf76a39c: Verifying Checksum [2023-03-20T17:56:31.872Z] af6eaf76a39c: Download complete [2023-03-20T17:56:32.859Z] af6eaf76a39c: Pull complete [2023-03-20T17:56:32.859Z] 5abe8eddf0d5: Verifying Checksum [2023-03-20T17:56:32.859Z] 5abe8eddf0d5: Download complete [2023-03-20T17:56:33.453Z] 55522c791124: Pull complete [2023-03-20T17:56:34.435Z] ce5c4a1c91eb: Verifying Checksum [2023-03-20T17:56:34.435Z] ce5c4a1c91eb: Download complete [2023-03-20T17:56:34.435Z] 52ebb69f0ebf: Verifying Checksum [2023-03-20T17:56:34.435Z] 52ebb69f0ebf: Download complete [2023-03-20T17:56:44.521Z] ce5c4a1c91eb: Pull complete [2023-03-20T17:56:44.790Z] 169dfbe0d373: Pull complete [2023-03-20T17:56:45.058Z] e1ff8fa3b103: Pull complete [2023-03-20T17:56:51.746Z] 52ebb69f0ebf: Pull complete [2023-03-20T17:56:53.163Z] 5abe8eddf0d5: Pull complete [2023-03-20T17:56:53.163Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-20T17:56:53.163Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-20T17:56:53.163Z] ---> 6cb57ee374ae [2023-03-20T17:56:53.163Z] Step 3/10 : ARG MAKE=make build [2023-03-20T17:56:55.124Z] ---> Running in 42dea3d6fcf7 [2023-03-20T17:56:55.124Z] Removing intermediate container 42dea3d6fcf7 [2023-03-20T17:56:55.124Z] ---> 4be49cda3e9f [2023-03-20T17:56:55.124Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-20T17:56:55.124Z] ---> Running in 622416416c74 [2023-03-20T17:56:55.394Z] Removing intermediate container 622416416c74 [2023-03-20T17:56:55.394Z] ---> a29bcbafb687 [2023-03-20T17:56:55.394Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-20T17:56:55.663Z] ---> Running in 22ec03b2778e [2023-03-20T17:56:55.932Z] Removing intermediate container 22ec03b2778e [2023-03-20T17:56:55.932Z] ---> ac7bdd182dd1 [2023-03-20T17:56:55.932Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-20T17:56:55.932Z] ---> Running in 8fdc694f0cb2 [2023-03-20T17:56:57.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-20T17:56:57.616Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-20T17:56:59.038Z] OK: 263 MiB in 53 packages [2023-03-20T17:57:00.001Z] Removing intermediate container 8fdc694f0cb2 [2023-03-20T17:57:00.001Z] ---> 9ad8fbe70bfa [2023-03-20T17:57:00.001Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-20T17:57:00.284Z] ---> e8d175979c50 [2023-03-20T17:57:00.284Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-20T17:57:00.284Z] ---> Running in fdff7010d924 [2023-03-20T17:58:08.183Z] Removing intermediate container fdff7010d924 [2023-03-20T17:58:08.183Z] ---> 60b2bf255389 [2023-03-20T17:58:08.183Z] Step 9/10 : COPY . . [2023-03-20T17:58:10.136Z] ---> 9359c416acf8 [2023-03-20T17:58:10.136Z] Step 10/10 : RUN ${MAKE} [2023-03-20T17:58:10.136Z] ---> Running in 439776e028eb [2023-03-20T17:58:10.723Z] noop [2023-03-20T17:58:11.699Z] Removing intermediate container 439776e028eb [2023-03-20T17:58:11.699Z] ---> 4e21d6329756 [2023-03-20T17:58:11.699Z] Successfully built 4e21d6329756 [2023-03-20T17:58:11.699Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T17:58:12.173Z] + docker inspect -f . ci-base-image-arm64 [2023-03-20T17:58:12.173Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T17:58:12.470Z] prd-ubuntu20.04-docker-arm64-4c-16g-4615 does not seem to be running inside a container [2023-03-20T17:58:12.541Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-20T17:58:13.812Z] $ docker top daed01b7a524b796239e29b562eafaf0b8a8b07dc4d7fd21c6815a73e39e0abf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T17:58:14.712Z] + go version [2023-03-20T17:58:14.712Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-20T17:58:14.748Z] $ docker stop --time=1 daed01b7a524b796239e29b562eafaf0b8a8b07dc4d7fd21c6815a73e39e0abf [2023-03-20T17:58:16.401Z] $ docker rm -f --volumes daed01b7a524b796239e29b562eafaf0b8a8b07dc4d7fd21c6815a73e39e0abf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T17:58:17.279Z] + docker inspect -f . ci-base-image-arm64 [2023-03-20T17:58:17.279Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T17:58:17.556Z] prd-ubuntu20.04-docker-arm64-4c-16g-4615 does not seem to be running inside a container [2023-03-20T17:58:17.630Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-20T17:58:18.888Z] $ docker top cae9ab15426c3d8fcf2f4019e67a4271552210e658c45482c9e14b652676e035 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T17:58:19.773Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-20T17:58:20.492Z] + make test [2023-03-20T17:58:20.492Z] go test -race -coverprofile=coverage.out ./... [2023-03-20T17:59:07.393Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-20T18:01:44.177Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-20T18:01:44.177Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-20T18:01:44.177Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-20T18:01:44.177Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-20T18:01:44.177Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-20T18:01:50.839Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.252s coverage: 27.6% of statements [2023-03-20T18:01:55.109Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.273s coverage: 78.9% of statements [2023-03-20T18:02:10.110Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-20T18:02:10.110Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-20T18:02:10.110Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.418s coverage: 86.0% of statements [2023-03-20T18:02:18.328Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-20T18:02:18.328Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.471s coverage: 75.9% of statements [2023-03-20T18:02:22.600Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-20T18:02:24.553Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-20T18:02:24.553Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-20T18:02:25.517Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.276s coverage: 15.2% of statements [2023-03-20T18:02:25.517Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.458s coverage: 65.7% of statements [2023-03-20T18:02:28.904Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.465s coverage: 89.2% of statements [2023-03-20T18:02:30.857Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-20T18:02:30.857Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.290s coverage: 5.5% of statements [2023-03-20T18:02:31.823Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-20T18:02:31.823Z] GO111MODULE=on go vet ./... [2023-03-20T18:05:24.721Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-20T18:05:24.721Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-20T18:05:24.721Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-20T18:05:24.762Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-20T18:05:24.791Z] $ docker stop --time=1 cae9ab15426c3d8fcf2f4019e67a4271552210e658c45482c9e14b652676e035 [2023-03-20T18:05:27.323Z] $ docker rm -f --volumes cae9ab15426c3d8fcf2f4019e67a4271552210e658c45482c9e14b652676e035 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-20T18:05:29.103Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-20T18:05:29.139Z] Warning: overwriting stash ‘coverage-report’ [2023-03-20T18:05:29.797Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-20T18:05:30.389Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-20T18:05:30.738Z] + ls -al . [2023-03-20T18:05:30.738Z] total 272 [2023-03-20T18:05:30.738Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 20 17:58 . [2023-03-20T18:05:30.738Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 17:55 .. [2023-03-20T18:05:30.738Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 20 17:56 .dockerignore [2023-03-20T18:05:30.738Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 17:56 .git [2023-03-20T18:05:30.738Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 17:56 .github [2023-03-20T18:05:30.738Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 20 17:56 .gitignore [2023-03-20T18:05:30.738Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 20 17:56 .golangci.yml [2023-03-20T18:05:30.738Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 20 17:56 CHANGELOG.md [2023-03-20T18:05:30.738Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 17:56 GOVERNANCE.md [2023-03-20T18:05:30.738Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 20 17:56 Jenkinsfile [2023-03-20T18:05:30.738Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 20 17:56 LICENSE [2023-03-20T18:05:30.738Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 20 17:56 Makefile [2023-03-20T18:05:30.738Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 20 17:56 OWNERS.md [2023-03-20T18:05:30.738Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 20 17:56 README.md [2023-03-20T18:05:30.738Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 17:51 VERSION [2023-03-20T18:05:30.738Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 17:56 bin [2023-03-20T18:05:30.738Z] -rw-r--r-- 1 jenkins jenkins 109536 Mar 20 18:02 coverage.out [2023-03-20T18:05:30.738Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 20 17:56 example [2023-03-20T18:05:30.738Z] -rw-rw-r-- 1 jenkins jenkins 3291 Mar 20 17:56 go.mod [2023-03-20T18:05:30.738Z] -rw-rw-r-- 1 jenkins jenkins 30841 Mar 20 17:56 go.sum [2023-03-20T18:05:30.738Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 20 17:56 internal [2023-03-20T18:05:30.738Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 17:56 openapi [2023-03-20T18:05:30.738Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 20 17:56 pkg [2023-03-20T18:05:30.738Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 17:56 snap [2023-03-20T18:05:30.738Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 20 17:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T18:05:31.163Z] + 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=31715d779ea18ad9748946d550caeaa2c7135f2d --label arch=arm64 --label version=0.0.0 . [2023-03-20T18:05:31.750Z] Sending build context to Docker daemon 5.908MB [2023-03-20T18:05:31.750Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-20T18:05:31.750Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-20T18:05:31.750Z] ---> 4e21d6329756 [2023-03-20T18:05:31.750Z] Step 3/23 : ARG MAKE=make build [2023-03-20T18:05:31.750Z] ---> Running in 79eb3bc94b01 [2023-03-20T18:05:32.024Z] Removing intermediate container 79eb3bc94b01 [2023-03-20T18:05:32.024Z] ---> 1bfb8333021f [2023-03-20T18:05:32.024Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-20T18:05:32.294Z] ---> Running in 33ca3c864527 [2023-03-20T18:05:32.562Z] Removing intermediate container 33ca3c864527 [2023-03-20T18:05:32.562Z] ---> 58cd3af3da2b [2023-03-20T18:05:32.562Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-20T18:05:32.562Z] ---> Running in 2770aefaac5f [2023-03-20T18:05:32.832Z] Removing intermediate container 2770aefaac5f [2023-03-20T18:05:32.832Z] ---> e8f0b4caa6d5 [2023-03-20T18:05:32.832Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-20T18:05:33.104Z] ---> Running in d4cb598555a3 [2023-03-20T18:05:34.070Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-20T18:05:35.036Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-20T18:05:35.998Z] OK: 263 MiB in 53 packages [2023-03-20T18:05:36.966Z] Removing intermediate container d4cb598555a3 [2023-03-20T18:05:36.966Z] ---> cd3381a61b75 [2023-03-20T18:05:36.966Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-20T18:05:39.921Z] ---> 2c720a85ca93 [2023-03-20T18:05:39.921Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-20T18:05:39.921Z] ---> Running in f5a45d95d2d6 [2023-03-20T18:05:42.514Z] Removing intermediate container f5a45d95d2d6 [2023-03-20T18:05:42.514Z] ---> 744483d3290d [2023-03-20T18:05:42.514Z] Step 9/23 : COPY . . [2023-03-20T18:05:43.924Z] ---> 9f78cd82011b [2023-03-20T18:05:43.924Z] Step 10/23 : RUN ${MAKE} [2023-03-20T18:05:43.924Z] ---> Running in 7fb311796c5d [2023-03-20T18:05:44.885Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-20T18:08:21.612Z] Removing intermediate container 7fb311796c5d [2023-03-20T18:08:21.612Z] ---> ac671d684c10 [2023-03-20T18:08:21.612Z] Step 11/23 : FROM alpine:3.17 [2023-03-20T18:08:21.612Z] 3.17: Pulling from library/alpine [2023-03-20T18:08:21.612Z] af6eaf76a39c: Already exists [2023-03-20T18:08:21.612Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-20T18:08:21.612Z] Status: Downloaded newer image for alpine:3.17 [2023-03-20T18:08:21.612Z] ---> d74e625d9115 [2023-03-20T18:08:21.613Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-20T18:08:21.613Z] ---> Running in 3915638bd09c [2023-03-20T18:08:21.613Z] Removing intermediate container 3915638bd09c [2023-03-20T18:08:21.613Z] ---> 1019a8f11576 [2023-03-20T18:08:21.613Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-20T18:08:21.613Z] ---> Running in 443cba744287 [2023-03-20T18:08:21.613Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-20T18:08:21.613Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-20T18:08:21.613Z] OK: 7 MiB in 15 packages [2023-03-20T18:08:21.613Z] Removing intermediate container 443cba744287 [2023-03-20T18:08:21.613Z] ---> bd7d79e335af [2023-03-20T18:08:21.613Z] Step 14/23 : WORKDIR / [2023-03-20T18:08:21.613Z] ---> Running in 9486756f6b35 [2023-03-20T18:08:21.613Z] Removing intermediate container 9486756f6b35 [2023-03-20T18:08:21.613Z] ---> 9ceadbe32abe [2023-03-20T18:08:21.613Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-20T18:08:21.613Z] ---> 7168b5fdba22 [2023-03-20T18:08:21.613Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-20T18:08:21.613Z] ---> 06a55dba0cfd [2023-03-20T18:08:21.613Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-20T18:08:21.613Z] ---> 9ce7f91fb1c9 [2023-03-20T18:08:21.613Z] Step 18/23 : EXPOSE 59999 [2023-03-20T18:08:21.613Z] ---> Running in 3189aa446b43 [2023-03-20T18:08:21.613Z] Removing intermediate container 3189aa446b43 [2023-03-20T18:08:21.613Z] ---> 26d88a73eae3 [2023-03-20T18:08:21.613Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-20T18:08:21.613Z] ---> Running in 6796c417f485 [2023-03-20T18:08:21.613Z] Removing intermediate container 6796c417f485 [2023-03-20T18:08:21.613Z] ---> e733db9e5446 [2023-03-20T18:08:21.613Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-20T18:08:21.613Z] ---> Running in b81664c9fa31 [2023-03-20T18:08:21.613Z] Removing intermediate container b81664c9fa31 [2023-03-20T18:08:21.613Z] ---> 1a50766f49c3 [2023-03-20T18:08:21.613Z] Step 21/23 : LABEL arch=arm64 [2023-03-20T18:08:21.613Z] ---> Running in ffbdf568cb17 [2023-03-20T18:08:21.613Z] Removing intermediate container ffbdf568cb17 [2023-03-20T18:08:21.613Z] ---> 350b2a0fc29b [2023-03-20T18:08:21.613Z] Step 22/23 : LABEL git_sha=31715d779ea18ad9748946d550caeaa2c7135f2d [2023-03-20T18:08:21.613Z] ---> Running in f7b7d65db2c3 [2023-03-20T18:08:21.613Z] Removing intermediate container f7b7d65db2c3 [2023-03-20T18:08:21.613Z] ---> e1d5db98387a [2023-03-20T18:08:21.613Z] Step 23/23 : LABEL version=0.0.0 [2023-03-20T18:08:21.613Z] ---> Running in c2b55f0dc6d5 [2023-03-20T18:08:21.613Z] Removing intermediate container c2b55f0dc6d5 [2023-03-20T18:08:21.613Z] ---> d90eb5301199 [2023-03-20T18:08:21.613Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-20T18:08:21.613Z] Successfully built d90eb5301199 [2023-03-20T18:08:21.613Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T18:08:22.447Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-20T18:08:22.447Z] [2023-03-20T18:08:22.447Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T18:08:22.956Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-20T18:08:22.956Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-20T18:08:22.956Z] 8998bd30e6a1: Pulling fs layer [2023-03-20T18:08:22.956Z] 04944245beec: Pulling fs layer [2023-03-20T18:08:22.956Z] 699f458cf7ca: Pulling fs layer [2023-03-20T18:08:22.956Z] 765212b225bb: Pulling fs layer [2023-03-20T18:08:22.956Z] f23df028b6ca: Pulling fs layer [2023-03-20T18:08:22.956Z] d65c8cfc05b1: Pulling fs layer [2023-03-20T18:08:22.956Z] 2437ff75d9bd: Pulling fs layer [2023-03-20T18:08:22.956Z] 765212b225bb: Waiting [2023-03-20T18:08:22.956Z] f23df028b6ca: Waiting [2023-03-20T18:08:22.956Z] 2437ff75d9bd: Waiting [2023-03-20T18:08:22.956Z] d65c8cfc05b1: Waiting [2023-03-20T18:08:23.224Z] 04944245beec: Verifying Checksum [2023-03-20T18:08:23.224Z] 04944245beec: Download complete [2023-03-20T18:08:23.224Z] 765212b225bb: Verifying Checksum [2023-03-20T18:08:23.224Z] 765212b225bb: Download complete [2023-03-20T18:08:23.224Z] f23df028b6ca: Verifying Checksum [2023-03-20T18:08:23.224Z] f23df028b6ca: Download complete [2023-03-20T18:08:23.224Z] d65c8cfc05b1: Verifying Checksum [2023-03-20T18:08:23.224Z] d65c8cfc05b1: Download complete [2023-03-20T18:08:23.493Z] 699f458cf7ca: Verifying Checksum [2023-03-20T18:08:23.493Z] 699f458cf7ca: Download complete [2023-03-20T18:08:23.761Z] 8998bd30e6a1: Verifying Checksum [2023-03-20T18:08:23.761Z] 8998bd30e6a1: Download complete [2023-03-20T18:08:26.347Z] 2437ff75d9bd: Verifying Checksum [2023-03-20T18:08:26.347Z] 2437ff75d9bd: Download complete [2023-03-20T18:08:28.306Z] 8998bd30e6a1: Pull complete [2023-03-20T18:08:28.889Z] 04944245beec: Pull complete [2023-03-20T18:08:30.303Z] 699f458cf7ca: Pull complete [2023-03-20T18:08:30.572Z] 765212b225bb: Pull complete [2023-03-20T18:08:31.161Z] f23df028b6ca: Pull complete [2023-03-20T18:08:31.429Z] d65c8cfc05b1: Pull complete [2023-03-20T18:08:46.426Z] 2437ff75d9bd: Pull complete [2023-03-20T18:08:46.426Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-20T18:08:46.426Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-20T18:08:46.426Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T18:08:46.752Z] prd-ubuntu20.04-docker-arm64-4c-16g-4615 does not seem to be running inside a container [2023-03-20T18:08:46.823Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-20T18:08:49.723Z] $ docker top a30321e7cb65df7b81fc45ae272c6a39a71b105d012c8517c3e87ac784ed01e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T18:08:50.647Z] ---> job-cost.sh [2023-03-20T18:08:50.647Z] lf-activate-venv: SKIPPING [2023-03-20T18:08:50.647Z] INFO: No Stack... [2023-03-20T18:08:50.914Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-20T18:08:51.872Z] INFO: Archiving Costs [Pipeline] sh [2023-03-20T18:08:52.550Z] + + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-03-20T18:08:52.550Z] cut -d, -f6 [Pipeline] lock [2023-03-20T18:08:52.645Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1394-1-stack-cost] [2023-03-20T18:08:52.650Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1394-1-stack-cost] did not exist. Created. [2023-03-20T18:08:52.651Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1394-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-20T18:08:53.378Z] /w/workspace/device-sdk-go/1@tmp/durable-38706269/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-20T18:08:54.056Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-20T18:08:54.091Z] Warning: overwriting stash ‘stack-cost’ [2023-03-20T18:08:54.157Z] Stashed 1 file(s) [Pipeline] } [2023-03-20T18:08:54.171Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1394-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-20T18:08:54.236Z] $ docker stop --time=1 a30321e7cb65df7b81fc45ae272c6a39a71b105d012c8517c3e87ac784ed01e3 [2023-03-20T18:08:56.324Z] $ docker rm -f --volumes a30321e7cb65df7b81fc45ae272c6a39a71b105d012c8517c3e87ac784ed01e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-20T18:08:57.446Z] provisioning config files... [2023-03-20T18:08:57.453Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp/config6958862696600325941tmp [Pipeline] { [Pipeline] sh [2023-03-20T18:08:57.788Z] + set +x [2023-03-20T18:08:57.788Z] + curl -s https://codecov.io/bash [2023-03-20T18:08:57.788Z] + bash -s -- [2023-03-20T18:08:57.788Z] [2023-03-20T18:08:57.788Z] _____ _ [2023-03-20T18:08:57.788Z] / ____| | | [2023-03-20T18:08:57.788Z] | | ___ __| | ___ ___ _____ __ [2023-03-20T18:08:57.788Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-20T18:08:57.788Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-20T18:08:57.788Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-20T18:08:57.788Z] Bash-1.0.6 [2023-03-20T18:08:57.788Z] [2023-03-20T18:08:57.788Z] [2023-03-20T18:08:57.788Z] ==> git version 2.25.1 found [2023-03-20T18:08:57.788Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-20T18:08:57.788Z] Release-Date: 2020-01-08 [2023-03-20T18:08:57.788Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-20T18:08:57.788Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-20T18:08:57.788Z] ==> Jenkins CI detected. [2023-03-20T18:08:57.788Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1394 [2023-03-20T18:08:57.788Z] project root: . [2023-03-20T18:08:57.788Z] --> token set from env [2023-03-20T18:08:57.788Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-20T18:08:57.788Z] ==> Running gcov in . (disable via -X gcov) [2023-03-20T18:08:57.788Z] ==> Python coveragepy not found [2023-03-20T18:08:57.788Z] ==> Searching for coverage reports in: [2023-03-20T18:08:57.789Z] + . [2023-03-20T18:08:57.789Z] -> Found 1 reports [2023-03-20T18:08:57.789Z] ==> Detecting git/mercurial file structure [2023-03-20T18:08:57.789Z] ==> Reading reports [2023-03-20T18:08:57.789Z] + ./coverage.out bytes=109536 [2023-03-20T18:08:57.789Z] ==> Appending adjustments [2023-03-20T18:08:57.789Z] https://docs.codecov.io/docs/fixing-reports [2023-03-20T18:08:58.047Z] + Found adjustments [2023-03-20T18:08:58.047Z] ==> Gzipping contents [2023-03-20T18:08:58.305Z] 16K /tmp/codecov.WwtjoE.gz [2023-03-20T18:08:58.306Z] ==> Uploading reports [2023-03-20T18:08:58.306Z] url: https://codecov.io [2023-03-20T18:08:58.306Z] query: branch=PR-1394&commit=31715d779ea18ad9748946d550caeaa2c7135f2d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1394%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1394&job=&cmd_args= [2023-03-20T18:08:58.306Z] -> Pinging Codecov [2023-03-20T18:08:58.306Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1394&commit=31715d779ea18ad9748946d550caeaa2c7135f2d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1394%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1394&job=&cmd_args= [2023-03-20T18:08:58.306Z] -> Uploading to [2023-03-20T18:08:58.306Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-20/7E55EF52A471D76F132DFD9A03CDDE97/31715d779ea18ad9748946d550caeaa2c7135f2d/6c3cf912-7e90-4fc2-8a34-4f90c878c1f2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230320%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230320T180858Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6ccf50353ff564aef8e3c53fd887003bfba1d2bb8aee32f220dd6720c8b2e5c5 [2023-03-20T18:08:58.306Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-20T18:08:58.306Z] Dload Upload Total Spent Left Speed [2023-03-20T18:08:58.564Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15233 0 0 100 15233 0 52167 --:--:-- --:--:-- --:--:-- 51989 [2023-03-20T18:08:58.564Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/31715d779ea18ad9748946d550caeaa2c7135f2d [Pipeline] } [2023-03-20T18:08:58.598Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-20T18:09:00.474Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1394/archives ] [2023-03-20T18:09:00.474Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1394/archives [2023-03-20T18:09:00.474Z] total 16 [2023-03-20T18:09:00.474Z] drwxr-xr-x 3 root root 4096 Mar 20 17:53 . [2023-03-20T18:09:00.474Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 20 17:53 .. [2023-03-20T18:09:00.474Z] drwxr-xr-x 2 root root 4096 Mar 20 17:53 cost [2023-03-20T18:09:00.474Z] -rw-r--r-- 1 root root 86 Mar 20 17:53 cost.csv [2023-03-20T18:09:00.474Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1394/archives [2023-03-20T18:09:00.474Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1394/archives [2023-03-20T18:09:00.474Z] total 16 [2023-03-20T18:09:00.474Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 17:53 . [2023-03-20T18:09:00.474Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 20 17:53 .. [2023-03-20T18:09:00.474Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 20 17:53 cost [2023-03-20T18:09:00.474Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 20 17:53 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-20T18:09:00.809Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T18:09:01.712Z] ---> package-listing.sh [2023-03-20T18:09:01.712Z] ++ facter osfamily [2023-03-20T18:09:01.712Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-20T18:09:01.973Z] + OS_FAMILY=debian [2023-03-20T18:09:01.973Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1394 [2023-03-20T18:09:01.973Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-20T18:09:01.973Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-20T18:09:01.973Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-20T18:09:01.973Z] + PACKAGES=/tmp/packages_start.txt [2023-03-20T18:09:01.973Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1394 ']' [2023-03-20T18:09:01.973Z] + PACKAGES=/tmp/packages_end.txt [2023-03-20T18:09:01.973Z] + case "${OS_FAMILY}" in [2023-03-20T18:09:01.973Z] + grep '^ii' [2023-03-20T18:09:01.973Z] + dpkg -l [2023-03-20T18:09:01.973Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-20T18:09:01.973Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-20T18:09:01.973Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-20T18:09:01.973Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1394 ']' [2023-03-20T18:09:01.973Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1394/archives/ [2023-03-20T18:09:01.973Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1394/archives/ [Pipeline] echo [2023-03-20T18:09:02.004Z] 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-1394/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-20T18:09:02.298Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T18:09:02.926Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-20T18:09:02.926Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T18:09:03.082Z] prd-ubuntu20.04-docker-8c-8g-4614 does not seem to be running inside a container [2023-03-20T18:09:03.103Z] $ 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-1394/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-1394 -v /w/workspace/gexfoundry_device-sdk-go_PR-1394:/w/workspace/gexfoundry_device-sdk-go_PR-1394:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1394@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-03-20T18:09:03.366Z] $ docker top d6822c33882f3f8f1875c95cbe534c6f9233516e455d0f891e42f777bd3b6562 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T18:09:03.761Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-20T18:09:04.064Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-20T18:09:04.376Z] + ls /var/log/sa-host [2023-03-20T18:09:04.376Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-20T18:09:04.582Z] provisioning config files... [2023-03-20T18:09:04.593Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp/config15434958984139560397tmp [Pipeline] { [Pipeline] echo [2023-03-20T18:09:04.654Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T18:09:04.963Z] ---> create-netrc.sh [Pipeline] } [2023-03-20T18:09:04.994Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-20T18:09:05.402Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-20T18:09:05.434Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T18:09:05.741Z] ---> sudo-logs.sh [2023-03-20T18:09:05.741Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-20T18:09:05.825Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T18:09:06.133Z] ---> job-cost.sh [2023-03-20T18:09:06.133Z] lf-activate-venv: SKIPPING [2023-03-20T18:09:06.133Z] DEBUG: total: 0.2199999988079071 [2023-03-20T18:09:06.133Z] INFO: Retrieving Stack Cost... [2023-03-20T18:09:06.393Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-20T18:09:06.961Z] INFO: Archiving Costs [Pipeline] echo [2023-03-20T18:09:07.001Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T18:09:07.311Z] ---> logs-deploy.sh [2023-03-20T18:09:07.311Z] lf-activate-venv: SKIPPING [2023-03-20T18:09:07.311Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1394/1 [2023-03-20T18:09:07.311Z] INFO: archiving workspace using pattern(s): [2023-03-20T18:09:08.248Z] Archives upload complete. [2023-03-20T18:09:08.248Z] INFO: archiving logs to Nexus