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+7128670c60762a554b6733602f52baa10dc88de3 (08c6018bdd7a2155bf87dae0f2421adc1aa11057) 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-ssh13037842077913607852.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh3018763553820877475.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh7387868206016868539.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh5873576734558130424.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-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-ssh12140480045797447592.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/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 Running on prd-ubuntu20.04-docker-8c-8g-28365 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 7128670c60762a554b6733602f52baa10dc88de3 into PR head commit e9867ceccc81c4680e14fc13c8919f6907f05772 Merge succeeded, producing 92f20f0e717187d38edfc08eb4f7c6185e33de43 Checking out Revision 92f20f0e717187d38edfc08eb4f7c6185e33de43 (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 7128670c60762a554b6733602f52baa10dc88de3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 92f20f0e717187d38edfc08eb4f7c6185e33de43 # timeout=10 Commit message: "Merge commit '7128670c60762a554b6733602f52baa10dc88de3' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-06T22:40:27.570Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-06T22:40:27.627Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-06T22:40:27.639Z] ========================================================= [2022-09-06T22:40:27.639Z] EdgeX Global Pipelines Version Info [2022-09-06T22:40:27.639Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 5aeb5076a0732eaacdc86be0c405dc4574b4fc10 # timeout=10 [2022-09-06T22:40:28.396Z] ------------------- [2022-09-06T22:40:28.396Z] stable info: [2022-09-06T22:40:28.396Z] ------------------- [2022-09-06T22:40:28.396Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-06T22:40:28.396Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-06T22:40:28.396Z] Message: update stable to v1.0.239 [2022-09-06T22:40:28.966Z] ------------------- [2022-09-06T22:40:28.966Z] experimental info: [2022-09-06T22:40:28.966Z] ------------------- [2022-09-06T22:40:28.966Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-06T22:40:28.966Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-06T22:40:28.966Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-06T22:40:29.128Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-09-06T22:40:29.140Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-09-06T22:40:29.154Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-06T22:40:29.168Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-06T22:40:29.183Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-06T22:40:29.198Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-06T22:40:29.209Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-06T22:40:29.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-09-06T22:40:29.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-06T22:40:29.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-06T22:40:29.265Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-06T22:40:29.284Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-09-06T22:40:29.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-06T22:40:29.313Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-06T22:40:29.321Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-06T22:40:29.329Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-09-06T22:40:29.337Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-06T22:40:29.345Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-06T22:40:29.354Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-06T22:40:29.362Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-06T22:40:29.370Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-06T22:40:29.378Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-09-06T22:40:29.389Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-06T22:40:29.397Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-06T22:40:29.408Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-06T22:40:29.416Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-06T22:40:29.425Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-06T22:40:29.433Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1196 [Pipeline] echo [2022-09-06T22:40:29.441Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1196 [Pipeline] echo [2022-09-06T22:40:29.452Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1196 [Pipeline] echo [2022-09-06T22:40:29.467Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 92f20f0e717187d38edfc08eb4f7c6185e33de43 [Pipeline] echo [2022-09-06T22:40:29.478Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 92f20f0 [Pipeline] echo [2022-09-06T22:40:29.490Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-06T22:40:29.529Z] provisioning config files... [2022-09-06T22:40:29.541Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config8141858697223150013tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-06T22:40:29.843Z] ---> docker-login.sh [2022-09-06T22:40:29.843Z] nexus3.edgexfoundry.org:10001 [2022-09-06T22:40:30.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T22:40:30.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T22:40:30.365Z] Configure a credential helper to remove this warning. See [2022-09-06T22:40:30.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T22:40:30.365Z] [2022-09-06T22:40:30.365Z] Login Succeeded [2022-09-06T22:40:30.365Z] nexus3.edgexfoundry.org:10002 [2022-09-06T22:40:30.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T22:40:30.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T22:40:30.630Z] Configure a credential helper to remove this warning. See [2022-09-06T22:40:30.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T22:40:30.630Z] [2022-09-06T22:40:30.630Z] Login Succeeded [2022-09-06T22:40:30.630Z] nexus3.edgexfoundry.org:10003 [2022-09-06T22:40:30.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T22:40:30.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T22:40:30.630Z] Configure a credential helper to remove this warning. See [2022-09-06T22:40:30.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T22:40:30.630Z] [2022-09-06T22:40:30.630Z] Login Succeeded [2022-09-06T22:40:30.630Z] nexus3.edgexfoundry.org:10004 [2022-09-06T22:40:30.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T22:40:30.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T22:40:30.890Z] Configure a credential helper to remove this warning. See [2022-09-06T22:40:30.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T22:40:30.890Z] [2022-09-06T22:40:30.890Z] Login Succeeded [2022-09-06T22:40:30.890Z] docker.io [2022-09-06T22:40:30.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T22:40:31.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T22:40:31.157Z] Configure a credential helper to remove this warning. See [2022-09-06T22:40:31.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T22:40:31.157Z] [2022-09-06T22:40:31.157Z] Login Succeeded [2022-09-06T22:40:31.157Z] ---> docker-login.sh ends [Pipeline] } [2022-09-06T22:40:31.164Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-06T22:40:31.610Z] + git rev-list -1 --merges 92f20f0e717187d38edfc08eb4f7c6185e33de43~1..92f20f0e717187d38edfc08eb4f7c6185e33de43 [Pipeline] echo [2022-09-06T22:40:31.636Z] -----------> git rev-list -1 --merges 92f20f0e717187d38edfc08eb4f7c6185e33de43~1..92f20f0e717187d38edfc08eb4f7c6185e33de43 92f20f0e717187d38edfc08eb4f7c6185e33de43 [2022-09-06T22:40:31.636Z] 92f20f0e717187d38edfc08eb4f7c6185e33de43 [false] [Pipeline] sh [2022-09-06T22:40:31.919Z] + git log --format=format:%s -1 92f20f0e717187d38edfc08eb4f7c6185e33de43 [Pipeline] echo [2022-09-06T22:40:31.936Z] ========================================================= [2022-09-06T22:40:31.936Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-06T22:40:31.936Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-06T22:40:32.278Z] + git log --format=format:%s -1 92f20f0e717187d38edfc08eb4f7c6185e33de43 [Pipeline] echo [2022-09-06T22:40:32.289Z] [semverPrep] GIT_COMMIT: 92f20f0e717187d38edfc08eb4f7c6185e33de43, Commit Message: Merge commit '7128670c60762a554b6733602f52baa10dc88de3' into HEAD [Pipeline] echo [2022-09-06T22:40:32.299Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-06T22:40:32.666Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-06T22:40:32.666Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-06T22:40:32.666Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-06T22:40:32.666Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-06T22:40:32.666Z] + + sudo tee -aecho /etc/ssh/ssh_known_hosts [2022-09-06T22:40:32.666Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-06T22:40:32.666Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:40:33.084Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-06T22:40:33.084Z] [2022-09-06T22:40:33.084Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:40:33.394Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-06T22:40:33.394Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-06T22:40:33.394Z] b85a868b505f: Pulling fs layer [2022-09-06T22:40:33.394Z] e2be974225ed: Pulling fs layer [2022-09-06T22:40:33.394Z] 339a4e72a1f5: Pulling fs layer [2022-09-06T22:40:33.394Z] 988bab9f4d93: Pulling fs layer [2022-09-06T22:40:33.394Z] 1469e6f7b9e6: Pulling fs layer [2022-09-06T22:40:33.394Z] eaf3925da568: Pulling fs layer [2022-09-06T22:40:33.394Z] bab4dde63d76: Pulling fs layer [2022-09-06T22:40:33.394Z] bde34c3a00c8: Pulling fs layer [2022-09-06T22:40:33.394Z] b352a97aabf1: Pulling fs layer [2022-09-06T22:40:33.394Z] 4872d77fe225: Pulling fs layer [2022-09-06T22:40:33.394Z] 5851b861e8e6: Pulling fs layer [2022-09-06T22:40:33.394Z] eaf3925da568: Waiting [2022-09-06T22:40:33.394Z] bab4dde63d76: Waiting [2022-09-06T22:40:33.394Z] bde34c3a00c8: Waiting [2022-09-06T22:40:33.394Z] b352a97aabf1: Waiting [2022-09-06T22:40:33.394Z] 5851b861e8e6: Waiting [2022-09-06T22:40:33.394Z] 988bab9f4d93: Waiting [2022-09-06T22:40:33.394Z] 1469e6f7b9e6: Waiting [2022-09-06T22:40:33.394Z] e2be974225ed: Verifying Checksum [2022-09-06T22:40:33.394Z] e2be974225ed: Download complete [2022-09-06T22:40:33.394Z] 988bab9f4d93: Verifying Checksum [2022-09-06T22:40:33.394Z] 988bab9f4d93: Download complete [2022-09-06T22:40:33.656Z] 1469e6f7b9e6: Verifying Checksum [2022-09-06T22:40:33.656Z] 1469e6f7b9e6: Download complete [2022-09-06T22:40:33.656Z] 339a4e72a1f5: Verifying Checksum [2022-09-06T22:40:33.656Z] 339a4e72a1f5: Download complete [2022-09-06T22:40:33.656Z] eaf3925da568: Verifying Checksum [2022-09-06T22:40:33.656Z] eaf3925da568: Download complete [2022-09-06T22:40:33.656Z] bde34c3a00c8: Verifying Checksum [2022-09-06T22:40:33.656Z] bde34c3a00c8: Download complete [2022-09-06T22:40:33.656Z] b352a97aabf1: Download complete [2022-09-06T22:40:33.656Z] 4872d77fe225: Verifying Checksum [2022-09-06T22:40:33.656Z] 4872d77fe225: Download complete [2022-09-06T22:40:33.656Z] 5851b861e8e6: Download complete [2022-09-06T22:40:33.656Z] b85a868b505f: Download complete [2022-09-06T22:40:33.917Z] bab4dde63d76: Verifying Checksum [2022-09-06T22:40:33.917Z] bab4dde63d76: Download complete [2022-09-06T22:40:34.854Z] b85a868b505f: Pull complete [2022-09-06T22:40:34.854Z] e2be974225ed: Pull complete [2022-09-06T22:40:35.422Z] 339a4e72a1f5: Pull complete [2022-09-06T22:40:35.422Z] 988bab9f4d93: Pull complete [2022-09-06T22:40:35.680Z] 1469e6f7b9e6: Pull complete [2022-09-06T22:40:35.938Z] eaf3925da568: Pull complete [2022-09-06T22:40:37.846Z] bab4dde63d76: Pull complete [2022-09-06T22:40:37.846Z] bde34c3a00c8: Pull complete [2022-09-06T22:40:37.846Z] b352a97aabf1: Pull complete [2022-09-06T22:40:37.846Z] 4872d77fe225: Pull complete [2022-09-06T22:40:37.846Z] 5851b861e8e6: Pull complete [2022-09-06T22:40:37.846Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-06T22:40:37.846Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-06T22:40:37.846Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T22:40:37.938Z] prd-ubuntu20.04-docker-8c-8g-28365 does not seem to be running inside a container [2022-09-06T22:40:37.971Z] $ 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-09-06T22:40:39.587Z] $ docker top 876686b767b1881ed7c947c29c83b2b147a4eeaffcc95a580b9519a99719ea8a -eo pid,comm [2022-09-06T22:40:39.655Z] 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-09-06T22:40:39.655Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-06T22:40:39.699Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-06T22:40:39.699Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-06T22:40:39.831Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-06T22:40:39.832Z] $ docker exec 876686b767b1881ed7c947c29c83b2b147a4eeaffcc95a580b9519a99719ea8a ssh-agent [2022-09-06T22:40:39.953Z] SSH_AUTH_SOCK=/tmp/ssh-to9q0nL6nQd3/agent.32 [2022-09-06T22:40:39.953Z] SSH_AGENT_PID=38 [2022-09-06T22:40:39.958Z] Running ssh-add (command line suppressed) [2022-09-06T22:40:40.067Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_1786922981351329601.key (/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_1786922981351329601.key) [2022-09-06T22:40:40.088Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-06T22:40:40.390Z] + git tag --points-at HEAD [Pipeline] } [2022-09-06T22:40:40.407Z] $ docker exec --env ******** --env ******** 876686b767b1881ed7c947c29c83b2b147a4eeaffcc95a580b9519a99719ea8a ssh-agent -k [2022-09-06T22:40:40.524Z] unset SSH_AUTH_SOCK; [2022-09-06T22:40:40.524Z] unset SSH_AGENT_PID; [2022-09-06T22:40:40.524Z] echo Agent pid 38 killed; [2022-09-06T22:40:40.536Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-06T22:40:40.557Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-06T22:40:40.557Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-06T22:40:40.707Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-06T22:40:40.709Z] $ docker exec 876686b767b1881ed7c947c29c83b2b147a4eeaffcc95a580b9519a99719ea8a ssh-agent [2022-09-06T22:40:40.841Z] SSH_AUTH_SOCK=/tmp/ssh-0yiOkr9yrcuG/agent.71 [2022-09-06T22:40:40.841Z] SSH_AGENT_PID=78 [2022-09-06T22:40:40.846Z] Running ssh-add (command line suppressed) [2022-09-06T22:40:40.955Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_4534927816490506946.key (/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_4534927816490506946.key) [2022-09-06T22:40:40.974Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-06T22:40:41.262Z] + git semver init [2022-09-06T22:40:41.524Z] 2022-09-06 22:40:41,474 [run_init] DEBUG init version:0.0.0 force:False [2022-09-06T22:40:41.524Z] 2022-09-06 22:40:41,475 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver [2022-09-06T22:40:41.524Z] 2022-09-06 22:40:41,475 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver [2022-09-06T22:40:41.524Z] 2022-09-06 22:40:41,475 [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-09-06T22:40:42.907Z] 2022-09-06 22:40:42,532 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.git/info/exclude [2022-09-06T22:40:42.907Z] 2022-09-06 22:40:42,533 [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-09-06T22:40:42.907Z] 2022-09-06 22:40:42,533 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 [2022-09-06T22:40:42.907Z] 2022-09-06 22:40:42,536 [execute] INFO git cat-file --batch-check [2022-09-06T22:40:42.907Z] 2022-09-06 22:40:42,537 [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-09-06T22:40:42.907Z] 2022-09-06 22:40:42,543 [execute] INFO git cat-file --batch [2022-09-06T22:40:42.907Z] 2022-09-06 22:40:42,543 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver, universal_newlines=False, shell=None, istream=) [2022-09-06T22:40:42.907Z] 2022-09-06 22:40:42,548 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 [2022-09-06T22:40:42.907Z] 0.0.0 [Pipeline] } [2022-09-06T22:40:42.917Z] $ docker exec --env ******** --env ******** 876686b767b1881ed7c947c29c83b2b147a4eeaffcc95a580b9519a99719ea8a ssh-agent -k [2022-09-06T22:40:43.024Z] unset SSH_AUTH_SOCK; [2022-09-06T22:40:43.025Z] unset SSH_AGENT_PID; [2022-09-06T22:40:43.025Z] echo Agent pid 78 killed; [2022-09-06T22:40:43.044Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-06T22:40:44.536Z] + git semver [Pipeline] } [2022-09-06T22:40:44.812Z] $ docker stop --time=1 876686b767b1881ed7c947c29c83b2b147a4eeaffcc95a580b9519a99719ea8a [2022-09-06T22:40:46.107Z] $ docker rm -f 876686b767b1881ed7c947c29c83b2b147a4eeaffcc95a580b9519a99719ea8a [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-06T22:40:46.464Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-06T22:40:46.694Z] Stashed 1 file(s) [Pipeline] echo [2022-09-06T22:40:46.697Z] [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-09-06T22:40:46.804Z] provisioning config files... [2022-09-06T22:40:46.813Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config1799856143470151764tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-06T22:40:47.106Z] ---> docker-login.sh [2022-09-06T22:40:47.106Z] nexus3.edgexfoundry.org:10001 [2022-09-06T22:40:47.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T22:40:47.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T22:40:47.106Z] Configure a credential helper to remove this warning. See [2022-09-06T22:40:47.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T22:40:47.106Z] [2022-09-06T22:40:47.106Z] Login Succeeded [2022-09-06T22:40:47.106Z] nexus3.edgexfoundry.org:10002 [2022-09-06T22:40:47.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T22:40:47.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T22:40:47.365Z] Configure a credential helper to remove this warning. See [2022-09-06T22:40:47.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T22:40:47.365Z] [2022-09-06T22:40:47.365Z] Login Succeeded [2022-09-06T22:40:47.365Z] nexus3.edgexfoundry.org:10003 [2022-09-06T22:40:47.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T22:40:47.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T22:40:47.365Z] Configure a credential helper to remove this warning. See [2022-09-06T22:40:47.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T22:40:47.366Z] [2022-09-06T22:40:47.366Z] Login Succeeded [2022-09-06T22:40:47.366Z] nexus3.edgexfoundry.org:10004 [2022-09-06T22:40:47.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T22:40:47.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T22:40:47.627Z] Configure a credential helper to remove this warning. See [2022-09-06T22:40:47.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T22:40:47.627Z] [2022-09-06T22:40:47.627Z] Login Succeeded [2022-09-06T22:40:47.627Z] docker.io [2022-09-06T22:40:47.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T22:40:47.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T22:40:47.890Z] Configure a credential helper to remove this warning. See [2022-09-06T22:40:47.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T22:40:47.890Z] [2022-09-06T22:40:47.890Z] Login Succeeded [2022-09-06T22:40:47.890Z] ---> docker-login.sh ends [Pipeline] } [2022-09-06T22:40:47.899Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-06T22:40:47.960Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-06T22:40:47.971Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-06T22:40:47.978Z] ========================================================= [2022-09-06T22:40:47.978Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-06T22:40:47.978Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:40:48.291Z] + 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-09-06T22:40:48.291Z] Sending build context to Docker daemon 9.82MB [2022-09-06T22:40:48.291Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-06T22:40:48.291Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-06T22:40:48.291Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-06T22:40:48.291Z] 2408cc74d12b: Pulling fs layer [2022-09-06T22:40:48.291Z] ea60b727a1ce: Pulling fs layer [2022-09-06T22:40:48.291Z] 30c4a7721957: Pulling fs layer [2022-09-06T22:40:48.291Z] 370296b7ddb6: Pulling fs layer [2022-09-06T22:40:48.291Z] 7c6cee850709: Pulling fs layer [2022-09-06T22:40:48.291Z] 39a5fcdaea64: Pulling fs layer [2022-09-06T22:40:48.291Z] d94ebbe4e438: Pulling fs layer [2022-09-06T22:40:48.291Z] bcfd1f05c69d: Pulling fs layer [2022-09-06T22:40:48.291Z] 59ccb84bbe0f: Pulling fs layer [2022-09-06T22:40:48.291Z] 370296b7ddb6: Waiting [2022-09-06T22:40:48.291Z] 7c6cee850709: Waiting [2022-09-06T22:40:48.291Z] 39a5fcdaea64: Waiting [2022-09-06T22:40:48.291Z] d94ebbe4e438: Waiting [2022-09-06T22:40:48.291Z] bcfd1f05c69d: Waiting [2022-09-06T22:40:48.291Z] 59ccb84bbe0f: Waiting [2022-09-06T22:40:48.557Z] 30c4a7721957: Verifying Checksum [2022-09-06T22:40:48.557Z] 30c4a7721957: Download complete [2022-09-06T22:40:48.557Z] ea60b727a1ce: Verifying Checksum [2022-09-06T22:40:48.557Z] ea60b727a1ce: Download complete [2022-09-06T22:40:48.557Z] 7c6cee850709: Verifying Checksum [2022-09-06T22:40:48.557Z] 7c6cee850709: Download complete [2022-09-06T22:40:48.557Z] 39a5fcdaea64: Download complete [2022-09-06T22:40:48.557Z] 2408cc74d12b: Download complete [2022-09-06T22:40:48.557Z] d94ebbe4e438: Download complete [2022-09-06T22:40:48.557Z] 2408cc74d12b: Pull complete [2022-09-06T22:40:48.833Z] ea60b727a1ce: Pull complete [2022-09-06T22:40:48.833Z] 30c4a7721957: Pull complete [2022-09-06T22:40:49.097Z] bcfd1f05c69d: Verifying Checksum [2022-09-06T22:40:49.357Z] 59ccb84bbe0f: Verifying Checksum [2022-09-06T22:40:49.357Z] 59ccb84bbe0f: Download complete [2022-09-06T22:40:49.357Z] 370296b7ddb6: Verifying Checksum [2022-09-06T22:40:49.357Z] 370296b7ddb6: Download complete [2022-09-06T22:40:53.551Z] 370296b7ddb6: Pull complete [2022-09-06T22:40:53.551Z] 7c6cee850709: Pull complete [2022-09-06T22:40:53.551Z] 39a5fcdaea64: Pull complete [2022-09-06T22:40:53.551Z] d94ebbe4e438: Pull complete [2022-09-06T22:40:55.461Z] bcfd1f05c69d: Pull complete [2022-09-06T22:40:56.408Z] 59ccb84bbe0f: Pull complete [2022-09-06T22:40:56.408Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-06T22:40:56.408Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-06T22:40:56.408Z] ---> a4fb48ad2a94 [2022-09-06T22:40:56.408Z] Step 3/11 : ARG MAKE=make build [2022-09-06T22:40:57.822Z] ---> Running in 99ad4d4686a6 [2022-09-06T22:40:58.082Z] Removing intermediate container 99ad4d4686a6 [2022-09-06T22:40:58.082Z] ---> 427042bfa8c4 [2022-09-06T22:40:58.082Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-06T22:40:58.082Z] ---> Running in 3f90a65d8d9a [2022-09-06T22:40:58.082Z] Removing intermediate container 3f90a65d8d9a [2022-09-06T22:40:58.082Z] ---> 6d6cd61d17af [2022-09-06T22:40:58.082Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-06T22:40:58.082Z] ---> Running in 70251d273376 [2022-09-06T22:40:58.082Z] Removing intermediate container 70251d273376 [2022-09-06T22:40:58.082Z] ---> 2ef4d8191c64 [2022-09-06T22:40:58.082Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-06T22:40:58.082Z] ---> Running in 22c38b4f5679 [2022-09-06T22:40:58.652Z] Removing intermediate container 22c38b4f5679 [2022-09-06T22:40:58.652Z] ---> 7d97e93d8014 [2022-09-06T22:40:58.652Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-06T22:40:58.912Z] ---> Running in 13af777eaf04 [2022-09-06T22:40:59.172Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-06T22:40:59.743Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-06T22:41:00.312Z] OK: 211 MiB in 51 packages [2022-09-06T22:41:00.573Z] Removing intermediate container 13af777eaf04 [2022-09-06T22:41:00.573Z] ---> bb3651831a47 [2022-09-06T22:41:00.573Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-06T22:41:00.573Z] ---> 869b7faf81bc [2022-09-06T22:41:00.573Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-06T22:41:00.573Z] ---> Running in f68200d220da [2022-09-06T22:41:01.776Z] Still waiting to schedule task [2022-09-06T22:41:01.776Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-06T22:41:15.476Z] Removing intermediate container f68200d220da [2022-09-06T22:41:15.476Z] ---> 6a6d4e6b3a83 [2022-09-06T22:41:15.476Z] Step 10/11 : COPY . . [2022-09-06T22:41:15.736Z] ---> 3d721a55e6cc [2022-09-06T22:41:15.736Z] Step 11/11 : RUN ${MAKE} [2022-09-06T22:41:16.046Z] ---> Running in 5b47d618fd97 [2022-09-06T22:41:16.327Z] noop [2022-09-06T22:41:16.619Z] Removing intermediate container 5b47d618fd97 [2022-09-06T22:41:16.619Z] ---> a86b42c9c70f [2022-09-06T22:41:16.619Z] Successfully built a86b42c9c70f [2022-09-06T22:41:16.619Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:41:16.952Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-06T22:41:16.952Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T22:41:17.032Z] prd-ubuntu20.04-docker-8c-8g-28365 does not seem to be running inside a container [2022-09-06T22:41:17.068Z] $ 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-09-06T22:41:17.458Z] $ docker top 2f678ba2f7ef5dba9a0eb2794d47a3a3bdb24a9a0f9051c6849aa99aa68978c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-06T22:41:17.819Z] + go version [2022-09-06T22:41:17.819Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-06T22:41:17.829Z] $ docker stop --time=1 2f678ba2f7ef5dba9a0eb2794d47a3a3bdb24a9a0f9051c6849aa99aa68978c2 [2022-09-06T22:41:19.130Z] $ docker rm -f 2f678ba2f7ef5dba9a0eb2794d47a3a3bdb24a9a0f9051c6849aa99aa68978c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:41:19.558Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-06T22:41:19.558Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T22:41:19.660Z] prd-ubuntu20.04-docker-8c-8g-28365 does not seem to be running inside a container [2022-09-06T22:41:19.694Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-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-09-06T22:41:20.132Z] $ docker top bf2ed68bda68d8c47c77dff2d8ef62fd50f0b2134a5c58d03e6be510e91b6715 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-06T22:41:20.492Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] fileExists [Pipeline] sh [2022-09-06T22:41:20.802Z] + make test [2022-09-06T22:41:20.802Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-06T22:41:27.380Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-06T22:41:42.272Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-06T22:41:42.272Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-06T22:41:42.272Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-06T22:41:42.272Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.090s coverage: 23.6% of statements [2022-09-06T22:41:42.272Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-06T22:41:42.272Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 27.6% of statements [2022-09-06T22:41:42.272Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.097s coverage: 78.9% of statements [2022-09-06T22:41:42.272Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.071s coverage: 10.8% of statements [2022-09-06T22:41:42.272Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.081s coverage: 60.0% of statements [2022-09-06T22:41:42.272Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-06T22:41:42.272Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-06T22:41:42.531Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.083s coverage: 34.8% of statements [2022-09-06T22:41:42.531Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-06T22:41:42.531Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.061s coverage: 85.4% of statements [2022-09-06T22:41:42.531Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-06T22:41:42.531Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-06T22:41:42.531Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.092s coverage: 65.1% of statements [2022-09-06T22:41:42.531Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-06T22:41:42.531Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-06T22:41:42.531Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.766s coverage: 89.2% of statements [2022-09-06T22:41:42.531Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-06T22:41:42.791Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.9% of statements [2022-09-06T22:41:42.791Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-06T22:42:00.905Z] 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-09-06T22:42:00.905Z] GO111MODULE=on go vet ./... [2022-09-06T22:42:02.290Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-06T22:42:02.290Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-06T22:42:02.551Z] ./bin/test-attribution-txt.sh [2022-09-06T22:42:02.551Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-09-06T22:42:02.551Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-09-06T22:42:02.551Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-09-06T22:42:02.551Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-06T22:42:02.551Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-06T22:42:02.551Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-09-06T22:42:02.551Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-09-06T22:42:02.565Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-06T22:42:02.577Z] $ docker stop --time=1 bf2ed68bda68d8c47c77dff2d8ef62fd50f0b2134a5c58d03e6be510e91b6715 [2022-09-06T22:42:05.193Z] $ docker rm -f bf2ed68bda68d8c47c77dff2d8ef62fd50f0b2134a5c58d03e6be510e91b6715 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-06T22:42:05.731Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-06T22:42:05.783Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-06T22:42:06.293Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-06T22:42:06.585Z] + ls -al . [2022-09-06T22:42:06.586Z] total 300 [2022-09-06T22:42:06.586Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 6 22:41 . [2022-09-06T22:42:06.586Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 22:40 .. [2022-09-06T22:42:06.586Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 6 22:40 .dockerignore [2022-09-06T22:42:06.586Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 22:41 .git [2022-09-06T22:42:06.586Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 22:40 .github [2022-09-06T22:42:06.586Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 6 22:40 .gitignore [2022-09-06T22:42:06.586Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 6 22:40 .golangci.yml [2022-09-06T22:42:06.586Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 22:40 .semver [2022-09-06T22:42:06.586Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 6 22:40 CHANGELOG.md [2022-09-06T22:42:06.586Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 22:40 GOVERNANCE.md [2022-09-06T22:42:06.586Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 6 22:40 Jenkinsfile [2022-09-06T22:42:06.586Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 6 22:40 LICENSE [2022-09-06T22:42:06.586Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 6 22:40 Makefile [2022-09-06T22:42:06.586Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 6 22:40 OWNERS.md [2022-09-06T22:42:06.586Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 6 22:40 README.md [2022-09-06T22:42:06.586Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 6 22:40 VERSION [2022-09-06T22:42:06.586Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 22:40 bin [2022-09-06T22:42:06.586Z] -rw-r--r-- 1 jenkins jenkins 130805 Sep 6 22:41 coverage.out [2022-09-06T22:42:06.586Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 6 22:40 example [2022-09-06T22:42:06.586Z] -rw-rw-r-- 1 jenkins jenkins 3553 Sep 6 22:40 go.mod [2022-09-06T22:42:06.586Z] -rw-rw-r-- 1 jenkins jenkins 36743 Sep 6 22:40 go.sum [2022-09-06T22:42:06.586Z] drwxrwxr-x 15 jenkins jenkins 4096 Sep 6 22:40 internal [2022-09-06T22:42:06.586Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 22:40 openapi [2022-09-06T22:42:06.586Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 6 22:40 pkg [2022-09-06T22:42:06.586Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 22:40 snap [2022-09-06T22:42:06.586Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 6 22:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:42:06.950Z] + 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=92f20f0e717187d38edfc08eb4f7c6185e33de43 --label arch=amd64 --label version=0.0.0 . [2022-09-06T22:42:06.950Z] Sending build context to Docker daemon 9.951MB [2022-09-06T22:42:06.950Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-06T22:42:06.950Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-06T22:42:06.950Z] ---> a86b42c9c70f [2022-09-06T22:42:06.950Z] Step 3/25 : ARG MAKE=make build [2022-09-06T22:42:07.211Z] ---> Running in 4a6b80d80123 [2022-09-06T22:42:07.211Z] Removing intermediate container 4a6b80d80123 [2022-09-06T22:42:07.211Z] ---> 9cc7111d53fe [2022-09-06T22:42:07.211Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-06T22:42:07.211Z] ---> Running in 9ab3b227a928 [2022-09-06T22:42:07.211Z] Removing intermediate container 9ab3b227a928 [2022-09-06T22:42:07.211Z] ---> 0eef24f5f47b [2022-09-06T22:42:07.211Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-06T22:42:07.211Z] ---> Running in 8d505fae395c [2022-09-06T22:42:07.471Z] Removing intermediate container 8d505fae395c [2022-09-06T22:42:07.471Z] ---> 63cbf8895a16 [2022-09-06T22:42:07.471Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-06T22:42:07.471Z] ---> Running in 369b796b885a [2022-09-06T22:42:08.043Z] Removing intermediate container 369b796b885a [2022-09-06T22:42:08.043Z] ---> 2e6ae497000a [2022-09-06T22:42:08.043Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-06T22:42:08.043Z] ---> Running in eb876ae8bd1f [2022-09-06T22:42:08.304Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-06T22:42:09.245Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-06T22:42:09.245Z] OK: 211 MiB in 51 packages [2022-09-06T22:42:09.815Z] Removing intermediate container eb876ae8bd1f [2022-09-06T22:42:09.815Z] ---> d19d187985cb [2022-09-06T22:42:09.815Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-06T22:42:09.815Z] ---> 34955eeaf5c2 [2022-09-06T22:42:09.815Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-06T22:42:09.815Z] ---> Running in 284962b63d97 [2022-09-06T22:42:10.386Z] Removing intermediate container 284962b63d97 [2022-09-06T22:42:10.386Z] ---> a627086f22d2 [2022-09-06T22:42:10.386Z] Step 10/25 : COPY . . [2022-09-06T22:42:10.957Z] ---> ca0c4b5e1f7f [2022-09-06T22:42:10.957Z] Step 11/25 : RUN ${MAKE} [2022-09-06T22:42:10.957Z] ---> Running in 10f5c40117e8 [2022-09-06T22:42:11.217Z] 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-09-06T22:42:29.321Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-06T22:42:32.616Z] Removing intermediate container 10f5c40117e8 [2022-09-06T22:42:32.616Z] ---> 94c20190b551 [2022-09-06T22:42:32.616Z] Step 12/25 : FROM alpine:3.16 [2022-09-06T22:42:32.616Z] 3.16: Pulling from library/alpine [2022-09-06T22:42:32.876Z] 213ec9aee27d: Pulling fs layer [2022-09-06T22:42:32.876Z] 213ec9aee27d: Verifying Checksum [2022-09-06T22:42:32.876Z] 213ec9aee27d: Download complete [2022-09-06T22:42:33.138Z] 213ec9aee27d: Pull complete [2022-09-06T22:42:33.138Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-06T22:42:33.138Z] Status: Downloaded newer image for alpine:3.16 [2022-09-06T22:42:33.138Z] ---> 9c6f07244728 [2022-09-06T22:42:33.138Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-06T22:42:33.138Z] ---> Running in ec1814a48fcf [2022-09-06T22:42:33.398Z] Removing intermediate container ec1814a48fcf [2022-09-06T22:42:33.398Z] ---> fd14def5effa [2022-09-06T22:42:33.398Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-06T22:42:33.398Z] ---> Running in 70727943252c [2022-09-06T22:42:33.969Z] Removing intermediate container 70727943252c [2022-09-06T22:42:33.969Z] ---> 94876ba32edd [2022-09-06T22:42:33.969Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-06T22:42:33.969Z] ---> Running in 75b949c12773 [2022-09-06T22:42:34.230Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-06T22:42:35.172Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-06T22:42:35.433Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-06T22:42:35.433Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-06T22:42:35.433Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-06T22:42:35.696Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-06T22:42:35.696Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-06T22:42:35.696Z] Executing busybox-1.35.0-r17.trigger [2022-09-06T22:42:35.696Z] OK: 8 MiB in 19 packages [2022-09-06T22:42:36.266Z] Removing intermediate container 75b949c12773 [2022-09-06T22:42:36.266Z] ---> 5e578cde3e1e [2022-09-06T22:42:36.266Z] Step 16/25 : WORKDIR / [2022-09-06T22:42:36.266Z] ---> Running in 7c54c909540b [2022-09-06T22:42:36.266Z] Removing intermediate container 7c54c909540b [2022-09-06T22:42:36.266Z] ---> ec1e83b36802 [2022-09-06T22:42:36.266Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-06T22:42:36.530Z] ---> 1c06a53cf6a2 [2022-09-06T22:42:36.530Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-06T22:42:37.100Z] ---> 27dbc4639292 [2022-09-06T22:42:37.100Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-06T22:42:37.362Z] ---> 2108e2a0cd9e [2022-09-06T22:42:37.362Z] Step 20/25 : EXPOSE 59999 [2022-09-06T22:42:37.362Z] ---> Running in e67f0da668ed [2022-09-06T22:42:37.362Z] Removing intermediate container e67f0da668ed [2022-09-06T22:42:37.362Z] ---> e59459e5c1fd [2022-09-06T22:42:37.362Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-06T22:42:37.362Z] ---> Running in dda8f8421368 [2022-09-06T22:42:37.623Z] Removing intermediate container dda8f8421368 [2022-09-06T22:42:37.623Z] ---> 3fbd5729acb0 [2022-09-06T22:42:37.623Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-06T22:42:37.623Z] ---> Running in 51179c7713de [2022-09-06T22:42:37.623Z] Removing intermediate container 51179c7713de [2022-09-06T22:42:37.623Z] ---> cac9c2c3a946 [2022-09-06T22:42:37.623Z] Step 23/25 : LABEL arch=amd64 [2022-09-06T22:42:37.623Z] ---> Running in d8d82fecd9cd [2022-09-06T22:42:37.623Z] Removing intermediate container d8d82fecd9cd [2022-09-06T22:42:37.623Z] ---> fff3eabd7040 [2022-09-06T22:42:37.623Z] Step 24/25 : LABEL git_sha=92f20f0e717187d38edfc08eb4f7c6185e33de43 [2022-09-06T22:42:37.883Z] ---> Running in 8907edd63180 [2022-09-06T22:42:37.883Z] Removing intermediate container 8907edd63180 [2022-09-06T22:42:37.883Z] ---> f5b5acbac150 [2022-09-06T22:42:37.883Z] Step 25/25 : LABEL version=0.0.0 [2022-09-06T22:42:37.883Z] ---> Running in 29914a2ef8e7 [2022-09-06T22:42:37.883Z] Removing intermediate container 29914a2ef8e7 [2022-09-06T22:42:37.883Z] ---> eace437bb598 [2022-09-06T22:42:37.883Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-06T22:42:37.883Z] Successfully built eace437bb598 [2022-09-06T22:42:37.883Z] 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-09-06T22:42:38.298Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-06T22:42:38.298Z] [2022-09-06T22:42:38.298Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:42:38.602Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-06T22:42:38.602Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-06T22:42:38.602Z] 5eb5b503b376: Pulling fs layer [2022-09-06T22:42:38.602Z] 5c69ac0246d0: Pulling fs layer [2022-09-06T22:42:38.602Z] ec43610c2a17: Pulling fs layer [2022-09-06T22:42:38.602Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-06T22:42:38.602Z] 33b1e0a273af: Pulling fs layer [2022-09-06T22:42:38.602Z] 5d3b04190fa2: Pulling fs layer [2022-09-06T22:42:38.602Z] 2f39f015ded8: Pulling fs layer [2022-09-06T22:42:38.602Z] 33b1e0a273af: Waiting [2022-09-06T22:42:38.602Z] 5d3b04190fa2: Waiting [2022-09-06T22:42:38.602Z] 2f39f015ded8: Waiting [2022-09-06T22:42:38.602Z] 3a2ae6a8a46f: Waiting [2022-09-06T22:42:38.602Z] 5c69ac0246d0: Verifying Checksum [2022-09-06T22:42:38.602Z] 5c69ac0246d0: Download complete [2022-09-06T22:42:38.602Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-06T22:42:38.602Z] 3a2ae6a8a46f: Download complete [2022-09-06T22:42:38.863Z] 33b1e0a273af: Verifying Checksum [2022-09-06T22:42:38.863Z] 33b1e0a273af: Download complete [2022-09-06T22:42:38.863Z] 5d3b04190fa2: Verifying Checksum [2022-09-06T22:42:38.863Z] 5d3b04190fa2: Download complete [2022-09-06T22:42:38.863Z] ec43610c2a17: Verifying Checksum [2022-09-06T22:42:38.863Z] ec43610c2a17: Download complete [2022-09-06T22:42:38.863Z] 5eb5b503b376: Verifying Checksum [2022-09-06T22:42:38.863Z] 5eb5b503b376: Download complete [2022-09-06T22:42:39.432Z] 2f39f015ded8: Verifying Checksum [2022-09-06T22:42:39.432Z] 2f39f015ded8: Download complete [2022-09-06T22:42:40.372Z] 5eb5b503b376: Pull complete [2022-09-06T22:42:40.372Z] 5c69ac0246d0: Pull complete [2022-09-06T22:42:40.942Z] ec43610c2a17: Pull complete [2022-09-06T22:42:40.942Z] 3a2ae6a8a46f: Pull complete [2022-09-06T22:42:41.204Z] 33b1e0a273af: Pull complete [2022-09-06T22:42:41.463Z] 5d3b04190fa2: Pull complete [2022-09-06T22:42:46.826Z] 2f39f015ded8: Pull complete [2022-09-06T22:42:46.826Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-06T22:42:46.826Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-06T22:42:46.826Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T22:42:46.922Z] prd-ubuntu20.04-docker-8c-8g-28365 does not seem to be running inside a container [2022-09-06T22:42:46.957Z] $ 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-09-06T22:42:48.843Z] $ docker top 09e86e053a8d75bea4182be4e36545bff37a3a7e34faea5f604499ace7d12606 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-06T22:42:49.254Z] ---> job-cost.sh [2022-09-06T22:42:49.254Z] lf-activate-venv: SKIPPING [2022-09-06T22:42:49.254Z] INFO: No Stack... [2022-09-06T22:42:49.515Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-06T22:42:50.087Z] INFO: Archiving Costs [Pipeline] sh [2022-09-06T22:42:50.383Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/cost.csv [2022-09-06T22:42:50.383Z] + cut -d, -f6 [Pipeline] lock [2022-09-06T22:42:50.398Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1196-7-stack-cost] [2022-09-06T22:42:50.404Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-7-stack-cost] did not exist. Created. [2022-09-06T22:42:50.404Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1196-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-06T22:42:50.705Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-06T22:42:50.736Z] Stashed 1 file(s) [Pipeline] } [2022-09-06T22:42:50.746Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-06T22:42:50.767Z] $ docker stop --time=1 09e86e053a8d75bea4182be4e36545bff37a3a7e34faea5f604499ace7d12606 [2022-09-06T22:42:51.929Z] $ docker rm -f 09e86e053a8d75bea4182be4e36545bff37a3a7e34faea5f604499ace7d12606 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-06T22:44:42.109Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-28562 in /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] { [Pipeline] ws [2022-09-06T22:44:42.121Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2022-09-06T22:44:42.177Z] The recommended git tool is: git [2022-09-06T22:44:50.921Z] using credential edgex-jenkins-ssh [2022-09-06T22:44:50.947Z] Cloning the remote Git repository [2022-09-06T22:44:51.037Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-09-06T22:44:51.144Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2022-09-06T22:44:51.230Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-06T22:44:51.231Z] > git --version # timeout=10 [2022-09-06T22:44:51.254Z] > git --version # 'git version 2.25.1' [2022-09-06T22:44:51.257Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-06T22:44:51.374Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-06T22:44:53.952Z] Merging remotes/origin/main commit 7128670c60762a554b6733602f52baa10dc88de3 into PR head commit e9867ceccc81c4680e14fc13c8919f6907f05772 [2022-09-06T22:44:52.989Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-06T22:44:53.013Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-06T22:44:53.093Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-06T22:44:53.176Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-06T22:44:53.179Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-06T22:44:53.211Z] > 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-09-06T22:44:53.972Z] > git config core.sparsecheckout # timeout=10 [2022-09-06T22:44:54.001Z] > git checkout -f e9867ceccc81c4680e14fc13c8919f6907f05772 # timeout=10 [2022-09-06T22:44:54.137Z] > git remote # timeout=10 [2022-09-06T22:44:54.157Z] > git config --get remote.origin.url # timeout=10 [2022-09-06T22:44:54.178Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-06T22:44:54.197Z] > git merge 7128670c60762a554b6733602f52baa10dc88de3 # timeout=10 [2022-09-06T22:44:54.339Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-06T22:44:54.368Z] Merge succeeded, producing b1dc979145095e8e846205f9e2715265dc275d17 [2022-09-06T22:44:54.368Z] Checking out Revision b1dc979145095e8e846205f9e2715265dc275d17 (PR-1196) [2022-09-06T22:44:54.375Z] > git config core.sparsecheckout # timeout=10 [2022-09-06T22:44:54.394Z] > git checkout -f b1dc979145095e8e846205f9e2715265dc275d17 # timeout=10 [2022-09-06T22:44:59.126Z] Commit message: "Merge commit '7128670c60762a554b6733602f52baa10dc88de3' into HEAD" [2022-09-06T22:44:59.178Z] First time build. Skipping changelog. [2022-09-06T22:44:59.134Z] > git rev-list --no-walk 5aeb5076a0732eaacdc86be0c405dc4574b4fc10 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-06T22:45:00.064Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-06T22:45:00.064Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-06T22:45:00.064Z] Dload Upload Total Spent Left Speed [2022-09-06T22:45:00.064Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 195k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh [2022-09-06T22:45:00.809Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-06T22:45:01.160Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2022-09-06T22:45:01.160Z] /etc/docker/daemon.new [2022-09-06T22:45:01.160Z] { [2022-09-06T22:45:01.160Z] "registry-mirrors": [ [2022-09-06T22:45:01.160Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-06T22:45:01.160Z] ], [2022-09-06T22:45:01.160Z] "bip": "10.250.0.254/24", [2022-09-06T22:45:01.160Z] "hosts": [ [2022-09-06T22:45:01.160Z] "tcp://0.0.0.0:5555", [2022-09-06T22:45:01.160Z] "unix:///var/run/docker.sock" [2022-09-06T22:45:01.160Z] ], [2022-09-06T22:45:01.160Z] "mtu": 1458, [2022-09-06T22:45:01.160Z] "selinux-enabled": true, [2022-09-06T22:45:01.160Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-06T22:45:01.160Z] } [Pipeline] sh [2022-09-06T22:45:01.601Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-06T22:45:01.955Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-06T22:45:20.325Z] provisioning config files... [2022-09-06T22:45:20.351Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config6810365522149003676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-06T22:45:20.731Z] ---> docker-login.sh [2022-09-06T22:45:20.731Z] nexus3.edgexfoundry.org:10001 [2022-09-06T22:45:21.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T22:45:22.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T22:45:22.341Z] Configure a credential helper to remove this warning. See [2022-09-06T22:45:22.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T22:45:22.341Z] [2022-09-06T22:45:22.341Z] Login Succeeded [2022-09-06T22:45:22.341Z] nexus3.edgexfoundry.org:10002 [2022-09-06T22:45:22.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T22:45:22.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T22:45:22.615Z] Configure a credential helper to remove this warning. See [2022-09-06T22:45:22.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T22:45:22.615Z] [2022-09-06T22:45:22.615Z] Login Succeeded [2022-09-06T22:45:22.894Z] nexus3.edgexfoundry.org:10003 [2022-09-06T22:45:23.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T22:45:23.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T22:45:23.446Z] Configure a credential helper to remove this warning. See [2022-09-06T22:45:23.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T22:45:23.446Z] [2022-09-06T22:45:23.446Z] Login Succeeded [2022-09-06T22:45:23.446Z] nexus3.edgexfoundry.org:10004 [2022-09-06T22:45:23.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T22:45:23.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T22:45:23.724Z] Configure a credential helper to remove this warning. See [2022-09-06T22:45:23.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T22:45:23.724Z] [2022-09-06T22:45:23.724Z] Login Succeeded [2022-09-06T22:45:24.002Z] docker.io [2022-09-06T22:45:24.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-06T22:45:24.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-06T22:45:24.876Z] Configure a credential helper to remove this warning. See [2022-09-06T22:45:24.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-06T22:45:24.876Z] [2022-09-06T22:45:24.876Z] Login Succeeded [2022-09-06T22:45:24.876Z] ---> docker-login.sh ends [Pipeline] } [2022-09-06T22:45:24.895Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-06T22:45:25.590Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-06T22:45:25.604Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-06T22:45:25.614Z] ========================================================= [2022-09-06T22:45:25.614Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-06T22:45:25.614Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:45:26.012Z] + 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-09-06T22:45:26.614Z] Sending build context to Docker daemon 5.277MB [2022-09-06T22:45:26.614Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-06T22:45:26.614Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-06T22:45:26.614Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-06T22:45:26.614Z] b3c136eddcbf: Pulling fs layer [2022-09-06T22:45:26.614Z] c0a3192eca97: Pulling fs layer [2022-09-06T22:45:26.614Z] a050256f5b6f: Pulling fs layer [2022-09-06T22:45:26.614Z] 656be50a0ddc: Pulling fs layer [2022-09-06T22:45:26.614Z] 2bbca73fdf42: Pulling fs layer [2022-09-06T22:45:26.614Z] 46d945488cbd: Pulling fs layer [2022-09-06T22:45:26.614Z] 8a5474983e97: Pulling fs layer [2022-09-06T22:45:26.614Z] 329c88fbcd65: Pulling fs layer [2022-09-06T22:45:26.614Z] 656be50a0ddc: Waiting [2022-09-06T22:45:26.614Z] 2bbca73fdf42: Waiting [2022-09-06T22:45:26.614Z] 8a5474983e97: Waiting [2022-09-06T22:45:26.614Z] 46d945488cbd: Waiting [2022-09-06T22:45:26.614Z] 329c88fbcd65: Waiting [2022-09-06T22:45:26.895Z] a050256f5b6f: Verifying Checksum [2022-09-06T22:45:26.895Z] a050256f5b6f: Download complete [2022-09-06T22:45:26.895Z] c0a3192eca97: Verifying Checksum [2022-09-06T22:45:26.895Z] c0a3192eca97: Download complete [2022-09-06T22:45:26.895Z] 2bbca73fdf42: Verifying Checksum [2022-09-06T22:45:26.895Z] 2bbca73fdf42: Download complete [2022-09-06T22:45:26.895Z] 46d945488cbd: Verifying Checksum [2022-09-06T22:45:26.895Z] 46d945488cbd: Download complete [2022-09-06T22:45:26.895Z] b3c136eddcbf: Verifying Checksum [2022-09-06T22:45:26.895Z] b3c136eddcbf: Download complete [2022-09-06T22:45:27.904Z] b3c136eddcbf: Pull complete [2022-09-06T22:45:27.904Z] 329c88fbcd65: Verifying Checksum [2022-09-06T22:45:27.904Z] 329c88fbcd65: Download complete [2022-09-06T22:45:28.514Z] c0a3192eca97: Pull complete [2022-09-06T22:45:28.791Z] a050256f5b6f: Pull complete [2022-09-06T22:45:29.391Z] 8a5474983e97: Verifying Checksum [2022-09-06T22:45:29.391Z] 8a5474983e97: Download complete [2022-09-06T22:45:30.005Z] 656be50a0ddc: Verifying Checksum [2022-09-06T22:45:30.005Z] 656be50a0ddc: Download complete [2022-09-06T22:45:45.132Z] 656be50a0ddc: Pull complete [2022-09-06T22:45:45.132Z] 2bbca73fdf42: Pull complete [2022-09-06T22:45:45.132Z] 46d945488cbd: Pull complete [2022-09-06T22:45:50.583Z] 8a5474983e97: Pull complete [2022-09-06T22:45:53.997Z] 329c88fbcd65: Pull complete [2022-09-06T22:45:53.997Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-06T22:45:53.997Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-06T22:45:53.997Z] ---> ff4287adb874 [2022-09-06T22:45:53.997Z] Step 3/11 : ARG MAKE=make build [2022-09-06T22:45:55.004Z] ---> Running in 12747ec4c8f2 [2022-09-06T22:45:55.620Z] Removing intermediate container 12747ec4c8f2 [2022-09-06T22:45:55.620Z] ---> cc2606794e1f [2022-09-06T22:45:55.620Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-06T22:45:55.620Z] ---> Running in c8dd31b639fe [2022-09-06T22:45:55.897Z] Removing intermediate container c8dd31b639fe [2022-09-06T22:45:55.897Z] ---> 5f78646caad9 [2022-09-06T22:45:55.897Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-06T22:45:55.897Z] ---> Running in c5f921d94c73 [2022-09-06T22:45:56.498Z] Removing intermediate container c5f921d94c73 [2022-09-06T22:45:56.498Z] ---> f43e38f4c03e [2022-09-06T22:45:56.498Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-06T22:45:56.498Z] ---> Running in 6f9a168b96f4 [2022-09-06T22:45:58.492Z] Removing intermediate container 6f9a168b96f4 [2022-09-06T22:45:58.492Z] ---> 2368df4c578b [2022-09-06T22:45:58.492Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-06T22:45:58.492Z] ---> Running in bb5a26a49b37 [2022-09-06T22:45:59.489Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-06T22:46:00.477Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-06T22:46:01.485Z] OK: 221 MiB in 51 packages [2022-09-06T22:46:02.483Z] Removing intermediate container bb5a26a49b37 [2022-09-06T22:46:02.483Z] ---> 2ed234d92762 [2022-09-06T22:46:02.483Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-06T22:46:03.085Z] ---> 9dbcbf7f9630 [2022-09-06T22:46:03.085Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-06T22:46:03.085Z] ---> Running in 27a9d87bd895 [2022-09-06T22:46:59.659Z] Removing intermediate container 27a9d87bd895 [2022-09-06T22:46:59.659Z] ---> 0976bcd27db6 [2022-09-06T22:46:59.659Z] Step 10/11 : COPY . . [2022-09-06T22:46:59.659Z] ---> eb15aaeadf45 [2022-09-06T22:46:59.659Z] Step 11/11 : RUN ${MAKE} [2022-09-06T22:46:59.659Z] ---> Running in 911feff2a2e2 [2022-09-06T22:46:59.659Z] noop [2022-09-06T22:46:59.659Z] Removing intermediate container 911feff2a2e2 [2022-09-06T22:46:59.659Z] ---> bfa5b868f6f4 [2022-09-06T22:46:59.659Z] Successfully built bfa5b868f6f4 [2022-09-06T22:46:59.659Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:47:00.040Z] + docker inspect -f . ci-base-image-arm64 [2022-09-06T22:47:00.040Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T22:47:00.340Z] prd-ubuntu20.04-docker-arm64-4c-16g-28562 does not seem to be running inside a container [2022-09-06T22:47:00.438Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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-09-06T22:47:01.954Z] $ docker top 2df295df11136d03f7a211e2417e9f6f3db5080bab593710c88e1e8877f7af98 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-06T22:47:02.931Z] + go version [2022-09-06T22:47:02.931Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-06T22:47:02.956Z] $ docker stop --time=1 2df295df11136d03f7a211e2417e9f6f3db5080bab593710c88e1e8877f7af98 [2022-09-06T22:47:04.714Z] $ docker rm -f 2df295df11136d03f7a211e2417e9f6f3db5080bab593710c88e1e8877f7af98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:47:05.407Z] + docker inspect -f . ci-base-image-arm64 [2022-09-06T22:47:05.408Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T22:47:05.698Z] prd-ubuntu20.04-docker-arm64-4c-16g-28562 does not seem to be running inside a container [2022-09-06T22:47:05.789Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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-09-06T22:47:07.195Z] $ docker top 922a2a61eb9576c3dcbb4de042b4493dbf288f94e13c3b2abaddd69f99eb21dc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-06T22:47:08.165Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/7 [Pipeline] fileExists [Pipeline] sh [2022-09-06T22:47:08.844Z] + make test [2022-09-06T22:47:08.844Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-06T22:47:47.887Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-06T22:49:54.865Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-06T22:49:54.865Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-06T22:49:54.865Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-06T22:49:59.214Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.400s coverage: 23.6% of statements [2022-09-06T22:49:59.214Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-06T22:49:59.214Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.250s coverage: 27.6% of statements [2022-09-06T22:49:59.214Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.345s coverage: 78.9% of statements [2022-09-06T22:49:59.214Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.273s coverage: 10.8% of statements [2022-09-06T22:50:01.223Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.496s coverage: 60.0% of statements [2022-09-06T22:50:01.223Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-06T22:50:01.223Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-06T22:50:04.674Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.492s coverage: 34.8% of statements [2022-09-06T22:50:04.674Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-06T22:50:07.347Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.339s coverage: 85.4% of statements [2022-09-06T22:50:07.347Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-06T22:50:07.347Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-06T22:50:07.347Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.452s coverage: 65.1% of statements [2022-09-06T22:50:07.347Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-06T22:50:07.347Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-06T22:50:11.672Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.199s coverage: 89.2% of statements [2022-09-06T22:50:11.672Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-06T22:50:13.111Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.249s coverage: 4.9% of statements [2022-09-06T22:50:13.111Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-06T22:50:13.711Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-06T22:50:13.711Z] GO111MODULE=on go vet ./... [2022-09-06T22:51:50.629Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-06T22:51:50.629Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-06T22:51:50.629Z] ./bin/test-attribution-txt.sh [2022-09-06T22:51:50.629Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-09-06T22:51:50.629Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-09-06T22:51:50.629Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-09-06T22:51:50.629Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-06T22:51:50.629Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-06T22:51:50.629Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-09-06T22:51:50.629Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-09-06T22:51:50.656Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-06T22:51:50.666Z] $ docker stop --time=1 922a2a61eb9576c3dcbb4de042b4493dbf288f94e13c3b2abaddd69f99eb21dc [2022-09-06T22:51:52.561Z] $ docker rm -f 922a2a61eb9576c3dcbb4de042b4493dbf288f94e13c3b2abaddd69f99eb21dc [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-06T22:51:54.019Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-06T22:51:54.048Z] Warning: overwriting stash ‘coverage-report’ [2022-09-06T22:51:54.720Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-06T22:51:55.117Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-06T22:51:55.464Z] + ls -al . [2022-09-06T22:51:55.465Z] total 296 [2022-09-06T22:51:55.465Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 6 22:47 . [2022-09-06T22:51:55.465Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 22:44 .. [2022-09-06T22:51:55.465Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 6 22:44 .dockerignore [2022-09-06T22:51:55.465Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 22:44 .git [2022-09-06T22:51:55.465Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 22:44 .github [2022-09-06T22:51:55.465Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 6 22:44 .gitignore [2022-09-06T22:51:55.465Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 6 22:44 .golangci.yml [2022-09-06T22:51:55.465Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 6 22:44 CHANGELOG.md [2022-09-06T22:51:55.465Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 22:44 GOVERNANCE.md [2022-09-06T22:51:55.465Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 6 22:44 Jenkinsfile [2022-09-06T22:51:55.465Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 6 22:44 LICENSE [2022-09-06T22:51:55.465Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 6 22:44 Makefile [2022-09-06T22:51:55.465Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 6 22:44 OWNERS.md [2022-09-06T22:51:55.465Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 6 22:44 README.md [2022-09-06T22:51:55.465Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 6 22:40 VERSION [2022-09-06T22:51:55.465Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 22:44 bin [2022-09-06T22:51:55.465Z] -rw-r--r-- 1 jenkins jenkins 130804 Sep 6 22:50 coverage.out [2022-09-06T22:51:55.465Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 6 22:44 example [2022-09-06T22:51:55.465Z] -rw-rw-r-- 1 jenkins jenkins 3553 Sep 6 22:44 go.mod [2022-09-06T22:51:55.465Z] -rw-rw-r-- 1 jenkins jenkins 36743 Sep 6 22:44 go.sum [2022-09-06T22:51:55.465Z] drwxrwxr-x 15 jenkins jenkins 4096 Sep 6 22:44 internal [2022-09-06T22:51:55.465Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 22:44 openapi [2022-09-06T22:51:55.465Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 6 22:44 pkg [2022-09-06T22:51:55.465Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 22:44 snap [2022-09-06T22:51:55.465Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 6 22:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:51:55.837Z] + 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=b1dc979145095e8e846205f9e2715265dc275d17 --label arch=arm64 --label version=0.0.0 . [2022-09-06T22:51:56.441Z] Sending build context to Docker daemon 5.409MB [2022-09-06T22:51:56.441Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-06T22:51:56.441Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-06T22:51:56.441Z] ---> bfa5b868f6f4 [2022-09-06T22:51:56.441Z] Step 3/25 : ARG MAKE=make build [2022-09-06T22:51:56.441Z] ---> Running in 974e33256ba5 [2022-09-06T22:51:56.718Z] Removing intermediate container 974e33256ba5 [2022-09-06T22:51:56.718Z] ---> ef0af6474577 [2022-09-06T22:51:56.718Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-06T22:51:56.996Z] ---> Running in 6f85a04687b4 [2022-09-06T22:51:57.274Z] Removing intermediate container 6f85a04687b4 [2022-09-06T22:51:57.274Z] ---> 5d3e3696645d [2022-09-06T22:51:57.274Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-06T22:51:57.274Z] ---> Running in 73f29cede64f [2022-09-06T22:51:57.552Z] Removing intermediate container 73f29cede64f [2022-09-06T22:51:57.552Z] ---> b1da3482a695 [2022-09-06T22:51:57.552Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-06T22:51:57.842Z] ---> Running in 74212e7ba491 [2022-09-06T22:51:59.834Z] Removing intermediate container 74212e7ba491 [2022-09-06T22:51:59.834Z] ---> bb98290bc8e6 [2022-09-06T22:51:59.834Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-06T22:51:59.834Z] ---> Running in 707ea25a98fe [2022-09-06T22:52:00.825Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-06T22:52:01.435Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-06T22:52:02.427Z] OK: 221 MiB in 51 packages [2022-09-06T22:52:03.434Z] Removing intermediate container 707ea25a98fe [2022-09-06T22:52:03.434Z] ---> c01cfc9c2ed1 [2022-09-06T22:52:03.434Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-06T22:52:04.033Z] ---> 2ca833a76145 [2022-09-06T22:52:04.033Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-06T22:52:04.033Z] ---> Running in 26f7b6bc24ba [2022-09-06T22:52:06.017Z] Removing intermediate container 26f7b6bc24ba [2022-09-06T22:52:06.017Z] ---> cc38bb7c4c2b [2022-09-06T22:52:06.017Z] Step 10/25 : COPY . . [2022-09-06T22:52:07.004Z] ---> 385ffc0926f4 [2022-09-06T22:52:07.004Z] Step 11/25 : RUN ${MAKE} [2022-09-06T22:52:07.278Z] ---> Running in 90fa76e787aa [2022-09-06T22:52:08.260Z] 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-09-06T22:54:30.187Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-06T22:54:30.187Z] Removing intermediate container 90fa76e787aa [2022-09-06T22:54:30.187Z] ---> cb214be88326 [2022-09-06T22:54:30.187Z] Step 12/25 : FROM alpine:3.16 [2022-09-06T22:54:30.187Z] 3.16: Pulling from library/alpine [2022-09-06T22:54:30.187Z] 9b18e9b68314: Pulling fs layer [2022-09-06T22:54:30.187Z] 9b18e9b68314: Verifying Checksum [2022-09-06T22:54:30.187Z] 9b18e9b68314: Download complete [2022-09-06T22:54:30.187Z] 9b18e9b68314: Pull complete [2022-09-06T22:54:30.187Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-06T22:54:30.187Z] Status: Downloaded newer image for alpine:3.16 [2022-09-06T22:54:30.187Z] ---> a6215f271958 [2022-09-06T22:54:30.187Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-06T22:54:30.187Z] ---> Running in 4867589c68e2 [2022-09-06T22:54:30.187Z] Removing intermediate container 4867589c68e2 [2022-09-06T22:54:30.187Z] ---> 313996777529 [2022-09-06T22:54:30.187Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-06T22:54:30.187Z] ---> Running in f0c4f57effac [2022-09-06T22:54:31.176Z] Removing intermediate container f0c4f57effac [2022-09-06T22:54:31.176Z] ---> 4cf9b71a3e82 [2022-09-06T22:54:31.176Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-06T22:54:31.176Z] ---> Running in 7521b1efa8b8 [2022-09-06T22:54:32.627Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-06T22:54:33.231Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-06T22:54:34.669Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-06T22:54:34.669Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-06T22:54:34.669Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-06T22:54:34.669Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-06T22:54:34.946Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-06T22:54:34.946Z] Executing busybox-1.35.0-r17.trigger [2022-09-06T22:54:34.946Z] OK: 8 MiB in 19 packages [2022-09-06T22:54:35.937Z] Removing intermediate container 7521b1efa8b8 [2022-09-06T22:54:35.937Z] ---> e55e80e2dd6d [2022-09-06T22:54:35.937Z] Step 16/25 : WORKDIR / [2022-09-06T22:54:35.937Z] ---> Running in 6c11c14dde45 [2022-09-06T22:54:36.214Z] Removing intermediate container 6c11c14dde45 [2022-09-06T22:54:36.214Z] ---> a5deedd6dea6 [2022-09-06T22:54:36.214Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-06T22:54:36.818Z] ---> 4d01501085af [2022-09-06T22:54:36.818Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-06T22:54:38.807Z] ---> 6cca9b9916a8 [2022-09-06T22:54:38.808Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-06T22:54:39.083Z] ---> 71d6b1cf641e [2022-09-06T22:54:39.083Z] Step 20/25 : EXPOSE 59999 [2022-09-06T22:54:39.083Z] ---> Running in cc83d0912f52 [2022-09-06T22:54:39.691Z] Removing intermediate container cc83d0912f52 [2022-09-06T22:54:39.691Z] ---> 06d613a640e3 [2022-09-06T22:54:39.691Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-06T22:54:39.691Z] ---> Running in 7ce44db87013 [2022-09-06T22:54:39.967Z] Removing intermediate container 7ce44db87013 [2022-09-06T22:54:39.967Z] ---> 7a9cf5c3a2f9 [2022-09-06T22:54:39.967Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-06T22:54:39.967Z] ---> Running in 96c29cb93679 [2022-09-06T22:54:40.245Z] Removing intermediate container 96c29cb93679 [2022-09-06T22:54:40.245Z] ---> 61d2b13b0154 [2022-09-06T22:54:40.245Z] Step 23/25 : LABEL arch=arm64 [2022-09-06T22:54:40.523Z] ---> Running in 5fcf383a7972 [2022-09-06T22:54:40.799Z] Removing intermediate container 5fcf383a7972 [2022-09-06T22:54:40.799Z] ---> 95c8b1615578 [2022-09-06T22:54:40.799Z] Step 24/25 : LABEL git_sha=b1dc979145095e8e846205f9e2715265dc275d17 [2022-09-06T22:54:40.799Z] ---> Running in c7ad971046f1 [2022-09-06T22:54:41.076Z] Removing intermediate container c7ad971046f1 [2022-09-06T22:54:41.076Z] ---> 289585be4065 [2022-09-06T22:54:41.076Z] Step 25/25 : LABEL version=0.0.0 [2022-09-06T22:54:41.368Z] ---> Running in 84ea9c53bfd4 [2022-09-06T22:54:41.644Z] Removing intermediate container 84ea9c53bfd4 [2022-09-06T22:54:41.644Z] ---> e8c455a511a6 [2022-09-06T22:54:41.644Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-06T22:54:41.644Z] Successfully built e8c455a511a6 [2022-09-06T22:54:41.644Z] 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-09-06T22:54:42.105Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-06T22:54:42.105Z] [2022-09-06T22:54:42.105Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:54:42.474Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-06T22:54:42.753Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-06T22:54:42.753Z] 8998bd30e6a1: Pulling fs layer [2022-09-06T22:54:42.753Z] 04944245beec: Pulling fs layer [2022-09-06T22:54:42.753Z] 699f458cf7ca: Pulling fs layer [2022-09-06T22:54:42.753Z] 765212b225bb: Pulling fs layer [2022-09-06T22:54:42.753Z] f23df028b6ca: Pulling fs layer [2022-09-06T22:54:42.753Z] d65c8cfc05b1: Pulling fs layer [2022-09-06T22:54:42.753Z] 2437ff75d9bd: Pulling fs layer [2022-09-06T22:54:42.753Z] f23df028b6ca: Waiting [2022-09-06T22:54:42.753Z] d65c8cfc05b1: Waiting [2022-09-06T22:54:42.753Z] 2437ff75d9bd: Waiting [2022-09-06T22:54:42.753Z] 765212b225bb: Waiting [2022-09-06T22:54:42.753Z] 04944245beec: Verifying Checksum [2022-09-06T22:54:42.753Z] 04944245beec: Download complete [2022-09-06T22:54:42.753Z] 765212b225bb: Verifying Checksum [2022-09-06T22:54:42.753Z] 765212b225bb: Download complete [2022-09-06T22:54:42.753Z] f23df028b6ca: Verifying Checksum [2022-09-06T22:54:42.753Z] f23df028b6ca: Download complete [2022-09-06T22:54:42.753Z] d65c8cfc05b1: Verifying Checksum [2022-09-06T22:54:42.753Z] d65c8cfc05b1: Download complete [2022-09-06T22:54:43.031Z] 699f458cf7ca: Verifying Checksum [2022-09-06T22:54:43.031Z] 699f458cf7ca: Download complete [2022-09-06T22:54:43.308Z] 8998bd30e6a1: Verifying Checksum [2022-09-06T22:54:43.308Z] 8998bd30e6a1: Download complete [2022-09-06T22:54:45.946Z] 2437ff75d9bd: Verifying Checksum [2022-09-06T22:54:45.946Z] 2437ff75d9bd: Download complete [2022-09-06T22:54:47.939Z] 8998bd30e6a1: Pull complete [2022-09-06T22:54:48.215Z] 04944245beec: Pull complete [2022-09-06T22:54:49.660Z] 699f458cf7ca: Pull complete [2022-09-06T22:54:49.933Z] 765212b225bb: Pull complete [2022-09-06T22:54:50.917Z] f23df028b6ca: Pull complete [2022-09-06T22:54:51.192Z] d65c8cfc05b1: Pull complete [2022-09-06T22:55:06.298Z] 2437ff75d9bd: Pull complete [2022-09-06T22:55:06.298Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-06T22:55:06.298Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-06T22:55:06.298Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T22:55:06.570Z] prd-ubuntu20.04-docker-arm64-4c-16g-28562 does not seem to be running inside a container [2022-09-06T22:55:06.662Z] $ 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/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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-09-06T22:55:09.521Z] $ docker top 283bf65e9b3afd3f66499d08a2afcc448c5a19308350d50913e02663229adb96 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-06T22:55:10.482Z] ---> job-cost.sh [2022-09-06T22:55:10.482Z] lf-activate-venv: SKIPPING [2022-09-06T22:55:10.482Z] INFO: No Stack... [2022-09-06T22:55:11.083Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-06T22:55:12.061Z] INFO: Archiving Costs [Pipeline] sh [2022-09-06T22:55:12.739Z] + cut -d, -f6 [2022-09-06T22:55:12.739Z] + cat /w/workspace/device-sdk-go/7/archives/cost.csv [Pipeline] lock [2022-09-06T22:55:12.808Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1196-7-stack-cost] [2022-09-06T22:55:12.816Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-7-stack-cost] did not exist. Created. [2022-09-06T22:55:12.816Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1196-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-06T22:55:13.516Z] /w/workspace/device-sdk-go/7@tmp/durable-4d1c71c6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-06T22:55:14.206Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-06T22:55:14.235Z] Warning: overwriting stash ‘stack-cost’ [2022-09-06T22:55:14.310Z] Stashed 1 file(s) [Pipeline] } [2022-09-06T22:55:14.321Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-06T22:55:14.341Z] $ docker stop --time=1 283bf65e9b3afd3f66499d08a2afcc448c5a19308350d50913e02663229adb96 [2022-09-06T22:55:15.912Z] $ docker rm -f 283bf65e9b3afd3f66499d08a2afcc448c5a19308350d50913e02663229adb96 [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-09-06T22:55:16.436Z] provisioning config files... [2022-09-06T22:55:16.444Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config8532040719249055951tmp [Pipeline] { [Pipeline] sh [2022-09-06T22:55:16.739Z] + set +x [2022-09-06T22:55:16.740Z] + curl -s https://codecov.io/bash [2022-09-06T22:55:16.740Z] + bash -s -- [2022-09-06T22:55:16.740Z] [2022-09-06T22:55:16.740Z] _____ _ [2022-09-06T22:55:16.740Z] / ____| | | [2022-09-06T22:55:16.740Z] | | ___ __| | ___ ___ _____ __ [2022-09-06T22:55:16.740Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-06T22:55:16.740Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-06T22:55:16.740Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-06T22:55:16.740Z] Bash-1.0.6 [2022-09-06T22:55:16.740Z] [2022-09-06T22:55:16.740Z] [2022-09-06T22:55:16.740Z] ==> git version 2.25.1 found [2022-09-06T22:55:16.740Z] ==> 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-09-06T22:55:16.740Z] Release-Date: 2020-01-08 [2022-09-06T22:55:16.740Z] 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-09-06T22:55:16.740Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-06T22:55:16.740Z] ==> Jenkins CI detected. [2022-09-06T22:55:16.740Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1196 [2022-09-06T22:55:16.740Z] project root: . [2022-09-06T22:55:16.740Z] --> token set from env [2022-09-06T22:55:16.740Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-06T22:55:16.740Z] ==> Running gcov in . (disable via -X gcov) [2022-09-06T22:55:16.740Z] ==> Python coveragepy not found [2022-09-06T22:55:16.740Z] ==> Searching for coverage reports in: [2022-09-06T22:55:16.740Z] + . [2022-09-06T22:55:16.740Z] -> Found 1 reports [2022-09-06T22:55:16.740Z] ==> Detecting git/mercurial file structure [2022-09-06T22:55:16.740Z] ==> Reading reports [2022-09-06T22:55:16.740Z] + ./coverage.out bytes=130804 [2022-09-06T22:55:16.740Z] ==> Appending adjustments [2022-09-06T22:55:16.740Z] https://docs.codecov.io/docs/fixing-reports [2022-09-06T22:55:17.310Z] + Found adjustments [2022-09-06T22:55:17.310Z] ==> Gzipping contents [2022-09-06T22:55:17.310Z] 20K /tmp/codecov.n2g4O3.gz [2022-09-06T22:55:17.310Z] ==> Uploading reports [2022-09-06T22:55:17.310Z] url: https://codecov.io [2022-09-06T22:55:17.310Z] query: branch=PR-1196&commit=92f20f0e717187d38edfc08eb4f7c6185e33de43&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1196%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1196&job=&cmd_args= [2022-09-06T22:55:17.310Z] -> Pinging Codecov [2022-09-06T22:55:17.310Z] 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=92f20f0e717187d38edfc08eb4f7c6185e33de43&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1196%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1196&job=&cmd_args= [2022-09-06T22:55:17.570Z] -> Uploading to [2022-09-06T22:55:17.570Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-06/7E55EF52A471D76F132DFD9A03CDDE97/92f20f0e717187d38edfc08eb4f7c6185e33de43/0291ab8c-a2d0-46f1-8125-e12ca21e7a4e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220906%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220906T225517Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0b620a2811bbef4b008f1488ffd0cb83f4bd87ef0f055c1f5af48404a19916f0 [2022-09-06T22:55:17.570Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-06T22:55:17.570Z] Dload Upload Total Spent Left Speed [2022-09-06T22:55:17.833Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17219 0 0 100 17219 0 76190 --:--:-- --:--:-- --:--:-- 76190 [2022-09-06T22:55:17.833Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/92f20f0e717187d38edfc08eb4f7c6185e33de43 [Pipeline] } [2022-09-06T22:55:17.842Z] 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-09-06T22:55:18.541Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives ] [2022-09-06T22:55:18.542Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives [2022-09-06T22:55:18.542Z] total 16 [2022-09-06T22:55:18.542Z] drwxr-xr-x 3 root root 4096 Sep 6 22:42 . [2022-09-06T22:55:18.542Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 6 22:42 .. [2022-09-06T22:55:18.542Z] drwxr-xr-x 2 root root 4096 Sep 6 22:42 cost [2022-09-06T22:55:18.542Z] -rw-r--r-- 1 root root 87 Sep 6 22:42 cost.csv [2022-09-06T22:55:18.542Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives [2022-09-06T22:55:18.542Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives [2022-09-06T22:55:18.542Z] total 16 [2022-09-06T22:55:18.542Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 22:42 . [2022-09-06T22:55:18.542Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 6 22:42 .. [2022-09-06T22:55:18.542Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 6 22:42 cost [2022-09-06T22:55:18.542Z] -rw-r--r-- 1 jenkins jenkins 87 Sep 6 22:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-06T22:55:18.834Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-06T22:55:19.694Z] ---> package-listing.sh [2022-09-06T22:55:19.694Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-06T22:55:19.694Z] ++ facter osfamily [2022-09-06T22:55:19.954Z] + OS_FAMILY=debian [2022-09-06T22:55:19.954Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1196 [2022-09-06T22:55:19.954Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-06T22:55:19.954Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-06T22:55:19.954Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-06T22:55:19.954Z] + PACKAGES=/tmp/packages_start.txt [2022-09-06T22:55:19.954Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1196 ']' [2022-09-06T22:55:19.954Z] + PACKAGES=/tmp/packages_end.txt [2022-09-06T22:55:19.954Z] + case "${OS_FAMILY}" in [2022-09-06T22:55:19.954Z] + dpkg -l [2022-09-06T22:55:19.954Z] + grep '^ii' [2022-09-06T22:55:19.954Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-06T22:55:19.954Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-06T22:55:19.954Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-06T22:55:19.954Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1196 ']' [2022-09-06T22:55:19.954Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/ [2022-09-06T22:55:19.954Z] + 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-09-06T22:55:19.967Z] 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-09-06T22:55:20.246Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-06T22:55:20.816Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-06T22:55:20.816Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-06T22:55:20.909Z] prd-ubuntu20.04-docker-8c-8g-28365 does not seem to be running inside a container [2022-09-06T22:55:20.939Z] $ 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-09-06T22:55:21.191Z] $ docker top 2cd14fcfddfddb2ddca3f5c982d570803afb680b400af7ceee221ae13f215249 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-06T22:55:21.567Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-06T22:55:21.857Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-06T22:55:22.145Z] + ls /var/log/sa-host [2022-09-06T22:55:22.145Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-06T22:55:22.216Z] provisioning config files... [2022-09-06T22:55:22.225Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config4807318483640273333tmp [Pipeline] { [Pipeline] echo [2022-09-06T22:55:22.237Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-06T22:55:22.525Z] ---> create-netrc.sh [Pipeline] } [2022-09-06T22:55:22.532Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-06T22:55:22.856Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-06T22:55:22.866Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-06T22:55:23.192Z] ---> sudo-logs.sh [2022-09-06T22:55:23.192Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-06T22:55:23.241Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-06T22:55:23.527Z] ---> job-cost.sh [2022-09-06T22:55:23.527Z] lf-activate-venv: SKIPPING [2022-09-06T22:55:23.527Z] DEBUG: total: 0.2199999988079071 [2022-09-06T22:55:23.527Z] INFO: Retrieving Stack Cost... [2022-09-06T22:55:24.098Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-06T22:55:24.358Z] INFO: Archiving Costs [Pipeline] echo [2022-09-06T22:55:24.370Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-06T22:55:24.654Z] ---> logs-deploy.sh [2022-09-06T22:55:24.654Z] lf-activate-venv: SKIPPING [2022-09-06T22:55:24.654Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1196/7 [2022-09-06T22:55:24.654Z] INFO: archiving workspace using pattern(s): [2022-09-06T22:55:25.594Z] Archives upload complete. [2022-09-06T22:55:25.594Z] INFO: archiving logs to Nexus