Pull request #1244 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5c51ee2d8db5b8ee211392afe9efb3e3d254e855+7102f88cc4e17a0ee98b85e86e9840c76ba3a2e8 (626ad01d6655fc0063eb9fa5c03d682ae6eca460) 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-ssh13998770699612520109.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh11600993452278000826.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-1244/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-1244/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7734669303498940324.key Verifying host key using known hosts file > 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-1244/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12371056831626876364.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh17193075793254931549.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-1244/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-1244/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14432887562558871936.key Verifying host key using known hosts file > 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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9156 in /w/workspace/gexfoundry_device-sdk-go_PR-1244 [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-1244 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1244/head:refs/remotes/origin/PR-1244 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7102f88cc4e17a0ee98b85e86e9840c76ba3a2e8 into PR head commit 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 Merge succeeded, producing 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 Checking out Revision 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 (PR-1244) Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-24T04:08:06.634Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script > git config core.sparsecheckout # timeout=10 > git checkout -f 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 7102f88cc4e17a0ee98b85e86e9840c76ba3a2e8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 # timeout=10 [Pipeline] { [Pipeline] withCredentials [2022-10-24T04:08:06.808Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-24T04:08:06.907Z] ========================================================= [2022-10-24T04:08:06.907Z] EdgeX Global Pipelines Version Info [2022-10-24T04:08:06.907Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-24T04:08:07.644Z] ------------------- [2022-10-24T04:08:07.644Z] stable info: [2022-10-24T04:08:07.644Z] ------------------- [2022-10-24T04:08:07.644Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-24T04:08:07.644Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T04:08:07.644Z] Message: update stable to v1.0.243 [2022-10-24T04:08:08.213Z] ------------------- [2022-10-24T04:08:08.213Z] experimental info: [2022-10-24T04:08:08.213Z] ------------------- [2022-10-24T04:08:08.213Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-24T04:08:08.213Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T04:08:08.213Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-24T04:08:08.519Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-10-24T04:08:08.561Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-10-24T04:08:08.603Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-24T04:08:08.647Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-24T04:08:08.687Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-24T04:08:08.729Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-24T04:08:08.770Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-24T04:08:08.809Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-10-24T04:08:08.846Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-24T04:08:08.886Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-24T04:08:08.923Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-24T04:08:08.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-10-24T04:08:09.004Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-24T04:08:09.047Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-24T04:08:09.088Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T04:08:09.136Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T04:08:09.179Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T04:08:09.216Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T04:08:09.255Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-24T04:08:09.294Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-24T04:08:09.333Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-24T04:08:09.377Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-10-24T04:08:09.427Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-24T04:08:09.469Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-24T04:08:09.507Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-24T04:08:09.546Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-24T04:08:09.591Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-24T04:08:09.630Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1244 [Pipeline] echo [2022-10-24T04:08:09.674Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1244 [Pipeline] echo [2022-10-24T04:08:09.714Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1244 [Pipeline] echo [2022-10-24T04:08:09.763Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 [Pipeline] echo [2022-10-24T04:08:09.804Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5c51ee2 [Pipeline] echo [2022-10-24T04:08:09.849Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T04:08:09.964Z] provisioning config files... [2022-10-24T04:08:09.992Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config5770979692238422265tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T04:08:10.338Z] ---> docker-login.sh [2022-10-24T04:08:10.338Z] nexus3.edgexfoundry.org:10001 [2022-10-24T04:08:10.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T04:08:10.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T04:08:10.604Z] Configure a credential helper to remove this warning. See [2022-10-24T04:08:10.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T04:08:10.604Z] [2022-10-24T04:08:10.604Z] Login Succeeded [2022-10-24T04:08:10.604Z] nexus3.edgexfoundry.org:10002 [2022-10-24T04:08:10.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T04:08:10.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T04:08:10.604Z] Configure a credential helper to remove this warning. See [2022-10-24T04:08:10.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T04:08:10.604Z] [2022-10-24T04:08:10.604Z] Login Succeeded [2022-10-24T04:08:10.604Z] nexus3.edgexfoundry.org:10003 [2022-10-24T04:08:10.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T04:08:10.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T04:08:10.864Z] Configure a credential helper to remove this warning. See [2022-10-24T04:08:10.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T04:08:10.864Z] [2022-10-24T04:08:10.864Z] Login Succeeded [2022-10-24T04:08:10.864Z] nexus3.edgexfoundry.org:10004 [2022-10-24T04:08:10.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T04:08:10.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T04:08:10.864Z] Configure a credential helper to remove this warning. See [2022-10-24T04:08:10.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T04:08:10.864Z] [2022-10-24T04:08:10.864Z] Login Succeeded [2022-10-24T04:08:10.864Z] docker.io [2022-10-24T04:08:11.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T04:08:11.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T04:08:11.386Z] Configure a credential helper to remove this warning. See [2022-10-24T04:08:11.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T04:08:11.386Z] [2022-10-24T04:08:11.386Z] Login Succeeded [2022-10-24T04:08:11.386Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T04:08:11.426Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-24T04:08:12.064Z] + git rev-list -1 --merges 5c51ee2d8db5b8ee211392afe9efb3e3d254e855~1..5c51ee2d8db5b8ee211392afe9efb3e3d254e855 [Pipeline] echo [2022-10-24T04:08:12.114Z] -----------> git rev-list -1 --merges 5c51ee2d8db5b8ee211392afe9efb3e3d254e855~1..5c51ee2d8db5b8ee211392afe9efb3e3d254e855 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 [false] [Pipeline] sh [2022-10-24T04:08:12.434Z] + git log --format=format:%s -1 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 [Pipeline] echo [2022-10-24T04:08:12.479Z] ========================================================= [2022-10-24T04:08:12.480Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-24T04:08:12.480Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T04:08:12.906Z] + git log --format=format:%s -1 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 [Pipeline] echo [2022-10-24T04:08:12.938Z] [semverPrep] GIT_COMMIT: 5c51ee2d8db5b8ee211392afe9efb3e3d254e855, Commit Message: build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 [Pipeline] echo [2022-10-24T04:08:12.966Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-24T04:08:13.350Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-24T04:08:13.350Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-24T04:08:13.350Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-24T04:08:13.350Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-24T04:08:13.350Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-24T04:08:13.350Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-24T04:08:13.350Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T04:08:13.774Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T04:08:13.774Z] [2022-10-24T04:08:13.774Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T04:08:14.160Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T04:08:14.160Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-24T04:08:14.160Z] b85a868b505f: Pulling fs layer [2022-10-24T04:08:14.160Z] e2be974225ed: Pulling fs layer [2022-10-24T04:08:14.160Z] 339a4e72a1f5: Pulling fs layer [2022-10-24T04:08:14.160Z] 988bab9f4d93: Pulling fs layer [2022-10-24T04:08:14.160Z] 1469e6f7b9e6: Pulling fs layer [2022-10-24T04:08:14.160Z] eaf3925da568: Pulling fs layer [2022-10-24T04:08:14.160Z] bab4dde63d76: Pulling fs layer [2022-10-24T04:08:14.160Z] 988bab9f4d93: Waiting [2022-10-24T04:08:14.160Z] eaf3925da568: Waiting [2022-10-24T04:08:14.160Z] bde34c3a00c8: Pulling fs layer [2022-10-24T04:08:14.160Z] b352a97aabf1: Pulling fs layer [2022-10-24T04:08:14.160Z] bab4dde63d76: Waiting [2022-10-24T04:08:14.160Z] bde34c3a00c8: Waiting [2022-10-24T04:08:14.160Z] 4872d77fe225: Pulling fs layer [2022-10-24T04:08:14.160Z] 5851b861e8e6: Pulling fs layer [2022-10-24T04:08:14.160Z] b352a97aabf1: Waiting [2022-10-24T04:08:14.160Z] 4872d77fe225: Waiting [2022-10-24T04:08:14.160Z] e2be974225ed: Verifying Checksum [2022-10-24T04:08:14.160Z] e2be974225ed: Download complete [2022-10-24T04:08:14.160Z] 988bab9f4d93: Verifying Checksum [2022-10-24T04:08:14.160Z] 988bab9f4d93: Download complete [2022-10-24T04:08:14.421Z] 1469e6f7b9e6: Verifying Checksum [2022-10-24T04:08:14.421Z] 1469e6f7b9e6: Download complete [2022-10-24T04:08:14.421Z] eaf3925da568: Download complete [2022-10-24T04:08:14.421Z] 339a4e72a1f5: Verifying Checksum [2022-10-24T04:08:14.421Z] 339a4e72a1f5: Download complete [2022-10-24T04:08:14.421Z] bde34c3a00c8: Download complete [2022-10-24T04:08:14.421Z] b352a97aabf1: Download complete [2022-10-24T04:08:14.421Z] 4872d77fe225: Verifying Checksum [2022-10-24T04:08:14.421Z] 4872d77fe225: Download complete [2022-10-24T04:08:14.421Z] 5851b861e8e6: Verifying Checksum [2022-10-24T04:08:14.421Z] 5851b861e8e6: Download complete [2022-10-24T04:08:14.421Z] b85a868b505f: Verifying Checksum [2022-10-24T04:08:14.421Z] b85a868b505f: Download complete [2022-10-24T04:08:14.681Z] bab4dde63d76: Verifying Checksum [2022-10-24T04:08:14.681Z] bab4dde63d76: Download complete [2022-10-24T04:08:15.617Z] b85a868b505f: Pull complete [2022-10-24T04:08:15.877Z] e2be974225ed: Pull complete [2022-10-24T04:08:16.444Z] 339a4e72a1f5: Pull complete [2022-10-24T04:08:16.444Z] 988bab9f4d93: Pull complete [2022-10-24T04:08:16.705Z] 1469e6f7b9e6: Pull complete [2022-10-24T04:08:16.705Z] eaf3925da568: Pull complete [2022-10-24T04:08:18.610Z] bab4dde63d76: Pull complete [2022-10-24T04:08:18.610Z] bde34c3a00c8: Pull complete [2022-10-24T04:08:18.869Z] b352a97aabf1: Pull complete [2022-10-24T04:08:18.869Z] 4872d77fe225: Pull complete [2022-10-24T04:08:19.129Z] 5851b861e8e6: Pull complete [2022-10-24T04:08:19.129Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-24T04:08:19.129Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T04:08:19.129Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T04:08:19.356Z] prd-ubuntu20.04-docker-8c-8g-9156 does not seem to be running inside a container [2022-10-24T04:08:19.392Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@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-10-24T04:08:20.866Z] $ docker top 6ae9639d9feff73789d4551cd31c51f49a798a073ddd6484dd3b54af36c2f848 -eo pid,comm [2022-10-24T04:08:20.921Z] 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-10-24T04:08:20.921Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-24T04:08:21.053Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T04:08:21.053Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T04:08:21.175Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T04:08:21.178Z] $ docker exec 6ae9639d9feff73789d4551cd31c51f49a798a073ddd6484dd3b54af36c2f848 ssh-agent [2022-10-24T04:08:21.284Z] SSH_AUTH_SOCK=/tmp/ssh-mEp0NpzS1YA2/agent.32 [2022-10-24T04:08:21.284Z] SSH_AGENT_PID=38 [2022-10-24T04:08:21.292Z] Running ssh-add (command line suppressed) [2022-10-24T04:08:21.406Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_13512309770362349664.key (/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_13512309770362349664.key) [2022-10-24T04:08:21.422Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T04:08:21.759Z] + git tag --points-at HEAD [Pipeline] } [2022-10-24T04:08:21.788Z] $ docker exec --env ******** --env ******** 6ae9639d9feff73789d4551cd31c51f49a798a073ddd6484dd3b54af36c2f848 ssh-agent -k [2022-10-24T04:08:21.890Z] unset SSH_AUTH_SOCK; [2022-10-24T04:08:21.890Z] unset SSH_AGENT_PID; [2022-10-24T04:08:21.891Z] echo Agent pid 38 killed; [2022-10-24T04:08:21.902Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-24T04:08:21.991Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T04:08:21.992Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T04:08:22.100Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T04:08:22.104Z] $ docker exec 6ae9639d9feff73789d4551cd31c51f49a798a073ddd6484dd3b54af36c2f848 ssh-agent [2022-10-24T04:08:22.211Z] SSH_AUTH_SOCK=/tmp/ssh-SFUtmeRIorOT/agent.70 [2022-10-24T04:08:22.211Z] SSH_AGENT_PID=76 [2022-10-24T04:08:22.216Z] Running ssh-add (command line suppressed) [2022-10-24T04:08:22.317Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_11622763464829300273.key (/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_11622763464829300273.key) [2022-10-24T04:08:22.331Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T04:08:22.673Z] + git semver init [2022-10-24T04:08:22.933Z] 2022-10-24 04:08:22,839 [run_init] DEBUG init version:0.0.0 force:False [2022-10-24T04:08:22.933Z] 2022-10-24 04:08:22,840 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver [2022-10-24T04:08:22.933Z] 2022-10-24 04:08:22,840 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver [2022-10-24T04:08:22.933Z] 2022-10-24 04:08:22,840 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1244, universal_newlines=False, shell=None, istream=None) [2022-10-24T04:08:23.875Z] 2022-10-24 04:08:23,798 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.git/info/exclude [2022-10-24T04:08:23.875Z] 2022-10-24 04:08:23,798 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver/PR-1244 with force:False [2022-10-24T04:08:23.875Z] 2022-10-24 04:08:23,798 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver/PR-1244 [2022-10-24T04:08:23.875Z] 2022-10-24 04:08:23,803 [execute] INFO git cat-file --batch-check [2022-10-24T04:08:23.875Z] 2022-10-24 04:08:23,803 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T04:08:23.875Z] 2022-10-24 04:08:23,809 [execute] INFO git cat-file --batch [2022-10-24T04:08:23.875Z] 2022-10-24 04:08:23,809 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T04:08:23.875Z] 2022-10-24 04:08:23,814 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver/PR-1244 [2022-10-24T04:08:23.875Z] 0.0.0 [Pipeline] } [2022-10-24T04:08:23.901Z] $ docker exec --env ******** --env ******** 6ae9639d9feff73789d4551cd31c51f49a798a073ddd6484dd3b54af36c2f848 ssh-agent -k [2022-10-24T04:08:23.994Z] unset SSH_AUTH_SOCK; [2022-10-24T04:08:23.994Z] unset SSH_AGENT_PID; [2022-10-24T04:08:23.995Z] echo Agent pid 76 killed; [2022-10-24T04:08:24.007Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-24T04:08:24.445Z] + git semver [Pipeline] } [2022-10-24T04:08:24.732Z] $ docker stop --time=1 6ae9639d9feff73789d4551cd31c51f49a798a073ddd6484dd3b54af36c2f848 [2022-10-24T04:08:26.093Z] $ docker rm -f 6ae9639d9feff73789d4551cd31c51f49a798a073ddd6484dd3b54af36c2f848 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T04:08:26.481Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-24T04:08:26.715Z] Stashed 1 file(s) [Pipeline] echo [2022-10-24T04:08:26.731Z] [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-10-24T04:08:27.356Z] provisioning config files... [2022-10-24T04:08:27.366Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config9061512600404957714tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T04:08:27.719Z] ---> docker-login.sh [2022-10-24T04:08:27.719Z] nexus3.edgexfoundry.org:10001 [2022-10-24T04:08:27.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T04:08:27.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T04:08:27.719Z] Configure a credential helper to remove this warning. See [2022-10-24T04:08:27.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T04:08:27.719Z] [2022-10-24T04:08:27.719Z] Login Succeeded [2022-10-24T04:08:27.719Z] nexus3.edgexfoundry.org:10002 [2022-10-24T04:08:27.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T04:08:27.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T04:08:27.719Z] Configure a credential helper to remove this warning. See [2022-10-24T04:08:27.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T04:08:27.719Z] [2022-10-24T04:08:27.719Z] Login Succeeded [2022-10-24T04:08:27.719Z] nexus3.edgexfoundry.org:10003 [2022-10-24T04:08:27.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T04:08:27.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T04:08:27.978Z] Configure a credential helper to remove this warning. See [2022-10-24T04:08:27.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T04:08:27.978Z] [2022-10-24T04:08:27.978Z] Login Succeeded [2022-10-24T04:08:27.978Z] nexus3.edgexfoundry.org:10004 [2022-10-24T04:08:27.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T04:08:27.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T04:08:27.978Z] Configure a credential helper to remove this warning. See [2022-10-24T04:08:27.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T04:08:27.978Z] [2022-10-24T04:08:27.978Z] Login Succeeded [2022-10-24T04:08:27.978Z] docker.io [2022-10-24T04:08:28.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T04:08:28.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T04:08:28.498Z] Configure a credential helper to remove this warning. See [2022-10-24T04:08:28.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T04:08:28.498Z] [2022-10-24T04:08:28.498Z] Login Succeeded [2022-10-24T04:08:28.498Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T04:08:28.524Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T04:08:28.716Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T04:08:28.752Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T04:08:28.784Z] ========================================================= [2022-10-24T04:08:28.784Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-24T04:08:28.784Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T04:08:29.271Z] + 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-10-24T04:08:29.272Z] Sending build context to Docker daemon 10.01MB [2022-10-24T04:08:29.272Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T04:08:29.272Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-24T04:08:29.532Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-24T04:08:29.532Z] 213ec9aee27d: Pulling fs layer [2022-10-24T04:08:29.532Z] 4583459ba037: Pulling fs layer [2022-10-24T04:08:29.532Z] 93c1e223e6f2: Pulling fs layer [2022-10-24T04:08:29.532Z] 53926ce57604: Pulling fs layer [2022-10-24T04:08:29.532Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-24T04:08:29.532Z] 30f14e443154: Pulling fs layer [2022-10-24T04:08:29.532Z] 801331c1e519: Pulling fs layer [2022-10-24T04:08:29.532Z] 99cc6dd402b0: Pulling fs layer [2022-10-24T04:08:29.532Z] 7d9ed39f4882: Pulling fs layer [2022-10-24T04:08:29.532Z] 801331c1e519: Waiting [2022-10-24T04:08:29.532Z] 99cc6dd402b0: Waiting [2022-10-24T04:08:29.532Z] 53926ce57604: Waiting [2022-10-24T04:08:29.532Z] 7d9ed39f4882: Waiting [2022-10-24T04:08:29.532Z] 30f14e443154: Waiting [2022-10-24T04:08:29.532Z] 21b2b0c7a3f4: Waiting [2022-10-24T04:08:29.532Z] 93c1e223e6f2: Verifying Checksum [2022-10-24T04:08:29.532Z] 93c1e223e6f2: Download complete [2022-10-24T04:08:29.532Z] 4583459ba037: Download complete [2022-10-24T04:08:29.532Z] 21b2b0c7a3f4: Download complete [2022-10-24T04:08:29.532Z] 30f14e443154: Download complete [2022-10-24T04:08:29.532Z] 213ec9aee27d: Verifying Checksum [2022-10-24T04:08:29.532Z] 801331c1e519: Verifying Checksum [2022-10-24T04:08:29.532Z] 801331c1e519: Download complete [2022-10-24T04:08:29.532Z] 213ec9aee27d: Pull complete [2022-10-24T04:08:29.792Z] 4583459ba037: Pull complete [2022-10-24T04:08:29.792Z] 93c1e223e6f2: Pull complete [2022-10-24T04:08:30.056Z] 7d9ed39f4882: Verifying Checksum [2022-10-24T04:08:30.056Z] 7d9ed39f4882: Download complete [2022-10-24T04:08:30.056Z] 99cc6dd402b0: Verifying Checksum [2022-10-24T04:08:30.056Z] 99cc6dd402b0: Download complete [2022-10-24T04:08:30.326Z] 53926ce57604: Verifying Checksum [2022-10-24T04:08:30.326Z] 53926ce57604: Download complete [2022-10-24T04:08:34.545Z] 53926ce57604: Pull complete [2022-10-24T04:08:34.545Z] 21b2b0c7a3f4: Pull complete [2022-10-24T04:08:34.545Z] 30f14e443154: Pull complete [2022-10-24T04:08:34.545Z] 801331c1e519: Pull complete [2022-10-24T04:08:37.078Z] 99cc6dd402b0: Pull complete [2022-10-24T04:08:37.337Z] 7d9ed39f4882: Pull complete [2022-10-24T04:08:37.337Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-24T04:08:37.337Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-24T04:08:37.337Z] ---> 1dedd983c030 [2022-10-24T04:08:37.337Z] Step 3/11 : ARG MAKE=make build [2022-10-24T04:08:39.254Z] ---> Running in fea3c497dfcc [2022-10-24T04:08:39.254Z] Removing intermediate container fea3c497dfcc [2022-10-24T04:08:39.254Z] ---> ea588d86d57b [2022-10-24T04:08:39.254Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-24T04:08:39.254Z] ---> Running in 390ddda005af [2022-10-24T04:08:39.512Z] Removing intermediate container 390ddda005af [2022-10-24T04:08:39.512Z] ---> 10f159fdfc38 [2022-10-24T04:08:39.512Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-24T04:08:39.512Z] ---> Running in 48b44be3ed15 [2022-10-24T04:08:39.770Z] Removing intermediate container 48b44be3ed15 [2022-10-24T04:08:39.770Z] ---> 0ded1e2f4d1d [2022-10-24T04:08:39.770Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T04:08:39.770Z] ---> Running in 7ada169e493c [2022-10-24T04:08:40.337Z] Removing intermediate container 7ada169e493c [2022-10-24T04:08:40.337Z] ---> 63fc4ca94d4e [2022-10-24T04:08:40.337Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-24T04:08:40.337Z] ---> Running in a658aefcad00 [2022-10-24T04:08:40.596Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T04:08:41.533Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T04:08:41.792Z] OK: 211 MiB in 51 packages [2022-10-24T04:08:42.179Z] Still waiting to schedule task [2022-10-24T04:08:42.179Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-24T04:08:42.361Z] Removing intermediate container a658aefcad00 [2022-10-24T04:08:42.362Z] ---> 137c9c325034 [2022-10-24T04:08:42.362Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-24T04:08:42.362Z] ---> fcc33e3a545a [2022-10-24T04:08:42.362Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T04:08:42.362Z] ---> Running in 352212c24a04 [2022-10-24T04:09:00.454Z] Removing intermediate container 352212c24a04 [2022-10-24T04:09:00.454Z] ---> d739cf0add04 [2022-10-24T04:09:00.454Z] Step 10/11 : COPY . . [2022-10-24T04:09:00.454Z] ---> a01f0e06b2ad [2022-10-24T04:09:00.454Z] Step 11/11 : RUN ${MAKE} [2022-10-24T04:09:00.454Z] ---> Running in 1e8dc0a96495 [2022-10-24T04:09:00.454Z] noop [2022-10-24T04:09:00.454Z] Removing intermediate container 1e8dc0a96495 [2022-10-24T04:09:00.454Z] ---> a4147b3ef55e [2022-10-24T04:09:00.454Z] Successfully built a4147b3ef55e [2022-10-24T04:09:00.454Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T04:09:00.912Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T04:09:00.912Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T04:09:01.057Z] prd-ubuntu20.04-docker-8c-8g-9156 does not seem to be running inside a container [2022-10-24T04:09:01.084Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@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-10-24T04:09:01.462Z] $ docker top 22001ff0f06fdd3bb4c942c8ac4f8aa443135bc44658a5c9d0d695cc4bc771e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T04:09:01.861Z] + go version [2022-10-24T04:09:01.861Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-24T04:09:01.898Z] $ docker stop --time=1 22001ff0f06fdd3bb4c942c8ac4f8aa443135bc44658a5c9d0d695cc4bc771e9 [2022-10-24T04:09:03.200Z] $ docker rm -f 22001ff0f06fdd3bb4c942c8ac4f8aa443135bc44658a5c9d0d695cc4bc771e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T04:09:03.920Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T04:09:03.920Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T04:09:04.068Z] prd-ubuntu20.04-docker-8c-8g-9156 does not seem to be running inside a container [2022-10-24T04:09:04.096Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@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-10-24T04:09:04.547Z] $ docker top 5d06fd62276bde2f0b937147f47b45b82c7965e7cba437958926cd253d032f9f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T04:09:04.943Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1244 [Pipeline] fileExists [Pipeline] sh [2022-10-24T04:09:05.297Z] + make test [2022-10-24T04:09:05.297Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-24T04:09:11.852Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-24T04:09:26.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-24T04:09:26.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-24T04:09:26.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-24T04:09:26.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-24T04:09:26.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-24T04:09:26.717Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.069s coverage: 27.6% of statements [2022-10-24T04:09:26.717Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.064s coverage: 78.9% of statements [2022-10-24T04:09:26.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-24T04:09:26.717Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.130s coverage: 73.1% of statements [2022-10-24T04:09:26.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-24T04:09:26.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-24T04:09:26.717Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.125s coverage: 54.4% of statements [2022-10-24T04:09:26.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-24T04:09:26.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-24T04:09:26.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-24T04:09:26.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-24T04:09:26.717Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.105s coverage: 65.1% of statements [2022-10-24T04:09:26.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-24T04:09:26.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-24T04:09:26.717Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.756s coverage: 89.2% of statements [2022-10-24T04:09:26.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-24T04:09:26.717Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements [2022-10-24T04:09:26.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-24T04:09:44.808Z] 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-10-24T04:09:44.808Z] GO111MODULE=on go vet ./... [2022-10-24T04:09:46.708Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T04:09:46.708Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T04:09:46.708Z] ./bin/test-attribution-txt.sh [2022-10-24T04:09:46.708Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-24T04:09:46.708Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-24T04:09:46.708Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-24T04:09:46.708Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-24T04:09:46.743Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T04:09:46.772Z] $ docker stop --time=1 5d06fd62276bde2f0b937147f47b45b82c7965e7cba437958926cd253d032f9f [2022-10-24T04:09:48.991Z] $ docker rm -f 5d06fd62276bde2f0b937147f47b45b82c7965e7cba437958926cd253d032f9f [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T04:09:49.589Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T04:09:49.692Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-24T04:09:50.529Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T04:09:50.837Z] + ls -al . [2022-10-24T04:09:50.837Z] total 276 [2022-10-24T04:09:50.837Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 04:09 . [2022-10-24T04:09:50.837Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 04:08 .. [2022-10-24T04:09:50.837Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 04:08 .dockerignore [2022-10-24T04:09:50.837Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 04:09 .git [2022-10-24T04:09:50.837Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 04:08 .github [2022-10-24T04:09:50.837Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 24 04:08 .gitignore [2022-10-24T04:09:50.837Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 04:08 .golangci.yml [2022-10-24T04:09:50.837Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 04:08 .semver [2022-10-24T04:09:50.837Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 24 04:08 CHANGELOG.md [2022-10-24T04:09:50.837Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 04:08 GOVERNANCE.md [2022-10-24T04:09:50.837Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 24 04:08 Jenkinsfile [2022-10-24T04:09:50.837Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 24 04:08 LICENSE [2022-10-24T04:09:50.837Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 24 04:08 Makefile [2022-10-24T04:09:50.837Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 24 04:08 OWNERS.md [2022-10-24T04:09:50.837Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 24 04:08 README.md [2022-10-24T04:09:50.837Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 04:08 VERSION [2022-10-24T04:09:50.837Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 04:08 bin [2022-10-24T04:09:50.837Z] -rw-r--r-- 1 jenkins jenkins 101759 Oct 24 04:09 coverage.out [2022-10-24T04:09:50.837Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 24 04:08 example [2022-10-24T04:09:50.837Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 24 04:08 go.mod [2022-10-24T04:09:50.837Z] -rw-rw-r-- 1 jenkins jenkins 37663 Oct 24 04:08 go.sum [2022-10-24T04:09:50.837Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 24 04:08 internal [2022-10-24T04:09:50.837Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 04:08 openapi [2022-10-24T04:09:50.837Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 24 04:08 pkg [2022-10-24T04:09:50.837Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 04:08 snap [2022-10-24T04:09:50.837Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 24 04:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T04:09:51.233Z] + 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=5c51ee2d8db5b8ee211392afe9efb3e3d254e855 --label arch=amd64 --label version=0.0.0 . [2022-10-24T04:09:51.233Z] Sending build context to Docker daemon 10.11MB [2022-10-24T04:09:51.233Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T04:09:51.233Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-24T04:09:51.233Z] ---> a4147b3ef55e [2022-10-24T04:09:51.233Z] Step 3/25 : ARG MAKE=make build [2022-10-24T04:09:51.233Z] ---> Running in 3df3e4ee5920 [2022-10-24T04:09:51.491Z] Removing intermediate container 3df3e4ee5920 [2022-10-24T04:09:51.491Z] ---> 53e5655ac73b [2022-10-24T04:09:51.491Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-24T04:09:51.491Z] ---> Running in b0b398669d1c [2022-10-24T04:09:51.491Z] Removing intermediate container b0b398669d1c [2022-10-24T04:09:51.491Z] ---> 0b9893ccb704 [2022-10-24T04:09:51.491Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-24T04:09:51.491Z] ---> Running in 9af155676494 [2022-10-24T04:09:51.753Z] Removing intermediate container 9af155676494 [2022-10-24T04:09:51.753Z] ---> 6d61ca607f79 [2022-10-24T04:09:51.753Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T04:09:51.753Z] ---> Running in 3d99c0c1fd36 [2022-10-24T04:09:52.318Z] Removing intermediate container 3d99c0c1fd36 [2022-10-24T04:09:52.318Z] ---> dbb594efc9ad [2022-10-24T04:09:52.318Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-24T04:09:52.318Z] ---> Running in bb870e15baf8 [2022-10-24T04:09:52.577Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T04:09:53.511Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T04:09:53.770Z] OK: 211 MiB in 51 packages [2022-10-24T04:09:54.335Z] Removing intermediate container bb870e15baf8 [2022-10-24T04:09:54.335Z] ---> 86d07e8756ff [2022-10-24T04:09:54.335Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-24T04:09:54.335Z] ---> 637d7a233820 [2022-10-24T04:09:54.335Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T04:09:54.335Z] ---> Running in 7f1489d30bb5 [2022-10-24T04:09:54.904Z] Removing intermediate container 7f1489d30bb5 [2022-10-24T04:09:54.904Z] ---> 5a31d09a4a3a [2022-10-24T04:09:54.904Z] Step 10/25 : COPY . . [2022-10-24T04:09:55.542Z] ---> e936bad69fc4 [2022-10-24T04:09:55.542Z] Step 11/25 : RUN ${MAKE} [2022-10-24T04:09:55.542Z] ---> Running in d2c60139e048 [2022-10-24T04:09:55.800Z] 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-10-24T04:10:13.884Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-24T04:10:15.278Z] Removing intermediate container d2c60139e048 [2022-10-24T04:10:15.279Z] ---> c0b6468e8aec [2022-10-24T04:10:15.279Z] Step 12/25 : FROM alpine:3.16 [2022-10-24T04:10:16.229Z] 3.16: Pulling from library/alpine [2022-10-24T04:10:16.229Z] 213ec9aee27d: Already exists [2022-10-24T04:10:16.229Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-24T04:10:16.229Z] Status: Downloaded newer image for alpine:3.16 [2022-10-24T04:10:16.229Z] ---> 9c6f07244728 [2022-10-24T04:10:16.229Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-24T04:10:16.487Z] ---> Running in 930d11b80db1 [2022-10-24T04:10:16.487Z] Removing intermediate container 930d11b80db1 [2022-10-24T04:10:16.487Z] ---> 14b749ee00ed [2022-10-24T04:10:16.487Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T04:10:16.487Z] ---> Running in 5e8355173ead [2022-10-24T04:10:17.054Z] Removing intermediate container 5e8355173ead [2022-10-24T04:10:17.054Z] ---> db80881b8aca [2022-10-24T04:10:17.054Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-24T04:10:17.054Z] ---> Running in 0720337e757d [2022-10-24T04:10:17.313Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T04:10:18.247Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T04:10:18.506Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-24T04:10:18.506Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-24T04:10:18.767Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-24T04:10:18.767Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-24T04:10:18.767Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-24T04:10:19.026Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T04:10:19.026Z] OK: 8 MiB in 19 packages [2022-10-24T04:10:19.594Z] Removing intermediate container 0720337e757d [2022-10-24T04:10:19.594Z] ---> fb50fabb4b0a [2022-10-24T04:10:19.594Z] Step 16/25 : WORKDIR / [2022-10-24T04:10:19.594Z] ---> Running in 8ac68b6bbde0 [2022-10-24T04:10:19.594Z] Removing intermediate container 8ac68b6bbde0 [2022-10-24T04:10:19.594Z] ---> 29393d3fa18c [2022-10-24T04:10:19.594Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-24T04:10:19.594Z] ---> f2282b3d90dd [2022-10-24T04:10:19.594Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-24T04:10:20.162Z] ---> 9fb8fc55efa4 [2022-10-24T04:10:20.163Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-24T04:10:20.421Z] ---> 17fdc3feb8ca [2022-10-24T04:10:20.421Z] Step 20/25 : EXPOSE 59999 [2022-10-24T04:10:20.421Z] ---> Running in 89245e882b75 [2022-10-24T04:10:20.421Z] Removing intermediate container 89245e882b75 [2022-10-24T04:10:20.421Z] ---> 3470bfc455cc [2022-10-24T04:10:20.421Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-24T04:10:20.680Z] ---> Running in ba02808ebb02 [2022-10-24T04:10:20.680Z] Removing intermediate container ba02808ebb02 [2022-10-24T04:10:20.680Z] ---> cd49e8f1672c [2022-10-24T04:10:20.680Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-24T04:10:20.680Z] ---> Running in 5601c7c21278 [2022-10-24T04:10:20.937Z] Removing intermediate container 5601c7c21278 [2022-10-24T04:10:20.937Z] ---> 8f7262dd9649 [2022-10-24T04:10:20.937Z] Step 23/25 : LABEL arch=amd64 [2022-10-24T04:10:20.937Z] ---> Running in 576b8d538b1c [2022-10-24T04:10:20.937Z] Removing intermediate container 576b8d538b1c [2022-10-24T04:10:20.937Z] ---> 04a2901e8fcd [2022-10-24T04:10:20.937Z] Step 24/25 : LABEL git_sha=5c51ee2d8db5b8ee211392afe9efb3e3d254e855 [2022-10-24T04:10:20.937Z] ---> Running in 21c046ef5255 [2022-10-24T04:10:21.194Z] Removing intermediate container 21c046ef5255 [2022-10-24T04:10:21.194Z] ---> d899f4ca5368 [2022-10-24T04:10:21.194Z] Step 25/25 : LABEL version=0.0.0 [2022-10-24T04:10:21.194Z] ---> Running in d9c754c631f8 [2022-10-24T04:10:21.194Z] Removing intermediate container d9c754c631f8 [2022-10-24T04:10:21.194Z] ---> d7a865bb13fa [2022-10-24T04:10:21.194Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T04:10:21.194Z] Successfully built d7a865bb13fa [2022-10-24T04:10:21.194Z] 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-10-24T04:10:22.033Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T04:10:22.033Z] [2022-10-24T04:10:22.033Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T04:10:22.393Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T04:10:22.393Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-24T04:10:22.393Z] 5eb5b503b376: Pulling fs layer [2022-10-24T04:10:22.393Z] 5c69ac0246d0: Pulling fs layer [2022-10-24T04:10:22.393Z] ec43610c2a17: Pulling fs layer [2022-10-24T04:10:22.393Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-24T04:10:22.393Z] 33b1e0a273af: Pulling fs layer [2022-10-24T04:10:22.393Z] 5d3b04190fa2: Pulling fs layer [2022-10-24T04:10:22.393Z] 2f39f015ded8: Pulling fs layer [2022-10-24T04:10:22.393Z] 33b1e0a273af: Waiting [2022-10-24T04:10:22.393Z] 2f39f015ded8: Waiting [2022-10-24T04:10:22.393Z] 5d3b04190fa2: Waiting [2022-10-24T04:10:22.393Z] 3a2ae6a8a46f: Waiting [2022-10-24T04:10:22.393Z] 5c69ac0246d0: Verifying Checksum [2022-10-24T04:10:22.393Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-24T04:10:22.393Z] 3a2ae6a8a46f: Download complete [2022-10-24T04:10:22.393Z] 33b1e0a273af: Verifying Checksum [2022-10-24T04:10:22.393Z] 33b1e0a273af: Download complete [2022-10-24T04:10:22.652Z] 5d3b04190fa2: Verifying Checksum [2022-10-24T04:10:22.652Z] 5d3b04190fa2: Download complete [2022-10-24T04:10:22.652Z] ec43610c2a17: Verifying Checksum [2022-10-24T04:10:22.652Z] ec43610c2a17: Download complete [2022-10-24T04:10:22.652Z] 5eb5b503b376: Verifying Checksum [2022-10-24T04:10:22.652Z] 5eb5b503b376: Download complete [2022-10-24T04:10:23.223Z] 2f39f015ded8: Verifying Checksum [2022-10-24T04:10:23.223Z] 2f39f015ded8: Download complete [2022-10-24T04:10:23.789Z] 5eb5b503b376: Pull complete [2022-10-24T04:10:24.058Z] 5c69ac0246d0: Pull complete [2022-10-24T04:10:24.317Z] ec43610c2a17: Pull complete [2022-10-24T04:10:24.576Z] 3a2ae6a8a46f: Pull complete [2022-10-24T04:10:24.577Z] 33b1e0a273af: Pull complete [2022-10-24T04:10:24.835Z] 5d3b04190fa2: Pull complete [2022-10-24T04:10:29.144Z] 2f39f015ded8: Pull complete [2022-10-24T04:10:29.144Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-24T04:10:29.144Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T04:10:29.144Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T04:10:29.362Z] prd-ubuntu20.04-docker-8c-8g-9156 does not seem to be running inside a container [2022-10-24T04:10:29.392Z] $ 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-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@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-10-24T04:10:31.148Z] $ docker top 27ef55796e4bba3ff3be1f8c070b37c672afa8e246e8424247ff9f6835101f4f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T04:10:31.595Z] ---> job-cost.sh [2022-10-24T04:10:31.595Z] lf-activate-venv: SKIPPING [2022-10-24T04:10:31.595Z] INFO: No Stack... [2022-10-24T04:10:32.163Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T04:10:32.425Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T04:10:32.745Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives/cost.csv [2022-10-24T04:10:32.745Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T04:10:32.788Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1244-1-stack-cost] [2022-10-24T04:10:32.794Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-1-stack-cost] did not exist. Created. [2022-10-24T04:10:32.794Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1244-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T04:10:33.199Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-24T04:10:33.250Z] Stashed 1 file(s) [2022-10-24T04:10:33.256Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9171 in /w/workspace/gexfoundry_device-sdk-go_PR-1244 [Pipeline] { [Pipeline] } [2022-10-24T04:10:33.286Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T04:10:33.331Z] $ docker stop --time=1 27ef55796e4bba3ff3be1f8c070b37c672afa8e246e8424247ff9f6835101f4f [2022-10-24T04:10:34.524Z] $ docker rm -f 27ef55796e4bba3ff3be1f8c070b37c672afa8e246e8424247ff9f6835101f4f [Pipeline] ws [2022-10-24T04:10:34.589Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] checkout [2022-10-24T04:10:34.723Z] The recommended git tool is: git [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-24T04:10:39.323Z] using credential edgex-jenkins-ssh [2022-10-24T04:10:39.337Z] Cloning the remote Git repository [2022-10-24T04:10:39.375Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-10-24T04:10:39.442Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-10-24T04:10:39.567Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-24T04:10:39.568Z] > git --version # timeout=10 [2022-10-24T04:10:39.590Z] > git --version # 'git version 2.25.1' [2022-10-24T04:10:39.592Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T04:10:39.650Z] Verifying host key using known hosts file [2022-10-24T04:10:39.829Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-24T04:10:39.841Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T04:10:41.308Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-24T04:10:41.326Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T04:10:42.106Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-24T04:10:42.151Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-24T04:10:42.152Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T04:10:42.800Z] Merging remotes/origin/main commit 7102f88cc4e17a0ee98b85e86e9840c76ba3a2e8 into PR head commit 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 [2022-10-24T04:10:43.020Z] Merge succeeded, producing 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 [2022-10-24T04:10:43.021Z] Checking out Revision 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 (PR-1244) [2022-10-24T04:10:42.158Z] Verifying host key using known hosts file [2022-10-24T04:10:42.165Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-24T04:10:42.176Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1244/head:refs/remotes/origin/PR-1244 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-24T04:10:42.818Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T04:10:42.835Z] > git checkout -f 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 # timeout=10 [2022-10-24T04:10:42.933Z] > git remote # timeout=10 [2022-10-24T04:10:42.950Z] > git config --get remote.origin.url # timeout=10 [2022-10-24T04:10:42.964Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T04:10:42.968Z] Verifying host key using known hosts file [2022-10-24T04:10:42.971Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-24T04:10:42.980Z] > git merge 7102f88cc4e17a0ee98b85e86e9840c76ba3a2e8 # timeout=10 [2022-10-24T04:10:43.004Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-24T04:10:43.025Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T04:10:43.051Z] > git checkout -f 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 # timeout=10 [2022-10-24T04:10:43.518Z] Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1" [2022-10-24T04:10:43.564Z] > git --version # timeout=10 [2022-10-24T04:10:43.576Z] > git --version # 'git version 2.25.1' [2022-10-24T04:10:43.587Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T04:10:44.648Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-24T04:10:44.648Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T04:10:44.648Z] Dload Upload Total Spent Left Speed [2022-10-24T04:10:44.648Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 94044 0 --:--:-- --:--:-- --:--:-- 94751 [Pipeline] sh [2022-10-24T04:10:45.209Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-24T04:10:45.561Z] + sudo tee /etc/docker/daemon.new [2022-10-24T04:10:45.561Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-24T04:10:45.561Z] { [2022-10-24T04:10:45.561Z] "registry-mirrors": [ [2022-10-24T04:10:45.561Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-24T04:10:45.561Z] ], [2022-10-24T04:10:45.561Z] "bip": "10.250.0.254/24", [2022-10-24T04:10:45.561Z] "hosts": [ [2022-10-24T04:10:45.561Z] "tcp://0.0.0.0:5555", [2022-10-24T04:10:45.561Z] "unix:///var/run/docker.sock" [2022-10-24T04:10:45.561Z] ], [2022-10-24T04:10:45.561Z] "mtu": 1458, [2022-10-24T04:10:45.561Z] "selinux-enabled": true, [2022-10-24T04:10:45.561Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-24T04:10:45.561Z] } [Pipeline] sh [2022-10-24T04:10:45.898Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-24T04:10:46.251Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T04:11:04.585Z] provisioning config files... [2022-10-24T04:11:04.615Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9201588320680495188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T04:11:05.009Z] ---> docker-login.sh [2022-10-24T04:11:05.009Z] nexus3.edgexfoundry.org:10001 [2022-10-24T04:11:05.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T04:11:05.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T04:11:05.598Z] Configure a credential helper to remove this warning. See [2022-10-24T04:11:05.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T04:11:05.598Z] [2022-10-24T04:11:05.598Z] Login Succeeded [2022-10-24T04:11:05.598Z] nexus3.edgexfoundry.org:10002 [2022-10-24T04:11:05.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T04:11:05.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T04:11:05.869Z] Configure a credential helper to remove this warning. See [2022-10-24T04:11:05.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T04:11:05.869Z] [2022-10-24T04:11:05.869Z] Login Succeeded [2022-10-24T04:11:05.869Z] nexus3.edgexfoundry.org:10003 [2022-10-24T04:11:06.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T04:11:06.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T04:11:06.411Z] Configure a credential helper to remove this warning. See [2022-10-24T04:11:06.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T04:11:06.411Z] [2022-10-24T04:11:06.411Z] Login Succeeded [2022-10-24T04:11:06.411Z] nexus3.edgexfoundry.org:10004 [2022-10-24T04:11:06.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T04:11:06.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T04:11:06.685Z] Configure a credential helper to remove this warning. See [2022-10-24T04:11:06.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T04:11:06.685Z] [2022-10-24T04:11:06.685Z] Login Succeeded [2022-10-24T04:11:06.685Z] docker.io [2022-10-24T04:11:06.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T04:11:07.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T04:11:07.225Z] Configure a credential helper to remove this warning. See [2022-10-24T04:11:07.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T04:11:07.225Z] [2022-10-24T04:11:07.225Z] Login Succeeded [2022-10-24T04:11:07.225Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T04:11:07.255Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T04:11:07.531Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T04:11:07.568Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T04:11:07.599Z] ========================================================= [2022-10-24T04:11:07.599Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-24T04:11:07.599Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T04:11:08.074Z] + 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-10-24T04:11:08.344Z] Sending build context to Docker daemon 5.385MB [2022-10-24T04:11:08.344Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T04:11:08.344Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-24T04:11:08.612Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-24T04:11:08.612Z] 9b18e9b68314: Pulling fs layer [2022-10-24T04:11:08.612Z] d32db5db7311: Pulling fs layer [2022-10-24T04:11:08.612Z] d0c4b47475fc: Pulling fs layer [2022-10-24T04:11:08.612Z] 5831b945b038: Pulling fs layer [2022-10-24T04:11:08.612Z] 86bbec2aaacd: Pulling fs layer [2022-10-24T04:11:08.612Z] e10730c5d714: Pulling fs layer [2022-10-24T04:11:08.612Z] 5dd5c2283517: Pulling fs layer [2022-10-24T04:11:08.612Z] d5ac0230b979: Pulling fs layer [2022-10-24T04:11:08.612Z] e10730c5d714: Waiting [2022-10-24T04:11:08.612Z] 5dd5c2283517: Waiting [2022-10-24T04:11:08.612Z] d5ac0230b979: Waiting [2022-10-24T04:11:08.612Z] 5831b945b038: Waiting [2022-10-24T04:11:08.612Z] 86bbec2aaacd: Waiting [2022-10-24T04:11:08.612Z] d0c4b47475fc: Verifying Checksum [2022-10-24T04:11:08.612Z] d0c4b47475fc: Download complete [2022-10-24T04:11:08.612Z] d32db5db7311: Verifying Checksum [2022-10-24T04:11:08.612Z] 86bbec2aaacd: Download complete [2022-10-24T04:11:08.612Z] e10730c5d714: Download complete [2022-10-24T04:11:08.902Z] 9b18e9b68314: Verifying Checksum [2022-10-24T04:11:09.883Z] 9b18e9b68314: Pull complete [2022-10-24T04:11:09.883Z] d5ac0230b979: Verifying Checksum [2022-10-24T04:11:09.883Z] d5ac0230b979: Download complete [2022-10-24T04:11:10.477Z] d32db5db7311: Pull complete [2022-10-24T04:11:10.477Z] d0c4b47475fc: Pull complete [2022-10-24T04:11:11.066Z] 5dd5c2283517: Verifying Checksum [2022-10-24T04:11:11.066Z] 5dd5c2283517: Download complete [2022-10-24T04:11:11.659Z] 5831b945b038: Verifying Checksum [2022-10-24T04:11:11.659Z] 5831b945b038: Download complete [2022-10-24T04:11:23.984Z] 5831b945b038: Pull complete [2022-10-24T04:11:23.984Z] 86bbec2aaacd: Pull complete [2022-10-24T04:11:23.984Z] e10730c5d714: Pull complete [2022-10-24T04:11:28.387Z] 5dd5c2283517: Pull complete [2022-10-24T04:11:32.678Z] d5ac0230b979: Pull complete [2022-10-24T04:11:32.678Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-24T04:11:32.678Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-24T04:11:32.678Z] ---> 59b3b1a385d4 [2022-10-24T04:11:32.678Z] Step 3/11 : ARG MAKE=make build [2022-10-24T04:11:34.740Z] ---> Running in 990dea221e66 [2022-10-24T04:11:34.741Z] Removing intermediate container 990dea221e66 [2022-10-24T04:11:34.741Z] ---> 9bac052b35dc [2022-10-24T04:11:34.741Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-24T04:11:34.741Z] ---> Running in 6b108abf2d53 [2022-10-24T04:11:35.328Z] Removing intermediate container 6b108abf2d53 [2022-10-24T04:11:35.328Z] ---> b33c945c023c [2022-10-24T04:11:35.328Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-24T04:11:35.328Z] ---> Running in dc03095fc2eb [2022-10-24T04:11:35.595Z] Removing intermediate container dc03095fc2eb [2022-10-24T04:11:35.595Z] ---> dc8947aa9dda [2022-10-24T04:11:35.595Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T04:11:35.595Z] ---> Running in 918db15f3413 [2022-10-24T04:11:37.555Z] Removing intermediate container 918db15f3413 [2022-10-24T04:11:37.555Z] ---> 9c7edcc531b6 [2022-10-24T04:11:37.555Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-24T04:11:37.555Z] ---> Running in 151bbdd295e3 [2022-10-24T04:11:38.531Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T04:11:39.491Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T04:11:40.451Z] OK: 221 MiB in 51 packages [2022-10-24T04:11:41.411Z] Removing intermediate container 151bbdd295e3 [2022-10-24T04:11:41.411Z] ---> 37830f8ee321 [2022-10-24T04:11:41.411Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-24T04:11:41.679Z] ---> 8b8948ad3f57 [2022-10-24T04:11:41.679Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T04:11:41.952Z] ---> Running in b3a74fc4c99f [2022-10-24T04:12:28.799Z] Removing intermediate container b3a74fc4c99f [2022-10-24T04:12:28.799Z] ---> 2eac6c606ed9 [2022-10-24T04:12:28.799Z] Step 10/11 : COPY . . [2022-10-24T04:12:29.388Z] ---> 3125eef8fa35 [2022-10-24T04:12:29.388Z] Step 11/11 : RUN ${MAKE} [2022-10-24T04:12:29.388Z] ---> Running in 3cc6e3378f57 [2022-10-24T04:12:30.356Z] noop [2022-10-24T04:12:31.325Z] Removing intermediate container 3cc6e3378f57 [2022-10-24T04:12:31.325Z] ---> 3a2d5334bc0d [2022-10-24T04:12:31.325Z] Successfully built 3a2d5334bc0d [2022-10-24T04:12:31.325Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T04:12:31.807Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T04:12:31.807Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T04:12:32.085Z] prd-ubuntu20.04-docker-arm64-4c-16g-9171 does not seem to be running inside a container [2022-10-24T04:12:32.171Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2022-10-24T04:12:33.534Z] $ docker top e271543fa074440bc2b0476bbe5cfe49740fe65302eabcf86ba200e23b28afe2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T04:12:34.428Z] + go version [2022-10-24T04:12:34.428Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-24T04:12:34.471Z] $ docker stop --time=1 e271543fa074440bc2b0476bbe5cfe49740fe65302eabcf86ba200e23b28afe2 [2022-10-24T04:12:36.124Z] $ docker rm -f e271543fa074440bc2b0476bbe5cfe49740fe65302eabcf86ba200e23b28afe2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T04:12:36.993Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T04:12:36.993Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T04:12:37.223Z] prd-ubuntu20.04-docker-arm64-4c-16g-9171 does not seem to be running inside a container [2022-10-24T04:12:37.288Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/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 ******** -e ******** ci-base-image-arm64 cat [2022-10-24T04:12:38.397Z] $ docker top 5ce7c427d5de92782a1247f086751455b515201d8532c69aac9369850ffbe983 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T04:12:38.962Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-24T04:12:39.937Z] + make test [2022-10-24T04:12:39.938Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-24T04:13:18.838Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-24T04:15:25.562Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-24T04:15:25.562Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-24T04:15:25.562Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-24T04:15:25.562Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-24T04:15:25.562Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-24T04:15:29.824Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.591s coverage: 27.6% of statements [2022-10-24T04:15:30.784Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.394s coverage: 78.9% of statements [2022-10-24T04:15:30.784Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-24T04:15:40.873Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.789s coverage: 73.1% of statements [2022-10-24T04:15:40.873Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-24T04:15:40.873Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-24T04:15:45.144Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.605s coverage: 54.4% of statements [2022-10-24T04:15:45.144Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-24T04:15:45.144Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-24T04:15:45.144Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-24T04:15:45.144Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-24T04:15:45.144Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.482s coverage: 65.1% of statements [2022-10-24T04:15:45.144Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-24T04:15:45.144Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-24T04:15:45.144Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.880s coverage: 89.2% of statements [2022-10-24T04:15:45.144Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-24T04:15:45.729Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.290s coverage: 4.7% of statements [2022-10-24T04:15:45.729Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-24T04:15:46.326Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-24T04:15:46.326Z] GO111MODULE=on go vet ./... [2022-10-24T04:17:38.033Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T04:17:38.033Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T04:17:38.033Z] ./bin/test-attribution-txt.sh [2022-10-24T04:17:38.033Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-24T04:17:38.033Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-24T04:17:38.033Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-24T04:17:38.033Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-24T04:17:38.070Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T04:17:38.102Z] $ docker stop --time=1 5ce7c427d5de92782a1247f086751455b515201d8532c69aac9369850ffbe983 [2022-10-24T04:17:40.216Z] $ docker rm -f 5ce7c427d5de92782a1247f086751455b515201d8532c69aac9369850ffbe983 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T04:17:41.768Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T04:17:41.803Z] Warning: overwriting stash ‘coverage-report’ [2022-10-24T04:17:42.344Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T04:17:42.933Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T04:17:43.273Z] + ls -al . [2022-10-24T04:17:43.273Z] total 272 [2022-10-24T04:17:43.273Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 04:12 . [2022-10-24T04:17:43.273Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 04:10 .. [2022-10-24T04:17:43.273Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 04:10 .dockerignore [2022-10-24T04:17:43.273Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 04:10 .git [2022-10-24T04:17:43.273Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 04:10 .github [2022-10-24T04:17:43.273Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 24 04:10 .gitignore [2022-10-24T04:17:43.273Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 04:10 .golangci.yml [2022-10-24T04:17:43.273Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 24 04:10 CHANGELOG.md [2022-10-24T04:17:43.273Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 04:10 GOVERNANCE.md [2022-10-24T04:17:43.273Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 24 04:10 Jenkinsfile [2022-10-24T04:17:43.273Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 24 04:10 LICENSE [2022-10-24T04:17:43.273Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 24 04:10 Makefile [2022-10-24T04:17:43.273Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 24 04:10 OWNERS.md [2022-10-24T04:17:43.273Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 24 04:10 README.md [2022-10-24T04:17:43.273Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 04:08 VERSION [2022-10-24T04:17:43.273Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 04:10 bin [2022-10-24T04:17:43.273Z] -rw-r--r-- 1 jenkins jenkins 101760 Oct 24 04:15 coverage.out [2022-10-24T04:17:43.273Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 24 04:10 example [2022-10-24T04:17:43.273Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 24 04:10 go.mod [2022-10-24T04:17:43.273Z] -rw-rw-r-- 1 jenkins jenkins 37663 Oct 24 04:10 go.sum [2022-10-24T04:17:43.273Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 24 04:10 internal [2022-10-24T04:17:43.273Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 04:10 openapi [2022-10-24T04:17:43.273Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 24 04:10 pkg [2022-10-24T04:17:43.273Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 04:10 snap [2022-10-24T04:17:43.273Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 24 04:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T04:17:43.683Z] + 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=5c51ee2d8db5b8ee211392afe9efb3e3d254e855 --label arch=arm64 --label version=0.0.0 . [2022-10-24T04:17:43.950Z] Sending build context to Docker daemon 5.487MB [2022-10-24T04:17:44.218Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T04:17:44.218Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-24T04:17:44.218Z] ---> 3a2d5334bc0d [2022-10-24T04:17:44.218Z] Step 3/25 : ARG MAKE=make build [2022-10-24T04:17:44.218Z] ---> Running in 17a3f9abd203 [2022-10-24T04:17:44.488Z] Removing intermediate container 17a3f9abd203 [2022-10-24T04:17:44.488Z] ---> 067183a9198c [2022-10-24T04:17:44.488Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-24T04:17:44.755Z] ---> Running in 62952735a81a [2022-10-24T04:17:45.023Z] Removing intermediate container 62952735a81a [2022-10-24T04:17:45.023Z] ---> 82535d8cbff4 [2022-10-24T04:17:45.023Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-24T04:17:45.023Z] ---> Running in b59691a9f574 [2022-10-24T04:17:45.291Z] Removing intermediate container b59691a9f574 [2022-10-24T04:17:45.291Z] ---> 081bb4064387 [2022-10-24T04:17:45.291Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T04:17:45.557Z] ---> Running in 7fa711a34509 [2022-10-24T04:17:46.967Z] Removing intermediate container 7fa711a34509 [2022-10-24T04:17:46.967Z] ---> 32b9726bada6 [2022-10-24T04:17:46.967Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-24T04:17:47.239Z] ---> Running in a2b15cbffa9e [2022-10-24T04:17:48.197Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T04:17:49.162Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T04:17:50.131Z] OK: 221 MiB in 51 packages [2022-10-24T04:17:51.097Z] Removing intermediate container a2b15cbffa9e [2022-10-24T04:17:51.097Z] ---> 66d7513b4c3f [2022-10-24T04:17:51.097Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-24T04:17:51.680Z] ---> 4a0abead4449 [2022-10-24T04:17:51.680Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T04:17:51.680Z] ---> Running in d7669e7d3c6a [2022-10-24T04:17:54.285Z] Removing intermediate container d7669e7d3c6a [2022-10-24T04:17:54.285Z] ---> 0a451d4dd33c [2022-10-24T04:17:54.285Z] Step 10/25 : COPY . . [2022-10-24T04:17:55.255Z] ---> 731346a9a35f [2022-10-24T04:17:55.255Z] Step 11/25 : RUN ${MAKE} [2022-10-24T04:17:55.255Z] ---> Running in d823607cb9b7 [2022-10-24T04:17:56.218Z] 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-10-24T04:20:33.270Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-24T04:20:33.540Z] Removing intermediate container d823607cb9b7 [2022-10-24T04:20:33.540Z] ---> df182cd11f5f [2022-10-24T04:20:33.540Z] Step 12/25 : FROM alpine:3.16 [2022-10-24T04:20:34.505Z] 3.16: Pulling from library/alpine [2022-10-24T04:20:34.505Z] 9b18e9b68314: Already exists [2022-10-24T04:20:34.786Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-24T04:20:34.786Z] Status: Downloaded newer image for alpine:3.16 [2022-10-24T04:20:34.786Z] ---> a6215f271958 [2022-10-24T04:20:34.786Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-24T04:20:34.786Z] ---> Running in a3fe181f1cc2 [2022-10-24T04:20:35.055Z] Removing intermediate container a3fe181f1cc2 [2022-10-24T04:20:35.055Z] ---> 788654ab0994 [2022-10-24T04:20:35.055Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T04:20:35.324Z] ---> Running in 408ab7890583 [2022-10-24T04:20:37.280Z] Removing intermediate container 408ab7890583 [2022-10-24T04:20:37.280Z] ---> 64b87069f01a [2022-10-24T04:20:37.280Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-24T04:20:37.280Z] ---> Running in 7b28c5f8638f [2022-10-24T04:20:38.246Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T04:20:38.829Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T04:20:40.244Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-24T04:20:40.244Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-24T04:20:40.244Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-24T04:20:40.244Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-24T04:20:40.513Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-24T04:20:40.513Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T04:20:40.513Z] OK: 8 MiB in 19 packages [2022-10-24T04:20:41.480Z] Removing intermediate container 7b28c5f8638f [2022-10-24T04:20:41.481Z] ---> 1d59657c2003 [2022-10-24T04:20:41.481Z] Step 16/25 : WORKDIR / [2022-10-24T04:20:41.754Z] ---> Running in f22effbf612a [2022-10-24T04:20:42.023Z] Removing intermediate container f22effbf612a [2022-10-24T04:20:42.023Z] ---> 233fc587f07b [2022-10-24T04:20:42.023Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-24T04:20:42.612Z] ---> be4b1dbd8d24 [2022-10-24T04:20:42.612Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-24T04:20:44.030Z] ---> 2c0621becf06 [2022-10-24T04:20:44.030Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-24T04:20:44.620Z] ---> 1cd29b1d9978 [2022-10-24T04:20:44.620Z] Step 20/25 : EXPOSE 59999 [2022-10-24T04:20:44.620Z] ---> Running in 56baf01eb596 [2022-10-24T04:20:44.890Z] Removing intermediate container 56baf01eb596 [2022-10-24T04:20:44.890Z] ---> b1db4097511f [2022-10-24T04:20:44.890Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-24T04:20:44.890Z] ---> Running in 425251c93af1 [2022-10-24T04:20:45.167Z] Removing intermediate container 425251c93af1 [2022-10-24T04:20:45.167Z] ---> 60f61c7451eb [2022-10-24T04:20:45.168Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-24T04:20:45.438Z] ---> Running in b93bdd4e736a [2022-10-24T04:20:45.708Z] Removing intermediate container b93bdd4e736a [2022-10-24T04:20:45.708Z] ---> 3cb5da399aef [2022-10-24T04:20:45.708Z] Step 23/25 : LABEL arch=arm64 [2022-10-24T04:20:45.708Z] ---> Running in 03e05f181c21 [2022-10-24T04:20:46.297Z] Removing intermediate container 03e05f181c21 [2022-10-24T04:20:46.297Z] ---> 6649df3f0a80 [2022-10-24T04:20:46.297Z] Step 24/25 : LABEL git_sha=5c51ee2d8db5b8ee211392afe9efb3e3d254e855 [2022-10-24T04:20:46.297Z] ---> Running in 79b497b6f36a [2022-10-24T04:20:46.566Z] Removing intermediate container 79b497b6f36a [2022-10-24T04:20:46.566Z] ---> e7b00a8ac824 [2022-10-24T04:20:46.566Z] Step 25/25 : LABEL version=0.0.0 [2022-10-24T04:20:46.566Z] ---> Running in 33167f11ecb7 [2022-10-24T04:20:46.834Z] Removing intermediate container 33167f11ecb7 [2022-10-24T04:20:46.834Z] ---> b9a4d2fe8724 [2022-10-24T04:20:46.834Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T04:20:46.834Z] Successfully built b9a4d2fe8724 [2022-10-24T04:20:47.101Z] 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-10-24T04:20:47.911Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T04:20:47.911Z] [2022-10-24T04:20:47.911Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T04:20:48.310Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T04:20:48.584Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-24T04:20:48.584Z] 8998bd30e6a1: Pulling fs layer [2022-10-24T04:20:48.584Z] 04944245beec: Pulling fs layer [2022-10-24T04:20:48.584Z] 699f458cf7ca: Pulling fs layer [2022-10-24T04:20:48.584Z] 765212b225bb: Pulling fs layer [2022-10-24T04:20:48.584Z] f23df028b6ca: Pulling fs layer [2022-10-24T04:20:48.584Z] d65c8cfc05b1: Pulling fs layer [2022-10-24T04:20:48.584Z] 2437ff75d9bd: Pulling fs layer [2022-10-24T04:20:48.584Z] 765212b225bb: Waiting [2022-10-24T04:20:48.584Z] f23df028b6ca: Waiting [2022-10-24T04:20:48.584Z] d65c8cfc05b1: Waiting [2022-10-24T04:20:48.584Z] 2437ff75d9bd: Waiting [2022-10-24T04:20:48.584Z] 04944245beec: Verifying Checksum [2022-10-24T04:20:48.584Z] 04944245beec: Download complete [2022-10-24T04:20:48.584Z] 765212b225bb: Download complete [2022-10-24T04:20:48.584Z] f23df028b6ca: Verifying Checksum [2022-10-24T04:20:48.584Z] f23df028b6ca: Download complete [2022-10-24T04:20:48.584Z] d65c8cfc05b1: Verifying Checksum [2022-10-24T04:20:48.584Z] d65c8cfc05b1: Download complete [2022-10-24T04:20:48.853Z] 699f458cf7ca: Verifying Checksum [2022-10-24T04:20:48.853Z] 699f458cf7ca: Download complete [2022-10-24T04:20:49.122Z] 8998bd30e6a1: Verifying Checksum [2022-10-24T04:20:49.122Z] 8998bd30e6a1: Download complete [2022-10-24T04:20:51.722Z] 2437ff75d9bd: Download complete [2022-10-24T04:20:53.137Z] 8998bd30e6a1: Pull complete [2022-10-24T04:20:53.728Z] 04944245beec: Pull complete [2022-10-24T04:20:55.139Z] 699f458cf7ca: Pull complete [2022-10-24T04:20:55.410Z] 765212b225bb: Pull complete [2022-10-24T04:20:55.998Z] f23df028b6ca: Pull complete [2022-10-24T04:20:56.266Z] d65c8cfc05b1: Pull complete [2022-10-24T04:21:11.265Z] 2437ff75d9bd: Pull complete [2022-10-24T04:21:11.265Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-24T04:21:11.265Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T04:21:11.265Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T04:21:11.602Z] prd-ubuntu20.04-docker-arm64-4c-16g-9171 does not seem to be running inside a container [2022-10-24T04:21:11.685Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-24T04:21:14.666Z] $ docker top 5e2480a5c526474a3daa1a418f93b025387790ba4641660a48174b41a60905f1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T04:21:15.630Z] ---> job-cost.sh [2022-10-24T04:21:15.631Z] lf-activate-venv: SKIPPING [2022-10-24T04:21:15.631Z] INFO: No Stack... [2022-10-24T04:21:16.222Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-24T04:21:17.189Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T04:21:17.872Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-10-24T04:21:17.872Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T04:21:17.978Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1244-1-stack-cost] [2022-10-24T04:21:17.982Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-1-stack-cost] did not exist. Created. [2022-10-24T04:21:17.982Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1244-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T04:21:18.707Z] /w/workspace/device-sdk-go/1@tmp/durable-09305e47/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-24T04:21:19.384Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-24T04:21:19.417Z] Warning: overwriting stash ‘stack-cost’ [2022-10-24T04:21:19.487Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T04:21:19.504Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T04:21:19.588Z] $ docker stop --time=1 5e2480a5c526474a3daa1a418f93b025387790ba4641660a48174b41a60905f1 [2022-10-24T04:21:21.165Z] $ docker rm -f 5e2480a5c526474a3daa1a418f93b025387790ba4641660a48174b41a60905f1 [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-10-24T04:21:22.165Z] provisioning config files... [2022-10-24T04:21:22.171Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config12148313319691811682tmp [Pipeline] { [Pipeline] sh [2022-10-24T04:21:22.508Z] + set +x [2022-10-24T04:21:22.508Z] + bash -s -- [2022-10-24T04:21:22.508Z] + curl -s https://codecov.io/bash [2022-10-24T04:21:22.508Z] [2022-10-24T04:21:22.508Z] _____ _ [2022-10-24T04:21:22.508Z] / ____| | | [2022-10-24T04:21:22.508Z] | | ___ __| | ___ ___ _____ __ [2022-10-24T04:21:22.508Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-24T04:21:22.508Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-24T04:21:22.508Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-24T04:21:22.508Z] Bash-1.0.6 [2022-10-24T04:21:22.508Z] [2022-10-24T04:21:22.508Z] [2022-10-24T04:21:22.508Z] ==> git version 2.25.1 found [2022-10-24T04:21:22.508Z] ==> 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-10-24T04:21:22.508Z] Release-Date: 2020-01-08 [2022-10-24T04:21:22.508Z] 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-10-24T04:21:22.508Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-24T04:21:22.508Z] ==> Jenkins CI detected. [2022-10-24T04:21:22.508Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1244 [2022-10-24T04:21:22.508Z] project root: . [2022-10-24T04:21:22.508Z] --> token set from env [2022-10-24T04:21:22.508Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-24T04:21:22.508Z] ==> Running gcov in . (disable via -X gcov) [2022-10-24T04:21:22.508Z] ==> Python coveragepy not found [2022-10-24T04:21:22.508Z] ==> Searching for coverage reports in: [2022-10-24T04:21:22.508Z] + . [2022-10-24T04:21:22.508Z] -> Found 1 reports [2022-10-24T04:21:22.508Z] ==> Detecting git/mercurial file structure [2022-10-24T04:21:22.508Z] ==> Reading reports [2022-10-24T04:21:22.508Z] + ./coverage.out bytes=101760 [2022-10-24T04:21:22.508Z] ==> Appending adjustments [2022-10-24T04:21:22.508Z] https://docs.codecov.io/docs/fixing-reports [2022-10-24T04:21:23.075Z] + Found adjustments [2022-10-24T04:21:23.075Z] ==> Gzipping contents [2022-10-24T04:21:23.075Z] 16K /tmp/codecov.IkfMWn.gz [2022-10-24T04:21:23.075Z] ==> Uploading reports [2022-10-24T04:21:23.076Z] url: https://codecov.io [2022-10-24T04:21:23.076Z] query: branch=PR-1244&commit=5c51ee2d8db5b8ee211392afe9efb3e3d254e855&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1244%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1244&job=&cmd_args= [2022-10-24T04:21:23.076Z] -> Pinging Codecov [2022-10-24T04:21:23.076Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1244&commit=5c51ee2d8db5b8ee211392afe9efb3e3d254e855&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1244%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1244&job=&cmd_args= [2022-10-24T04:21:23.336Z] -> Uploading to [2022-10-24T04:21:23.336Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-24/7E55EF52A471D76F132DFD9A03CDDE97/5c51ee2d8db5b8ee211392afe9efb3e3d254e855/2bccc2f9-5e8b-49a8-bf54-50aa3d1b5866.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T042123Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6a2360fd08980cb24eb2bbf77759b25d15fbc5037b597f226d4d4216a2d9a167 [2022-10-24T04:21:23.336Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T04:21:23.336Z] Dload Upload Total Spent Left Speed [2022-10-24T04:21:23.595Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14694 0 0 100 14694 0 57398 --:--:-- --:--:-- --:--:-- 57398 [2022-10-24T04:21:23.595Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/5c51ee2d8db5b8ee211392afe9efb3e3d254e855 [Pipeline] } [2022-10-24T04:21:23.624Z] 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-10-24T04:21:25.437Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives ] [2022-10-24T04:21:25.437Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives [2022-10-24T04:21:25.437Z] total 16 [2022-10-24T04:21:25.437Z] drwxr-xr-x 3 root root 4096 Oct 24 04:10 . [2022-10-24T04:21:25.437Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 04:10 .. [2022-10-24T04:21:25.437Z] drwxr-xr-x 2 root root 4096 Oct 24 04:10 cost [2022-10-24T04:21:25.437Z] -rw-r--r-- 1 root root 86 Oct 24 04:10 cost.csv [2022-10-24T04:21:25.437Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives [2022-10-24T04:21:25.437Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives [2022-10-24T04:21:25.437Z] total 16 [2022-10-24T04:21:25.437Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 04:10 . [2022-10-24T04:21:25.437Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 04:10 .. [2022-10-24T04:21:25.437Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 04:10 cost [2022-10-24T04:21:25.437Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 24 04:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-24T04:21:25.831Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T04:21:26.719Z] ---> package-listing.sh [2022-10-24T04:21:26.719Z] ++ facter osfamily [2022-10-24T04:21:26.719Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-24T04:21:26.978Z] + OS_FAMILY=debian [2022-10-24T04:21:26.978Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1244 [2022-10-24T04:21:26.978Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-24T04:21:26.978Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-24T04:21:26.978Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-24T04:21:26.978Z] + PACKAGES=/tmp/packages_start.txt [2022-10-24T04:21:26.978Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1244 ']' [2022-10-24T04:21:26.978Z] + PACKAGES=/tmp/packages_end.txt [2022-10-24T04:21:26.978Z] + case "${OS_FAMILY}" in [2022-10-24T04:21:26.978Z] + grep '^ii' [2022-10-24T04:21:26.978Z] + dpkg -l [2022-10-24T04:21:26.978Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-24T04:21:26.978Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-24T04:21:26.978Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-24T04:21:26.978Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1244 ']' [2022-10-24T04:21:26.978Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives/ [2022-10-24T04:21:26.978Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives/ [Pipeline] echo [2022-10-24T04:21:27.014Z] 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-1244/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-24T04:21:27.305Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T04:21:27.929Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T04:21:27.929Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T04:21:28.070Z] prd-ubuntu20.04-docker-8c-8g-9156 does not seem to be running inside a container [2022-10-24T04:21:28.100Z] $ 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-1244/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-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@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-10-24T04:21:28.308Z] $ docker top 09bb7c5e772c85e86eb7b149cfc38ea7f6bf81c4eb8570e29ebcbe9f40f7d9aa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T04:21:28.703Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-24T04:21:29.015Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-24T04:21:29.323Z] + ls /var/log/sa-host [2022-10-24T04:21:29.323Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T04:21:29.478Z] provisioning config files... [2022-10-24T04:21:29.486Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config9022861466572642169tmp [Pipeline] { [Pipeline] echo [2022-10-24T04:21:29.538Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T04:21:29.845Z] ---> create-netrc.sh [Pipeline] } [2022-10-24T04:21:29.873Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-24T04:21:30.263Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-24T04:21:30.295Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T04:21:30.605Z] ---> sudo-logs.sh [2022-10-24T04:21:30.605Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-24T04:21:30.701Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T04:21:31.015Z] ---> job-cost.sh [2022-10-24T04:21:31.015Z] lf-activate-venv: SKIPPING [2022-10-24T04:21:31.015Z] DEBUG: total: 0.2199999988079071 [2022-10-24T04:21:31.015Z] INFO: Retrieving Stack Cost... [2022-10-24T04:21:31.274Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T04:21:31.842Z] INFO: Archiving Costs [Pipeline] echo [2022-10-24T04:21:31.877Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T04:21:32.184Z] ---> logs-deploy.sh [2022-10-24T04:21:32.184Z] lf-activate-venv: SKIPPING [2022-10-24T04:21:32.184Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1244/1 [2022-10-24T04:21:32.184Z] INFO: archiving workspace using pattern(s): [2022-10-24T04:21:33.121Z] Archives upload complete. [2022-10-24T04:21:33.121Z] INFO: archiving logs to Nexus