Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ff1b5b02c8f314790bf5be564bfc978a145e3053+9201c30d3cbedfb69842190fa0e339608ffa0cc3 (c5c32d66731ae941d1fb076e4f49e46c3b0ea23f) 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-ssh13807599540422094114.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh9755839608573884013.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 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1203/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1203/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15139515329642701237.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13970690081214752922.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1203/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1203/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6895700488704775296.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 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 ‘prd-ubuntu20.04-docker-8c-8g-21413’ is offline Running on prd-ubuntu20.04-docker-8c-8g-21415 in /w/workspace/gexfoundry_device-sdk-go_PR-1203 [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-1203 # 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 Merging remotes/origin/main commit 9201c30d3cbedfb69842190fa0e339608ffa0cc3 into PR head commit ff1b5b02c8f314790bf5be564bfc978a145e3053 Merge succeeded, producing cd127a7f352641ad24866214c97ac82dae480d7b Checking out Revision cd127a7f352641ad24866214c97ac82dae480d7b (PR-1203) > 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/1203/head:refs/remotes/origin/PR-1203 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ff1b5b02c8f314790bf5be564bfc978a145e3053 # 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 9201c30d3cbedfb69842190fa0e339608ffa0cc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd127a7f352641ad24866214c97ac82dae480d7b # timeout=10 Commit message: "Merge commit '9201c30d3cbedfb69842190fa0e339608ffa0cc3' into HEAD" > git rev-list --no-walk ff1b5b02c8f314790bf5be564bfc978a145e3053 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-28T22:41:19.919Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-28T22:41:19.987Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-28T22:41:20.000Z] ========================================================= [2022-07-28T22:41:20.000Z] EdgeX Global Pipelines Version Info [2022-07-28T22:41:20.000Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-28T22:41:20.772Z] ------------------- [2022-07-28T22:41:20.772Z] stable info: [2022-07-28T22:41:20.772Z] ------------------- [2022-07-28T22:41:20.772Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-28T22:41:20.772Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-28T22:41:20.772Z] Message: update stable to v1.0.238 [2022-07-28T22:41:21.346Z] ------------------- [2022-07-28T22:41:21.346Z] experimental info: [2022-07-28T22:41:21.346Z] ------------------- [2022-07-28T22:41:21.346Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-28T22:41:21.346Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-28T22:41:21.346Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-28T22:41:21.568Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-07-28T22:41:21.581Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-07-28T22:41:21.592Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-28T22:41:21.603Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-28T22:41:21.617Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-28T22:41:21.629Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-28T22:41:21.640Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-28T22:41:21.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-07-28T22:41:21.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-28T22:41:21.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-28T22:41:21.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-28T22:41:21.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-07-28T22:41:21.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-28T22:41:21.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-28T22:41:21.748Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-28T22:41:21.757Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-07-28T22:41:21.766Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-28T22:41:21.777Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-28T22:41:21.788Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-28T22:41:21.801Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-28T22:41:21.812Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-07-28T22:41:21.824Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-07-28T22:41:21.837Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-28T22:41:21.855Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-28T22:41:21.871Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-28T22:41:21.884Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-28T22:41:21.896Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-28T22:41:21.907Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1203 [Pipeline] echo [2022-07-28T22:41:21.916Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1203 [Pipeline] echo [2022-07-28T22:41:21.928Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1203 [Pipeline] echo [2022-07-28T22:41:21.940Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cd127a7f352641ad24866214c97ac82dae480d7b [Pipeline] echo [2022-07-28T22:41:21.951Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cd127a7 [Pipeline] echo [2022-07-28T22:41:21.963Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-28T22:41:22.006Z] provisioning config files... [2022-07-28T22:41:22.019Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp/config8907843442469348743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T22:41:22.331Z] ---> docker-login.sh [2022-07-28T22:41:22.331Z] nexus3.edgexfoundry.org:10001 [2022-07-28T22:41:22.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:41:22.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:41:22.855Z] Configure a credential helper to remove this warning. See [2022-07-28T22:41:22.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:41:22.855Z] [2022-07-28T22:41:22.855Z] Login Succeeded [2022-07-28T22:41:22.855Z] nexus3.edgexfoundry.org:10002 [2022-07-28T22:41:22.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:41:23.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:41:23.118Z] Configure a credential helper to remove this warning. See [2022-07-28T22:41:23.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:41:23.118Z] [2022-07-28T22:41:23.118Z] Login Succeeded [2022-07-28T22:41:23.118Z] nexus3.edgexfoundry.org:10003 [2022-07-28T22:41:23.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:41:23.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:41:23.118Z] Configure a credential helper to remove this warning. See [2022-07-28T22:41:23.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:41:23.118Z] [2022-07-28T22:41:23.118Z] Login Succeeded [2022-07-28T22:41:23.118Z] nexus3.edgexfoundry.org:10004 [2022-07-28T22:41:23.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:41:23.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:41:23.382Z] Configure a credential helper to remove this warning. See [2022-07-28T22:41:23.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:41:23.382Z] [2022-07-28T22:41:23.382Z] Login Succeeded [2022-07-28T22:41:23.382Z] docker.io [2022-07-28T22:41:23.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:41:23.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:41:23.644Z] Configure a credential helper to remove this warning. See [2022-07-28T22:41:23.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:41:23.644Z] [2022-07-28T22:41:23.644Z] Login Succeeded [2022-07-28T22:41:23.644Z] ---> docker-login.sh ends [Pipeline] } [2022-07-28T22:41:23.657Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-28T22:41:24.063Z] + git rev-list -1 --merges cd127a7f352641ad24866214c97ac82dae480d7b~1..cd127a7f352641ad24866214c97ac82dae480d7b [Pipeline] echo [2022-07-28T22:41:24.093Z] -----------> git rev-list -1 --merges cd127a7f352641ad24866214c97ac82dae480d7b~1..cd127a7f352641ad24866214c97ac82dae480d7b cd127a7f352641ad24866214c97ac82dae480d7b [2022-07-28T22:41:24.093Z] cd127a7f352641ad24866214c97ac82dae480d7b [false] [Pipeline] sh [2022-07-28T22:41:24.394Z] + git log --format=format:%s -1 cd127a7f352641ad24866214c97ac82dae480d7b [Pipeline] echo [2022-07-28T22:41:24.411Z] ========================================================= [2022-07-28T22:41:24.411Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-28T22:41:24.411Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-28T22:41:24.761Z] + git log --format=format:%s -1 cd127a7f352641ad24866214c97ac82dae480d7b [Pipeline] echo [2022-07-28T22:41:24.776Z] [semverPrep] GIT_COMMIT: cd127a7f352641ad24866214c97ac82dae480d7b, Commit Message: Merge commit '9201c30d3cbedfb69842190fa0e339608ffa0cc3' into HEAD [Pipeline] echo [2022-07-28T22:41:24.788Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-28T22:41:25.162Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-28T22:41:25.162Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-28T22:41:25.162Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-28T22:41:25.162Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-28T22:41:25.162Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-28T22:41:25.162Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-28T22:41:25.162Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T22:41:25.601Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-28T22:41:25.601Z] [2022-07-28T22:41:25.601Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T22:41:25.907Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-28T22:41:25.907Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-28T22:41:25.907Z] b85a868b505f: Pulling fs layer [2022-07-28T22:41:25.907Z] e2be974225ed: Pulling fs layer [2022-07-28T22:41:25.907Z] 339a4e72a1f5: Pulling fs layer [2022-07-28T22:41:25.907Z] 988bab9f4d93: Pulling fs layer [2022-07-28T22:41:25.907Z] 1469e6f7b9e6: Pulling fs layer [2022-07-28T22:41:25.907Z] eaf3925da568: Pulling fs layer [2022-07-28T22:41:25.907Z] bab4dde63d76: Pulling fs layer [2022-07-28T22:41:25.907Z] bde34c3a00c8: Pulling fs layer [2022-07-28T22:41:25.907Z] eaf3925da568: Waiting [2022-07-28T22:41:25.907Z] bab4dde63d76: Waiting [2022-07-28T22:41:25.907Z] 1469e6f7b9e6: Waiting [2022-07-28T22:41:25.907Z] b352a97aabf1: Pulling fs layer [2022-07-28T22:41:25.907Z] 4872d77fe225: Pulling fs layer [2022-07-28T22:41:25.907Z] bde34c3a00c8: Waiting [2022-07-28T22:41:25.907Z] 988bab9f4d93: Waiting [2022-07-28T22:41:25.907Z] b352a97aabf1: Waiting [2022-07-28T22:41:25.907Z] 5851b861e8e6: Pulling fs layer [2022-07-28T22:41:25.907Z] 4872d77fe225: Waiting [2022-07-28T22:41:25.907Z] 5851b861e8e6: Waiting [2022-07-28T22:41:25.907Z] e2be974225ed: Verifying Checksum [2022-07-28T22:41:25.907Z] e2be974225ed: Download complete [2022-07-28T22:41:25.907Z] 988bab9f4d93: Verifying Checksum [2022-07-28T22:41:25.907Z] 988bab9f4d93: Download complete [2022-07-28T22:41:26.190Z] 1469e6f7b9e6: Verifying Checksum [2022-07-28T22:41:26.190Z] 1469e6f7b9e6: Download complete [2022-07-28T22:41:26.190Z] 339a4e72a1f5: Verifying Checksum [2022-07-28T22:41:26.190Z] 339a4e72a1f5: Download complete [2022-07-28T22:41:26.190Z] eaf3925da568: Verifying Checksum [2022-07-28T22:41:26.190Z] eaf3925da568: Download complete [2022-07-28T22:41:26.190Z] bde34c3a00c8: Download complete [2022-07-28T22:41:26.190Z] b352a97aabf1: Download complete [2022-07-28T22:41:26.190Z] 4872d77fe225: Verifying Checksum [2022-07-28T22:41:26.190Z] 4872d77fe225: Download complete [2022-07-28T22:41:26.190Z] 5851b861e8e6: Verifying Checksum [2022-07-28T22:41:26.190Z] 5851b861e8e6: Download complete [2022-07-28T22:41:26.190Z] b85a868b505f: Verifying Checksum [2022-07-28T22:41:26.454Z] bab4dde63d76: Verifying Checksum [2022-07-28T22:41:26.455Z] bab4dde63d76: Download complete [2022-07-28T22:41:27.847Z] b85a868b505f: Pull complete [2022-07-28T22:41:27.847Z] e2be974225ed: Pull complete [2022-07-28T22:41:28.422Z] 339a4e72a1f5: Pull complete [2022-07-28T22:41:28.422Z] 988bab9f4d93: Pull complete [2022-07-28T22:41:28.684Z] 1469e6f7b9e6: Pull complete [2022-07-28T22:41:28.684Z] eaf3925da568: Pull complete [2022-07-28T22:41:31.248Z] bab4dde63d76: Pull complete [2022-07-28T22:41:31.248Z] bde34c3a00c8: Pull complete [2022-07-28T22:41:31.248Z] b352a97aabf1: Pull complete [2022-07-28T22:41:31.248Z] 4872d77fe225: Pull complete [2022-07-28T22:41:31.248Z] 5851b861e8e6: Pull complete [2022-07-28T22:41:31.248Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-28T22:41:31.248Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-28T22:41:31.248Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T22:41:31.345Z] prd-ubuntu20.04-docker-8c-8g-21415 does not seem to be running inside a container [2022-07-28T22:41:31.386Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1203 -v /w/workspace/gexfoundry_device-sdk-go_PR-1203:/w/workspace/gexfoundry_device-sdk-go_PR-1203:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1203@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-devops/py-git-semver:0.1.4 cat [2022-07-28T22:41:32.650Z] $ docker top 7363ed0a862d362c757087e1406220df641a1ef33b6ad0aeaf9bb0a4e8fa39fd -eo pid,comm [2022-07-28T22:41:32.717Z] 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). [2022-07-28T22:41:32.717Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-28T22:41:32.756Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-28T22:41:32.756Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-28T22:41:32.887Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-28T22:41:32.894Z] $ docker exec 7363ed0a862d362c757087e1406220df641a1ef33b6ad0aeaf9bb0a4e8fa39fd ssh-agent [2022-07-28T22:41:33.024Z] SSH_AUTH_SOCK=/tmp/ssh-g9IoeNmM68Ng/agent.35 [2022-07-28T22:41:33.024Z] SSH_AGENT_PID=41 [2022-07-28T22:41:33.031Z] Running ssh-add (command line suppressed) [2022-07-28T22:41:33.166Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp/private_key_3107427951048964029.key (/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp/private_key_3107427951048964029.key) [2022-07-28T22:41:33.180Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-28T22:41:33.474Z] + git tag --points-at HEAD [Pipeline] } [2022-07-28T22:41:33.498Z] $ docker exec --env ******** --env ******** 7363ed0a862d362c757087e1406220df641a1ef33b6ad0aeaf9bb0a4e8fa39fd ssh-agent -k [2022-07-28T22:41:33.627Z] unset SSH_AUTH_SOCK; [2022-07-28T22:41:33.627Z] unset SSH_AGENT_PID; [2022-07-28T22:41:33.627Z] echo Agent pid 41 killed; [2022-07-28T22:41:33.639Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-28T22:41:33.659Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-28T22:41:33.659Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-28T22:41:33.797Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-28T22:41:33.804Z] $ docker exec 7363ed0a862d362c757087e1406220df641a1ef33b6ad0aeaf9bb0a4e8fa39fd ssh-agent [2022-07-28T22:41:33.938Z] SSH_AUTH_SOCK=/tmp/ssh-Yvjhw3z0P2Ym/agent.74 [2022-07-28T22:41:33.938Z] SSH_AGENT_PID=80 [2022-07-28T22:41:33.944Z] Running ssh-add (command line suppressed) [2022-07-28T22:41:34.078Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp/private_key_5401966067210805977.key (/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp/private_key_5401966067210805977.key) [2022-07-28T22:41:34.090Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-28T22:41:34.382Z] + git semver init [2022-07-28T22:41:34.645Z] 2022-07-28 22:41:34,594 [run_init] DEBUG init version:0.0.0 force:False [2022-07-28T22:41:34.645Z] 2022-07-28 22:41:34,595 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1203/.semver [2022-07-28T22:41:34.645Z] 2022-07-28 22:41:34,595 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1203/.semver [2022-07-28T22:41:34.645Z] 2022-07-28 22:41:34,595 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1203/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1203, universal_newlines=False, shell=None, istream=None) [2022-07-28T22:41:35.590Z] 2022-07-28 22:41:35,372 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1203/.git/info/exclude [2022-07-28T22:41:35.590Z] 2022-07-28 22:41:35,372 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1203/.semver/PR-1203 with force:False [2022-07-28T22:41:35.590Z] 2022-07-28 22:41:35,373 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1203/.semver/PR-1203 [2022-07-28T22:41:35.590Z] 2022-07-28 22:41:35,377 [execute] INFO git cat-file --batch-check [2022-07-28T22:41:35.590Z] 2022-07-28 22:41:35,378 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1203/.semver, universal_newlines=False, shell=None, istream=) [2022-07-28T22:41:35.590Z] 2022-07-28 22:41:35,384 [execute] INFO git cat-file --batch [2022-07-28T22:41:35.590Z] 2022-07-28 22:41:35,384 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1203/.semver, universal_newlines=False, shell=None, istream=) [2022-07-28T22:41:35.590Z] 2022-07-28 22:41:35,388 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1203/.semver/PR-1203 [2022-07-28T22:41:35.590Z] 0.0.0 [Pipeline] } [2022-07-28T22:41:35.606Z] $ docker exec --env ******** --env ******** 7363ed0a862d362c757087e1406220df641a1ef33b6ad0aeaf9bb0a4e8fa39fd ssh-agent -k [2022-07-28T22:41:35.735Z] unset SSH_AUTH_SOCK; [2022-07-28T22:41:35.736Z] unset SSH_AGENT_PID; [2022-07-28T22:41:35.736Z] echo Agent pid 80 killed; [2022-07-28T22:41:35.743Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-28T22:41:36.056Z] + git semver [Pipeline] } [2022-07-28T22:41:36.336Z] $ docker stop --time=1 7363ed0a862d362c757087e1406220df641a1ef33b6ad0aeaf9bb0a4e8fa39fd [2022-07-28T22:41:37.648Z] $ docker rm -f 7363ed0a862d362c757087e1406220df641a1ef33b6ad0aeaf9bb0a4e8fa39fd [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-28T22:41:38.017Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-28T22:41:38.287Z] Stashed 1 file(s) [Pipeline] echo [2022-07-28T22:41:38.290Z] [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 [2022-07-28T22:41:38.447Z] provisioning config files... [2022-07-28T22:41:38.457Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp/config5000586115170354042tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T22:41:38.841Z] ---> docker-login.sh [2022-07-28T22:41:38.841Z] nexus3.edgexfoundry.org:10001 [2022-07-28T22:41:38.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:41:38.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:41:38.841Z] Configure a credential helper to remove this warning. See [2022-07-28T22:41:38.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:41:38.841Z] [2022-07-28T22:41:38.841Z] Login Succeeded [2022-07-28T22:41:38.841Z] nexus3.edgexfoundry.org:10002 [2022-07-28T22:41:38.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:41:39.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:41:39.102Z] Configure a credential helper to remove this warning. See [2022-07-28T22:41:39.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:41:39.102Z] [2022-07-28T22:41:39.102Z] Login Succeeded [2022-07-28T22:41:39.102Z] nexus3.edgexfoundry.org:10003 [2022-07-28T22:41:39.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:41:39.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:41:39.102Z] Configure a credential helper to remove this warning. See [2022-07-28T22:41:39.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:41:39.102Z] [2022-07-28T22:41:39.102Z] Login Succeeded [2022-07-28T22:41:39.102Z] nexus3.edgexfoundry.org:10004 [2022-07-28T22:41:39.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:41:39.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:41:39.363Z] Configure a credential helper to remove this warning. See [2022-07-28T22:41:39.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:41:39.363Z] [2022-07-28T22:41:39.363Z] Login Succeeded [2022-07-28T22:41:39.363Z] docker.io [2022-07-28T22:41:39.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:41:39.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:41:39.625Z] Configure a credential helper to remove this warning. See [2022-07-28T22:41:39.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:41:39.625Z] [2022-07-28T22:41:39.625Z] Login Succeeded [2022-07-28T22:41:39.625Z] ---> docker-login.sh ends [Pipeline] } [2022-07-28T22:41:39.633Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-28T22:41:39.701Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-28T22:41:39.714Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-28T22:41:39.723Z] ========================================================= [2022-07-28T22:41:39.723Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-28T22:41:39.723Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T22:41:40.042Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-28T22:41:40.043Z] Sending build context to Docker daemon 9.78MB [2022-07-28T22:41:40.043Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-07-28T22:41:40.043Z] Step 2/11 : FROM ${BASE} AS builder [2022-07-28T22:41:40.043Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-28T22:41:40.043Z] 2408cc74d12b: Pulling fs layer [2022-07-28T22:41:40.043Z] ea60b727a1ce: Pulling fs layer [2022-07-28T22:41:40.043Z] 30c4a7721957: Pulling fs layer [2022-07-28T22:41:40.043Z] 370296b7ddb6: Pulling fs layer [2022-07-28T22:41:40.043Z] 7c6cee850709: Pulling fs layer [2022-07-28T22:41:40.043Z] 39a5fcdaea64: Pulling fs layer [2022-07-28T22:41:40.043Z] d94ebbe4e438: Pulling fs layer [2022-07-28T22:41:40.043Z] bcfd1f05c69d: Pulling fs layer [2022-07-28T22:41:40.043Z] 59ccb84bbe0f: Pulling fs layer [2022-07-28T22:41:40.043Z] 39a5fcdaea64: Waiting [2022-07-28T22:41:40.043Z] 7c6cee850709: Waiting [2022-07-28T22:41:40.043Z] bcfd1f05c69d: Waiting [2022-07-28T22:41:40.043Z] 59ccb84bbe0f: Waiting [2022-07-28T22:41:40.043Z] d94ebbe4e438: Waiting [2022-07-28T22:41:40.302Z] 30c4a7721957: Download complete [2022-07-28T22:41:40.302Z] ea60b727a1ce: Verifying Checksum [2022-07-28T22:41:40.302Z] ea60b727a1ce: Download complete [2022-07-28T22:41:40.302Z] 7c6cee850709: Verifying Checksum [2022-07-28T22:41:40.302Z] 7c6cee850709: Download complete [2022-07-28T22:41:40.303Z] 39a5fcdaea64: Verifying Checksum [2022-07-28T22:41:40.303Z] 39a5fcdaea64: Download complete [2022-07-28T22:41:40.303Z] 2408cc74d12b: Verifying Checksum [2022-07-28T22:41:40.303Z] 2408cc74d12b: Download complete [2022-07-28T22:41:40.303Z] d94ebbe4e438: Verifying Checksum [2022-07-28T22:41:40.303Z] d94ebbe4e438: Download complete [2022-07-28T22:41:40.303Z] 2408cc74d12b: Pull complete [2022-07-28T22:41:40.562Z] ea60b727a1ce: Pull complete [2022-07-28T22:41:40.562Z] 30c4a7721957: Pull complete [2022-07-28T22:41:40.562Z] 59ccb84bbe0f: Download complete [2022-07-28T22:41:40.823Z] bcfd1f05c69d: Verifying Checksum [2022-07-28T22:41:40.823Z] bcfd1f05c69d: Download complete [2022-07-28T22:41:41.084Z] 370296b7ddb6: Verifying Checksum [2022-07-28T22:41:41.084Z] 370296b7ddb6: Download complete [2022-07-28T22:41:45.282Z] 370296b7ddb6: Pull complete [2022-07-28T22:41:45.542Z] 7c6cee850709: Pull complete [2022-07-28T22:41:45.542Z] 39a5fcdaea64: Pull complete [2022-07-28T22:41:45.542Z] d94ebbe4e438: Pull complete [2022-07-28T22:41:48.091Z] bcfd1f05c69d: Pull complete [2022-07-28T22:41:49.036Z] 59ccb84bbe0f: Pull complete [2022-07-28T22:41:49.036Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-28T22:41:49.036Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-28T22:41:49.036Z] ---> a4fb48ad2a94 [2022-07-28T22:41:49.036Z] Step 3/11 : ARG MAKE=make build [2022-07-28T22:41:50.534Z] ---> Running in e3866cf4c5e0 [2022-07-28T22:41:50.534Z] Removing intermediate container e3866cf4c5e0 [2022-07-28T22:41:50.534Z] ---> d9b9e5f5f9cf [2022-07-28T22:41:50.534Z] Step 4/11 : WORKDIR /device-sdk-go [2022-07-28T22:41:50.534Z] ---> Running in 564b4ab83496 [2022-07-28T22:41:50.534Z] Removing intermediate container 564b4ab83496 [2022-07-28T22:41:50.534Z] ---> 1cb334d1bb68 [2022-07-28T22:41:50.534Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-28T22:41:50.534Z] ---> Running in e02d1e94ae8d [2022-07-28T22:41:50.796Z] Removing intermediate container e02d1e94ae8d [2022-07-28T22:41:50.796Z] ---> 9d1100ae1fa1 [2022-07-28T22:41:50.796Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T22:41:50.796Z] ---> Running in bb150936b485 [2022-07-28T22:41:51.367Z] Removing intermediate container bb150936b485 [2022-07-28T22:41:51.367Z] ---> a69370055445 [2022-07-28T22:41:51.367Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-28T22:41:51.367Z] ---> Running in 7eb6b78e6491 [2022-07-28T22:41:52.194Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-28T22:41:52.454Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-28T22:41:52.715Z] OK: 211 MiB in 51 packages [2022-07-28T22:41:53.288Z] Removing intermediate container 7eb6b78e6491 [2022-07-28T22:41:53.288Z] ---> 183aef0e56be [2022-07-28T22:41:53.288Z] Step 8/11 : COPY go.mod vendor* ./ [2022-07-28T22:41:53.288Z] ---> d0911f19be8c [2022-07-28T22:41:53.288Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-28T22:41:53.288Z] ---> Running in ddea025a0e4b [2022-07-28T22:41:53.401Z] Still waiting to schedule task [2022-07-28T22:41:53.401Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-21414’ is offline [2022-07-28T22:42:08.433Z] Removing intermediate container ddea025a0e4b [2022-07-28T22:42:08.434Z] ---> 65e9b0c6cb53 [2022-07-28T22:42:08.434Z] Step 10/11 : COPY . . [2022-07-28T22:42:09.006Z] ---> 1e868823623a [2022-07-28T22:42:09.006Z] Step 11/11 : RUN ${MAKE} [2022-07-28T22:42:09.006Z] ---> Running in d0147b06ef98 [2022-07-28T22:42:09.266Z] noop [2022-07-28T22:42:09.527Z] Removing intermediate container d0147b06ef98 [2022-07-28T22:42:09.527Z] ---> 9d33fb8eade6 [2022-07-28T22:42:09.527Z] Successfully built 9d33fb8eade6 [2022-07-28T22:42:09.527Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T22:42:09.852Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-28T22:42:09.852Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T22:42:09.943Z] prd-ubuntu20.04-docker-8c-8g-21415 does not seem to be running inside a container [2022-07-28T22:42:09.986Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1203 -v /w/workspace/gexfoundry_device-sdk-go_PR-1203:/w/workspace/gexfoundry_device-sdk-go_PR-1203:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-28T22:42:10.405Z] $ docker top 93fbfc6d8ae6aeb35aafb375a96d75f2f4f23a782406d09448456a02f5cbdba7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T22:42:10.768Z] + go version [2022-07-28T22:42:10.768Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-28T22:42:10.783Z] $ docker stop --time=1 93fbfc6d8ae6aeb35aafb375a96d75f2f4f23a782406d09448456a02f5cbdba7 [2022-07-28T22:42:12.096Z] $ docker rm -f 93fbfc6d8ae6aeb35aafb375a96d75f2f4f23a782406d09448456a02f5cbdba7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T22:42:12.510Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-28T22:42:12.510Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T22:42:12.607Z] prd-ubuntu20.04-docker-8c-8g-21415 does not seem to be running inside a container [2022-07-28T22:42:12.648Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-sdk-go_PR-1203 -v /w/workspace/gexfoundry_device-sdk-go_PR-1203:/w/workspace/gexfoundry_device-sdk-go_PR-1203:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-28T22:42:13.011Z] $ docker top cfef7327c1d907070c6aca76a221667f22f17c030162ad57dcd0d38ebab651a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T22:42:13.374Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1203 [Pipeline] fileExists [Pipeline] sh [2022-07-28T22:42:13.673Z] + make test [2022-07-28T22:42:13.673Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-07-28T22:42:20.256Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-07-28T22:42:35.149Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-07-28T22:42:35.149Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-07-28T22:42:35.149Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-07-28T22:42:35.149Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.078s coverage: 23.6% of statements [2022-07-28T22:42:35.149Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-07-28T22:42:35.149Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.070s coverage: 27.6% of statements [2022-07-28T22:42:35.149Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.088s coverage: 78.9% of statements [2022-07-28T22:42:35.149Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.065s coverage: 10.8% of statements [2022-07-28T22:42:35.149Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.083s coverage: 60.0% of statements [2022-07-28T22:42:35.149Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-07-28T22:42:35.149Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-07-28T22:42:35.409Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.100s coverage: 34.8% of statements [2022-07-28T22:42:35.409Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-07-28T22:42:35.409Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.092s coverage: 85.4% of statements [2022-07-28T22:42:35.409Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-07-28T22:42:35.409Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-07-28T22:42:35.409Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.091s coverage: 65.1% of statements [2022-07-28T22:42:35.409Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-07-28T22:42:35.409Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-07-28T22:42:35.409Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.782s coverage: 89.2% of statements [2022-07-28T22:42:35.409Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-07-28T22:42:35.671Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.7% of statements [2022-07-28T22:42:35.671Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-07-28T22:42:53.783Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-07-28T22:42:53.783Z] GO111MODULE=on go vet ./... [2022-07-28T22:42:55.692Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-28T22:42:55.692Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-28T22:42:55.692Z] ./bin/test-attribution-txt.sh [2022-07-28T22:42:55.953Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-07-28T22:42:55.953Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-07-28T22:42:55.953Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-07-28T22:42:55.953Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-07-28T22:42:55.953Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-07-28T22:42:55.953Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-07-28T22:42:55.953Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-07-28T22:42:55.967Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-28T22:42:55.986Z] $ docker stop --time=1 cfef7327c1d907070c6aca76a221667f22f17c030162ad57dcd0d38ebab651a1 [2022-07-28T22:42:57.955Z] $ docker rm -f cfef7327c1d907070c6aca76a221667f22f17c030162ad57dcd0d38ebab651a1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-28T22:42:58.510Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-28T22:42:58.567Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-28T22:42:59.080Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-28T22:42:59.370Z] + ls -al . [2022-07-28T22:42:59.370Z] total 304 [2022-07-28T22:42:59.370Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 28 22:42 . [2022-07-28T22:42:59.370Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 22:41 .. [2022-07-28T22:42:59.370Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 28 22:41 .dockerignore [2022-07-28T22:42:59.370Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 22:42 .git [2022-07-28T22:42:59.370Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 22:41 .github [2022-07-28T22:42:59.370Z] -rw-rw-r-- 1 jenkins jenkins 131 Jul 28 22:41 .gitignore [2022-07-28T22:42:59.370Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 28 22:41 .golangci.yml [2022-07-28T22:42:59.370Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 28 22:41 .semver [2022-07-28T22:42:59.370Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jul 28 22:41 CHANGELOG.md [2022-07-28T22:42:59.370Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 28 22:41 GOVERNANCE.md [2022-07-28T22:42:59.370Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 28 22:41 Jenkinsfile [2022-07-28T22:42:59.370Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 28 22:41 LICENSE [2022-07-28T22:42:59.370Z] -rw-rw-r-- 1 jenkins jenkins 2002 Jul 28 22:41 Makefile [2022-07-28T22:42:59.370Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 28 22:41 OWNERS.md [2022-07-28T22:42:59.370Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jul 28 22:41 README.md [2022-07-28T22:42:59.370Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 28 22:41 VERSION [2022-07-28T22:42:59.370Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 22:41 bin [2022-07-28T22:42:59.370Z] -rw-r--r-- 1 jenkins jenkins 131679 Jul 28 22:42 coverage.out [2022-07-28T22:42:59.370Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 28 22:41 example [2022-07-28T22:42:59.370Z] -rw-rw-r-- 1 jenkins jenkins 3553 Jul 28 22:41 go.mod [2022-07-28T22:42:59.370Z] -rw-rw-r-- 1 jenkins jenkins 36743 Jul 28 22:41 go.sum [2022-07-28T22:42:59.370Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 28 22:41 internal [2022-07-28T22:42:59.370Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 28 22:41 openapi [2022-07-28T22:42:59.370Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 28 22:41 pkg [2022-07-28T22:42:59.370Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 22:41 snap [2022-07-28T22:42:59.370Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 28 22:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T22:42:59.687Z] + 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=cd127a7f352641ad24866214c97ac82dae480d7b --label arch=amd64 --label version=0.0.0 . [2022-07-28T22:42:59.687Z] Sending build context to Docker daemon 9.912MB [2022-07-28T22:42:59.687Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-28T22:42:59.687Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-28T22:42:59.687Z] ---> 9d33fb8eade6 [2022-07-28T22:42:59.687Z] Step 3/25 : ARG MAKE=make build [2022-07-28T22:42:59.687Z] ---> Running in 90e67e0b5d85 [2022-07-28T22:42:59.947Z] Removing intermediate container 90e67e0b5d85 [2022-07-28T22:42:59.947Z] ---> 226e871ac2a9 [2022-07-28T22:42:59.947Z] Step 4/25 : WORKDIR /device-sdk-go [2022-07-28T22:42:59.947Z] ---> Running in d1d89172429a [2022-07-28T22:42:59.947Z] Removing intermediate container d1d89172429a [2022-07-28T22:42:59.947Z] ---> 8bec4b829b48 [2022-07-28T22:42:59.947Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-28T22:42:59.947Z] ---> Running in ea1b2aa35af6 [2022-07-28T22:43:00.207Z] Removing intermediate container ea1b2aa35af6 [2022-07-28T22:43:00.207Z] ---> f9bdac11b984 [2022-07-28T22:43:00.207Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T22:43:00.207Z] ---> Running in d4608aa79d5b [2022-07-28T22:43:00.778Z] Removing intermediate container d4608aa79d5b [2022-07-28T22:43:00.778Z] ---> d5965a05a261 [2022-07-28T22:43:00.778Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-28T22:43:00.778Z] ---> Running in 0c1ae98aaa9f [2022-07-28T22:43:01.039Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-28T22:43:01.984Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-28T22:43:02.244Z] OK: 211 MiB in 51 packages [2022-07-28T22:43:02.505Z] Removing intermediate container 0c1ae98aaa9f [2022-07-28T22:43:02.505Z] ---> 7d92cdc90a11 [2022-07-28T22:43:02.505Z] Step 8/25 : COPY go.mod vendor* ./ [2022-07-28T22:43:02.766Z] ---> f79466b5bec3 [2022-07-28T22:43:02.766Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-28T22:43:02.766Z] ---> Running in 6009d3c221e5 [2022-07-28T22:43:03.336Z] Removing intermediate container 6009d3c221e5 [2022-07-28T22:43:03.336Z] ---> 4fe07f82a12d [2022-07-28T22:43:03.336Z] Step 10/25 : COPY . . [2022-07-28T22:43:03.905Z] ---> c2cdac2304ca [2022-07-28T22:43:03.905Z] Step 11/25 : RUN ${MAKE} [2022-07-28T22:43:03.905Z] ---> Running in 139da89b0674 [2022-07-28T22:43:04.166Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-07-28T22:43:22.279Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-07-28T22:43:24.824Z] Removing intermediate container 139da89b0674 [2022-07-28T22:43:24.824Z] ---> 231b85fd91d8 [2022-07-28T22:43:24.824Z] Step 12/25 : FROM alpine:3.16 [2022-07-28T22:43:25.395Z] 3.16: Pulling from library/alpine [2022-07-28T22:43:25.395Z] 530afca65e2e: Pulling fs layer [2022-07-28T22:43:25.654Z] 530afca65e2e: Verifying Checksum [2022-07-28T22:43:25.654Z] 530afca65e2e: Download complete [2022-07-28T22:43:25.913Z] 530afca65e2e: Pull complete [2022-07-28T22:43:25.913Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-07-28T22:43:25.913Z] Status: Downloaded newer image for alpine:3.16 [2022-07-28T22:43:25.913Z] ---> d7d3d98c851f [2022-07-28T22:43:25.913Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-28T22:43:25.913Z] ---> Running in 20b3fdc8217b [2022-07-28T22:43:25.913Z] Removing intermediate container 20b3fdc8217b [2022-07-28T22:43:25.913Z] ---> 3e26cf41d9aa [2022-07-28T22:43:25.913Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T22:43:25.913Z] ---> Running in c8be772a45a9 [2022-07-28T22:43:26.480Z] Removing intermediate container c8be772a45a9 [2022-07-28T22:43:26.480Z] ---> ba6778a9505f [2022-07-28T22:43:26.480Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-07-28T22:43:26.740Z] ---> Running in 9ca5ead38e01 [2022-07-28T22:43:27.001Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-28T22:43:27.940Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-28T22:43:28.200Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-07-28T22:43:28.200Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-28T22:43:28.200Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-28T22:43:28.460Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-28T22:43:28.460Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-28T22:43:28.460Z] Executing busybox-1.35.0-r15.trigger [2022-07-28T22:43:28.460Z] OK: 8 MiB in 19 packages [2022-07-28T22:43:29.031Z] Removing intermediate container 9ca5ead38e01 [2022-07-28T22:43:29.031Z] ---> fc1ae77d9122 [2022-07-28T22:43:29.031Z] Step 16/25 : WORKDIR / [2022-07-28T22:43:29.031Z] ---> Running in 19d94d71f1ba [2022-07-28T22:43:29.031Z] Removing intermediate container 19d94d71f1ba [2022-07-28T22:43:29.031Z] ---> 6af4c2c027b4 [2022-07-28T22:43:29.031Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-07-28T22:43:29.290Z] ---> 482d2811a7c5 [2022-07-28T22:43:29.290Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-07-28T22:43:29.453Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21417 in /w/workspace/gexfoundry_device-sdk-go_PR-1203 [Pipeline] { [Pipeline] ws [2022-07-28T22:43:29.466Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2022-07-28T22:43:29.516Z] The recommended git tool is: git [2022-07-28T22:43:29.858Z] ---> 0ca244500fa0 [2022-07-28T22:43:29.858Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-07-28T22:43:29.858Z] ---> b70bc6600d74 [2022-07-28T22:43:29.858Z] Step 20/25 : EXPOSE 59999 [2022-07-28T22:43:29.858Z] ---> Running in 4cc582f1bdb4 [2022-07-28T22:43:30.118Z] Removing intermediate container 4cc582f1bdb4 [2022-07-28T22:43:30.118Z] ---> c83f70e02bba [2022-07-28T22:43:30.118Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-07-28T22:43:30.118Z] ---> Running in 63d6c2381390 [2022-07-28T22:43:30.118Z] Removing intermediate container 63d6c2381390 [2022-07-28T22:43:30.118Z] ---> 5fd9e89ce0d5 [2022-07-28T22:43:30.118Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-28T22:43:30.118Z] ---> Running in 4ab42230d56b [2022-07-28T22:43:30.384Z] Removing intermediate container 4ab42230d56b [2022-07-28T22:43:30.384Z] ---> 322138635339 [2022-07-28T22:43:30.384Z] Step 23/25 : LABEL arch=amd64 [2022-07-28T22:43:30.384Z] ---> Running in 63d958a39ca2 [2022-07-28T22:43:30.384Z] Removing intermediate container 63d958a39ca2 [2022-07-28T22:43:30.384Z] ---> e906107945a1 [2022-07-28T22:43:30.384Z] Step 24/25 : LABEL git_sha=cd127a7f352641ad24866214c97ac82dae480d7b [2022-07-28T22:43:30.384Z] ---> Running in 4e6c42c50a9d [2022-07-28T22:43:30.384Z] Removing intermediate container 4e6c42c50a9d [2022-07-28T22:43:30.384Z] ---> dd08aa2b2ffb [2022-07-28T22:43:30.384Z] Step 25/25 : LABEL version=0.0.0 [2022-07-28T22:43:30.646Z] ---> Running in ff5013526ebf [2022-07-28T22:43:30.646Z] Removing intermediate container ff5013526ebf [2022-07-28T22:43:30.646Z] ---> fa069518f211 [2022-07-28T22:43:30.646Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-28T22:43:30.646Z] Successfully built fa069518f211 [2022-07-28T22:43:30.646Z] 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 [2022-07-28T22:43:31.153Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-28T22:43:31.153Z] [2022-07-28T22:43:31.153Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T22:43:31.557Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-28T22:43:31.557Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-28T22:43:31.557Z] 5eb5b503b376: Pulling fs layer [2022-07-28T22:43:31.557Z] 5c69ac0246d0: Pulling fs layer [2022-07-28T22:43:31.557Z] ec43610c2a17: Pulling fs layer [2022-07-28T22:43:31.557Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-28T22:43:31.557Z] 33b1e0a273af: Pulling fs layer [2022-07-28T22:43:31.557Z] 5d3b04190fa2: Pulling fs layer [2022-07-28T22:43:31.557Z] 2f39f015ded8: Pulling fs layer [2022-07-28T22:43:31.557Z] 5d3b04190fa2: Waiting [2022-07-28T22:43:31.557Z] 2f39f015ded8: Waiting [2022-07-28T22:43:31.557Z] 3a2ae6a8a46f: Waiting [2022-07-28T22:43:31.557Z] 33b1e0a273af: Waiting [2022-07-28T22:43:31.557Z] 5c69ac0246d0: Download complete [2022-07-28T22:43:31.557Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-28T22:43:31.557Z] 3a2ae6a8a46f: Download complete [2022-07-28T22:43:31.557Z] 33b1e0a273af: Verifying Checksum [2022-07-28T22:43:31.557Z] 33b1e0a273af: Download complete [2022-07-28T22:43:31.557Z] 5d3b04190fa2: Verifying Checksum [2022-07-28T22:43:31.557Z] 5d3b04190fa2: Download complete [2022-07-28T22:43:31.557Z] ec43610c2a17: Verifying Checksum [2022-07-28T22:43:31.817Z] 5eb5b503b376: Verifying Checksum [2022-07-28T22:43:31.817Z] 5eb5b503b376: Download complete [2022-07-28T22:43:32.385Z] 2f39f015ded8: Download complete [2022-07-28T22:43:33.323Z] 5eb5b503b376: Pull complete [2022-07-28T22:43:33.323Z] 5c69ac0246d0: Pull complete [2022-07-28T22:43:33.891Z] ec43610c2a17: Pull complete [2022-07-28T22:43:33.891Z] 3a2ae6a8a46f: Pull complete [2022-07-28T22:43:34.150Z] 33b1e0a273af: Pull complete [2022-07-28T22:43:34.150Z] 5d3b04190fa2: Pull complete [2022-07-28T22:43:35.776Z] using credential edgex-jenkins-ssh [2022-07-28T22:43:35.803Z] Cloning the remote Git repository [2022-07-28T22:43:35.851Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-07-28T22:43:35.926Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2022-07-28T22:43:36.152Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-07-28T22:43:36.154Z] > git --version # timeout=10 [2022-07-28T22:43:36.259Z] > git --version # 'git version 2.25.1' [2022-07-28T22:43:36.264Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-28T22:43:36.349Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-28T22:43:38.343Z] Merging remotes/origin/main commit 9201c30d3cbedfb69842190fa0e339608ffa0cc3 into PR head commit ff1b5b02c8f314790bf5be564bfc978a145e3053 [2022-07-28T22:43:38.656Z] Merge succeeded, producing 79a829d01039f7b7fd98e5de8be38086de104b1f [2022-07-28T22:43:38.656Z] Checking out Revision 79a829d01039f7b7fd98e5de8be38086de104b1f (PR-1203) [2022-07-28T22:43:37.680Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-07-28T22:43:37.697Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-28T22:43:37.723Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-07-28T22:43:37.757Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-07-28T22:43:37.758Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-28T22:43:37.772Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1203/head:refs/remotes/origin/PR-1203 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-28T22:43:38.360Z] > git config core.sparsecheckout # timeout=10 [2022-07-28T22:43:38.379Z] > git checkout -f ff1b5b02c8f314790bf5be564bfc978a145e3053 # timeout=10 [2022-07-28T22:43:38.495Z] > git remote # timeout=10 [2022-07-28T22:43:38.513Z] > git config --get remote.origin.url # timeout=10 [2022-07-28T22:43:38.528Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-28T22:43:38.544Z] > git merge 9201c30d3cbedfb69842190fa0e339608ffa0cc3 # timeout=10 [2022-07-28T22:43:38.634Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-28T22:43:38.658Z] > git config core.sparsecheckout # timeout=10 [2022-07-28T22:43:38.670Z] > git checkout -f 79a829d01039f7b7fd98e5de8be38086de104b1f # timeout=10 [2022-07-28T22:43:39.427Z] 2f39f015ded8: Pull complete [2022-07-28T22:43:39.427Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-28T22:43:39.427Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-28T22:43:39.427Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T22:43:39.522Z] prd-ubuntu20.04-docker-8c-8g-21415 does not seem to be running inside a container [2022-07-28T22:43:39.561Z] $ 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-1203 -v /w/workspace/gexfoundry_device-sdk-go_PR-1203:/w/workspace/gexfoundry_device-sdk-go_PR-1203:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-28T22:43:40.982Z] $ docker top faeaf39d1554b00bb21350ba3b5c63d89f561b5c3d2da57ce665c02ef4c606ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T22:43:41.373Z] ---> job-cost.sh [2022-07-28T22:43:41.373Z] lf-activate-venv: SKIPPING [2022-07-28T22:43:41.373Z] INFO: No Stack... [2022-07-28T22:43:41.634Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-28T22:43:42.208Z] INFO: Archiving Costs [Pipeline] sh [2022-07-28T22:43:42.503Z] + + cutcat -d, /w/workspace/gexfoundry_device-sdk-go_PR-1203/archives/cost.csv -f6 [2022-07-28T22:43:42.503Z] [Pipeline] lock [2022-07-28T22:43:42.518Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1203-2-stack-cost] [2022-07-28T22:43:42.524Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1203-2-stack-cost] did not exist. Created. [2022-07-28T22:43:42.524Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1203-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-28T22:43:42.839Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-28T22:43:42.866Z] Commit message: "Merge commit '9201c30d3cbedfb69842190fa0e339608ffa0cc3' into HEAD" [2022-07-28T22:43:42.873Z] Stashed 1 file(s) [Pipeline] } [2022-07-28T22:43:42.882Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1203-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-28T22:43:42.906Z] $ docker stop --time=1 faeaf39d1554b00bb21350ba3b5c63d89f561b5c3d2da57ce665c02ef4c606ea [2022-07-28T22:43:42.872Z] > git rev-list --no-walk ff1b5b02c8f314790bf5be564bfc978a145e3053 # timeout=10 [2022-07-28T22:43:43.185Z] [2022-07-28T22:43:43.185Z] GitHub has been notified of this commit’s build result [2022-07-28T22:43:43.185Z] [2022-07-28T22:43:44.086Z] $ docker rm -f faeaf39d1554b00bb21350ba3b5c63d89f561b5c3d2da57ce665c02ef4c606ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-28T22:43:44.740Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-28T22:43:44.740Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-28T22:43:44.740Z] Dload Upload Total Spent Left Speed [2022-07-28T22:43:44.740Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 98656 0 --:--:-- --:--:-- --:--:-- 99451 [Pipeline] sh [2022-07-28T22:43:45.432Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-28T22:43:45.771Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-28T22:43:45.771Z] sudo tee /etc/docker/daemon.new [2022-07-28T22:43:45.771Z] { [2022-07-28T22:43:45.771Z] "registry-mirrors": [ [2022-07-28T22:43:45.771Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-28T22:43:45.771Z] ], [2022-07-28T22:43:45.771Z] "bip": "10.250.0.254/24", [2022-07-28T22:43:45.771Z] "hosts": [ [2022-07-28T22:43:45.771Z] "tcp://0.0.0.0:5555", [2022-07-28T22:43:45.771Z] "unix:///var/run/docker.sock" [2022-07-28T22:43:45.771Z] ], [2022-07-28T22:43:45.771Z] "mtu": 1458, [2022-07-28T22:43:45.771Z] "selinux-enabled": true, [2022-07-28T22:43:45.771Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-28T22:43:45.771Z] } [Pipeline] sh [2022-07-28T22:43:46.122Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-28T22:43:46.464Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-28T22:44:04.967Z] provisioning config files... [2022-07-28T22:44:04.993Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7045728528841418254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T22:44:05.355Z] ---> docker-login.sh [2022-07-28T22:44:05.355Z] nexus3.edgexfoundry.org:10001 [2022-07-28T22:44:05.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:44:06.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:44:06.226Z] Configure a credential helper to remove this warning. See [2022-07-28T22:44:06.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:44:06.226Z] [2022-07-28T22:44:06.226Z] Login Succeeded [2022-07-28T22:44:06.226Z] nexus3.edgexfoundry.org:10002 [2022-07-28T22:44:06.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:44:06.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:44:06.503Z] Configure a credential helper to remove this warning. See [2022-07-28T22:44:06.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:44:06.503Z] [2022-07-28T22:44:06.503Z] Login Succeeded [2022-07-28T22:44:06.503Z] nexus3.edgexfoundry.org:10003 [2022-07-28T22:44:07.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:44:07.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:44:07.101Z] Configure a credential helper to remove this warning. See [2022-07-28T22:44:07.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:44:07.101Z] [2022-07-28T22:44:07.101Z] Login Succeeded [2022-07-28T22:44:07.101Z] nexus3.edgexfoundry.org:10004 [2022-07-28T22:44:07.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:44:07.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:44:07.652Z] Configure a credential helper to remove this warning. See [2022-07-28T22:44:07.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:44:07.652Z] [2022-07-28T22:44:07.652Z] Login Succeeded [2022-07-28T22:44:07.652Z] docker.io [2022-07-28T22:44:07.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:44:08.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:44:08.196Z] Configure a credential helper to remove this warning. See [2022-07-28T22:44:08.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:44:08.196Z] [2022-07-28T22:44:08.196Z] Login Succeeded [2022-07-28T22:44:08.196Z] ---> docker-login.sh ends [Pipeline] } [2022-07-28T22:44:08.213Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-28T22:44:08.461Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-28T22:44:08.477Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-28T22:44:08.485Z] ========================================================= [2022-07-28T22:44:08.485Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-28T22:44:08.485Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T22:44:08.842Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-28T22:44:09.112Z] Sending build context to Docker daemon 5.259MB [2022-07-28T22:44:09.113Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-07-28T22:44:09.113Z] Step 2/11 : FROM ${BASE} AS builder [2022-07-28T22:44:09.387Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-28T22:44:09.387Z] b3c136eddcbf: Pulling fs layer [2022-07-28T22:44:09.387Z] c0a3192eca97: Pulling fs layer [2022-07-28T22:44:09.387Z] a050256f5b6f: Pulling fs layer [2022-07-28T22:44:09.387Z] 656be50a0ddc: Pulling fs layer [2022-07-28T22:44:09.387Z] 2bbca73fdf42: Pulling fs layer [2022-07-28T22:44:09.387Z] 46d945488cbd: Pulling fs layer [2022-07-28T22:44:09.387Z] 8a5474983e97: Pulling fs layer [2022-07-28T22:44:09.387Z] 329c88fbcd65: Pulling fs layer [2022-07-28T22:44:09.387Z] 46d945488cbd: Waiting [2022-07-28T22:44:09.387Z] 8a5474983e97: Waiting [2022-07-28T22:44:09.387Z] 329c88fbcd65: Waiting [2022-07-28T22:44:09.387Z] 656be50a0ddc: Waiting [2022-07-28T22:44:09.387Z] 2bbca73fdf42: Waiting [2022-07-28T22:44:09.387Z] a050256f5b6f: Verifying Checksum [2022-07-28T22:44:09.387Z] a050256f5b6f: Download complete [2022-07-28T22:44:09.387Z] c0a3192eca97: Verifying Checksum [2022-07-28T22:44:09.387Z] c0a3192eca97: Download complete [2022-07-28T22:44:09.387Z] 2bbca73fdf42: Verifying Checksum [2022-07-28T22:44:09.387Z] 2bbca73fdf42: Download complete [2022-07-28T22:44:09.387Z] 46d945488cbd: Verifying Checksum [2022-07-28T22:44:09.387Z] 46d945488cbd: Download complete [2022-07-28T22:44:09.387Z] b3c136eddcbf: Verifying Checksum [2022-07-28T22:44:09.387Z] b3c136eddcbf: Download complete [2022-07-28T22:44:10.395Z] b3c136eddcbf: Pull complete [2022-07-28T22:44:10.675Z] 329c88fbcd65: Verifying Checksum [2022-07-28T22:44:10.675Z] 329c88fbcd65: Download complete [2022-07-28T22:44:11.280Z] c0a3192eca97: Pull complete [2022-07-28T22:44:11.558Z] a050256f5b6f: Pull complete [2022-07-28T22:44:11.832Z] 8a5474983e97: Verifying Checksum [2022-07-28T22:44:11.832Z] 8a5474983e97: Download complete [2022-07-28T22:44:12.432Z] 656be50a0ddc: Verifying Checksum [2022-07-28T22:44:12.432Z] 656be50a0ddc: Download complete [2022-07-28T22:44:27.532Z] 656be50a0ddc: Pull complete [2022-07-28T22:44:27.532Z] 2bbca73fdf42: Pull complete [2022-07-28T22:44:27.532Z] 46d945488cbd: Pull complete [2022-07-28T22:44:31.834Z] 8a5474983e97: Pull complete [2022-07-28T22:44:33.818Z] 329c88fbcd65: Pull complete [2022-07-28T22:44:33.818Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-28T22:44:33.818Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-28T22:44:33.818Z] ---> ff4287adb874 [2022-07-28T22:44:33.818Z] Step 3/11 : ARG MAKE=make build [2022-07-28T22:44:35.270Z] ---> Running in 35942d5f6c7a [2022-07-28T22:44:36.715Z] Removing intermediate container 35942d5f6c7a [2022-07-28T22:44:36.715Z] ---> 652e3fb59435 [2022-07-28T22:44:36.715Z] Step 4/11 : WORKDIR /device-sdk-go [2022-07-28T22:44:36.715Z] ---> Running in 8adb50105d41 [2022-07-28T22:44:36.988Z] Removing intermediate container 8adb50105d41 [2022-07-28T22:44:36.988Z] ---> 331db832af28 [2022-07-28T22:44:36.988Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-28T22:44:37.265Z] ---> Running in a33c510899f3 [2022-07-28T22:44:37.538Z] Removing intermediate container a33c510899f3 [2022-07-28T22:44:37.538Z] ---> 933dd39a4bdf [2022-07-28T22:44:37.538Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T22:44:37.538Z] ---> Running in 5d1e6e3605c5 [2022-07-28T22:44:39.527Z] Removing intermediate container 5d1e6e3605c5 [2022-07-28T22:44:39.527Z] ---> 8c698d3f26b7 [2022-07-28T22:44:39.527Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-28T22:44:39.527Z] ---> Running in d0bcf39b8061 [2022-07-28T22:44:40.529Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-28T22:44:41.512Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-28T22:44:42.506Z] OK: 221 MiB in 51 packages [2022-07-28T22:44:43.106Z] Removing intermediate container d0bcf39b8061 [2022-07-28T22:44:43.106Z] ---> 266fb3441a3a [2022-07-28T22:44:43.106Z] Step 8/11 : COPY go.mod vendor* ./ [2022-07-28T22:44:43.706Z] ---> 01e2c9f04397 [2022-07-28T22:44:43.706Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-28T22:44:43.992Z] ---> Running in e635dd2b577c [2022-07-28T22:45:30.967Z] Removing intermediate container e635dd2b577c [2022-07-28T22:45:30.967Z] ---> e5511fc4f6ef [2022-07-28T22:45:30.967Z] Step 10/11 : COPY . . [2022-07-28T22:45:31.566Z] ---> e7b0ff2b3615 [2022-07-28T22:45:31.566Z] Step 11/11 : RUN ${MAKE} [2022-07-28T22:45:31.566Z] ---> Running in 511e3490bd65 [2022-07-28T22:45:32.557Z] noop [2022-07-28T22:45:33.165Z] Removing intermediate container 511e3490bd65 [2022-07-28T22:45:33.165Z] ---> 63730d7b545b [2022-07-28T22:45:33.165Z] Successfully built 63730d7b545b [2022-07-28T22:45:33.165Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T22:45:33.532Z] + docker inspect -f . ci-base-image-arm64 [2022-07-28T22:45:33.532Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T22:45:33.792Z] prd-ubuntu20.04-docker-arm64-4c-16g-21417 does not seem to be running inside a container [2022-07-28T22:45:33.880Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-28T22:45:35.131Z] $ docker top 66b2a90dbfe52db228209b7d2dd173ffba103e5c1f3d29db4451df5be5175f4b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T22:45:36.004Z] + go version [2022-07-28T22:45:36.004Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-28T22:45:36.038Z] $ docker stop --time=1 66b2a90dbfe52db228209b7d2dd173ffba103e5c1f3d29db4451df5be5175f4b [2022-07-28T22:45:37.678Z] $ docker rm -f 66b2a90dbfe52db228209b7d2dd173ffba103e5c1f3d29db4451df5be5175f4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T22:45:38.270Z] + docker inspect -f . ci-base-image-arm64 [2022-07-28T22:45:38.270Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T22:45:38.496Z] prd-ubuntu20.04-docker-arm64-4c-16g-21417 does not seem to be running inside a container [2022-07-28T22:45:38.592Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-28T22:45:39.817Z] $ docker top 968818e0de0bf73c3670899ea7a771aaa3a5a7793a2c75b6ffd397fbafa1d25b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T22:45:40.694Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2022-07-28T22:45:41.363Z] + make test [2022-07-28T22:45:41.363Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-07-28T22:46:13.733Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-07-28T22:48:05.625Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-07-28T22:48:05.625Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-07-28T22:48:05.625Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-07-28T22:48:08.279Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.364s coverage: 23.6% of statements [2022-07-28T22:48:08.279Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-07-28T22:48:08.279Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.232s coverage: 27.6% of statements [2022-07-28T22:48:08.279Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.285s coverage: 78.9% of statements [2022-07-28T22:48:08.279Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.309s coverage: 10.8% of statements [2022-07-28T22:48:10.996Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.657s coverage: 60.0% of statements [2022-07-28T22:48:10.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-07-28T22:48:10.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-07-28T22:48:15.352Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.410s coverage: 34.8% of statements [2022-07-28T22:48:15.352Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-07-28T22:48:17.339Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.318s coverage: 85.4% of statements [2022-07-28T22:48:17.339Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-07-28T22:48:17.339Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-07-28T22:48:17.339Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.565s coverage: 65.1% of statements [2022-07-28T22:48:17.339Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-07-28T22:48:17.339Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-07-28T22:48:20.733Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.002s coverage: 89.2% of statements [2022-07-28T22:48:20.733Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-07-28T22:48:22.169Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.235s coverage: 4.7% of statements [2022-07-28T22:48:22.169Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-07-28T22:48:22.767Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-28T22:48:22.767Z] GO111MODULE=on go vet ./... [2022-07-28T22:49:59.644Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-28T22:49:59.644Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-28T22:49:59.644Z] ./bin/test-attribution-txt.sh [2022-07-28T22:49:59.644Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-07-28T22:49:59.644Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-07-28T22:49:59.644Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-07-28T22:49:59.644Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-07-28T22:49:59.644Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-07-28T22:49:59.644Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-07-28T22:49:59.644Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-07-28T22:49:59.669Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-28T22:49:59.699Z] $ docker stop --time=1 968818e0de0bf73c3670899ea7a771aaa3a5a7793a2c75b6ffd397fbafa1d25b [2022-07-28T22:50:01.510Z] $ docker rm -f 968818e0de0bf73c3670899ea7a771aaa3a5a7793a2c75b6ffd397fbafa1d25b [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-28T22:50:02.870Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-28T22:50:02.898Z] Warning: overwriting stash ‘coverage-report’ [2022-07-28T22:50:03.494Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-28T22:50:03.902Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-28T22:50:04.232Z] + ls -al . [2022-07-28T22:50:04.232Z] total 300 [2022-07-28T22:50:04.232Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 28 22:45 . [2022-07-28T22:50:04.232Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 22:43 .. [2022-07-28T22:50:04.232Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 28 22:43 .dockerignore [2022-07-28T22:50:04.232Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 22:43 .git [2022-07-28T22:50:04.232Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 22:43 .github [2022-07-28T22:50:04.232Z] -rw-rw-r-- 1 jenkins jenkins 131 Jul 28 22:43 .gitignore [2022-07-28T22:50:04.232Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 28 22:43 .golangci.yml [2022-07-28T22:50:04.232Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jul 28 22:43 CHANGELOG.md [2022-07-28T22:50:04.232Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 28 22:43 GOVERNANCE.md [2022-07-28T22:50:04.232Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 28 22:43 Jenkinsfile [2022-07-28T22:50:04.232Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 28 22:43 LICENSE [2022-07-28T22:50:04.232Z] -rw-rw-r-- 1 jenkins jenkins 2002 Jul 28 22:43 Makefile [2022-07-28T22:50:04.232Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 28 22:43 OWNERS.md [2022-07-28T22:50:04.232Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jul 28 22:43 README.md [2022-07-28T22:50:04.232Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 28 22:41 VERSION [2022-07-28T22:50:04.232Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 22:43 bin [2022-07-28T22:50:04.232Z] -rw-r--r-- 1 jenkins jenkins 131678 Jul 28 22:48 coverage.out [2022-07-28T22:50:04.232Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 28 22:43 example [2022-07-28T22:50:04.232Z] -rw-rw-r-- 1 jenkins jenkins 3553 Jul 28 22:43 go.mod [2022-07-28T22:50:04.232Z] -rw-rw-r-- 1 jenkins jenkins 36743 Jul 28 22:43 go.sum [2022-07-28T22:50:04.232Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 28 22:43 internal [2022-07-28T22:50:04.232Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 28 22:43 openapi [2022-07-28T22:50:04.232Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 28 22:43 pkg [2022-07-28T22:50:04.232Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 22:43 snap [2022-07-28T22:50:04.232Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 28 22:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T22:50:04.591Z] + 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=79a829d01039f7b7fd98e5de8be38086de104b1f --label arch=arm64 --label version=0.0.0 . [2022-07-28T22:50:04.864Z] Sending build context to Docker daemon 5.391MB [2022-07-28T22:50:05.137Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-28T22:50:05.137Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-28T22:50:05.137Z] ---> 63730d7b545b [2022-07-28T22:50:05.137Z] Step 3/25 : ARG MAKE=make build [2022-07-28T22:50:05.137Z] ---> Running in 8c714f243900 [2022-07-28T22:50:05.408Z] Removing intermediate container 8c714f243900 [2022-07-28T22:50:05.408Z] ---> 50fa192848be [2022-07-28T22:50:05.408Z] Step 4/25 : WORKDIR /device-sdk-go [2022-07-28T22:50:05.710Z] ---> Running in 2492912a5306 [2022-07-28T22:50:05.710Z] Removing intermediate container 2492912a5306 [2022-07-28T22:50:05.710Z] ---> 5207513c7f18 [2022-07-28T22:50:05.710Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-28T22:50:05.990Z] ---> Running in 956a8daeaa81 [2022-07-28T22:50:06.260Z] Removing intermediate container 956a8daeaa81 [2022-07-28T22:50:06.260Z] ---> 8a183afaad5a [2022-07-28T22:50:06.261Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T22:50:06.261Z] ---> Running in 15bd85b05c38 [2022-07-28T22:50:08.233Z] Removing intermediate container 15bd85b05c38 [2022-07-28T22:50:08.233Z] ---> 3bfceef9aec7 [2022-07-28T22:50:08.233Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-28T22:50:08.233Z] ---> Running in a9968edd97af [2022-07-28T22:50:08.827Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-28T22:50:09.808Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-28T22:50:10.789Z] OK: 221 MiB in 51 packages [2022-07-28T22:50:11.775Z] Removing intermediate container a9968edd97af [2022-07-28T22:50:11.775Z] ---> 2f0fab22c42a [2022-07-28T22:50:11.775Z] Step 8/25 : COPY go.mod vendor* ./ [2022-07-28T22:50:12.373Z] ---> 73841b89def2 [2022-07-28T22:50:12.373Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-28T22:50:12.373Z] ---> Running in eec362ad67bf [2022-07-28T22:50:14.362Z] Removing intermediate container eec362ad67bf [2022-07-28T22:50:14.362Z] ---> a3626a1a3f69 [2022-07-28T22:50:14.362Z] Step 10/25 : COPY . . [2022-07-28T22:50:15.795Z] ---> de08fa48d2f2 [2022-07-28T22:50:15.795Z] Step 11/25 : RUN ${MAKE} [2022-07-28T22:50:15.795Z] ---> Running in 53087e325872 [2022-07-28T22:50:16.779Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-07-28T22:52:23.654Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-07-28T22:52:27.033Z] Removing intermediate container 53087e325872 [2022-07-28T22:52:27.033Z] ---> 8f5e439d5f9b [2022-07-28T22:52:27.033Z] Step 12/25 : FROM alpine:3.16 [2022-07-28T22:52:27.306Z] 3.16: Pulling from library/alpine [2022-07-28T22:52:27.578Z] f97344484467: Pulling fs layer [2022-07-28T22:52:27.578Z] f97344484467: Verifying Checksum [2022-07-28T22:52:28.176Z] f97344484467: Pull complete [2022-07-28T22:52:28.176Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-07-28T22:52:28.176Z] Status: Downloaded newer image for alpine:3.16 [2022-07-28T22:52:28.176Z] ---> 3d81c46cd875 [2022-07-28T22:52:28.176Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-28T22:52:28.176Z] ---> Running in b8c554b8c970 [2022-07-28T22:52:28.788Z] Removing intermediate container b8c554b8c970 [2022-07-28T22:52:28.788Z] ---> 7da2f16de95d [2022-07-28T22:52:28.788Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T22:52:28.788Z] ---> Running in 0e17c3987fd8 [2022-07-28T22:52:30.230Z] Removing intermediate container 0e17c3987fd8 [2022-07-28T22:52:30.230Z] ---> 50294a8eff38 [2022-07-28T22:52:30.230Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-07-28T22:52:30.230Z] ---> Running in 991da894859a [2022-07-28T22:52:31.220Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-28T22:52:32.198Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-28T22:52:33.204Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-07-28T22:52:33.204Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-28T22:52:33.481Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-28T22:52:33.481Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-28T22:52:33.481Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-28T22:52:33.768Z] Executing busybox-1.35.0-r15.trigger [2022-07-28T22:52:33.768Z] OK: 8 MiB in 19 packages [2022-07-28T22:52:34.791Z] Removing intermediate container 991da894859a [2022-07-28T22:52:34.791Z] ---> 282e69ce589f [2022-07-28T22:52:34.791Z] Step 16/25 : WORKDIR / [2022-07-28T22:52:34.791Z] ---> Running in 69b951e3f1f8 [2022-07-28T22:52:35.072Z] Removing intermediate container 69b951e3f1f8 [2022-07-28T22:52:35.072Z] ---> 8b57f69891f7 [2022-07-28T22:52:35.072Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-07-28T22:52:35.672Z] ---> 1ed3706f39a7 [2022-07-28T22:52:35.672Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-07-28T22:52:37.655Z] ---> 17e57a937c96 [2022-07-28T22:52:37.655Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-07-28T22:52:37.932Z] ---> 44c1edaf793f [2022-07-28T22:52:37.932Z] Step 20/25 : EXPOSE 59999 [2022-07-28T22:52:37.932Z] ---> Running in fa725d04b589 [2022-07-28T22:52:38.208Z] Removing intermediate container fa725d04b589 [2022-07-28T22:52:38.208Z] ---> 65dbf6aaea99 [2022-07-28T22:52:38.208Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-07-28T22:52:38.485Z] ---> Running in a12027d32663 [2022-07-28T22:52:38.758Z] Removing intermediate container a12027d32663 [2022-07-28T22:52:38.758Z] ---> 8efb43ed65cf [2022-07-28T22:52:38.758Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-28T22:52:38.758Z] ---> Running in 00c13f1c647b [2022-07-28T22:52:39.036Z] Removing intermediate container 00c13f1c647b [2022-07-28T22:52:39.036Z] ---> 53f5ac47068d [2022-07-28T22:52:39.036Z] Step 23/25 : LABEL arch=arm64 [2022-07-28T22:52:39.036Z] ---> Running in cae118d53651 [2022-07-28T22:52:39.633Z] Removing intermediate container cae118d53651 [2022-07-28T22:52:39.633Z] ---> bb96e994701c [2022-07-28T22:52:39.633Z] Step 24/25 : LABEL git_sha=79a829d01039f7b7fd98e5de8be38086de104b1f [2022-07-28T22:52:39.633Z] ---> Running in 9e348d07b3f4 [2022-07-28T22:52:39.905Z] Removing intermediate container 9e348d07b3f4 [2022-07-28T22:52:39.905Z] ---> c10259c14e6a [2022-07-28T22:52:39.905Z] Step 25/25 : LABEL version=0.0.0 [2022-07-28T22:52:39.905Z] ---> Running in d9c9b033728a [2022-07-28T22:52:40.182Z] Removing intermediate container d9c9b033728a [2022-07-28T22:52:40.182Z] ---> 5140df88fb76 [2022-07-28T22:52:40.182Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-28T22:52:40.455Z] Successfully built 5140df88fb76 [2022-07-28T22:52:40.455Z] 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 [2022-07-28T22:52:40.919Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-28T22:52:40.919Z] [2022-07-28T22:52:40.919Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T22:52:41.275Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-28T22:52:41.554Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-28T22:52:41.554Z] 8998bd30e6a1: Pulling fs layer [2022-07-28T22:52:41.554Z] 04944245beec: Pulling fs layer [2022-07-28T22:52:41.554Z] 699f458cf7ca: Pulling fs layer [2022-07-28T22:52:41.554Z] 765212b225bb: Pulling fs layer [2022-07-28T22:52:41.554Z] f23df028b6ca: Pulling fs layer [2022-07-28T22:52:41.554Z] d65c8cfc05b1: Pulling fs layer [2022-07-28T22:52:41.554Z] 2437ff75d9bd: Pulling fs layer [2022-07-28T22:52:41.554Z] 765212b225bb: Waiting [2022-07-28T22:52:41.554Z] f23df028b6ca: Waiting [2022-07-28T22:52:41.554Z] d65c8cfc05b1: Waiting [2022-07-28T22:52:41.554Z] 2437ff75d9bd: Waiting [2022-07-28T22:52:41.554Z] 04944245beec: Verifying Checksum [2022-07-28T22:52:41.554Z] 04944245beec: Download complete [2022-07-28T22:52:41.554Z] 765212b225bb: Verifying Checksum [2022-07-28T22:52:41.554Z] 765212b225bb: Download complete [2022-07-28T22:52:41.554Z] f23df028b6ca: Verifying Checksum [2022-07-28T22:52:41.554Z] f23df028b6ca: Download complete [2022-07-28T22:52:41.834Z] d65c8cfc05b1: Verifying Checksum [2022-07-28T22:52:41.834Z] d65c8cfc05b1: Download complete [2022-07-28T22:52:41.834Z] 699f458cf7ca: Verifying Checksum [2022-07-28T22:52:41.834Z] 699f458cf7ca: Download complete [2022-07-28T22:52:42.116Z] 8998bd30e6a1: Verifying Checksum [2022-07-28T22:52:42.116Z] 8998bd30e6a1: Download complete [2022-07-28T22:52:44.743Z] 2437ff75d9bd: Verifying Checksum [2022-07-28T22:52:44.744Z] 2437ff75d9bd: Download complete [2022-07-28T22:52:46.723Z] 8998bd30e6a1: Pull complete [2022-07-28T22:52:47.319Z] 04944245beec: Pull complete [2022-07-28T22:52:48.765Z] 699f458cf7ca: Pull complete [2022-07-28T22:52:49.039Z] 765212b225bb: Pull complete [2022-07-28T22:52:49.636Z] f23df028b6ca: Pull complete [2022-07-28T22:52:49.910Z] d65c8cfc05b1: Pull complete [2022-07-28T22:53:04.984Z] 2437ff75d9bd: Pull complete [2022-07-28T22:53:04.984Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-28T22:53:04.984Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-28T22:53:04.984Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T22:53:05.261Z] prd-ubuntu20.04-docker-arm64-4c-16g-21417 does not seem to be running inside a container [2022-07-28T22:53:05.355Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-28T22:53:08.138Z] $ docker top ff04f6548a59176d90d761304fa95e8762dd7531c5d1426edfb2b2c55184d596 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T22:53:09.062Z] ---> job-cost.sh [2022-07-28T22:53:09.062Z] lf-activate-venv: SKIPPING [2022-07-28T22:53:09.062Z] INFO: No Stack... [2022-07-28T22:53:09.658Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-28T22:53:10.647Z] INFO: Archiving Costs [Pipeline] sh [2022-07-28T22:53:11.313Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2022-07-28T22:53:11.313Z] + cut -d, -f6 [Pipeline] lock [2022-07-28T22:53:11.380Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1203-2-stack-cost] [2022-07-28T22:53:11.386Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1203-2-stack-cost] did not exist. Created. [2022-07-28T22:53:11.386Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1203-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-28T22:53:12.063Z] /w/workspace/device-sdk-go/2@tmp/durable-fdc76976/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-28T22:53:12.744Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-28T22:53:12.772Z] Warning: overwriting stash ‘stack-cost’ [2022-07-28T22:53:12.842Z] Stashed 1 file(s) [Pipeline] } [2022-07-28T22:53:12.851Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1203-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-28T22:53:12.889Z] $ docker stop --time=1 ff04f6548a59176d90d761304fa95e8762dd7531c5d1426edfb2b2c55184d596 [2022-07-28T22:53:14.433Z] $ docker rm -f ff04f6548a59176d90d761304fa95e8762dd7531c5d1426edfb2b2c55184d596 [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 [2022-07-28T22:53:14.967Z] provisioning config files... [2022-07-28T22:53:14.978Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp/config4555999853350739965tmp [Pipeline] { [Pipeline] sh [2022-07-28T22:53:15.278Z] + set +x [2022-07-28T22:53:15.278Z] + curl -s https://codecov.io/bash [2022-07-28T22:53:15.278Z] + bash -s -- [2022-07-28T22:53:15.278Z] [2022-07-28T22:53:15.278Z] _____ _ [2022-07-28T22:53:15.278Z] / ____| | | [2022-07-28T22:53:15.278Z] | | ___ __| | ___ ___ _____ __ [2022-07-28T22:53:15.278Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-28T22:53:15.278Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-28T22:53:15.278Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-28T22:53:15.278Z] Bash-1.0.6 [2022-07-28T22:53:15.278Z] [2022-07-28T22:53:15.278Z] [2022-07-28T22:53:15.278Z] ==> git version 2.25.1 found [2022-07-28T22:53:15.278Z] ==> 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 [2022-07-28T22:53:15.278Z] Release-Date: 2020-01-08 [2022-07-28T22:53:15.278Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-28T22:53:15.278Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-28T22:53:15.278Z] ==> Jenkins CI detected. [2022-07-28T22:53:15.278Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1203 [2022-07-28T22:53:15.278Z] project root: . [2022-07-28T22:53:15.278Z] --> token set from env [2022-07-28T22:53:15.278Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-28T22:53:15.278Z] ==> Running gcov in . (disable via -X gcov) [2022-07-28T22:53:15.278Z] ==> Python coveragepy not found [2022-07-28T22:53:15.278Z] ==> Searching for coverage reports in: [2022-07-28T22:53:15.278Z] + . [2022-07-28T22:53:15.278Z] -> Found 1 reports [2022-07-28T22:53:15.278Z] ==> Detecting git/mercurial file structure [2022-07-28T22:53:15.278Z] ==> Reading reports [2022-07-28T22:53:15.278Z] + ./coverage.out bytes=131678 [2022-07-28T22:53:15.539Z] ==> Appending adjustments [2022-07-28T22:53:15.539Z] https://docs.codecov.io/docs/fixing-reports [2022-07-28T22:53:15.799Z] + Found adjustments [2022-07-28T22:53:15.799Z] ==> Gzipping contents [2022-07-28T22:53:15.799Z] 20K /tmp/codecov.Rek0cK.gz [2022-07-28T22:53:15.799Z] ==> Uploading reports [2022-07-28T22:53:15.799Z] url: https://codecov.io [2022-07-28T22:53:15.799Z] query: branch=PR-1203&commit=cd127a7f352641ad24866214c97ac82dae480d7b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1203%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1203&job=&cmd_args= [2022-07-28T22:53:15.799Z] -> Pinging Codecov [2022-07-28T22:53:15.800Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1203&commit=cd127a7f352641ad24866214c97ac82dae480d7b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1203%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1203&job=&cmd_args= [2022-07-28T22:53:16.060Z] -> Uploading to [2022-07-28T22:53:16.060Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-28/7E55EF52A471D76F132DFD9A03CDDE97/cd127a7f352641ad24866214c97ac82dae480d7b/0f3fce9b-6e89-4b0a-bdfb-3e4325683e0e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220728%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220728T225315Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1515b1492ad0c1263b690727ac971dd7712a8a29b6d5e002eaff9045b1677f40 [2022-07-28T22:53:16.060Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-28T22:53:16.060Z] Dload Upload Total Spent Left Speed [2022-07-28T22:53:16.321Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17293 0 0 100 17293 0 84769 --:--:-- --:--:-- --:--:-- 84769 100 17293 0 0 100 17293 0 70012 --:--:-- --:--:-- --:--:-- 70012 [2022-07-28T22:53:16.321Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cd127a7f352641ad24866214c97ac82dae480d7b [Pipeline] } [2022-07-28T22:53:16.329Z] 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 [2022-07-28T22:53:16.979Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1203/archives ] [2022-07-28T22:53:16.980Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1203/archives [2022-07-28T22:53:16.980Z] total 16 [2022-07-28T22:53:16.980Z] drwxr-xr-x 3 root root 4096 Jul 28 22:43 . [2022-07-28T22:53:16.980Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 28 22:43 .. [2022-07-28T22:53:16.980Z] drwxr-xr-x 2 root root 4096 Jul 28 22:43 cost [2022-07-28T22:53:16.980Z] -rw-r--r-- 1 root root 86 Jul 28 22:43 cost.csv [2022-07-28T22:53:16.980Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1203/archives [2022-07-28T22:53:16.980Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1203/archives [2022-07-28T22:53:16.980Z] total 16 [2022-07-28T22:53:16.980Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 28 22:43 . [2022-07-28T22:53:16.980Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 28 22:43 .. [2022-07-28T22:53:16.980Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 28 22:43 cost [2022-07-28T22:53:16.980Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 28 22:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-28T22:53:17.276Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T22:53:18.140Z] ---> package-listing.sh [2022-07-28T22:53:18.140Z] ++ facter osfamily [2022-07-28T22:53:18.140Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-28T22:53:18.400Z] + OS_FAMILY=debian [2022-07-28T22:53:18.400Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1203 [2022-07-28T22:53:18.400Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-28T22:53:18.400Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-28T22:53:18.400Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-28T22:53:18.400Z] + PACKAGES=/tmp/packages_start.txt [2022-07-28T22:53:18.400Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1203 ']' [2022-07-28T22:53:18.400Z] + PACKAGES=/tmp/packages_end.txt [2022-07-28T22:53:18.400Z] + case "${OS_FAMILY}" in [2022-07-28T22:53:18.400Z] + dpkg -l [2022-07-28T22:53:18.400Z] + grep '^ii' [2022-07-28T22:53:18.400Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-28T22:53:18.400Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-28T22:53:18.400Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-28T22:53:18.400Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1203 ']' [2022-07-28T22:53:18.400Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1203/archives/ [2022-07-28T22:53:18.400Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1203/archives/ [Pipeline] echo [2022-07-28T22:53:18.415Z] 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-1203/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-28T22:53:18.697Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T22:53:19.259Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-28T22:53:19.259Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T22:53:19.344Z] prd-ubuntu20.04-docker-8c-8g-21415 does not seem to be running inside a container [2022-07-28T22:53:19.382Z] $ 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-1203/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-1203 -v /w/workspace/gexfoundry_device-sdk-go_PR-1203:/w/workspace/gexfoundry_device-sdk-go_PR-1203:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-28T22:53:19.642Z] $ docker top 99874344d30b1fdf67746c751c167c2d41b63e0f25f81908549973cb9bc0fbf4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T22:53:19.998Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-28T22:53:20.285Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-28T22:53:20.571Z] + ls /var/log/sa-host [2022-07-28T22:53:20.571Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-28T22:53:20.636Z] provisioning config files... [2022-07-28T22:53:20.644Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1203@tmp/config2558832894316071763tmp [Pipeline] { [Pipeline] echo [2022-07-28T22:53:20.659Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T22:53:20.942Z] ---> create-netrc.sh [Pipeline] } [2022-07-28T22:53:20.949Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-28T22:53:21.297Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-28T22:53:21.307Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T22:53:21.595Z] ---> sudo-logs.sh [2022-07-28T22:53:21.595Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-28T22:53:21.618Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T22:53:21.910Z] ---> job-cost.sh [2022-07-28T22:53:21.910Z] lf-activate-venv: SKIPPING [2022-07-28T22:53:21.910Z] DEBUG: total: 0.2199999988079071 [2022-07-28T22:53:21.910Z] INFO: Retrieving Stack Cost... [2022-07-28T22:53:22.170Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-28T22:53:22.741Z] INFO: Archiving Costs [Pipeline] echo [2022-07-28T22:53:22.754Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T22:53:23.039Z] ---> logs-deploy.sh [2022-07-28T22:53:23.039Z] lf-activate-venv: SKIPPING [2022-07-28T22:53:23.039Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1203/2 [2022-07-28T22:53:23.039Z] INFO: archiving workspace using pattern(s): [2022-07-28T22:53:23.977Z] Archives upload complete. [2022-07-28T22:53:24.237Z] INFO: archiving logs to Nexus