Pull request #1193 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bbe81c66c38b6a7421196357cee3d11e97f2a46e+0e45c78ae4a01ecb7618f0e8cadec166d2cd8803 (eeaf6c2884d28bbbc24a1ceecedba8dd45c4c578) 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-ssh6074427349343025511.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh13879207001969230441.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1193/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1193/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9035206601348795601.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1193/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2863630681542967980.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16256610659412659193.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1193/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1193/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17736931501566121920.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-19816 in /w/workspace/gexfoundry_device-sdk-go_PR-1193 [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-1193 # 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 0e45c78ae4a01ecb7618f0e8cadec166d2cd8803 into PR head commit bbe81c66c38b6a7421196357cee3d11e97f2a46e Merge succeeded, producing bbe81c66c38b6a7421196357cee3d11e97f2a46e Checking out Revision bbe81c66c38b6a7421196357cee3d11e97f2a46e (PR-1193) > 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/1193/head:refs/remotes/origin/PR-1193 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bbe81c66c38b6a7421196357cee3d11e97f2a46e # 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 0e45c78ae4a01ecb7618f0e8cadec166d2cd8803 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bbe81c66c38b6a7421196357cee3d11e97f2a46e # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-13T04:06:49.262Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-13T04:06:49.470Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-13T04:06:49.585Z] ========================================================= [2022-07-13T04:06:49.585Z] EdgeX Global Pipelines Version Info [2022-07-13T04:06:49.585Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-13T04:06:50.393Z] ------------------- [2022-07-13T04:06:50.393Z] stable info: [2022-07-13T04:06:50.393Z] ------------------- [2022-07-13T04:06:50.393Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-13T04:06:50.393Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-13T04:06:50.393Z] Message: update stable to v1.0.237 [2022-07-13T04:06:50.967Z] ------------------- [2022-07-13T04:06:50.967Z] experimental info: [2022-07-13T04:06:50.967Z] ------------------- [2022-07-13T04:06:50.967Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-13T04:06:50.967Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-13T04:06:50.967Z] Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-13T04:06:51.342Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-07-13T04:06:51.383Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-07-13T04:06:51.426Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-13T04:06:51.470Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-13T04:06:51.509Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-13T04:06:51.551Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-13T04:06:51.594Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-13T04:06:51.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-07-13T04:06:51.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-13T04:06:51.721Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-13T04:06:51.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-13T04:06:51.799Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-07-13T04:06:51.841Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-13T04:06:51.881Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-13T04:06:51.921Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-13T04:06:51.965Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-07-13T04:06:52.009Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-13T04:06:52.049Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-13T04:06:52.088Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-13T04:06:52.128Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-13T04:06:52.164Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-07-13T04:06:52.207Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-07-13T04:06:52.247Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-13T04:06:52.285Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-13T04:06:52.324Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-13T04:06:52.364Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-13T04:06:52.403Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-13T04:06:52.445Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1193 [Pipeline] echo [2022-07-13T04:06:52.482Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1193 [Pipeline] echo [2022-07-13T04:06:52.518Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1193 [Pipeline] echo [2022-07-13T04:06:52.555Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bbe81c66c38b6a7421196357cee3d11e97f2a46e [Pipeline] echo [2022-07-13T04:06:52.592Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bbe81c6 [Pipeline] echo [2022-07-13T04:06:52.627Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-13T04:06:52.734Z] provisioning config files... [2022-07-13T04:06:52.750Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1193@tmp/config4228504759865599547tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-13T04:06:53.092Z] ---> docker-login.sh [2022-07-13T04:06:53.092Z] nexus3.edgexfoundry.org:10001 [2022-07-13T04:06:53.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T04:06:53.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T04:06:53.619Z] Configure a credential helper to remove this warning. See [2022-07-13T04:06:53.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T04:06:53.619Z] [2022-07-13T04:06:53.619Z] Login Succeeded [2022-07-13T04:06:53.619Z] nexus3.edgexfoundry.org:10002 [2022-07-13T04:06:53.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T04:06:53.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T04:06:53.882Z] Configure a credential helper to remove this warning. See [2022-07-13T04:06:53.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T04:06:53.882Z] [2022-07-13T04:06:53.882Z] Login Succeeded [2022-07-13T04:06:53.882Z] nexus3.edgexfoundry.org:10003 [2022-07-13T04:06:53.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T04:06:53.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T04:06:53.882Z] Configure a credential helper to remove this warning. See [2022-07-13T04:06:53.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T04:06:53.882Z] [2022-07-13T04:06:53.882Z] Login Succeeded [2022-07-13T04:06:53.882Z] nexus3.edgexfoundry.org:10004 [2022-07-13T04:06:54.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T04:06:54.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T04:06:54.145Z] Configure a credential helper to remove this warning. See [2022-07-13T04:06:54.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T04:06:54.145Z] [2022-07-13T04:06:54.145Z] Login Succeeded [2022-07-13T04:06:54.145Z] docker.io [2022-07-13T04:06:54.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T04:06:54.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T04:06:54.406Z] Configure a credential helper to remove this warning. See [2022-07-13T04:06:54.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T04:06:54.406Z] [2022-07-13T04:06:54.406Z] Login Succeeded [2022-07-13T04:06:54.406Z] ---> docker-login.sh ends [Pipeline] } [2022-07-13T04:06:54.432Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-13T04:06:55.048Z] + git rev-list -1 --merges bbe81c66c38b6a7421196357cee3d11e97f2a46e~1..bbe81c66c38b6a7421196357cee3d11e97f2a46e [Pipeline] echo [2022-07-13T04:06:55.107Z] -----------> git rev-list -1 --merges bbe81c66c38b6a7421196357cee3d11e97f2a46e~1..bbe81c66c38b6a7421196357cee3d11e97f2a46e bbe81c66c38b6a7421196357cee3d11e97f2a46e [false] [Pipeline] sh [2022-07-13T04:06:55.418Z] + git log --format=format:%s -1 bbe81c66c38b6a7421196357cee3d11e97f2a46e [Pipeline] echo [2022-07-13T04:06:55.454Z] ========================================================= [2022-07-13T04:06:55.454Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-13T04:06:55.454Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-13T04:06:55.878Z] + git log --format=format:%s -1 bbe81c66c38b6a7421196357cee3d11e97f2a46e [Pipeline] echo [2022-07-13T04:06:55.910Z] [semverPrep] GIT_COMMIT: bbe81c66c38b6a7421196357cee3d11e97f2a46e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2022-07-13T04:06:55.937Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-13T04:06:56.346Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-13T04:06:56.346Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-13T04:06:56.346Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-13T04:06:56.346Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-13T04:06:56.346Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-13T04:06:56.346Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-13T04:06:56.346Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T04:06:56.852Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-13T04:06:56.852Z] [2022-07-13T04:06:56.852Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T04:06:57.247Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-13T04:06:57.247Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-13T04:06:57.247Z] b85a868b505f: Pulling fs layer [2022-07-13T04:06:57.247Z] e2be974225ed: Pulling fs layer [2022-07-13T04:06:57.247Z] 339a4e72a1f5: Pulling fs layer [2022-07-13T04:06:57.247Z] 988bab9f4d93: Pulling fs layer [2022-07-13T04:06:57.247Z] 1469e6f7b9e6: Pulling fs layer [2022-07-13T04:06:57.247Z] eaf3925da568: Pulling fs layer [2022-07-13T04:06:57.247Z] bab4dde63d76: Pulling fs layer [2022-07-13T04:06:57.247Z] bde34c3a00c8: Pulling fs layer [2022-07-13T04:06:57.247Z] b352a97aabf1: Pulling fs layer [2022-07-13T04:06:57.247Z] 4872d77fe225: Pulling fs layer [2022-07-13T04:06:57.247Z] 5851b861e8e6: Pulling fs layer [2022-07-13T04:06:57.247Z] bab4dde63d76: Waiting [2022-07-13T04:06:57.247Z] 4872d77fe225: Waiting [2022-07-13T04:06:57.247Z] bde34c3a00c8: Waiting [2022-07-13T04:06:57.247Z] 5851b861e8e6: Waiting [2022-07-13T04:06:57.247Z] b352a97aabf1: Waiting [2022-07-13T04:06:57.247Z] 988bab9f4d93: Waiting [2022-07-13T04:06:57.247Z] 1469e6f7b9e6: Waiting [2022-07-13T04:06:57.247Z] eaf3925da568: Waiting [2022-07-13T04:06:57.247Z] e2be974225ed: Download complete [2022-07-13T04:06:57.247Z] 988bab9f4d93: Verifying Checksum [2022-07-13T04:06:57.247Z] 988bab9f4d93: Download complete [2022-07-13T04:06:57.508Z] 1469e6f7b9e6: Verifying Checksum [2022-07-13T04:06:57.508Z] 1469e6f7b9e6: Download complete [2022-07-13T04:06:57.508Z] 339a4e72a1f5: Verifying Checksum [2022-07-13T04:06:57.508Z] 339a4e72a1f5: Download complete [2022-07-13T04:06:57.508Z] eaf3925da568: Verifying Checksum [2022-07-13T04:06:57.508Z] eaf3925da568: Download complete [2022-07-13T04:06:57.508Z] bde34c3a00c8: Verifying Checksum [2022-07-13T04:06:57.508Z] bde34c3a00c8: Download complete [2022-07-13T04:06:57.508Z] b352a97aabf1: Download complete [2022-07-13T04:06:57.508Z] 4872d77fe225: Download complete [2022-07-13T04:06:57.508Z] 5851b861e8e6: Verifying Checksum [2022-07-13T04:06:57.508Z] 5851b861e8e6: Download complete [2022-07-13T04:06:57.508Z] b85a868b505f: Verifying Checksum [2022-07-13T04:06:57.508Z] b85a868b505f: Download complete [2022-07-13T04:06:57.768Z] bab4dde63d76: Download complete [2022-07-13T04:06:58.708Z] b85a868b505f: Pull complete [2022-07-13T04:06:58.978Z] e2be974225ed: Pull complete [2022-07-13T04:06:59.550Z] 339a4e72a1f5: Pull complete [2022-07-13T04:06:59.550Z] 988bab9f4d93: Pull complete [2022-07-13T04:06:59.812Z] 1469e6f7b9e6: Pull complete [2022-07-13T04:06:59.812Z] eaf3925da568: Pull complete [2022-07-13T04:07:01.723Z] bab4dde63d76: Pull complete [2022-07-13T04:07:01.723Z] bde34c3a00c8: Pull complete [2022-07-13T04:07:01.986Z] b352a97aabf1: Pull complete [2022-07-13T04:07:01.986Z] 4872d77fe225: Pull complete [2022-07-13T04:07:01.986Z] 5851b861e8e6: Pull complete [2022-07-13T04:07:01.986Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-13T04:07:01.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-13T04:07:01.986Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-13T04:07:02.227Z] prd-ubuntu20.04-docker-8c-8g-19816 does not seem to be running inside a container [2022-07-13T04:07:02.271Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1193 -v /w/workspace/gexfoundry_device-sdk-go_PR-1193:/w/workspace/gexfoundry_device-sdk-go_PR-1193:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1193@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1193@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-13T04:07:03.901Z] $ docker top 6fff3384c0a321a3fe1092c3760a0b1279f6a5d8ea902ddcb6f27e88ad1cff30 -eo pid,comm [2022-07-13T04:07:03.986Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-13T04:07:03.986Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-13T04:07:04.104Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-13T04:07:04.104Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-13T04:07:04.239Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-13T04:07:04.247Z] $ docker exec 6fff3384c0a321a3fe1092c3760a0b1279f6a5d8ea902ddcb6f27e88ad1cff30 ssh-agent [2022-07-13T04:07:04.364Z] SSH_AUTH_SOCK=/tmp/ssh-d7cskfJAeEmi/agent.34 [2022-07-13T04:07:04.364Z] SSH_AGENT_PID=41 [2022-07-13T04:07:04.371Z] Running ssh-add (command line suppressed) [2022-07-13T04:07:04.487Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1193@tmp/private_key_7902846238215382559.key (/w/workspace/gexfoundry_device-sdk-go_PR-1193@tmp/private_key_7902846238215382559.key) [2022-07-13T04:07:04.498Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-13T04:07:04.825Z] + git tag --points-at HEAD [Pipeline] } [2022-07-13T04:07:04.853Z] $ docker exec --env ******** --env ******** 6fff3384c0a321a3fe1092c3760a0b1279f6a5d8ea902ddcb6f27e88ad1cff30 ssh-agent -k [2022-07-13T04:07:04.974Z] unset SSH_AUTH_SOCK; [2022-07-13T04:07:04.975Z] unset SSH_AGENT_PID; [2022-07-13T04:07:04.975Z] echo Agent pid 41 killed; [2022-07-13T04:07:04.983Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-13T04:07:05.058Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-13T04:07:05.059Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-13T04:07:05.185Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-13T04:07:05.192Z] $ docker exec 6fff3384c0a321a3fe1092c3760a0b1279f6a5d8ea902ddcb6f27e88ad1cff30 ssh-agent [2022-07-13T04:07:05.330Z] SSH_AUTH_SOCK=/tmp/ssh-atZQMWhQlWhO/agent.73 [2022-07-13T04:07:05.330Z] SSH_AGENT_PID=79 [2022-07-13T04:07:05.337Z] Running ssh-add (command line suppressed) [2022-07-13T04:07:05.468Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1193@tmp/private_key_2961912282143501946.key (/w/workspace/gexfoundry_device-sdk-go_PR-1193@tmp/private_key_2961912282143501946.key) [2022-07-13T04:07:05.479Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-13T04:07:05.815Z] + git semver init [2022-07-13T04:07:06.076Z] 2022-07-13 04:07:06,020 [run_init] DEBUG init version:0.0.0 force:False [2022-07-13T04:07:06.076Z] 2022-07-13 04:07:06,021 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1193/.semver [2022-07-13T04:07:06.076Z] 2022-07-13 04:07:06,021 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1193/.semver [2022-07-13T04:07:06.076Z] 2022-07-13 04:07:06,021 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1193/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1193, universal_newlines=False, shell=None, istream=None) [2022-07-13T04:07:07.020Z] 2022-07-13 04:07:06,742 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1193/.git/info/exclude [2022-07-13T04:07:07.020Z] 2022-07-13 04:07:06,743 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1193/.semver/PR-1193 with force:False [2022-07-13T04:07:07.020Z] 2022-07-13 04:07:06,743 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1193/.semver/PR-1193 [2022-07-13T04:07:07.020Z] 2022-07-13 04:07:06,747 [execute] INFO git cat-file --batch-check [2022-07-13T04:07:07.020Z] 2022-07-13 04:07:06,748 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1193/.semver, universal_newlines=False, shell=None, istream=) [2022-07-13T04:07:07.020Z] 2022-07-13 04:07:06,753 [execute] INFO git cat-file --batch [2022-07-13T04:07:07.020Z] 2022-07-13 04:07:06,753 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1193/.semver, universal_newlines=False, shell=None, istream=) [2022-07-13T04:07:07.020Z] 2022-07-13 04:07:06,758 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1193/.semver/PR-1193 [2022-07-13T04:07:07.020Z] 0.0.0 [Pipeline] } [2022-07-13T04:07:07.051Z] $ docker exec --env ******** --env ******** 6fff3384c0a321a3fe1092c3760a0b1279f6a5d8ea902ddcb6f27e88ad1cff30 ssh-agent -k [2022-07-13T04:07:07.164Z] unset SSH_AUTH_SOCK; [2022-07-13T04:07:07.165Z] unset SSH_AGENT_PID; [2022-07-13T04:07:07.165Z] echo Agent pid 79 killed; [2022-07-13T04:07:07.172Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-13T04:07:07.598Z] + git semver [Pipeline] } [2022-07-13T04:07:07.891Z] $ docker stop --time=1 6fff3384c0a321a3fe1092c3760a0b1279f6a5d8ea902ddcb6f27e88ad1cff30 [2022-07-13T04:07:09.234Z] $ docker rm -f 6fff3384c0a321a3fe1092c3760a0b1279f6a5d8ea902ddcb6f27e88ad1cff30 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-13T04:07:09.650Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-13T04:07:09.968Z] Stashed 1 file(s) [Pipeline] echo [2022-07-13T04:07:09.985Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-13T04:07:10.524Z] provisioning config files... [2022-07-13T04:07:10.535Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1193@tmp/config2515475920783675408tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-13T04:07:10.882Z] ---> docker-login.sh [2022-07-13T04:07:10.882Z] nexus3.edgexfoundry.org:10001 [2022-07-13T04:07:10.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T04:07:10.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T04:07:10.882Z] Configure a credential helper to remove this warning. See [2022-07-13T04:07:10.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T04:07:10.882Z] [2022-07-13T04:07:10.882Z] Login Succeeded [2022-07-13T04:07:10.882Z] nexus3.edgexfoundry.org:10002 [2022-07-13T04:07:10.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T04:07:11.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T04:07:11.144Z] Configure a credential helper to remove this warning. See [2022-07-13T04:07:11.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T04:07:11.144Z] [2022-07-13T04:07:11.144Z] Login Succeeded [2022-07-13T04:07:11.144Z] nexus3.edgexfoundry.org:10003 [2022-07-13T04:07:11.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T04:07:11.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T04:07:11.144Z] Configure a credential helper to remove this warning. See [2022-07-13T04:07:11.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T04:07:11.144Z] [2022-07-13T04:07:11.144Z] Login Succeeded [2022-07-13T04:07:11.144Z] nexus3.edgexfoundry.org:10004 [2022-07-13T04:07:11.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T04:07:11.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T04:07:11.405Z] Configure a credential helper to remove this warning. See [2022-07-13T04:07:11.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T04:07:11.405Z] [2022-07-13T04:07:11.405Z] Login Succeeded [2022-07-13T04:07:11.405Z] docker.io [2022-07-13T04:07:11.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T04:07:11.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T04:07:11.665Z] Configure a credential helper to remove this warning. See [2022-07-13T04:07:11.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T04:07:11.665Z] [2022-07-13T04:07:11.665Z] Login Succeeded [2022-07-13T04:07:11.665Z] ---> docker-login.sh ends [Pipeline] } [2022-07-13T04:07:11.693Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-13T04:07:11.878Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-13T04:07:11.913Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-13T04:07:11.956Z] ========================================================= [2022-07-13T04:07:11.956Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-13T04:07:11.956Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T04:07:12.410Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-13T04:07:12.410Z] Sending build context to Docker daemon 9.703MB [2022-07-13T04:07:12.410Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-07-13T04:07:12.410Z] Step 2/11 : FROM ${BASE} AS builder [2022-07-13T04:07:12.410Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-13T04:07:12.410Z] 2408cc74d12b: Pulling fs layer [2022-07-13T04:07:12.410Z] ea60b727a1ce: Pulling fs layer [2022-07-13T04:07:12.410Z] 30c4a7721957: Pulling fs layer [2022-07-13T04:07:12.410Z] 370296b7ddb6: Pulling fs layer [2022-07-13T04:07:12.410Z] 7c6cee850709: Pulling fs layer [2022-07-13T04:07:12.410Z] 39a5fcdaea64: Pulling fs layer [2022-07-13T04:07:12.410Z] 370296b7ddb6: Waiting [2022-07-13T04:07:12.410Z] 7c6cee850709: Waiting [2022-07-13T04:07:12.410Z] d94ebbe4e438: Pulling fs layer [2022-07-13T04:07:12.410Z] bcfd1f05c69d: Pulling fs layer [2022-07-13T04:07:12.410Z] 59ccb84bbe0f: Pulling fs layer [2022-07-13T04:07:12.410Z] 39a5fcdaea64: Waiting [2022-07-13T04:07:12.410Z] d94ebbe4e438: Waiting [2022-07-13T04:07:12.410Z] bcfd1f05c69d: Waiting [2022-07-13T04:07:12.410Z] 59ccb84bbe0f: Waiting [2022-07-13T04:07:12.671Z] 30c4a7721957: Verifying Checksum [2022-07-13T04:07:12.671Z] 30c4a7721957: Download complete [2022-07-13T04:07:12.671Z] ea60b727a1ce: Verifying Checksum [2022-07-13T04:07:12.671Z] ea60b727a1ce: Download complete [2022-07-13T04:07:12.671Z] 7c6cee850709: Download complete [2022-07-13T04:07:12.671Z] 39a5fcdaea64: Verifying Checksum [2022-07-13T04:07:12.671Z] 39a5fcdaea64: Download complete [2022-07-13T04:07:12.671Z] 2408cc74d12b: Verifying Checksum [2022-07-13T04:07:12.671Z] 2408cc74d12b: Download complete [2022-07-13T04:07:12.671Z] d94ebbe4e438: Verifying Checksum [2022-07-13T04:07:12.671Z] d94ebbe4e438: Download complete [2022-07-13T04:07:12.671Z] 2408cc74d12b: Pull complete [2022-07-13T04:07:12.932Z] ea60b727a1ce: Pull complete [2022-07-13T04:07:12.932Z] 30c4a7721957: Pull complete [2022-07-13T04:07:13.192Z] 59ccb84bbe0f: Verifying Checksum [2022-07-13T04:07:13.192Z] 59ccb84bbe0f: Download complete [2022-07-13T04:07:13.192Z] bcfd1f05c69d: Verifying Checksum [2022-07-13T04:07:13.192Z] bcfd1f05c69d: Download complete [2022-07-13T04:07:13.451Z] 370296b7ddb6: Verifying Checksum [2022-07-13T04:07:13.451Z] 370296b7ddb6: Download complete [2022-07-13T04:07:17.658Z] 370296b7ddb6: Pull complete [2022-07-13T04:07:17.924Z] 7c6cee850709: Pull complete [2022-07-13T04:07:17.924Z] 39a5fcdaea64: Pull complete [2022-07-13T04:07:17.924Z] d94ebbe4e438: Pull complete [2022-07-13T04:07:20.468Z] bcfd1f05c69d: Pull complete [2022-07-13T04:07:21.040Z] 59ccb84bbe0f: Pull complete [2022-07-13T04:07:21.040Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-13T04:07:21.040Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-13T04:07:21.040Z] ---> a4fb48ad2a94 [2022-07-13T04:07:21.040Z] Step 3/11 : ARG MAKE=make build [2022-07-13T04:07:23.585Z] ---> Running in 92e4f4891696 [2022-07-13T04:07:23.585Z] Removing intermediate container 92e4f4891696 [2022-07-13T04:07:23.585Z] ---> 09aee3602d33 [2022-07-13T04:07:23.585Z] Step 4/11 : WORKDIR /device-sdk-go [2022-07-13T04:07:23.585Z] ---> Running in 4fb552ddf46c [2022-07-13T04:07:23.585Z] Removing intermediate container 4fb552ddf46c [2022-07-13T04:07:23.585Z] ---> e2ca81673d9c [2022-07-13T04:07:23.585Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-13T04:07:23.585Z] ---> Running in b23e55564b67 [2022-07-13T04:07:23.585Z] Removing intermediate container b23e55564b67 [2022-07-13T04:07:23.585Z] ---> e1abaa0a4179 [2022-07-13T04:07:23.585Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-13T04:07:23.585Z] ---> Running in 644a943870a8 [2022-07-13T04:07:24.158Z] Removing intermediate container 644a943870a8 [2022-07-13T04:07:24.158Z] ---> 1238ab2d3488 [2022-07-13T04:07:24.158Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-13T04:07:24.419Z] ---> Running in 678e40642df5 [2022-07-13T04:07:24.680Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-13T04:07:25.356Z] Still waiting to schedule task [2022-07-13T04:07:25.357Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-13T04:07:25.622Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-13T04:07:25.884Z] OK: 211 MiB in 51 packages [2022-07-13T04:07:26.458Z] Removing intermediate container 678e40642df5 [2022-07-13T04:07:26.458Z] ---> 8e33b16b145f [2022-07-13T04:07:26.458Z] Step 8/11 : COPY go.mod vendor* ./ [2022-07-13T04:07:26.458Z] ---> 9cdbad9cf614 [2022-07-13T04:07:26.458Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-13T04:07:26.458Z] ---> Running in 6949c2fe71a4 [2022-07-13T04:07:48.460Z] Removing intermediate container 6949c2fe71a4 [2022-07-13T04:07:48.460Z] ---> de7535452376 [2022-07-13T04:07:48.460Z] Step 10/11 : COPY . . [2022-07-13T04:07:48.460Z] ---> d0c637ad1d83 [2022-07-13T04:07:48.460Z] Step 11/11 : RUN ${MAKE} [2022-07-13T04:07:48.460Z] ---> Running in e0d8cc172673 [2022-07-13T04:07:48.460Z] noop [2022-07-13T04:07:48.460Z] Removing intermediate container e0d8cc172673 [2022-07-13T04:07:48.460Z] ---> 3c4e78684ca1 [2022-07-13T04:07:48.460Z] Successfully built 3c4e78684ca1 [2022-07-13T04:07:48.460Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T04:07:48.917Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-13T04:07:48.917Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-13T04:07:49.059Z] prd-ubuntu20.04-docker-8c-8g-19816 does not seem to be running inside a container [2022-07-13T04:07:49.099Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1193 -v /w/workspace/gexfoundry_device-sdk-go_PR-1193:/w/workspace/gexfoundry_device-sdk-go_PR-1193:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1193@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1193@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 ******** ci-base-image-x86_64 cat [2022-07-13T04:07:49.660Z] $ docker top 4e3251571e9f239f09707edf7ba4cfe02b2c3f5496106271dfbd9a4ddf912533 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-13T04:07:50.052Z] + go version [2022-07-13T04:07:50.052Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-13T04:07:50.082Z] $ docker stop --time=1 4e3251571e9f239f09707edf7ba4cfe02b2c3f5496106271dfbd9a4ddf912533 [2022-07-13T04:07:51.358Z] $ docker rm -f 4e3251571e9f239f09707edf7ba4cfe02b2c3f5496106271dfbd9a4ddf912533 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T04:07:52.085Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-13T04:07:52.085Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-13T04:07:52.245Z] prd-ubuntu20.04-docker-8c-8g-19816 does not seem to be running inside a container [2022-07-13T04:07:52.284Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-sdk-go_PR-1193 -v /w/workspace/gexfoundry_device-sdk-go_PR-1193:/w/workspace/gexfoundry_device-sdk-go_PR-1193:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1193@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1193@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 ******** ci-base-image-x86_64 cat [2022-07-13T04:07:52.668Z] $ docker top 05ed2dd91aa4b4692cdb9f7c35e8db857fdd1fcc9a7d45ddd18b2ebf894275c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-13T04:07:53.068Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1193 [Pipeline] fileExists [Pipeline] sh [2022-07-13T04:07:53.427Z] + make test [2022-07-13T04:07:53.427Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-07-13T04:08:00.006Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-07-13T04:08:14.898Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-07-13T04:08:14.898Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-07-13T04:08:14.898Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-07-13T04:08:14.898Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.079s coverage: 23.7% of statements [2022-07-13T04:08:14.898Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-07-13T04:08:14.898Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.068s coverage: 27.6% of statements [2022-07-13T04:08:14.898Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.076s coverage: 78.9% of statements [2022-07-13T04:08:14.898Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.088s coverage: 10.8% of statements [2022-07-13T04:08:14.898Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.080s coverage: 60.0% of statements [2022-07-13T04:08:14.898Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-07-13T04:08:14.898Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-07-13T04:08:15.838Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.083s coverage: 34.8% of statements [2022-07-13T04:08:15.838Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-07-13T04:08:15.838Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.066s coverage: 85.4% of statements [2022-07-13T04:08:15.838Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-07-13T04:08:15.838Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-07-13T04:08:15.838Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.120s coverage: 65.1% of statements [2022-07-13T04:08:15.838Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.749s coverage: 89.2% of statements [2022-07-13T04:08:15.838Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-07-13T04:08:15.838Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.069s coverage: 4.7% of statements [2022-07-13T04:08:15.838Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-07-13T04:08:33.942Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-07-13T04:08:33.943Z] GO111MODULE=on go vet ./... [2022-07-13T04:08:34.881Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-13T04:08:34.881Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-13T04:08:34.881Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-13T04:08:34.923Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-13T04:08:34.953Z] $ docker stop --time=1 05ed2dd91aa4b4692cdb9f7c35e8db857fdd1fcc9a7d45ddd18b2ebf894275c5 [2022-07-13T04:08:37.102Z] $ docker rm -f 05ed2dd91aa4b4692cdb9f7c35e8db857fdd1fcc9a7d45ddd18b2ebf894275c5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-13T04:08:37.677Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-13T04:08:37.758Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-13T04:08:38.464Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-13T04:08:38.778Z] + ls -al . [2022-07-13T04:08:38.778Z] total 304 [2022-07-13T04:08:38.778Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 13 04:07 . [2022-07-13T04:08:38.778Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 04:06 .. [2022-07-13T04:08:38.778Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 13 04:06 .dockerignore [2022-07-13T04:08:38.778Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 04:08 .git [2022-07-13T04:08:38.778Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 04:06 .github [2022-07-13T04:08:38.778Z] -rw-rw-r-- 1 jenkins jenkins 131 Jul 13 04:06 .gitignore [2022-07-13T04:08:38.778Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 13 04:06 .golangci.yml [2022-07-13T04:08:38.778Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 04:07 .semver [2022-07-13T04:08:38.778Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jul 13 04:06 CHANGELOG.md [2022-07-13T04:08:38.778Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 13 04:06 GOVERNANCE.md [2022-07-13T04:08:38.778Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 13 04:06 Jenkinsfile [2022-07-13T04:08:38.778Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 13 04:06 LICENSE [2022-07-13T04:08:38.778Z] -rw-rw-r-- 1 jenkins jenkins 2002 Jul 13 04:06 Makefile [2022-07-13T04:08:38.778Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 13 04:06 OWNERS.md [2022-07-13T04:08:38.778Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jul 13 04:06 README.md [2022-07-13T04:08:38.778Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 13 04:07 VERSION [2022-07-13T04:08:38.778Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 04:06 bin [2022-07-13T04:08:38.778Z] -rw-r--r-- 1 jenkins jenkins 131190 Jul 13 04:08 coverage.out [2022-07-13T04:08:38.778Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 13 04:06 example [2022-07-13T04:08:38.778Z] -rw-rw-r-- 1 jenkins jenkins 3204 Jul 13 04:06 go.mod [2022-07-13T04:08:38.778Z] -rw-rw-r-- 1 jenkins jenkins 34893 Jul 13 04:06 go.sum [2022-07-13T04:08:38.778Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 13 04:06 internal [2022-07-13T04:08:38.778Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 04:06 openapi [2022-07-13T04:08:38.778Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 13 04:06 pkg [2022-07-13T04:08:38.778Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 04:06 snap [2022-07-13T04:08:38.778Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 13 04:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T04:08:39.171Z] + 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=bbe81c66c38b6a7421196357cee3d11e97f2a46e --label arch=amd64 --label version=0.0.0 . [2022-07-13T04:08:39.171Z] Sending build context to Docker daemon 9.836MB [2022-07-13T04:08:39.171Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-13T04:08:39.171Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-13T04:08:39.171Z] ---> 3c4e78684ca1 [2022-07-13T04:08:39.171Z] Step 3/25 : ARG MAKE=make build [2022-07-13T04:08:39.433Z] ---> Running in 2608bf6c2efd [2022-07-13T04:08:39.433Z] Removing intermediate container 2608bf6c2efd [2022-07-13T04:08:39.433Z] ---> f2fc253a2325 [2022-07-13T04:08:39.433Z] Step 4/25 : WORKDIR /device-sdk-go [2022-07-13T04:08:39.433Z] ---> Running in 02a33d051320 [2022-07-13T04:08:39.692Z] Removing intermediate container 02a33d051320 [2022-07-13T04:08:39.692Z] ---> 2b4c0e1e8410 [2022-07-13T04:08:39.692Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-13T04:08:39.692Z] ---> Running in df5f2b364ada [2022-07-13T04:08:39.692Z] Removing intermediate container df5f2b364ada [2022-07-13T04:08:39.692Z] ---> 277aa234685c [2022-07-13T04:08:39.692Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-13T04:08:39.692Z] ---> Running in e4122bcdffea [2022-07-13T04:08:40.264Z] Removing intermediate container e4122bcdffea [2022-07-13T04:08:40.264Z] ---> aa8dfa366359 [2022-07-13T04:08:40.264Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-13T04:08:40.524Z] ---> Running in c08137116b1c [2022-07-13T04:08:40.786Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-13T04:08:41.729Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-13T04:08:41.729Z] OK: 211 MiB in 51 packages [2022-07-13T04:08:42.299Z] Removing intermediate container c08137116b1c [2022-07-13T04:08:42.299Z] ---> dab2adbcb72f [2022-07-13T04:08:42.299Z] Step 8/25 : COPY go.mod vendor* ./ [2022-07-13T04:08:42.299Z] ---> 57f21b3ff747 [2022-07-13T04:08:42.299Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-13T04:08:42.299Z] ---> Running in a448c4cf838d [2022-07-13T04:08:43.240Z] Removing intermediate container a448c4cf838d [2022-07-13T04:08:43.241Z] ---> 87215478124e [2022-07-13T04:08:43.241Z] Step 10/25 : COPY . . [2022-07-13T04:08:43.499Z] ---> db298fb9cfb9 [2022-07-13T04:08:43.499Z] Step 11/25 : RUN ${MAKE} [2022-07-13T04:08:43.499Z] ---> Running in 7b3c80ed9351 [2022-07-13T04:08:43.758Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-07-13T04:08:56.164Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19818 in /w/workspace/gexfoundry_device-sdk-go_PR-1193 [Pipeline] { [Pipeline] ws [2022-07-13T04:08:56.211Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-07-13T04:08:56.335Z] The recommended git tool is: git [2022-07-13T04:09:01.850Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-07-13T04:09:03.261Z] using credential edgex-jenkins-ssh [2022-07-13T04:09:03.277Z] Cloning the remote Git repository [2022-07-13T04:09:03.804Z] Removing intermediate container 7b3c80ed9351 [2022-07-13T04:09:03.804Z] ---> 6c87c6b88991 [2022-07-13T04:09:03.804Z] Step 12/25 : FROM alpine:3.16 [2022-07-13T04:09:03.335Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-07-13T04:09:03.412Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-07-13T04:09:03.523Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-07-13T04:09:03.524Z] > git --version # timeout=10 [2022-07-13T04:09:03.551Z] > git --version # 'git version 2.25.1' [2022-07-13T04:09:03.553Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-13T04:09:03.625Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-13T04:09:04.388Z] 3.16: Pulling from library/alpine [2022-07-13T04:09:04.658Z] 2408cc74d12b: Already exists [2022-07-13T04:09:04.658Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-13T04:09:04.658Z] Status: Downloaded newer image for alpine:3.16 [2022-07-13T04:09:04.658Z] ---> e66264b98777 [2022-07-13T04:09:04.658Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-13T04:09:04.919Z] ---> Running in 7e0838002b15 [2022-07-13T04:09:04.919Z] Removing intermediate container 7e0838002b15 [2022-07-13T04:09:04.919Z] ---> 38540387ae55 [2022-07-13T04:09:04.919Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-13T04:09:04.919Z] ---> Running in f6675985c3d1 [2022-07-13T04:09:05.045Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-07-13T04:09:05.073Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-13T04:09:05.487Z] Removing intermediate container f6675985c3d1 [2022-07-13T04:09:05.488Z] ---> cf633302997c [2022-07-13T04:09:05.488Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-07-13T04:09:05.488Z] ---> Running in f58738fbe393 [2022-07-13T04:09:05.747Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-13T04:09:05.863Z] Merging remotes/origin/main commit 0e45c78ae4a01ecb7618f0e8cadec166d2cd8803 into PR head commit bbe81c66c38b6a7421196357cee3d11e97f2a46e [2022-07-13T04:09:06.248Z] Merge succeeded, producing bbe81c66c38b6a7421196357cee3d11e97f2a46e [2022-07-13T04:09:06.249Z] Checking out Revision bbe81c66c38b6a7421196357cee3d11e97f2a46e (PR-1193) [2022-07-13T04:09:05.190Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-07-13T04:09:05.305Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-07-13T04:09:05.305Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-13T04:09:05.322Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1193/head:refs/remotes/origin/PR-1193 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-13T04:09:05.893Z] > git config core.sparsecheckout # timeout=10 [2022-07-13T04:09:05.958Z] > git checkout -f bbe81c66c38b6a7421196357cee3d11e97f2a46e # timeout=10 [2022-07-13T04:09:06.110Z] > git remote # timeout=10 [2022-07-13T04:09:06.149Z] > git config --get remote.origin.url # timeout=10 [2022-07-13T04:09:06.179Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-13T04:09:06.194Z] > git merge 0e45c78ae4a01ecb7618f0e8cadec166d2cd8803 # timeout=10 [2022-07-13T04:09:06.224Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-13T04:09:06.256Z] > git config core.sparsecheckout # timeout=10 [2022-07-13T04:09:06.295Z] > git checkout -f bbe81c66c38b6a7421196357cee3d11e97f2a46e # timeout=10 [2022-07-13T04:09:06.687Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-13T04:09:06.947Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-07-13T04:09:07.209Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-13T04:09:07.209Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-13T04:09:07.209Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-13T04:09:07.468Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-13T04:09:07.468Z] Executing busybox-1.35.0-r13.trigger [2022-07-13T04:09:07.468Z] OK: 8 MiB in 19 packages [2022-07-13T04:09:08.039Z] Removing intermediate container f58738fbe393 [2022-07-13T04:09:08.039Z] ---> f90770f9186c [2022-07-13T04:09:08.039Z] Step 16/25 : WORKDIR / [2022-07-13T04:09:08.039Z] ---> Running in 9ab382a51b21 [2022-07-13T04:09:08.039Z] Removing intermediate container 9ab382a51b21 [2022-07-13T04:09:08.039Z] ---> 9c4e184e9310 [2022-07-13T04:09:08.039Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-07-13T04:09:08.299Z] ---> 9a6a7704080c [2022-07-13T04:09:08.299Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-07-13T04:09:08.868Z] ---> c334fc609e91 [2022-07-13T04:09:08.868Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-07-13T04:09:08.868Z] ---> f8b3eef6a7b1 [2022-07-13T04:09:08.868Z] Step 20/25 : EXPOSE 59999 [2022-07-13T04:09:08.868Z] ---> Running in 8490e6578b4b [2022-07-13T04:09:09.130Z] Removing intermediate container 8490e6578b4b [2022-07-13T04:09:09.130Z] ---> 04a8c27f036a [2022-07-13T04:09:09.130Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-07-13T04:09:09.130Z] ---> Running in 96ee6c9f7039 [2022-07-13T04:09:09.130Z] Removing intermediate container 96ee6c9f7039 [2022-07-13T04:09:09.130Z] ---> 062cccc4d246 [2022-07-13T04:09:09.130Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-13T04:09:09.130Z] ---> Running in df6e9f69aca1 [2022-07-13T04:09:09.390Z] Removing intermediate container df6e9f69aca1 [2022-07-13T04:09:09.390Z] ---> 1399de38eb43 [2022-07-13T04:09:09.390Z] Step 23/25 : LABEL arch=amd64 [2022-07-13T04:09:09.390Z] ---> Running in ae1aae9bddd0 [2022-07-13T04:09:09.390Z] Removing intermediate container ae1aae9bddd0 [2022-07-13T04:09:09.390Z] ---> 18a7c232d84d [2022-07-13T04:09:09.390Z] Step 24/25 : LABEL git_sha=bbe81c66c38b6a7421196357cee3d11e97f2a46e [2022-07-13T04:09:09.390Z] ---> Running in f6fb6ceb5438 [2022-07-13T04:09:09.650Z] Removing intermediate container f6fb6ceb5438 [2022-07-13T04:09:09.650Z] ---> 4878a591968d [2022-07-13T04:09:09.650Z] Step 25/25 : LABEL version=0.0.0 [2022-07-13T04:09:09.650Z] ---> Running in 48f50f907400 [2022-07-13T04:09:09.650Z] Removing intermediate container 48f50f907400 [2022-07-13T04:09:09.650Z] ---> 9596bedd2fec [2022-07-13T04:09:09.650Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-13T04:09:09.650Z] Successfully built 9596bedd2fec [2022-07-13T04:09:09.650Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T04:09:10.510Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-13T04:09:10.510Z] [2022-07-13T04:09:10.510Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T04:09:10.768Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2022-07-13T04:09:10.841Z] > git --version # timeout=10 [2022-07-13T04:09:10.850Z] > git --version # 'git version 2.25.1' [2022-07-13T04:09:10.868Z] fatal: bad object 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-13T04:09:10.890Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-13T04:09:10.890Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-13T04:09:10.890Z] 5eb5b503b376: Pulling fs layer [2022-07-13T04:09:10.890Z] 5c69ac0246d0: Pulling fs layer [2022-07-13T04:09:10.890Z] ec43610c2a17: Pulling fs layer [2022-07-13T04:09:10.890Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-13T04:09:10.890Z] 33b1e0a273af: Pulling fs layer [2022-07-13T04:09:10.890Z] 5d3b04190fa2: Pulling fs layer [2022-07-13T04:09:10.890Z] 2f39f015ded8: Pulling fs layer [2022-07-13T04:09:10.890Z] 33b1e0a273af: Waiting [2022-07-13T04:09:10.890Z] 5d3b04190fa2: Waiting [2022-07-13T04:09:10.890Z] 2f39f015ded8: Waiting [2022-07-13T04:09:10.890Z] 5c69ac0246d0: Download complete [2022-07-13T04:09:10.890Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-13T04:09:10.890Z] 3a2ae6a8a46f: Download complete [2022-07-13T04:09:10.890Z] 33b1e0a273af: Verifying Checksum [2022-07-13T04:09:10.890Z] 33b1e0a273af: Download complete [2022-07-13T04:09:11.137Z] [2022-07-13T04:09:11.137Z] GitHub has been notified of this commit’s build result [2022-07-13T04:09:11.137Z] [2022-07-13T04:09:11.150Z] 5d3b04190fa2: Download complete [2022-07-13T04:09:11.150Z] ec43610c2a17: Verifying Checksum [2022-07-13T04:09:11.150Z] ec43610c2a17: Download complete [2022-07-13T04:09:11.150Z] 5eb5b503b376: Verifying Checksum [2022-07-13T04:09:11.150Z] 5eb5b503b376: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-13T04:09:11.721Z] 2f39f015ded8: Download complete [2022-07-13T04:09:11.925Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-13T04:09:11.926Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-13T04:09:11.926Z] Dload Upload Total Spent Left Speed [2022-07-13T04:09:11.926Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 93000 0 --:--:-- --:--:-- --:--:-- 93000 [Pipeline] sh [2022-07-13T04:09:12.655Z] 5eb5b503b376: Pull complete [2022-07-13T04:09:12.655Z] 5c69ac0246d0: Pull complete [2022-07-13T04:09:12.871Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-13T04:09:12.914Z] ec43610c2a17: Pull complete [2022-07-13T04:09:13.175Z] 3a2ae6a8a46f: Pull complete [2022-07-13T04:09:13.175Z] 33b1e0a273af: Pull complete [2022-07-13T04:09:13.242Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-13T04:09:13.242Z] + sudo tee /etc/docker/daemon.new [2022-07-13T04:09:13.242Z] { [2022-07-13T04:09:13.242Z] "registry-mirrors": [ [2022-07-13T04:09:13.242Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-13T04:09:13.242Z] ], [2022-07-13T04:09:13.242Z] "bip": "10.250.0.254/24", [2022-07-13T04:09:13.242Z] "hosts": [ [2022-07-13T04:09:13.242Z] "tcp://0.0.0.0:5555", [2022-07-13T04:09:13.242Z] "unix:///var/run/docker.sock" [2022-07-13T04:09:13.242Z] ], [2022-07-13T04:09:13.242Z] "mtu": 1458, [2022-07-13T04:09:13.242Z] "selinux-enabled": true, [2022-07-13T04:09:13.242Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-13T04:09:13.242Z] } [Pipeline] sh [2022-07-13T04:09:13.434Z] 5d3b04190fa2: Pull complete [2022-07-13T04:09:13.593Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-13T04:09:13.952Z] + sudo service docker restart [2022-07-13T04:09:17.627Z] 2f39f015ded8: Pull complete [2022-07-13T04:09:17.628Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-13T04:09:17.628Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-13T04:09:17.628Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-13T04:09:17.852Z] prd-ubuntu20.04-docker-8c-8g-19816 does not seem to be running inside a container [2022-07-13T04:09:17.893Z] $ 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-1193 -v /w/workspace/gexfoundry_device-sdk-go_PR-1193:/w/workspace/gexfoundry_device-sdk-go_PR-1193:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1193@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1193@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-13T04:09:19.658Z] $ docker top 6cb46a2d2172b1727857961b4d65e476329e43e41f99a7e83050d55253f14506 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-13T04:09:20.108Z] ---> job-cost.sh [2022-07-13T04:09:20.108Z] lf-activate-venv: SKIPPING [2022-07-13T04:09:20.108Z] INFO: No Stack... [2022-07-13T04:09:20.678Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-13T04:09:20.939Z] INFO: Archiving Costs [Pipeline] sh [2022-07-13T04:09:21.263Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1193/archives/cost.csv [2022-07-13T04:09:21.263Z] + cut -d, -f6 [Pipeline] lock [2022-07-13T04:09:21.303Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1193-1-stack-cost] [2022-07-13T04:09:21.308Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1193-1-stack-cost] did not exist. Created. [2022-07-13T04:09:21.308Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1193-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-13T04:09:21.697Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-13T04:09:21.748Z] Stashed 1 file(s) [Pipeline] } [2022-07-13T04:09:21.773Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1193-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-13T04:09:21.850Z] $ docker stop --time=1 6cb46a2d2172b1727857961b4d65e476329e43e41f99a7e83050d55253f14506 [2022-07-13T04:09:23.020Z] $ docker rm -f 6cb46a2d2172b1727857961b4d65e476329e43e41f99a7e83050d55253f14506 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-13T04:09:32.372Z] provisioning config files... [2022-07-13T04:09:32.401Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4192041871510926563tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-13T04:09:32.806Z] ---> docker-login.sh [2022-07-13T04:09:32.806Z] nexus3.edgexfoundry.org:10001 [2022-07-13T04:09:33.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T04:09:33.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T04:09:33.683Z] Configure a credential helper to remove this warning. See [2022-07-13T04:09:33.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T04:09:33.683Z] [2022-07-13T04:09:33.683Z] Login Succeeded [2022-07-13T04:09:33.683Z] nexus3.edgexfoundry.org:10002 [2022-07-13T04:09:33.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T04:09:34.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T04:09:34.236Z] Configure a credential helper to remove this warning. See [2022-07-13T04:09:34.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T04:09:34.236Z] [2022-07-13T04:09:34.236Z] Login Succeeded [2022-07-13T04:09:34.236Z] nexus3.edgexfoundry.org:10003 [2022-07-13T04:09:34.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T04:09:34.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T04:09:34.534Z] Configure a credential helper to remove this warning. See [2022-07-13T04:09:34.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T04:09:34.534Z] [2022-07-13T04:09:34.809Z] Login Succeeded [2022-07-13T04:09:34.809Z] nexus3.edgexfoundry.org:10004 [2022-07-13T04:09:35.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T04:09:35.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T04:09:35.083Z] Configure a credential helper to remove this warning. See [2022-07-13T04:09:35.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T04:09:35.083Z] [2022-07-13T04:09:35.083Z] Login Succeeded [2022-07-13T04:09:35.083Z] docker.io [2022-07-13T04:09:35.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T04:09:35.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T04:09:35.958Z] Configure a credential helper to remove this warning. See [2022-07-13T04:09:35.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T04:09:35.958Z] [2022-07-13T04:09:35.958Z] Login Succeeded [2022-07-13T04:09:35.958Z] ---> docker-login.sh ends [Pipeline] } [2022-07-13T04:09:35.987Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-13T04:09:36.394Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-13T04:09:36.429Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-13T04:09:36.461Z] ========================================================= [2022-07-13T04:09:36.461Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-13T04:09:36.461Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T04:09:36.968Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-13T04:09:37.243Z] Sending build context to Docker daemon 5.197MB [2022-07-13T04:09:37.243Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-07-13T04:09:37.243Z] Step 2/11 : FROM ${BASE} AS builder [2022-07-13T04:09:37.521Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-13T04:09:37.521Z] b3c136eddcbf: Pulling fs layer [2022-07-13T04:09:37.521Z] c0a3192eca97: Pulling fs layer [2022-07-13T04:09:37.521Z] a050256f5b6f: Pulling fs layer [2022-07-13T04:09:37.521Z] 656be50a0ddc: Pulling fs layer [2022-07-13T04:09:37.521Z] 2bbca73fdf42: Pulling fs layer [2022-07-13T04:09:37.521Z] 46d945488cbd: Pulling fs layer [2022-07-13T04:09:37.521Z] 8a5474983e97: Pulling fs layer [2022-07-13T04:09:37.521Z] 329c88fbcd65: Pulling fs layer [2022-07-13T04:09:37.521Z] 656be50a0ddc: Waiting [2022-07-13T04:09:37.521Z] 2bbca73fdf42: Waiting [2022-07-13T04:09:37.521Z] 46d945488cbd: Waiting [2022-07-13T04:09:37.521Z] 329c88fbcd65: Waiting [2022-07-13T04:09:37.521Z] 8a5474983e97: Waiting [2022-07-13T04:09:37.521Z] a050256f5b6f: Verifying Checksum [2022-07-13T04:09:37.521Z] a050256f5b6f: Download complete [2022-07-13T04:09:37.521Z] c0a3192eca97: Verifying Checksum [2022-07-13T04:09:37.521Z] c0a3192eca97: Download complete [2022-07-13T04:09:37.521Z] 2bbca73fdf42: Download complete [2022-07-13T04:09:37.521Z] 46d945488cbd: Verifying Checksum [2022-07-13T04:09:37.521Z] 46d945488cbd: Download complete [2022-07-13T04:09:37.801Z] b3c136eddcbf: Verifying Checksum [2022-07-13T04:09:38.793Z] b3c136eddcbf: Pull complete [2022-07-13T04:09:38.793Z] 329c88fbcd65: Verifying Checksum [2022-07-13T04:09:38.793Z] 329c88fbcd65: Download complete [2022-07-13T04:09:39.071Z] c0a3192eca97: Pull complete [2022-07-13T04:09:39.350Z] a050256f5b6f: Pull complete [2022-07-13T04:09:39.951Z] 8a5474983e97: Verifying Checksum [2022-07-13T04:09:39.951Z] 8a5474983e97: Download complete [2022-07-13T04:09:40.546Z] 656be50a0ddc: Verifying Checksum [2022-07-13T04:09:40.546Z] 656be50a0ddc: Download complete [2022-07-13T04:09:52.948Z] 656be50a0ddc: Pull complete [2022-07-13T04:09:53.221Z] 2bbca73fdf42: Pull complete [2022-07-13T04:09:53.494Z] 46d945488cbd: Pull complete [2022-07-13T04:10:00.220Z] 8a5474983e97: Pull complete [2022-07-13T04:10:01.656Z] 329c88fbcd65: Pull complete [2022-07-13T04:10:01.656Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-13T04:10:01.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-13T04:10:01.656Z] ---> ff4287adb874 [2022-07-13T04:10:01.656Z] Step 3/11 : ARG MAKE=make build [2022-07-13T04:10:03.669Z] ---> Running in 1e13e9e0ad60 [2022-07-13T04:10:03.953Z] Removing intermediate container 1e13e9e0ad60 [2022-07-13T04:10:03.954Z] ---> a8b1e5734ef1 [2022-07-13T04:10:03.954Z] Step 4/11 : WORKDIR /device-sdk-go [2022-07-13T04:10:03.954Z] ---> Running in c56c19c65d5b [2022-07-13T04:10:04.230Z] Removing intermediate container c56c19c65d5b [2022-07-13T04:10:04.230Z] ---> 614832d4106c [2022-07-13T04:10:04.230Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-13T04:10:04.230Z] ---> Running in 2ca42b029cff [2022-07-13T04:10:04.829Z] Removing intermediate container 2ca42b029cff [2022-07-13T04:10:04.830Z] ---> 0ad2902f843a [2022-07-13T04:10:04.830Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-13T04:10:04.830Z] ---> Running in 340a2ea6362b [2022-07-13T04:10:06.815Z] Removing intermediate container 340a2ea6362b [2022-07-13T04:10:06.815Z] ---> 60243e3a6f92 [2022-07-13T04:10:06.815Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-13T04:10:06.815Z] ---> Running in dff9854c29d3 [2022-07-13T04:10:07.826Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-13T04:10:08.810Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-13T04:10:09.793Z] OK: 221 MiB in 51 packages [2022-07-13T04:10:10.867Z] Removing intermediate container dff9854c29d3 [2022-07-13T04:10:10.867Z] ---> dc11598f19e1 [2022-07-13T04:10:10.867Z] Step 8/11 : COPY go.mod vendor* ./ [2022-07-13T04:10:11.487Z] ---> e2d88dcba49c [2022-07-13T04:10:11.487Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-13T04:10:11.487Z] ---> Running in cf63efa5a555 [2022-07-13T04:10:58.528Z] Removing intermediate container cf63efa5a555 [2022-07-13T04:10:58.528Z] ---> 7826a8b4652a [2022-07-13T04:10:58.528Z] Step 10/11 : COPY . . [2022-07-13T04:10:58.528Z] ---> 7fdb7ed5be2f [2022-07-13T04:10:58.528Z] Step 11/11 : RUN ${MAKE} [2022-07-13T04:10:58.528Z] ---> Running in ac2f9eb535d6 [2022-07-13T04:10:59.517Z] noop [2022-07-13T04:11:00.118Z] Removing intermediate container ac2f9eb535d6 [2022-07-13T04:11:00.118Z] ---> 53a696708b79 [2022-07-13T04:11:00.118Z] Successfully built 53a696708b79 [2022-07-13T04:11:00.395Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T04:11:00.893Z] + docker inspect -f . ci-base-image-arm64 [2022-07-13T04:11:00.893Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-13T04:11:01.228Z] prd-ubuntu20.04-docker-arm64-4c-16g-19818 does not seem to be running inside a container [2022-07-13T04:11:01.308Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-13T04:11:02.686Z] $ docker top 66ae556fe3895541b7e9abd86aaefd5631fa31fe115de007cb7697037b7c7d3a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-13T04:11:03.693Z] + go version [2022-07-13T04:11:03.693Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-13T04:11:03.735Z] $ docker stop --time=1 66ae556fe3895541b7e9abd86aaefd5631fa31fe115de007cb7697037b7c7d3a [2022-07-13T04:11:05.455Z] $ docker rm -f 66ae556fe3895541b7e9abd86aaefd5631fa31fe115de007cb7697037b7c7d3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T04:11:06.397Z] + docker inspect -f . ci-base-image-arm64 [2022-07-13T04:11:06.397Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-13T04:11:06.744Z] prd-ubuntu20.04-docker-arm64-4c-16g-19818 does not seem to be running inside a container [2022-07-13T04:11:06.835Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-13T04:11:08.291Z] $ docker top 81b8f6c2dc4d8e2fcf77d691f079ace89c0b721a1032cf4314476ad5858c7a1e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-13T04:11:09.301Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-07-13T04:11:10.042Z] + make test [2022-07-13T04:11:10.042Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-07-13T04:11:49.177Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-07-13T04:13:41.107Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-07-13T04:13:41.107Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-07-13T04:13:41.107Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-07-13T04:13:52.283Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.367s coverage: 23.7% of statements [2022-07-13T04:13:52.283Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-07-13T04:13:52.283Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.280s coverage: 27.6% of statements [2022-07-13T04:13:52.283Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.368s coverage: 78.9% of statements [2022-07-13T04:13:52.283Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.271s coverage: 10.8% of statements [2022-07-13T04:13:54.292Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.428s coverage: 60.0% of statements [2022-07-13T04:13:54.292Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-07-13T04:13:54.292Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-07-13T04:13:56.943Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.459s coverage: 34.8% of statements [2022-07-13T04:13:56.943Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-07-13T04:13:58.945Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.335s coverage: 85.4% of statements [2022-07-13T04:13:58.945Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-07-13T04:13:58.945Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-07-13T04:13:59.229Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.546s coverage: 65.1% of statements [2022-07-13T04:14:02.657Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.091s coverage: 89.2% of statements [2022-07-13T04:14:02.657Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-07-13T04:14:04.093Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.248s coverage: 4.7% of statements [2022-07-13T04:14:04.093Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-07-13T04:14:04.691Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-13T04:14:04.691Z] GO111MODULE=on go vet ./... [2022-07-13T04:15:41.547Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-13T04:15:41.547Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-13T04:15:41.547Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-13T04:15:41.592Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-13T04:15:41.610Z] $ docker stop --time=1 81b8f6c2dc4d8e2fcf77d691f079ace89c0b721a1032cf4314476ad5858c7a1e [2022-07-13T04:15:43.482Z] $ docker rm -f 81b8f6c2dc4d8e2fcf77d691f079ace89c0b721a1032cf4314476ad5858c7a1e [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-13T04:15:45.008Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-13T04:15:45.049Z] Warning: overwriting stash ‘coverage-report’ [2022-07-13T04:15:45.650Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-13T04:15:46.266Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-13T04:15:46.622Z] + ls -al . [2022-07-13T04:15:46.622Z] total 300 [2022-07-13T04:15:46.622Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 13 04:11 . [2022-07-13T04:15:46.622Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 04:09 .. [2022-07-13T04:15:46.622Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 13 04:09 .dockerignore [2022-07-13T04:15:46.622Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 04:09 .git [2022-07-13T04:15:46.622Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 04:09 .github [2022-07-13T04:15:46.622Z] -rw-rw-r-- 1 jenkins jenkins 131 Jul 13 04:09 .gitignore [2022-07-13T04:15:46.622Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 13 04:09 .golangci.yml [2022-07-13T04:15:46.622Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jul 13 04:09 CHANGELOG.md [2022-07-13T04:15:46.622Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 13 04:09 GOVERNANCE.md [2022-07-13T04:15:46.622Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 13 04:09 Jenkinsfile [2022-07-13T04:15:46.622Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 13 04:09 LICENSE [2022-07-13T04:15:46.622Z] -rw-rw-r-- 1 jenkins jenkins 2002 Jul 13 04:09 Makefile [2022-07-13T04:15:46.622Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 13 04:09 OWNERS.md [2022-07-13T04:15:46.622Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jul 13 04:09 README.md [2022-07-13T04:15:46.622Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 13 04:07 VERSION [2022-07-13T04:15:46.622Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 04:09 bin [2022-07-13T04:15:46.622Z] -rw-r--r-- 1 jenkins jenkins 131190 Jul 13 04:14 coverage.out [2022-07-13T04:15:46.622Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 13 04:09 example [2022-07-13T04:15:46.622Z] -rw-rw-r-- 1 jenkins jenkins 3204 Jul 13 04:09 go.mod [2022-07-13T04:15:46.622Z] -rw-rw-r-- 1 jenkins jenkins 34893 Jul 13 04:09 go.sum [2022-07-13T04:15:46.622Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 13 04:09 internal [2022-07-13T04:15:46.622Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 04:09 openapi [2022-07-13T04:15:46.622Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 13 04:09 pkg [2022-07-13T04:15:46.622Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 04:09 snap [2022-07-13T04:15:46.622Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 13 04:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T04:15:47.051Z] + 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=bbe81c66c38b6a7421196357cee3d11e97f2a46e --label arch=arm64 --label version=0.0.0 . [2022-07-13T04:15:47.662Z] Sending build context to Docker daemon 5.329MB [2022-07-13T04:15:47.662Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-13T04:15:47.662Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-13T04:15:47.662Z] ---> 53a696708b79 [2022-07-13T04:15:47.662Z] Step 3/25 : ARG MAKE=make build [2022-07-13T04:15:47.662Z] ---> Running in bad4c04de9d4 [2022-07-13T04:15:47.943Z] Removing intermediate container bad4c04de9d4 [2022-07-13T04:15:47.943Z] ---> 9ae830851a3e [2022-07-13T04:15:47.943Z] Step 4/25 : WORKDIR /device-sdk-go [2022-07-13T04:15:48.218Z] ---> Running in 3c8af2cd7c81 [2022-07-13T04:15:48.492Z] Removing intermediate container 3c8af2cd7c81 [2022-07-13T04:15:48.493Z] ---> cb881e928346 [2022-07-13T04:15:48.493Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-13T04:15:48.493Z] ---> Running in 7bae4c790673 [2022-07-13T04:15:48.768Z] Removing intermediate container 7bae4c790673 [2022-07-13T04:15:48.768Z] ---> fce2d63d0bd7 [2022-07-13T04:15:48.768Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-13T04:15:49.048Z] ---> Running in 3cb574364ad1 [2022-07-13T04:15:51.021Z] Removing intermediate container 3cb574364ad1 [2022-07-13T04:15:51.021Z] ---> 7a5478ff2a71 [2022-07-13T04:15:51.021Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-13T04:15:51.021Z] ---> Running in 6fd99d0c538f [2022-07-13T04:15:52.000Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-13T04:15:52.982Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-13T04:15:53.968Z] OK: 221 MiB in 51 packages [2022-07-13T04:15:54.985Z] Removing intermediate container 6fd99d0c538f [2022-07-13T04:15:54.986Z] ---> f4e844585063 [2022-07-13T04:15:54.986Z] Step 8/25 : COPY go.mod vendor* ./ [2022-07-13T04:15:55.260Z] ---> e19c50b20c4c [2022-07-13T04:15:55.260Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-13T04:15:55.534Z] ---> Running in e1994efbedc3 [2022-07-13T04:15:57.525Z] Removing intermediate container e1994efbedc3 [2022-07-13T04:15:57.525Z] ---> 9cadb67a0366 [2022-07-13T04:15:57.525Z] Step 10/25 : COPY . . [2022-07-13T04:15:58.960Z] ---> f751bdbb6541 [2022-07-13T04:15:58.960Z] Step 11/25 : RUN ${MAKE} [2022-07-13T04:15:58.960Z] ---> Running in 7433f1153bc9 [2022-07-13T04:15:59.939Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-07-13T04:18:21.858Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-07-13T04:18:21.858Z] Removing intermediate container 7433f1153bc9 [2022-07-13T04:18:21.858Z] ---> b7c5cec08039 [2022-07-13T04:18:21.858Z] Step 12/25 : FROM alpine:3.16 [2022-07-13T04:18:21.858Z] 3.16: Pulling from library/alpine [2022-07-13T04:18:21.858Z] b3c136eddcbf: Already exists [2022-07-13T04:18:21.858Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-13T04:18:21.858Z] Status: Downloaded newer image for alpine:3.16 [2022-07-13T04:18:21.858Z] ---> 6e30ab57aeee [2022-07-13T04:18:21.858Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-13T04:18:21.858Z] ---> Running in 997c65cbeb16 [2022-07-13T04:18:21.858Z] Removing intermediate container 997c65cbeb16 [2022-07-13T04:18:21.858Z] ---> b3e8b9d3d02f [2022-07-13T04:18:21.858Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-13T04:18:21.858Z] ---> Running in 56390e289ec6 [2022-07-13T04:18:23.837Z] Removing intermediate container 56390e289ec6 [2022-07-13T04:18:23.837Z] ---> ee048e0d9838 [2022-07-13T04:18:23.837Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-07-13T04:18:23.837Z] ---> Running in 79ee727f49a8 [2022-07-13T04:18:24.816Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-13T04:18:25.798Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-13T04:18:26.783Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-07-13T04:18:26.783Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-13T04:18:26.783Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-13T04:18:27.061Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-13T04:18:27.061Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-13T04:18:27.334Z] Executing busybox-1.35.0-r13.trigger [2022-07-13T04:18:27.334Z] OK: 8 MiB in 19 packages [2022-07-13T04:18:28.320Z] Removing intermediate container 79ee727f49a8 [2022-07-13T04:18:28.320Z] ---> 879354007b16 [2022-07-13T04:18:28.320Z] Step 16/25 : WORKDIR / [2022-07-13T04:18:28.320Z] ---> Running in 4a2c5b510011 [2022-07-13T04:18:28.593Z] Removing intermediate container 4a2c5b510011 [2022-07-13T04:18:28.593Z] ---> f9b87317d7d9 [2022-07-13T04:18:28.593Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-07-13T04:18:29.189Z] ---> 246f42c7cabd [2022-07-13T04:18:29.189Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-07-13T04:18:31.163Z] ---> c8813217ac95 [2022-07-13T04:18:31.163Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-07-13T04:18:31.438Z] ---> d463ab40b647 [2022-07-13T04:18:31.438Z] Step 20/25 : EXPOSE 59999 [2022-07-13T04:18:31.438Z] ---> Running in 1139bd18afb6 [2022-07-13T04:18:31.721Z] Removing intermediate container 1139bd18afb6 [2022-07-13T04:18:31.721Z] ---> 06d4a47aa525 [2022-07-13T04:18:31.721Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-07-13T04:18:31.996Z] ---> Running in 197bde4dc9df [2022-07-13T04:18:32.270Z] Removing intermediate container 197bde4dc9df [2022-07-13T04:18:32.270Z] ---> a644892fa44f [2022-07-13T04:18:32.270Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-13T04:18:32.270Z] ---> Running in 8dd3f3c7f961 [2022-07-13T04:18:32.545Z] Removing intermediate container 8dd3f3c7f961 [2022-07-13T04:18:32.545Z] ---> 96f3618f4a26 [2022-07-13T04:18:32.545Z] Step 23/25 : LABEL arch=arm64 [2022-07-13T04:18:32.821Z] ---> Running in a64dc09a6764 [2022-07-13T04:18:33.092Z] Removing intermediate container a64dc09a6764 [2022-07-13T04:18:33.092Z] ---> 55b7185aae5d [2022-07-13T04:18:33.092Z] Step 24/25 : LABEL git_sha=bbe81c66c38b6a7421196357cee3d11e97f2a46e [2022-07-13T04:18:33.092Z] ---> Running in 56c95886f2c7 [2022-07-13T04:18:33.369Z] Removing intermediate container 56c95886f2c7 [2022-07-13T04:18:33.370Z] ---> 2d695a83207e [2022-07-13T04:18:33.370Z] Step 25/25 : LABEL version=0.0.0 [2022-07-13T04:18:33.658Z] ---> Running in fa75d01261ce [2022-07-13T04:18:33.931Z] Removing intermediate container fa75d01261ce [2022-07-13T04:18:33.931Z] ---> 2234d48e7cf7 [2022-07-13T04:18:33.931Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-13T04:18:33.931Z] Successfully built 2234d48e7cf7 [2022-07-13T04:18:33.931Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T04:18:34.726Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-13T04:18:34.726Z] [2022-07-13T04:18:34.726Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T04:18:35.139Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-13T04:18:35.416Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-13T04:18:35.416Z] 8998bd30e6a1: Pulling fs layer [2022-07-13T04:18:35.416Z] 04944245beec: Pulling fs layer [2022-07-13T04:18:35.416Z] 699f458cf7ca: Pulling fs layer [2022-07-13T04:18:35.416Z] 765212b225bb: Pulling fs layer [2022-07-13T04:18:35.416Z] f23df028b6ca: Pulling fs layer [2022-07-13T04:18:35.416Z] d65c8cfc05b1: Pulling fs layer [2022-07-13T04:18:35.416Z] 2437ff75d9bd: Pulling fs layer [2022-07-13T04:18:35.416Z] f23df028b6ca: Waiting [2022-07-13T04:18:35.416Z] d65c8cfc05b1: Waiting [2022-07-13T04:18:35.416Z] 2437ff75d9bd: Waiting [2022-07-13T04:18:35.416Z] 765212b225bb: Waiting [2022-07-13T04:18:35.416Z] 04944245beec: Verifying Checksum [2022-07-13T04:18:35.416Z] 04944245beec: Download complete [2022-07-13T04:18:35.416Z] 765212b225bb: Verifying Checksum [2022-07-13T04:18:35.416Z] 765212b225bb: Download complete [2022-07-13T04:18:35.416Z] f23df028b6ca: Verifying Checksum [2022-07-13T04:18:35.416Z] f23df028b6ca: Download complete [2022-07-13T04:18:35.691Z] d65c8cfc05b1: Verifying Checksum [2022-07-13T04:18:35.691Z] d65c8cfc05b1: Download complete [2022-07-13T04:18:35.691Z] 699f458cf7ca: Download complete [2022-07-13T04:18:35.966Z] 8998bd30e6a1: Verifying Checksum [2022-07-13T04:18:35.966Z] 8998bd30e6a1: Download complete [2022-07-13T04:18:38.606Z] 2437ff75d9bd: Download complete [2022-07-13T04:18:40.595Z] 8998bd30e6a1: Pull complete [2022-07-13T04:18:41.193Z] 04944245beec: Pull complete [2022-07-13T04:18:42.630Z] 699f458cf7ca: Pull complete [2022-07-13T04:18:42.905Z] 765212b225bb: Pull complete [2022-07-13T04:18:43.885Z] f23df028b6ca: Pull complete [2022-07-13T04:18:43.885Z] d65c8cfc05b1: Pull complete [2022-07-13T04:19:02.220Z] 2437ff75d9bd: Pull complete [2022-07-13T04:19:02.220Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-13T04:19:02.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-13T04:19:02.220Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-13T04:19:02.637Z] prd-ubuntu20.04-docker-arm64-4c-16g-19818 does not seem to be running inside a container [2022-07-13T04:19:02.742Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-13T04:19:05.711Z] $ docker top 9ea6386f1a3bea48c47c4906256f8deb7c484638f3887024bf59f4ad05b458a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-13T04:19:06.748Z] ---> job-cost.sh [2022-07-13T04:19:06.749Z] lf-activate-venv: SKIPPING [2022-07-13T04:19:06.749Z] INFO: No Stack... [2022-07-13T04:19:07.350Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-13T04:19:08.331Z] INFO: Archiving Costs [Pipeline] sh [2022-07-13T04:19:09.032Z] + cut -d, -f6 [2022-07-13T04:19:09.032Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2022-07-13T04:19:09.119Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1193-1-stack-cost] [2022-07-13T04:19:09.124Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1193-1-stack-cost] did not exist. Created. [2022-07-13T04:19:09.124Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1193-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-13T04:19:09.877Z] /w/workspace/device-sdk-go/1@tmp/durable-772d3980/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-13T04:19:10.600Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-13T04:19:10.633Z] Warning: overwriting stash ‘stack-cost’ [2022-07-13T04:19:10.702Z] Stashed 1 file(s) [Pipeline] } [2022-07-13T04:19:10.719Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1193-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-13T04:19:10.792Z] $ docker stop --time=1 9ea6386f1a3bea48c47c4906256f8deb7c484638f3887024bf59f4ad05b458a2 [2022-07-13T04:19:12.344Z] $ docker rm -f 9ea6386f1a3bea48c47c4906256f8deb7c484638f3887024bf59f4ad05b458a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-07-13T04:19:13.332Z] provisioning config files... [2022-07-13T04:19:13.340Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1193@tmp/config565492150841428584tmp [Pipeline] { [Pipeline] sh [2022-07-13T04:19:13.681Z] + set +x [2022-07-13T04:19:13.681Z] + + bash -s -- [2022-07-13T04:19:13.681Z] curl -s https://codecov.io/bash [2022-07-13T04:19:13.681Z] [2022-07-13T04:19:13.681Z] _____ _ [2022-07-13T04:19:13.681Z] / ____| | | [2022-07-13T04:19:13.681Z] | | ___ __| | ___ ___ _____ __ [2022-07-13T04:19:13.681Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-13T04:19:13.681Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-13T04:19:13.681Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-13T04:19:13.681Z] Bash-1.0.6 [2022-07-13T04:19:13.681Z] [2022-07-13T04:19:13.681Z] [2022-07-13T04:19:13.681Z] ==> git version 2.25.1 found [2022-07-13T04:19:13.681Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-07-13T04:19:13.681Z] Release-Date: 2020-01-08 [2022-07-13T04:19:13.681Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-13T04:19:13.681Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-13T04:19:13.681Z] ==> Jenkins CI detected. [2022-07-13T04:19:13.681Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1193 [2022-07-13T04:19:13.681Z] project root: . [2022-07-13T04:19:13.681Z] --> token set from env [2022-07-13T04:19:13.681Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-13T04:19:13.682Z] ==> Running gcov in . (disable via -X gcov) [2022-07-13T04:19:13.682Z] ==> Python coveragepy not found [2022-07-13T04:19:13.682Z] ==> Searching for coverage reports in: [2022-07-13T04:19:13.682Z] + . [2022-07-13T04:19:13.682Z] -> Found 1 reports [2022-07-13T04:19:13.682Z] ==> Detecting git/mercurial file structure [2022-07-13T04:19:13.942Z] ==> Reading reports [2022-07-13T04:19:13.942Z] + ./coverage.out bytes=131190 [2022-07-13T04:19:13.942Z] ==> Appending adjustments [2022-07-13T04:19:13.942Z] https://docs.codecov.io/docs/fixing-reports [2022-07-13T04:19:14.202Z] + Found adjustments [2022-07-13T04:19:14.202Z] ==> Gzipping contents [2022-07-13T04:19:14.202Z] 20K /tmp/codecov.vnm7Cs.gz [2022-07-13T04:19:14.202Z] ==> Uploading reports [2022-07-13T04:19:14.202Z] url: https://codecov.io [2022-07-13T04:19:14.202Z] query: branch=PR-1193&commit=bbe81c66c38b6a7421196357cee3d11e97f2a46e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1193%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1193&job=&cmd_args= [2022-07-13T04:19:14.202Z] -> Pinging Codecov [2022-07-13T04:19:14.202Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1193&commit=bbe81c66c38b6a7421196357cee3d11e97f2a46e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1193%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1193&job=&cmd_args= [2022-07-13T04:19:14.465Z] -> Uploading to [2022-07-13T04:19:14.465Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-13/7E55EF52A471D76F132DFD9A03CDDE97/bbe81c66c38b6a7421196357cee3d11e97f2a46e/f6909a1f-b803-4505-b61f-2989366a0686.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220713%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220713T041914Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9df98d8ad463e58ca878728212389d1a0f63686ad24f34200f54abe9e5d79681 [2022-07-13T04:19:14.465Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-13T04:19:14.465Z] Dload Upload Total Spent Left Speed [2022-07-13T04:19:14.725Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16850 0 0 100 16850 0 66338 --:--:-- --:--:-- --:--:-- 66338 [2022-07-13T04:19:14.725Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/bbe81c66c38b6a7421196357cee3d11e97f2a46e [Pipeline] } [2022-07-13T04:19:14.752Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-07-13T04:19:16.398Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1193/archives ] [2022-07-13T04:19:16.398Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1193/archives [2022-07-13T04:19:16.398Z] total 16 [2022-07-13T04:19:16.398Z] drwxr-xr-x 3 root root 4096 Jul 13 04:09 . [2022-07-13T04:19:16.398Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 13 04:09 .. [2022-07-13T04:19:16.398Z] drwxr-xr-x 2 root root 4096 Jul 13 04:09 cost [2022-07-13T04:19:16.398Z] -rw-r--r-- 1 root root 85 Jul 13 04:09 cost.csv [2022-07-13T04:19:16.398Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1193/archives [2022-07-13T04:19:16.398Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1193/archives [2022-07-13T04:19:16.398Z] total 16 [2022-07-13T04:19:16.398Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 04:09 . [2022-07-13T04:19:16.398Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 13 04:09 .. [2022-07-13T04:19:16.398Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 13 04:09 cost [2022-07-13T04:19:16.398Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 13 04:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-13T04:19:16.732Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-13T04:19:17.637Z] ---> package-listing.sh [2022-07-13T04:19:17.637Z] ++ facter osfamily [2022-07-13T04:19:17.637Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-13T04:19:17.899Z] + OS_FAMILY=debian [2022-07-13T04:19:17.899Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1193 [2022-07-13T04:19:17.899Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-13T04:19:17.899Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-13T04:19:17.899Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-13T04:19:17.899Z] + PACKAGES=/tmp/packages_start.txt [2022-07-13T04:19:17.899Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1193 ']' [2022-07-13T04:19:17.899Z] + PACKAGES=/tmp/packages_end.txt [2022-07-13T04:19:17.899Z] + case "${OS_FAMILY}" in [2022-07-13T04:19:17.899Z] + dpkg -l [2022-07-13T04:19:17.899Z] + grep '^ii' [2022-07-13T04:19:17.899Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-13T04:19:17.899Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-13T04:19:17.899Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-13T04:19:17.899Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1193 ']' [2022-07-13T04:19:17.899Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1193/archives/ [2022-07-13T04:19:17.899Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1193/archives/ [Pipeline] echo [2022-07-13T04:19:17.931Z] 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-1193/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-13T04:19:18.224Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T04:19:18.856Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-13T04:19:18.856Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-13T04:19:19.016Z] prd-ubuntu20.04-docker-8c-8g-19816 does not seem to be running inside a container [2022-07-13T04:19:19.055Z] $ 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-1193/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-1193 -v /w/workspace/gexfoundry_device-sdk-go_PR-1193:/w/workspace/gexfoundry_device-sdk-go_PR-1193:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1193@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1193@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-13T04:19:19.275Z] $ docker top 8b8d13d79fccb7278b236db6b5b5c5a4bdea68353644a89766203a7fe76e7077 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-13T04:19:19.681Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-13T04:19:19.990Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-13T04:19:20.300Z] + ls /var/log/sa-host [2022-07-13T04:19:20.300Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-13T04:19:20.488Z] provisioning config files... [2022-07-13T04:19:20.498Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1193@tmp/config3122734992910438862tmp [Pipeline] { [Pipeline] echo [2022-07-13T04:19:20.550Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-13T04:19:20.861Z] ---> create-netrc.sh [Pipeline] } [2022-07-13T04:19:20.892Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-13T04:19:21.298Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-13T04:19:21.327Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-13T04:19:21.643Z] ---> sudo-logs.sh [2022-07-13T04:19:21.643Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-13T04:19:21.734Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-13T04:19:22.045Z] ---> job-cost.sh [2022-07-13T04:19:22.045Z] lf-activate-venv: SKIPPING [2022-07-13T04:19:22.045Z] DEBUG: total: 0.2199999988079071 [2022-07-13T04:19:22.045Z] INFO: Retrieving Stack Cost... [2022-07-13T04:19:22.306Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-13T04:19:22.909Z] INFO: Archiving Costs [Pipeline] echo [2022-07-13T04:19:22.940Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-13T04:19:23.306Z] ---> logs-deploy.sh [2022-07-13T04:19:23.306Z] lf-activate-venv: SKIPPING [2022-07-13T04:19:23.306Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1193/1 [2022-07-13T04:19:23.306Z] INFO: archiving workspace using pattern(s): [2022-07-13T04:19:24.245Z] Archives upload complete. [2022-07-13T04:19:24.245Z] INFO: archiving logs to Nexus