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+98b98247f9133d8f7aed6314c982956ab2f73d9e (b80d138dc1b847863fc9afcde429dcefa84132a8) 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-ssh6812121336656812336.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-ssh6282531495037623509.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-ssh13874343131410536216.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-ssh11818110050803591816.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-ssh15604527838051003865.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 Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-30009 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 98b98247f9133d8f7aed6314c982956ab2f73d9e into PR head commit e9867ceccc81c4680e14fc13c8919f6907f05772 Merge succeeded, producing 20f7df29fe35d9f9d63affb6a5025a1436d247e0 Checking out Revision 20f7df29fe35d9f9d63affb6a5025a1436d247e0 (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 98b98247f9133d8f7aed6314c982956ab2f73d9e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 20f7df29fe35d9f9d63affb6a5025a1436d247e0 # timeout=10 Commit message: "Merge commit '98b98247f9133d8f7aed6314c982956ab2f73d9e' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-20T22:41:27.645Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk b1dc979145095e8e846205f9e2715265dc275d17 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-20T22:41:27.719Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-20T22:41:27.736Z] ========================================================= [2022-09-20T22:41:27.736Z] EdgeX Global Pipelines Version Info [2022-09-20T22:41:27.736Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-20T22:41:28.472Z] ------------------- [2022-09-20T22:41:28.472Z] stable info: [2022-09-20T22:41:28.472Z] ------------------- [2022-09-20T22:41:28.472Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-20T22:41:28.472Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-20T22:41:28.472Z] Message: update stable to v1.0.239 [2022-09-20T22:41:29.042Z] ------------------- [2022-09-20T22:41:29.042Z] experimental info: [2022-09-20T22:41:29.042Z] ------------------- [2022-09-20T22:41:29.042Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-20T22:41:29.042Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-20T22:41:29.042Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-20T22:41:29.220Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-09-20T22:41:29.235Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-09-20T22:41:29.246Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-20T22:41:29.257Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-20T22:41:29.268Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-20T22:41:29.285Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-20T22:41:29.293Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-20T22:41:29.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-09-20T22:41:29.312Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-20T22:41:29.322Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-20T22:41:29.334Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-20T22:41:29.345Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-09-20T22:41:29.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-20T22:41:29.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-20T22:41:29.385Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-20T22:41:29.399Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-09-20T22:41:29.408Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-20T22:41:29.420Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-20T22:41:29.433Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-20T22:41:29.445Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-20T22:41:29.456Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-20T22:41:29.469Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-09-20T22:41:29.479Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-20T22:41:29.491Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-20T22:41:29.503Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-20T22:41:29.520Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-20T22:41:29.529Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-20T22:41:29.541Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1196 [Pipeline] echo [2022-09-20T22:41:29.552Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1196 [Pipeline] echo [2022-09-20T22:41:29.564Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1196 [Pipeline] echo [2022-09-20T22:41:29.578Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 20f7df29fe35d9f9d63affb6a5025a1436d247e0 [Pipeline] echo [2022-09-20T22:41:29.589Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 20f7df2 [Pipeline] echo [2022-09-20T22:41:29.603Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-20T22:41:29.655Z] provisioning config files... [2022-09-20T22:41:29.667Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config7467817648475146370tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T22:41:30.000Z] ---> docker-login.sh [2022-09-20T22:41:30.000Z] nexus3.edgexfoundry.org:10001 [2022-09-20T22:41:30.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:41:30.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:41:30.522Z] Configure a credential helper to remove this warning. See [2022-09-20T22:41:30.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:41:30.522Z] [2022-09-20T22:41:30.522Z] Login Succeeded [2022-09-20T22:41:30.522Z] nexus3.edgexfoundry.org:10002 [2022-09-20T22:41:30.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:41:30.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:41:30.522Z] Configure a credential helper to remove this warning. See [2022-09-20T22:41:30.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:41:30.522Z] [2022-09-20T22:41:30.522Z] Login Succeeded [2022-09-20T22:41:30.522Z] nexus3.edgexfoundry.org:10003 [2022-09-20T22:41:30.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:41:30.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:41:30.784Z] Configure a credential helper to remove this warning. See [2022-09-20T22:41:30.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:41:30.784Z] [2022-09-20T22:41:30.784Z] Login Succeeded [2022-09-20T22:41:30.784Z] nexus3.edgexfoundry.org:10004 [2022-09-20T22:41:30.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:41:31.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:41:31.045Z] Configure a credential helper to remove this warning. See [2022-09-20T22:41:31.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:41:31.045Z] [2022-09-20T22:41:31.045Z] Login Succeeded [2022-09-20T22:41:31.045Z] docker.io [2022-09-20T22:41:31.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:41:31.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:41:31.307Z] Configure a credential helper to remove this warning. See [2022-09-20T22:41:31.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:41:31.307Z] [2022-09-20T22:41:31.307Z] Login Succeeded [2022-09-20T22:41:31.307Z] ---> docker-login.sh ends [Pipeline] } [2022-09-20T22:41:31.316Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-20T22:41:31.702Z] + git rev-list -1 --merges 20f7df29fe35d9f9d63affb6a5025a1436d247e0~1..20f7df29fe35d9f9d63affb6a5025a1436d247e0 [Pipeline] echo [2022-09-20T22:41:31.808Z] -----------> git rev-list -1 --merges 20f7df29fe35d9f9d63affb6a5025a1436d247e0~1..20f7df29fe35d9f9d63affb6a5025a1436d247e0 20f7df29fe35d9f9d63affb6a5025a1436d247e0 [2022-09-20T22:41:31.808Z] 20f7df29fe35d9f9d63affb6a5025a1436d247e0 [false] [Pipeline] sh [2022-09-20T22:41:32.102Z] + git log --format=format:%s -1 20f7df29fe35d9f9d63affb6a5025a1436d247e0 [Pipeline] echo [2022-09-20T22:41:32.119Z] ========================================================= [2022-09-20T22:41:32.119Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-20T22:41:32.119Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-20T22:41:32.475Z] + git log --format=format:%s -1 20f7df29fe35d9f9d63affb6a5025a1436d247e0 [Pipeline] echo [2022-09-20T22:41:32.488Z] [semverPrep] GIT_COMMIT: 20f7df29fe35d9f9d63affb6a5025a1436d247e0, Commit Message: Merge commit '98b98247f9133d8f7aed6314c982956ab2f73d9e' into HEAD [Pipeline] echo [2022-09-20T22:41:32.498Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-20T22:41:32.862Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-20T22:41:32.862Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-20T22:41:32.863Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-20T22:41:32.863Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-20T22:41:32.863Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-20T22:41:32.863Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-20T22:41:32.863Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T22:41:33.289Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-20T22:41:33.289Z] [2022-09-20T22:41:33.289Z] 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-20T22:41:33.599Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-20T22:41:33.599Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-20T22:41:33.599Z] b85a868b505f: Pulling fs layer [2022-09-20T22:41:33.599Z] e2be974225ed: Pulling fs layer [2022-09-20T22:41:33.599Z] 339a4e72a1f5: Pulling fs layer [2022-09-20T22:41:33.599Z] 988bab9f4d93: Pulling fs layer [2022-09-20T22:41:33.599Z] 1469e6f7b9e6: Pulling fs layer [2022-09-20T22:41:33.599Z] eaf3925da568: Pulling fs layer [2022-09-20T22:41:33.599Z] bab4dde63d76: Pulling fs layer [2022-09-20T22:41:33.599Z] bde34c3a00c8: Pulling fs layer [2022-09-20T22:41:33.599Z] b352a97aabf1: Pulling fs layer [2022-09-20T22:41:33.599Z] 4872d77fe225: Pulling fs layer [2022-09-20T22:41:33.599Z] 5851b861e8e6: Pulling fs layer [2022-09-20T22:41:33.599Z] 988bab9f4d93: Waiting [2022-09-20T22:41:33.599Z] eaf3925da568: Waiting [2022-09-20T22:41:33.599Z] 5851b861e8e6: Waiting [2022-09-20T22:41:33.599Z] 4872d77fe225: Waiting [2022-09-20T22:41:33.599Z] 1469e6f7b9e6: Waiting [2022-09-20T22:41:33.599Z] b352a97aabf1: Waiting [2022-09-20T22:41:33.599Z] bde34c3a00c8: Waiting [2022-09-20T22:41:33.599Z] bab4dde63d76: Waiting [2022-09-20T22:41:33.599Z] e2be974225ed: Download complete [2022-09-20T22:41:33.599Z] 988bab9f4d93: Verifying Checksum [2022-09-20T22:41:33.599Z] 988bab9f4d93: Download complete [2022-09-20T22:41:33.860Z] 1469e6f7b9e6: Verifying Checksum [2022-09-20T22:41:33.860Z] 1469e6f7b9e6: Download complete [2022-09-20T22:41:33.860Z] 339a4e72a1f5: Verifying Checksum [2022-09-20T22:41:33.860Z] 339a4e72a1f5: Download complete [2022-09-20T22:41:33.860Z] eaf3925da568: Verifying Checksum [2022-09-20T22:41:33.860Z] eaf3925da568: Download complete [2022-09-20T22:41:33.860Z] bde34c3a00c8: Download complete [2022-09-20T22:41:33.860Z] b352a97aabf1: Verifying Checksum [2022-09-20T22:41:33.860Z] b352a97aabf1: Download complete [2022-09-20T22:41:33.860Z] 4872d77fe225: Download complete [2022-09-20T22:41:33.860Z] 5851b861e8e6: Download complete [2022-09-20T22:41:33.860Z] b85a868b505f: Verifying Checksum [2022-09-20T22:41:33.860Z] b85a868b505f: Download complete [2022-09-20T22:41:34.120Z] bab4dde63d76: Verifying Checksum [2022-09-20T22:41:34.120Z] bab4dde63d76: Download complete [2022-09-20T22:41:35.064Z] b85a868b505f: Pull complete [2022-09-20T22:41:35.325Z] e2be974225ed: Pull complete [2022-09-20T22:41:35.896Z] 339a4e72a1f5: Pull complete [2022-09-20T22:41:35.896Z] 988bab9f4d93: Pull complete [2022-09-20T22:41:36.156Z] 1469e6f7b9e6: Pull complete [2022-09-20T22:41:36.415Z] eaf3925da568: Pull complete [2022-09-20T22:41:38.324Z] bab4dde63d76: Pull complete [2022-09-20T22:41:38.324Z] bde34c3a00c8: Pull complete [2022-09-20T22:41:38.324Z] b352a97aabf1: Pull complete [2022-09-20T22:41:38.324Z] 4872d77fe225: Pull complete [2022-09-20T22:41:38.585Z] 5851b861e8e6: Pull complete [2022-09-20T22:41:38.585Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-20T22:41:38.585Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-20T22:41:38.585Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T22:41:38.687Z] prd-ubuntu20.04-docker-8c-8g-30009 does not seem to be running inside a container [2022-09-20T22:41:38.724Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-20T22:41:39.908Z] $ docker top 630444ead54643c85334744e7a1e17d997ffec97eb32e4a25fa7eb72a63ac45c -eo pid,comm [2022-09-20T22:41:39.971Z] 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-20T22:41:39.971Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-20T22:41:40.007Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-20T22:41:40.007Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-20T22:41:40.131Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-20T22:41:40.135Z] $ docker exec 630444ead54643c85334744e7a1e17d997ffec97eb32e4a25fa7eb72a63ac45c ssh-agent [2022-09-20T22:41:40.252Z] SSH_AUTH_SOCK=/tmp/ssh-RVPLB18I8c3c/agent.35 [2022-09-20T22:41:40.252Z] SSH_AGENT_PID=41 [2022-09-20T22:41:40.258Z] Running ssh-add (command line suppressed) [2022-09-20T22:41:40.367Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_5027578891392556683.key (/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_5027578891392556683.key) [2022-09-20T22:41:40.381Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-20T22:41:40.678Z] + git tag --points-at HEAD [Pipeline] } [2022-09-20T22:41:40.700Z] $ docker exec --env ******** --env ******** 630444ead54643c85334744e7a1e17d997ffec97eb32e4a25fa7eb72a63ac45c ssh-agent -k [2022-09-20T22:41:40.808Z] unset SSH_AUTH_SOCK; [2022-09-20T22:41:40.808Z] unset SSH_AGENT_PID; [2022-09-20T22:41:40.809Z] echo Agent pid 41 killed; [2022-09-20T22:41:40.820Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-20T22:41:40.844Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-20T22:41:40.844Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-20T22:41:40.969Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-20T22:41:40.973Z] $ docker exec 630444ead54643c85334744e7a1e17d997ffec97eb32e4a25fa7eb72a63ac45c ssh-agent [2022-09-20T22:41:41.111Z] SSH_AUTH_SOCK=/tmp/ssh-d905ghVujrnj/agent.75 [2022-09-20T22:41:41.111Z] SSH_AGENT_PID=82 [2022-09-20T22:41:41.116Z] Running ssh-add (command line suppressed) [2022-09-20T22:41:41.236Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_8646612605716691113.key (/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_8646612605716691113.key) [2022-09-20T22:41:41.249Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-20T22:41:41.539Z] + git semver init [2022-09-20T22:41:41.800Z] 2022-09-20 22:41:41,723 [run_init] DEBUG init version:0.0.0 force:False [2022-09-20T22:41:41.800Z] 2022-09-20 22:41:41,723 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver [2022-09-20T22:41:41.800Z] 2022-09-20 22:41:41,724 [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-20T22:41:41.800Z] 2022-09-20 22:41:41,724 [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-20T22:41:42.750Z] 2022-09-20 22:41:42,667 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.git/info/exclude [2022-09-20T22:41:42.751Z] 2022-09-20 22:41:42,668 [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-20T22:41:42.751Z] 2022-09-20 22:41:42,668 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 [2022-09-20T22:41:42.751Z] 2022-09-20 22:41:42,672 [execute] INFO git cat-file --batch-check [2022-09-20T22:41:42.751Z] 2022-09-20 22:41:42,672 [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-20T22:41:42.751Z] 2022-09-20 22:41:42,678 [execute] INFO git cat-file --batch [2022-09-20T22:41:42.751Z] 2022-09-20 22:41:42,678 [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-20T22:41:42.751Z] 2022-09-20 22:41:42,683 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 [2022-09-20T22:41:42.751Z] 0.0.0 [Pipeline] } [2022-09-20T22:41:42.762Z] $ docker exec --env ******** --env ******** 630444ead54643c85334744e7a1e17d997ffec97eb32e4a25fa7eb72a63ac45c ssh-agent -k [2022-09-20T22:41:42.873Z] unset SSH_AUTH_SOCK; [2022-09-20T22:41:42.874Z] unset SSH_AGENT_PID; [2022-09-20T22:41:42.874Z] echo Agent pid 82 killed; [2022-09-20T22:41:42.883Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-20T22:41:43.197Z] + git semver [Pipeline] } [2022-09-20T22:41:43.481Z] $ docker stop --time=1 630444ead54643c85334744e7a1e17d997ffec97eb32e4a25fa7eb72a63ac45c [2022-09-20T22:41:44.747Z] $ docker rm -f 630444ead54643c85334744e7a1e17d997ffec97eb32e4a25fa7eb72a63ac45c [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-20T22:41:45.091Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-20T22:41:45.399Z] Stashed 1 file(s) [Pipeline] echo [2022-09-20T22:41:45.402Z] [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-20T22:41:45.566Z] provisioning config files... [2022-09-20T22:41:45.576Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config1292706230622292157tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T22:41:45.874Z] ---> docker-login.sh [2022-09-20T22:41:45.875Z] nexus3.edgexfoundry.org:10001 [2022-09-20T22:41:45.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:41:45.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:41:45.875Z] Configure a credential helper to remove this warning. See [2022-09-20T22:41:45.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:41:45.875Z] [2022-09-20T22:41:45.875Z] Login Succeeded [2022-09-20T22:41:45.875Z] nexus3.edgexfoundry.org:10002 [2022-09-20T22:41:45.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:41:45.901Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-30008 in /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] { [Pipeline] ws [2022-09-20T22:41:45.915Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2022-09-20T22:41:45.941Z] The recommended git tool is: git [2022-09-20T22:41:46.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:41:46.134Z] Configure a credential helper to remove this warning. See [2022-09-20T22:41:46.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:41:46.134Z] [2022-09-20T22:41:46.134Z] Login Succeeded [2022-09-20T22:41:46.134Z] nexus3.edgexfoundry.org:10003 [2022-09-20T22:41:46.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:41:46.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:41:46.134Z] Configure a credential helper to remove this warning. See [2022-09-20T22:41:46.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:41:46.134Z] [2022-09-20T22:41:46.134Z] Login Succeeded [2022-09-20T22:41:46.134Z] nexus3.edgexfoundry.org:10004 [2022-09-20T22:41:46.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:41:46.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:41:46.394Z] Configure a credential helper to remove this warning. See [2022-09-20T22:41:46.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:41:46.394Z] [2022-09-20T22:41:46.394Z] Login Succeeded [2022-09-20T22:41:46.394Z] docker.io [2022-09-20T22:41:46.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:41:46.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:41:46.654Z] Configure a credential helper to remove this warning. See [2022-09-20T22:41:46.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:41:46.654Z] [2022-09-20T22:41:46.654Z] Login Succeeded [2022-09-20T22:41:46.654Z] ---> docker-login.sh ends [Pipeline] } [2022-09-20T22:41:46.662Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-20T22:41:46.729Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-20T22:41:46.744Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-20T22:41:46.755Z] ========================================================= [2022-09-20T22:41:46.755Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-20T22:41:46.755Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T22:41:47.078Z] + 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-20T22:41:47.078Z] Sending build context to Docker daemon 9.82MB [2022-09-20T22:41:47.078Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-20T22:41:47.078Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-20T22:41:47.341Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-20T22:41:47.341Z] 2408cc74d12b: Pulling fs layer [2022-09-20T22:41:47.341Z] ea60b727a1ce: Pulling fs layer [2022-09-20T22:41:47.341Z] 30c4a7721957: Pulling fs layer [2022-09-20T22:41:47.341Z] 370296b7ddb6: Pulling fs layer [2022-09-20T22:41:47.341Z] 7c6cee850709: Pulling fs layer [2022-09-20T22:41:47.341Z] 39a5fcdaea64: Pulling fs layer [2022-09-20T22:41:47.341Z] d94ebbe4e438: Pulling fs layer [2022-09-20T22:41:47.341Z] bcfd1f05c69d: Pulling fs layer [2022-09-20T22:41:47.341Z] 370296b7ddb6: Waiting [2022-09-20T22:41:47.341Z] 7c6cee850709: Waiting [2022-09-20T22:41:47.341Z] 39a5fcdaea64: Waiting [2022-09-20T22:41:47.341Z] d94ebbe4e438: Waiting [2022-09-20T22:41:47.341Z] 59ccb84bbe0f: Pulling fs layer [2022-09-20T22:41:47.341Z] bcfd1f05c69d: Waiting [2022-09-20T22:41:47.341Z] 59ccb84bbe0f: Waiting [2022-09-20T22:41:47.341Z] 30c4a7721957: Download complete [2022-09-20T22:41:47.341Z] ea60b727a1ce: Download complete [2022-09-20T22:41:47.341Z] 7c6cee850709: Verifying Checksum [2022-09-20T22:41:47.341Z] 39a5fcdaea64: Verifying Checksum [2022-09-20T22:41:47.341Z] 39a5fcdaea64: Download complete [2022-09-20T22:41:47.341Z] 2408cc74d12b: Verifying Checksum [2022-09-20T22:41:47.341Z] 2408cc74d12b: Download complete [2022-09-20T22:41:47.341Z] d94ebbe4e438: Verifying Checksum [2022-09-20T22:41:47.341Z] d94ebbe4e438: Download complete [2022-09-20T22:41:47.341Z] 2408cc74d12b: Pull complete [2022-09-20T22:41:47.612Z] ea60b727a1ce: Pull complete [2022-09-20T22:41:47.612Z] 30c4a7721957: Pull complete [2022-09-20T22:41:47.879Z] 59ccb84bbe0f: Verifying Checksum [2022-09-20T22:41:47.879Z] 59ccb84bbe0f: Download complete [2022-09-20T22:41:47.879Z] bcfd1f05c69d: Verifying Checksum [2022-09-20T22:41:47.879Z] bcfd1f05c69d: Download complete [2022-09-20T22:41:48.139Z] 370296b7ddb6: Verifying Checksum [2022-09-20T22:41:48.139Z] 370296b7ddb6: Download complete [2022-09-20T22:41:50.236Z] using credential edgex-jenkins-ssh [2022-09-20T22:41:50.264Z] Cloning the remote Git repository [2022-09-20T22:41:50.333Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-09-20T22:41:50.406Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2022-09-20T22:41:50.494Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-20T22:41:50.495Z] > git --version # timeout=10 [2022-09-20T22:41:50.514Z] > git --version # 'git version 2.25.1' [2022-09-20T22:41:50.515Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-20T22:41:50.614Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-20T22:41:52.334Z] 370296b7ddb6: Pull complete [2022-09-20T22:41:52.335Z] 7c6cee850709: Pull complete [2022-09-20T22:41:52.335Z] 39a5fcdaea64: Pull complete [2022-09-20T22:41:52.335Z] d94ebbe4e438: Pull complete [2022-09-20T22:41:52.806Z] Merging remotes/origin/main commit 98b98247f9133d8f7aed6314c982956ab2f73d9e into PR head commit e9867ceccc81c4680e14fc13c8919f6907f05772 [2022-09-20T22:41:53.098Z] Merge succeeded, producing 770e49f98ab9a0319562a8a700f6290beba4a444 [2022-09-20T22:41:53.099Z] Checking out Revision 770e49f98ab9a0319562a8a700f6290beba4a444 (PR-1196) [2022-09-20T22:41:52.034Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-20T22:41:52.055Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-20T22:41:52.083Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-20T22:41:52.118Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-20T22:41:52.118Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-20T22:41:52.133Z] > 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-20T22:41:52.828Z] > git config core.sparsecheckout # timeout=10 [2022-09-20T22:41:52.845Z] > git checkout -f e9867ceccc81c4680e14fc13c8919f6907f05772 # timeout=10 [2022-09-20T22:41:52.957Z] > git remote # timeout=10 [2022-09-20T22:41:52.978Z] > git config --get remote.origin.url # timeout=10 [2022-09-20T22:41:52.992Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-20T22:41:53.004Z] > git merge 98b98247f9133d8f7aed6314c982956ab2f73d9e # timeout=10 [2022-09-20T22:41:53.084Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-20T22:41:53.107Z] > git config core.sparsecheckout # timeout=10 [2022-09-20T22:41:53.120Z] > git checkout -f 770e49f98ab9a0319562a8a700f6290beba4a444 # timeout=10 [2022-09-20T22:41:54.876Z] bcfd1f05c69d: Pull complete [2022-09-20T22:41:55.136Z] 59ccb84bbe0f: Pull complete [2022-09-20T22:41:55.136Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-20T22:41:55.136Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-20T22:41:55.136Z] ---> a4fb48ad2a94 [2022-09-20T22:41:55.136Z] Step 3/11 : ARG MAKE=make build [2022-09-20T22:41:56.541Z] ---> Running in 42fdc30acbcf [2022-09-20T22:41:56.541Z] Removing intermediate container 42fdc30acbcf [2022-09-20T22:41:56.541Z] ---> 4a02f02f667c [2022-09-20T22:41:56.541Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-20T22:41:56.541Z] ---> Running in 90136fb0ef3c [2022-09-20T22:41:56.541Z] Removing intermediate container 90136fb0ef3c [2022-09-20T22:41:56.541Z] ---> 2b105e41169f [2022-09-20T22:41:56.541Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-20T22:41:56.802Z] ---> Running in 6648a2329d13 [2022-09-20T22:41:56.802Z] Removing intermediate container 6648a2329d13 [2022-09-20T22:41:56.802Z] ---> 0d9aa4b35597 [2022-09-20T22:41:56.802Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T22:41:56.802Z] ---> Running in a1f1065cdbe4 [2022-09-20T22:41:57.317Z] Commit message: "Merge commit '98b98247f9133d8f7aed6314c982956ab2f73d9e' into HEAD" [2022-09-20T22:41:57.341Z] First time build. Skipping changelog. [2022-09-20T22:41:57.372Z] Removing intermediate container a1f1065cdbe4 [2022-09-20T22:41:57.372Z] ---> c84d5d994ba3 [2022-09-20T22:41:57.372Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-20T22:41:57.372Z] ---> Running in 990d53bf5619 [2022-09-20T22:41:57.326Z] > git rev-list --no-walk b1dc979145095e8e846205f9e2715265dc275d17 # timeout=10 [2022-09-20T22:41:57.632Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-20T22:41:58.196Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-20T22:41:58.196Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-20T22:41:58.196Z] Dload Upload Total Spent Left Speed [2022-09-20T22:41:58.196Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 93348 0 --:--:-- --:--:-- --:--:-- 94044 [Pipeline] sh [2022-09-20T22:41:58.573Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-20T22:41:58.834Z] OK: 211 MiB in 51 packages [2022-09-20T22:41:58.891Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-20T22:41:59.095Z] Removing intermediate container 990d53bf5619 [2022-09-20T22:41:59.095Z] ---> cd4128f024cf [2022-09-20T22:41:59.095Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-20T22:41:59.258Z] + + sudo teesudo /etc/docker/daemon.new jq [2022-09-20T22:41:59.258Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-20T22:41:59.258Z] { [2022-09-20T22:41:59.258Z] "registry-mirrors": [ [2022-09-20T22:41:59.258Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-20T22:41:59.258Z] ], [2022-09-20T22:41:59.258Z] "bip": "10.250.0.254/24", [2022-09-20T22:41:59.258Z] "hosts": [ [2022-09-20T22:41:59.258Z] "tcp://0.0.0.0:5555", [2022-09-20T22:41:59.258Z] "unix:///var/run/docker.sock" [2022-09-20T22:41:59.258Z] ], [2022-09-20T22:41:59.258Z] "mtu": 1458, [2022-09-20T22:41:59.258Z] "selinux-enabled": true, [2022-09-20T22:41:59.258Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-20T22:41:59.258Z] } [Pipeline] sh [2022-09-20T22:41:59.353Z] ---> ad363495a8f1 [2022-09-20T22:41:59.353Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-20T22:41:59.353Z] ---> Running in ef4b99ecc30f [2022-09-20T22:41:59.603Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-20T22:41:59.948Z] + sudo service docker restart [2022-09-20T22:42:14.386Z] Removing intermediate container ef4b99ecc30f [2022-09-20T22:42:14.386Z] ---> 9cf6a1b24036 [2022-09-20T22:42:14.386Z] Step 10/11 : COPY . . [2022-09-20T22:42:14.646Z] ---> 50d31301db1d [2022-09-20T22:42:14.646Z] Step 11/11 : RUN ${MAKE} [2022-09-20T22:42:14.646Z] ---> Running in 9550a7e21b0a [2022-09-20T22:42:14.907Z] noop [2022-09-20T22:42:15.168Z] Removing intermediate container 9550a7e21b0a [2022-09-20T22:42:15.168Z] ---> f0980d63b6a2 [2022-09-20T22:42:15.168Z] Successfully built f0980d63b6a2 [2022-09-20T22:42:15.168Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T22:42:15.485Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-20T22:42:15.485Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T22:42:15.568Z] prd-ubuntu20.04-docker-8c-8g-30009 does not seem to be running inside a container [2022-09-20T22:42:15.603Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-09-20T22:42:15.958Z] $ docker top 475dae7122391284f0beae796d238c957e2e89794925e25d38c0dc6954b7e53e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T22:42:16.319Z] + go version [2022-09-20T22:42:16.319Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-20T22:42:16.331Z] $ docker stop --time=1 475dae7122391284f0beae796d238c957e2e89794925e25d38c0dc6954b7e53e [2022-09-20T22:42:17.621Z] $ docker rm -f 475dae7122391284f0beae796d238c957e2e89794925e25d38c0dc6954b7e53e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T22:42:18.126Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-20T22:42:18.127Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T22:42:18.235Z] prd-ubuntu20.04-docker-8c-8g-30009 does not seem to be running inside a container [2022-09-20T22:42:18.269Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-09-20T22:42:18.674Z] $ docker top ffbbf845eb6b831332748b0bc83b3726d75a90369ea9003045704f31c9e48fe6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] configFileProvider [2022-09-20T22:42:18.799Z] provisioning config files... [2022-09-20T22:42:18.824Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config296604979846518663tmp [Pipeline] { [2022-09-20T22:42:19.045Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] libraryResource [Pipeline] sh [Pipeline] fileExists [Pipeline] sh [2022-09-20T22:42:19.386Z] ---> docker-login.sh [2022-09-20T22:42:19.386Z] nexus3.edgexfoundry.org:10001 [2022-09-20T22:42:19.421Z] + make test [2022-09-20T22:42:19.421Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-20T22:42:19.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:42:20.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:42:20.260Z] Configure a credential helper to remove this warning. See [2022-09-20T22:42:20.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:42:20.260Z] [2022-09-20T22:42:20.260Z] Login Succeeded [2022-09-20T22:42:20.260Z] nexus3.edgexfoundry.org:10002 [2022-09-20T22:42:20.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:42:20.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:42:20.809Z] Configure a credential helper to remove this warning. See [2022-09-20T22:42:20.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:42:20.809Z] [2022-09-20T22:42:20.809Z] Login Succeeded [2022-09-20T22:42:20.809Z] nexus3.edgexfoundry.org:10003 [2022-09-20T22:42:21.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:42:21.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:42:21.366Z] Configure a credential helper to remove this warning. See [2022-09-20T22:42:21.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:42:21.366Z] [2022-09-20T22:42:21.366Z] Login Succeeded [2022-09-20T22:42:21.366Z] nexus3.edgexfoundry.org:10004 [2022-09-20T22:42:21.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:42:21.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:42:21.641Z] Configure a credential helper to remove this warning. See [2022-09-20T22:42:21.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:42:21.641Z] [2022-09-20T22:42:21.641Z] Login Succeeded [2022-09-20T22:42:21.641Z] docker.io [2022-09-20T22:42:22.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:42:22.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:42:22.512Z] Configure a credential helper to remove this warning. See [2022-09-20T22:42:22.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:42:22.512Z] [2022-09-20T22:42:22.512Z] Login Succeeded [2022-09-20T22:42:22.512Z] ---> docker-login.sh ends [Pipeline] } [2022-09-20T22:42:22.531Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-20T22:42:22.799Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-20T22:42:22.814Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-20T22:42:22.821Z] ========================================================= [2022-09-20T22:42:22.821Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-20T22:42:22.821Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T22:42:23.176Z] + 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-20T22:42:23.451Z] Sending build context to Docker daemon 5.28MB [2022-09-20T22:42:23.727Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-20T22:42:23.727Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-20T22:42:23.727Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-20T22:42:23.727Z] b3c136eddcbf: Pulling fs layer [2022-09-20T22:42:23.727Z] c0a3192eca97: Pulling fs layer [2022-09-20T22:42:23.727Z] a050256f5b6f: Pulling fs layer [2022-09-20T22:42:23.727Z] 656be50a0ddc: Pulling fs layer [2022-09-20T22:42:23.727Z] 2bbca73fdf42: Pulling fs layer [2022-09-20T22:42:23.727Z] 46d945488cbd: Pulling fs layer [2022-09-20T22:42:23.727Z] 8a5474983e97: Pulling fs layer [2022-09-20T22:42:23.727Z] 329c88fbcd65: Pulling fs layer [2022-09-20T22:42:23.727Z] 656be50a0ddc: Waiting [2022-09-20T22:42:23.727Z] 2bbca73fdf42: Waiting [2022-09-20T22:42:23.727Z] 46d945488cbd: Waiting [2022-09-20T22:42:23.727Z] 8a5474983e97: Waiting [2022-09-20T22:42:23.727Z] 329c88fbcd65: Waiting [2022-09-20T22:42:23.727Z] a050256f5b6f: Verifying Checksum [2022-09-20T22:42:23.727Z] a050256f5b6f: Download complete [2022-09-20T22:42:23.727Z] c0a3192eca97: Verifying Checksum [2022-09-20T22:42:23.727Z] c0a3192eca97: Download complete [2022-09-20T22:42:23.727Z] 2bbca73fdf42: Verifying Checksum [2022-09-20T22:42:23.727Z] 2bbca73fdf42: Download complete [2022-09-20T22:42:24.006Z] 46d945488cbd: Verifying Checksum [2022-09-20T22:42:24.006Z] 46d945488cbd: Download complete [2022-09-20T22:42:24.006Z] b3c136eddcbf: Verifying Checksum [2022-09-20T22:42:24.006Z] b3c136eddcbf: Download complete [2022-09-20T22:42:24.999Z] b3c136eddcbf: Pull complete [2022-09-20T22:42:24.999Z] 329c88fbcd65: Verifying Checksum [2022-09-20T22:42:24.999Z] 329c88fbcd65: Download complete [2022-09-20T22:42:25.277Z] c0a3192eca97: Pull complete [2022-09-20T22:42:25.559Z] a050256f5b6f: Pull complete [2022-09-20T22:42:25.995Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-20T22:42:26.159Z] 8a5474983e97: Verifying Checksum [2022-09-20T22:42:26.160Z] 8a5474983e97: Download complete [2022-09-20T22:42:26.761Z] 656be50a0ddc: Verifying Checksum [2022-09-20T22:42:26.761Z] 656be50a0ddc: Download complete [2022-09-20T22:42:38.207Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-20T22:42:38.207Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-20T22:42:38.207Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-20T22:42:38.779Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.075s coverage: 23.6% of statements [2022-09-20T22:42:38.779Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-20T22:42:38.779Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.098s coverage: 27.6% of statements [2022-09-20T22:42:38.779Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.081s coverage: 78.9% of statements [2022-09-20T22:42:38.779Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.055s coverage: 10.8% of statements [2022-09-20T22:42:38.779Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.066s coverage: 60.0% of statements [2022-09-20T22:42:38.779Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-20T22:42:38.779Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-20T22:42:38.779Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.083s coverage: 34.8% of statements [2022-09-20T22:42:38.779Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-20T22:42:39.039Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.066s coverage: 85.4% of statements [2022-09-20T22:42:39.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-20T22:42:39.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-20T22:42:39.039Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.093s coverage: 65.1% of statements [2022-09-20T22:42:39.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-20T22:42:39.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-20T22:42:39.039Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.742s coverage: 89.2% of statements [2022-09-20T22:42:39.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-20T22:42:39.300Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.9% of statements [2022-09-20T22:42:39.300Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-20T22:42:41.886Z] 656be50a0ddc: Pull complete [2022-09-20T22:42:41.886Z] 2bbca73fdf42: Pull complete [2022-09-20T22:42:41.886Z] 46d945488cbd: Pull complete [2022-09-20T22:42:46.219Z] 8a5474983e97: Pull complete [2022-09-20T22:42:48.206Z] 329c88fbcd65: Pull complete [2022-09-20T22:42:48.206Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-20T22:42:48.206Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-20T22:42:48.206Z] ---> ff4287adb874 [2022-09-20T22:42:48.206Z] Step 3/11 : ARG MAKE=make build [2022-09-20T22:42:49.187Z] ---> Running in 0f7613e88b33 [2022-09-20T22:42:49.462Z] Removing intermediate container 0f7613e88b33 [2022-09-20T22:42:49.462Z] ---> 907c7713cba9 [2022-09-20T22:42:49.462Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-20T22:42:49.462Z] ---> Running in d90ca5273c32 [2022-09-20T22:42:49.739Z] Removing intermediate container d90ca5273c32 [2022-09-20T22:42:49.739Z] ---> 3260cc09f9a3 [2022-09-20T22:42:49.739Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-20T22:42:49.739Z] ---> Running in 73f0585e64d5 [2022-09-20T22:42:50.340Z] Removing intermediate container 73f0585e64d5 [2022-09-20T22:42:50.340Z] ---> 6d4b53fcd176 [2022-09-20T22:42:50.340Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T22:42:50.340Z] ---> Running in 49b7d6111761 [2022-09-20T22:42:51.796Z] Removing intermediate container 49b7d6111761 [2022-09-20T22:42:51.796Z] ---> 52ec564a2a70 [2022-09-20T22:42:51.796Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-20T22:42:52.078Z] ---> Running in 59075662a7e6 [2022-09-20T22:42:53.071Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-20T22:42:54.048Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-20T22:42:54.648Z] OK: 221 MiB in 51 packages [2022-09-20T22:42:55.641Z] Removing intermediate container 59075662a7e6 [2022-09-20T22:42:55.641Z] ---> 5d0cdd9425cb [2022-09-20T22:42:55.641Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-20T22:42:55.920Z] ---> e656f538b1ce [2022-09-20T22:42:55.920Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-20T22:42:56.200Z] ---> Running in 2639c3dceaa3 [2022-09-20T22:42:57.434Z] 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-20T22:42:57.434Z] GO111MODULE=on go vet ./... [2022-09-20T22:42:58.819Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-20T22:42:58.819Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-20T22:42:58.819Z] ./bin/test-attribution-txt.sh [2022-09-20T22:42:58.819Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-09-20T22:42:58.819Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-09-20T22:42:58.819Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-09-20T22:42:58.819Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-20T22:42:58.819Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-20T22:42:58.819Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-09-20T22:42:58.819Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-09-20T22:42:58.832Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-20T22:42:58.849Z] $ docker stop --time=1 ffbbf845eb6b831332748b0bc83b3726d75a90369ea9003045704f31c9e48fe6 [2022-09-20T22:43:02.171Z] $ docker rm -f ffbbf845eb6b831332748b0bc83b3726d75a90369ea9003045704f31c9e48fe6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-20T22:43:02.712Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-20T22:43:02.784Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-20T22:43:03.279Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-20T22:43:03.575Z] + ls -al . [2022-09-20T22:43:03.575Z] total 300 [2022-09-20T22:43:03.575Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 22:42 . [2022-09-20T22:43:03.575Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 22:41 .. [2022-09-20T22:43:03.575Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 22:41 .dockerignore [2022-09-20T22:43:03.575Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 22:42 .git [2022-09-20T22:43:03.575Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 22:41 .github [2022-09-20T22:43:03.575Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 20 22:41 .gitignore [2022-09-20T22:43:03.575Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 22:41 .golangci.yml [2022-09-20T22:43:03.576Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 22:41 .semver [2022-09-20T22:43:03.576Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 20 22:41 CHANGELOG.md [2022-09-20T22:43:03.576Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 22:41 GOVERNANCE.md [2022-09-20T22:43:03.576Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 20 22:41 Jenkinsfile [2022-09-20T22:43:03.576Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 22:41 LICENSE [2022-09-20T22:43:03.576Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 20 22:41 Makefile [2022-09-20T22:43:03.576Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 22:41 OWNERS.md [2022-09-20T22:43:03.576Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 20 22:41 README.md [2022-09-20T22:43:03.576Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 22:41 VERSION [2022-09-20T22:43:03.576Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 22:41 bin [2022-09-20T22:43:03.576Z] -rw-r--r-- 1 jenkins jenkins 130804 Sep 20 22:42 coverage.out [2022-09-20T22:43:03.576Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 22:41 example [2022-09-20T22:43:03.576Z] -rw-rw-r-- 1 jenkins jenkins 3553 Sep 20 22:41 go.mod [2022-09-20T22:43:03.576Z] -rw-rw-r-- 1 jenkins jenkins 36743 Sep 20 22:41 go.sum [2022-09-20T22:43:03.576Z] drwxrwxr-x 15 jenkins jenkins 4096 Sep 20 22:41 internal [2022-09-20T22:43:03.576Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 22:41 openapi [2022-09-20T22:43:03.576Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 22:41 pkg [2022-09-20T22:43:03.576Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 22:41 snap [2022-09-20T22:43:03.576Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 22:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T22:43:03.887Z] + 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=20f7df29fe35d9f9d63affb6a5025a1436d247e0 --label arch=amd64 --label version=0.0.0 . [2022-09-20T22:43:03.887Z] Sending build context to Docker daemon 9.951MB [2022-09-20T22:43:03.887Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-20T22:43:03.887Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-20T22:43:03.887Z] ---> f0980d63b6a2 [2022-09-20T22:43:03.887Z] Step 3/25 : ARG MAKE=make build [2022-09-20T22:43:04.154Z] ---> Running in 35005ea2a3ac [2022-09-20T22:43:04.154Z] Removing intermediate container 35005ea2a3ac [2022-09-20T22:43:04.154Z] ---> fd907361a5f8 [2022-09-20T22:43:04.154Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-20T22:43:04.154Z] ---> Running in d2823a893088 [2022-09-20T22:43:04.154Z] Removing intermediate container d2823a893088 [2022-09-20T22:43:04.154Z] ---> b143f3ad5e17 [2022-09-20T22:43:04.154Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-20T22:43:04.415Z] ---> Running in d16512128466 [2022-09-20T22:43:04.415Z] Removing intermediate container d16512128466 [2022-09-20T22:43:04.415Z] ---> ab91295802b6 [2022-09-20T22:43:04.415Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T22:43:04.415Z] ---> Running in 84191b875c0f [2022-09-20T22:43:04.988Z] Removing intermediate container 84191b875c0f [2022-09-20T22:43:04.988Z] ---> 61156e062164 [2022-09-20T22:43:04.988Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-20T22:43:04.988Z] ---> Running in bc66b19266ef [2022-09-20T22:43:05.249Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-20T22:43:06.195Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-20T22:43:06.455Z] OK: 211 MiB in 51 packages [2022-09-20T22:43:06.714Z] Removing intermediate container bc66b19266ef [2022-09-20T22:43:06.714Z] ---> f9febbb81f78 [2022-09-20T22:43:06.714Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-20T22:43:06.714Z] ---> 6b7900bb0731 [2022-09-20T22:43:06.714Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-20T22:43:06.976Z] ---> Running in 095e3b2e05ee [2022-09-20T22:43:07.544Z] Removing intermediate container 095e3b2e05ee [2022-09-20T22:43:07.544Z] ---> d87d1d1cf848 [2022-09-20T22:43:07.544Z] Step 10/25 : COPY . . [2022-09-20T22:43:07.810Z] ---> 957a25d26b23 [2022-09-20T22:43:07.810Z] Step 11/25 : RUN ${MAKE} [2022-09-20T22:43:08.071Z] ---> Running in 0f0537f3573e [2022-09-20T22:43:08.330Z] 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-20T22:43:26.435Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-20T22:43:27.816Z] Removing intermediate container 0f0537f3573e [2022-09-20T22:43:27.816Z] ---> 0a32c2a09bba [2022-09-20T22:43:27.816Z] Step 12/25 : FROM alpine:3.16 [2022-09-20T22:43:28.076Z] 3.16: Pulling from library/alpine [2022-09-20T22:43:28.336Z] 213ec9aee27d: Pulling fs layer [2022-09-20T22:43:28.653Z] 213ec9aee27d: Verifying Checksum [2022-09-20T22:43:28.653Z] 213ec9aee27d: Download complete [2022-09-20T22:43:28.653Z] 213ec9aee27d: Pull complete [2022-09-20T22:43:28.653Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-20T22:43:28.653Z] Status: Downloaded newer image for alpine:3.16 [2022-09-20T22:43:28.653Z] ---> 9c6f07244728 [2022-09-20T22:43:28.653Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-20T22:43:28.913Z] ---> Running in 864e355ec735 [2022-09-20T22:43:28.913Z] Removing intermediate container 864e355ec735 [2022-09-20T22:43:28.913Z] ---> 359c2136fd79 [2022-09-20T22:43:28.913Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T22:43:28.913Z] ---> Running in 3bf536192ee9 [2022-09-20T22:43:29.482Z] Removing intermediate container 3bf536192ee9 [2022-09-20T22:43:29.482Z] ---> 43b26e0dae2a [2022-09-20T22:43:29.482Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-20T22:43:29.482Z] ---> Running in 88c957fb6c5a [2022-09-20T22:43:29.742Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-20T22:43:30.683Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-20T22:43:31.253Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-20T22:43:31.253Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-20T22:43:31.253Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-20T22:43:31.514Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-20T22:43:31.775Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-20T22:43:31.775Z] Executing busybox-1.35.0-r17.trigger [2022-09-20T22:43:31.775Z] OK: 8 MiB in 19 packages [2022-09-20T22:43:32.041Z] Removing intermediate container 88c957fb6c5a [2022-09-20T22:43:32.041Z] ---> 09c162c12197 [2022-09-20T22:43:32.041Z] Step 16/25 : WORKDIR / [2022-09-20T22:43:32.300Z] ---> Running in 8bdd27b20007 [2022-09-20T22:43:32.300Z] Removing intermediate container 8bdd27b20007 [2022-09-20T22:43:32.300Z] ---> 5afbaa47887a [2022-09-20T22:43:32.300Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-20T22:43:32.300Z] ---> 57d1db540a7b [2022-09-20T22:43:32.300Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-20T22:43:33.241Z] ---> 10e750ef4870 [2022-09-20T22:43:33.241Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-20T22:43:33.241Z] ---> 4ca566fa3659 [2022-09-20T22:43:33.241Z] Step 20/25 : EXPOSE 59999 [2022-09-20T22:43:33.241Z] ---> Running in 9328bdd7d4a0 [2022-09-20T22:43:33.241Z] Removing intermediate container 9328bdd7d4a0 [2022-09-20T22:43:33.241Z] ---> 1da4f06254e7 [2022-09-20T22:43:33.241Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-20T22:43:33.241Z] ---> Running in b5ced68d825b [2022-09-20T22:43:33.502Z] Removing intermediate container b5ced68d825b [2022-09-20T22:43:33.502Z] ---> ea57cca8aa3b [2022-09-20T22:43:33.502Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-20T22:43:33.502Z] ---> Running in 99a61d4a3ec4 [2022-09-20T22:43:33.502Z] Removing intermediate container 99a61d4a3ec4 [2022-09-20T22:43:33.502Z] ---> a5342411e509 [2022-09-20T22:43:33.502Z] Step 23/25 : LABEL arch=amd64 [2022-09-20T22:43:33.502Z] ---> Running in be0b36a6e510 [2022-09-20T22:43:33.502Z] Removing intermediate container be0b36a6e510 [2022-09-20T22:43:33.502Z] ---> b65cb1f003d8 [2022-09-20T22:43:33.502Z] Step 24/25 : LABEL git_sha=20f7df29fe35d9f9d63affb6a5025a1436d247e0 [2022-09-20T22:43:33.502Z] ---> Running in bf8ffcd6591b [2022-09-20T22:43:33.765Z] Removing intermediate container bf8ffcd6591b [2022-09-20T22:43:33.765Z] ---> bb1f5d8c51d5 [2022-09-20T22:43:33.765Z] Step 25/25 : LABEL version=0.0.0 [2022-09-20T22:43:33.765Z] ---> Running in 9a0624141535 [2022-09-20T22:43:33.765Z] Removing intermediate container 9a0624141535 [2022-09-20T22:43:33.765Z] ---> 613fc7e49ddd [2022-09-20T22:43:33.765Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-20T22:43:33.765Z] Successfully built 613fc7e49ddd [2022-09-20T22:43:33.765Z] 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-20T22:43:34.228Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-20T22:43:34.228Z] [2022-09-20T22:43:34.228Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T22:43:34.553Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-20T22:43:34.554Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-20T22:43:34.554Z] 5eb5b503b376: Pulling fs layer [2022-09-20T22:43:34.554Z] 5c69ac0246d0: Pulling fs layer [2022-09-20T22:43:34.554Z] ec43610c2a17: Pulling fs layer [2022-09-20T22:43:34.554Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-20T22:43:34.554Z] 33b1e0a273af: Pulling fs layer [2022-09-20T22:43:34.554Z] 5d3b04190fa2: Pulling fs layer [2022-09-20T22:43:34.554Z] 2f39f015ded8: Pulling fs layer [2022-09-20T22:43:34.554Z] 3a2ae6a8a46f: Waiting [2022-09-20T22:43:34.554Z] 33b1e0a273af: Waiting [2022-09-20T22:43:34.554Z] 5d3b04190fa2: Waiting [2022-09-20T22:43:34.554Z] 2f39f015ded8: Waiting [2022-09-20T22:43:34.554Z] 5c69ac0246d0: Download complete [2022-09-20T22:43:34.554Z] 3a2ae6a8a46f: Download complete [2022-09-20T22:43:34.554Z] 33b1e0a273af: Verifying Checksum [2022-09-20T22:43:34.554Z] 33b1e0a273af: Download complete [2022-09-20T22:43:34.554Z] 5d3b04190fa2: Verifying Checksum [2022-09-20T22:43:34.554Z] 5d3b04190fa2: Download complete [2022-09-20T22:43:34.814Z] ec43610c2a17: Verifying Checksum [2022-09-20T22:43:34.814Z] ec43610c2a17: Download complete [2022-09-20T22:43:34.814Z] 5eb5b503b376: Verifying Checksum [2022-09-20T22:43:34.814Z] 5eb5b503b376: Download complete [2022-09-20T22:43:35.386Z] 2f39f015ded8: Download complete [2022-09-20T22:43:35.958Z] 5eb5b503b376: Pull complete [2022-09-20T22:43:36.220Z] 5c69ac0246d0: Pull complete [2022-09-20T22:43:36.799Z] ec43610c2a17: Pull complete [2022-09-20T22:43:36.799Z] 3a2ae6a8a46f: Pull complete [2022-09-20T22:43:37.059Z] 33b1e0a273af: Pull complete [2022-09-20T22:43:37.059Z] 5d3b04190fa2: Pull complete [2022-09-20T22:43:41.251Z] 2f39f015ded8: Pull complete [2022-09-20T22:43:41.251Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-20T22:43:41.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-20T22:43:41.251Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T22:43:41.346Z] prd-ubuntu20.04-docker-8c-8g-30009 does not seem to be running inside a container [2022-09-20T22:43:41.382Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-20T22:43:43.209Z] Removing intermediate container 2639c3dceaa3 [2022-09-20T22:43:43.209Z] ---> 8cb3c821c33f [2022-09-20T22:43:43.209Z] Step 10/11 : COPY . . [2022-09-20T22:43:43.209Z] ---> d2f684bc2a66 [2022-09-20T22:43:43.209Z] Step 11/11 : RUN ${MAKE} [2022-09-20T22:43:43.209Z] ---> Running in 356a0ecb9730 [2022-09-20T22:43:43.782Z] $ docker top 280c9849532a3b8ae3020682a272169a686b53c03adfbbb4e4b28aa90f0f8547 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T22:43:44.190Z] ---> job-cost.sh [2022-09-20T22:43:44.190Z] lf-activate-venv: SKIPPING [2022-09-20T22:43:44.190Z] INFO: No Stack... [2022-09-20T22:43:44.191Z] noop [2022-09-20T22:43:44.450Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-20T22:43:44.801Z] Removing intermediate container 356a0ecb9730 [2022-09-20T22:43:44.801Z] ---> f42d7b099129 [2022-09-20T22:43:44.801Z] Successfully built f42d7b099129 [2022-09-20T22:43:44.801Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T22:43:45.018Z] INFO: Archiving Costs [Pipeline] sh [2022-09-20T22:43:45.167Z] + docker inspect -f . ci-base-image-arm64 [2022-09-20T22:43:45.167Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T22:43:45.401Z] prd-ubuntu20.04-docker-arm64-4c-16g-30008 does not seem to be running inside a container [2022-09-20T22:43:45.442Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/cost.csv [2022-09-20T22:43:45.442Z] + cut -d, -f6 [2022-09-20T22:43:45.483Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-arm64 cat [2022-09-20T22:43:46.699Z] $ docker top 474f2c0a6193e3c860409cb085d8bc768888d08986f2b8a6e1a206061ae328bd -eo pid,comm [Pipeline] { [Pipeline] lock [2022-09-20T22:43:46.959Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1196-8-stack-cost] [2022-09-20T22:43:46.966Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-8-stack-cost] did not exist. Created. [2022-09-20T22:43:46.966Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1196-8-stack-cost] [Pipeline] { [Pipeline] sh [Pipeline] unstash [Pipeline] sh [2022-09-20T22:43:47.322Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-20T22:43:47.350Z] Stashed 1 file(s) [Pipeline] } [2022-09-20T22:43:47.357Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-8-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-20T22:43:47.373Z] $ docker stop --time=1 280c9849532a3b8ae3020682a272169a686b53c03adfbbb4e4b28aa90f0f8547 [2022-09-20T22:43:47.628Z] + go version [2022-09-20T22:43:47.628Z] go version go1.18.3 linux/arm64 [2022-09-20T22:43:48.528Z] $ docker rm -f 280c9849532a3b8ae3020682a272169a686b53c03adfbbb4e4b28aa90f0f8547 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2022-09-20T22:43:48.600Z] $ docker stop --time=1 474f2c0a6193e3c860409cb085d8bc768888d08986f2b8a6e1a206061ae328bd [2022-09-20T22:43:50.285Z] $ docker rm -f 474f2c0a6193e3c860409cb085d8bc768888d08986f2b8a6e1a206061ae328bd [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T22:43:50.918Z] + docker inspect -f . ci-base-image-arm64 [2022-09-20T22:43:50.918Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T22:43:51.170Z] prd-ubuntu20.04-docker-arm64-4c-16g-30008 does not seem to be running inside a container [2022-09-20T22:43:51.260Z] $ 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/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-arm64 cat [2022-09-20T22:43:52.543Z] $ docker top fc7f8a4f3c9495a1c47f9837f34832a27e9622fdd90664dd17a0b2f720b7a294 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T22:43:53.433Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/8 [Pipeline] fileExists [Pipeline] sh [2022-09-20T22:43:54.100Z] + make test [2022-09-20T22:43:54.100Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-20T22:44:26.461Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-20T22:46:03.351Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-20T22:46:03.351Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-20T22:46:03.351Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-20T22:46:11.669Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.390s coverage: 23.6% of statements [2022-09-20T22:46:11.670Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-20T22:46:11.670Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.453s coverage: 27.6% of statements [2022-09-20T22:46:11.670Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.431s coverage: 78.9% of statements [2022-09-20T22:46:11.670Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.294s coverage: 10.8% of statements [2022-09-20T22:46:15.078Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.464s coverage: 60.0% of statements [2022-09-20T22:46:15.078Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-20T22:46:15.078Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-20T22:46:17.726Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.473s coverage: 34.8% of statements [2022-09-20T22:46:17.726Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-20T22:46:20.368Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.251s coverage: 85.4% of statements [2022-09-20T22:46:20.368Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-20T22:46:20.368Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-20T22:46:20.368Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.475s coverage: 65.1% of statements [2022-09-20T22:46:20.368Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-20T22:46:20.368Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-20T22:46:23.768Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.997s coverage: 89.2% of statements [2022-09-20T22:46:23.768Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-20T22:46:24.364Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.217s coverage: 4.9% of statements [2022-09-20T22:46:24.364Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-20T22:46:24.961Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-20T22:46:24.961Z] GO111MODULE=on go vet ./... [2022-09-20T22:47:46.910Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-20T22:47:46.910Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-20T22:47:46.910Z] ./bin/test-attribution-txt.sh [2022-09-20T22:47:46.910Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-09-20T22:47:46.910Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-09-20T22:47:46.910Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-09-20T22:47:46.910Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-20T22:47:46.910Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-20T22:47:46.910Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-09-20T22:47:46.910Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-09-20T22:47:46.934Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-20T22:47:46.952Z] $ docker stop --time=1 fc7f8a4f3c9495a1c47f9837f34832a27e9622fdd90664dd17a0b2f720b7a294 [2022-09-20T22:47:48.729Z] $ docker rm -f fc7f8a4f3c9495a1c47f9837f34832a27e9622fdd90664dd17a0b2f720b7a294 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-20T22:47:49.997Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-20T22:47:50.022Z] Warning: overwriting stash ‘coverage-report’ [2022-09-20T22:47:50.539Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-20T22:47:50.927Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-20T22:47:51.273Z] + ls -al . [2022-09-20T22:47:51.273Z] total 296 [2022-09-20T22:47:51.273Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 22:43 . [2022-09-20T22:47:51.273Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 22:41 .. [2022-09-20T22:47:51.273Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 22:41 .dockerignore [2022-09-20T22:47:51.273Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 22:41 .git [2022-09-20T22:47:51.273Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 22:41 .github [2022-09-20T22:47:51.273Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 20 22:41 .gitignore [2022-09-20T22:47:51.273Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 22:41 .golangci.yml [2022-09-20T22:47:51.273Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 20 22:41 CHANGELOG.md [2022-09-20T22:47:51.273Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 22:41 GOVERNANCE.md [2022-09-20T22:47:51.273Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 20 22:41 Jenkinsfile [2022-09-20T22:47:51.273Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 22:41 LICENSE [2022-09-20T22:47:51.273Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 20 22:41 Makefile [2022-09-20T22:47:51.273Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 22:41 OWNERS.md [2022-09-20T22:47:51.273Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 20 22:41 README.md [2022-09-20T22:47:51.273Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 22:41 VERSION [2022-09-20T22:47:51.273Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 22:41 bin [2022-09-20T22:47:51.273Z] -rw-r--r-- 1 jenkins jenkins 130804 Sep 20 22:46 coverage.out [2022-09-20T22:47:51.273Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 22:41 example [2022-09-20T22:47:51.273Z] -rw-rw-r-- 1 jenkins jenkins 3553 Sep 20 22:41 go.mod [2022-09-20T22:47:51.273Z] -rw-rw-r-- 1 jenkins jenkins 36743 Sep 20 22:41 go.sum [2022-09-20T22:47:51.273Z] drwxrwxr-x 15 jenkins jenkins 4096 Sep 20 22:41 internal [2022-09-20T22:47:51.273Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 22:41 openapi [2022-09-20T22:47:51.273Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 22:41 pkg [2022-09-20T22:47:51.273Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 22:41 snap [2022-09-20T22:47:51.273Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 22:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T22:47:51.630Z] + 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=770e49f98ab9a0319562a8a700f6290beba4a444 --label arch=arm64 --label version=0.0.0 . [2022-09-20T22:47:51.905Z] Sending build context to Docker daemon 5.412MB [2022-09-20T22:47:52.174Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-20T22:47:52.174Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-20T22:47:52.174Z] ---> f42d7b099129 [2022-09-20T22:47:52.174Z] Step 3/25 : ARG MAKE=make build [2022-09-20T22:47:52.174Z] ---> Running in 5a038860a130 [2022-09-20T22:47:52.446Z] Removing intermediate container 5a038860a130 [2022-09-20T22:47:52.446Z] ---> 464027f831dc [2022-09-20T22:47:52.446Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-20T22:47:52.446Z] ---> Running in d0975ef8b7bf [2022-09-20T22:47:52.716Z] Removing intermediate container d0975ef8b7bf [2022-09-20T22:47:52.716Z] ---> 87bba097ea93 [2022-09-20T22:47:52.716Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-20T22:47:52.988Z] ---> Running in 5ccac0a6dceb [2022-09-20T22:47:53.266Z] Removing intermediate container 5ccac0a6dceb [2022-09-20T22:47:53.266Z] ---> c9d710dc0a8a [2022-09-20T22:47:53.266Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T22:47:53.266Z] ---> Running in 8e5fc6ca8543 [2022-09-20T22:47:54.692Z] Removing intermediate container 8e5fc6ca8543 [2022-09-20T22:47:54.692Z] ---> 81b58d78d33f [2022-09-20T22:47:54.692Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-20T22:47:54.692Z] ---> Running in c983d98a4e97 [2022-09-20T22:47:55.666Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-20T22:47:56.648Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-20T22:47:57.632Z] OK: 221 MiB in 51 packages [2022-09-20T22:47:58.229Z] Removing intermediate container c983d98a4e97 [2022-09-20T22:47:58.229Z] ---> 70ee1eba7af8 [2022-09-20T22:47:58.229Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-20T22:47:58.823Z] ---> 54a8e7c58c5e [2022-09-20T22:47:58.823Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-20T22:47:58.823Z] ---> Running in f72dee083f8e [2022-09-20T22:48:00.811Z] Removing intermediate container f72dee083f8e [2022-09-20T22:48:00.811Z] ---> 2ee6864019ad [2022-09-20T22:48:00.811Z] Step 10/25 : COPY . . [2022-09-20T22:48:01.786Z] ---> d3eb324abb13 [2022-09-20T22:48:01.786Z] Step 11/25 : RUN ${MAKE} [2022-09-20T22:48:01.786Z] ---> Running in 9879c96e3f3b [2022-09-20T22:48:02.763Z] 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-20T22:50:09.627Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-20T22:50:09.627Z] Removing intermediate container 9879c96e3f3b [2022-09-20T22:50:09.627Z] ---> a65b0fda6456 [2022-09-20T22:50:09.627Z] Step 12/25 : FROM alpine:3.16 [2022-09-20T22:50:09.627Z] 3.16: Pulling from library/alpine [2022-09-20T22:50:09.627Z] 9b18e9b68314: Pulling fs layer [2022-09-20T22:50:09.627Z] 9b18e9b68314: Verifying Checksum [2022-09-20T22:50:09.627Z] 9b18e9b68314: Download complete [2022-09-20T22:50:09.627Z] 9b18e9b68314: Pull complete [2022-09-20T22:50:09.627Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-20T22:50:09.627Z] Status: Downloaded newer image for alpine:3.16 [2022-09-20T22:50:09.627Z] ---> a6215f271958 [2022-09-20T22:50:09.627Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-20T22:50:09.627Z] ---> Running in 358c46ec6d3c [2022-09-20T22:50:09.627Z] Removing intermediate container 358c46ec6d3c [2022-09-20T22:50:09.627Z] ---> b259bdf7c4b3 [2022-09-20T22:50:09.627Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T22:50:09.627Z] ---> Running in f3801466afd4 [2022-09-20T22:50:09.627Z] Removing intermediate container f3801466afd4 [2022-09-20T22:50:09.627Z] ---> 1c631309bb97 [2022-09-20T22:50:09.627Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-20T22:50:09.627Z] ---> Running in 56d73ca9e723 [2022-09-20T22:50:09.627Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-20T22:50:09.627Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-20T22:50:09.627Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-20T22:50:09.627Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-20T22:50:09.627Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-20T22:50:09.627Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-20T22:50:09.627Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-20T22:50:09.627Z] Executing busybox-1.35.0-r17.trigger [2022-09-20T22:50:09.627Z] OK: 8 MiB in 19 packages [2022-09-20T22:50:10.617Z] Removing intermediate container 56d73ca9e723 [2022-09-20T22:50:10.617Z] ---> d1113363b665 [2022-09-20T22:50:10.617Z] Step 16/25 : WORKDIR / [2022-09-20T22:50:10.617Z] ---> Running in 0fcfa949d39f [2022-09-20T22:50:10.891Z] Removing intermediate container 0fcfa949d39f [2022-09-20T22:50:10.891Z] ---> 42c9839287a4 [2022-09-20T22:50:10.891Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-20T22:50:11.488Z] ---> 7a5d1d100a99 [2022-09-20T22:50:11.488Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-20T22:50:12.919Z] ---> b36b26da71cc [2022-09-20T22:50:12.919Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-20T22:50:13.515Z] ---> 119d9cfb420f [2022-09-20T22:50:13.515Z] Step 20/25 : EXPOSE 59999 [2022-09-20T22:50:13.515Z] ---> Running in 98995dce5232 [2022-09-20T22:50:13.788Z] Removing intermediate container 98995dce5232 [2022-09-20T22:50:13.788Z] ---> 0b236ec19f75 [2022-09-20T22:50:13.788Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-20T22:50:14.061Z] ---> Running in b3baf132e5c3 [2022-09-20T22:50:14.334Z] Removing intermediate container b3baf132e5c3 [2022-09-20T22:50:14.334Z] ---> c76805063b5f [2022-09-20T22:50:14.334Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-20T22:50:14.334Z] ---> Running in cf968ced2d3f [2022-09-20T22:50:14.613Z] Removing intermediate container cf968ced2d3f [2022-09-20T22:50:14.613Z] ---> d5ccb13bb7e6 [2022-09-20T22:50:14.613Z] Step 23/25 : LABEL arch=arm64 [2022-09-20T22:50:14.891Z] ---> Running in a91cf4269d35 [2022-09-20T22:50:15.162Z] Removing intermediate container a91cf4269d35 [2022-09-20T22:50:15.162Z] ---> 817e90d42831 [2022-09-20T22:50:15.162Z] Step 24/25 : LABEL git_sha=770e49f98ab9a0319562a8a700f6290beba4a444 [2022-09-20T22:50:15.162Z] ---> Running in 4ba0aec5e76c [2022-09-20T22:50:15.436Z] Removing intermediate container 4ba0aec5e76c [2022-09-20T22:50:15.436Z] ---> 5ec6db8cde78 [2022-09-20T22:50:15.436Z] Step 25/25 : LABEL version=0.0.0 [2022-09-20T22:50:15.436Z] ---> Running in 7d0a5edeb748 [2022-09-20T22:50:15.709Z] Removing intermediate container 7d0a5edeb748 [2022-09-20T22:50:15.709Z] ---> 4ab677a3cff6 [2022-09-20T22:50:15.709Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-20T22:50:15.979Z] Successfully built 4ab677a3cff6 [2022-09-20T22:50:15.979Z] 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-20T22:50:16.420Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-20T22:50:16.420Z] [2022-09-20T22:50:16.420Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T22:50:16.766Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-20T22:50:17.042Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-20T22:50:17.042Z] 8998bd30e6a1: Pulling fs layer [2022-09-20T22:50:17.042Z] 04944245beec: Pulling fs layer [2022-09-20T22:50:17.042Z] 699f458cf7ca: Pulling fs layer [2022-09-20T22:50:17.042Z] 765212b225bb: Pulling fs layer [2022-09-20T22:50:17.042Z] f23df028b6ca: Pulling fs layer [2022-09-20T22:50:17.042Z] d65c8cfc05b1: Pulling fs layer [2022-09-20T22:50:17.042Z] 2437ff75d9bd: Pulling fs layer [2022-09-20T22:50:17.042Z] 765212b225bb: Waiting [2022-09-20T22:50:17.042Z] f23df028b6ca: Waiting [2022-09-20T22:50:17.042Z] d65c8cfc05b1: Waiting [2022-09-20T22:50:17.042Z] 2437ff75d9bd: Waiting [2022-09-20T22:50:17.042Z] 04944245beec: Verifying Checksum [2022-09-20T22:50:17.042Z] 04944245beec: Download complete [2022-09-20T22:50:17.042Z] 765212b225bb: Verifying Checksum [2022-09-20T22:50:17.042Z] 765212b225bb: Download complete [2022-09-20T22:50:17.042Z] f23df028b6ca: Verifying Checksum [2022-09-20T22:50:17.042Z] f23df028b6ca: Download complete [2022-09-20T22:50:17.042Z] d65c8cfc05b1: Verifying Checksum [2022-09-20T22:50:17.042Z] d65c8cfc05b1: Download complete [2022-09-20T22:50:17.317Z] 699f458cf7ca: Verifying Checksum [2022-09-20T22:50:17.317Z] 699f458cf7ca: Download complete [2022-09-20T22:50:17.590Z] 8998bd30e6a1: Verifying Checksum [2022-09-20T22:50:17.590Z] 8998bd30e6a1: Download complete [2022-09-20T22:50:20.226Z] 2437ff75d9bd: Verifying Checksum [2022-09-20T22:50:20.226Z] 2437ff75d9bd: Download complete [2022-09-20T22:50:22.206Z] 8998bd30e6a1: Pull complete [2022-09-20T22:50:22.478Z] 04944245beec: Pull complete [2022-09-20T22:50:23.911Z] 699f458cf7ca: Pull complete [2022-09-20T22:50:24.185Z] 765212b225bb: Pull complete [2022-09-20T22:50:24.781Z] f23df028b6ca: Pull complete [2022-09-20T22:50:25.054Z] d65c8cfc05b1: Pull complete [2022-09-20T22:50:40.216Z] 2437ff75d9bd: Pull complete [2022-09-20T22:50:40.216Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-20T22:50:40.216Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-20T22:50:40.216Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T22:50:40.537Z] prd-ubuntu20.04-docker-arm64-4c-16g-30008 does not seem to be running inside a container [2022-09-20T22:50:40.651Z] $ 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/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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:arm64 cat [2022-09-20T22:50:43.240Z] $ docker top a9ab4a9d18bd1dd3d36e04da79a226f75ccb1ae43e8bae3329da86d1819f87ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T22:50:44.180Z] ---> job-cost.sh [2022-09-20T22:50:44.181Z] lf-activate-venv: SKIPPING [2022-09-20T22:50:44.181Z] INFO: No Stack... [2022-09-20T22:50:44.775Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-20T22:50:45.369Z] INFO: Archiving Costs [Pipeline] sh [2022-09-20T22:50:46.034Z] + cat /w/workspace/device-sdk-go/8/archives/cost.csv [2022-09-20T22:50:46.034Z] + cut -d, -f6 [Pipeline] lock [2022-09-20T22:50:46.096Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1196-8-stack-cost] [2022-09-20T22:50:46.104Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-8-stack-cost] did not exist. Created. [2022-09-20T22:50:46.104Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1196-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-20T22:50:46.778Z] /w/workspace/device-sdk-go/8@tmp/durable-32cfe843/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-20T22:50:47.449Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-20T22:50:47.478Z] Warning: overwriting stash ‘stack-cost’ [2022-09-20T22:50:47.534Z] Stashed 1 file(s) [Pipeline] } [2022-09-20T22:50:47.541Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-8-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-20T22:50:47.568Z] $ docker stop --time=1 a9ab4a9d18bd1dd3d36e04da79a226f75ccb1ae43e8bae3329da86d1819f87ea [2022-09-20T22:50:49.100Z] $ docker rm -f a9ab4a9d18bd1dd3d36e04da79a226f75ccb1ae43e8bae3329da86d1819f87ea [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-20T22:50:49.549Z] provisioning config files... [2022-09-20T22:50:49.560Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config7548790423777892969tmp [Pipeline] { [Pipeline] sh [2022-09-20T22:50:49.851Z] + set +x [2022-09-20T22:50:49.851Z] + curl -s https://codecov.io/bash [2022-09-20T22:50:49.851Z] + bash -s -- [2022-09-20T22:50:49.851Z] [2022-09-20T22:50:49.851Z] _____ _ [2022-09-20T22:50:49.851Z] / ____| | | [2022-09-20T22:50:49.851Z] | | ___ __| | ___ ___ _____ __ [2022-09-20T22:50:49.851Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-20T22:50:49.851Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-20T22:50:49.851Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-20T22:50:49.851Z] Bash-1.0.6 [2022-09-20T22:50:49.851Z] [2022-09-20T22:50:49.851Z] [2022-09-20T22:50:49.851Z] ==> git version 2.25.1 found [2022-09-20T22:50:49.851Z] ==> 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-20T22:50:49.851Z] Release-Date: 2020-01-08 [2022-09-20T22:50:49.851Z] 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-20T22:50:49.851Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-20T22:50:49.851Z] ==> Jenkins CI detected. [2022-09-20T22:50:49.851Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1196 [2022-09-20T22:50:49.851Z] project root: . [2022-09-20T22:50:49.851Z] --> token set from env [2022-09-20T22:50:49.851Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-20T22:50:49.851Z] ==> Running gcov in . (disable via -X gcov) [2022-09-20T22:50:49.851Z] ==> Python coveragepy not found [2022-09-20T22:50:49.851Z] ==> Searching for coverage reports in: [2022-09-20T22:50:49.851Z] + . [2022-09-20T22:50:49.851Z] -> Found 1 reports [2022-09-20T22:50:49.851Z] ==> Detecting git/mercurial file structure [2022-09-20T22:50:49.851Z] ==> Reading reports [2022-09-20T22:50:49.851Z] + ./coverage.out bytes=130804 [2022-09-20T22:50:49.851Z] ==> Appending adjustments [2022-09-20T22:50:49.851Z] https://docs.codecov.io/docs/fixing-reports [2022-09-20T22:50:50.420Z] + Found adjustments [2022-09-20T22:50:50.420Z] ==> Gzipping contents [2022-09-20T22:50:50.420Z] 20K /tmp/codecov.sGxHJm.gz [2022-09-20T22:50:50.420Z] ==> Uploading reports [2022-09-20T22:50:50.420Z] url: https://codecov.io [2022-09-20T22:50:50.420Z] query: branch=PR-1196&commit=20f7df29fe35d9f9d63affb6a5025a1436d247e0&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1196%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1196&job=&cmd_args= [2022-09-20T22:50:50.420Z] -> Pinging Codecov [2022-09-20T22:50:50.420Z] 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=20f7df29fe35d9f9d63affb6a5025a1436d247e0&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1196%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1196&job=&cmd_args= [2022-09-20T22:50:51.362Z] -> Uploading to [2022-09-20T22:50:51.362Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-20/7E55EF52A471D76F132DFD9A03CDDE97/20f7df29fe35d9f9d63affb6a5025a1436d247e0/53c88121-438c-4d66-8334-7e6692afec94.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220920T225050Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0404b5d280c999fafee058b668c99006e270334215b0558c99605002c7f2d3b2 [2022-09-20T22:50:51.362Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-20T22:50:51.362Z] Dload Upload Total Spent Left Speed [2022-09-20T22:50:51.362Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17222 0 0 100 17222 0 62625 --:--:-- --:--:-- --:--:-- 62625 [2022-09-20T22:50:51.362Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/20f7df29fe35d9f9d63affb6a5025a1436d247e0 [Pipeline] } [2022-09-20T22:50:51.370Z] 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-20T22:50:52.095Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives ] [2022-09-20T22:50:52.095Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives [2022-09-20T22:50:52.095Z] total 16 [2022-09-20T22:50:52.095Z] drwxr-xr-x 3 root root 4096 Sep 20 22:43 . [2022-09-20T22:50:52.095Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 22:43 .. [2022-09-20T22:50:52.095Z] drwxr-xr-x 2 root root 4096 Sep 20 22:43 cost [2022-09-20T22:50:52.095Z] -rw-r--r-- 1 root root 86 Sep 20 22:43 cost.csv [2022-09-20T22:50:52.095Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives [2022-09-20T22:50:52.095Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives [2022-09-20T22:50:52.095Z] total 16 [2022-09-20T22:50:52.095Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 22:43 . [2022-09-20T22:50:52.095Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 22:43 .. [2022-09-20T22:50:52.095Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 22:43 cost [2022-09-20T22:50:52.095Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 20 22:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-20T22:50:52.394Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T22:50:53.261Z] ---> package-listing.sh [2022-09-20T22:50:53.262Z] ++ facter osfamily [2022-09-20T22:50:53.262Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-20T22:50:53.522Z] + OS_FAMILY=debian [2022-09-20T22:50:53.522Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1196 [2022-09-20T22:50:53.522Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-20T22:50:53.522Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-20T22:50:53.522Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-20T22:50:53.522Z] + PACKAGES=/tmp/packages_start.txt [2022-09-20T22:50:53.522Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1196 ']' [2022-09-20T22:50:53.522Z] + PACKAGES=/tmp/packages_end.txt [2022-09-20T22:50:53.522Z] + case "${OS_FAMILY}" in [2022-09-20T22:50:53.522Z] + dpkg -l [2022-09-20T22:50:53.522Z] + grep '^ii' [2022-09-20T22:50:53.522Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-20T22:50:53.522Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-20T22:50:53.522Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-20T22:50:53.522Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1196 ']' [2022-09-20T22:50:53.522Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/ [2022-09-20T22:50:53.522Z] + 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-20T22:50:53.534Z] 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-20T22:50:53.816Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T22:50:54.380Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-20T22:50:54.380Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T22:50:54.468Z] prd-ubuntu20.04-docker-8c-8g-30009 does not seem to be running inside a container [2022-09-20T22:50:54.507Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-20T22:50:54.724Z] $ docker top df68e567d86534ce72c297dd28e842429749d801962a7eae4a4dfa72cf8b8a3e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T22:50:55.090Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-20T22:50:55.379Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-20T22:50:55.670Z] + ls /var/log/sa-host [2022-09-20T22:50:55.670Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-20T22:50:55.809Z] provisioning config files... [2022-09-20T22:50:55.821Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config4789249011975421390tmp [Pipeline] { [Pipeline] echo [2022-09-20T22:50:55.835Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T22:50:56.119Z] ---> create-netrc.sh [Pipeline] } [2022-09-20T22:50:56.130Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-20T22:50:56.468Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-20T22:50:56.478Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T22:50:56.764Z] ---> sudo-logs.sh [2022-09-20T22:50:56.764Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-20T22:50:56.792Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T22:50:57.075Z] ---> job-cost.sh [2022-09-20T22:50:57.076Z] lf-activate-venv: SKIPPING [2022-09-20T22:50:57.076Z] DEBUG: total: 0.2199999988079071 [2022-09-20T22:50:57.076Z] INFO: Retrieving Stack Cost... [2022-09-20T22:50:57.647Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-20T22:50:57.908Z] INFO: Archiving Costs [Pipeline] echo [2022-09-20T22:50:57.926Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T22:50:58.213Z] ---> logs-deploy.sh [2022-09-20T22:50:58.214Z] lf-activate-venv: SKIPPING [2022-09-20T22:50:58.214Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1196/8 [2022-09-20T22:50:58.214Z] INFO: archiving workspace using pattern(s): [2022-09-20T22:50:59.158Z] Archives upload complete. [2022-09-20T22:50:59.420Z] INFO: archiving logs to Nexus