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 cloudxxx8 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e9867ceccc81c4680e14fc13c8919f6907f05772+ad939af23b2d854541ed37c0929478efa4c7d7f6 (b9195b5aa330c11c1f4d078402e36731a34442a5) 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-ssh2999945425909514953.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-ssh3979189732689266592.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-1196/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-1196/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8180939813986134167.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-ssh9376750387261559541.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-1196/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-1196/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5462165217884590830.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-21333 in /w/workspace/gexfoundry_device-sdk-go_PR-1196 [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-1196 # 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 ad939af23b2d854541ed37c0929478efa4c7d7f6 into PR head commit e9867ceccc81c4680e14fc13c8919f6907f05772 Merge succeeded, producing b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576 Checking out Revision b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576 (PR-1196) > 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/1196/head:refs/remotes/origin/PR-1196 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e9867ceccc81c4680e14fc13c8919f6907f05772 # 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 ad939af23b2d854541ed37c0929478efa4c7d7f6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576 # timeout=10 Commit message: "Merge commit 'ad939af23b2d854541ed37c0929478efa4c7d7f6' into HEAD" > git rev-list --no-walk e9867ceccc81c4680e14fc13c8919f6907f05772 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-27T22:41:17.964Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-27T22:41:18.029Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-27T22:41:18.046Z] ========================================================= [2022-07-27T22:41:18.047Z] EdgeX Global Pipelines Version Info [2022-07-27T22:41:18.047Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-27T22:41:18.811Z] ------------------- [2022-07-27T22:41:18.811Z] stable info: [2022-07-27T22:41:18.811Z] ------------------- [2022-07-27T22:41:18.811Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-27T22:41:18.811Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-27T22:41:18.811Z] Message: update stable to v1.0.238 [2022-07-27T22:41:19.390Z] ------------------- [2022-07-27T22:41:19.390Z] experimental info: [2022-07-27T22:41:19.390Z] ------------------- [2022-07-27T22:41:19.390Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-27T22:41:19.390Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-27T22:41:19.390Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-27T22:41:19.595Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-07-27T22:41:19.605Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-07-27T22:41:19.620Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-27T22:41:19.630Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-27T22:41:19.640Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-27T22:41:19.650Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-27T22:41:19.662Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-27T22:41:19.674Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-07-27T22:41:19.686Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-27T22:41:19.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-27T22:41:19.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-27T22:41:19.722Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-07-27T22:41:19.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-27T22:41:19.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-27T22:41:19.749Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-27T22:41:19.758Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-07-27T22:41:19.768Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-27T22:41:19.782Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-27T22:41:19.795Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-27T22:41:19.808Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-27T22:41:19.823Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-07-27T22:41:19.836Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-07-27T22:41:19.848Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-27T22:41:19.862Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-27T22:41:19.876Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-27T22:41:19.892Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-27T22:41:19.907Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-27T22:41:19.925Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1196 [Pipeline] echo [2022-07-27T22:41:19.944Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1196 [Pipeline] echo [2022-07-27T22:41:19.963Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1196 [Pipeline] echo [2022-07-27T22:41:19.975Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576 [Pipeline] echo [2022-07-27T22:41:19.988Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b89ec2e [Pipeline] echo [2022-07-27T22:41:20.003Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-27T22:41:20.054Z] provisioning config files... [2022-07-27T22:41:20.068Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config4963033271055850648tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-27T22:41:20.376Z] ---> docker-login.sh [2022-07-27T22:41:20.376Z] nexus3.edgexfoundry.org:10001 [2022-07-27T22:41:20.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T22:41:20.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T22:41:20.904Z] Configure a credential helper to remove this warning. See [2022-07-27T22:41:20.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T22:41:20.904Z] [2022-07-27T22:41:20.904Z] Login Succeeded [2022-07-27T22:41:20.904Z] nexus3.edgexfoundry.org:10002 [2022-07-27T22:41:20.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T22:41:21.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T22:41:21.169Z] Configure a credential helper to remove this warning. See [2022-07-27T22:41:21.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T22:41:21.169Z] [2022-07-27T22:41:21.169Z] Login Succeeded [2022-07-27T22:41:21.169Z] nexus3.edgexfoundry.org:10003 [2022-07-27T22:41:21.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T22:41:21.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T22:41:21.169Z] Configure a credential helper to remove this warning. See [2022-07-27T22:41:21.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T22:41:21.169Z] [2022-07-27T22:41:21.169Z] Login Succeeded [2022-07-27T22:41:21.169Z] nexus3.edgexfoundry.org:10004 [2022-07-27T22:41:21.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T22:41:21.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T22:41:21.432Z] Configure a credential helper to remove this warning. See [2022-07-27T22:41:21.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T22:41:21.432Z] [2022-07-27T22:41:21.432Z] Login Succeeded [2022-07-27T22:41:21.432Z] docker.io [2022-07-27T22:41:21.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T22:41:21.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T22:41:21.695Z] Configure a credential helper to remove this warning. See [2022-07-27T22:41:21.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T22:41:21.695Z] [2022-07-27T22:41:21.695Z] Login Succeeded [2022-07-27T22:41:21.695Z] ---> docker-login.sh ends [Pipeline] } [2022-07-27T22:41:21.706Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-27T22:41:22.111Z] + git rev-list -1 --merges b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576~1..b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576 [Pipeline] echo [2022-07-27T22:41:22.139Z] -----------> git rev-list -1 --merges b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576~1..b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576 b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576 [2022-07-27T22:41:22.139Z] b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576 [false] [Pipeline] sh [2022-07-27T22:41:22.432Z] + git log --format=format:%s -1 b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576 [Pipeline] echo [2022-07-27T22:41:22.451Z] ========================================================= [2022-07-27T22:41:22.451Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-27T22:41:22.451Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-27T22:41:22.802Z] + git log --format=format:%s -1 b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576 [Pipeline] echo [2022-07-27T22:41:22.814Z] [semverPrep] GIT_COMMIT: b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576, Commit Message: Merge commit 'ad939af23b2d854541ed37c0929478efa4c7d7f6' into HEAD [Pipeline] echo [2022-07-27T22:41:22.826Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-27T22:41:23.209Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-27T22:41:23.209Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-27T22:41:23.209Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-27T22:41:23.209Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-27T22:41:23.209Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-27T22:41:23.209Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-27T22:41:23.209Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T22:41:23.622Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-27T22:41:23.622Z] [2022-07-27T22:41:23.622Z] 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-27T22:41:23.934Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-27T22:41:23.934Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-27T22:41:23.934Z] b85a868b505f: Pulling fs layer [2022-07-27T22:41:23.934Z] e2be974225ed: Pulling fs layer [2022-07-27T22:41:23.934Z] 339a4e72a1f5: Pulling fs layer [2022-07-27T22:41:23.934Z] 988bab9f4d93: Pulling fs layer [2022-07-27T22:41:23.934Z] 1469e6f7b9e6: Pulling fs layer [2022-07-27T22:41:23.934Z] eaf3925da568: Pulling fs layer [2022-07-27T22:41:23.934Z] 1469e6f7b9e6: Waiting [2022-07-27T22:41:23.934Z] 988bab9f4d93: Waiting [2022-07-27T22:41:23.934Z] bab4dde63d76: Pulling fs layer [2022-07-27T22:41:23.934Z] eaf3925da568: Waiting [2022-07-27T22:41:23.934Z] bde34c3a00c8: Pulling fs layer [2022-07-27T22:41:23.934Z] b352a97aabf1: Pulling fs layer [2022-07-27T22:41:23.934Z] 4872d77fe225: Pulling fs layer [2022-07-27T22:41:23.934Z] 5851b861e8e6: Pulling fs layer [2022-07-27T22:41:23.934Z] bde34c3a00c8: Waiting [2022-07-27T22:41:23.934Z] bab4dde63d76: Waiting [2022-07-27T22:41:23.934Z] 4872d77fe225: Waiting [2022-07-27T22:41:23.934Z] 5851b861e8e6: Waiting [2022-07-27T22:41:23.934Z] b352a97aabf1: Waiting [2022-07-27T22:41:23.934Z] e2be974225ed: Verifying Checksum [2022-07-27T22:41:23.934Z] e2be974225ed: Download complete [2022-07-27T22:41:23.934Z] 988bab9f4d93: Verifying Checksum [2022-07-27T22:41:23.934Z] 988bab9f4d93: Download complete [2022-07-27T22:41:24.196Z] 1469e6f7b9e6: Verifying Checksum [2022-07-27T22:41:24.196Z] 1469e6f7b9e6: Download complete [2022-07-27T22:41:24.196Z] 339a4e72a1f5: Verifying Checksum [2022-07-27T22:41:24.196Z] 339a4e72a1f5: Download complete [2022-07-27T22:41:24.196Z] eaf3925da568: Verifying Checksum [2022-07-27T22:41:24.196Z] eaf3925da568: Download complete [2022-07-27T22:41:24.196Z] bde34c3a00c8: Verifying Checksum [2022-07-27T22:41:24.196Z] bde34c3a00c8: Download complete [2022-07-27T22:41:24.196Z] b352a97aabf1: Download complete [2022-07-27T22:41:24.196Z] 4872d77fe225: Verifying Checksum [2022-07-27T22:41:24.196Z] 4872d77fe225: Download complete [2022-07-27T22:41:24.196Z] 5851b861e8e6: Download complete [2022-07-27T22:41:24.196Z] b85a868b505f: Verifying Checksum [2022-07-27T22:41:24.196Z] b85a868b505f: Download complete [2022-07-27T22:41:24.458Z] bab4dde63d76: Verifying Checksum [2022-07-27T22:41:24.458Z] bab4dde63d76: Download complete [2022-07-27T22:41:25.842Z] b85a868b505f: Pull complete [2022-07-27T22:41:25.842Z] e2be974225ed: Pull complete [2022-07-27T22:41:26.413Z] 339a4e72a1f5: Pull complete [2022-07-27T22:41:26.413Z] 988bab9f4d93: Pull complete [2022-07-27T22:41:26.675Z] 1469e6f7b9e6: Pull complete [2022-07-27T22:41:26.675Z] eaf3925da568: Pull complete [2022-07-27T22:41:29.250Z] bab4dde63d76: Pull complete [2022-07-27T22:41:29.250Z] bde34c3a00c8: Pull complete [2022-07-27T22:41:29.250Z] b352a97aabf1: Pull complete [2022-07-27T22:41:29.250Z] 4872d77fe225: Pull complete [2022-07-27T22:41:29.250Z] 5851b861e8e6: Pull complete [2022-07-27T22:41:29.250Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-27T22:41:29.250Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-27T22:41:29.250Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T22:41:29.372Z] prd-ubuntu20.04-docker-8c-8g-21333 does not seem to be running inside a container [2022-07-27T22:41:29.411Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-27T22:41:30.694Z] $ docker top cc38157b48dd691ed7d17712f0dcb109b4f17b445ee2da083cf13dc571109850 -eo pid,comm [2022-07-27T22:41:30.763Z] 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-27T22:41:30.763Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-27T22:41:30.805Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-27T22:41:30.805Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-27T22:41:30.940Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-27T22:41:30.948Z] $ docker exec cc38157b48dd691ed7d17712f0dcb109b4f17b445ee2da083cf13dc571109850 ssh-agent [2022-07-27T22:41:31.097Z] SSH_AUTH_SOCK=/tmp/ssh-sdj434WTJ1jC/agent.33 [2022-07-27T22:41:31.097Z] SSH_AGENT_PID=40 [2022-07-27T22:41:31.104Z] Running ssh-add (command line suppressed) [2022-07-27T22:41:31.238Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_689990691872301940.key (/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_689990691872301940.key) [2022-07-27T22:41:31.251Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-27T22:41:31.544Z] + git tag --points-at HEAD [Pipeline] } [2022-07-27T22:41:31.568Z] $ docker exec --env ******** --env ******** cc38157b48dd691ed7d17712f0dcb109b4f17b445ee2da083cf13dc571109850 ssh-agent -k [2022-07-27T22:41:31.696Z] unset SSH_AUTH_SOCK; [2022-07-27T22:41:31.697Z] unset SSH_AGENT_PID; [2022-07-27T22:41:31.698Z] echo Agent pid 40 killed; [2022-07-27T22:41:31.708Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-27T22:41:31.738Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-27T22:41:31.738Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-27T22:41:31.874Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-27T22:41:31.881Z] $ docker exec cc38157b48dd691ed7d17712f0dcb109b4f17b445ee2da083cf13dc571109850 ssh-agent [2022-07-27T22:41:32.007Z] SSH_AUTH_SOCK=/tmp/ssh-9qnJce3SXxH3/agent.72 [2022-07-27T22:41:32.007Z] SSH_AGENT_PID=78 [2022-07-27T22:41:32.013Z] Running ssh-add (command line suppressed) [2022-07-27T22:41:32.145Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_7703719251418045142.key (/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_7703719251418045142.key) [2022-07-27T22:41:32.162Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-27T22:41:32.454Z] + git semver init [2022-07-27T22:41:32.717Z] 2022-07-27 22:41:32,658 [run_init] DEBUG init version:0.0.0 force:False [2022-07-27T22:41:32.717Z] 2022-07-27 22:41:32,658 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver [2022-07-27T22:41:32.717Z] 2022-07-27 22:41:32,659 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver [2022-07-27T22:41:32.717Z] 2022-07-27 22:41:32,659 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196, universal_newlines=False, shell=None, istream=None) [2022-07-27T22:41:33.666Z] 2022-07-27 22:41:33,423 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.git/info/exclude [2022-07-27T22:41:33.666Z] 2022-07-27 22:41:33,424 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 with force:False [2022-07-27T22:41:33.666Z] 2022-07-27 22:41:33,424 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 [2022-07-27T22:41:33.666Z] 2022-07-27 22:41:33,429 [execute] INFO git cat-file --batch-check [2022-07-27T22:41:33.666Z] 2022-07-27 22:41:33,429 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver, universal_newlines=False, shell=None, istream=) [2022-07-27T22:41:33.666Z] 2022-07-27 22:41:33,437 [execute] INFO git cat-file --batch [2022-07-27T22:41:33.666Z] 2022-07-27 22:41:33,437 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver, universal_newlines=False, shell=None, istream=) [2022-07-27T22:41:33.666Z] 2022-07-27 22:41:33,444 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 [2022-07-27T22:41:33.666Z] 0.0.0 [Pipeline] } [2022-07-27T22:41:33.682Z] $ docker exec --env ******** --env ******** cc38157b48dd691ed7d17712f0dcb109b4f17b445ee2da083cf13dc571109850 ssh-agent -k [2022-07-27T22:41:33.808Z] unset SSH_AUTH_SOCK; [2022-07-27T22:41:33.808Z] unset SSH_AGENT_PID; [2022-07-27T22:41:33.808Z] echo Agent pid 78 killed; [2022-07-27T22:41:33.816Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-27T22:41:34.128Z] + git semver [Pipeline] } [2022-07-27T22:41:34.407Z] $ docker stop --time=1 cc38157b48dd691ed7d17712f0dcb109b4f17b445ee2da083cf13dc571109850 [2022-07-27T22:41:35.779Z] $ docker rm -f cc38157b48dd691ed7d17712f0dcb109b4f17b445ee2da083cf13dc571109850 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-27T22:41:36.132Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-27T22:41:36.387Z] Stashed 1 file(s) [Pipeline] echo [2022-07-27T22:41:36.390Z] [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-27T22:41:36.546Z] provisioning config files... [2022-07-27T22:41:36.558Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config64155485782812428tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-27T22:41:36.872Z] ---> docker-login.sh [2022-07-27T22:41:36.872Z] nexus3.edgexfoundry.org:10001 [2022-07-27T22:41:36.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T22:41:36.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T22:41:36.872Z] Configure a credential helper to remove this warning. See [2022-07-27T22:41:36.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T22:41:36.872Z] [2022-07-27T22:41:36.872Z] Login Succeeded [2022-07-27T22:41:36.872Z] nexus3.edgexfoundry.org:10002 [2022-07-27T22:41:36.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T22:41:37.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T22:41:37.134Z] Configure a credential helper to remove this warning. See [2022-07-27T22:41:37.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T22:41:37.134Z] [2022-07-27T22:41:37.134Z] Login Succeeded [2022-07-27T22:41:37.134Z] nexus3.edgexfoundry.org:10003 [2022-07-27T22:41:37.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T22:41:37.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T22:41:37.134Z] Configure a credential helper to remove this warning. See [2022-07-27T22:41:37.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T22:41:37.134Z] [2022-07-27T22:41:37.134Z] Login Succeeded [2022-07-27T22:41:37.134Z] nexus3.edgexfoundry.org:10004 [2022-07-27T22:41:37.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T22:41:37.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T22:41:37.396Z] Configure a credential helper to remove this warning. See [2022-07-27T22:41:37.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T22:41:37.396Z] [2022-07-27T22:41:37.396Z] Login Succeeded [2022-07-27T22:41:37.396Z] docker.io [2022-07-27T22:41:37.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T22:41:37.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T22:41:37.658Z] Configure a credential helper to remove this warning. See [2022-07-27T22:41:37.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T22:41:37.658Z] [2022-07-27T22:41:37.658Z] Login Succeeded [2022-07-27T22:41:37.658Z] ---> docker-login.sh ends [Pipeline] } [2022-07-27T22:41:37.670Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-27T22:41:37.750Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-27T22:41:37.769Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-27T22:41:37.781Z] ========================================================= [2022-07-27T22:41:37.781Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-27T22:41:37.781Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T22:41:38.111Z] + 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-27T22:41:38.111Z] Sending build context to Docker daemon 9.782MB [2022-07-27T22:41:38.111Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-07-27T22:41:38.111Z] Step 2/11 : FROM ${BASE} AS builder [2022-07-27T22:41:38.111Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-27T22:41:38.111Z] 2408cc74d12b: Pulling fs layer [2022-07-27T22:41:38.111Z] ea60b727a1ce: Pulling fs layer [2022-07-27T22:41:38.111Z] 30c4a7721957: Pulling fs layer [2022-07-27T22:41:38.111Z] 370296b7ddb6: Pulling fs layer [2022-07-27T22:41:38.111Z] 7c6cee850709: Pulling fs layer [2022-07-27T22:41:38.111Z] 39a5fcdaea64: Pulling fs layer [2022-07-27T22:41:38.111Z] d94ebbe4e438: Pulling fs layer [2022-07-27T22:41:38.111Z] bcfd1f05c69d: Pulling fs layer [2022-07-27T22:41:38.111Z] 59ccb84bbe0f: Pulling fs layer [2022-07-27T22:41:38.111Z] 370296b7ddb6: Waiting [2022-07-27T22:41:38.111Z] d94ebbe4e438: Waiting [2022-07-27T22:41:38.111Z] 7c6cee850709: Waiting [2022-07-27T22:41:38.111Z] 39a5fcdaea64: Waiting [2022-07-27T22:41:38.111Z] bcfd1f05c69d: Waiting [2022-07-27T22:41:38.111Z] 59ccb84bbe0f: Waiting [2022-07-27T22:41:38.111Z] 30c4a7721957: Verifying Checksum [2022-07-27T22:41:38.111Z] 30c4a7721957: Download complete [2022-07-27T22:41:38.111Z] ea60b727a1ce: Download complete [2022-07-27T22:41:38.376Z] 7c6cee850709: Verifying Checksum [2022-07-27T22:41:38.376Z] 7c6cee850709: Download complete [2022-07-27T22:41:38.376Z] 39a5fcdaea64: Download complete [2022-07-27T22:41:38.376Z] 2408cc74d12b: Verifying Checksum [2022-07-27T22:41:38.376Z] d94ebbe4e438: Download complete [2022-07-27T22:41:38.376Z] 2408cc74d12b: Pull complete [2022-07-27T22:41:38.637Z] ea60b727a1ce: Pull complete [2022-07-27T22:41:38.637Z] 30c4a7721957: Pull complete [2022-07-27T22:41:38.900Z] 59ccb84bbe0f: Verifying Checksum [2022-07-27T22:41:38.900Z] 59ccb84bbe0f: Download complete [2022-07-27T22:41:38.900Z] bcfd1f05c69d: Verifying Checksum [2022-07-27T22:41:39.160Z] 370296b7ddb6: Verifying Checksum [2022-07-27T22:41:39.160Z] 370296b7ddb6: Download complete [2022-07-27T22:41:43.357Z] 370296b7ddb6: Pull complete [2022-07-27T22:41:43.357Z] 7c6cee850709: Pull complete [2022-07-27T22:41:43.357Z] 39a5fcdaea64: Pull complete [2022-07-27T22:41:43.357Z] d94ebbe4e438: Pull complete [2022-07-27T22:41:45.903Z] bcfd1f05c69d: Pull complete [2022-07-27T22:41:46.481Z] 59ccb84bbe0f: Pull complete [2022-07-27T22:41:46.481Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-27T22:41:46.481Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-27T22:41:46.481Z] ---> a4fb48ad2a94 [2022-07-27T22:41:46.481Z] Step 3/11 : ARG MAKE=make build [2022-07-27T22:41:48.402Z] ---> Running in 6cb74e8f4ee4 [2022-07-27T22:41:48.402Z] Removing intermediate container 6cb74e8f4ee4 [2022-07-27T22:41:48.402Z] ---> cf89386ea707 [2022-07-27T22:41:48.402Z] Step 4/11 : WORKDIR /device-sdk-go [2022-07-27T22:41:48.402Z] ---> Running in 7c8caefc931e [2022-07-27T22:41:48.402Z] Removing intermediate container 7c8caefc931e [2022-07-27T22:41:48.402Z] ---> 8e3b8ad9a637 [2022-07-27T22:41:48.402Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-27T22:41:48.402Z] ---> Running in a393f6086b1a [2022-07-27T22:41:48.402Z] Removing intermediate container a393f6086b1a [2022-07-27T22:41:48.402Z] ---> 4ffe27157386 [2022-07-27T22:41:48.402Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-27T22:41:48.402Z] ---> Running in fa0bea816550 [2022-07-27T22:41:48.976Z] Removing intermediate container fa0bea816550 [2022-07-27T22:41:48.976Z] ---> 7bee2068e8a6 [2022-07-27T22:41:48.976Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-27T22:41:48.976Z] ---> Running in f789d4307cc5 [2022-07-27T22:41:49.237Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-27T22:41:50.623Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-27T22:41:50.623Z] OK: 211 MiB in 51 packages [2022-07-27T22:41:50.884Z] Removing intermediate container f789d4307cc5 [2022-07-27T22:41:50.884Z] ---> 562518bb45a2 [2022-07-27T22:41:50.884Z] Step 8/11 : COPY go.mod vendor* ./ [2022-07-27T22:41:51.145Z] ---> 22fd232da5b1 [2022-07-27T22:41:51.145Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-27T22:41:51.145Z] ---> Running in 534c7d383df1 [2022-07-27T22:41:51.504Z] Still waiting to schedule task [2022-07-27T22:41:51.505Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-27T22:42:13.130Z] Removing intermediate container 534c7d383df1 [2022-07-27T22:42:13.131Z] ---> 23595621b6af [2022-07-27T22:42:13.131Z] Step 10/11 : COPY . . [2022-07-27T22:42:13.131Z] ---> 1e9f928bd2f4 [2022-07-27T22:42:13.131Z] Step 11/11 : RUN ${MAKE} [2022-07-27T22:42:13.131Z] ---> Running in 562b0019970d [2022-07-27T22:42:13.131Z] noop [2022-07-27T22:42:13.131Z] Removing intermediate container 562b0019970d [2022-07-27T22:42:13.131Z] ---> 71f094da66a0 [2022-07-27T22:42:13.131Z] Successfully built 71f094da66a0 [2022-07-27T22:42:13.131Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T22:42:13.460Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-27T22:42:13.460Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T22:42:13.553Z] prd-ubuntu20.04-docker-8c-8g-21333 does not seem to be running inside a container [2022-07-27T22:42:13.595Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@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 ******** ci-base-image-x86_64 cat [2022-07-27T22:42:14.009Z] $ docker top 4e7d19ef7cda550aaa6dce1a337252373a1243a4b4293a2227e1231e5cf92624 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-27T22:42:14.378Z] + go version [2022-07-27T22:42:14.378Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-27T22:42:14.395Z] $ docker stop --time=1 4e7d19ef7cda550aaa6dce1a337252373a1243a4b4293a2227e1231e5cf92624 [2022-07-27T22:42:15.700Z] $ docker rm -f 4e7d19ef7cda550aaa6dce1a337252373a1243a4b4293a2227e1231e5cf92624 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T22:42:16.109Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-27T22:42:16.109Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T22:42:16.204Z] prd-ubuntu20.04-docker-8c-8g-21333 does not seem to be running inside a container [2022-07-27T22:42:16.269Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@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 ******** ci-base-image-x86_64 cat [2022-07-27T22:42:16.667Z] $ docker top 55833bd13766b886134bea7bfcdf0bfc209b874fed853454840f18c79c8898ef -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-27T22:42:17.097Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] fileExists [Pipeline] sh [2022-07-27T22:42:17.398Z] + make test [2022-07-27T22:42:17.398Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-07-27T22:42:23.999Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-07-27T22:42:38.904Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-07-27T22:42:38.904Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-07-27T22:42:38.904Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-07-27T22:42:39.164Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.069s coverage: 23.7% of statements [2022-07-27T22:42:39.164Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-07-27T22:42:39.164Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.069s coverage: 27.6% of statements [2022-07-27T22:42:39.164Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.143s coverage: 78.9% of statements [2022-07-27T22:42:39.164Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.078s coverage: 10.8% of statements [2022-07-27T22:42:39.164Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.077s coverage: 60.0% of statements [2022-07-27T22:42:39.164Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-07-27T22:42:39.164Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-07-27T22:42:39.164Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.081s coverage: 34.8% of statements [2022-07-27T22:42:39.164Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-07-27T22:42:39.425Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.071s coverage: 85.4% of statements [2022-07-27T22:42:39.425Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-07-27T22:42:39.425Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-07-27T22:42:39.425Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.096s coverage: 65.1% of statements [2022-07-27T22:42:39.425Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-07-27T22:42:39.425Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-07-27T22:42:39.425Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.759s coverage: 89.2% of statements [2022-07-27T22:42:39.425Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-07-27T22:42:39.687Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.9% of statements [2022-07-27T22:42:39.687Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-07-27T22:42:57.813Z] 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-27T22:42:57.813Z] GO111MODULE=on go vet ./... [2022-07-27T22:43:00.357Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-27T22:43:00.357Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-27T22:43:00.357Z] ./bin/test-attribution-txt.sh [2022-07-27T22:43:00.357Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-07-27T22:43:00.357Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-07-27T22:43:00.357Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-07-27T22:43:00.357Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-07-27T22:43:00.357Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-07-27T22:43:00.357Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-07-27T22:43:00.357Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-07-27T22:43:00.372Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-27T22:43:00.391Z] $ docker stop --time=1 55833bd13766b886134bea7bfcdf0bfc209b874fed853454840f18c79c8898ef [2022-07-27T22:43:02.301Z] $ docker rm -f 55833bd13766b886134bea7bfcdf0bfc209b874fed853454840f18c79c8898ef [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-27T22:43:02.835Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-27T22:43:02.895Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-27T22:43:03.407Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-27T22:43:03.706Z] + ls -al . [2022-07-27T22:43:03.706Z] total 300 [2022-07-27T22:43:03.706Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 27 22:42 . [2022-07-27T22:43:03.706Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 22:41 .. [2022-07-27T22:43:03.706Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 27 22:41 .dockerignore [2022-07-27T22:43:03.706Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 22:42 .git [2022-07-27T22:43:03.706Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 22:41 .github [2022-07-27T22:43:03.706Z] -rw-rw-r-- 1 jenkins jenkins 131 Jul 27 22:41 .gitignore [2022-07-27T22:43:03.706Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 27 22:41 .golangci.yml [2022-07-27T22:43:03.706Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 22:41 .semver [2022-07-27T22:43:03.706Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jul 27 22:41 CHANGELOG.md [2022-07-27T22:43:03.706Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 27 22:41 GOVERNANCE.md [2022-07-27T22:43:03.706Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 27 22:41 Jenkinsfile [2022-07-27T22:43:03.706Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 27 22:41 LICENSE [2022-07-27T22:43:03.706Z] -rw-rw-r-- 1 jenkins jenkins 2002 Jul 27 22:41 Makefile [2022-07-27T22:43:03.706Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 27 22:41 OWNERS.md [2022-07-27T22:43:03.706Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jul 27 22:41 README.md [2022-07-27T22:43:03.706Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 22:41 VERSION [2022-07-27T22:43:03.706Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 22:41 bin [2022-07-27T22:43:03.706Z] -rw-r--r-- 1 jenkins jenkins 130803 Jul 27 22:42 coverage.out [2022-07-27T22:43:03.706Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 27 22:41 example [2022-07-27T22:43:03.706Z] -rw-rw-r-- 1 jenkins jenkins 3553 Jul 27 22:41 go.mod [2022-07-27T22:43:03.706Z] -rw-rw-r-- 1 jenkins jenkins 36743 Jul 27 22:41 go.sum [2022-07-27T22:43:03.706Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 27 22:41 internal [2022-07-27T22:43:03.706Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 22:41 openapi [2022-07-27T22:43:03.706Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 27 22:41 pkg [2022-07-27T22:43:03.706Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 22:41 snap [2022-07-27T22:43:03.706Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 27 22:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T22:43:04.022Z] + 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=b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576 --label arch=amd64 --label version=0.0.0 . [2022-07-27T22:43:04.023Z] Sending build context to Docker daemon 9.914MB [2022-07-27T22:43:04.023Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-27T22:43:04.023Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-27T22:43:04.023Z] ---> 71f094da66a0 [2022-07-27T22:43:04.023Z] Step 3/25 : ARG MAKE=make build [2022-07-27T22:43:04.023Z] ---> Running in cbf61046d891 [2022-07-27T22:43:04.286Z] Removing intermediate container cbf61046d891 [2022-07-27T22:43:04.286Z] ---> 8cdcb942b71a [2022-07-27T22:43:04.286Z] Step 4/25 : WORKDIR /device-sdk-go [2022-07-27T22:43:04.286Z] ---> Running in 85e1f345e383 [2022-07-27T22:43:04.286Z] Removing intermediate container 85e1f345e383 [2022-07-27T22:43:04.286Z] ---> f190a1e322c1 [2022-07-27T22:43:04.286Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-27T22:43:04.286Z] ---> Running in 274f6fc446b0 [2022-07-27T22:43:04.546Z] Removing intermediate container 274f6fc446b0 [2022-07-27T22:43:04.546Z] ---> 1e7c33e9e146 [2022-07-27T22:43:04.546Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-27T22:43:04.546Z] ---> Running in 4ae85505f3f7 [2022-07-27T22:43:05.120Z] Removing intermediate container 4ae85505f3f7 [2022-07-27T22:43:05.120Z] ---> 827035415383 [2022-07-27T22:43:05.120Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-27T22:43:05.120Z] ---> Running in e1536be236b1 [2022-07-27T22:43:05.382Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-27T22:43:06.323Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-27T22:43:06.591Z] OK: 211 MiB in 51 packages [2022-07-27T22:43:06.850Z] Removing intermediate container e1536be236b1 [2022-07-27T22:43:06.850Z] ---> 2541485a05f5 [2022-07-27T22:43:06.850Z] Step 8/25 : COPY go.mod vendor* ./ [2022-07-27T22:43:06.850Z] ---> 32c9daf62b0d [2022-07-27T22:43:06.850Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-27T22:43:07.111Z] ---> Running in 953f69e12ef6 [2022-07-27T22:43:07.695Z] Removing intermediate container 953f69e12ef6 [2022-07-27T22:43:07.695Z] ---> d951309806c4 [2022-07-27T22:43:07.695Z] Step 10/25 : COPY . . [2022-07-27T22:43:07.956Z] ---> a7c2f1eb44a5 [2022-07-27T22:43:07.956Z] Step 11/25 : RUN ${MAKE} [2022-07-27T22:43:07.956Z] ---> Running in 83589b5c39e1 [2022-07-27T22:43:08.216Z] 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-27T22:43:26.334Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-07-27T22:43:28.248Z] Removing intermediate container 83589b5c39e1 [2022-07-27T22:43:28.248Z] ---> 3cf77d5403d3 [2022-07-27T22:43:28.248Z] Step 12/25 : FROM alpine:3.16 [2022-07-27T22:43:28.509Z] 3.16: Pulling from library/alpine [2022-07-27T22:43:28.509Z] 530afca65e2e: Pulling fs layer [2022-07-27T22:43:28.769Z] 530afca65e2e: Verifying Checksum [2022-07-27T22:43:28.769Z] 530afca65e2e: Download complete [2022-07-27T22:43:29.028Z] 530afca65e2e: Pull complete [2022-07-27T22:43:29.028Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-07-27T22:43:29.028Z] Status: Downloaded newer image for alpine:3.16 [2022-07-27T22:43:29.028Z] ---> d7d3d98c851f [2022-07-27T22:43:29.028Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-27T22:43:29.028Z] ---> Running in 51872d8887d9 [2022-07-27T22:43:29.028Z] Removing intermediate container 51872d8887d9 [2022-07-27T22:43:29.028Z] ---> 22770ac9e9f0 [2022-07-27T22:43:29.028Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-27T22:43:29.028Z] ---> Running in d601064800e0 [2022-07-27T22:43:29.598Z] Removing intermediate container d601064800e0 [2022-07-27T22:43:29.598Z] ---> 179a623336f0 [2022-07-27T22:43:29.598Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-07-27T22:43:29.598Z] ---> Running in 7ae3671582f6 [2022-07-27T22:43:30.170Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-27T22:43:30.741Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-27T22:43:31.325Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-07-27T22:43:31.325Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-27T22:43:31.325Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-27T22:43:31.325Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-27T22:43:31.585Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-27T22:43:31.585Z] Executing busybox-1.35.0-r15.trigger [2022-07-27T22:43:31.585Z] OK: 8 MiB in 19 packages [2022-07-27T22:43:32.156Z] Removing intermediate container 7ae3671582f6 [2022-07-27T22:43:32.156Z] ---> 0937c03eb257 [2022-07-27T22:43:32.156Z] Step 16/25 : WORKDIR / [2022-07-27T22:43:32.156Z] ---> Running in 1c00a9f0fbf6 [2022-07-27T22:43:32.156Z] Removing intermediate container 1c00a9f0fbf6 [2022-07-27T22:43:32.156Z] ---> 407cf9e8f90f [2022-07-27T22:43:32.156Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-07-27T22:43:32.189Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21334 in /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] { [Pipeline] ws [2022-07-27T22:43:32.208Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2022-07-27T22:43:32.238Z] The recommended git tool is: git [2022-07-27T22:43:32.413Z] ---> 3a8d653f5f74 [2022-07-27T22:43:32.413Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-07-27T22:43:32.672Z] ---> 07f365ddfcd1 [2022-07-27T22:43:32.672Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-07-27T22:43:32.931Z] ---> a10fa647f461 [2022-07-27T22:43:32.931Z] Step 20/25 : EXPOSE 59999 [2022-07-27T22:43:32.931Z] ---> Running in 15f8cd068104 [2022-07-27T22:43:32.931Z] Removing intermediate container 15f8cd068104 [2022-07-27T22:43:32.931Z] ---> 0e6461b39f6d [2022-07-27T22:43:32.931Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-07-27T22:43:33.191Z] ---> Running in dc3e983f1d74 [2022-07-27T22:43:33.191Z] Removing intermediate container dc3e983f1d74 [2022-07-27T22:43:33.191Z] ---> 78ae3ad04701 [2022-07-27T22:43:33.191Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-27T22:43:33.191Z] ---> Running in 50fffadcc491 [2022-07-27T22:43:33.191Z] Removing intermediate container 50fffadcc491 [2022-07-27T22:43:33.191Z] ---> 4270c9c8c5bb [2022-07-27T22:43:33.191Z] Step 23/25 : LABEL arch=amd64 [2022-07-27T22:43:33.191Z] ---> Running in 27b3c7ae7aca [2022-07-27T22:43:33.451Z] Removing intermediate container 27b3c7ae7aca [2022-07-27T22:43:33.451Z] ---> 440ca00475eb [2022-07-27T22:43:33.451Z] Step 24/25 : LABEL git_sha=b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576 [2022-07-27T22:43:33.451Z] ---> Running in d789ffae2992 [2022-07-27T22:43:33.451Z] Removing intermediate container d789ffae2992 [2022-07-27T22:43:33.451Z] ---> 7b6e9803ba26 [2022-07-27T22:43:33.451Z] Step 25/25 : LABEL version=0.0.0 [2022-07-27T22:43:33.451Z] ---> Running in 7062d6c289b6 [2022-07-27T22:43:33.714Z] Removing intermediate container 7062d6c289b6 [2022-07-27T22:43:33.714Z] ---> bd2ea56c5b8c [2022-07-27T22:43:33.714Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-27T22:43:33.714Z] Successfully built bd2ea56c5b8c [2022-07-27T22:43:33.714Z] 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-27T22:43:34.156Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-27T22:43:34.156Z] [2022-07-27T22:43:34.156Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T22:43:34.456Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-27T22:43:34.457Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-27T22:43:34.457Z] 5eb5b503b376: Pulling fs layer [2022-07-27T22:43:34.457Z] 5c69ac0246d0: Pulling fs layer [2022-07-27T22:43:34.457Z] ec43610c2a17: Pulling fs layer [2022-07-27T22:43:34.457Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-27T22:43:34.457Z] 33b1e0a273af: Pulling fs layer [2022-07-27T22:43:34.457Z] 5d3b04190fa2: Pulling fs layer [2022-07-27T22:43:34.457Z] 2f39f015ded8: Pulling fs layer [2022-07-27T22:43:34.457Z] 33b1e0a273af: Waiting [2022-07-27T22:43:34.457Z] 3a2ae6a8a46f: Waiting [2022-07-27T22:43:34.457Z] 2f39f015ded8: Waiting [2022-07-27T22:43:34.457Z] 5d3b04190fa2: Waiting [2022-07-27T22:43:34.457Z] 5c69ac0246d0: Download complete [2022-07-27T22:43:34.457Z] 3a2ae6a8a46f: Download complete [2022-07-27T22:43:34.457Z] ec43610c2a17: Verifying Checksum [2022-07-27T22:43:34.457Z] ec43610c2a17: Download complete [2022-07-27T22:43:34.457Z] 33b1e0a273af: Verifying Checksum [2022-07-27T22:43:34.457Z] 33b1e0a273af: Download complete [2022-07-27T22:43:34.457Z] 5d3b04190fa2: Verifying Checksum [2022-07-27T22:43:34.457Z] 5d3b04190fa2: Download complete [2022-07-27T22:43:34.716Z] 5eb5b503b376: Verifying Checksum [2022-07-27T22:43:34.716Z] 5eb5b503b376: Download complete [2022-07-27T22:43:35.283Z] 2f39f015ded8: Download complete [2022-07-27T22:43:36.222Z] 5eb5b503b376: Pull complete [2022-07-27T22:43:36.222Z] 5c69ac0246d0: Pull complete [2022-07-27T22:43:36.482Z] ec43610c2a17: Pull complete [2022-07-27T22:43:36.743Z] 3a2ae6a8a46f: Pull complete [2022-07-27T22:43:37.003Z] 33b1e0a273af: Pull complete [2022-07-27T22:43:37.003Z] 5d3b04190fa2: Pull complete [2022-07-27T22:43:37.555Z] using credential edgex-jenkins-ssh [2022-07-27T22:43:37.574Z] Cloning the remote Git repository [2022-07-27T22:43:37.630Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-07-27T22:43:37.706Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2022-07-27T22:43:37.800Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-07-27T22:43:37.801Z] > git --version # timeout=10 [2022-07-27T22:43:37.819Z] > git --version # 'git version 2.25.1' [2022-07-27T22:43:37.821Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-27T22:43:37.890Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-27T22:43:39.907Z] Merging remotes/origin/main commit ad939af23b2d854541ed37c0929478efa4c7d7f6 into PR head commit e9867ceccc81c4680e14fc13c8919f6907f05772 [2022-07-27T22:43:39.222Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-07-27T22:43:39.244Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-27T22:43:39.269Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-07-27T22:43:39.302Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-07-27T22:43:39.303Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-27T22:43:39.317Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1196/head:refs/remotes/origin/PR-1196 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-27T22:43:39.927Z] > git config core.sparsecheckout # timeout=10 [2022-07-27T22:43:39.993Z] > git checkout -f e9867ceccc81c4680e14fc13c8919f6907f05772 # timeout=10 [2022-07-27T22:43:40.356Z] Merge succeeded, producing 1f05d8d7579188a8fbfccf07c9a7d7f37c737a48 [2022-07-27T22:43:40.356Z] Checking out Revision 1f05d8d7579188a8fbfccf07c9a7d7f37c737a48 (PR-1196) [2022-07-27T22:43:40.161Z] > git remote # timeout=10 [2022-07-27T22:43:40.214Z] > git config --get remote.origin.url # timeout=10 [2022-07-27T22:43:40.232Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-27T22:43:40.244Z] > git merge ad939af23b2d854541ed37c0929478efa4c7d7f6 # timeout=10 [2022-07-27T22:43:40.337Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-27T22:43:40.362Z] > git config core.sparsecheckout # timeout=10 [2022-07-27T22:43:40.380Z] > git checkout -f 1f05d8d7579188a8fbfccf07c9a7d7f37c737a48 # timeout=10 [2022-07-27T22:43:42.276Z] 2f39f015ded8: Pull complete [2022-07-27T22:43:42.276Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-27T22:43:42.276Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-27T22:43:42.276Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T22:43:42.384Z] prd-ubuntu20.04-docker-8c-8g-21333 does not seem to be running inside a container [2022-07-27T22:43:42.422Z] $ 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-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@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-27T22:43:43.809Z] $ docker top f0af0710eda911e71d878a81fd50f459e03aa2b628711faf447ace5ab8361b30 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-27T22:43:44.229Z] ---> job-cost.sh [2022-07-27T22:43:44.229Z] lf-activate-venv: SKIPPING [2022-07-27T22:43:44.229Z] INFO: No Stack... [2022-07-27T22:43:44.489Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-27T22:43:44.597Z] Commit message: "Merge commit 'ad939af23b2d854541ed37c0929478efa4c7d7f6' into HEAD" [2022-07-27T22:43:44.605Z] > git rev-list --no-walk e9867ceccc81c4680e14fc13c8919f6907f05772 # timeout=10 [2022-07-27T22:43:45.040Z] [2022-07-27T22:43:45.040Z] GitHub has been notified of this commit’s build result [2022-07-27T22:43:45.040Z] [Pipeline] withEnv [Pipeline] { [2022-07-27T22:43:45.060Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-27T22:43:45.349Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/cost.csv [2022-07-27T22:43:45.349Z] + cut -d, -f6 [Pipeline] lock [2022-07-27T22:43:45.364Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1196-2-stack-cost] [2022-07-27T22:43:45.373Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-2-stack-cost] did not exist. Created. [2022-07-27T22:43:45.373Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1196-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-27T22:43:45.631Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-27T22:43:45.631Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-27T22:43:45.631Z] Dload Upload Total Spent Left Speed [2022-07-27T22:43:45.631Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [2022-07-27T22:43:45.676Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-27T22:43:45.708Z] Stashed 1 file(s) [Pipeline] } [2022-07-27T22:43:45.715Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-27T22:43:45.738Z] $ docker stop --time=1 f0af0710eda911e71d878a81fd50f459e03aa2b628711faf447ace5ab8361b30 [2022-07-27T22:43:46.905Z] $ docker rm -f f0af0710eda911e71d878a81fd50f459e03aa2b628711faf447ace5ab8361b30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-27T22:43:47.336Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-27T22:43:47.743Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-27T22:43:47.743Z] + sudo tee /etc/docker/daemon.new [2022-07-27T22:43:47.743Z] { [2022-07-27T22:43:47.743Z] "registry-mirrors": [ [2022-07-27T22:43:47.743Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-27T22:43:47.743Z] ], [2022-07-27T22:43:47.743Z] "bip": "10.250.0.254/24", [2022-07-27T22:43:47.743Z] "hosts": [ [2022-07-27T22:43:47.743Z] "tcp://0.0.0.0:5555", [2022-07-27T22:43:47.743Z] "unix:///var/run/docker.sock" [2022-07-27T22:43:47.743Z] ], [2022-07-27T22:43:47.743Z] "mtu": 1458, [2022-07-27T22:43:47.743Z] "selinux-enabled": true, [2022-07-27T22:43:47.743Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-27T22:43:47.743Z] } [Pipeline] sh [2022-07-27T22:43:48.089Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-27T22:43:48.434Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-27T22:44:06.958Z] provisioning config files... [2022-07-27T22:44:06.982Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7381233510429871783tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-27T22:44:07.336Z] ---> docker-login.sh [2022-07-27T22:44:07.336Z] nexus3.edgexfoundry.org:10001 [2022-07-27T22:44:07.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T22:44:08.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T22:44:08.208Z] Configure a credential helper to remove this warning. See [2022-07-27T22:44:08.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T22:44:08.208Z] [2022-07-27T22:44:08.208Z] Login Succeeded [2022-07-27T22:44:08.208Z] nexus3.edgexfoundry.org:10002 [2022-07-27T22:44:08.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T22:44:08.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T22:44:08.481Z] Configure a credential helper to remove this warning. See [2022-07-27T22:44:08.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T22:44:08.481Z] [2022-07-27T22:44:08.481Z] Login Succeeded [2022-07-27T22:44:08.481Z] nexus3.edgexfoundry.org:10003 [2022-07-27T22:44:09.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T22:44:09.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T22:44:09.079Z] Configure a credential helper to remove this warning. See [2022-07-27T22:44:09.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T22:44:09.079Z] [2022-07-27T22:44:09.079Z] Login Succeeded [2022-07-27T22:44:09.079Z] nexus3.edgexfoundry.org:10004 [2022-07-27T22:44:09.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T22:44:09.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T22:44:09.628Z] Configure a credential helper to remove this warning. See [2022-07-27T22:44:09.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T22:44:09.628Z] [2022-07-27T22:44:09.628Z] Login Succeeded [2022-07-27T22:44:09.628Z] docker.io [2022-07-27T22:44:09.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T22:44:10.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T22:44:10.172Z] Configure a credential helper to remove this warning. See [2022-07-27T22:44:10.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T22:44:10.172Z] [2022-07-27T22:44:10.172Z] Login Succeeded [2022-07-27T22:44:10.172Z] ---> docker-login.sh ends [Pipeline] } [2022-07-27T22:44:10.189Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-27T22:44:10.451Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-27T22:44:10.468Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-27T22:44:10.478Z] ========================================================= [2022-07-27T22:44:10.478Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-27T22:44:10.478Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T22:44:10.839Z] + 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-27T22:44:11.115Z] Sending build context to Docker daemon 5.256MB [2022-07-27T22:44:11.391Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-07-27T22:44:11.391Z] Step 2/11 : FROM ${BASE} AS builder [2022-07-27T22:44:11.391Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-27T22:44:11.391Z] b3c136eddcbf: Pulling fs layer [2022-07-27T22:44:11.391Z] c0a3192eca97: Pulling fs layer [2022-07-27T22:44:11.391Z] a050256f5b6f: Pulling fs layer [2022-07-27T22:44:11.391Z] 656be50a0ddc: Pulling fs layer [2022-07-27T22:44:11.391Z] 2bbca73fdf42: Pulling fs layer [2022-07-27T22:44:11.391Z] 46d945488cbd: Pulling fs layer [2022-07-27T22:44:11.391Z] 8a5474983e97: Pulling fs layer [2022-07-27T22:44:11.391Z] 656be50a0ddc: Waiting [2022-07-27T22:44:11.391Z] 2bbca73fdf42: Waiting [2022-07-27T22:44:11.391Z] 46d945488cbd: Waiting [2022-07-27T22:44:11.391Z] 329c88fbcd65: Pulling fs layer [2022-07-27T22:44:11.391Z] 8a5474983e97: Waiting [2022-07-27T22:44:11.391Z] 329c88fbcd65: Waiting [2022-07-27T22:44:11.391Z] a050256f5b6f: Verifying Checksum [2022-07-27T22:44:11.391Z] a050256f5b6f: Download complete [2022-07-27T22:44:11.391Z] c0a3192eca97: Verifying Checksum [2022-07-27T22:44:11.391Z] c0a3192eca97: Download complete [2022-07-27T22:44:11.391Z] 2bbca73fdf42: Verifying Checksum [2022-07-27T22:44:11.391Z] 2bbca73fdf42: Download complete [2022-07-27T22:44:11.391Z] 46d945488cbd: Verifying Checksum [2022-07-27T22:44:11.391Z] 46d945488cbd: Download complete [2022-07-27T22:44:11.679Z] b3c136eddcbf: Verifying Checksum [2022-07-27T22:44:11.679Z] b3c136eddcbf: Download complete [2022-07-27T22:44:12.670Z] b3c136eddcbf: Pull complete [2022-07-27T22:44:12.670Z] 329c88fbcd65: Verifying Checksum [2022-07-27T22:44:12.670Z] 329c88fbcd65: Download complete [2022-07-27T22:44:12.945Z] c0a3192eca97: Pull complete [2022-07-27T22:44:13.550Z] a050256f5b6f: Pull complete [2022-07-27T22:44:13.826Z] 8a5474983e97: Verifying Checksum [2022-07-27T22:44:13.826Z] 8a5474983e97: Download complete [2022-07-27T22:44:14.422Z] 656be50a0ddc: Verifying Checksum [2022-07-27T22:44:14.422Z] 656be50a0ddc: Download complete [2022-07-27T22:44:29.535Z] 656be50a0ddc: Pull complete [2022-07-27T22:44:29.535Z] 2bbca73fdf42: Pull complete [2022-07-27T22:44:29.535Z] 46d945488cbd: Pull complete [2022-07-27T22:44:33.872Z] 8a5474983e97: Pull complete [2022-07-27T22:44:36.516Z] 329c88fbcd65: Pull complete [2022-07-27T22:44:36.516Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-27T22:44:36.516Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-27T22:44:36.516Z] ---> ff4287adb874 [2022-07-27T22:44:36.516Z] Step 3/11 : ARG MAKE=make build [2022-07-27T22:44:38.500Z] ---> Running in 64bf1bd71fb9 [2022-07-27T22:44:38.500Z] Removing intermediate container 64bf1bd71fb9 [2022-07-27T22:44:38.500Z] ---> ddfb0304cd1b [2022-07-27T22:44:38.500Z] Step 4/11 : WORKDIR /device-sdk-go [2022-07-27T22:44:38.500Z] ---> Running in ee74261a2c10 [2022-07-27T22:44:38.777Z] Removing intermediate container ee74261a2c10 [2022-07-27T22:44:38.777Z] ---> 78d785e5c798 [2022-07-27T22:44:38.777Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-27T22:44:39.055Z] ---> Running in d12a48e6b2bc [2022-07-27T22:44:39.335Z] Removing intermediate container d12a48e6b2bc [2022-07-27T22:44:39.335Z] ---> c15b0822621e [2022-07-27T22:44:39.335Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-27T22:44:39.335Z] ---> Running in 2e50c667a726 [2022-07-27T22:44:41.331Z] Removing intermediate container 2e50c667a726 [2022-07-27T22:44:41.331Z] ---> 927ffbf4960a [2022-07-27T22:44:41.331Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-27T22:44:41.331Z] ---> Running in eac6b21e72df [2022-07-27T22:44:42.313Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-27T22:44:43.290Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-27T22:44:43.887Z] OK: 221 MiB in 51 packages [2022-07-27T22:44:44.883Z] Removing intermediate container eac6b21e72df [2022-07-27T22:44:44.883Z] ---> c92668d0174a [2022-07-27T22:44:44.883Z] Step 8/11 : COPY go.mod vendor* ./ [2022-07-27T22:44:45.484Z] ---> 70abe0ce5617 [2022-07-27T22:44:45.484Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-27T22:44:45.484Z] ---> Running in 1aa1a0447f5f [2022-07-27T22:45:32.500Z] Removing intermediate container 1aa1a0447f5f [2022-07-27T22:45:32.500Z] ---> 3be40b020d21 [2022-07-27T22:45:32.500Z] Step 10/11 : COPY . . [2022-07-27T22:45:32.500Z] ---> 1bbd78e1354b [2022-07-27T22:45:32.500Z] Step 11/11 : RUN ${MAKE} [2022-07-27T22:45:32.500Z] ---> Running in b1da266a3a15 [2022-07-27T22:45:33.482Z] noop [2022-07-27T22:45:34.086Z] Removing intermediate container b1da266a3a15 [2022-07-27T22:45:34.086Z] ---> 1fea06a7cccd [2022-07-27T22:45:34.086Z] Successfully built 1fea06a7cccd [2022-07-27T22:45:34.086Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T22:45:34.458Z] + docker inspect -f . ci-base-image-arm64 [2022-07-27T22:45:34.458Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T22:45:34.694Z] prd-ubuntu20.04-docker-arm64-4c-16g-21334 does not seem to be running inside a container [2022-07-27T22:45:34.777Z] $ 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 ******** ci-base-image-arm64 cat [2022-07-27T22:45:36.021Z] $ docker top a5c0d3ebf68490f6e6b7e3cb45d56cc6f1c461f2331aef6af673494f26e9f4fd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-27T22:45:36.919Z] + go version [2022-07-27T22:45:36.919Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-27T22:45:36.947Z] $ docker stop --time=1 a5c0d3ebf68490f6e6b7e3cb45d56cc6f1c461f2331aef6af673494f26e9f4fd [2022-07-27T22:45:38.558Z] $ docker rm -f a5c0d3ebf68490f6e6b7e3cb45d56cc6f1c461f2331aef6af673494f26e9f4fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T22:45:39.199Z] + docker inspect -f . ci-base-image-arm64 [2022-07-27T22:45:39.199Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T22:45:39.441Z] prd-ubuntu20.04-docker-arm64-4c-16g-21334 does not seem to be running inside a container [2022-07-27T22:45:39.532Z] $ 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 ******** ci-base-image-arm64 cat [2022-07-27T22:45:40.816Z] $ docker top 709fa1ec12ca5a8889a44d37697abc4b6b9fccb3dab98c1cfa29a14d8fc3fcef -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-27T22:45:41.730Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2022-07-27T22:45:42.419Z] + make test [2022-07-27T22:45:42.420Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-07-27T22:46:14.817Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-07-27T22:47:51.694Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-07-27T22:47:51.694Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-07-27T22:47:51.694Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-07-27T22:48:00.012Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.446s coverage: 23.7% of statements [2022-07-27T22:48:00.012Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-07-27T22:48:00.012Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.270s coverage: 27.6% of statements [2022-07-27T22:48:00.012Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.293s coverage: 78.9% of statements [2022-07-27T22:48:00.012Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.301s coverage: 10.8% of statements [2022-07-27T22:48:03.446Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.403s coverage: 60.0% of statements [2022-07-27T22:48:03.446Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-07-27T22:48:03.446Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-07-27T22:48:06.098Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.388s coverage: 34.8% of statements [2022-07-27T22:48:06.098Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-07-27T22:48:06.378Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.308s coverage: 85.4% of statements [2022-07-27T22:48:06.378Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-07-27T22:48:06.378Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-07-27T22:48:09.813Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.411s coverage: 65.1% of statements [2022-07-27T22:48:09.813Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-07-27T22:48:09.813Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-07-27T22:48:11.802Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.998s coverage: 89.2% of statements [2022-07-27T22:48:11.802Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-07-27T22:48:12.782Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.233s coverage: 4.9% of statements [2022-07-27T22:48:12.782Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-07-27T22:48:13.374Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-27T22:48:13.374Z] GO111MODULE=on go vet ./... [2022-07-27T22:49:35.213Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-27T22:49:35.213Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-27T22:49:35.213Z] ./bin/test-attribution-txt.sh [2022-07-27T22:49:35.213Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-07-27T22:49:35.213Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-07-27T22:49:35.213Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-07-27T22:49:35.213Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-07-27T22:49:35.213Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-07-27T22:49:35.213Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-07-27T22:49:35.213Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-07-27T22:49:35.235Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-27T22:49:35.254Z] $ docker stop --time=1 709fa1ec12ca5a8889a44d37697abc4b6b9fccb3dab98c1cfa29a14d8fc3fcef [2022-07-27T22:49:37.085Z] $ docker rm -f 709fa1ec12ca5a8889a44d37697abc4b6b9fccb3dab98c1cfa29a14d8fc3fcef [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-27T22:49:38.461Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-27T22:49:38.489Z] Warning: overwriting stash ‘coverage-report’ [2022-07-27T22:49:39.094Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-27T22:49:39.493Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-27T22:49:39.837Z] + ls -al . [2022-07-27T22:49:39.837Z] total 296 [2022-07-27T22:49:39.837Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 27 22:45 . [2022-07-27T22:49:39.837Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 22:43 .. [2022-07-27T22:49:39.837Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 27 22:43 .dockerignore [2022-07-27T22:49:39.837Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 22:43 .git [2022-07-27T22:49:39.837Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 22:43 .github [2022-07-27T22:49:39.837Z] -rw-rw-r-- 1 jenkins jenkins 131 Jul 27 22:43 .gitignore [2022-07-27T22:49:39.837Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 27 22:43 .golangci.yml [2022-07-27T22:49:39.837Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jul 27 22:43 CHANGELOG.md [2022-07-27T22:49:39.837Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 27 22:43 GOVERNANCE.md [2022-07-27T22:49:39.837Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 27 22:43 Jenkinsfile [2022-07-27T22:49:39.837Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 27 22:43 LICENSE [2022-07-27T22:49:39.837Z] -rw-rw-r-- 1 jenkins jenkins 2002 Jul 27 22:43 Makefile [2022-07-27T22:49:39.837Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 27 22:43 OWNERS.md [2022-07-27T22:49:39.837Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jul 27 22:43 README.md [2022-07-27T22:49:39.837Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 22:41 VERSION [2022-07-27T22:49:39.837Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 22:43 bin [2022-07-27T22:49:39.837Z] -rw-r--r-- 1 jenkins jenkins 130803 Jul 27 22:48 coverage.out [2022-07-27T22:49:39.837Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 27 22:43 example [2022-07-27T22:49:39.837Z] -rw-rw-r-- 1 jenkins jenkins 3553 Jul 27 22:43 go.mod [2022-07-27T22:49:39.837Z] -rw-rw-r-- 1 jenkins jenkins 36743 Jul 27 22:43 go.sum [2022-07-27T22:49:39.837Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 27 22:43 internal [2022-07-27T22:49:39.837Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 22:43 openapi [2022-07-27T22:49:39.837Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 27 22:43 pkg [2022-07-27T22:49:39.837Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 22:43 snap [2022-07-27T22:49:39.837Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 27 22:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T22:49:40.192Z] + 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=1f05d8d7579188a8fbfccf07c9a7d7f37c737a48 --label arch=arm64 --label version=0.0.0 . [2022-07-27T22:49:40.473Z] Sending build context to Docker daemon 5.387MB [2022-07-27T22:49:40.746Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-27T22:49:40.746Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-27T22:49:40.746Z] ---> 1fea06a7cccd [2022-07-27T22:49:40.746Z] Step 3/25 : ARG MAKE=make build [2022-07-27T22:49:40.746Z] ---> Running in c84848809ec3 [2022-07-27T22:49:41.024Z] Removing intermediate container c84848809ec3 [2022-07-27T22:49:41.024Z] ---> 129f45c11c4e [2022-07-27T22:49:41.024Z] Step 4/25 : WORKDIR /device-sdk-go [2022-07-27T22:49:41.024Z] ---> Running in 97ed6472d4ce [2022-07-27T22:49:41.641Z] Removing intermediate container 97ed6472d4ce [2022-07-27T22:49:41.641Z] ---> b09bccc5bd8e [2022-07-27T22:49:41.641Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-27T22:49:41.641Z] ---> Running in c696cd73e77b [2022-07-27T22:49:41.927Z] Removing intermediate container c696cd73e77b [2022-07-27T22:49:41.927Z] ---> 1a8cd45775b3 [2022-07-27T22:49:41.927Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-27T22:49:41.927Z] ---> Running in bf168cf7f503 [2022-07-27T22:49:43.365Z] Removing intermediate container bf168cf7f503 [2022-07-27T22:49:43.365Z] ---> 43c65a920982 [2022-07-27T22:49:43.365Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-27T22:49:43.652Z] ---> Running in 93c8598e1dc7 [2022-07-27T22:49:44.635Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-27T22:49:45.615Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-27T22:49:46.212Z] OK: 221 MiB in 51 packages [2022-07-27T22:49:47.200Z] Removing intermediate container 93c8598e1dc7 [2022-07-27T22:49:47.200Z] ---> c2cb4f6e85d5 [2022-07-27T22:49:47.200Z] Step 8/25 : COPY go.mod vendor* ./ [2022-07-27T22:49:47.475Z] ---> 55655bb77e73 [2022-07-27T22:49:47.475Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-27T22:49:47.759Z] ---> Running in 5d55ca56842a [2022-07-27T22:49:49.739Z] Removing intermediate container 5d55ca56842a [2022-07-27T22:49:49.739Z] ---> c4d25321ce21 [2022-07-27T22:49:49.739Z] Step 10/25 : COPY . . [2022-07-27T22:49:50.723Z] ---> 35973e530c37 [2022-07-27T22:49:50.723Z] Step 11/25 : RUN ${MAKE} [2022-07-27T22:49:50.723Z] ---> Running in bf53d0b74fe2 [2022-07-27T22:49:51.707Z] 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-27T22:51:58.601Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-07-27T22:51:58.601Z] Removing intermediate container bf53d0b74fe2 [2022-07-27T22:51:58.601Z] ---> ad483d933aab [2022-07-27T22:51:58.601Z] Step 12/25 : FROM alpine:3.16 [2022-07-27T22:51:58.601Z] 3.16: Pulling from library/alpine [2022-07-27T22:51:58.601Z] f97344484467: Pulling fs layer [2022-07-27T22:51:58.601Z] f97344484467: Verifying Checksum [2022-07-27T22:51:58.601Z] f97344484467: Download complete [2022-07-27T22:51:58.601Z] f97344484467: Pull complete [2022-07-27T22:51:58.601Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-07-27T22:51:58.601Z] Status: Downloaded newer image for alpine:3.16 [2022-07-27T22:51:58.601Z] ---> 3d81c46cd875 [2022-07-27T22:51:58.601Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-27T22:51:58.601Z] ---> Running in dc24ab9e53d0 [2022-07-27T22:51:58.601Z] Removing intermediate container dc24ab9e53d0 [2022-07-27T22:51:58.601Z] ---> 0570b7e4b111 [2022-07-27T22:51:58.601Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-27T22:51:58.601Z] ---> Running in 6ee8f29a231d [2022-07-27T22:51:58.601Z] Removing intermediate container 6ee8f29a231d [2022-07-27T22:51:58.601Z] ---> 44c580ff5e7b [2022-07-27T22:51:58.601Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-07-27T22:51:58.601Z] ---> Running in 2545f6a9ec14 [2022-07-27T22:51:58.601Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-27T22:51:58.601Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-27T22:51:58.601Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-07-27T22:51:58.601Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-27T22:51:58.873Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-27T22:51:58.873Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-27T22:51:58.873Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-27T22:51:59.147Z] Executing busybox-1.35.0-r15.trigger [2022-07-27T22:51:59.147Z] OK: 8 MiB in 19 packages [2022-07-27T22:52:00.153Z] Removing intermediate container 2545f6a9ec14 [2022-07-27T22:52:00.153Z] ---> d0d64cfaf8d2 [2022-07-27T22:52:00.153Z] Step 16/25 : WORKDIR / [2022-07-27T22:52:00.153Z] ---> Running in 62154f93e9fe [2022-07-27T22:52:00.427Z] Removing intermediate container 62154f93e9fe [2022-07-27T22:52:00.428Z] ---> 3527d7cb2e9f [2022-07-27T22:52:00.428Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-07-27T22:52:01.027Z] ---> a4a14ad6428f [2022-07-27T22:52:01.027Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-07-27T22:52:02.472Z] ---> adde694f5e7b [2022-07-27T22:52:02.472Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-07-27T22:52:03.070Z] ---> 0c3eeced9127 [2022-07-27T22:52:03.070Z] Step 20/25 : EXPOSE 59999 [2022-07-27T22:52:03.070Z] ---> Running in a0146c846299 [2022-07-27T22:52:03.345Z] Removing intermediate container a0146c846299 [2022-07-27T22:52:03.345Z] ---> a381bff576ab [2022-07-27T22:52:03.345Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-07-27T22:52:03.345Z] ---> Running in 00ed9751d844 [2022-07-27T22:52:03.620Z] Removing intermediate container 00ed9751d844 [2022-07-27T22:52:03.620Z] ---> 6f026302213f [2022-07-27T22:52:03.620Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-27T22:52:03.620Z] ---> Running in 15c00db4048a [2022-07-27T22:52:04.226Z] Removing intermediate container 15c00db4048a [2022-07-27T22:52:04.226Z] ---> 4540525b57b1 [2022-07-27T22:52:04.226Z] Step 23/25 : LABEL arch=arm64 [2022-07-27T22:52:04.226Z] ---> Running in e53ae5a953b1 [2022-07-27T22:52:04.500Z] Removing intermediate container e53ae5a953b1 [2022-07-27T22:52:04.500Z] ---> cd1b84dc5cf2 [2022-07-27T22:52:04.500Z] Step 24/25 : LABEL git_sha=1f05d8d7579188a8fbfccf07c9a7d7f37c737a48 [2022-07-27T22:52:04.500Z] ---> Running in 412f03dc116b [2022-07-27T22:52:04.778Z] Removing intermediate container 412f03dc116b [2022-07-27T22:52:04.778Z] ---> e3745ea3c132 [2022-07-27T22:52:04.778Z] Step 25/25 : LABEL version=0.0.0 [2022-07-27T22:52:04.778Z] ---> Running in a60adc248dee [2022-07-27T22:52:05.052Z] Removing intermediate container a60adc248dee [2022-07-27T22:52:05.052Z] ---> 9f5ab13fcb5b [2022-07-27T22:52:05.052Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-27T22:52:05.326Z] Successfully built 9f5ab13fcb5b [2022-07-27T22:52:05.326Z] 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-27T22:52:05.803Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-27T22:52:05.804Z] [2022-07-27T22:52:05.804Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T22:52:06.159Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-27T22:52:06.433Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-27T22:52:06.433Z] 8998bd30e6a1: Pulling fs layer [2022-07-27T22:52:06.433Z] 04944245beec: Pulling fs layer [2022-07-27T22:52:06.433Z] 699f458cf7ca: Pulling fs layer [2022-07-27T22:52:06.433Z] 765212b225bb: Pulling fs layer [2022-07-27T22:52:06.433Z] f23df028b6ca: Pulling fs layer [2022-07-27T22:52:06.433Z] d65c8cfc05b1: Pulling fs layer [2022-07-27T22:52:06.433Z] 2437ff75d9bd: Pulling fs layer [2022-07-27T22:52:06.433Z] 765212b225bb: Waiting [2022-07-27T22:52:06.433Z] f23df028b6ca: Waiting [2022-07-27T22:52:06.433Z] d65c8cfc05b1: Waiting [2022-07-27T22:52:06.433Z] 2437ff75d9bd: Waiting [2022-07-27T22:52:06.433Z] 04944245beec: Verifying Checksum [2022-07-27T22:52:06.433Z] 04944245beec: Download complete [2022-07-27T22:52:06.433Z] 765212b225bb: Verifying Checksum [2022-07-27T22:52:06.433Z] 765212b225bb: Download complete [2022-07-27T22:52:06.433Z] f23df028b6ca: Verifying Checksum [2022-07-27T22:52:06.433Z] f23df028b6ca: Download complete [2022-07-27T22:52:06.433Z] d65c8cfc05b1: Verifying Checksum [2022-07-27T22:52:06.433Z] d65c8cfc05b1: Download complete [2022-07-27T22:52:06.709Z] 699f458cf7ca: Download complete [2022-07-27T22:52:06.982Z] 8998bd30e6a1: Verifying Checksum [2022-07-27T22:52:06.982Z] 8998bd30e6a1: Download complete [2022-07-27T22:52:09.609Z] 2437ff75d9bd: Verifying Checksum [2022-07-27T22:52:09.609Z] 2437ff75d9bd: Download complete [2022-07-27T22:52:11.597Z] 8998bd30e6a1: Pull complete [2022-07-27T22:52:11.874Z] 04944245beec: Pull complete [2022-07-27T22:52:13.313Z] 699f458cf7ca: Pull complete [2022-07-27T22:52:13.313Z] 765212b225bb: Pull complete [2022-07-27T22:52:14.310Z] f23df028b6ca: Pull complete [2022-07-27T22:52:14.588Z] d65c8cfc05b1: Pull complete [2022-07-27T22:52:29.692Z] 2437ff75d9bd: Pull complete [2022-07-27T22:52:29.692Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-27T22:52:29.692Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-27T22:52:29.692Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T22:52:29.960Z] prd-ubuntu20.04-docker-arm64-4c-16g-21334 does not seem to be running inside a container [2022-07-27T22:52:30.051Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-27T22:52:32.652Z] $ docker top cd7a286793d5dec51be5af68db6b3981693f18f670867460bc205f42d8ec317b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-27T22:52:33.566Z] ---> job-cost.sh [2022-07-27T22:52:33.566Z] lf-activate-venv: SKIPPING [2022-07-27T22:52:33.566Z] INFO: No Stack... [2022-07-27T22:52:34.160Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-27T22:52:35.136Z] INFO: Archiving Costs [Pipeline] sh [2022-07-27T22:52:35.800Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2022-07-27T22:52:35.800Z] + cut -d, -f6 [Pipeline] lock [2022-07-27T22:52:35.865Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1196-2-stack-cost] [2022-07-27T22:52:35.872Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-2-stack-cost] did not exist. Created. [2022-07-27T22:52:35.872Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1196-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-27T22:52:36.559Z] /w/workspace/device-sdk-go/2@tmp/durable-2cdf0da2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-27T22:52:37.251Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-27T22:52:37.272Z] Warning: overwriting stash ‘stack-cost’ [2022-07-27T22:52:37.333Z] Stashed 1 file(s) [Pipeline] } [2022-07-27T22:52:37.341Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-27T22:52:37.367Z] $ docker stop --time=1 cd7a286793d5dec51be5af68db6b3981693f18f670867460bc205f42d8ec317b [2022-07-27T22:52:38.895Z] $ docker rm -f cd7a286793d5dec51be5af68db6b3981693f18f670867460bc205f42d8ec317b [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-27T22:52:39.362Z] provisioning config files... [2022-07-27T22:52:39.378Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config7474017100488878489tmp [Pipeline] { [Pipeline] sh [2022-07-27T22:52:39.719Z] + set +x [2022-07-27T22:52:39.719Z] + curl -s https://codecov.io/bash [2022-07-27T22:52:39.719Z] + bash -s -- [2022-07-27T22:52:39.719Z] [2022-07-27T22:52:39.719Z] _____ _ [2022-07-27T22:52:39.719Z] / ____| | | [2022-07-27T22:52:39.719Z] | | ___ __| | ___ ___ _____ __ [2022-07-27T22:52:39.719Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-27T22:52:39.719Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-27T22:52:39.719Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-27T22:52:39.719Z] Bash-1.0.6 [2022-07-27T22:52:39.719Z] [2022-07-27T22:52:39.719Z] [2022-07-27T22:52:39.719Z] ==> git version 2.25.1 found [2022-07-27T22:52:39.719Z] ==> 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-27T22:52:39.719Z] Release-Date: 2020-01-08 [2022-07-27T22:52:39.719Z] 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-27T22:52:39.719Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-27T22:52:39.719Z] ==> Jenkins CI detected. [2022-07-27T22:52:39.719Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1196 [2022-07-27T22:52:39.719Z] project root: . [2022-07-27T22:52:39.719Z] --> token set from env [2022-07-27T22:52:39.719Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-27T22:52:39.719Z] ==> Running gcov in . (disable via -X gcov) [2022-07-27T22:52:39.719Z] ==> Python coveragepy not found [2022-07-27T22:52:39.719Z] ==> Searching for coverage reports in: [2022-07-27T22:52:39.719Z] + . [2022-07-27T22:52:39.719Z] -> Found 1 reports [2022-07-27T22:52:39.719Z] ==> Detecting git/mercurial file structure [2022-07-27T22:52:39.719Z] ==> Reading reports [2022-07-27T22:52:39.719Z] + ./coverage.out bytes=130803 [2022-07-27T22:52:39.719Z] ==> Appending adjustments [2022-07-27T22:52:39.719Z] https://docs.codecov.io/docs/fixing-reports [2022-07-27T22:52:39.979Z] + Found adjustments [2022-07-27T22:52:40.239Z] ==> Gzipping contents [2022-07-27T22:52:40.239Z] 20K /tmp/codecov.E0icGV.gz [2022-07-27T22:52:40.239Z] ==> Uploading reports [2022-07-27T22:52:40.239Z] url: https://codecov.io [2022-07-27T22:52:40.239Z] query: branch=PR-1196&commit=b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1196%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1196&job=&cmd_args= [2022-07-27T22:52:40.239Z] -> Pinging Codecov [2022-07-27T22:52:40.239Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1196&commit=b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1196%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1196&job=&cmd_args= [2022-07-27T22:52:40.498Z] -> Uploading to [2022-07-27T22:52:40.499Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-27/7E55EF52A471D76F132DFD9A03CDDE97/b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576/424bbb39-81de-4132-9a2c-c6c2cd842d82.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220727%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220727T225240Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6641b92f92634a848f9cfc84fe98641a8d525995f56937a559a60e2b94285644 [2022-07-27T22:52:40.499Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-27T22:52:40.499Z] Dload Upload Total Spent Left Speed [2022-07-27T22:52:40.758Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17249 0 0 100 17249 0 72780 --:--:-- --:--:-- --:--:-- 72780 [2022-07-27T22:52:40.758Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576 [Pipeline] } [2022-07-27T22:52:40.771Z] 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-27T22:52:41.511Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives ] [2022-07-27T22:52:41.512Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives [2022-07-27T22:52:41.512Z] total 16 [2022-07-27T22:52:41.512Z] drwxr-xr-x 3 root root 4096 Jul 27 22:43 . [2022-07-27T22:52:41.512Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 27 22:43 .. [2022-07-27T22:52:41.512Z] drwxr-xr-x 2 root root 4096 Jul 27 22:43 cost [2022-07-27T22:52:41.512Z] -rw-r--r-- 1 root root 86 Jul 27 22:43 cost.csv [2022-07-27T22:52:41.512Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives [2022-07-27T22:52:41.512Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives [2022-07-27T22:52:41.512Z] total 16 [2022-07-27T22:52:41.512Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 22:43 . [2022-07-27T22:52:41.512Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 27 22:43 .. [2022-07-27T22:52:41.512Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 27 22:43 cost [2022-07-27T22:52:41.512Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 27 22:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-27T22:52:41.819Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T22:52:42.686Z] ---> package-listing.sh [2022-07-27T22:52:42.686Z] ++ facter osfamily [2022-07-27T22:52:42.686Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-27T22:52:42.948Z] + OS_FAMILY=debian [2022-07-27T22:52:42.948Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1196 [2022-07-27T22:52:42.948Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-27T22:52:42.948Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-27T22:52:42.948Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-27T22:52:42.948Z] + PACKAGES=/tmp/packages_start.txt [2022-07-27T22:52:42.948Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1196 ']' [2022-07-27T22:52:42.948Z] + PACKAGES=/tmp/packages_end.txt [2022-07-27T22:52:42.948Z] + case "${OS_FAMILY}" in [2022-07-27T22:52:42.948Z] + dpkg -l [2022-07-27T22:52:42.948Z] + grep '^ii' [2022-07-27T22:52:42.948Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-27T22:52:42.948Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-27T22:52:42.948Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-27T22:52:42.948Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1196 ']' [2022-07-27T22:52:42.948Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/ [2022-07-27T22:52:42.948Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/ [Pipeline] echo [2022-07-27T22:52:42.961Z] 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-1196/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-27T22:52:43.241Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T22:52:43.807Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-27T22:52:43.808Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T22:52:43.890Z] prd-ubuntu20.04-docker-8c-8g-21333 does not seem to be running inside a container [2022-07-27T22:52:43.927Z] $ 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-1196/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-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-27T22:52:44.148Z] $ docker top 51083054f0c98940c121661d4b0e9ec5634768246217d32e2fa7175b6f5d4ee1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-27T22:52:44.507Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-27T22:52:44.797Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-27T22:52:45.086Z] + ls /var/log/sa-host [2022-07-27T22:52:45.087Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-27T22:52:45.231Z] provisioning config files... [2022-07-27T22:52:45.241Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config8946089968526738598tmp [Pipeline] { [Pipeline] echo [2022-07-27T22:52:45.253Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T22:52:45.538Z] ---> create-netrc.sh [Pipeline] } [2022-07-27T22:52:45.546Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-27T22:52:45.887Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-27T22:52:45.896Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T22:52:46.181Z] ---> sudo-logs.sh [2022-07-27T22:52:46.181Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-27T22:52:46.206Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T22:52:46.492Z] ---> job-cost.sh [2022-07-27T22:52:46.492Z] lf-activate-venv: SKIPPING [2022-07-27T22:52:46.492Z] DEBUG: total: 0.2199999988079071 [2022-07-27T22:52:46.492Z] INFO: Retrieving Stack Cost... [2022-07-27T22:52:47.063Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-27T22:52:47.324Z] INFO: Archiving Costs [Pipeline] echo [2022-07-27T22:52:47.336Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T22:52:47.628Z] ---> logs-deploy.sh [2022-07-27T22:52:47.628Z] lf-activate-venv: SKIPPING [2022-07-27T22:52:47.628Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1196/2 [2022-07-27T22:52:47.628Z] INFO: archiving workspace using pattern(s): [2022-07-27T22:52:48.572Z] Archives upload complete. [2022-07-27T22:52:48.572Z] INFO: archiving logs to Nexus